1 2014-06-27 Arjun Shankar <arjun.is@lostca.se>
4 * nscd/nscd.c (monitor_child): Return exit status of child
5 instead of return value from wait syscall.
7 2014-06-27 Joseph Myers <joseph@codesourcery.com>
9 * configure.ac (libc_commonpagesize): Remove variable.
10 (libc_relro_required): Likewise.
11 (libc_cv_z_relro): Remove configure test.
12 * configure: Regenerated.
13 * sysdeps/aarch64/preconfigure (libc_commonpagesize): Do not set
15 (libc_relro_required): Likewise.
16 * sysdeps/alpha/preconfigure (libc_commonpagesize): Likewise.
17 (libc_relro_required): Likewise.
18 * sysdeps/arm/preconfigure.ac (libc_commonpagesize): Likewise.
19 (libc_relro_required): Likewise.
20 * sysdeps/arm/preconfigure: Regenerated.
21 * sysdeps/ia64/preconfigure: Remove file.
22 * sysdeps/tile/preconfigure (libc_commonpagesize): Do not set
24 (libc_relro_required): Likewise.
28 * sysdeps/ieee754/dbl-64/e_jn.c: Include <float.h>.
29 (__ieee754_yn): Set FE_TONEAREST mode internally and then
30 recompute overflowing results in original rounding mode.
31 * sysdeps/ieee754/flt-32/e_jnf.c: Include <float.h>.
32 (__ieee754_ynf): Set FE_TONEAREST mode internally and then
33 recompute overflowing results in original rounding mode.
34 * sysdeps/ieee754/ldbl-128/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/ieee754/ldbl-128ibm/e_jnl.c: Include <float.h>.
38 (__ieee754_ynl): Set FE_TONEAREST mode internally and then
39 recompute overflowing results in original rounding mode.
40 * sysdeps/ieee754/ldbl-96/e_jnl.c: Include <float.h>.
41 (__ieee754_ynl): Set FE_TONEAREST mode internally and then
42 recompute overflowing results in original rounding mode.
43 * sysdeps/i386/fpu/fenv_private.h [!__SSE2_MATH__]
44 (libc_feholdsetround_ctx): New macro.
45 * math/libm-test.inc (yn_test): Use ALL_RM_TEST.
46 * sysdeps/i386/fpu/libm-test-ulps: Update.
47 * sysdeps/x86_64/fpu/libm-test-ulps : Likewise.
49 2014-06-26 Joseph Myers <joseph@codesourcery.com>
51 * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h
52 [__PIC__] (PSEUDO): Use name of _nocancel entry point in
53 corresponding .cpsetup call.
55 2014-06-26 Roland McGrath <roland@hack.frob.com>
57 * sysdeps/unix/sysv/linux/arm/libc-aeabi_read_tp.S: Moved ...
58 * sysdeps/arm/libc-aeabi_read_tp.S: ... here.
59 * sysdeps/arm/Makefile [$(subdir) = csu]
60 (aeabi_routines): Add aeabi_read_tp and libc-aeabi_read_tp here.
61 (static-only-routines): Add aeabi_read_tp here.
62 (shared-only-routines): Add libc-aeabi_read_tp here.
63 (CFLAGS-libc-start.c): Add -fexceptions here.
64 * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = csu]
65 (sysdep_routines, static-only-routines, shared-only-routines):
66 Don't add to these here.
67 (CFLAGS-libc-start.c): Likewise.
69 * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: Moved ...
70 * sysdeps/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
71 * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: Moved ...
72 * sysdeps/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
73 * sysdeps/arm/Makefile [$(subdir) = rt]
74 (librt-sysdep_routines, librt-shared-only-routines):
75 Append rt-aeabi_unwind_cpp_pr1 here.
76 * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = rt]
77 (librt-sysdep_routines, librt-shared-only-routines): Don't do it here.
78 * sysdeps/arm/nptl/Makefile [$(subdir) = nptl]
79 (libpthread-sysdep_routines, libpthread-shared-only-routines):
80 Append nptl-aeabi_unwind_cpp_pr1 here.
81 (tests): Filter out tst-cleanupx4 here.
82 * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = nptl]
83 (libpthread-sysdep_routines, libpthread-shared-only-routines, tests):
86 2014-06-26 Joseph Myers <joseph@codesourcery.com>
88 * scripts/list-sources.sh: Do not handle ports specially.
90 2014-06-26 Roland McGrath <roland@hack.frob.com>
92 * sysdeps/arm/fesetenv.c: Include <fpu_control.h>.
93 * sysdeps/arm/feupdateenv.c: Likewise.
95 * posix/spawn_faction_addopen.c: Include <stdlib.h> for free decl.
97 2014-06-26 Joseph Myers <joseph@codesourcery.com>
99 * manual/texinfo.tex: Update to version 2014-05-05.10 with
100 trailing whitespace removed.
101 * scripts/config.guess: Update to version 2014-03-23.
102 * scripts/config.sub: Update to version 2014-05-01
103 * scripts/install-sh: Update to version 2013-12-25.23.
104 * scripts/move-if-change: Update from gnulib.
106 2014-06-26 Siddhesh Poyarekar <siddhesh@redhat.com>
108 * debug/memmove_chk.c: Remove pagecopy.h include.
110 2014-06-26 Paul Eggert <eggert@cs.ucla.edu>
112 * time/mktime.c (leapyear): Remove inline keyword. The code is now
113 identical to gnulib mktime.
115 2014-06-26 Joseph Myers <joseph@codesourcery.com>
117 * configure.ac: Do not test for machine being rs6000. Do not test
119 * configure: Regenerated.
121 * configure.ac (libc_cv_asm_cfi_directives): Remove configure
123 * configure: Regenerated.
124 * config.h.in (HAVE_ASM_CFI_DIRECTIVES): Remove macro undefine.
125 * sysdeps/arm/configure.ac (libc_cv_asm_cfi_directive_sections):
126 Remove configure test.
127 * sysdeps/arm/configure: Regenerated.
128 * sysdeps/nptl/configure.ac: Do not check
129 libc_cv_asm_cfi_directives.
130 * sysdeps/nptl/configure: Regenerated.
131 * sysdeps/x86_64/nptl/configure.ac: Remove file.
132 * sysdeps/x86_64/nptl/configure: Remove generated file.
133 * b/sysdeps/generic/sysdep.h [HAVE_ASM_CFI_DIRECTIVES]: Make code
135 [!HAVE_ASM_CFI_DIRECTIVES]: Remove conditional code.
137 2014-06-26 Siddhesh Poyarekar <siddhesh@redhat.com>
139 * posix/fnmatch.c: Define WIDE_CHAR_VERSION.
140 * posix/fnmatch_loop.c: Undefine WIDE_CHAR_VERSION.
141 (FCT): Check value of WIDE_CHAR_VERSION instead of checking if
144 * elf/dl-runtime.c: Check for value of ELF_MACHINE_NO_RELA
145 instead of whether it is defined.
146 * sysdeps/aarch64/dl-machine.h: Define ELF_MACHINE_NO_RELA.
147 * sysdeps/hppa/dl-machine.h: Likewise.
148 * sysdeps/ia64/dl-machine.h: Likewise.
149 * sysdeps/m68k/dl-machine.h: Likewise.
150 * sysdeps/microblaze/dl-machine.h: Likewise.
151 * sysdeps/mips/dl-machine.: Likewise.
152 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
153 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
154 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
155 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
156 * sysdeps/sh/dl-machine.h: Likewise.
157 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
158 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
159 * sysdeps/tile/dl-machine.h: Likewise.
160 * sysdeps/x86_64/dl-machine.h: Likewise.
162 * nscd/connections.c (enum usekey) [SEPARATE_KEY]: Remove
164 (verify_persistent_db): Likewise.
166 2014-06-26 Roland McGrath <roland@hack.frob.com>
168 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data: Moved ...
169 * sysdeps/unix/sysv/linux/s390/s390-32/c++-types.data: ... here.
170 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Moved ...
171 * sysdeps/unix/sysv/linux/s390/s390-32/ld.abilist: ... here.
172 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
174 * sysdeps/unix/sysv/linux/s390/s390-32/libBrokenLocale.abilist:
176 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: Moved ...
177 * sysdeps/unix/sysv/linux/s390/libanl.abilist: ... here.
178 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist:
179 Identical file removed.
180 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Moved ...
181 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: ... here.
182 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: Moved ...
183 * sysdeps/unix/sysv/linux/s390/s390-32/libcrypt.abilist: ... here.
184 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: Moved ...
185 * sysdeps/unix/sysv/linux/s390/s390-32/libdl.abilist: ... here.
186 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Moved ...
187 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: ... here.
188 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: Moved ...
189 * sysdeps/unix/sysv/linux/s390/s390-32/libnsl.abilist: ... here.
190 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
192 * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist: ... here.
193 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: Moved ...
194 * sysdeps/unix/sysv/linux/s390/s390-32/libresolv.abilist: ... here.
195 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Moved ...
196 * sysdeps/unix/sysv/linux/s390/s390-32/librt.abilist: ... here.
197 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
199 * sysdeps/unix/sysv/linux/s390/s390-32/libthread_db.abilist: ... here.
200 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Moved ...
201 * sysdeps/unix/sysv/linux/s390/s390-32/libutil.abilist: ... here.
202 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data: Moved ...
203 * sysdeps/unix/sysv/linux/s390/localplt.data: ... here.
204 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
205 Identical file removed.
206 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data: Moved ...
207 * sysdeps/unix/sysv/linux/s390/s390-64/c++-types.data: ... here.
208 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Moved ...
209 * sysdeps/unix/sysv/linux/s390/s390-64/ld.abilist: ... here.
210 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
212 * sysdeps/unix/sysv/linux/s390/s390-64/libBrokenLocale.abilist:
214 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Moved ...
215 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: ... here.
216 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: Moved ...
217 * sysdeps/unix/sysv/linux/s390/s390-64/libcrypt.abilist: ... here.
218 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: Moved ...
219 * sysdeps/unix/sysv/linux/s390/s390-64/libdl.abilist: ... here.
220 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Moved ...
221 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: ... here.
222 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: Moved ...
223 * sysdeps/unix/sysv/linux/s390/s390-64/libnsl.abilist: ... here.
224 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
226 * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist: ... here.
227 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist:
229 * sysdeps/unix/sysv/linux/s390/s390-64/libresolv.abilist: ... here.
230 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: Moved ...
231 * sysdeps/unix/sysv/linux/s390/s390-64/librt.abilist: ... here.
232 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
234 * sysdeps/unix/sysv/linux/s390/s390-64/libthread_db.abilist: ... here.
235 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: Moved ...
236 * sysdeps/unix/sysv/linux/s390/s390-64/libutil.abilist: ... here.
238 * nptl/sysdeps/unix/sysv/linux/s390/Makefile: File removed, contents
240 * sysdeps/unix/sysv/linux/s390/Makefile [$(subdir) = nptl]: ... here.
241 * sysdeps/unix/sysv/linux/s390/Versions
242 (libpthread: GLIBC_2.19): New version set.
243 * nptl/sysdeps/unix/sysv/linux/s390/Versions: File removed.
244 * sysdeps/unix/sysv/linux/s390/s390-64/Versions
245 (librt: GLIBC_2.3.3): New version set.
246 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/Versions: File removed.
247 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: Moved ...
248 * sysdeps/unix/sysv/linux/s390/elision-conf.c: ... here.
249 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Moved ...
250 * sysdeps/unix/sysv/linux/s390/elision-conf.h: ... here.
251 * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Moved ...
252 * sysdeps/unix/sysv/linux/s390/elision-lock.c: ... here.
253 * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Moved ...
254 * sysdeps/unix/sysv/linux/s390/elision-timed.c: ... here.
255 * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Moved ...
256 * sysdeps/unix/sysv/linux/s390/elision-trylock.c: ... here.
257 * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Moved ...
258 * sysdeps/unix/sysv/linux/s390/elision-unlock.c: ... here.
259 * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Moved ...
260 * sysdeps/unix/sysv/linux/s390/force-elision.h: ... here.
261 * nptl/sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Moved ...
262 * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: ... here.
263 * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h: Moved ...
264 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: ... here.
265 * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: Moved ...
266 * sysdeps/unix/sysv/linux/s390/pt-longjmp.c: ... here.
267 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: Moved ...
268 * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: ... here.
269 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: Moved ...
270 * sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: ... here.
271 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: Moved ...
272 * sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: ... here.
273 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: Moved ...
274 * sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: ... here.
275 * nptl/sysdeps/unix/sysv/linux/s390/pthread_once.c: Moved ...
276 * sysdeps/unix/sysv/linux/s390/pthread_once.c: ... here.
277 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Moved ...
278 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: ... here.
279 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Moved ...
280 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: ... here.
281 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Moved ...
282 * sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: ... here.
283 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Moved ...
284 * sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: ... here.
285 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Moved ...
286 * sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: ... here.
287 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Moved ...
288 * sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: ... here.
289 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Moved ...
290 * sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: ... here.
292 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Moved ...
293 * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: ... here.
294 (__libc_vfork): Define the function under this name.
295 [!NOT_IN_libc] (__vfork): Make this an alias.
296 [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
297 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Moved ...
298 * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: ... here.
299 (__libc_vfork): Define the function under this name.
300 [!NOT_IN_libc] (__vfork): Make this an alias.
301 [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
302 * sysdeps/unix/sysv/linux/s390/pt-vfork.S: New file.
303 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: File removed.
304 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: File removed.
305 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Remove vfork.
306 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
308 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Deconditionalize the
309 code that was previously under [RESET_PID].
310 * sysdeps/unix/sysv/linux/s390/s390-64/clone.S: Likewise.
311 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/clone.S: File removed.
312 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/clone.S: File removed.
314 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h: Moved ...
315 * sysdeps/aarch64/nptl/bits/pthreadtypes.h: ... here.
316 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/semaphore.h: Moved ...
317 * sysdeps/aarch64/nptl/bits/semaphore.h: ... here.
318 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/local_lim.h: Moved ...
319 * sysdeps/unix/sysv/linux/aarch64/bits/local_lim.h: ... here.
320 * sysdeps/unix/sysv/linux/aarch64/nptl/c++-types.data: Moved ...
321 * sysdeps/unix/sysv/linux/aarch64/c++-types.data: ... here.
322 * sysdeps/unix/sysv/linux/aarch64/nptl/ld.abilist: Moved ...
323 * sysdeps/unix/sysv/linux/aarch64/ld.abilist: ... here.
324 * sysdeps/unix/sysv/linux/aarch64/nptl/libBrokenLocale.abilist:
326 * sysdeps/unix/sysv/linux/aarch64/libBrokenLocale.abilist: ... here.
327 * sysdeps/unix/sysv/linux/aarch64/nptl/libanl.abilist: Moved ...
328 * sysdeps/unix/sysv/linux/aarch64/libanl.abilist: ... here.
329 * sysdeps/unix/sysv/linux/aarch64/nptl/libc.abilist: Moved ...
330 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: ... here.
331 * sysdeps/unix/sysv/linux/aarch64/nptl/libcrypt.abilist: Moved ...
332 * sysdeps/unix/sysv/linux/aarch64/libcrypt.abilist: ... here.
333 * sysdeps/unix/sysv/linux/aarch64/nptl/libdl.abilist: Moved ...
334 * sysdeps/unix/sysv/linux/aarch64/libdl.abilist: ... here.
335 * sysdeps/unix/sysv/linux/aarch64/nptl/libm.abilist: Moved ...
336 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: ... here.
337 * sysdeps/unix/sysv/linux/aarch64/nptl/libnsl.abilist: Moved ...
338 * sysdeps/unix/sysv/linux/aarch64/libnsl.abilist: ... here.
339 * sysdeps/unix/sysv/linux/aarch64/nptl/libpthread.abilist: Moved ...
340 * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist: ... here.
341 * sysdeps/unix/sysv/linux/aarch64/nptl/libresolv.abilist: Moved ...
342 * sysdeps/unix/sysv/linux/aarch64/libresolv.abilist: ... here.
343 * sysdeps/unix/sysv/linux/aarch64/nptl/librt.abilist: Moved ...
344 * sysdeps/unix/sysv/linux/aarch64/librt.abilist: ... here.
345 * sysdeps/unix/sysv/linux/aarch64/nptl/libthread_db.abilist: Moved ...
346 * sysdeps/unix/sysv/linux/aarch64/libthread_db.abilist: ... here.
347 * sysdeps/unix/sysv/linux/aarch64/nptl/libutil.abilist: Moved ...
348 * sysdeps/unix/sysv/linux/aarch64/libutil.abilist: ... here.
349 * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data: Moved ...
350 * sysdeps/unix/sysv/linux/aarch64/localplt.data: ... here.
351 * sysdeps/unix/sysv/linux/aarch64/nptl/lowlevellock.h: Moved ...
352 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: ... here.
353 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Moved ...
354 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: ... here.
356 2014-06-25 Roland McGrath <roland@hack.frob.com>
358 * sysdeps/unix/sysv/linux/mips/clone.S: Deconditionalize the code
359 that was previously under [RESET_PID].
360 * sysdeps/unix/sysv/linux/mips/nptl/clone.S: File removed.
362 2014-06-25 Joseph Myers <joseph@codesourcery.com>
364 * sysdeps/unix/sysv/linux/dl-opendir.c (__ASSUME_O_CLOEXEC): Do
365 not undefine and redefine.
366 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs)
367 [O_CLOEXEC]: Make code unconditional.
368 (__get_nprocs) [!O_CLOEXEC]: Remove conditional code.
369 * sysdeps/unix/sysv/linux/shm_open.c: Do not include
371 [O_CLOEXEC && !__ASSUME_O_CLOEXEC] (have_o_cloexec): Remove
372 conditional variable definition.
373 (shm_open) [O_CLOEXEC]: Make code unconditional.
374 (shm_open) [!O_CLOEXEC || !__ASSUME_O_CLOEXEC]: Remove conditional
377 * configure.ac (USE_REGPARMS): Don't define here.
378 * configure: Regenerated.
379 * sysdeps/i386/configure.ac (USE_REGPARMS): Define here.
380 * sysdeps/i386/configure: Regenerated.
382 * nptl/createthread.c: Don't include kernel-features.h.
383 * nptl/pthread_cancel.c: Likewise.
384 * nptl/pthread_condattr_setclock.c: Likewise.
385 * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Likewise.
386 * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Likewise.
387 * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Likewise.
388 * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Likewise.
389 * nptl/sysdeps/unix/sysv/linux/raise.c: Likewise.
390 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: Likewise.
391 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
392 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: Likewise.
393 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
394 * nptl/sysdeps/unix/sysv/linux/timer_create.c: Likewise.
395 * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Likewise.
396 * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Likewise.
397 * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Likewise.
398 * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Likewise.
399 * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Likewise.
400 * nscd/gai.c: Likewise.
401 * nss/nss_db/db-open.c: Likewise.
402 * sysdeps/generic/ldsodefs.h: Likewise.
403 * sysdeps/sh/nptl/tls.h: Likewise.
404 * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
405 * sysdeps/unix/sysv/linux/aarch64/sigcontextinfo.h: Likewise.
406 * sysdeps/unix/sysv/linux/aarch64/vfork.S: Likewise.
407 * sysdeps/unix/sysv/linux/adjtime.c: Likewise.
408 * sysdeps/unix/sysv/linux/alpha/xstatconv.h: Likewise.
409 * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
410 * sysdeps/unix/sysv/linux/arm/sigcontextinfo.h: Likewise.
411 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
412 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
413 * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
414 * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
415 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
416 * sysdeps/unix/sysv/linux/clock_settime.c: Likewise.
417 * sysdeps/unix/sysv/linux/dl-execstack.c: Likewise.
418 * sysdeps/unix/sysv/linux/dl-osinfo.h: Likewise.
419 * sysdeps/unix/sysv/linux/dl-sysdep.c: Likewise.
420 * sysdeps/unix/sysv/linux/generic/futimesat.c: Likewise.
421 * sysdeps/unix/sysv/linux/generic/poll.c: Likewise.
422 * sysdeps/unix/sysv/linux/generic/wordsize-32/fcntl.c: Likewise.
423 * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat.c: Likewise.
424 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c: Likewise.
425 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c: Likewise.
426 * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c: Likewise.
427 * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c: Likewise.
428 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c: Likewise.
429 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c: Likewise.
430 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c: Likewise.
431 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev64.c: Likewise.
432 * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
433 * sysdeps/unix/sysv/linux/getpagesize.c: Likewise.
434 * sysdeps/unix/sysv/linux/getsysstats.c: Likewise.
435 * sysdeps/unix/sysv/linux/i386/fxstat.c: Likewise.
436 * sysdeps/unix/sysv/linux/i386/lxstat.c: Likewise.
437 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
438 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
439 * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
440 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
441 * sysdeps/unix/sysv/linux/i386/xstat.c: Likewise.
442 * sysdeps/unix/sysv/linux/ia64/system.c: Likewise.
443 * sysdeps/unix/sysv/linux/if_index.c: Likewise.
444 * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
445 * sysdeps/unix/sysv/linux/ifreq.c: Likewise.
446 * sysdeps/unix/sysv/linux/ldsodefs.h: Likewise.
447 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
448 * sysdeps/unix/sysv/linux/m68k/vfork.S: Likewise.
449 * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Likewise.
450 * sysdeps/unix/sysv/linux/mips/mips32/accept4.c: Likewise.
451 * sysdeps/unix/sysv/linux/mips/mips32/recvmmsg.c: Likewise.
452 * sysdeps/unix/sysv/linux/mips/mips32/sendmmsg.c: Likewise.
453 * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
454 * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
455 * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
456 * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
457 * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
458 * sysdeps/unix/sysv/linux/mmap64.c: Likewise.
459 * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
460 * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
461 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c: Likewise.
462 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
463 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c: Likewise.
464 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c: Likewise.
465 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Likewise.
466 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Likewise.
467 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Likewise.
468 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Likewise.
469 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Likewise.
470 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
471 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
472 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Likewise.
473 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c: Likewise.
474 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c: Likewise.
475 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S: Likewise.
476 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
477 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
478 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
479 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
480 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
481 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S: Likewise.
482 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S: Likewise.
483 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Likewise.
484 * sysdeps/unix/sysv/linux/pread.c: Likewise.
485 * sysdeps/unix/sysv/linux/pread64.c: Likewise.
486 * sysdeps/unix/sysv/linux/prof-freq.c: Likewise.
487 * sysdeps/unix/sysv/linux/pwrite.c: Likewise.
488 * sysdeps/unix/sysv/linux/pwrite64.c: Likewise.
489 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S: Likewise.
490 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S: Likewise.
491 * sysdeps/unix/sysv/linux/s390/system.c: Likewise.
492 * sysdeps/unix/sysv/linux/sh/pread.c: Likewise.
493 * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
494 * sysdeps/unix/sysv/linux/sh/pwrite.c: Likewise.
495 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.
496 * sysdeps/unix/sysv/linux/sigaction.c: Likewise.
497 * sysdeps/unix/sysv/linux/sigpending.c: Likewise.
498 * sysdeps/unix/sysv/linux/sigprocmask.c: Likewise.
499 * sysdeps/unix/sysv/linux/sigsuspend.c: Likewise.
500 * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
501 * sysdeps/unix/sysv/linux/sparc/system.c: Likewise.
502 * sysdeps/unix/sysv/linux/syslog.c: Likewise.
503 * sysdeps/unix/sysv/linux/system.c: Likewise.
504 * sysdeps/unix/sysv/linux/testrtsig.h: Likewise.
505 * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
506 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
507 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
508 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
509 * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
510 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
512 * configure.ac (libc_cv_c_asmcr0_bug): Remove configure test.
513 * configure: Regenerated.
514 * config.h.in (BROKEN_PPC_ASM_CR0): Remove macro.
516 * configure.ac (base_machine): Do not set specially for particular
518 * configure: Regenerated.
519 * sysdeps/powerpc/preconfigure: Move machine and base_machine
520 settings from configure.ac.
521 * sysdeps/i386/preconfigure: New file.
522 * sysdeps/s390/preconfigure: Likewise.
523 * sysdeps/sh/preconfigure: Likewise.
524 * sysdeps/sparc/preconfigure: Likewise.
526 2014-06-25 Roland McGrath <roland@hack.frob.com>
528 * sysdeps/sparc/sparc64/nptl/cpu_relax.S: Moved ...
529 * sysdeps/sparc/sparc64/cpu_relax.S: ... here.
530 * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: Moved ...
531 * sysdeps/sparc/sparc64/pthread_spin_init.c: ... here.
532 * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: Moved ...
533 * sysdeps/sparc/sparc64/pthread_spin_lock.S: ... here.
534 * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: Moved ...
535 * sysdeps/sparc/sparc64/pthread_spin_trylock.S: ... here.
536 * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: Moved ...
537 * sysdeps/sparc/sparc64/pthread_spin_unlock.S: ... here.
538 * sysdeps/sparc/sparc64/nptl/pthreaddef.h: Moved ...
539 * sysdeps/sparc/sparc64/pthreaddef.h: ... here.
540 * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: Update #include.
541 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Likewise.
542 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Likewise.
543 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Likewise.
544 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Likewise.
545 * sysdeps/sparc/sparc64/nptl/Makefile: File removed, its contents ...
546 * sysdeps/sparc/sparc64/Makefile: ... appended here.
548 * sysdeps/sparc/sparc32/nptl/lowlevellock.c: Moved ...
549 * sysdeps/sparc/sparc32/lowlevellock.c: ... here.
550 * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Moved ...
551 * sysdeps/sparc/sparc32/pthread_barrier_wait.c: ... here.
552 * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: Moved ...
553 * sysdeps/sparc/sparc32/pthread_spin_lock.S: ... here.
554 * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: Moved ...
555 * sysdeps/sparc/sparc32/pthread_spin_trylock.S: ... here.
556 * sysdeps/sparc/sparc32/nptl/pthreaddef.h: Moved ...
557 * sysdeps/sparc/sparc32/pthreaddef.h: ... here.
558 * sysdeps/sparc/sparc32/nptl/sem_post.c: Moved ...
559 * sysdeps/sparc/sparc32/sem_post.c: ... here.
560 * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Moved ...
561 * sysdeps/sparc/sparc32/sem_timedwait.c: ... here.
562 * sysdeps/sparc/sparc32/nptl/sem_trywait.c: Moved ...
563 * sysdeps/sparc/sparc32/sem_trywait.c: ... here.
564 * sysdeps/sparc/sparc32/nptl/sem_wait.c: Moved ...
565 * sysdeps/sparc/sparc32/sem_wait.c: ... here.
566 * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: Moved ...
567 * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: ... here.
568 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: Moved ...
569 * sysdeps/sparc/sparc32/sparcv9/pthread_barrier_wait.c: ... here.
570 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: Moved ...
571 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: ... here.
572 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: Moved ...
573 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: ... here.
574 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: Moved ...
575 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: ... here.
576 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Moved ...
577 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: ... here.
578 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: Moved ...
579 * sysdeps/sparc/sparc32/sparcv9/sem_post.c: ... here.
580 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: Moved ...
581 * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: ... here.
582 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: Moved ...
583 * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: ... here.
584 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: Moved ...
585 * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: ... here.
587 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data: Moved ...
588 * sysdeps/unix/sysv/linux/sparc/sparc32/c++-types.data: ... here.
589 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: Moved ...
590 * sysdeps/unix/sysv/linux/sparc/sparc32/ld.abilist: ... here.
591 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
593 * sysdeps/unix/sysv/linux/sparc/sparc32/libBrokenLocale.abilist:
595 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: Moved ...
596 * sysdeps/unix/sysv/linux/sparc/sparc32/libanl.abilist: ... here.
597 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Moved ...
598 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: ... here.
599 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist:
601 * sysdeps/unix/sysv/linux/sparc/sparc32/libcrypt.abilist: ... here.
602 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: Moved ...
603 * sysdeps/unix/sysv/linux/sparc/sparc32/libdl.abilist: ... here.
604 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: Moved ...
605 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: ... here.
606 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: Moved ...
607 * sysdeps/unix/sysv/linux/sparc/sparc32/libnsl.abilist: ... here.
608 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
610 * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist: ... here.
611 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
613 * sysdeps/unix/sysv/linux/sparc/sparc32/libresolv.abilist: ... here.
614 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: Moved ...
615 * sysdeps/unix/sysv/linux/sparc/sparc32/librt.abilist: ... here.
616 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
618 * sysdeps/unix/sysv/linux/sparc/sparc32/libthread_db.abilist: ... here.
619 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: Moved ...
620 * sysdeps/unix/sysv/linux/sparc/sparc32/libutil.abilist: ... here.
621 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data: Moved ...
622 * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: ... here.
623 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data: Moved ...
624 * sysdeps/unix/sysv/linux/sparc/sparc64/c++-types.data: ... here.
625 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: Moved ...
626 * sysdeps/unix/sysv/linux/sparc/sparc64/ld.abilist: ... here.
627 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
629 * sysdeps/unix/sysv/linux/sparc/sparc64/libBrokenLocale.abilist:
631 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: Moved ...
632 * sysdeps/unix/sysv/linux/sparc/sparc64/libanl.abilist: ... here.
633 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Moved ...
634 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: ... here.
635 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist:
637 * sysdeps/unix/sysv/linux/sparc/sparc64/libcrypt.abilist: ... here.
638 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: Moved ...
639 * sysdeps/unix/sysv/linux/sparc/sparc64/libdl.abilist: ... here.
640 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: Moved ...
641 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: ... here.
642 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: Moved ...
643 * sysdeps/unix/sysv/linux/sparc/sparc64/libnsl.abilist: ... here.
644 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
646 * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist: ... here.
647 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
649 * sysdeps/unix/sysv/linux/sparc/sparc64/libresolv.abilist: ... here.
650 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: Moved ...
651 * sysdeps/unix/sysv/linux/sparc/sparc64/librt.abilist: ... here.
652 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
654 * sysdeps/unix/sysv/linux/sparc/sparc64/libthread_db.abilist: ... here.
655 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: Moved ...
656 * sysdeps/unix/sysv/linux/sparc/sparc64/libutil.abilist: ... here.
657 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data: Moved ...
658 * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: ... here.
660 2014-06-25 Joseph Myers <joseph@codesourcery.com>
662 * timezone/checktab.awk: Update from tzcode 2014e.
663 * timezone/private.h: Likewise.
664 * timezone/tzfile.h: Likewise.
665 * timezone/zdump.c: Likewise.
666 * timezone/zic.c: Likewise.
668 * sysdeps/unix/sysv/linux/kernel-features.h
669 (__ASSUME_XFS_RESTRICTED_CHOWN): Remove macro.
670 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_chown_restricted)
671 [__ASSUME_XFS_RESTRICTED_CHOWN]: Make code unconditional.
672 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
673 Remove conditional code.
675 2014-06-25 Will Newton <will.newton@linaro.org>
677 * sysdeps/unix/sysv/linux/arm/dl-procinfo.c
678 (_dl_arm_cap_flags): Add HWCAP2 values.
679 * sysdeps/unix/sysv/linux/arm/dl-procinfo.h
680 (_DL_HWCAP_COUNT): Increase to 37.
681 (_DL_HWCAP_LAST): New define.
682 (_DL_HWCAP2_LAST): New define.
683 (_dl_procinfo): Add support for printing
685 (_dl_string_hwcap): Use _dl_hwcap_string.
687 2014-06-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
689 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
691 2014-06-25 Joseph Myers <joseph@codesourcery.com>
693 * README: Do not mention ports directory.
695 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMENSAT):
697 * sysdeps/unix/sysv/linux/futimes.c: Do not include
699 [__NR_utimensat && !__ASSUME_UTIMENSAT] (miss_utimensat): Remove
700 conditional variable definition.
701 (__futimes): Update comment.
702 (__futimes) [__ASSUME_UTIMENSAT]: Make code unconditional.
703 (__futimes) [!__ASSUME_UTIMENSAT]: Remove conditional code.
706 * sysdeps/ieee754/dbl-64/e_exp10.c (__ieee754_exp10): Return 1 for
707 arguments close to 0.
708 * sysdeps/ieee754/ldbl-128/e_exp10l.c (__ieee754_exp10l):
710 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c (__ieee754_exp10l):
712 * math/auto-libm-test-in: Add more tests of exp10.
713 * math/auto-libm-test-out: Regenerated.
714 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
716 * sysdeps/unix/sysv/linux/kernel-features.h
717 (__ASSUME_COMPLETE_READV_WRITEV): Remove macro.
718 * sysdeps/unix/sysv/linux/readv.c: Do not include
720 [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
721 [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
722 (__libc_readv) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
724 (__libc_readv) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
726 * sysdeps/unix/sysv/linux/writev.c: Do not include
728 [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
729 [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
730 (__libc_writev) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
732 (__libc_writev) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
735 2014-06-25 Will Newton <will.newton@linaro.org>
737 * sysdeps/posix/tempname.c: Merge from gnulib, cosmetic
738 comment changes throughout the file. Remove checks
739 for HAVE_*_H definitions that are not required.
740 (__gen_tempname): Call abort if an unknown kind value is
743 2014-06-25 Andreas Schwab <schwab@suse.de>
746 * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Add compat symbols for
747 scalbln, scalblnf, scalblnl in libc.
749 2014-06-25 Siddhesh Poyarekar <siddhesh@redhat.com>
752 * sysdeps/i386/fpu/s_scalbn.S: Add compat symbol for libc.so.
753 * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
754 * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
756 2014-06-24 Roland McGrath <roland@hack.frob.com>
758 * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: Moved ...
759 * sysdeps/i386/i486/pthread_spin_trylock.S: ... here.
760 * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: Moved ...
761 * sysdeps/i386/i586/pthread_spin_trylock.S: ... here.
763 * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: Moved ...
764 * sysdeps/i386/i686/pthread_spin_trylock.S: ... here.
766 * sysdeps/x86_64/64/nptl/shlib-versions: Moved ...
767 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: ... here.
768 * sysdeps/x86_64/x32/nptl/shlib-versions: Moved ...
769 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: ... here.
770 * sysdeps/x86/nptl/bits/pthreadtypes.h: Moved ...
771 * sysdeps/x86/bits/pthreadtypes.h: ... here.
772 * sysdeps/x86/nptl/bits/semaphore.h: Moved ...
773 * sysdeps/x86/bits/semaphore.h: ... here.
774 * sysdeps/x86/nptl/elide.h: Moved ...
775 * sysdeps/x86/elide.h: ... here.
776 * sysdeps/x86_64/nptl/Implies: File removed.
777 * sysdeps/i386/nptl/Implies: File removed.
779 2014-06-24 Joseph Myers <joseph@codesourcery.com>
782 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Just
783 return the argument for normal arguments with exponent below -64.
784 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
786 * math/auto-libm-test-in: Add another test of expm1.
787 * math/auto-libm-test-out: Regenerated.
790 * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfl): Return 1 without
791 calling __erfcl for arguments at least 16.
792 * math/auto-libm-test-in: Add more tests of erf.
793 * math/auto-libm-test-out: Regenerated.
795 * sysdeps/unix/sysv/linux/configure.ac: Remove cases for
796 individual architectures.
797 * sysdeps/unix/sysv/linux/configure: Regenerated.
798 * sysdeps/unix/sysv/linux/i386/configure.ac: New file.
799 * sysdeps/unix/sysv/linux/i386/configure: New generated file.
800 * sysdeps/unix/sysv/linux/powerpc/configure.ac
801 (ldd_rewrite_script): Define variable.
802 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
803 * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure.ac: New
805 * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure: New
807 * sysdeps/unix/sysv/linux/s390/configure.ac: New file.
808 * sysdeps/unix/sysv/linux/s390/configure: New generated file.
809 * sysdeps/unix/sysv/linux/sh/configure.ac: New file.
810 * sysdeps/unix/sysv/linux/sh/configure: New generated file.
811 * sysdeps/unix/sysv/linux/sparc/configure.ac: New file.
812 * sysdeps/unix/sysv/linux/sparc/configure: New generated file.
813 * sysdeps/unix/sysv/linux/x86_64/configure.ac: New file.
814 * sysdeps/unix/sysv/linux/x86_64/configure: New generated file.
816 2014-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
819 * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_mutex_t):
820 Rename member __data.d to __data.__elision_data.
822 2014-06-24 Wilco <wdijkstr@arm.com>
824 * NEWS: Add 16918 to fixed bug list.
826 2014-06-24 Wilco <wdijkstr@arm.com>
828 * sysdeps/arm/fesetenv.c (fesetenv): Optimize implementation.
830 2014-06-24 Wilco <wdijkstr@arm.com>
832 * sysdeps/arm/fpu_control.h (_FPU_MASK_RM): Define.
833 * sysdeps/arm/fenv_private.h (libc_fesetround_vfp)
834 (libc_feholdexcept_setround_vfp) (libc_feholdsetround_vfp)
835 (libc_feresetround_vfp) (libc_feholdsetround_vfp_ctx)
836 (libc_feresetround_vfp_ctx): Use _FPU_MASK_RM.
837 * sysdeps/arm/fesetround.c (fesetround): Use _FPU_MASK_RM.
838 * sysdeps/arm/get-rounding-mode.h (get_rounding_mode):
841 2014-06-24 Wilco <wdijkstr@arm.com>
843 * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Remove unused include.
845 2014-06-24 Wilco <wdijkstr@arm.com>
847 * sysdeps/arm/feholdexcpt.c (feholdexcept): Remove space.
848 * sysdeps/arm/fesetenv.c (fesetenv): Remove space.
849 * sysdeps/arm/fesetround.c (fesetround): Remove space.
850 * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Remove space.
852 2014-06-24 Wilco <wdijkstr@arm.com>
855 * sysdeps/arm/feupdateenv.c (feupdateenv):
856 Rewrite to reduce FPSCR accesses and fix return value.
858 2014-06-24 Wilco <wdijkstr@arm.com>
860 * sysdeps/arm/fclrexcpt.c (feclearexcept):
861 Optimize to avoid unnecessary FPSCR writes.
862 * sysdeps/arm/fedisblxcpt.c (fedisableexcept): Likewise.
863 * sysdeps/arm/feenablxcpt.c (feenableexcept): Likewise.
864 * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Likewise.
865 * sysdeps/arm/setfpucw.c (__setfpucw): Likewise.
867 2014-06-24 Wilco <wdijkstr@arm.com>
869 * sysdeps/arm/fegetround.c (fegetround): Call get_rounding_mode.
870 * sysdeps/arm/feholdexcpt.c (feholdexcept): Call libc_feholdexcept_vfp.
871 * sysdeps/arm/fesetround.c (fesetround): Call libc_fesetround_vfp.
872 * sysdeps/arm/fgetexcptflg.c (fegetexceptflag):
873 Call libc_fetestexcept_vfp.
874 * sysdeps/arm/ftestexcept.c (fetestexcept): Call libc_fetestexcept_vfp.
875 * sysdeps/arm/fenv_private.h: Move libc_*_vfp functions outside of
876 __SOFTFP__ ifdef so that they can be built for softfp.
878 2014-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
880 * sysdeps/x86/nptl/elide.h (elision_adapt): Make first
881 argument type signed char.
883 * Makerules (check-abi): Dump diff of symlist if the test
886 2014-06-23 Roland McGrath <roland@hack.frob.com>
888 * sysdeps/generic/get-rounding-mode.h: Include <stdlib.h> before
891 * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
892 Remove unused variable ST.
894 2014-06-23 Joseph Myers <joseph@codesourcery.com>
898 * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Check for
899 small arguments before calling __expm1.
900 * sysdeps/ieee754/flt-32/e_coshf.c (__ieee754_coshf): Check for
901 small arguments before calling __expm1f.
902 * sysdeps/ieee754/ldbl-128/e_coshl.c (__ieee754_coshl): Check for
903 small arguments before calling __expm1l.
904 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
906 * sysdeps/ieee754/ldbl-96/e_coshl.c (__ieee754_coshl): Likewise.
907 * math/auto-libm-test-in: Add more cosh tests. Do not allow
908 spurious underflow for some cosh tests.
909 * math/auto-libm-test-out: Regenerated.
910 * sysdeps/i386/fpu/libm-test-ulps: Update.
913 * sysdeps/ieee754/dbl-64/e_j1.c: Include <errno.h>.
914 (__ieee754_y1): Set errno if return value overflows.
915 * sysdeps/ieee754/flt-32/e_j1f.c: Include <errno.h>.
916 (__ieee754_y1f): Set errno if return value overflows.
917 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <errno.h>.
918 (__ieee754_y1l): Set errno if return value overflows.
919 * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <errno.h>.
920 (__ieee754_y1l): Set errno if return value overflows.
921 * math/auto-libm-test-in: Add more tests of y0, y1 and yn.
922 * math/auto-libm-test-out: Regenerated.
924 * math/gen-auto-libm-tests.c: Document use of
925 ignore-zero-inf-sign.
926 (input_flag_type): Add value flag_ignore_zero_inf_sign.
927 (input_flags): Add ignore-zero-inf-sign.
928 (output_for_one_input_case): Handle flag_ignore_zero_inf_sign.
929 * math/gen-libm-test.pl (generate_testfile): Handle
930 ignore-zero-inf-sign.
931 * math/auto-libm-test-in: Mark some cpow tests with
932 ignore-zero-inf-sign and some with xfail-rounding.
933 * math/auto-libm-test-out: Regenerated.
934 * math/libm-test.inc (cpow_test): Use ALL_RM_TEST.
935 * sysdeps/i386/fpu/libm-test-ulps: Update.
936 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
939 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Ensure possibly
940 overflowing or underflowing operations take place with sign of
942 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
943 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
944 * sysdeps/ieee754/dbl-64/e_pow.c: Include <math.h>.
945 (__ieee754_pow): Recompute overflowing and underflowing results in
946 original rounding mode.
947 * sysdeps/x86/fpu/powl_helper.c: Include <stdbool.h>.
948 (__powl_helper): Allow negative argument X and scale negated value
949 as needed. Avoid passing value outside [-1, 1] to f2xm1.
950 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Ensure possibly
951 overflowing or underflowing operations take place with sign of
953 * sysdeps/x86_64/fpu/multiarch/e_pow.c [HAVE_FMA4_SUPPORT]:
955 * math/auto-libm-test-in: Add more tests of pow.
956 * math/auto-libm-test-out: Regenerated.
957 * math/libm-test.inc (pow_test): Use ALL_RM_TEST.
958 (pow_tonearest_test_data): Remove.
959 (pow_test_tonearest): Likewise.
960 (pow_towardzero_test_data): Likewise.
961 (pow_test_towardzero): Likewise.
962 (pow_downward_test_data): Likewise.
963 (pow_test_downward): Likewise.
964 (pow_upward_test_data): Likewise.
965 (pow_test_upward): Likewise.
966 (main): Don't call removed functions.
967 * sysdeps/i386/fpu/libm-test-ulps: Update.
968 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
970 2014-06-23 Roland McGrath <roland@hack.frob.com>
972 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/c++-types.data:
974 * sysdeps/unix/sysv/linux/powerpc/powerpc32/c++-types.data: ... here.
975 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
977 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: ... here.
978 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
980 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: ... here.
981 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
983 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data: ... here.
984 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
986 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
988 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libBrokenLocale.abilist:
990 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libanl.abilist:
992 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libcrypt.abilist:
994 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libdl.abilist:
996 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libnsl.abilist:
998 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
1000 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libresolv.abilist:
1002 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
1004 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libthread_db.abilist:
1006 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libutil.abilist:
1008 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/ld.abilist:
1010 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: ... here.
1011 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libBrokenLocale.abilist:
1013 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libBrokenLocale.abilist:
1015 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libanl.abilist:
1017 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libanl.abilist: ... here.
1018 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libcrypt.abilist:
1020 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libcrypt.abilist: ... here.
1021 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libdl.abilist:
1023 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libdl.abilist: ... here.
1024 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libnsl.abilist:
1026 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libnsl.abilist: ... here.
1027 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libpthread.abilist:
1029 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist: ... here.
1030 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libresolv.abilist:
1032 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libresolv.abilist: ... here.
1033 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/librt.abilist:
1035 * sysdeps/unix/sysv/linux/powerpc/powerpc32/librt.abilist: ... here.
1036 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libthread_db.abilist: Moved ...
1037 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libthread_db.abilist:
1039 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libutil.abilist:
1041 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libutil.abilist: ... here.
1042 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
1044 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
1046 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libm.abilist:
1048 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
1050 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
1052 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
1054 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
1056 * sysdeps/unix/sysv/linux/powerpc/powerpc64/c++-types.data: ... here.
1057 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
1059 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: ... here.
1060 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: Moved ...
1061 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: ... here.
1062 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
1064 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale-le.abilist:
1066 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
1068 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale.abilist:
1070 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
1072 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl-le.abilist: ... here.
1073 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
1075 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl.abilist: ... here.
1076 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
1078 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: ... here.
1079 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
1081 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: ... here.
1082 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
1084 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt-le.abilist:
1086 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
1088 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt.abilist: ... here.
1089 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
1091 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl-le.abilist: ... here.
1092 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
1094 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl.abilist: ... here.
1095 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
1097 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: ... here.
1098 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: Moved ...
1099 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: ... here.
1100 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
1102 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl-le.abilist: ... here.
1103 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
1105 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl.abilist: ... here.
1106 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
1108 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread-le.abilist:
1110 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
1112 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread.abilist:
1114 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
1116 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv-le.abilist:
1118 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
1120 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv.abilist: ... here.
1121 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
1123 * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt-le.abilist: ... here.
1124 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
1126 * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt.abilist: ... here.
1127 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
1129 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db-le.abilist:
1131 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
1133 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db.abilist:
1135 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
1137 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil-le.abilist:
1139 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
1141 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil.abilist: ... here.
1142 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
1144 * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: ... here.
1146 2014-06-23 Will Newton <will.newton@linaro.org>
1147 Wilco <wdijkstr@arm.com>
1149 * sysdeps/generic/math_private.h: Add generic HAVE_RM_CTX
1150 implementation. Include get-rounding-mode.h.
1151 [!HAVE_RM_CTX]: Define HAVE_RM_CTX to zero.
1152 [!libc_feholdsetround_noex_ctx]: Define
1153 libc_feholdsetround_noex_ctx.
1154 [!libc_feholdsetround_noexf_ctx]: Define
1155 libc_feholdsetround_noexf_ctx.
1156 [!libc_feholdsetround_noexl_ctx]: Define
1157 libc_feholdsetround_noexl_ctx.
1158 (libc_feholdsetround_ctx): New function.
1159 (libc_feresetround_ctx): New function.
1160 (libc_feholdsetround_noex_ctx): New function.
1161 (libc_feresetround_noex_ctx): New function.
1163 2014-06-23 Roland McGrath <roland@hack.frob.com>
1165 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h: Moved ...
1166 * sysdeps/mips/nptl/bits/pthreadtypes.h: ... here.
1167 * sysdeps/unix/sysv/linux/mips/nptl/bits/semaphore.h: Moved ...
1168 * sysdeps/mips/nptl/bits/semaphore.h: ... here.
1169 * sysdeps/unix/sysv/linux/mips/nptl/bits/local_lim.h: Moved ...
1170 * sysdeps/unix/sysv/linux/mips/bits/local_lim.h: ... here.
1172 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h: Moved ...
1173 * sysdeps/m68k/nptl/bits/pthreadtypes.h: ... here.
1174 * sysdeps/unix/sysv/linux/m68k/nptl/bits/semaphore.h: Moved ...
1175 * sysdeps/m68k/nptl/bits/semaphore.h: ... here.
1176 * sysdeps/unix/sysv/linux/m68k/nptl/c++-types.data: Moved ...
1177 * sysdeps/unix/sysv/linux/m68k/c++-types.data: ... here.
1178 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/bits/atomic.h: Moved ...
1179 * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: ... here.
1180 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/ld.abilist: Moved ...
1181 * sysdeps/unix/sysv/linux/m68k/coldfire/ld.abilist: ... here.
1182 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libBrokenLocale.abilist:
1184 * sysdeps/unix/sysv/linux/m68k/coldfire/libBrokenLocale.abilist:
1186 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libanl.abilist: Moved ...
1187 * sysdeps/unix/sysv/linux/m68k/coldfire/libanl.abilist: ... here.
1188 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libc.abilist: Moved ...
1189 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: ... here.
1190 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libcrypt.abilist:
1192 * sysdeps/unix/sysv/linux/m68k/coldfire/libcrypt.abilist: ... here.
1193 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libdl.abilist: Moved ...
1194 * sysdeps/unix/sysv/linux/m68k/coldfire/libdl.abilist: ... here.
1195 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libm.abilist: Moved ...
1196 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: ... here.
1197 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libnsl.abilist: Moved ...
1198 * sysdeps/unix/sysv/linux/m68k/coldfire/libnsl.abilist: ... here.
1199 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libpthread.abilist:
1201 * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist: ... here.
1202 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libresolv.abilist:
1204 * sysdeps/unix/sysv/linux/m68k/coldfire/libresolv.abilist: ... here.
1205 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/librt.abilist: Moved ...
1206 * sysdeps/unix/sysv/linux/m68k/coldfire/librt.abilist: ... here.
1207 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libthread_db.abilist:
1209 * sysdeps/unix/sysv/linux/m68k/coldfire/libthread_db.abilist: ... here.
1210 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libutil.abilist: Moved ...
1211 * sysdeps/unix/sysv/linux/m68k/coldfire/libutil.abilist: ... here.
1212 * sysdeps/unix/sysv/linux/m68k/nptl/localplt.data: Moved ...
1213 * sysdeps/unix/sysv/linux/m68k/localplt.data: ... here.
1214 * sysdeps/unix/sysv/linux/m68k/nptl/lowlevellock.h: Moved ...
1215 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: ... here.
1216 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/ld.abilist: Moved ...
1217 * sysdeps/unix/sysv/linux/m68k/m680x0/ld.abilist: ... here.
1218 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libBrokenLocale.abilist:
1220 * sysdeps/unix/sysv/linux/m68k/m680x0/libBrokenLocale.abilist:
1222 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libanl.abilist: Moved ...
1223 * sysdeps/unix/sysv/linux/m68k/m680x0/libanl.abilist: ... here.
1224 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libc.abilist: Moved ...
1225 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: ... here.
1226 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libcrypt.abilist: Moved ...
1227 * sysdeps/unix/sysv/linux/m68k/m680x0/libcrypt.abilist: ... here.
1228 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libdl.abilist: Moved ...
1229 * sysdeps/unix/sysv/linux/m68k/m680x0/libdl.abilist: ... here.
1230 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libm.abilist: Moved ...
1231 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: ... here.
1232 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libnsl.abilist: Moved ...
1233 * sysdeps/unix/sysv/linux/m68k/m680x0/libnsl.abilist: ... here.
1234 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libpthread.abilist:
1236 * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist: ... here.
1237 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libresolv.abilist: Moved ...
1238 * sysdeps/unix/sysv/linux/m68k/m680x0/libresolv.abilist: ... here.
1239 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/librt.abilist: Moved ...
1240 * sysdeps/unix/sysv/linux/m68k/m680x0/librt.abilist: ... here.
1241 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libthread_db.abilist:
1243 * sysdeps/unix/sysv/linux/m68k/m680x0/libthread_db.abilist: ... here.
1244 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libutil.abilist: Moved ...
1245 * sysdeps/unix/sysv/linux/m68k/m680x0/libutil.abilist: ... here.
1246 * sysdeps/unix/sysv/linux/m68k/nptl/sysdep-cancel.h: Moved ...
1247 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: ... here.
1249 * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: Moved ...
1250 * sysdeps/unix/sysv/linux/sh/c++-types.data: ... here.
1251 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: Moved ...
1252 * sysdeps/unix/sysv/linux/sh/ld.abilist: ... here.
1253 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: Moved ...
1254 * sysdeps/unix/sysv/linux/sh/libBrokenLocale.abilist: ... here.
1255 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: Moved ...
1256 * sysdeps/unix/sysv/linux/sh/libanl.abilist: ... here.
1257 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Moved ...
1258 * sysdeps/unix/sysv/linux/sh/libc.abilist: ... here.
1259 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: Moved ...
1260 * sysdeps/unix/sysv/linux/sh/libcrypt.abilist: ... here.
1261 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: Moved ...
1262 * sysdeps/unix/sysv/linux/sh/libdl.abilist: ... here.
1263 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Moved ...
1264 * sysdeps/unix/sysv/linux/sh/libm.abilist: ... here.
1265 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: Moved ...
1266 * sysdeps/unix/sysv/linux/sh/libnsl.abilist: ... here.
1267 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: Moved ...
1268 * sysdeps/unix/sysv/linux/sh/libpthread.abilist: ... here.
1269 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: Moved ...
1270 * sysdeps/unix/sysv/linux/sh/libresolv.abilist: ... here.
1271 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Moved ...
1272 * sysdeps/unix/sysv/linux/sh/librt.abilist: ... here.
1273 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: Moved ...
1274 * sysdeps/unix/sysv/linux/sh/libthread_db.abilist: ... here.
1275 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: Moved ...
1276 * sysdeps/unix/sysv/linux/sh/libutil.abilist: ... here.
1278 2014-06-23 Joseph Myers <joseph@codesourcery.com>
1280 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
1281 (FALLOC_FL_COLLAPSE_RANGE): New macro.
1282 [__USE_GNU] (FALLOC_FL_ZERO_RANGE): Likewise.
1283 * sysdeps/unix/sysv/linux/bits/in.h (IP_PMTUDISC_OMIT): Likewise.
1284 (IPV6_PMTUDISC_INTERFACE): Likewise.
1285 (IPV6_PMTUDISC_OMIT): Likewise.
1287 2014-06-23 Andreas Schwab <schwab@suse.de>
1289 * nptl/sysdeps/unix/sysv/linux/mq_notify.c (init_mq_netlink):
1290 Remove unused errout label.
1292 2014-06-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1294 * sysdeps/powerpc/bits/hwcap.h [PPC_FEATURE2_HAS_VEC_CRYPTO]: New
1295 macro: hardware supports Vector Crypto instructions.
1297 2014-06-23 Will Newton <will.newton@linaro.org>
1299 * elf/dl-lookup.c: Use __glibc_unlikely and __glibc_likely
1300 rather than __builtin_expect.
1302 * elf/dl-lookup.c (undefined_msg): Remove variable.
1303 (_dl_lookup_symbol_x): Replace undefined_msg with string
1306 * elf/dl-lookup.c (do_lookup_unique): New function.
1307 (do_lookup_x): Move STB_GNU_UNIQUE handling code
1308 to a separate function.
1310 2014-06-23 Andreas Schwab <schwab@suse.de>
1313 * nss/nss_files/files-XXX.c (get_contents): Store overflow marker
1314 before reading the next line.
1316 2014-06-23 Will Newton <will.newton@linaro.org>
1318 * test-skeleton.c (signal_handler): Use printf and %m
1319 rather than perror. Use printf rather than fprintf to
1320 stderr. Use puts rather than fputs to stderr.
1323 2014-06-22 Ludovic Courtès <ludo@gnu.org>
1325 * nscd/nscd.c (thread_info_t): Remove typedef.
1326 (thread_info): Remove variable.
1328 2014-06-21 Allan McRae <allan@archlinux.org>
1330 * NEWS: Mention CVE-2014-4043.
1332 2014-06-20 Roland McGrath <roland@hack.frob.com>
1334 * nptl/sysdeps/unix/sysv/linux/smp.h: Moved ...
1335 * nptl/smp.h: ... here.
1337 * nptl/sysdeps/unix/sysv/linux/rtld-lowlevel.h: File removed.
1339 * include/libc-symbols.h (HAVE_CONFIG_H, STDC_HEADERS): New macros.
1340 * catgets/Makefile (catgets-CPPFLAGS): Remove -DHAVE_CONFIG_H.
1341 * locale/Makefile (CPPFLAGS-locale-programs): Likewise.
1342 * stdlib/strtol_l.c [_LIBC] (STDC_HEADERS): Don't define it.
1344 * nptl/allocatestack.c: Include <stack-aliasing.h>.
1345 * nptl/stack-aliasing.h: New file.
1346 * sysdeps/i386/i686/stack-aliasing.h: New file.
1347 * sysdeps/i386/i686/nptl/Makefile: File removed.
1348 * sysdeps/x86_64/stack-aliasing.h: New file.
1349 * sysdeps/x86_64/nptl/Makefile
1350 (CFLAGS-pthread_create.c): Variable removed.
1352 * nptl/sysdeps/unix/sysv/linux/bits/local_lim.h: Moved ...
1353 * sysdeps/unix/sysv/linux/bits/local_lim.h: ... here, replacing the
1355 * nptl/sysdeps/unix/sysv/linux/bits/posix_opt.h: Moved ...
1356 * sysdeps/unix/sysv/linux/bits/posix_opt.h: ... here, replacing the
1359 2014-06-21 Joseph Myers <joseph@codesourcery.com>
1361 * sysdeps/unix/sysv/linux/arm/kernel-features.h
1362 (__ASSUME_SIGFRAME_V2): Remove macro.
1363 * sysdeps/unix/sysv/linux/arm/sigrestorer.S: Update comment.
1364 [!__ASSUME_SIGFRAME_V2]: Remove conditional code.
1365 (__default_sa_restorer_v2): Rename to __default_sa_restorer.
1366 (__default_rt_sa_restorer_v2): Rename to __default_rt_sa_restorer.
1367 * sysdeps/unix/sysv/linux/arm/sigaction.c (__default_sa_restorer):
1368 Declare as function. Remove conditional macro definitions.
1369 (__default_rt_sa_restorer): Likewise.
1370 (__default_sa_restorer_v1): Remove declaration.
1371 (__default_sa_restorer_v2): Likewise.
1372 (__default_rt_sa_restorer_v1): Likewise.
1373 (__default_rt_sa_restorer_v2): Likewise.
1374 * sysdeps/unix/sysv/linux/arm/Versions (GLIBC_PRIVATE): Remove
1375 __default_sa_restorer_v1, __default_rt_sa_restorer_v1,
1376 __default_sa_restorer_v2 and __default_rt_sa_restorer_v2.
1378 2014-06-20 Roland McGrath <roland@hack.frob.com>
1380 * sysdeps/unix/sysv/linux/sparc/Makefile [$(subdir) = nptl]
1381 (libpthread-routines): Add sysdep.
1382 * nptl/sysdeps/unix/sysv/linux/sparc/Makefile: File removed.
1383 * sysdeps/unix/sysv/linux/sparc/Versions
1384 (libpthread: GLIBC_2.3.3): New version set.
1385 * nptl/sysdeps/unix/sysv/linux/sparc/Versions: File removed.
1386 * nptl/sysdeps/unix/sysv/linux/sparc/aio_cancel.c: Moved ...
1387 * sysdeps/unix/sysv/linux/sparc/aio_cancel.c: ... here.
1388 * nptl/sysdeps/unix/sysv/linux/sparc/internaltypes.h: Moved ...
1389 * sysdeps/sparc/nptl/internaltypes.h: ... here. Use #include_next.
1390 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_destroy.c:
1392 * sysdeps/sparc/nptl/pthread_barrier_destroy.c: ... here.
1393 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_init.c: Moved ...
1394 * sysdeps/sparc/nptl/pthread_barrier_init.c: ... here.
1395 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_wait.c: Moved ...
1396 * sysdeps/sparc/nptl/pthread_barrier_wait.c: ... here.
1397 * nptl/sysdeps/unix/sysv/linux/sparc/sem_init.c: Moved ...
1398 * sysdeps/sparc/nptl/sem_init.c: ... here.
1399 * nptl/sysdeps/unix/sysv/linux/sparc/sem_post.c: Moved ...
1400 * sysdeps/sparc/nptl/sem_post.c: ... here.
1401 * nptl/sysdeps/unix/sysv/linux/sparc/sem_timedwait.c: Moved ...
1402 * sysdeps/sparc/nptl/sem_timedwait.c: ... here.
1403 * nptl/sysdeps/unix/sysv/linux/sparc/sem_wait.c: Moved ...
1404 * sysdeps/sparc/nptl/sem_wait.c: ... here.
1405 * nptl/sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Moved ...
1406 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: ... here.
1407 * sysdeps/sparc/sparc32/sparcv9/Makefile [$(subdir) = nptl]
1408 (libpthread-routines): Add cpu_relax.
1409 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/Makefile:
1411 * sysdeps/unix/sysv/linux/sparc/sparc64/Versions
1412 (librt: GLIBC_2.3.3): New version set.
1413 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Versions: File removed.
1414 * sysdeps/sparc/sparc64/nptl/Makefile: New file.
1415 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile [$(subdir) = nptl]
1416 (CFLAGS-pause.c, CFLAGS-sigsuspend.c): New variables.
1417 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Makefile: File removed.
1418 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/lowlevellock.c: Moved ...
1419 * sysdeps/sparc/sparc32/nptl/lowlevellock.c: ... here.
1420 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pthread_barrier_wait.c:
1422 * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: ... here.
1423 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_post.c: Moved ...
1424 * sysdeps/sparc/sparc32/nptl/sem_post.c: ... here.
1425 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_timedwait.c: Moved ...
1426 * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: ... here.
1427 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_trywait.c: Moved ...
1428 * sysdeps/sparc/sparc32/nptl/sem_trywait.c: ... here.
1429 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_wait.c: Moved ...
1430 * sysdeps/sparc/sparc32/nptl/sem_wait.c: ... here.
1431 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/cpu_relax.S:
1433 * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: ... here.
1435 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/pthread_barrier_wait.c:
1437 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: ... here.
1439 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_post.c:
1441 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: ... here.
1443 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_timedwait.c:
1445 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: ... here.
1447 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_trywait.c:
1449 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: ... here.
1451 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_wait.c:
1453 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: ... here.
1455 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/cpu_relax.S: Moved ...
1456 * sysdeps/sparc/sparc64/nptl/cpu_relax.S: ... here.
1457 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Moved ...
1458 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: ... here.
1459 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Moved ...
1460 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: ... here.
1461 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: Moved ...
1462 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: ... here.
1463 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: Moved ...
1464 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: ... here.
1465 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
1467 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c: ... here.
1468 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: Moved ...
1469 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: ... here.
1470 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: Moved ...
1471 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: ... here.
1473 2014-06-20 Joseph Myers <joseph@codesourcery.com>
1475 * nptl/pthread_cond_wait.c: Include <kernel-features.h>.
1476 * nptl/pthread_rwlock_timedrdlock.c: Likewise.
1477 * nptl/pthread_rwlock_timedwrlock.c: Likewise.
1478 * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Likewise.
1479 * nscd/nscd.c: Likewise.
1480 * sysdeps/i386/nptl/tcb-offsets.sym: Likewise.
1481 * sysdeps/powerpc/nptl/tcb-offsets.sym: Likewise.
1482 * sysdeps/sh/nptl/tcb-offsets.sym: Likewise.
1483 * sysdeps/x86_64/nptl/tcb-offsets.sym: Likewise.
1485 * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Do not include
1486 <kernel-features.h>.
1487 (init_mq_netlink): Remove conditional have_sock_cloexec
1488 definitions. Remove code conditional on have_sock_cloexec < 0.
1489 (init_mq_netlink) [!SOCK_CLOEXEC]: Remove conditional code.
1490 (init_mq_netlink) [!__ASSUME_SOCK_CLOEXEC]: Likewise.
1491 * sysdeps/unix/sysv/linux/opensock.c: Do not include
1492 <kernel-features.h>.
1493 (__opensock) [SOCK_CLOEXEC]: Make code unconditional.
1494 (__opensock) [!__ASSUME_SOCK_CLOEXEC]: Remove conditional code.
1496 2014-06-20 H.J. Lu <hongjiu.lu@intel.com>
1498 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
1499 Add tests for memset_chk and memset.
1501 * sysdeps/x86_64/multiarch/init-arch.h (HAS_AVX2): Defined
1504 2014-06-20 Maciej W. Rozycki <macro@codesourcery.com>
1507 * elf/tst-dl-iter-static.c: New file.
1508 * elf/Makefile (tests-static): Add tst-dl-iter-static.
1510 * stdlib/tst-qsort2.c (main): Fix off-by-one argc interpretation
1513 2014-06-20 Joseph Myers <joseph@codesourcery.com>
1515 * sysdeps/unix/sysv/linux/kernel-features.h
1516 (__ASSUME_F_GETOWN_EX): Remove macro.
1517 * sysdeps/unix/sysv/linux/fcntl.c: Do not include
1518 <kernel-features.h>.
1519 (miss_F_GETOWN_EX): Remove variable or macro.
1520 (do_fcntl): Do not check miss_F_GETOWN_EX.
1521 (do_fcntl) [!__ASSUME_F_GETOWN_EX]: Remove conditional code.
1523 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_RANDOM):
1525 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard)
1526 [!__ASSUME_AT_RANDOM]: Remove conditional code.
1527 (_dl_setup_pointer_guard) [!__ASSUME_AT_RANDOM]: Likewise.
1529 * sysdeps/unix/sysv/linux/kernel-features.h
1530 (__ASSUME_ADJ_OFFSET_SS_READ): Remove macro.
1531 * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME)
1532 [ADJ_OFFSET_SS_READ]: Make code unconditional.
1533 (ADJTIME) [!ADJ_OFFSET_SS_READ]: Remove conditional code.
1535 2014-06-20 Maciej W. Rozycki <macro@codesourcery.com>
1538 * sysdeps/arm/dl-machine.h (elf_machine_rel) <R_ARM_TLS_DESC>:
1539 Fix calculation of the symbol's value.
1540 * sysdeps/arm/tst-armtlsdescloc.c: New file.
1541 * sysdeps/arm/tst-armtlsdesclocmod.c: New file.
1542 * sysdeps/arm/tst-armtlsdescextnow.c: New file.
1543 * sysdeps/arm/tst-armtlsdescextlazymod.c: New file.
1544 * sysdeps/arm/tst-armtlsdescextlazy.c: New file.
1545 * sysdeps/arm/tst-armtlsdescextnowmod.c: New file.
1546 * sysdeps/arm/Makefile (tests): Add `tst-armtlsdesc',
1547 `tst-armtlsdescextnow' and `tst-armtlsdescextlazy'.
1548 (modules-names): Add `tst-armtlsdescmod',
1549 `tst-armtlsdescextlazymod' and `tst-armtlsdescextnowmod'.
1550 (CPPFLAGS-tst-armtlsdescextnowmod.c): New variable.
1551 (CPPFLAGS-tst-armtlsdescextlazymod.c): Likewise.
1552 (CFLAGS-tst-armtlsdesclocmod.c): Likewise.
1553 (CFLAGS-tst-armtlsdescextnowmod.c): Likewise.
1554 (CFLAGS-tst-armtlsdescextlazymod.c): Likewise.
1555 (LDFLAGS-tst-armtlsdescextnowmod.so): Likewise.
1556 ($(objpfx)tst-armtlsdescloc): New dependency.
1557 ($(objpfx)tst-armtlsdescextnow): Likewise.
1558 ($(objpfx)tst-armtlsdescextlazy): Likewise.
1559 * sysdeps/arm/configure.ac: Add a check for tools' GNU descriptor
1561 * sysdeps/arm/configure: Regenerate.
1563 2014-06-20 Joseph Myers <joseph@codesourcery.com>
1565 * include/fcntl.h (__atfct_seterrno): Remove prototype.
1566 (__atfct_seterrno_2): Likewise.
1567 * sysdeps/unix/sysv/linux/alpha/dl-fxstatat64.c: Do not include
1568 <kernel-features.h>.
1569 (__ASSUME_ATFCTS): Do not undefine and redefine.
1570 * sysdeps/unix/sysv/linux/alpha/fxstatat.c [__ASSUME_ATFCTS]
1571 (__have_atfcts): Remove conditional definition.
1572 (__fxstatat([__NR_fstatat64]: Make code unconditional.
1573 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code and code
1574 unreachable if [__ASSUME_ATFCTS].
1575 * sysdeps/unix/sysv/linux/dl-fxstatat64.c (__ASSUME_ATFCTS): Do
1576 not undefine and redefine.
1577 * sysdeps/unix/sysv/linux/faccessat.c: Do not include
1578 <kernel-features.h>.
1579 (faccessat) [__NR_faccessat]: Make code unconditional.
1580 (faccessat) [!__ASSUME_ATFCTS]: Remove conditional code.
1581 * sysdeps/unix/sysv/linux/fchmodat.c: Do not include
1582 <kernel-features.h>.
1583 (fchmodat) [__NR_fchmodat]: Make code unconditional.
1584 (fchmodat) [!__ASSUME_ATFCTS]: Remove conditional code.
1585 * sysdeps/unix/sysv/linux/fchownat.c: Do not include
1586 <kernel-features.h>.
1587 (fchownat) [__NR_fchownat]: Make code unconditional.
1588 (fchownat) [!__ASSUME_ATFCTS]: Remove conditional code.
1589 * sysdeps/unix/sysv/linux/futimesat.c: Do not include
1590 <kernel-features.h>.
1591 (futimesat) [__NR_futimesat]: Make code unconditional.
1592 (futimesat) [!__ASSUME_ATFCTS]: Remove conditional code.
1593 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
1594 <kernel-features.h>.
1595 (__fxstatat) [__NR_newfstatat]: Make code unconditional.
1596 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
1597 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
1598 <kernel-features.h>.
1599 (__fxstatat64) [__NR_fstatat64]: Make code unconditional.
1600 (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
1601 * sysdeps/unix/sysv/linux/i386/fchownat.c: Remove file.
1602 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
1603 <kernel-features.h>.
1604 (__fxstatat) [__NR_fstatat64]: Make code unconditional.
1605 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
1606 * sysdeps/unix/sysv/linux/linkat.c: Do not include
1607 <kernel-features.h>.
1608 (linkat) [__NR_linkat]: Make code unconditional.
1609 (linkat) [!__ASSUME_ATFCTS]: Remove conditional code.
1610 * sysdeps/unix/sysv/linux/m68k/fchownat.c: Remove file.
1611 * sysdeps/unix/sysv/linux/mips/mips64/fxstatat64.c: Do not include
1612 <kernel-features.h>.
1613 (__fxstatat64) [__NR_newfstatat]: Make code unconditional.
1614 (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
1615 * sysdeps/unix/sysv/linux/mkdirat.c: Do not include
1616 <kernel-features.h>.
1617 (mkdirat) [__NR_mkdirat]: Make code unconditional.
1618 (mkdirat) [!__ASSUME_ATFCTS]: Remove conditional code.
1619 * sysdeps/unix/sysv/linux/openat.c: Do not include
1620 <kernel-features.h>.
1621 [!__ASSUME_ATFCTS] (__atfct_seterrno): Remove function.
1622 [!__ASSUME_ATFCTS] (__have_atfcts): Remove variable.
1623 (OPENAT_NOT_CANCEL) [__NR_openat]: Make code unconditional.
1624 (OPENAT_NOT_CANCEL) [!__ASSUME_ATFCTS]: Remove conditional code.
1625 * sysdeps/unix/sysv/linux/powerpc/fchownat.c: Remove file.
1626 * sysdeps/unix/sysv/linux/readlinkat.c: Do not include
1627 <kernel-features.h>.
1628 (readlinkat) [__NR_readlinkat]: Make code unconditional.
1629 (readlinkat) [!__ASSUME_ATFCTS]: Remove conditional code. Return
1630 result of INLINE_SYSCALL directly, not via int variable.
1631 * sysdeps/unix/sysv/linux/renameat.c: Do not include
1632 <kernel-features.h>.
1633 [!__ASSUME_ATFCTS] (__atfct_seterrno_2): Remove function.
1634 (renameat) [__NR_renameat]: Make code unconditional.
1635 (renameat) [!__ASSUME_ATFCTS]: Remove conditional code.
1636 * sysdeps/unix/sysv/linux/s390/s390-32/fchownat.c: Remove file.
1637 * sysdeps/unix/sysv/linux/sh/fchownat.c: Remove file.
1638 * sysdeps/unix/sysv/linux/sparc/sparc32/fchownat.c: Remove file.
1639 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c
1640 (__ASSUME_ATFCTS): Do not undefine and redefine.
1641 * sysdeps/unix/sysv/linux/symlinkat.c: Do not include
1642 <kernel-features.h>.
1643 (symlinkat) [__NR_symlinkat]: Make code unconditional.
1644 (symlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
1645 * sysdeps/unix/sysv/linux/unlinkat.c: Do not include
1646 <kernel-features.h>.
1647 (unlinkat) [__NR_unlinkat]: Make code unconditional.
1648 (unlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
1649 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c
1650 (__ASSUME_ATFCTS): Do not undefine and redefine.
1651 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
1652 <kernel-features.h>.
1653 (__fxstatat) [__NR_newfstatat]: Make code unconditional.
1654 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
1655 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
1656 <kernel-features.h>.
1657 (__xmknodat) [__NR_mknodat]: Make code unconditional.
1658 (__xmknodat) [!__ASSUME_ATFCTS]: Remove conditional code.
1660 2014-06-20 H.J. Lu <hongjiu.lu@intel.com>
1662 * sysdeps/x86_64/multiarch/rtld-strlen.S: Removed.
1664 2014-06-20 Andreas Schwab <schwab@linux-m68k.org>
1667 * posix/regcomp.c (parse_reg_exp): Deallocate partially
1668 constructed tree before returning error.
1669 * posix/bug-regexp36.c: Expand test case.
1671 2014-06-20 Stefan Liebler <stli@linux.vnet.ibm.com>
1674 * math/libm-test.inc (scalbln_test_date):
1675 Add errno expectations.
1676 * math/w_scalblnf.c: New File.
1677 Add wrapper which checks for setting errno to ERANGE.
1678 Add weak_alias for corresponding scalbln function.
1679 * math/w_scalbln.c: Likewise.
1680 * math/w_scalblnl.c: Likewise.
1681 * math/Makefile (libm-calls): Add w_scalbln.
1682 * sysdeps/ieee754/flt-32/s_scalblnf.c:
1683 Remove weak_alias for corresponding scalbln function.
1684 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
1685 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
1686 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
1687 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
1688 * sysdeps/sparc/sparc64/soft-fp/s_scalblnl.c: Likewise.
1689 * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
1690 * sysdeps/i386/fpu/s_scalbn.S: Likewise.
1691 * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
1692 * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Likewise.
1693 * sysdeps/ieee754/ldbl-64-128/s_scalblnl.c:
1694 Remove long_double_symbol for scalblnl function in libm, libc.
1695 * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: New File.
1696 Add wrapper which checks for setting errno to ERANGE.
1697 Add long_double_symbol for scalblnl function in libm, libc.
1698 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c:
1699 Remove long_double_symbol for scalblnl in libm.
1700 * sysdeps/ieee754/ldbl-128ibm/w_scalblnl.c: New File.
1701 Add wrapper which checks for setting errno to ERANGE.
1702 Add long_double_symbol for scalblnl function in libm.
1703 * sysdeps/ia64/fpu/w_scalblnf.c: New File.
1704 Do not use wrapper because of own implementation.
1706 2014-06-19 H.J. Lu <hongjiu.lu@intel.com>
1708 * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Use
1709 3 bytes for __pad1 for x32.
1710 (__PTHREAD_RWLOCK_ELISION_EXTRA): Likewise.
1712 2014-06-19 Ling Ma <ling.ml@alibaba-inc.com>
1713 H.J. Lu <hongjiu.lu@intel.com>
1715 * sysdeps/x86_64/multiarch/Makefile: Add memset-avx2.
1716 * sysdeps/x86_64/multiarch/memset-avx2.S: New file.
1717 * sysdeps/x86_64/multiarch/memset.S: Likewise.
1718 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
1719 * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise.
1721 2014-06-19 Andreas Schwab <schwab@linux-m68k.org>
1724 * posix/regcomp.c (parse_expression): Deallocate partially
1725 constructed tree before returning error.
1726 * posix/Makefile.c (tests): Add bug-regex36.
1727 (generated): Add bug-regex36.mtrace.
1728 (tests-special): Add $(objpfx)bug-regex36-mem.out
1729 (bug-regex36-ENV): New variable.
1730 ($(objpfx)bug-regex36-mem.out): New rule.
1731 * posix/bug-regex36.c: New file.
1733 2014-06-19 Will Newton <will.newton@linaro.org>
1735 * malloc/malloc.c (systrim): If extra is zero then return
1738 2014-06-19 Siddhesh Poyarekar <siddhesh@redhat.com>
1740 * benchtests/Makefile ($(objpfx)bench-%.c): Remove $(.).
1742 2014-06-19 Richard Earnshaw <rearnsha@arm.com>
1744 * sysdeps/aarch64/strchr.S: New file.
1746 2014-06-18 Joseph Myers <joseph@codesourcery.com>
1749 * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Do not subtract 1
1750 from arguments -2 or below.
1751 * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
1752 * sysdeps/x86_64/fpu/e_logl.S (__ieee754_logl): Likewise.
1754 2014-06-18 Andreas Schwab <schwab@suse.de>
1757 * posix/fnmatch_loop.c (FCT): Rerrange loop for skipping over rest
1758 of a bracket expr not to run off the end of the string.
1759 * posix/Makefile (tests): Add tst-fnmatch3.
1760 * posix/tst-fnmatch3.c: New file.
1762 2014-06-18 Joseph Myers <joseph@codesourcery.com>
1764 * elf/Makefile ($(objpfx)tst-unused-dep.out): Use $(rtld-prefix).
1765 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
1766 [$(cross-compiling) = no]: Likewise.
1767 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
1768 [$(cross-compiling) = no]: Likewise.
1770 2014-16-17 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
1773 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Consider the low
1774 double, adjusted for any remainder from the high double.
1775 * math/libm-test.inc (nearbyint): Add tests.
1778 2014-06-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1780 * nptl/sysdeps/powerpc/Makefile: Moved ...
1781 * sysdeps/powerpc/nptl/Makefile: ... here.
1782 * nptl/sysdeps/powerpc/pthread_spin_lock.c: Moved ...
1783 * sysdeps/powerpc/nptl/pthread_spin_lock.c: .. here.
1784 * nptl/sysdeps/powerpc/pthread_spin_trylock.c: Moved ...
1785 * sysdeps/powerpc/nptl/pthread_spin_trylock.c: ... here.
1786 * nptl/sysdeps/powerpc/pthreaddef.h: Moved ...
1787 * sysdeps/powerpc/nptl/pthreaddef.h: ... here.
1788 * nptl/sysdeps/powerpc/tcb-offsets.sym: Moved ...
1789 * sysdeps/powerpc/nptl/tcb-offsets.sym: ... here.
1790 * nptl/sysdeps/powerpc/tls.h: Moved ...
1791 * sysdeps/powerpc/nptl/tls.h: ... here.
1793 2014-06-16 Joseph Myers <joseph@codesourcery.com>
1796 * sysdeps/i386/fpu/s_ceil.S (__ceil): Add CFI.
1797 * sysdeps/i386/fpu/s_ceilf.S (__ceilf): Likewise.
1798 * sysdeps/i386/fpu/s_ceill.S (__ceill): Likewise.
1799 * sysdeps/i386/fpu/s_floor.S (__floor): Likewise.
1800 * sysdeps/i386/fpu/s_floorf.S (__floorf): Likewise.
1801 * sysdeps/i386/fpu/s_floorl.S (__floorl): Likewise.
1802 * sysdeps/i386/fpu/s_trunc.S (__trunc): Likewise.
1803 * sysdeps/i386/fpu/s_truncf.S (__truncf): Likewise.
1804 * sysdeps/i386/fpu/s_truncl.S (__truncl): Likewise.
1806 2014-06-17 Andreas Schwab <schwab@linux-m68k.org>
1808 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
1810 2014-06-16 Andreas Schwab <schwab@linux-m68k.org>
1812 * sysdeps/m68k/m680x0/bits/huge_vall.h: Fix missing space after
1815 * scripts/cross-test-ssh.sh (timeoutfactor): Default to
1818 2014-06-16 Florian Weimer <fweimer@redhat.com>
1821 * nptl/tst-setuid2.c (do_test): Fix tautological comparison in
1822 non-executed part of the test.
1824 2014-06-16 Andreas Schwab <schwab@suse.de>
1826 * string/bits/string2.h (strdup, strndup): Update feature guard.
1828 2014-06-14 David S. Miller <davem@davemloft.net>
1830 * sysdeps/sparc/fpu/libm-test-ulps: Update.
1832 2014-06-14 Andreas Schwab <schwab@linux-m68k.org>
1834 * sysdeps/unix/sysv/linux/m68k/clone.S: Deconditionalize the code
1835 that was previously under [RESET_PID].
1836 * sysdeps/unix/sysv/linux/m68k/nptl/clone.S: Remove file.
1838 * sysdeps/unix/sysv/linux/m68k/pt-vfork.c: New file.
1839 * sysdeps/unix/sysv/linux/m68k/nptl/pt-vfork.S: Remove file.
1840 * sysdeps/unix/sysv/linux/m68k/vfork.S: Include <tcb-offsets.h>.
1841 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
1842 (__libc_vfork): New strong alias.
1843 * sysdeps/unix/sysv/linux/m68k/nptl/vfork.S: Remove file.
1845 2014-06-14 Andi Kleen <ak@linux.intel.com>
1847 * sysdeps/generic/elide.h: New file.
1849 2014-06-13 Stefan Liebler <stli@linux.vnet.ibm.com>
1851 * Makefile (installed-headers): Adjust path of pthread.h header.
1853 2014-06-13 Roland McGrath <roland@hack.frob.com>
1855 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h: Moved ...
1856 * sysdeps/s390/nptl/bits/pthreadtypes.h: ... here.
1857 * nptl/sysdeps/unix/sysv/linux/s390/bits/semaphore.h: Moved ...
1858 * sysdeps/s390/nptl/bits/semaphore.h: ... here.
1860 * nptl/sysdeps/s390/Makefile: Moved ...
1861 * sysdeps/s390/nptl/Makefile: ... here.
1862 * nptl/sysdeps/s390/pthread_spin_init.c: Moved ...
1863 * sysdeps/s390/nptl/pthread_spin_init.c: ... here.
1864 * nptl/sysdeps/s390/pthread_spin_lock.c: Moved ...
1865 * sysdeps/s390/nptl/pthread_spin_lock.c: ... here.
1866 * nptl/sysdeps/s390/pthread_spin_trylock.c: Moved ...
1867 * sysdeps/s390/nptl/pthread_spin_trylock.c: ... here.
1868 * nptl/sysdeps/s390/pthread_spin_unlock.c: Moved ...
1869 * sysdeps/s390/nptl/pthread_spin_unlock.c: ... here.
1870 * nptl/sysdeps/s390/pthreaddef.h: Moved ...
1871 * sysdeps/s390/nptl/pthreaddef.h: ... here.
1872 * nptl/sysdeps/s390/tcb-offsets.sym: Moved ...
1873 * sysdeps/s390/nptl/tcb-offsets.sym: ... here.
1874 * nptl/sysdeps/s390/tls.h: Moved ...
1875 * sysdeps/s390/nptl/tls.h: ... here.
1877 * sysdeps/unix/sysv/linux/s390/arch-fork.h: New file.
1878 * nptl/sysdeps/unix/sysv/linux/s390/fork.c: File removed.
1880 2014-06-13 David S. Miller <davem@davemloft.net>
1882 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/clone.S: Delete.
1883 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pt-vfork.S: Delete.
1884 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Moved ...
1885 * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: ... here.
1886 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/clone.S: Delete.
1887 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/pt-vfork.S: Delete.
1888 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Moved ...
1889 * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: ... here.
1890 * sysdeps/unix/sysv/linux/sparc/fork.S: Delete.
1891 * sysdeps/unix/sysv/linux/sparc/pt-vfork.S: New file.
1892 * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__thread_start):
1893 Remove RESET_PID cpp guards.
1894 * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__thread_start):
1895 Remove RESET_PID cpp guards.
1896 * sysdeps/unix/sysv/linux/sparc/vfork.S: Delete.
1898 2014-06-13 Andreas Schwab <schwab@linux-m68k.org>
1900 * sysdeps/m68k/jmpbuf-unwind.h (_JMPBUF_UNWINDS, _jmpbuf_sp): Cast
1903 2014-06-13 Andi Kleen <ak@linux.intel.com>
1905 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: Remove.
1906 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S: dito.
1907 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S: dito.
1908 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: dito.
1909 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: dito.
1910 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: dito.
1911 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S: dito.
1912 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S: dito.
1913 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: dito.
1914 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: dito.
1915 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: dito.
1916 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S: dito.
1917 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S: dito.
1918 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: dito.
1919 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: dito.
1920 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: dito.
1921 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: dito.
1922 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: dito.
1923 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: dito.
1924 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: dito.
1926 * nptl/pthread_rwlock_rdlock.c: Include elide.h.
1927 (pthread_rwlock_rdlock): Add elision.
1928 * nptl/pthread_rwlock_wrlock.c: Include elide.h.
1929 (pthread_rwlock_wrlock): Add elision.
1930 * nptl/pthread_rwlock_trywrlock.c: Include elide.h.
1931 (pthread_rwlock_trywrlock): Add elision.
1932 * nptl/pthread_rwlock_tryrdlock.c: Include elide.h.
1933 (pthread_rwlock_tryrdlock): Add elision.
1934 * nptl/pthread_rwlock_unlock.c: Include elide.h.
1935 (pthread_rwlock_tryrdlock): Add elision unlock.
1936 * nptl/sysdeps/pthread/pthread.h:
1937 (__PTHREAD_RWLOCK_ELISION_EXTRA): Handle new define
1938 (PTHREAD_RWLOCK_INITIALIZER,
1939 PTHREAD_RWLOCK_WRITER_NONRECURSIVE_INITIALIZER_NP):
1940 Handle new elision field.
1941 * sysdeps/x86/nptl/elide.h: New file. Add generic elision macros.
1942 * sysdeps/arm/nptl/bits/pthreadtypes.h
1943 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
1944 * sysdeps/sh/nptl/bits/pthreadtypes.h
1945 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
1946 * sysdeps/tile/nptl/bits/pthreadtypes.h
1947 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
1948 * sysdeps/a/nptl/bits/pthreadtypes.h
1949 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
1950 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
1951 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
1952 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
1953 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
1954 * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h
1955 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
1956 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
1957 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
1958 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
1959 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
1960 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
1961 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
1962 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
1963 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
1964 * sysdeps/unix/sysv/linux/powerpc/nptl/bits/pthreadtypes.h
1965 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
1966 * sysdeps/unix/sysv/linux/x86/elision-conf.c:
1967 (elision_init): Set try_xbegin to zero when no RTM.
1968 * sysdeps/x86/nptl/bits/pthreadtypes.h
1969 (pthread_rwlock_t): Change __pad1 to __rwelision.
1970 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
1972 2014-06-13 Andi Kleen <ak@linux.intel.com>
1974 * nptl/pthread_rwlock_rdlock (__pthread_rwlock_rdlock):
1975 Split into __do_pthread_rwlock_rdlock and __pthread_rwlock_rdlock.
1976 * nptl/pthread_rwlock_wrlock (__pthread_rwlock_wrlock):
1977 Split into __do_pthread_rwlock_wrlock and __pthread_wrlock_rdlock.
1979 2014-06-13 Meador Inge <meadori@codesourcery.com>
1982 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Ensure
1983 that the cached result has been set before returning it.
1985 2014-06-12 Roland McGrath <roland@hack.frob.com>
1987 * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h: Moved ...
1988 * sysdeps/sparc/nptl/bits/pthreadtypes.h: ... here.
1989 * nptl/sysdeps/unix/sysv/linux/sparc/bits/semaphore.h: Moved ...
1990 * sysdeps/sparc/nptl/bits/semaphore.h: ... here.
1991 * nptl/sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: Moved ...
1992 * sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: ... here.
1994 * nptl/sysdeps/sparc/Makefile: Moved ...
1995 * sysdeps/sparc/nptl/Makefile: ... here.
1996 * nptl/sysdeps/sparc/tcb-offsets.sym: Moved ...
1997 * sysdeps/sparc/nptl/tcb-offsets.sym: ... here.
1998 * nptl/sysdeps/sparc/tls.h: Moved ...
1999 * sysdeps/sparc/nptl/tls.h: ... here.
2000 * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S: Moved ...
2001 * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: ... here.
2002 * nptl/sysdeps/sparc/sparc32/pthread_spin_trylock.S: Moved ...
2003 * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: ... here.
2004 * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Moved ...
2005 * sysdeps/sparc/sparc32/nptl/pthreaddef.h: ... here.
2006 * nptl/sysdeps/sparc/sparc64/pthread_spin_init.c: Moved ...
2007 * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: ... here.
2008 * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S: Moved ...
2009 * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: ... here.
2010 * nptl/sysdeps/sparc/sparc64/pthread_spin_trylock.S: Moved ...
2011 * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: ... here.
2012 * nptl/sysdeps/sparc/sparc64/pthread_spin_unlock.S: Moved ...
2013 * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: ... here.
2014 * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Moved ...
2015 * sysdeps/sparc/sparc64/nptl/pthreaddef.h: ... here.
2016 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Moved ...
2017 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: ... here.
2019 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Moved ...
2020 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: ... here.
2022 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Moved ...
2023 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: ... here.
2025 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: Moved ...
2026 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: ... here.
2029 * nptl/sysdeps/sparc/tls.h (TLS_DEFINE_INIT_TP): New macro.
2031 * sysdeps/unix/sysv/linux/sparc/arch-fork.h: New file.
2032 * nptl/sysdeps/unix/sysv/linux/sparc/fork.c: File removed.
2034 * sysdeps/pthread/posix-timer.h: Include <list.h>.
2035 (struct list_links): Type removed.
2036 (struct thread_node, struct timer_node): Replace struct list_links
2037 with struct list_head.
2038 (list_unlink_ip): Likewise.
2039 * sysdeps/pthread/timer_routines.c
2040 (timer_free_list, thread_free_list, thread_active_list): Likewise.
2041 (list_append, list_insbefore): Likewise.
2042 (list_init): Function removed.
2043 (thread_init, init_module): Use INIT_LIST_HEAD instead.
2044 * sysdeps/nptl/Makefile: Move tst-timer bits to ...
2045 * sysdeps/pthread/Makefile: ... here, new file.
2047 * nptl/sysdeps/unix/sysv/linux/Implies: Moved ...
2048 * sysdeps/nptl/Implies: ... here.
2049 * sysdeps/unix/sysv/linux/Implies: Add nptl.
2050 * nptl/sysdeps/pthread/list.h: Moved ...
2051 * include/list.h: ... here.
2052 * nptl/sysdeps/pthread/createthread.c: Moved ...
2053 * nptl/createthread.c: ... here.
2054 * nptl/sysdeps/unix/sysv/linux/createthread.c: Update #include.
2055 * nptl/sysdeps/pthread/pt-longjmp.c: Moved ...
2056 * nptl/pt-longjmp.c: ... here.
2057 * nptl/sysdeps/pthread/Makefile: Moved ...
2058 * sysdeps/nptl/Makefile: ... here.
2059 * nptl/sysdeps/pthread/Subdirs: Moved ...
2060 * sysdeps/nptl/Subdirs: ... here.
2061 * nptl/sysdeps/pthread/aio_misc.h: Moved ...
2062 * sysdeps/nptl/aio_misc.h: ... here.
2063 * nptl/sysdeps/pthread/bits/libc-lock.h: Moved ...
2064 * sysdeps/nptl/bits/libc-lock.h: ... here.
2065 * nptl/sysdeps/pthread/bits/libc-lockP.h: Moved ...
2066 * sysdeps/nptl/bits/libc-lockP.h: ... here.
2067 * nptl/sysdeps/pthread/bits/stdio-lock.h: Moved ...
2068 * sysdeps/nptl/bits/stdio-lock.h: ... here.
2069 * nptl/sysdeps/pthread/configure: Moved ...
2070 * sysdeps/nptl/configure: ... here.
2071 * nptl/sysdeps/pthread/configure.ac: Moved ...
2072 * sysdeps/nptl/configure.ac: ... here.
2073 * nptl/sysdeps/pthread/gai_misc.h: Moved ...
2074 * sysdeps/nptl/gai_misc.h: ... here.
2075 * nptl/sysdeps/pthread/librt-cancellation.c: Moved ...
2076 * sysdeps/nptl/librt-cancellation.c: ... here.
2077 * nptl/sysdeps/pthread/malloc-machine.h: Moved ...
2078 * sysdeps/nptl/malloc-machine.h: ... here.
2079 * nptl/sysdeps/pthread/pthread-functions.h: Moved ...
2080 * sysdeps/nptl/pthread-functions.h: ... here.
2081 * nptl/sysdeps/pthread/pthread.h: Moved ...
2082 * sysdeps/nptl/pthread.h: ... here.
2083 * nptl/sysdeps/pthread/setxid.h: Moved ...
2084 * sysdeps/nptl/setxid.h: ... here.
2085 * nptl/sysdeps/pthread/sigfillset.c: Moved ...
2086 * sysdeps/nptl/sigfillset.c: ... here.
2087 * nptl/sysdeps/pthread/tcb-offsets.h: Moved ...
2088 * sysdeps/nptl/tcb-offsets.h: ... here.
2089 * nptl/sysdeps/pthread/tst-mqueue8x.c: Moved ...
2090 * sysdeps/nptl/tst-mqueue8x.c: ... here.
2091 * nptl/sysdeps/pthread/unwind-forcedunwind.c: Moved ...
2092 * sysdeps/nptl/unwind-forcedunwind.c: ... here.
2093 * nptl/sysdeps/pthread/allocalim.h: Moved ...
2094 * sysdeps/pthread/allocalim.h: ... here.
2095 * nptl/sysdeps/pthread/bits/sigthread.h: Moved ...
2096 * sysdeps/pthread/bits/sigthread.h: ... here.
2097 * nptl/sysdeps/pthread/flockfile.c: Moved ...
2098 * sysdeps/pthread/flockfile.c: ... here.
2099 * nptl/sysdeps/pthread/ftrylockfile.c: Moved ...
2100 * sysdeps/pthread/ftrylockfile.c: ... here.
2101 * nptl/sysdeps/pthread/funlockfile.c: Moved ...
2102 * sysdeps/pthread/funlockfile.c: ... here.
2103 * nptl/sysdeps/pthread/posix-timer.h: Moved ...
2104 * sysdeps/pthread/posix-timer.h: ... here.
2105 * nptl/sysdeps/pthread/timer_create.c: Moved ...
2106 * sysdeps/pthread/timer_create.c: ... here.
2107 * nptl/sysdeps/pthread/timer_delete.c: Moved ...
2108 * sysdeps/pthread/timer_delete.c: ... here.
2109 * nptl/sysdeps/pthread/timer_getoverr.c: Moved ...
2110 * sysdeps/pthread/timer_getoverr.c: ... here.
2111 * nptl/sysdeps/pthread/timer_gettime.c: Moved ...
2112 * sysdeps/pthread/timer_gettime.c: ... here.
2113 * nptl/sysdeps/pthread/timer_routines.c: Moved ...
2114 * sysdeps/pthread/timer_routines.c: ... here.
2115 * nptl/sysdeps/pthread/timer_settime.c: Moved ...
2116 * sysdeps/pthread/timer_settime.c: ... here.
2117 * nptl/sysdeps/pthread/tst-timer.c: Moved ...
2118 * sysdeps/pthread/tst-timer.c: ... here.
2119 * nptl/sysdeps/pthread/pthread_sigmask.c: Moved ...
2120 * sysdeps/unix/sysv/linux/pthread_sigmask.c: ... here.
2122 * sysdeps/unix/sysv/linux/sigprocmask.c: Include <nptl/pthreadP.h>.
2123 * nptl/sysdeps/pthread/sigprocmask.c: File removed.
2125 * nptl/sysdeps/i386/i486/pthread_spin_trylock.S: Moved ...
2126 * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: ... here.
2127 * nptl/sysdeps/i386/i586/pthread_spin_trylock.S: Moved ...
2128 * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: ... here.
2129 Update #include target.
2130 * nptl/sysdeps/i386/i686/Makefile: Moved ...
2131 * sysdeps/i386/i686/nptl/Makefile: ... here.
2132 * nptl/sysdeps/i386/i686/pthread_spin_trylock.S: Moved ...
2133 * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: ... here.
2134 Update #include target.
2135 * nptl/sysdeps/i386/i686/tls.h: Moved ...
2136 * sysdeps/i386/i686/nptl/tls.h: ... here. Use #include_next.
2137 * nptl/sysdeps/i386/Makefile: Moved ...
2138 * sysdeps/i386/nptl/Makefile: ... here.
2139 * nptl/sysdeps/i386/pthread_spin_init.c: Moved ...
2140 * sysdeps/i386/nptl/pthread_spin_init.c: ... here.
2141 * sysdeps/x86_64/nptl/pthread_spin_init.c: Update #include target.
2142 * nptl/sysdeps/i386/pthread_spin_lock.S: Moved ...
2143 * sysdeps/i386/nptl/pthread_spin_lock.S: ... here.
2144 * nptl/sysdeps/i386/pthread_spin_unlock.S: Moved ...
2145 * sysdeps/i386/nptl/pthread_spin_unlock.S: ... here.
2146 * nptl/sysdeps/i386/pthreaddef.h: Moved ...
2147 * sysdeps/i386/nptl/pthreaddef.h: ... here.
2148 * nptl/sysdeps/i386/tcb-offsets.sym: Moved ...
2149 * sysdeps/i386/nptl/tcb-offsets.sym: ... here.
2150 * nptl/sysdeps/i386/tls.h: Moved ...
2151 * sysdeps/i386/nptl/tls.h: ... here.
2153 * sysdeps/sh/Makefile [$(subdir) = csu]
2154 (gen-as-const-headers): Add tcb-offsets.sym.
2155 * nptl/sysdeps/sh/Makefile: File removed.
2156 * nptl/sysdeps/sh/pthread_spin_init.c: Moved ...
2157 * sysdeps/sh/nptl/pthread_spin_init.c: ... here.
2158 * nptl/sysdeps/sh/pthread_spin_lock.c: Moved ...
2159 * sysdeps/sh/nptl/pthread_spin_lock.c: ... here.
2160 * nptl/sysdeps/sh/pthread_spin_trylock.S: Moved ...
2161 * sysdeps/sh/nptl/pthread_spin_trylock.S: ... here.
2162 * nptl/sysdeps/sh/pthread_spin_unlock.S: Moved ...
2163 * sysdeps/sh/nptl/pthread_spin_unlock.S: ... here.
2164 * nptl/sysdeps/sh/pthreaddef.h: Moved ...
2165 * sysdeps/sh/nptl/pthreaddef.h: ... here.
2166 * nptl/sysdeps/sh/tcb-offsets.sym: Moved ...
2167 * sysdeps/sh/nptl/tcb-offsets.sym: ... here.
2168 * nptl/sysdeps/sh/tls.h: Moved ...
2169 * sysdeps/sh/nptl/tls.h: ... here.
2170 * nptl/sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Moved ...
2171 * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: ... here.
2172 * nptl/sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: Moved ...
2173 * sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: ... here.
2174 * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.S: Moved ...
2175 * sysdeps/unix/sysv/linux/sh/lowlevellock.S: ... here.
2176 * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.h: Moved ...
2177 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: ... here.
2178 * nptl/sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Moved ...
2179 * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: ... here.
2180 * nptl/sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Moved ...
2181 * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: ... here.
2182 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Moved ...
2183 * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: ... here.
2184 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Moved ...
2185 * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: ... here.
2186 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Moved ...
2187 * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: ... here.
2188 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Moved ...
2189 * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: ... here.
2190 * nptl/sysdeps/unix/sysv/linux/sh/pthread_once.S: Moved ...
2191 * sysdeps/unix/sysv/linux/sh/pthread_once.S: ... here.
2192 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Moved ...
2193 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: ... here.
2194 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S:
2196 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: ... here.
2197 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S:
2199 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: ... here.
2200 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Moved ...
2201 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: ... here.
2202 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Moved ...
2203 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: ... here.
2204 * nptl/sysdeps/unix/sysv/linux/sh/sem_post.S: Moved ...
2205 * sysdeps/unix/sysv/linux/sh/sem_post.S: ... here.
2206 * nptl/sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Moved ...
2207 * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: ... here.
2208 * nptl/sysdeps/unix/sysv/linux/sh/sem_trywait.S: Moved ...
2209 * sysdeps/unix/sysv/linux/sh/sem_trywait.S: ... here.
2210 * nptl/sysdeps/unix/sysv/linux/sh/sem_wait.S: Moved ...
2211 * sysdeps/unix/sysv/linux/sh/sem_wait.S: ... here.
2212 * nptl/sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Moved ...
2213 * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: ... here.
2214 * nptl/sysdeps/unix/sysv/linux/sh/smp.h: Moved ...
2215 * sysdeps/unix/sysv/linux/sh/smp.h: ... here.
2216 * nptl/sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Moved ...
2217 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: ... here.
2219 2014-06-12 Stefan Liebler <stli@linux.vnet.ibm.com>
2221 * posix/spawn_faction_addopen.c: Include string.h.
2223 2014-06-11 Roland McGrath <roland@hack.frob.com>
2225 * nptl/sysdeps/x86_64/64/shlib-versions: Moved ...
2226 * sysdeps/x86_64/64/nptl/shlib-versions: ... here.
2227 * nptl/sysdeps/x86_64/Makefile: Moved ...
2228 * sysdeps/x86_64/nptl/Makefile: ... here.
2229 * nptl/sysdeps/x86_64/configure: Moved ...
2230 * sysdeps/x86_64/nptl/configure: ... here.
2231 * nptl/sysdeps/x86_64/configure.ac: Moved ...
2232 * sysdeps/x86_64/nptl/configure.ac: ... here.
2233 * nptl/sysdeps/x86_64/pthread_spin_init.c: Moved ...
2234 * sysdeps/x86_64/nptl/pthread_spin_init.c: ... here.
2235 * nptl/sysdeps/x86_64/pthread_spin_lock.S: Moved ...
2236 * sysdeps/x86_64/nptl/pthread_spin_lock.S: ... here.
2237 * nptl/sysdeps/x86_64/pthread_spin_trylock.S: Moved ...
2238 * sysdeps/x86_64/nptl/pthread_spin_trylock.S: ... here.
2239 * nptl/sysdeps/x86_64/pthread_spin_unlock.S: Moved ...
2240 * sysdeps/x86_64/nptl/pthread_spin_unlock.S: ... here.
2241 * nptl/sysdeps/x86_64/pthreaddef.h: Moved ...
2242 * sysdeps/x86_64/nptl/pthreaddef.h: ... here.
2243 * nptl/sysdeps/x86_64/tcb-offsets.sym: Moved ...
2244 * sysdeps/x86_64/nptl/tcb-offsets.sym: ... here.
2245 * nptl/sysdeps/x86_64/tls.h: Moved ...
2246 * sysdeps/x86_64/nptl/tls.h: ... here.
2247 * nptl/sysdeps/x86_64/x32/shlib-versions: Moved ...
2248 * sysdeps/x86_64/x32/nptl/shlib-versions: ... here.
2249 * nptl/sysdeps/x86_64/x32/tls.h: Moved ...
2250 * sysdeps/x86_64/x32/nptl/tls.h: ... here.
2252 * sysdeps/x86_64/x32/nptl/tls.h: Use #include_next.
2254 2014-06-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2256 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2258 2014-06-11 Joseph Myers <joseph@codesourcery.com>
2260 * conform/data/sys/mman.h-data [POSIX] (size_t): Do not require
2262 [POSIX] (off_t): Likewise.
2263 * conform/data/sys/stat.h-data (S_IRGRP): Require constant.
2264 [POSIX] (S_ISBLK): Require macro.
2265 [POSIX] (S_ISCHR): Likewise.
2266 [POSIX] (S_ISDIR): Likewise.
2267 [POSIX] (S_ISFIFO): Likewise.
2268 [POSIX] (S_ISREG): Likewise.
2269 [POSIX || XPG3 || XPG4 || UNIX98] (S_TYPEISTMO): Do not list
2271 * conform/data/sys/types.h-data [POSIX] (blkcnt_t): Do not require
2273 [POSIX] (time_t): Likewise.
2274 [POSIX] (timer_t): Likewise.
2276 2014-06-11 Florian Weimer <fweimer@redhat.com>
2279 * posix/spawn_int.h (struct __spawn_action): Make the path string
2280 non-const to support deallocation.
2281 * posix/spawn_faction_addopen.c
2282 (posix_spawn_file_actions_addopen): Make a copy of the pathname.
2283 * posix/spawn_faction_destroy.c
2284 (posix_spawn_file_actions_destroy): Adjust comment. Deallocate
2285 path in all spawn_do_open actions.
2286 * posix/tst-spawn.c (do_test): Exercise the copy operation in
2287 posix_spawn_file_actions_addopen.
2289 2014-06-11 Chris Metcalf <cmetcalf@tilera.com>
2291 * sysdeps/unix/sysv/linux/tile/pt-vfork.c: New file.
2292 * sysdeps/unix/sysv/linux/tile/pt-vfork.S: Remove file.
2293 * sysdeps/unix/sysv/linux/tile/vfork.S (__vfork): Make PT_VFORK
2294 conditional code always true.
2295 (__libc_vfork): New alias.
2297 2014-06-11 Roland McGrath <roland@hack.frob.com>
2299 * sysdeps/tile/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
2300 * sysdeps/unix/sysv/linux/tile/createthread.c: File removed.
2302 * nptl/sysdeps/s390/tls.h (TLS_DEFINE_INIT_TP): New macro.
2304 * sysdeps/alpha/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
2305 * sysdeps/unix/sysv/linux/alpha/createthread.c: File removed.
2307 * nptl/sysdeps/powerpc/tls.h (TLS_DEFINE_INIT_TP): New macro.
2308 * sysdeps/unix/sysv/linux/powerpc/createthread.c: File removed.
2310 * sysdeps/aarch64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
2311 * sysdeps/unix/sysv/linux/aarch64/nptl/createthread.c: File removed.
2313 2014-06-11 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
2315 * sysdeps/powerpc/powerpc64/power7/strcmp.S: New file: Optimization.
2316 * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: New file:
2317 multiarch strcmp for PPC64.
2318 * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: New file.
2319 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power7.S: New file.
2320 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcmp
2321 multiarch optimizations.
2322 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
2323 (__libc_ifunc_impl_list): Likewise.
2325 2014-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
2327 * benchtests/scripts/validate_benchout.py: New script.
2328 * benchtests/Makefile (bench-func): Call it.
2329 * benchtests/scripts/benchout.schema.json: New file.
2331 2014-06-10 Chris Metcalf <cmetcalf@tilera.com>
2333 * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h: Moved ...
2334 * sysdeps/tile/nptl/bits/pthreadtypes.h: ... here.
2335 * sysdeps/unix/sysv/linux/tile/nptl/bits/semaphore.h: Moved ...
2336 * sysdeps/tile/nptl/bits/semaphore.h: ... here.
2337 * sysdeps/unix/sysv/linux/tile/nptl/Makefile: Removed, merged into ...
2338 * sysdeps/unix/sysv/linux/tile/Makefile: ... here.
2339 * sysdeps/unix/sysv/linux/tile/nptl/clone.S: Moved ...
2340 * sysdeps/unix/sysv/linux/tile/clone.S: ... here.
2341 * sysdeps/unix/sysv/linux/tile/nptl/createthread.c: Moved ...
2342 * sysdeps/unix/sysv/linux/tile/createthread.c: ... here.
2343 * sysdeps/unix/sysv/linux/tile/nptl/lowlevellock.h: Moved ...
2344 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: ... here.
2345 * sysdeps/unix/sysv/linux/tile/nptl/pt-vfork.S: Moved ...
2346 * sysdeps/unix/sysv/linux/tile/pt-vfork.S: ... here.
2347 * sysdeps/unix/sysv/linux/tile/nptl/sysdep-cancel.h: Moved ...
2348 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: ... here.
2349 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/c++-types.data:
2351 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/c++-types.data:
2353 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/ld.abilist:
2355 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/ld.abilist: ... here.
2356 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libBrokenLocale.abilist:
2358 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libBrokenLocale.abilist:
2360 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libanl.abilist:
2362 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libanl.abilist:
2364 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libc.abilist:
2366 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: ... here.
2367 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libcrypt.abilist:
2369 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libcrypt.abilist:
2371 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libdl.abilist:
2373 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libdl.abilist:
2375 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libm.abilist:
2377 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: ... here.
2378 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libnsl.abilist:
2380 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libnsl.abilist:
2382 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libpthread.abilist:
2384 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libpthread.abilist:
2386 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libresolv.abilist:
2388 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libresolv.abilist:
2390 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/librt.abilist:
2392 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/librt.abilist: ... here.
2393 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libthread_db.abilist:
2395 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libthread_db.abilist:
2397 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libutil.abilist:
2399 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libutil.abilist:
2401 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/c++-types.data:
2403 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/c++-types.data:
2405 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/ld.abilist:
2407 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/ld.abilist: ... here.
2408 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libBrokenLocale.abilist:
2410 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libBrokenLocale.abilist:
2412 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libanl.abilist:
2414 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libanl.abilist:
2416 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libc.abilist:
2418 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: ... here.
2419 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libcrypt.abilist:
2421 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libcrypt.abilist:
2423 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libdl.abilist:
2425 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libdl.abilist: ... here.
2426 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libm.abilist:
2428 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist: ... here.
2429 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libnsl.abilist:
2431 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libnsl.abilist:
2433 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libpthread.abilist:
2435 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libpthread.abilist:
2437 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libresolv.abilist:
2439 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libresolv.abilist:
2441 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/librt.abilist:
2443 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/librt.abilist: ... here.
2444 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libthread_db.abilist:
2446 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libthread_db.abilist:
2448 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libutil.abilist:
2450 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libutil.abilist:
2452 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/c++-types.data: Moved ...
2453 * sysdeps/unix/sysv/linux/tile/tilepro/c++-types.data: ... here.
2454 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/ld.abilist: Moved ...
2455 * sysdeps/unix/sysv/linux/tile/tilepro/ld.abilist: ... here.
2456 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libBrokenLocale.abilist:
2458 * sysdeps/unix/sysv/linux/tile/tilepro/libBrokenLocale.abilist:
2460 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libanl.abilist: Moved ...
2461 * sysdeps/unix/sysv/linux/tile/tilepro/libanl.abilist: ... here.
2462 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libc.abilist: Moved ...
2463 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: ... here.
2464 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libcrypt.abilist: Moved ...
2465 * sysdeps/unix/sysv/linux/tile/tilepro/libcrypt.abilist: ... here.
2466 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libdl.abilist: Moved ...
2467 * sysdeps/unix/sysv/linux/tile/tilepro/libdl.abilist: ... here.
2468 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libm.abilist: Moved ...
2469 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: ... here.
2470 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libnsl.abilist: Moved ...
2471 * sysdeps/unix/sysv/linux/tile/tilepro/libnsl.abilist: ... here.
2472 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libpthread.abilist:
2474 * sysdeps/unix/sysv/linux/tile/tilepro/libpthread.abilist: ... here.
2475 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libresolv.abilist:
2477 * sysdeps/unix/sysv/linux/tile/tilepro/libresolv.abilist: ... here.
2478 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/librt.abilist: Moved ...
2479 * sysdeps/unix/sysv/linux/tile/tilepro/librt.abilist: ... here.
2480 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libthread_db.abilist:
2482 * sysdeps/unix/sysv/linux/tile/tilepro/libthread_db.abilist: ... here.
2483 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libutil.abilist: Moved ...
2484 * sysdeps/unix/sysv/linux/tile/tilepro/libutil.abilist: ... here.
2485 * sysdeps/unix/sysv/linux/tile/nptl/vfork.S: Moved ...
2486 * sysdeps/unix/sysv/linux/tile/vfork.S: ... here.
2487 * sysdeps/unix/sysv/linux/tile/nptl/waitpid.S: Moved ...
2488 * sysdeps/unix/sysv/linux/tile/waitpid.S: ... here.
2490 2014-06-10 Wilco <wdijkstr@arm.com>
2492 * math/test-fenv-return.c: New file.
2493 * math/Makefile: Add new test test-fenv-return.
2495 2014-06-10 Joseph Myers <joseph@codesourcery.com>
2498 * sysdeps/i386/fpu/e_log2.S (__ieee754_log2): Take absolete value
2500 * sysdeps/i386/fpu/e_log2f.S (__ieee754_log2f): Likewise.
2501 * sysdeps/i386/fpu/e_log2l.S (__ieee754_log2l): Likewise.
2502 * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Return
2503 0.0L for an argument of 1.0L.
2504 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l):
2506 * sysdeps/x86_64/fpu/e_log2l.S (__ieee754_log2l): Take absolute
2507 value when x - 1 is zero.
2508 * math/libm-test.inc (log2_test): Use ALL_RM_TEST.
2509 * sysdeps/i386/fpu/libm-test-ulps: Update.
2510 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2512 2014-06-09 Bernard Ogden <bernie.ogden@linaro.org>
2515 * ports/sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.c: Remove file.
2517 2014-06-09 Roland McGrath <roland@hack.frob.com>
2519 * nptl/sysdeps/sh/tls.h (TLS_DEFINE_INIT_TP): New macro.
2520 * nptl/sysdeps/unix/sysv/linux/sh/createthread.c: File removed.
2522 2014-06-09 Roland McGrath <roland@hack.frob.com>
2524 * sysdeps/m68k/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
2525 * sysdeps/unix/sysv/linux/m68k/nptl/createthread.c: File removed.
2527 * sysdeps/hppa/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
2528 * sysdeps/unix/sysv/linux/hppa/nptl/createthread.c: File removed.
2530 * sysdeps/mips/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
2531 * sysdeps/unix/sysv/linux/mips/nptl/createthread.c: File removed.
2533 * sysdeps/arm/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
2534 * sysdeps/unix/sysv/linux/arm/createthread.c: File removed.
2536 * nptl/sysdeps/pthread/createthread.c (TLS_DEFINE_INIT_TP): New macro,
2537 if not already defined.
2538 (do_clone): Use that in place of PREPARE_CREATE and TLS_VALUE.
2539 * nptl/sysdeps/x86_64/tls.h (TLS_DEFINE_INIT_TP): New macro.
2540 * nptl/sysdeps/i386/tls.h (tls_fill_user_desc): New function.
2541 (TLS_INIT_TP): Use it.
2542 (TLS_DEFINE_INIT_TP): New macro.
2543 * sysdeps/unix/sysv/linux/i386/createthread.c: File removed.
2545 2014-06-09 Joseph Myers <joseph@codesourcery.com>
2547 * conform/data/termios.h-data [POSIX] (IUCLC): Do not expect
2549 [POSIX] (IXANY): Likewise.
2550 [POSIX] (OLCUC): Likewise.
2551 [POSIX || POSIX2008] (CBAUD): Do not allow.
2552 [POSIX || POSIX2008] (DEFECHO): Likewise.
2553 [POSIX || POSIX2008] (ECHOCTL): Likewise.
2554 [POSIX || POSIX2008] (ECHOKE): Likewise.
2555 [POSIX || POSIX2008] (ECHOPRT): Likewise.
2556 [POSIX || POSIX2008] (EXTA): Likewise.
2557 [POSIX || POSIX2008] (EXTB): Likewise.
2558 [POSIX || POSIX2008] (FLUSHO): Likewise.
2559 [POSIX || POSIX2008] (LOBLK): Likewise.
2560 [POSIX || POSIX2008] (PENDIN): Likewise.
2561 [POSIX || POSIX2008] (SWTCH): Likewise.
2562 [POSIX || POSIX2008] (VDISCARD): Likewise.
2563 [POSIX || POSIX2008] (VDSUSP): Likewise.
2564 [POSIX || POSIX2008] (VLNEXT): Likewise.
2565 [POSIX || POSIX2008] (VREPRINT): Likewise.
2566 [POSIX || POSIX2008] (VSTATUS): Likewise.
2567 [POSIX || POSIX2008] (VWERASE): Likewise.
2568 (B*): Change to B[0123456789]*.
2569 * conform/data/time.h-data [POSIX || UNIX98]
2570 (CLOCK_PROCESS_CPUTIME_ID): Do not expect constant.
2571 [POSIX || UNIX98] (CLOCK_THREAD_CPUTIME_ID): Likewise.
2572 [POSIX || UNIX98] (CLOCK_MONOTONIC): Likewise.
2573 [POSIX] (tm_*): Do not allow.
2575 2014-06-07 Joseph Myers <joseph@codesourcery.com>
2577 * Makefile (install): Don't set LANGUAGE.
2578 * Makefile.in (install): Likewise.
2579 * assert/Makefile (test-assert-ENV): Remove variable.
2580 (test-assert-perr-ENV): Likewise.
2581 * elf/Makefile (neededtest4-ENV): Likewise.
2582 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
2583 [$(cross-compiling) = no]: Don't set LANGUAGE.
2584 * io/ftwtest-sh (LANG): Remove variable.
2585 * libio/Makefile (tst-widetext-ENV): Likewise.
2586 * manual/install.texi (Running make install): Don't refer to
2587 environment settings for make install.
2588 * INSTALL: Regenerated.
2589 * nptl/tst-tls6.sh: Don't set LANG.
2590 * posix/globtest.sh (LANG): Remove variable.
2591 * string/Makefile (tester-ENV): Likewise.
2592 (inl-tester-ENV): Likewise.
2593 (noinl-tester-ENV): Likewise.
2594 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
2595 [$(cross-compiling) = no]: Don't set LANGUAGE.
2596 * timezone/Makefile (build-testdata): Use $(built-program-cmd)
2597 without explicit environment settings.
2599 2014-06-06 Roland McGrath <roland@hack.frob.com>
2601 * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h: Moved ...
2602 * sysdeps/sh/nptl/bits/pthreadtypes.h: ... here.
2603 * nptl/sysdeps/unix/sysv/linux/sh/bits/semaphore.h: Moved ...
2604 * sysdeps/sh/nptl/bits/semaphore.h: ... here.
2606 2014-06-06 Chris Metcalf <cmetcalf@tilera.com>
2608 * crypt/crypt-private.h [DOS]: Add some includes taken from the
2609 other files in the crypt directory.
2610 * crypt/crypt.c: Remove duplicate includes.
2611 * crypt/crypt-entry.c: Likewise.
2612 * crypt/crypt_util.c: Likewise.
2614 2014-06-06 Joseph Myers <joseph@codesourcery.com>
2616 * Makeconfig (run-program-env): New variable.
2617 (run-program-prefix-before-env): Likewise.
2618 (run-program-prefix-after-env): Likewise.
2619 (run-program-prefix): Define in terms of new variables.
2620 (built-program-cmd-before-env): New variable.
2621 (built-program-cmd-after-env): Likewise.
2622 (built-program-cmd): Define in terms of new variables.
2623 (test-program-prefix-before-env): New variable.
2624 (test-program-prefix-after-env): Likewise.
2625 (test-program-prefix): Define in terms of new variables.
2626 (test-program-cmd-before-env): New variable.
2627 (test-program-cmd-after-env): Likewise.
2628 (test-program-cmd): Define in terms of new variables.
2629 * Rules (make-test-out): Use $(run-program-env).
2630 * scripts/cross-test-ssh.sh (env_blacklist): Remove variable.
2631 (help): Do not mention environment variables. Mention
2632 --timeoutfactor option.
2633 (timeoutfactor): New variable.
2634 (blacklist_exports): Remove function.
2635 (exports): Remove variable.
2636 (command): Do not include ${exports}.
2637 * manual/install.texi (Configuring and compiling): Do not mention
2638 test wrappers preserving environment variables. Mention that last
2639 assignment to a variable must take precedence.
2640 * INSTALL: Regenerated.
2641 * benchtests/Makefile (run-bench): Use $(run-program-env).
2642 * catgets/Makefile ($(objpfx)test1.cat): Use
2643 $(built-program-cmd-before-env), $(run-program-env) and
2644 $(built-program-cmd-after-env).
2645 ($(objpfx)test2.cat): Do not specify environment variables
2647 ($(objpfx)de/libc.cat): Use $(built-program-cmd-before-env),
2648 $(run-program-env) and $(built-program-cmd-after-env).
2649 ($(objpfx)test-gencat.out): Use $(test-program-cmd-before-env),
2650 $(run-program-env) and $(test-program-cmd-after-env).
2651 ($(objpfx)sample.SJIS.cat): Do not specify environment variables
2653 * catgets/test-gencat.sh: Use test_program_cmd_before_env,
2654 run_program_env and test_program_cmd_after_env arguments.
2655 * elf/Makefile ($(objpfx)tst-pathopt.out): Use $(run-program-env).
2656 * elf/tst-pathopt.sh: Use run_program_env argument.
2657 * iconvdata/Makefile ($(objpfx)iconv-test.out): Use
2658 $(test-wrapper-env) and $(run-program-env).
2659 * iconvdata/run-iconv-test.sh: Use test_wrapper_env and
2660 run_program_env arguments.
2661 * iconvdata/tst-table.sh: Do not set GCONV_PATH explicitly.
2662 * intl/Makefile ($(objpfx)tst-gettext.out): Use
2663 $(test-program-prefix-before-env), $(run-program-env) and
2664 $(test-program-prefix-after-env).
2665 ($(objpfx)tst-gettext2.out): Likewise.
2666 * intl/tst-gettext.sh: Use test_program_prefix_before_env,
2667 run_program_env and test_program_prefix_after_env arguments.
2668 * intl/tst-gettext2.sh: Likewise.
2669 * intl/tst-gettext4.sh: Do not set environment variables
2671 * intl/tst-gettext6.sh: Likewise.
2672 * intl/tst-translit.sh: Likewise.
2673 * malloc/Makefile ($(objpfx)tst-mtrace.out): Use
2674 $(test-program-prefix-before-env), $(run-program-env) and
2675 $(test-program-prefix-after-env).
2676 * malloc/tst-mtrace.sh: Use test_program_prefix_before_env,
2677 run_program_env and test_program_prefix_after_env arguments.
2678 * math/Makefile (run-regen-ulps): Use $(run-program-env).
2679 * nptl/Makefile ($(objpfx)tst-tls6.out): Use $(run-program-env).
2680 * nptl/tst-tls6.sh: Use run_program_env argument. Set LANG=C
2681 explicitly with each use of ${test_wrapper_env}.
2682 * posix/Makefile ($(objpfx)wordexp-tst.out): Use
2683 $(test-program-prefix-before-env), $(run-program-env) and
2684 $(test-program-prefix-after-env).
2685 * posix/tst-getconf.sh: Do not set environment variables
2687 * posix/wordexp-tst.sh: Use test_program_prefix_before_env,
2688 run_program_env and test_program_prefix_after_env arguments.
2689 * stdio-common/tst-printf.sh: Do not set environment variables
2691 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Use
2692 $(test-program-prefix-before-env), $(run-program-env) and
2693 $(test-program-prefix-after-env).
2694 * stdlib/tst-fmtmsg.sh: Use test_program_prefix_before_env,
2695 run_program_env and test_program_prefix_after_env arguments.
2696 Split $test calls into $test_pre and $test.
2697 * timezone/Makefile (build-testdata): Use
2698 $(built-program-cmd-before-env), $(run-program-env) and
2699 $(built-program-cmd-after-env).
2701 2014-06-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2703 * sysdeps/powerpc/powerpc64/power7/strncat.S [STRLEN]: Define it as
2704 strlen for non SHARED builds.
2706 2014-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
2708 * nptl/allocatestack.c (check_list): Inlined function...
2709 (__reclaim_stacks): ... here.
2711 2014-06-05 Ondřej Bílka <neleai@seznam.cz>
2714 * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
2717 2014-06-05 Joseph Myers <joseph@codesourcery.com>
2719 * Rules (make-test-out): Include
2720 LOCPATH=$(common-objpfx)localedata in default environment.
2721 * debug/Makefile (tst-chk1-ENV): Remove variable.
2722 (tst-chk2-ENV): Likewise.
2723 (tst-chk3-ENV): Likewise.
2724 (tst-chk4-ENV): Likewise.
2725 (tst-chk5-ENV): Likewise.
2726 (tst-chk6-ENV): Likewise.
2727 (tst-lfschk1-ENV): Likewise.
2728 (tst-lfschk2-ENV): Likewise.
2729 (tst-lfschk3-ENV): Likewise.
2730 (tst-lfschk4-ENV): Likewise.
2731 (tst-lfschk5-ENV): Likewise.
2732 (tst-lfschk6-ENV): Likewise.
2733 * iconvdata/Makefile (bug-iconv6-ENV): Likewise.
2734 (tst-iconv7-ENV): Likewise.
2735 * intl/Makefile (LOCPATH-ENV): Likewise.
2736 (tst-codeset-ENV): Likewise.
2737 (tst-gettext3-ENV): Likewise.
2738 (tst-gettext5-ENV): Likewise.
2739 * libio/Makefile (tst-widetext-ENV): Don't set LOCPATH.
2740 (tst-fopenloc-ENV): Likewise.
2741 (tst-fgetws-ENV): Remove variable.
2742 (tst-ungetwc1-ENV): Likewise.
2743 (tst-ungetwc2-ENV): Likewise.
2744 (bug-ungetwc2-ENV): Likewise.
2745 (tst-swscanf-ENV): Likewise.
2746 (bug-ftell-ENV): Likewise.
2747 (tst-fgetwc-ENV): Likewise.
2748 (tst-fseek-ENV): Likewise.
2749 (tst-ftell-partial-wide-ENV): Likewise.
2750 (tst-ftell-active-handler-ENV): Likewise.
2751 (tst-ftell-append-ENV): Likewise.
2752 * posix/Makefile (tst-fnmatch-ENV): Likewise.
2753 (tst-regexloc-ENV): Likewise.
2754 (bug-regex1-ENV): Likewise.
2755 (tst-regex-ENV): Likewise.
2756 (tst-regex2-ENV): Likewise.
2757 (bug-regex5-ENV): Likewise.
2758 (bug-regex6-ENV): Likewise.
2759 (bug-regex17-ENV): Likewise.
2760 (bug-regex18-ENV): Likewise.
2761 (bug-regex19-ENV): Likewise.
2762 (bug-regex20-ENV): Likewise.
2763 (bug-regex22-ENV): Likewise.
2764 (bug-regex23-ENV): Likewise.
2765 (bug-regex25-ENV): Likewise.
2766 (bug-regex26-ENV): Likewise.
2767 (bug-regex30-ENV): Likewise.
2768 (bug-regex32-ENV): Likewise.
2769 (bug-regex33-ENV): Likewise.
2770 (bug-regex34-ENV): Likewise.
2771 (bug-regex35-ENV): Likewise.
2772 (tst-rxspencer-ENV): Likewise.
2773 (tst-rxspencer-no-utf8-ENV): Likewise.
2774 * stdio-common/Makefile (tst-sprintf-ENV): Likewise.
2775 (tst-sscanf-ENV): Likewise.
2776 (tst-swprintf-ENV): Likewise.
2777 (tst-swscanf-ENV): Likewise.
2778 (test-vfprintf-ENV): Likewise.
2779 (scanf13-ENV): Likewise.
2780 (bug14-ENV): Likewise.
2781 (tst-grouping-ENV): Likewise.
2782 * stdlib/Makefile (tst-strtod-ENV): Likewise.
2783 (tst-strtod3-ENV): Likewise.
2784 (tst-strtod4-ENV): Likewise.
2785 (tst-strtod5-ENV): Likewise.
2786 (testmb2-ENV): Likewise./
2787 * string/Makefile (tst-strxfrm-ENV): Likewise.
2788 (tst-strxfrm2-ENV): Likewise.
2789 (bug-strcoll1-ENV): Likewise.
2790 (test-strcasecmp-ENV): Likewise.
2791 (test-strncasecmp-ENV): Likewise.
2792 * time/Makefile (tst-strptime-ENV): Likewise.
2793 (tst-ftime_l-ENV): Likewise.
2794 * wcsmbs/Makefile (tst-btowc-ENV): Likewise.
2795 (tst-mbrtowc-ENV): Likewise.
2796 (tst-wcrtomb-ENV): Likewise.
2797 (tst-mbrtowc2-ENV): Likewise.
2798 (tst-c16c32-1-ENV): Likewise.
2799 (tst-mbsnrtowcs-ENV): Likewise.
2801 2014-06-05 Ondřej Bílka <neleai@seznam.cz>
2803 * manual/resource.texi (How to get information about the memory
2804 subsystem?): Fix typo.
2805 Reported by Peon de la Parra Ivan <peon@keba.com>
2807 2014-06-03 Guo Yixuan <culu.gyx@gmail.com>
2810 * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S
2811 (pthread_spin_lock): Branch out of spin loop to proper location.
2812 * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S
2813 (pthread_spin_lock): Likewise.
2815 * nptl/tst-spin4.c: New test.
2816 * nptl/Makefile (tests): Add tst-spin4.
2818 2014-06-03 Andreas Schwab <schwab@suse.de>
2821 * resolv/res_send.c (send_dg): Reload file descriptor after
2824 2014-06-03 Stefan Liebler <stli@linux.vnet.ibm.com>
2826 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
2828 2014-06-03 Richard Henderson <rth@redhat.com>
2830 * sysdeps/unix/sysv/linux/aarch64/pt-vfork.c: New file.
2831 * sysdeps/unix/sysv/linux/aarch64/nptl/pt-vfork.S: Remove file.
2832 * sysdeps/unix/sysv/linux/aarch64/vfork.S (__vfork): Incorporate
2833 SAVE_PID and RESTORE_PID blocks from pt-vfork.S. Map 0 to INT_MIN
2834 in the SAVE_PID block.
2835 (__libc_vfork): New alias.
2836 * sysdeps/unix/sysv/linux/aarch64/nptl/vfork.S: Remove file.
2838 * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Save args for
2839 child in registers, not on the stack. Remove RESET_PID conditionals.
2840 * sysdeps/unix/sysv/linux/aarch64/nptl/clone.S: Remove file.
2842 2014-06-03 Marcus Shawcroft <marcus.shawcroft@arm.com>
2844 * sysdeps/aarch64/libm-test-ulps: Regenerate.
2846 2014-06-03 Wilco <wdijkstr@arm.com>
2848 * sysdeps/aarch64/fpu/math_private.h (libc_fesetround_aarch64)
2849 (libc_feholdexcept_setround_aarch64) (libc_feholdsetround_aarch64)
2850 (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
2851 Use _FPU_FPCR_RM_MASK for rounding mask rather than FE_TOWARDZERO.
2852 * sysdeps/aarch64/fpu/get-rounding-mode.h (get_rounding_mode):
2855 2014-06-03 Wilco <wdijkstr@arm.com>
2857 * sysdeps/aarch64/fpu/math_private.h
2858 (libc_feholdexcept_aarch64) (libc_feholdexcept_setround_aarch64)
2859 (libc_fetestexcept_aarch64) (libc_fesetenv_aarch64)
2860 (libc_feupdateenv_test_aarch64) (libc_feholdsetround_aarch64)
2861 (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
2864 2014-06-03 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
2866 * crypt/crypt-private.h: Include ufc-crypt.h.
2867 (__b64_from_24bit): Declare extern.
2868 * crypt/crypt_util.c(__b64_from_24bit): New function.
2869 (b64t): New static const variable.
2870 * crypt/md5-crypt.c (b64_from_24bit): Remove function.
2871 (b64t): Remove variable.
2872 (__md5_crypt_r): Replace b64_from_24bit with __b64_from_24bit.
2873 * crypt/sha256-crypt.c: Include crypt-private.h.
2874 (b64t): Remove variable.
2875 (__sha256_crypt_r): Remove b64_from_24bit and replace
2876 with __b64_from_24bit.
2877 * crypt/sha512-crypt.c: Likewise.
2879 2014-06-02 Roland McGrath <roland@hack.frob.com>
2881 * nptl/sysdeps/unix/sysv/linux/sh/vfork.S: Moved ...
2882 * sysdeps/unix/sysv/linux/sh/vfork.S: ... here.
2883 Label the code __libc_vfork rather than __vfork.
2884 [!NOT_IN_libc] (vfork): Define as weak alias.
2885 [!NOT_IN_libc] (__vfork): Define as strong alias, and libc_hidden_def.
2886 * sysdeps/unix/sysv/linux/sh/pt-vfork.S: New file.
2887 * nptl/sysdeps/unix/sysv/linux/sh/pt-vfork.S: File removed.
2889 2014-06-02 Siddhesh Poyarekar <siddhesh@redhat.com>
2891 * malloc/malloc.c (malloc_info): Fix format specifier for
2894 2014-06-02 Wilco <wdijkstr@arm.com>
2896 * sysdeps/aarch64/fpu/fpu_control.h (_FPU_SETCW): Remove ISB after
2899 2014-06-02 Wilco <wdijkstr@arm.com>
2902 * sysdeps/aarch64/fpu/feupdateenv (feupdateenv):
2903 Rewrite to reduce FPCR/FPSR accesses.
2905 2014-06-01 David S. Miller <davem@davemloft.net>
2907 * sysdeps/sparc/fpu/libm-test-ulps: Update.
2909 2014-05-31 David S. Miller <davem@davemloft.net>
2911 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Force computations
2912 to occur in round to nearest mode when |x| >= 2.0
2914 2014-05-30 Richard Henderson <rth@twiddle.net>
2916 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Remove.
2917 (PSEUDO_RET_NOERRNO): Remove.
2918 (ret): Don't redefine.
2919 (ret_NOERRNO): Define in terms of ret.
2920 (ret_ERRVAL): Likewise.
2922 * sysdeps/unix/sysv/linux/aarch64/ioctl.S (__ioctl): Remove the
2923 use of PSEUDO_RET; perform the error check directly.
2925 2014-05-30 Marko Myllynen <myllynen@redhat.com>
2927 * sysdeps/x86_64/link-defines.sym (BND_SIZE): Replace __int128
2930 2014-05-30 Siddhesh Poyarekar <siddhesh@redhat.com>
2932 * malloc/malloc (malloc_info): Fix formatting.
2934 2014-05-30 Siddhesh Poyarekar <siddhesh@redhat.com>
2935 Roland McGrath <roland@hack.frob.com>
2937 * malloc/malloc (malloc_info): Also print mmapped statistics.
2939 2014-05-30 Roland McGrath <roland@hack.frob.com>
2941 * sysdeps/unix/sysv/linux/m68k/arch-fork.h: New file.
2942 * sysdeps/unix/sysv/linux/m68k/nptl/fork.c: File removed.
2944 2014-05-30 Ondřej Bílka <neleai@seznam.cz>
2946 * malloc/malloc.c (malloc_info): Inline mi_arena.
2948 2014-05-29 Richard Henderson <rth@twiddle.net>
2950 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INTERNAL_VSYSCALL_NCS):
2951 Remove comma before expanding ASM_ARGS_##nr.
2952 (INTERNAL_SYSCALL_RAW): Make _sys_result signed, instead of casting.
2953 Make _x0 a strict output; make _x8 a strict input; adjust expansion
2955 (CLOBBER_ARGS_0, CLOBBER_ARGS_1, CLOBBER_ARGS_2): Remove.
2956 (CLOBBER_ARGS_3, CLOBBER_ARGS_4, CLOBBER_ARGS_5): Remove.
2957 (CLOBBER_ARGS_6, CLOBBER_ARGS_7): Remove.
2958 (ASM_ARGS_1): Add leading comma.
2960 * sysdeps/unix/sysv/linux/aarch64/sysdep.h [NOT_IN_libc]
2961 (SYSCALL_ERROR_HANDLER): Use tpidr_el0 instead of a call
2962 to __errno_location.
2963 * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data (libpthread.so):
2964 Remove the expected plt for __errno_location.
2966 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
2967 [NOT_IN_libc] (SINGLE_THREAD_P): Use tpidr_el0 instead of a
2970 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
2971 Always allocate 64 bytes of stack frame. Use ldp/stp to create
2972 it and break it down.
2973 (DOCARGS_0, DOCARGS_1): Do nothing.
2974 (DOCARGS_2): Update to store into the new stack frame.
2975 (DOCARGS_3, DOCARGS_4, DOCARGS_5, DOCARGS_6): Likewise.
2976 (UNDOCARGS_1): Update to restore from the new stack frame.
2977 (UNDOCARGS_2, UNDOCARGS_3, UNDOCARGS_4): Likewise.
2978 (UNDOCARGS_5, UNDOCARGS_6): Likewise.
2980 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
2981 (SINGLE_THREAD_P): New parameter for result regno.
2982 (PSEUDO): Update to match; use cbz instead of beq.
2984 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
2985 Use ENTRY to define the _nocancel entry point. Share the syscall
2986 and syscall error check paths with the cancel path.
2989 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Adjust
2990 whitespace; tabs before and after asm mnemonics.
2992 2014-05-29 Eric Wong <normalperson@yhbt.net>
2995 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
2996 Call fstat64 or stat64 internally, depending on arguments passed.
2997 Replace stat buffer argument with file descriptor argument.
2998 (INTERNAL_STATVFS): Update arguments to match __statvfs_getflags.
2999 * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
3000 Pass fd to __internal_statvfs instead of calling fstat64.
3001 * sysdeps/unix/sysv/linux/fstatvfs64.c (__fstatvfs64):
3002 Pass fd to __internal_statvfs64 instead of calling fstat64.
3003 * sysdeps/unix/sysv/linux/statvfs.c (statvfs):
3004 Pass -1 to __internal_statvfs instead of calling stat64.
3005 * sysdeps/unix/sysv/linux/statvfs64.c (__statvfs64):
3006 Pass -1 to __internal_statvfs64 instead of calling stat64.
3008 2014-05-28 Roland McGrath <roland@hack.frob.com>
3010 * sysdeps/unix/sysv/linux/sh/clone.S: Deconditionalize the code
3011 that was previously under [RESET_PID].
3012 * nptl/sysdeps/unix/sysv/linux/sh/clone.S: File removed.
3014 * sysdeps/unix/sysv/linux/tile/arch-fork.h: New file.
3015 * sysdeps/unix/sysv/linux/tile/nptl/fork.c: File removed.
3017 2014-05-27 Roland McGrath <roland@hack.frob.com>
3019 * sysdeps/unix/sysv/linux/ia64/arch-fork.h: New file.
3021 * sysdeps/unix/sysv/linux/sh/arch-fork.h: New file.
3022 * nptl/sysdeps/unix/sysv/linux/sh/fork.c: File removed.
3024 2014-05-27 Ondřej Bílka <neleai@seznam.cz>
3026 * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate code.
3028 2014-05-27 Andreas Schwab <schwab@suse.de>
3030 * csu/libc-tls.c (__libc_setup_tls): Remove second argument from
3032 * elf/dl-load.c (_dl_map_object_from_fd): Likewise.
3033 * elf/rtld.c (init_tls, dl_main): Likewise.
3034 * nptl/sysdeps/i386/tls.h (TLS_INIT_TP): Likewise.
3035 * nptl/sysdeps/powerpc/tls.h (TLS_INIT_TP): Likewise.
3036 * nptl/sysdeps/s390/tls.h (TLS_INIT_TP): Likewise.
3037 * nptl/sysdeps/sh/tls.h (TLS_INIT_TP): Likewise.
3038 * nptl/sysdeps/sparc/tls.h (TLS_INIT_TP): Likewise.
3039 * nptl/sysdeps/x86_64/tls.h (TLS_INIT_TP): Likewise.
3040 * sysdeps/aarch64/nptl/tls.h (TLS_INIT_TP): Likewise.
3041 * sysdeps/alpha/nptl/tls.h (TLS_INIT_TP): Likewise.
3042 * sysdeps/arm/nptl/tls.h (TLS_INIT_TP): Likewise.
3043 * sysdeps/hppa/nptl/tls.h (TLS_INIT_TP): Likewise.
3044 * sysdeps/ia64/nptl/tls.h (TLS_INIT_TP): Likewise.
3045 * sysdeps/m68k/nptl/tls.h (TLS_INIT_TP): Likewise.
3046 * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Likewise.
3047 * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Likewise.
3048 * sysdeps/mips/nptl/tls.h (TLS_INIT_TP): Likewise.
3049 * sysdeps/tile/nptl/tls.h (TLS_INIT_TP): Likewise.
3050 * sysdeps/generic/tls.h: Update description.
3052 2014-05-27 Will Newton <will.newton@linaro.org>
3055 * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save
3056 and restore r2 rather than just restoring.
3058 2014-05-27 Siddhesh Poyarekar <siddhesh@redhat.com>
3061 * libio/tst-ftell-append.c: New test case.
3062 * libio/Makefile (tests): Add test case.
3063 * libio/fileops.c (do_ftell): Don't trust _IO_read_end when in
3065 * libio/wfileops.c (do_ftell_wide): Likewise.
3067 2014-05-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3069 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3071 * nptl/sysdeps/unix/sysv/linux/powerpc/Versions: Remove, merge into
3073 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions: ... here.
3074 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
3075 * nptl/sysdeps/unix/sysv/linux/powerpc/Makefile: Moved rules to ...
3076 * sysdeps/unix/sysv/linux/powerpc/Makefile: ... here.
3077 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: Moved ...
3078 * sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: ... here.
3079 * nptl/sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Moved ...
3080 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: ...here.
3081 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
3083 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: ... here.
3084 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
3086 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: ... here.
3087 * nptl/sysdeps/unix/sysv/linux/powerpc/createthread.c: Moved ...
3088 * sysdeps/unix/sysv/linux/powerpc/createthread.c: ... here.
3089 * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Moved ...
3090 * sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: ... here.
3091 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: Moved
3093 * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: ... here.
3094 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c:
3096 * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c: ...
3098 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: Moved
3100 * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: ... here.
3101 * nptl/sysdeps/unix/sysv/linux/powerpc/sem_post.c: Moved ...
3102 * sysdeps/unix/sysv/linux/powerpc/sem_post.c: ... here.
3104 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Moved ...
3105 * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: ... here.
3106 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: Moved ...
3107 * sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: ... here.
3109 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Remove,
3111 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: ... here.
3112 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: Moved
3114 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: ... here.
3115 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: Moved
3117 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: ... here.
3118 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
3120 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c: ...
3122 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
3124 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c: ... here.
3125 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
3127 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c: ... here.
3129 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Remove
3130 conditional [RESET_PID].
3131 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Likewise.
3132 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: File
3134 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: File
3137 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Include
3139 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
3140 (__libc_vfork): New strong alias.
3141 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/pt-vfork.S: File
3143 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: File
3146 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Include
3148 (__vfork): Incorporate save/retore of PID from nptl/vfork.S here.
3149 (__libc_vfork): New strong alias.
3150 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/pt-vfork.S: File
3152 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: File
3155 2014-05-26 Carlos O'Donell <carlos@redhat.com>
3157 * malloc/malloc.c (mi_arena): New function.
3158 (malloc_info): Remove nested function mi_arena. Call non-nosted
3161 2014-05-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3163 * sysdeps/powerpc/powerpc32/power4/memset.S (memset): Replace insrdi
3165 * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Likewise.
3166 * sysdeps/powerpc/powerpc32/power7/memset.S (memset): Likewise.
3167 * sysdeps/powerpc/powerpc32/power7/memchr.S (memchr): Likewise.
3168 * sysdeps/powerpc/powerpc32/power7/memrchr.S (memrchr): Likewise.
3169 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S (rawmemchr): Likewise.
3170 * sysdeps/powerpc/powerpc32/power7/strchr.S (strchr): Likewise.
3171 * sysdeps/powerpc/powerpc32/power7/strchrnul.S (strchrnul): Likewise.
3173 2014-05-26 Andreas Schwab <schwab@suse.de>
3176 * locale/programs/repertoire.c (repertoire_read): Add slash
3177 between I18NPATH element and file name.
3178 * locale/programs/locfile.c (locfile_read): Likewise.
3180 2014-05-26 Stefan Liebler <stli@linux.vnet.ibm.com>
3182 * nptl/pthread_mutexattr_settype.c
3183 (__pthread_mutexattr_settype):
3184 Disable lock elision for PTHREAD_MUTEX_NORMAL.
3186 2014-05-26 Stefan Liebler <stli@linux.vnet.ibm.com>
3188 * nptl/tst-mutex5 (do_test):
3189 Use #ifndef ENABLE_LOCK_ELISION instead of #ifdef.
3191 2014-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
3193 * benchtests/README: Document 'init' directive.
3194 * benchtests/bench-skeleton.c (main) [BENCH_INIT]: Call
3196 * scripts/bench.py (gen_source): Define BENCH_INIT macro.
3197 (parse_file): Recognize 'init' directive.
3199 2014-05-26 Kyle McMartin <kyle@redhat.com>
3202 * sysdeps/aarch64/nptl/tls.h: increase TCB alignment to the
3203 alignment of struct pthread.
3205 2014-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
3208 * nscd/netgroupcache.c (addgetnetgrentX): Look for
3209 NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
3210 * nscd/nss_files/files-netgrp.c (_nss_netgroup_parseline): Use
3211 NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
3213 2014-05-25 Richard Henderson <rth@twiddle.net>
3215 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
3216 (SINGLE_THREAD_P_PIC): Remove.
3217 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h
3218 (SINGLE_THREAD_P_PIC): Remove.
3220 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Move
3221 branch to syscall error ...
3223 [NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Rename the label
3224 from __local_syscall_error to .Lsyscall_error.
3225 [!NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Branch to __syscall_error.
3226 (SYSCALL_ERROR): Update label name.
3228 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
3229 Do not use DOARGS/UNDOARGS.
3230 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Likewise.
3231 (DOARGS_0, DOARGS_1, DOARGS_2, DOARGS_3): Remove.
3232 (DOARGS_4, DOARGS_5, DOARGS_6, DOARGS_7): Remove.
3233 (UNDOARGS_0, UNDOARGS_1, UNDOARGS_2, UNDOARGS_3): Remove.
3234 (UNDOARGS_4, UNDOARGS_5, UNDOARGS_6, UNDOARGS_7): Remove.
3236 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Fix
3239 * sysdeps/unix/sysv/linux/alpha/vfork.S (vfork, __vfork): Only
3240 define if !NOT_IN_libc.
3241 * sysdeps/unix/sysv/linux/alpha/pt-vfork.S (vfork, __vfork): Only
3242 define with non-default symbol versions.
3244 2014-05-23 Richard Henderson <rth@twiddle.net>
3246 * nptl/pt-vfork.c (vfork_resolve): Rename from vfork_ifunc.
3247 (vfork, __vfork): Define via compat_symbol.
3249 * nptl/pt-vfork.c: Error if !HAVE_IFUNC.
3250 [!HAVE_IFUNC] (vfork_compat): Remove.
3251 [!HAVE_IFUNC] (DEFINE_VFORK): Remove.
3253 2014-05-23 Joseph Myers <joseph@codesourcery.com>
3256 * posix/tar.h [!__USE_XOPEN2K] (TSVTX): Define macro.
3257 * conform/Makefile (test-xfail-POSIX/tar.h/conform): Remove
3260 2014-05-23 Richard Henderson <rth@twiddle.net>
3262 * sysdeps/unix/sysv/linux/alpha/nptl/Makefile: Merge into...
3263 * sysdeps/unix/sysv/linux/alpha/Makefile: ... here.
3264 * sysdeps/unix/sysv/linux/alpha/nptl/Versions: Merge into...
3265 * sysdeps/unix/sysv/linux/alpha/Versions: ... here.
3267 * sysdeps/unix/sysv/linux/alpha/nptl/aio_cancel.c: Moved ...
3268 * sysdeps/unix/sysv/linux/alpha/aio_cancel.c: ... here.
3269 * sysdeps/unix/sysv/linux/alpha/nptl/bits/local_lim.h: Moved ...
3270 * sysdeps/unix/sysv/linux/alpha/bits/local_lim.h: ... here.
3271 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h: Moved ...
3272 * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h: ... here.
3273 * sysdeps/unix/sysv/linux/alpha/nptl/bits/semaphore.h: Moved ...
3274 * sysdeps/unix/sysv/linux/alpha/bits/semaphore.h: ... here.
3275 * sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data: Moved ...
3276 * sysdeps/unix/sysv/linux/alpha/c++-types.data: ... here.
3277 * sysdeps/unix/sysv/linux/alpha/nptl/createthread.c: Moved ...
3278 * sysdeps/unix/sysv/linux/alpha/createthread.c: ... here.
3279 * sysdeps/unix/sysv/linux/alpha/nptl/ld.abilist: Moved ...
3280 * sysdeps/unix/sysv/linux/alpha/ld.abilist: ... here.
3281 * sysdeps/unix/sysv/linux/alpha/nptl/libBrokenLocale.abilist: Moved ...
3282 * sysdeps/unix/sysv/linux/alpha/libBrokenLocale.abilist: ... here.
3283 * sysdeps/unix/sysv/linux/alpha/nptl/libanl.abilist: Moved ...
3284 * sysdeps/unix/sysv/linux/alpha/libanl.abilist: ... here.
3285 * sysdeps/unix/sysv/linux/alpha/nptl/libc.abilist: Moved ...
3286 * sysdeps/unix/sysv/linux/alpha/libc.abilist: ... here.
3287 * sysdeps/unix/sysv/linux/alpha/nptl/libcrypt.abilist: Moved ...
3288 * sysdeps/unix/sysv/linux/alpha/libcrypt.abilist: ... here.
3289 * sysdeps/unix/sysv/linux/alpha/nptl/libdl.abilist: Moved ...
3290 * sysdeps/unix/sysv/linux/alpha/libdl.abilist: ... here.
3291 * sysdeps/unix/sysv/linux/alpha/nptl/libm.abilist: Moved ...
3292 * sysdeps/unix/sysv/linux/alpha/libm.abilist: ... here.
3293 * sysdeps/unix/sysv/linux/alpha/nptl/libnsl.abilist: Moved ...
3294 * sysdeps/unix/sysv/linux/alpha/libnsl.abilist: ... here.
3295 * sysdeps/unix/sysv/linux/alpha/nptl/libpthread.abilist: Moved ...
3296 * sysdeps/unix/sysv/linux/alpha/libpthread.abilist: ... here.
3297 * sysdeps/unix/sysv/linux/alpha/nptl/libresolv.abilist: Moved ...
3298 * sysdeps/unix/sysv/linux/alpha/libresolv.abilist: ... here.
3299 * sysdeps/unix/sysv/linux/alpha/nptl/librt.abilist: Moved ...
3300 * sysdeps/unix/sysv/linux/alpha/librt.abilist: ... here.
3301 * sysdeps/unix/sysv/linux/alpha/nptl/libthread_db.abilist: Moved ...
3302 * sysdeps/unix/sysv/linux/alpha/libthread_db.abilist: ... here.
3303 * sysdeps/unix/sysv/linux/alpha/nptl/libutil.abilist: Moved ...
3304 * sysdeps/unix/sysv/linux/alpha/libutil.abilist: ... here.
3305 * sysdeps/unix/sysv/linux/alpha/nptl/localplt.data: Moved ...
3306 * sysdeps/unix/sysv/linux/alpha/localplt.data: ... here.
3307 * sysdeps/unix/sysv/linux/alpha/nptl/lowlevellock.h: Moved ...
3308 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: ... here.
3309 * sysdeps/unix/sysv/linux/alpha/nptl/sem_post.c: Moved ...
3310 * sysdeps/unix/sysv/linux/alpha/sem_post.c: ... here.
3311 * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h: Moved ...
3312 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: ... here.
3313 * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Moved ...
3314 * sysdeps/unix/sysv/linux/alpha/timer_create.c: ... here.
3315 * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Moved ...
3316 * sysdeps/unix/sysv/linux/alpha/timer_delete.c: ... here.
3317 * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Moved ...
3318 * sysdeps/unix/sysv/linux/alpha/timer_getoverr.c: ... here.
3319 * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Moved ...
3320 * sysdeps/unix/sysv/linux/alpha/timer_gettime.c: ... here.
3321 * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Moved ...
3322 * sysdeps/unix/sysv/linux/alpha/timer_settime.c: ... here.
3324 * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove vfork.
3325 * sysdeps/unix/sysv/linux/alpha/nptl/vfork.S: Move file ...
3326 * sysdeps/unix/sysv/linux/alpha/vfork.S: ... here. Restore PID
3327 before exiting on error.
3328 (__libc_vfork): New strong alias.
3329 * sysdeps/unix/sysv/linux/alpha/nptl/pt-vfork.S: Remove file.
3330 * sysdeps/unix/sysv/linux/alpha/pt-vfork.S: New file.
3332 * sysdeps/unix/sysv/linux/alpha/clone.S: Deconditionalize the code
3333 that was previously under [RESET_PID].
3334 * sysdeps/unix/sysv/linux/alpha/nptl/clone.S: File removed.
3336 * sysdeps/unix/sysv/linux/alpha/nptl/fork.c: Remove file.
3338 2014-05-23 Joseph Myers <joseph@codesourcery.com>
3341 * sysdeps/i386/fpu/e_log10.S (__ieee754_log10): Take absolute
3342 value when x - 1 is zero.
3343 * sysdeps/i386/fpu/e_log10f.S (__ieee754_log10f): Likewise.
3344 * sysdeps/i386/fpu/e_log10l.S (__ieee754_log10l): Likewise.
3345 * sysdeps/ieee754/ldbl-128/e_log10l.c (__ieee754_log10l): Return
3346 0.0L for an argument of 1.0L.
3347 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l):
3349 * sysdeps/x86_64/fpu/e_log10l.S (__ieee754_log10l): Take absolute
3350 value when x - 1 is zero.
3351 * math/libm-test.inc (log10_test): Use ALL_RM_TEST.
3352 * sysdeps/i386/fpu/libm-test-ulps: Update.
3353 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3355 2014-05-23 Rasmus Villemoes <rv@rasmusvillemoes.dk>
3357 * manual/filesys.texi (Scanning Directory Content): Fix prototype of
3358 alphasort and versionsort.
3360 2014-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3362 * sysdeps/powerpc/fpu/math_private.h [copysign]: Remove unneeded
3364 [copysignf]: Likewise.
3366 2014-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
3368 * crypt/md5-crypt.c: Fix formatting.
3370 2014-05-22 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
3372 * crypt/md5-crypt.c (__md5_crypt_r): Remove a nested function.
3373 (b64_from_24bit): New function.
3375 2014-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3377 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c (memchr): Remove
3378 libc_hidden_builtin_def to ifunc.
3379 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
3380 [libc_hidden_builtin_def]: Define hidden definition to __memchr_ppc32.
3382 2014-05-21 Roland McGrath <roland@hack.frob.com>
3384 * sysdeps/unix/sysv/linux/aarch64/arch-fork.h: New file.
3385 * sysdeps/unix/sysv/linux/aarch64/nptl/fork.c: File removed.
3387 2014-05-21 Joseph Myers <joseph@codesourcery.com>
3389 * nscd/Depend (linuxthreads): Remove.
3391 * resolv/Depend (linuxthreads): Remove.
3392 * rt/Depend (linuxthreads): Remove.
3394 * Makeconfig [$(build-hardcoded-path-in-tests) = yes]
3395 (rtld-tests-LDFLAGS): Use $(elf-objpfx) instead of
3396 $(common-objpfx)elf/.
3397 (link-libc-before-gnulib): Likewise.
3398 (elfobjdir): Remove variable.
3399 * Makefile (install): Use $(elf-objpfx) instead of
3400 $(common-objpfx)elf/.
3401 * Makerules (link-libc-args): Use $(elf-objpfx) instead of
3403 (link-libc-deps): Likewise.
3404 ($(common-objpfx)libc.so): Likewise.
3405 ($(common-objpfx)linkobj/libc.so): Likewise.
3406 [$(cross-compiling) = no] (symbolic-link-prog): Use $(elf-objpfx)
3407 instead of $(common-objpfx)elf/.
3408 (symbolic-link-list): Likewise.
3409 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
3410 [$(cross-compiling) = no]: Likewise.
3411 * sysdeps/arm/Makefile (gnulib-arch): Use $(elf-objpfx) instead of
3413 (static-gnulib-arch): Likewise.
3414 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
3415 [$(cross-compiling) = no]: Use $(elf-objpfx) instead of
3416 $(common-objpfx)elf/.
3418 2014-05-21 Richard Henderson <rth@redhat.com>
3420 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
3421 (SINGLE_THREAD_P): Use the correct width load. Fold
3422 into the ldr offset.
3424 * sysdeps/unix/sysv/linux/aarch64/sysdep.h [RTLD_PRIVATE_ERRNO]
3425 (SYSCALL_ERROR_HANDLER): Fold add insn into str offset.
3427 2014-05-20 Joseph Myers <joseph@codesourcery.com>
3429 * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c
3430 (libgcc_s_resume): Use __attribute_used__.
3431 * sysdeps/unix/sysv/linux/arm/unwind-resume.c (libgcc_s_resume):
3434 2014-05-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3436 * sysdeps/powerpc/fpu/math_private.h [__copysignf]: Fix copysign macro
3437 optimization when used with float constants.
3439 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3441 2014-05-20 Aurelien Jarno <aurelien@aurel32.net>
3444 * locale/nl_langinfo_l.c: Make direct reference to every
3445 _nl_current_CATEGORY symbol.
3446 * localedata/Makefile (test-srcs): Add tst-langinfo-static.
3447 (tests-static): Add tst-langinfo-static.
3448 (tests-special): Add tst-langinfo-static.out.
3449 ($(objpfx)tst-langinfo.out): Redirect output.
3450 ($(objpfx)tst-langinfo-static.out): New.
3451 * localedata/tst-langinfo.sh: Send output to stdout.
3452 * localedata/tst-langinfo-static.c: New file.
3455 * stdlib/strtod_l.c (round_and_return): Add code to shift limbs
3456 when the shift amount is modulo the limb size.
3458 2014-05-20 Richard Henderson <rth@redhat.com>
3461 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h (struct sigaction):
3462 Change type of sa_flags from unsigned int to int.
3465 * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h: Remove file.
3467 * sysdeps/alpha/dl-machine.h (ELF_MACHINE_NO_RELA): Define.
3469 2014-05-20 Will Newton <will.newton@linaro.org>
3471 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
3472 Test the return value of the system call in the nocancel case.
3474 2014-05-20 Will Newton <will.newton@linaro.org>
3475 Yvan Roux <yvan.roux@linaro.org>
3477 * sysdeps/unix/sysv/linux/aarch64/sys/user.h: Remove unused
3478 #include of asm/ptrace.h.
3479 (PTRACE_GET_THREAD_AREA): Remove #undef.
3480 (PTRACE_GETHBPREGS): Likewise.
3481 (PTRACE_SETHBPREGS): Likewise.
3482 (struct user_regs_struct): New structure.
3483 (struct user_fpsimd_struct): New structure.
3484 * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Remove unused
3485 #include of asm/ptrace.h and second #include of sys/user.h.
3486 (PTRACE_GET_THREAD_AREA): Remove #undef.
3487 (PTRACE_GETHBPREGS): Likewise.
3488 (PTRACE_SETHBPREGS): Likewise.
3489 (ELF_NGREG): Use new struct user_regs_struct.
3490 (elf_fpregset_t): Use new struct user_fpsimd_struct.
3492 2014-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3494 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypof.c: Moved ...
3495 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c: ... here.
3497 2014-05-17 Jose E. Marchesi <jose.marchesi@oracle.com>
3500 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Add missing
3501 membar to avoid block loads/stores to overlap previous stores.
3503 2014-05-17 Richard Henderson <rth@redhat.com>
3505 * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h (PSEUDO):
3506 Create the __##syscall_name##_nocancel entry point.
3507 * sysdeps/unix/sysv/linux/alpha/sigsuspend.S (__sigsuspend_nocancel):
3508 Remove; let the sysdep-cancel.h code create it.
3510 2014-05-17 David S. Miller <davem@davemloft.net>
3512 * sysdeps/unix/sysv/linux/sparc/bits/termios.h (PAGEOUT, WRAP):
3513 Protect with __USE_GNU.
3514 (TIOCSET_TEMPT): Likewise.
3515 (TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
3516 TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI): Remove as
3517 these are already provided in bits/ioctl-types.h
3519 2014-05-16 Roland McGrath <roland@hack.frob.com>
3521 * sysdeps/unix/sysv/linux/alpha/arch-fork.h: New file.
3522 * sysdeps/unix/sysv/linux/ia64/nptl/fork.c: File removed.
3524 * sysdeps/unix/sysv/linux/not-cancel.h (waitpid_not_cancel):
3525 Use wait4 regardless of [__NR_waitpid].
3527 2014-05-16 Maciej W. Rozycki <macro@codesourcery.com>
3530 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
3531 (_FP_NANSIGN_Q): Set the quiet bit.
3533 2014-05-16 Joseph Myers <joseph@codesourcery.com>
3535 * benchtests/Makefile
3536 ($(addprefix $(objpfx)bench-,$(bench-math))): Depend on $(libm),
3537 not $(common-objpfx)math/libm.so.
3538 ($(addprefix $(objpfx)bench-,$(bench-pthread))): Depend on
3539 $(shared-thread-library), not $(common-objpfx)nptl/libpthread.so.
3540 * elf/Makefile ($(objpfx)noload): Depend on $(libdl), not
3541 $(common-objpfx)dlfcn/libdl.so.
3542 ($(objpfx)tst-audit8): Depend on $(libm), not
3543 $(common-objpfx)math/libm.so.
3544 * malloc/Makefile ($(objpfx)libmemusage.so): Depend on $(libdl),
3545 not $(common-objpfx)dlfcn/libdl.so.
3547 ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
3548 Depend on $(libm), not $(objpfx)libm.so. Do not condition on
3549 [$(build-shared) = yes].
3550 ($(objpfx)test-fenv-tls): Depend on $(shared-thread-library), not
3551 $(common-objpfx)nptl/libpthread.so.
3552 * misc/Makefile ($(objpfx)tst-tsearch): Depend on $(libm), not
3553 $(common-objpfx)math/libm.so$(libm.so-version) or
3554 $(common-objpfx)math/libm.a depending on [$(build-shared) = yes].
3555 * nptl/Makefile ($(objpfx)tst-unload): Depend on $(libdl), not
3556 $(common-objpfx)dlfcn/libdl.so.
3557 * setjmp/Makefile (link-libm): Remove variable.
3558 ($(objpfx)tst-setjmp-fp): Depend on $(libm), not $(link-libm).
3559 * stdio-common/Makefile (link-libm): Remove variable.
3560 ($(objpfx)tst-printf-round): Depend on $(libm), not $(link-libm).
3561 * stdlib/Makefile (link-libm): Remove variable.
3562 ($(objpfx)bug-getcontext): Depend on $(libm), not $(link-libm).
3563 ($(objpfx)tst-strtod-round): Likewise.
3564 ($(objpfx)tst-tininess): Likewise.
3565 ($(objpfx)tst-strtod-underflow): Likewise.
3566 ($(objpfx)tst-strtod6): Likewise.
3567 ($(objpfx)tst-tls-atexit): Depend on $(shared-thread-library) and
3568 $(libdl), not $(common-objpfx)nptl/libpthread.so and
3569 $(common-objpfx)dlfcn/libdl.so.
3571 2014-05-16 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3573 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_MISC]: Guard
3574 BSD terminal modes definitions.
3576 2014-05-16 Roland McGrath <roland@hack.frob.com>
3578 * sysdeps/unix/sysv/linux/arm/arch-fork.h: New file.
3579 * sysdeps/unix/sysv/linux/arm/fork.c: File removed.
3581 * sysdeps/unix/sysv/linux/arch-fork.h: New file.
3582 * sysdeps/unix/sysv/linux/i386/fork.h: Moved ...
3583 * sysdeps/unix/sysv/linux/i386/arch-fork.h: ... here.
3584 Don't do #include_next.
3585 * sysdeps/unix/sysv/linux/x86_64/fork.h: Moved ...
3586 * sysdeps/unix/sysv/linux/x86_64/arch-fork.h: ... here.
3587 Don't do #include_next.
3588 * sysdeps/unix/sysv/linux/mips/arch-fork.h: New file.
3589 * sysdeps/unix/sysv/linux/mips/fork.h: File removed.
3590 * sysdeps/unix/sysv/linux/powerpc/arch-fork.h: New file.
3591 * sysdeps/unix/sysv/linux/powerpc/fork.h: File removed.
3593 2014-05-16 Allan McRae <allan@archlinux.org>
3595 * po/sv.po: Update Swedish translation from translation project.
3597 * timezone/Makefile ($(objpfx)tzselect): Use correct variable
3600 2014-05-16 Aurelien Jarno <aurelien@aurel32.net>
3603 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal): Return
3604 errno if the TIOCGPTN ioctl fails with an error different than
3606 * login/tst-ptsname.c: New file.
3607 * login/Makefile (tests): Add tst-ptsname.
3610 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Declare prlimit
3613 2014-05-15 Siddhesh Poyarekar <siddhesh@redhat.com>
3616 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only check for
3617 herrno to return EAI_AGAIN.
3619 2014-05-14 Roland McGrath <roland@hack.frob.com>
3621 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: Moved ...
3622 * sysdeps/unix/sysv/linux/i386/c++-types.data: ... here.
3623 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: Moved ...
3624 * sysdeps/unix/sysv/linux/i386/ld.abilist: ... here.
3625 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: Moved ...
3626 * sysdeps/unix/sysv/linux/i386/libBrokenLocale.abilist: ... here.
3627 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: Moved ...
3628 * sysdeps/unix/sysv/linux/i386/libanl.abilist: ... here.
3629 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Moved ...
3630 * sysdeps/unix/sysv/linux/i386/libc.abilist: ... here.
3631 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: Moved ...
3632 * sysdeps/unix/sysv/linux/i386/libcrypt.abilist: ... here.
3633 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: Moved ...
3634 * sysdeps/unix/sysv/linux/i386/libdl.abilist: ... here.
3635 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: Moved ...
3636 * sysdeps/unix/sysv/linux/i386/libm.abilist: ... here.
3637 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: Moved ...
3638 * sysdeps/unix/sysv/linux/i386/libnsl.abilist: ... here.
3639 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Moved ...
3640 * sysdeps/unix/sysv/linux/i386/libpthread.abilist: ... here.
3641 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: Moved ...
3642 * sysdeps/unix/sysv/linux/i386/libresolv.abilist: ... here.
3643 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: Moved ...
3644 * sysdeps/unix/sysv/linux/i386/librt.abilist: ... here.
3645 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: Moved ...
3646 * sysdeps/unix/sysv/linux/i386/libthread_db.abilist: ... here.
3647 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: Moved ...
3648 * sysdeps/unix/sysv/linux/i386/libutil.abilist: ... here.
3649 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: Moved ...
3650 * sysdeps/unix/sysv/linux/i386/localplt.data: ... here.
3651 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: Moved ...
3652 * sysdeps/unix/sysv/linux/x86_64/64/c++-types.data: ... here.
3653 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Moved ...
3654 * sysdeps/unix/sysv/linux/x86_64/64/ld.abilist: ... here.
3655 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
3657 * sysdeps/unix/sysv/linux/x86_64/64/libBrokenLocale.abilist: ... here.
3658 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Moved ...
3659 * sysdeps/unix/sysv/linux/x86_64/64/libanl.abilist: ... here.
3660 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Moved ...
3661 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: ... here.
3662 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Moved ...
3663 * sysdeps/unix/sysv/linux/x86_64/64/libcrypt.abilist: ... here.
3664 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Moved ...
3665 * sysdeps/unix/sysv/linux/x86_64/64/libdl.abilist: ... here.
3666 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Moved ...
3667 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: ... here.
3668 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Moved ...
3669 * sysdeps/unix/sysv/linux/x86_64/64/libnsl.abilist: ... here.
3670 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist: Moved ...
3671 * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: ... here.
3672 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist: Moved ...
3673 * sysdeps/unix/sysv/linux/x86_64/64/libresolv.abilist: ... here.
3674 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Moved ...
3675 * sysdeps/unix/sysv/linux/x86_64/64/librt.abilist: ... here.
3676 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist: Moved ...
3677 * sysdeps/unix/sysv/linux/x86_64/64/libthread_db.abilist: ... here.
3678 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Moved ...
3679 * sysdeps/unix/sysv/linux/x86_64/64/libutil.abilist: ... here.
3680 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data: Moved ...
3681 * sysdeps/unix/sysv/linux/x86_64/x32/c++-types.data: ... here.
3682 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: Moved ...
3683 * sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist: ... here.
3684 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
3686 * sysdeps/unix/sysv/linux/x86_64/x32/libBrokenLocale.abilist: ... here.
3687 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist: Moved ...
3688 * sysdeps/unix/sysv/linux/x86_64/x32/libanl.abilist: ... here.
3689 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Moved ...
3690 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: ... here.
3691 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist: Moved ...
3692 * sysdeps/unix/sysv/linux/x86_64/x32/libcrypt.abilist: ... here.
3693 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist: Moved ...
3694 * sysdeps/unix/sysv/linux/x86_64/x32/libdl.abilist: ... here.
3695 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist: Moved ...
3696 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: ... here.
3697 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist: Moved ...
3698 * sysdeps/unix/sysv/linux/x86_64/x32/libnsl.abilist: ... here.
3699 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist: Moved ...
3700 * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: ... here.
3701 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist: Moved ...
3702 * sysdeps/unix/sysv/linux/x86_64/x32/libresolv.abilist: ... here.
3703 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist: Moved ...
3704 * sysdeps/unix/sysv/linux/x86_64/x32/librt.abilist: ... here.
3705 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
3707 * sysdeps/unix/sysv/linux/x86_64/x32/libthread_db.abilist: ... here.
3708 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist: Moved ...
3709 * sysdeps/unix/sysv/linux/x86_64/x32/libutil.abilist: ... here.
3711 * nptl/sysdeps/unix/sysv/linux/x86/Makefile: File removed.
3712 * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = nptl]
3713 (libpthread-sysdep_routines): Add elision-related stuff here instead.
3714 * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.c: Moved ...
3715 * sysdeps/unix/sysv/linux/x86/elision-conf.c: ... here.
3716 * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.h: Moved ...
3717 * sysdeps/unix/sysv/linux/x86/elision-conf.h: ... here.
3718 * nptl/sysdeps/unix/sysv/linux/x86/elision-lock.c: Moved ...
3719 * sysdeps/unix/sysv/linux/x86/elision-lock.c: ... here.
3720 * nptl/sysdeps/unix/sysv/linux/x86/elision-timed.c: Moved ...
3721 * sysdeps/unix/sysv/linux/x86/elision-timed.c: ... here.
3722 * nptl/sysdeps/unix/sysv/linux/x86/elision-trylock.c: Moved ...
3723 * sysdeps/unix/sysv/linux/x86/elision-trylock.c: ... here.
3724 * nptl/sysdeps/unix/sysv/linux/x86/elision-unlock.c: Moved ...
3725 * sysdeps/unix/sysv/linux/x86/elision-unlock.c: ... here.
3726 * nptl/sysdeps/unix/sysv/linux/x86/force-elision.h: Moved ...
3727 * sysdeps/unix/sysv/linux/x86/force-elision.h: ... here.
3728 * nptl/sysdeps/unix/sysv/linux/x86/hle.h: Moved ...
3729 * sysdeps/unix/sysv/linux/x86/hle.h: ... here.
3730 * nptl/sysdeps/unix/sysv/linux/x86/init-arch.c: Moved ...
3731 * sysdeps/unix/sysv/linux/x86/init-arch.c: ... here.
3732 * nptl/sysdeps/unix/sysv/linux/x86/init-arch.h: Moved ...
3733 * sysdeps/unix/sysv/linux/x86/init-arch.h: ... here.
3734 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Moved ...
3735 * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: ... here.
3736 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: Moved ...
3737 * sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: ... here.
3738 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: Moved ...
3739 * sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: ... here.
3740 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: Moved ...
3741 * sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: ... here.
3743 * sysdeps/unix/sysv/linux/mips/fork.h: New file.
3744 * sysdeps/unix/sysv/linux/mips/nptl/fork.c: File removed.
3746 * nptl/sysdeps/unix/sysv/linux/i386/Implies: File removed.
3747 * nptl/sysdeps/unix/sysv/linux/i386/i786/Implies: Moved ...
3748 * sysdeps/unix/sysv/linux/i386/i786/Implies: ... here.
3749 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Moved ...
3750 * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: ... here.
3751 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S:
3753 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: ... here.
3754 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
3756 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S: ... here.
3757 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
3759 * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S: ... here.
3760 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S:
3762 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: ... here.
3763 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Moved ...
3764 * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: ... here.
3765 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
3767 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S: ... here.
3768 * nptl/sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: Moved ...
3769 * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: ... here.
3770 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: Moved ...
3771 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: ... here.
3772 * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: Moved ...
3773 * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: ... here.
3774 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
3776 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S: ... here.
3777 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
3779 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
3781 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Moved ...
3782 * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: ... here.
3783 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Moved ...
3784 * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: ... here.
3785 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
3787 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
3789 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S:
3791 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: ... here.
3792 * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Moved ...
3793 * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: ... here.
3794 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Moved ...
3795 * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: ... here.
3796 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S:
3798 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: ... here.
3799 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
3801 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S: ... here.
3802 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
3804 * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S: ... here.
3805 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S:
3807 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: ... here.
3808 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Moved ...
3809 * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: ... here.
3810 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S:
3812 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: ... here.
3813 * nptl/sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved ...
3814 * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: ... here.
3815 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved ...
3816 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: ... here.
3817 * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved ...
3818 * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: ... here.
3819 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
3821 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S: ... here.
3822 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
3824 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
3826 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Moved ...
3827 * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: ... here.
3828 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Moved ...
3829 * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: ... here.
3830 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
3832 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
3834 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S:
3836 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: ... here.
3837 * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved ...
3838 * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: ... here.
3839 * nptl/sysdeps/unix/sysv/linux/i386/dl-sysdep.h: Moved ...
3840 * sysdeps/unix/sysv/linux/i386/dl-sysdep.h: ... here.
3841 * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h: Moved ...
3842 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.
3843 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Moved ...
3844 * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: ... here.
3845 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S:
3847 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: ... here.
3848 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
3850 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: ... here.
3851 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
3853 * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S: ... here.
3854 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S:
3856 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: ... here.
3857 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Moved ...
3858 * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: ... here.
3859 * nptl/sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: Moved ...
3860 * sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: ... here.
3861 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
3863 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S: ... here.
3864 * nptl/sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: Moved ...
3865 * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: ... here.
3866 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: Moved ...
3867 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: ... here.
3868 * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: Moved ...
3869 * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: ... here.
3870 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
3872 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S: ... here.
3873 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
3875 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
3877 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Moved ...
3878 * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: ... here.
3879 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Moved ...
3880 * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: ... here.
3881 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
3883 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
3885 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S:
3887 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: ... here.
3888 * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Moved ...
3889 * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: ... here.
3890 * nptl/sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Moved ...
3891 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: ... here.
3892 * nptl/sysdeps/unix/sysv/linux/i386/smp.h: Moved ...
3893 * sysdeps/unix/sysv/linux/i386/smp.h: ... here.
3894 * nptl/sysdeps/unix/sysv/linux/i386/pthread_once.S: Moved ...
3895 * sysdeps/unix/sysv/linux/i386/pthread_once.S: ... here.
3896 * nptl/sysdeps/unix/sysv/linux/i386/createthread.c: Moved ...
3897 * sysdeps/unix/sysv/linux/i386/createthread.c: ... here.
3899 * sysdeps/unix/sysv/linux/powerpc/fork.h: New file.
3900 * nptl/sysdeps/unix/sysv/linux/powerpc/fork.c: File removed.
3902 * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_init.c: File removed.
3903 * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_unlock.S: File removed.
3905 * nptl/sysdeps/unix/sysv/linux/x86_64/Implies: File removed.
3906 * nptl/sysdeps/unix/sysv/linux/x86_64/cancellation.S: Moved ...
3907 * sysdeps/unix/sysv/linux/x86_64/cancellation.S: ... here.
3908 * nptl/sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: Moved ...
3909 * sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: ... here.
3910 * nptl/sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: Moved ...
3911 * sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: ... here.
3912 * nptl/sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: Moved ...
3913 * sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: ... here.
3914 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Moved ...
3915 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: ... here.
3916 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Moved ...
3917 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: ... here.
3918 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: Moved ...
3919 * sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: ... here.
3920 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: Moved ...
3921 * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: ... here.
3922 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S:
3924 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S: ... here.
3925 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: Moved ...
3926 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: ... here.
3927 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:
3929 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: ... here.
3930 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: Moved ...
3931 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: ... here.
3932 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Moved ...
3933 * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: ... here.
3934 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: Moved ...
3935 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: ... here.
3936 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S:
3938 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: ... here.
3939 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S:
3941 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: ... here.
3942 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: Moved ...
3943 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: ... here.
3944 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: Moved ...
3945 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: ... here.
3946 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: Moved ...
3947 * sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: ... here.
3948 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_post.S: Moved ...
3949 * sysdeps/unix/sysv/linux/x86_64/sem_post.S: ... here.
3950 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Moved ...
3951 * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: ... here.
3952 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Moved ...
3953 * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: ... here.
3954 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Moved ...
3955 * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: ... here.
3956 * nptl/sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Moved ...
3957 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: ... here.
3959 * nptl/sysdeps/unix/sysv/linux/fork.c: Use <> for fork.h #include.
3960 * nptl/sysdeps/unix/sysv/linux/x86_64/fork.c: File removed.
3961 * sysdeps/unix/sysv/linux/x86_64/fork.h: New file.
3962 * nptl/sysdeps/unix/sysv/linux/i386/fork.c: File removed.
3963 * sysdeps/unix/sysv/linux/i386/fork.h: New file.
3965 * nptl/sysdeps/unix/sysv/linux/i386/not-cancel.h: Moved ...
3966 * sysdeps/unix/sysv/linux/not-cancel.h: ... here.
3967 * nptl/sysdeps/unix/sysv/linux/sparc/not-cancel.h: File removed.
3968 * nptl/sysdeps/unix/sysv/linux/sh/not-cancel.h: File removed.
3969 * nptl/sysdeps/unix/sysv/linux/powerpc/not-cancel.h: File removed.
3970 * nptl/sysdeps/unix/sysv/linux/x86_64/not-cancel.h: File removed.
3971 * nptl/sysdeps/unix/sysv/linux/s390/not-cancel.h: File removed.
3972 * sysdeps/unix/sysv/linux/generic/not-cancel.h: File removed.
3973 * sysdeps/unix/sysv/linux/generic/nptl/not-cancel.h: File removed.
3974 * sysdeps/unix/sysv/linux/m68k/nptl/not-cancel.h: File removed.
3976 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_init.c: File removed.
3977 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_unlock.S: Likewise.
3979 * nptl/sysdeps/unix/sysv/linux/x86_64/compat-timer.h: Moved ...
3980 * sysdeps/unix/sysv/linux/x86_64/compat-timer.h: ... here.
3981 * nptl/sysdeps/unix/sysv/linux/x86_64/Versions: Remove, merge into ...
3982 * sysdeps/unix/sysv/linux/x86_64/Versions: ... here.
3983 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_create.c: Moved ...
3984 * sysdeps/unix/sysv/linux/x86_64/timer_create.c: here.
3985 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_delete.c: Moved ...
3986 * sysdeps/unix/sysv/linux/x86_64/timer_delete.c: ... here
3987 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: Moved ...
3988 * sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: ... here
3989 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: Moved ...
3990 * sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: ... here
3991 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_settime.c: Moved ...
3992 * sysdeps/unix/sysv/linux/x86_64/timer_settime.c: ... here
3993 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c:
3995 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c:
3997 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
3999 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
4001 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
4003 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c:
4005 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c:
4007 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
4009 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c:
4011 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c:
4013 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Likewise.
4014 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Likewise.
4015 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Likewise.
4016 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Likewise.
4017 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Likewise.
4018 * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Likewise.
4019 * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Likewise.
4020 * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Likewise.
4021 * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Likewise.
4022 * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Likewise.
4023 * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Likewise.
4024 * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Likewise.
4025 * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Likewise.
4026 * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c: Likewise.
4027 * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c: Likewise.
4029 * sysdeps/unix/sysv/linux/x86_64/clone.S: Deconditionalize the code
4030 that was previously under [RESET_PID].
4031 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
4032 * nptl/sysdeps/unix/sysv/linux/x86_64/clone.S: File removed.
4033 * nptl/sysdeps/unix/sysv/linux/i386/clone.S: File removed.
4035 * sysdeps/i386/nptl/Implies: New file.
4036 * sysdeps/x86_64/nptl/Implies: New file.
4037 * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h: Moved ...
4038 * sysdeps/x86/nptl/bits/pthreadtypes.h: ... here.
4039 * nptl/sysdeps/unix/sysv/linux/x86/bits/semaphore.h: Moved ...
4040 * sysdeps/x86/nptl/bits/semaphore.h: ... here.
4042 * sysdeps/unix/sysv/linux/i386/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/i386/vfork.S: File removed.
4046 * nptl/sysdeps/unix/sysv/linux/i386/pt-vfork.S: File removed.
4048 * sysdeps/unix/sysv/linux/x86_64/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 * nptl/sysdeps/unix/sysv/linux/x86_64/vfork.S: File removed.
4052 * nptl/sysdeps/unix/sysv/linux/x86_64/pt-vfork.S: File removed.
4054 * sysdeps/unix/sysv/linux/arm/vfork.S: Include <tcb-offsets.h>.
4055 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
4056 (__libc_vfork): New strong alias.
4057 * sysdeps/unix/sysv/linux/arm/nptl/vfork.S: File removed.
4058 * sysdeps/unix/sysv/linux/arm/nptl/pt-vfork.S: File removed.
4059 * nptl/pt-vfork.c: New file.
4060 * nptl/Versions (libc: GLIBC_PRIVATE): Add __libc_vfork.
4061 (libpthread: GLIBC_2.20): New version set (empty).
4063 2014-05-14 Will Newton <will.newton@linaro.org>
4065 * stdlib/gmp-impl.h: Test USE_STACK_ALLOC #ifdef
4068 2014-05-14 Joseph Myers <joseph@codesourcery.com>
4071 * sysdeps/i386/fpu/s_log1pl.S (__log1pl): Do not add 1 to positive
4072 arguments with exponent 65 or above.
4073 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Do not add 1 to
4074 arguments 0x1p113L or above.
4075 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Do not add 1
4076 to arguments 0x1p107L or above.
4077 * sysdeps/x86_64/fpu/s_log1pl.S (__log1pl): Do not add 1 to
4078 positive arguments with exponent 65 or above.
4079 * math/auto-libm-test-in: Add more tests of log1p.
4080 * math/auto-libm-test-out: Regenerated.
4083 * math/s_cacos.c (__cacos): Ensure zero real part of result from
4084 non-finite arguments is +0.
4085 * math/s_cacosf.c (__cacosf): Likewise.
4086 * math/s_cacosl.c (__cacosl): Likewise.
4087 * math/libm-test.inc (cacos_test): Use ALL_RM_TEST.
4088 * sysdeps/i386/fpu/libm-test-ulps: Update.
4089 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4092 * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): Use fabs on x-1
4094 * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
4095 * sysdeps/i386/fpu/e_acoshl.S (__ieee754_acoshl): Likewise.
4096 * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Correct
4097 for explicit high bit of mantissa when testing for argument equal
4099 * math/libm-test.inc (acosh_test): Use ALL_RM_TEST.
4100 * sysdeps/i386/fpu/libm-test-ulps: Update.
4101 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4104 * sysdeps/ieee754/dbl-64/s_erf.c (efx8): Remove variable.
4105 (__erf): Scale by 16 instead of 8 in potentially underflowing
4106 case. Ensure exception if result actually underflows.
4107 * sysdeps/ieee754/flt-32/s_erff.c (efx8): Remove variable.
4108 (__erff): Scale by 16 instead of 8 in potentially underflowing
4109 case. Ensure exception if result actually underflows.
4110 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <float.h>.
4111 (efx8): Remove variable.
4112 (__erfl): Scale by 16 instead of 8 in potentially underflowing
4113 case. Ensure exception if result actually underflows.
4114 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <float.h>.
4115 (efx8): Remove variable.
4116 (__erfl): Scale by 16 instead of 8 in potentially underflowing
4117 case. Ensure exception if result actually underflows.
4118 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <float.h>.
4119 (efx8): Remove variable.
4120 (__erfl): Scale by 16 instead of 8 in potentially underflowing
4121 case. Ensure exception if result actually underflows.
4122 * math/auto-libm-test-in: Add more tests of erf.
4123 * math/auto-libm-test-out: Regenerated.
4125 2014-05-14 Andreas Schwab <schwab@suse.de>
4127 * elf/rtld.c (_dl_start_final, _dl_start, init_tls, dl_main):
4128 Remove code conditionalized on USE___THREAD.
4130 * config.h.in (HAVE_PT_CHOWN): Define as 0.
4131 * sysdeps/unix/grantpt.c (grantpt): Check HAVE_PT_CHOWN for value,
4134 2014-05-14 Joseph Myers <joseph@codesourcery.com>
4136 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES):
4137 Define unconditionally.
4138 (__ASSUME_O_CLOEXEC): Likewise.
4139 (__ASSUME_SOCK_CLOEXEC): Likewise.
4140 (__ASSUME_IN_NONBLOCK): Likewise.
4141 (__ASSUME_PIPE2): Likewise.
4142 (__ASSUME_EVENTFD2): Likewise.
4143 (__ASSUME_SIGNALFD4): Likewise.
4144 (__ASSUME_DUP3): Likewise.
4145 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
4146 (__ASSUME_DUP3): Do not define.
4147 (__ASSUME_EVENTFD2): Likewise.
4148 (__ASSUME_IN_NONBLOCK): Likewise.
4149 (__ASSUME_O_CLOEXEC): Likewise.
4150 (__ASSUME_PIPE2): Likewise.
4151 (__ASSUME_SIGNALFD4): Likewise.
4152 (__ASSUME_SOCK_CLOEXEC): Likewise.
4153 (__ASSUME_UTIMES): Undefine.
4154 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
4155 (__ASSUME_UTIMES): Do not define.
4156 (__ASSUME_O_CLOEXEC): Likewise.
4157 (__ASSUME_SOCK_CLOEXEC): Likewise.
4158 (__ASSUME_IN_NONBLOCK): Undefine if [__LINUX_KERNEL_VERSION <
4159 0x020621] instead of defining if [__LINUX_KERNEL_VERSION >=
4161 (__ASSUME_PIPE2): Likewise.
4162 (__ASSUME_EVENTFD2): Likewise.
4163 (__ASSUME_SIGNALFD4): Likewise.
4164 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_DUP3): Undefine.
4165 * sysdeps/unix/sysv/linux/arm/kernel-features.h (__ASSUME_UTIMES):
4167 (__ASSUME_EVENTFD2): Likewise.
4168 (__ASSUME_SIGNALFD4): Likewise.
4169 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
4170 (__ASSUME_32BITUIDS): Likewise.
4171 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
4172 (__ASSUME_IPC64): Likewise.
4173 (__ASSUME_ST_INO_64_BIT): Likewise.
4174 (__ASSUME_GETDENTS64_SYSCALL): Likewise.
4175 [__LINUX_KERNEL_VERSION < 0x030e00] (__ASSUME_UTIMES): Undefine.
4176 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
4177 (__ASSUME_UTIMES): Do not define.
4178 (__ASSUME_PSELECT): Likewise.
4179 (__ASSUME_PPOLL): Likewise.
4180 (__ASSUME_O_CLOEXEC): Likewise.
4181 (__ASSUME_SOCK_CLOEXEC): Likewise.
4182 (__ASSUME_IN_NONBLOCK): Likewise.
4183 (__ASSUME_PIPE2): Likewise.
4184 (__ASSUME_EVENTFD2): Likewise.
4185 (__ASSUME_SIGNALFD4): Likewise.
4186 (__ASSUME_DUP3): Likewise.
4187 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
4188 (__ASSUME_UTIMES): Likewise.
4189 (__ASSUME_O_CLOEXEC): Likewise.
4190 (__ASSUME_SOCK_CLOEXEC): Likewise.
4191 (__ASSUME_IN_NONBLOCK): Likewise.
4192 (__ASSUME_PIPE2): Likewise.
4193 (__ASSUME_EVENTFD2): Likewise.
4194 (__ASSUME_SIGNALFD4): Likewise.
4195 (__ASSUME_DUP3): Likewise.
4196 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
4197 (__ASSUME_UTIMES): Likewise.
4198 (__ASSUME_O_CLOEXEC): Likewise.
4199 (__ASSUME_SOCK_CLOEXEC): Likewise.
4200 (__ASSUME_IN_NONBLOCK): Likewise.
4201 (__ASSUME_PIPE2): Likewise.
4202 (__ASSUME_EVENTFD2): Likewise.
4203 (__ASSUME_SIGNALFD4): Likewise.
4204 (__ASSUME_DUP3): Likewise.
4205 * sysdeps/unix/sysv/linux/mips/kernel-features.h (__ASSUME_IPC64):
4207 (__ASSUME_UTIMES): Likewise.
4208 (__ASSUME_EVENTFD2): Likewise.
4209 (__ASSUME_SIGNALFD4): Likewise.
4210 * sysdeps/unix/sysv/linux/tile/kernel-features.h
4211 (__ASSUME_O_CLOEXEC): Likewise.
4212 (__ASSUME_SOCK_CLOEXEC): Likewise.
4213 (__ASSUME_IN_NONBLOCK): Likewise.
4214 (__ASSUME_PIPE2): Likewise.
4215 (__ASSUME_EVENTFD2): Likewise.
4216 (__ASSUME_SIGNALFD4): Likewise.
4217 (__ASSUME_DUP3): Likewise.
4218 (__ASSUME_UTIMES): Undefine.
4220 * sysdeps/arm/fclrexcpt.c (__feclearexcept): Rename to
4221 feclearexcept. Remove symbol versioning code.
4222 * sysdeps/arm/fegetenv.c (__fegetenv): Rename to fegetenv. Remove
4223 symbol versioning code.
4224 * sysdeps/arm/fesetenv.c (__fesetenv): Rename to fesetenv. Remove
4225 symbol versioning code.
4226 * sysdeps/arm/feupdateenv.c (__feupdateenv): Rename to
4227 feupdateenv. Remove symbol versioning code.
4228 * sysdeps/arm/fgetexcptflg.c (__fegetexceptflag): Rename to
4229 fegetexceptflag. Remove symbol versioning code.
4230 * sysdeps/arm/fsetexcptflg.c (__fesetexceptflag): Rename to
4231 fesetexceptflag. Remove symbol versioning code.
4232 * sysdeps/unix/sysv/linux/arm/Versions (libc): Remove GLIBC_2.0,
4233 GLIBC_2.2 and GLIBC_2.3.3 entries. Change GLIBC_2.1 to GLIBC_2.4.
4234 * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c
4235 (__posix_fadvise64_l32): Remove prototype.
4236 [SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)]: Remove conditional
4239 2014-05-13 Roland McGrath <roland@hack.frob.com>
4241 * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h: Moved ...
4242 * sysdeps/arm/nptl/bits/pthreadtypes.h: ... here.
4243 * sysdeps/unix/sysv/linux/arm/nptl/bits/semaphore.h: Moved ...
4244 * sysdeps/arm/nptl/bits/semaphore.h: ... here.
4246 2014-05-13 Sami Kerola <kerolasa@iki.fi>
4248 * timezone/Makefile ($(objpfx)tzselect): Use zonedir instead
4249 current working directory
4251 2014-05-13 Roland McGrath <roland@hack.frob.com>
4253 * sysdeps/unix/sysv/linux/arm/nptl/c++-types.data: Moved ...
4254 * sysdeps/unix/sysv/linux/arm/c++-types.data: ... here.
4255 * sysdeps/unix/sysv/linux/arm/nptl/createthread.c: Moved ...
4256 * sysdeps/unix/sysv/linux/arm/createthread.c: ... here.
4257 * sysdeps/unix/sysv/linux/arm/nptl/fork.c: Moved ...
4258 * sysdeps/unix/sysv/linux/arm/fork.c: ... here.
4259 * sysdeps/unix/sysv/linux/arm/nptl/ld.abilist: Moved ...
4260 * sysdeps/unix/sysv/linux/arm/ld.abilist: ... here.
4261 * sysdeps/unix/sysv/linux/arm/nptl/libBrokenLocale.abilist: Moved ...
4262 * sysdeps/unix/sysv/linux/arm/libBrokenLocale.abilist: ... here.
4263 * sysdeps/unix/sysv/linux/arm/nptl/libanl.abilist: Moved ...
4264 * sysdeps/unix/sysv/linux/arm/libanl.abilist: ... here.
4265 * sysdeps/unix/sysv/linux/arm/nptl/libc.abilist: Moved ...
4266 * sysdeps/unix/sysv/linux/arm/libc.abilist: ... here.
4267 * sysdeps/unix/sysv/linux/arm/nptl/libcrypt.abilist: Moved ...
4268 * sysdeps/unix/sysv/linux/arm/libcrypt.abilist: ... here.
4269 * sysdeps/unix/sysv/linux/arm/nptl/libdl.abilist: Moved ...
4270 * sysdeps/unix/sysv/linux/arm/libdl.abilist: ... here.
4271 * sysdeps/unix/sysv/linux/arm/nptl/libm.abilist: Moved ...
4272 * sysdeps/unix/sysv/linux/arm/libm.abilist: ... here.
4273 * sysdeps/unix/sysv/linux/arm/nptl/libnsl.abilist: Moved ...
4274 * sysdeps/unix/sysv/linux/arm/libnsl.abilist: ... here.
4275 * sysdeps/unix/sysv/linux/arm/nptl/libpthread.abilist: Moved ...
4276 * sysdeps/unix/sysv/linux/arm/libpthread.abilist: ... here.
4277 * sysdeps/unix/sysv/linux/arm/nptl/libresolv.abilist: Moved ...
4278 * sysdeps/unix/sysv/linux/arm/libresolv.abilist: ... here.
4279 * sysdeps/unix/sysv/linux/arm/nptl/librt.abilist: Moved ...
4280 * sysdeps/unix/sysv/linux/arm/librt.abilist: ... here.
4281 * sysdeps/unix/sysv/linux/arm/nptl/libthread_db.abilist: Moved ...
4282 * sysdeps/unix/sysv/linux/arm/libthread_db.abilist: ... here.
4283 * sysdeps/unix/sysv/linux/arm/nptl/libutil.abilist: Moved ...
4284 * sysdeps/unix/sysv/linux/arm/libutil.abilist: ... here.
4285 * sysdeps/unix/sysv/linux/arm/nptl/localplt.data: Moved ...
4286 * sysdeps/unix/sysv/linux/arm/localplt.data: ... here.
4287 * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.h: Moved ...
4288 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: ... here.
4289 * sysdeps/unix/sysv/linux/arm/nptl/sysdep-cancel.h: Moved ...
4290 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: ... here.
4291 * sysdeps/unix/sysv/linux/arm/nptl/unwind-forcedunwind.c: Moved ...
4292 * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: ... here.
4293 * sysdeps/unix/sysv/linux/arm/nptl/unwind-resume.c: Moved ...
4294 * sysdeps/unix/sysv/linux/arm/unwind-resume.c: ... here.
4296 * sysdeps/unix/sysv/linux/arm/Versions (libc: GLIBC_PRIVATE): New set.
4297 * sysdeps/unix/sysv/linux/arm/nptl/Versions: File removed.
4299 * sysdeps/unix/sysv/linux/arm/Makefile
4300 [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
4301 Add rt-aeabi_unwind_cpp_pr1.
4302 [$(subdir) = nptl] (librt-sysdep_routines, librt-shared-only-routines):
4303 Add nptl-aeabi_unwind_cpp_pr1.
4304 [$(subdir) = nptl] (tests): Filter out tst-cleanupx4.
4305 * sysdeps/unix/sysv/linux/arm/nptl/Makefile: File removed.
4306 * sysdeps/unix/sysv/linux/arm/nptl/rt-aeabi_unwind_cpp_pr1.c: Move ...
4307 * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
4308 * sysdeps/unix/sysv/linux/arm/nptl/nptl-aeabi_unwind_cpp_pr1.c: Move ...
4309 * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
4311 * sysdeps/unix/sysv/linux/arm/configure.ac: Force -fexceptions here.
4312 * sysdeps/unix/sysv/linux/arm/configure: Regenerated.
4313 * sysdeps/unix/sysv/linux/arm/nptl/configure.ac: File removed.
4314 * sysdeps/unix/sysv/linux/arm/nptl/configure: File removed.
4316 * sysdeps/unix/sysv/linux/arm/clone.S: Include <tcb-offsets.h>.
4317 Deconditionalize the code that was previously under [RESET_PID].
4318 * sysdeps/unix/sysv/linux/arm/nptl/clone.S: File removed.
4320 * sysdeps/generic/exit-thread.h: New file.
4321 * sysdeps/unix/sysv/linux/exit-thread.h: New file.
4322 * include/unistd.h (__exit_thread): Remove declaration.
4323 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Drop exit-thread.
4324 * sysdeps/unix/sysv/linux/exit-thread.S: File removed.
4325 * csu/libc-start.c: Include <exit-thread.h>.
4326 (LIBC_START_MAIN): Pass no argument to __exit_thread.
4327 * nptl/pthread_create.c: Include <exit-thread.h>.
4328 (start_thread): Call __exit_thread in place of __exit_thread_inline.
4329 * nptl/sysdeps/i386/pthreaddef.h (__exit_thread_inline): Macro removed.
4330 * nptl/sysdeps/powerpc/pthreaddef.h: Likewise.
4331 * nptl/sysdeps/s390/pthreaddef.h: Likewise.
4332 * nptl/sysdeps/sh/pthreaddef.h: Likewise.
4333 * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Likewise.
4334 * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Likewise.
4335 * nptl/sysdeps/x86_64/pthreaddef.h: Likewise.
4336 * sysdeps/aarch64/nptl/pthreaddef.h: Likewise.
4337 * sysdeps/alpha/nptl/pthreaddef.h: Likewise.
4338 * sysdeps/arm/nptl/pthreaddef.h: Likewise.
4339 * sysdeps/hppa/nptl/pthreaddef.h: Likewise.
4340 * sysdeps/ia64/nptl/pthreaddef.h: Likewise.
4341 * sysdeps/m68k/nptl/pthreaddef.h: Likewise.
4342 * sysdeps/microblaze/nptl/pthreaddef.h: Likewise.
4343 * sysdeps/mips/nptl/pthreaddef.h: Likewise.
4344 * sysdeps/tile/nptl/pthreaddef.h: Likewise.
4346 2014-05-13 Andreas Schwab <schwab@suse.de>
4348 * sysdeps/unix/grantpt.c (grantpt): Fix typo in assertion.
4350 2014-05-12 Joseph Myers <joseph@codesourcery.com>
4352 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
4353 (__ASSUME_UTIMES): Do not condition on kernel version.
4354 (__ASSUME_PSELECT): Define unconditionally.
4355 (__ASSUME_PPOLL): Likewise.
4356 (__ASSUME_ATFCTS): Likewise.
4357 (__ASSUME_SET_ROBUST_LIST): Do not condition on kernel version.
4358 (__ASSUME_COMPLETE_READV_WRITEV): Define unconditionally.
4359 (__ASSUME_FUTEX_LOCK_PI): Do not condition on kernel version.
4360 (__ASSUME_UTIMENSAT): Define unconditionally.
4361 (__ASSUME_PRIVATE_FUTEX): Likewise.
4362 (__ASSUME_FALLOCATE): Likewise.
4363 (__ASSUME_O_CLOEXEC): Likewise.
4364 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Remove.
4365 (__ASSUME_ARG_MAX_STACK_BASED): Likewise.
4366 (__ASSUME_ADJ_OFFSET_SS_READ): Define unconditionally.
4367 (__ASSUME_SOCK_CLOEXEC): Do not condition on kernel version.
4368 (__ASSUME_IN_NONBLOCK): Likewise.
4369 (__ASSUME_PIPE2): Likewise.
4370 (__ASSUME_EVENTFD2): Likewise.
4371 (__ASSUME_SIGNALFD4): Likewise.
4372 (__ASSUME_DUP3): Likewise.
4373 [__x86_64__ || __sparc__] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
4374 (__ASSUME_FUTEX_CLOCK_REALTIME): Define unconditionally.
4375 (__ASSUME_AT_RANDOM): Likewise.
4376 (__ASSUME_PREADV): Likewise.
4377 (__ASSUME_PWRITEV): Likewise.
4378 (__ASSUME_REQUEUE_PI): Do not condition on kernel version.
4379 (__ASSUME_F_GETOWN_EX): Define unconditionally.
4380 (__ASSUME_XFS_RESTRICTED_CHOWN): Likewise.
4381 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
4382 [!__ASSUME_ARG_MAX_STACK_BASED]: Remove conditional code.
4383 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
4384 (__ASSUME_O_CLOEXEC): Define unconditionally.
4385 (__ASSUME_PSELECT): Do not undefine conditionally.
4386 (__ASSUME_PPOLL): Likewise.
4387 (__ASSUME_ATFCTS): Likewise.
4388 (__ASSUME_SET_ROBUST_LIST): Likewise.
4389 (__ASSUME_UTIMENSAT): Likewise.
4390 (__ASSUME_FDATASYNC): Define unconditionally.
4391 * sysdeps/unix/sysv/linux/arm/kernel-features.h
4392 (__ASSUME_SIGFRAME_V2): Likewise.
4393 )__ASSUME_EVENTFD2): Likewise.
4394 (__ASSUME_SIGNALFD4): Likewise.
4395 (__ASSUME_PSELECT): Do not undefine conditionally.
4396 (__ASSUME_PPOLL): Likewise.
4397 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
4398 (__ASSUME_PSELECT): Define unconditionally.
4399 (__ASSUME_PPOLL): Likewise.
4400 (__ASSUME_O_CLOEXEC): Likewise.
4401 (__ASSUME_SOCK_CLOEXEC): Likewise.
4402 (__ASSUME_IN_NONBLOCK): Likewise.
4403 (__ASSUME_PIPE2): Likewise.
4404 (__ASSUME_EVENTFD2): Likewise.
4405 (__ASSUME_SIGNALFD4): Likewise.
4406 (__ASSUME_DUP3): Likewise.
4407 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
4408 (__ASSUME_O_CLOEXEC): Likewise.
4409 (__ASSUME_SOCK_CLOEXEC): Likewise.
4410 (__ASSUME_IN_NONBLOCK): Likewise.
4411 (__ASSUME_PIPE2): Likewise.
4412 (__ASSUME_EVENTFD2): Likewise.
4413 (__ASSUME_SIGNALFD4): Likewise.
4414 (__ASSUME_DUP3): Likewise.
4415 * sysdeps/unix/sysv/linux/mips/kernel-features.h
4416 (__ASSUME_EVENTFD2): Likewise.
4417 (__ASSUME_SIGNALFD4): Likewise.
4418 (__ASSUME_ACCEPT4_SYSCALL): Likewise.
4420 2014-05-12 Andreas Schwab <schwab@suse.de>
4423 * nis/nss_nis/nis-hosts.c (internal_gethostbyname2_r)
4424 (_nss_nis_gethostbyname4_r): Return error if item length is larger
4425 than maximum RPC packet size.
4426 * nis/nss_nis/nis-initgroups.c (initgroups_netid): Likewise.
4427 * nis/nss_nis/nis-network.c (_nss_nis_getnetbyname_r): Likewise.
4428 * nis/nss_nis/nis-service.c (_nss_nis_getservbyname_r)
4429 (_nss_nis_getservbyport_r): Likewise.
4431 2014-05-12 Will Newton <will.newton@linaro.org>
4433 * malloc/Makefile (tests): Add tst-mallopt.
4434 * malloc/tst-mallopt.c: New file.
4436 2014-05-09 Roland McGrath <roland@hack.frob.com>
4438 * sysdeps/arm/armv7/strcmp.S: Use sfi_breg prefix on loads not from sp.
4439 [NO_THUMB]: Cope without cbz, cnbz, and orn instructions.
4441 2014-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4443 * elf/Makefile (tst-tlsmod5.so): Add $(no-as-needed).
4444 (tst-tlsmod6.so): Likewise.
4446 2014-05-09 Roland McGrath <roland@hack.frob.com>
4448 * sysdeps/gnu/unwind-resume.c (libgcc_s_resume): Mark as noreturn.
4450 2014-05-09 Joseph Myers <joseph@codesourcery.com>
4453 * sysdeps/i386/fpu/fegetenv.c: Include <unistd.h>, <ldsodefs.h>
4454 and <dl-procinfo.h>.
4455 (__fegetenv): Save SSE state in envp->__eip if supported.
4456 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Save SSE state in
4457 envp->__eip if supported.
4458 * sysdeps/i386/fpu/fesetenv.c: Include <unistd.h>, <ldsodefs.h>
4459 and <dl-procinfo.h>.
4460 (__fesetenv): Always set __eip, __cs_selector, __opcode,
4461 __data_offset and __data_selector in environment to 0. Set SSE
4463 * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
4465 [$(subdir) = math] (CFLAGS-test-fenv-sse.c): Add -msse2
4467 * sysdeps/x86/fpu/test-fenv-sse.c: New file.
4469 2014-05-09 Will Newton <will.newton@linaro.org>
4471 * sysdeps/arm/preconfigure.ac: Set libc_commonpagesize
4472 and libc_relro_required for ARM.
4473 * sysdeps/arm/preconfigure: Regenerate.
4475 2014-05-09 Dominik Vogt <vogt@linux.vnet.ibm.com>
4476 Stefan Liebler <stli@linux.vnet.ibm.com>
4478 * config.make.in (enable-lock-elision): New Makefile variable.
4479 * configure.ac: Likewise.
4480 * configure: Regenerate.
4481 * sysdeps/s390/configure.ac:
4482 Add check for gcc transactions support.
4483 * sysdeps/s390/configure: Regenerate.
4484 * nptl/sysdeps/unix/sysv/linux/s390/Makefile: New file.
4485 Build elision files if enabled.
4486 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: New file.
4487 Add lock elision support for s390.
4488 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Likewise.
4489 * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Likewise.
4490 * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Likewise.
4491 * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
4492 * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Likewise.
4493 * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Likewise.
4494 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
4496 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c:
4498 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c:
4500 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c:
4502 * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h:
4503 (__lll_timedlock_elision, __lll_lock_elision)
4504 (__lll_unlock_elision, __lll_trylock_elision)
4505 (lll_timedlock_elision, lll_lock_elision)
4506 (lll_unlock_elision, lll_trylock_elision): Add.
4507 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
4508 (pthread_mutex_t): Add lock elision support for s390.
4510 2014-05-14 Wilco <wdijkstr@arm.com>
4512 * sysdeps/arm/fclrexcpt.c: Cleanup.
4513 * sysdeps/arm/fedisblxcpt.c: Cleanup.
4514 * sysdeps/arm/feenablxcpt.c: Cleanup.
4515 * sysdeps/arm/fegetenv.c: Cleanup.
4516 * sysdeps/arm/fegetexcept.c: Cleanup.
4517 * sysdeps/arm/fegetround.c: Cleanup.
4518 * sysdeps/arm/feholdexcpt.c: Cleanup.
4519 * sysdeps/arm/fesetenv.c: Cleanup.
4520 * sysdeps/arm/fesetround.c: Cleanup.
4521 * sysdeps/arm/feupdateenv.c: Cleanup.
4522 * sysdeps/arm/fgetexcptflg.c: Cleanup.
4523 * sysdeps/arm/fraiseexcpt.c: Cleanup.
4524 * sysdeps/arm/fsetexcptflg.c: Cleanup.
4525 * sysdeps/arm/ftestexcept.c: Cleanup.
4526 * sysdeps/arm/get-rounding-mode.h: Cleanup.
4527 * sysdeps/arm/setfpucw.c: Cleanup.
4529 2014-05-09 Will Newton <will.newton@linaro.org>
4531 * sysdeps/arm/armv7/strcmp.S: New file.
4532 * NEWS: Mention addition of ARMv7 optimized strcmp.
4534 2014-05-08 Roland McGrath <roland@hack.frob.com>
4536 * Makeconfig ($(common-objpfx)config.status): Fix patsubst uses to
4537 look for %.ac rather than %.in.
4539 * sysdeps/mach/hurd/configure.ac (inhibit_glue): Remove variable.
4540 * sysdeps/unix/sysv/linux/configure.ac: Likewise.
4541 * sysdeps/mach/hurd/configure: Regenerated.
4542 * sysdeps/unix/sysv/linux/configure: Regenerated.
4544 * bits/utsname.h (_UTSNAME_DOMAIN_LENGTH): New macro, set to 0.
4546 2014-05-07 Steve Ellcey <sellcey@mips.com>
4549 * sysdeps/mips/sys/asm.h (INT_SUB): Fix definition.
4553 2014-05-07 Andreas Schwab <schwab@suse.de>
4555 * sysdeps/posix/getaddrinfo.c (gaih_inet): Advance address pointer
4556 when skipping over non-matching result from nscd.
4558 2014-05-07 Ondřej Bílka <neleai@seznam.cz>
4561 * nptl/sockperf.c (client): Check socket return value.
4564 * nscd/selinux.c (nscd_request_avc_has_perm): Check if there is
4565 nscd security class.
4567 2014-05-06 Roland McGrath <roland@hack.frob.com>
4569 * sysdeps/unix/sysv/linux/arm/nptl/unwind.h: File moved to ...
4570 * sysdeps/arm/unwind.h: ... here.
4572 2014-05-06 Aurelien Jarno <aurelien@aurel32.net>
4575 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h (EFD_SEMAPHORE):
4578 2014-05-06 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
4580 * sysdeps/powerpc/powerpc64/power7/strncpy.S: New file: Optimization.
4581 * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: New file:
4582 multiarch strncpy for PPC64.
4583 * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: New file
4584 * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: New file
4585 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpcpy, stpncpy
4586 multiarch optimizations.
4587 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
4588 (__libc_ifunc_impl_list): Likewise.
4589 * sysdeps/powerpc/powerpc64/power7/stpncpy.S: New file: Optimization.
4590 * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: New file:
4591 multiarch stpncpy for PPC64.
4592 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-ppc64.c: New file
4593 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: New file
4595 2014-05-06 Andreas Schwab <schwab@suse.de>
4598 * gmon/mcount.c (_MCOUNT_DECL): Use
4599 atomic_compare_and_exchange_bool_acq instead of
4600 catomic_compare_and_exchange_bool_acq.
4602 2014-05-05 Roland McGrath <roland@hack.frob.com>
4604 * elf/Makefile (others, install-bin): Remove pldd.
4605 (pldd-modules): Variable removed.
4606 ($(objpfx)pldd): Target removed.
4607 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = elf]
4608 (others, install-bin): Append pldd here.
4609 ($(objpfx)pldd): New target.
4611 * sysdeps/gnu/errlist.awk (BEGIN): Emit an initial #define of ERR_MAX
4612 to 0, so the first #if test emitted later doesn't see it undefined.
4613 (END): Emit "!defined ERRLIST_NO_COMPAT" to match what BEGIN does.
4614 * sysdeps/gnu/errlist.c: Regenerated.
4616 2014-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4618 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
4619 [libc_hidden_builtin_def]: Define to empty value.
4620 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S:
4621 [libc_hidden_builtin_def]: Likewise.
4622 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S:
4623 [libc_hidden_builtin_def]: Likewise.
4624 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S:
4625 [libc_hidden_builtin_def]: Likewise.
4626 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c (memcpy): Redefined to
4627 __redirect_memcpy and define ifunc as default hidden symbol.
4628 * sysdeps/powerpc/powerpc64/multiarch/memset.c (memset): Likewise.
4629 * sysdeps/powerpc/powerpc64/multiarch/strlen.c (strlen): Likewise.
4631 2014-05-04 Adam Conrad <adconrad@0c3.net>
4633 * locale/iso-4217.def: Reintroduce XDR currency.
4635 2014-05-04 Allan McRae <allan@archlinux.org>
4637 * po/eo.po: Update Esperanto translation from translation project.
4639 2014-05-02 Carlos O'Donell <carlos@redhat.com>
4641 * sysdeps/x86_64/multiarch/init-arch.h: Define FEATURE_INDEX_1 to 0,
4642 and FEATURE_INDEX_MAX to 1.
4643 [!__ASSEMBLER__]: Remove anonymous enum for FEATURE_INDEX_*.
4645 2014-05-01 Steve Ellcey <sellcey@mips.com>
4647 * iconvdata/ansi_x3.110.c (ONE_DIRECTION): Define.
4648 * iconvdata/armscii-8.c (ONE_DIRECTION): Define.
4649 * iconvdata/big5.c (ONE_DIRECTION): Define.
4650 * iconvdata/big5hkscs.c (ONE_DIRECTION): Define.
4651 * iconvdata/cp1255.c (ONE_DIRECTION): Define.
4652 * iconvdata/cp1258.c (ONE_DIRECTION): Define.
4653 * iconvdata/cp932.c (ONE_DIRECTION): Define.
4654 * iconvdata/euc-cn.c (ONE_DIRECTION): Define.
4655 * iconvdata/euc-jisx0213.c (ONE_DIRECTION): Define.
4656 * iconvdata/euc-jp-ms.c (ONE_DIRECTION): Define.
4657 * iconvdata/euc-jp.c (ONE_DIRECTION): Define.
4658 * iconvdata/euc-kr.c (ONE_DIRECTION): Define.
4659 * iconvdata/euc-tw.c (ONE_DIRECTION): Define.
4660 * iconvdata/gb18030.c (ONE_DIRECTION): Define.
4661 * iconvdata/gbbig5.c (ONE_DIRECTION): Define.
4662 * iconvdata/gbgbk.c (ONE_DIRECTION): Define.
4663 * iconvdata/gbk.c (ONE_DIRECTION): Define.
4664 * iconvdata/ibm1364.c (ONE_DIRECTION): Define.
4665 * iconvdata/ibm930.c (ONE_DIRECTION): Define.
4666 * iconvdata/ibm932.c (ONE_DIRECTION): Define.
4667 * iconvdata/ibm933.c (ONE_DIRECTION): Define.
4668 * iconvdata/ibm935.c (ONE_DIRECTION): Define.
4669 * iconvdata/ibm937.c (ONE_DIRECTION): Define.
4670 * iconvdata/ibm939.c (ONE_DIRECTION): Define.
4671 * iconvdata/ibm943.c (ONE_DIRECTION): Define.
4672 * iconvdata/iso-2022-cn-ext.c (ONE_DIRECTION): Define.
4673 * iconvdata/iso-2022-cn.c (ONE_DIRECTION): Define.
4674 * iconvdata/iso-2022-jp-3.c (ONE_DIRECTION): Define.
4675 * iconvdata/iso-2022-jp.c (ONE_DIRECTION): Define.
4676 * iconvdata/iso-2022-kr.c (ONE_DIRECTION): Define.
4677 * iconvdata/iso646.c (ONE_DIRECTION): Define.
4678 * iconvdata/iso8859-1.c (ONE_DIRECTION): Define.
4679 * iconvdata/iso_11548-1.c (ONE_DIRECTION): Define.
4680 * iconvdata/iso_6937-2.c (ONE_DIRECTION): Define.
4681 * iconvdata/iso_6937.c (ONE_DIRECTION): Define.
4682 * iconvdata/johab.c (ONE_DIRECTION): Define.
4683 * iconvdata/shift_jisx0213.c (ONE_DIRECTION): Define.
4684 * iconvdata/sjis.c (ONE_DIRECTION): Define.
4685 * iconvdata/t.61.c (ONE_DIRECTION): Define.
4686 * iconvdata/tcvn5712-1.c (ONE_DIRECTION): Define.
4687 * iconvdata/tscii.c (ONE_DIRECTION): Define.
4688 * iconvdata/uhc.c (ONE_DIRECTION): Define.
4689 * iconvdata/unicode.c (ONE_DIRECTION): Define.
4690 * iconvdata/utf-16.c (ONE_DIRECTION): Define.
4691 * iconvdata/utf-32.c (ONE_DIRECTION): Define.
4692 * iconvdata/utf-7.c (ONE_DIRECTION): Define.
4694 2014-05-01 Roland McGrath <roland@hack.frob.com>
4696 * libio/libioP.h [!_IO_USE_OLD_IO_FILE && !_G_IO_NO_BACKWARD_COMPAT]
4697 (_IO_JUMPS_OFFSET): Define to 0.
4699 * nptl/sysdeps/pthread/bits/libc-lock.h
4700 [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
4701 (__libc_lock_define_initialized_recursive): Always define using
4702 initializer. Modern compilers treat uninitialized (implicit zero) and
4703 explicit zero initializers the same (i.e. put the datum in bss).
4705 2014-05-01 Andreas Schwab <schwab@linux-m68k.org>
4707 * nscd/nscd-client.h: Include <string.h>.
4709 2014-05-01 David S. Miller <davem@davemloft.net>
4712 * sysdeps/sparc/sparc64/strcmp.S: Fix end comparison handling when
4713 multiple zero bytes exist at the end of a string.
4714 Reported by Aurelien Jarno <aurelien@aurel32.net>
4716 * string/test-strcmp.c (check): Add explicit test for situations where
4717 there are multiple zero bytes after the first.
4719 2014-05-01 Andreas Schwab <schwab@linux-m68k.org>
4722 * stdio-common/vfprintf.c (process_arg) [%p]: Mark string as wide
4723 when compiling wprintf.
4724 * stdio-common/tstdiomisc.c (t3): New function.
4727 2014-05-01 Steve Ellcey <sellcey@mips.com>
4729 * intl/iconv/skeleton.c (ONE_DIRECTION): Remove define.
4730 * iconv/gconv_simple.c (ONE_DIRECTION): Define.
4731 * iconvdata/8bit-gap.c (ONE_DIRECTION): Ditto.
4732 * iconvdata/8bit-generic.c (ONE_DIRECTION): Ditto.
4734 2014-05-01 Steve Ellcey <sellcey@mips.com>
4736 * stdlib/longlong.h: Updated from GCC.
4738 2014-05-01 Will Newton <will.newton@linaro.org>
4739 Bernard Ogden <bernie.ogden@linaro.org>
4741 * NEWS: Update fixed bug list.
4744 * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.c: Remove file.
4746 2014-04-30 David S. Miller <davem@davemloft.net>
4748 * sysdeps/sparc/fpu/fenv_private.h (HAVE_RM_CTX): Define.
4749 (libc_feholdexcept_setround_sparc_ctx): New function.
4750 (libc_fesetenv_sparc_ctx): Likewise.
4751 (libc_feupdateenv_sparc_ctx): Likewise.
4752 (libc_feholdsetround_sparc_ctx): Likewise.
4753 (libc_feholdexcept_setround_ctx): Define.
4754 (libc_feholdexcept_setroundf_ctx): Likewise.
4755 (libc_feholdexcept_setroundl_ctx): Likewise.
4756 (libc_fesetenv_ctx): Likewise.
4757 (libc_fesetenvf_ctx): Likewise.
4758 (libc_fesetenvl_ctx): Likewise.
4759 (libc_feupdateenv_ctx): Likewise.
4760 (libc_feupdateenvf_ctx): Likewise.
4761 (libc_feupdateenvl_ctx): Likewise.
4762 (libc_feresetround_ctx): Likewise.
4763 (libc_feresetroundf_ctx): Likewise.
4764 (libc_feresetroundl_ctx): Likewise.
4765 (libc_feholdsetround_ctx): Likewise.
4766 (libc_feholdsetroundf_ctx): Likewise.
4767 (libc_feholdsetroundl_ctx): Likewise.
4769 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
4770 with __USE_GNU instead of XOPEN cpp guards.
4772 * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Define to
4775 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
4776 with XOPEN cpp guards.
4778 2014-04-30 Julian Brown <julian@codesourcery.com>
4781 * sysdeps/arm/dl-machine.h (elf_machine_rela): Fix R_ARM_IRELATIVE
4784 2014-04-30 Joseph Myers <joseph@codesourcery.com>
4787 * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
4789 (arch_minimum_kernel): Change all 2.6.16 settings to 2.6.32.
4790 * sysdeps/unix/sysv/linux/configure: Regenerated.
4791 * sysdeps/unix/sysv/linux/microblaze/configure.ac: Remove file.
4792 * sysdeps/unix/sysv/linux/microblaze/configure: Likewise.
4793 * sysdeps/unix/sysv/linux/tile/configure.ac: Likewise.
4794 * sysdeps/unix/sysv/linux/tile/configure: Likewise.
4795 * README: Update reference to required Linux kernel version.
4796 * manual/install.texi (Linux): Update reference to required Linux
4797 kernel headers version.
4798 * INSTALL: Regenerated.
4800 * conform/data/stdlib.h-data [POSIX] (stddef.h): Do not allow
4802 [POSIX] (limits.h): Likewise.
4803 [POSIX] (math.h): Likewise.
4804 [POSIX] (sys/wait.h): Likewise.
4805 * conform/data/string.h-data [POSIX || UNIX98] (strtok_r): Require
4807 [POSIX] (stddef.h): Do not allow header inclusion.
4809 2014-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4811 * sysdeps/generic/symbol-hacks.h (memcpy): Add internal alias.
4813 2014-04-30 Yang Yingliang <yangyingliang@huawei.com>
4815 * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
4816 Return immediately after lll_futex_wake.
4818 2014-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
4821 * nscd/nscd-client.h (datahead_init_common): Initialize entire
4823 (datahead_init_pos): Call datahead_init_common early.
4824 (datahead_init_neg): Likewise.
4826 * nscd/nscd-client.h (datahead_init_common, datahead_init_pos,
4827 datahead_init_neg): New functions.
4828 * nscd/aicache.c (addhstaiX): Use them.
4829 * nscd/grpcache.c (cache_addgr): Likewise.
4830 * nscd/hstcache.c (cache_addhst): Likewise.
4831 * nscd/initgrcache.c (addinitgroupsX): Likewise.
4832 * nscd/netgroupcache.c (do_notfound): Likewise.
4833 (addgetnetgrentX): Likewise.
4834 (addinnetgrX): Likewise.
4835 * nscd/pwdcache.c (cache_addpw): Likewise.
4836 * nscd/servicescache.c (cache_addserv): Likewise.
4838 2014-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
4839 Atsushi Onoe <atsushi@onoe.org>
4844 * resolv/res_query.c (__libc_res_nsearch): Return if at least
4845 one response is valid.
4846 * resolv/res_send.c (send_dg): Check for validity of other
4847 response if the current response is a referral.
4849 2014-04-29 Steve Ellcey <sellcey@mips.com>
4851 * iconv/skeleton.c (ONE_DIRECTION): Set default value if not set.
4853 2014-04-29 Stefan Liebler <stli@linux.vnet.ibm.com>
4856 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl):
4857 Always divide by positive zero when computing -Inf result.
4858 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
4859 * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
4861 2014-04-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4863 * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Do not update
4864 FPSCR if value do not change.
4865 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
4866 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Likewise.
4867 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
4868 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
4869 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Likewise.
4870 * sysdeps/powerpc/fpu/fenv_libc.h (fenv_reg_to_exceptions): New helper
4873 2014-05-29 Carlos O'Donell <carlos@systemhalted.org>
4875 * sysdeps/hppa: Move directory from ports/sysdeps/hppa.
4876 * sysdeps/unix/sysv/linux/hppa: Move directory from
4877 ports/systeps/unix/sysv/linux/hppa.
4878 * README: Update listing for hppa-*-linux-gnu.
4880 2014-04-28 Ondřej Bílka <neleai@seznam.cz>
4883 * manual/stdio.texi (Hook functions): Fix types of stream hook
4886 * socket/sys/socket.h: Fix typo in comment.
4888 2014-04-28 Wilco <wdijkstr@arm.com>
4890 * sysdeps/arm/fenv_private.h: New file.
4891 * sysdeps/arm/math_private.h: New file.
4892 * sysdeps/arm/fpu_control.h: Add _FPU_MASK_NCZV and _FPU_MASK_EXCEPT.
4894 2014-04-25 H.J. Lu <hongjiu.lu@intel.com>
4896 * sysdeps/x86/bits/link.h (La_x86_64_regs): Replace __int128
4898 (La_x86_64_retval): Likewise.
4900 2014-04-24 Ian Bolton <ian.bolton@arm.com>
4902 * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept): Don't write to
4903 fpsr if value didn't change.
4904 * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept): Don't write
4905 to fpcr if value didn't change.
4906 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Likewise.
4907 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Don't write to
4908 fpsr or fpcr if value didn't change.
4909 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
4910 * sysdeps/aarch64/fpu/fesetround.c (fesetround): Don't write to
4911 fpcr if value didn't change.
4912 * sysdeps/aarch64/fpu/fsetexcptflg.c (fesetexceptflag): Don't write
4913 to fpsr if value didn't change.
4915 2014-02-23 Siddhesh Poyarekar <siddhesh@redhat.com>
4917 * nptl/tst-sem3.c: Use test-skeleton.c
4918 (main): Rename to do_test. Use return instead of
4920 * nptl/tst-sem4.c: Use test-skeleton.c
4921 (main): Rename to do_test.
4923 2014-04-22 David S. Miller <davem@davemloft.net>
4925 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h
4926 (struct sigaction): New struct member __glibc_reserved0, change
4927 type of sa_flags to int.
4929 2014-04-22 Yufeng Zhang <yufeng.zhang@arm.com>
4931 * stdlib/longlong.h (count_leading_zeros, count_trailing_zeros)
4932 (COUNT_LEADING_ZEROS_0): Define for AArch64.
4934 2014-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
4936 * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Include atomic.h.
4937 * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Likewise.
4939 2014-04-22 Will Newton <will.newton@linaro.org>
4940 Venkataramanan Kumar <venkataramanan.kumar@linaro.org>
4942 * sysdeps/aarch64/__longjmp.S: Include stap-probe.h.
4943 (__longjmp): Add longjmp and longjmp_target SystemTap
4945 * sysdeps/aarch64/setjmp.S: Include stap-probe.h.
4946 (__sigsetjmp): Add setjmp SystemTap probe.
4948 2014-04-17 Carlos O'Donell <carlos@redhat.com>
4950 * manual/intro.texi (Roadmap to the manual): Sort chapter listing to
4953 2014-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4955 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_once.c: Remove file.
4957 * sysdeps/powerpc/fpu/fenv_private.h
4958 (libc_feholdexcept_setroundl_ctx): Define to
4959 libc_feholdexcept_setround_ppc_ctx.
4960 (libc_fesetenvl_ctx): Define to libc_fesetenv_ppc_ctx.
4961 (libc_feholdsetroundl_ctx): Define to libc_feholdsetround_ppc_ctx.
4962 (libc_feresetroundl_ctx): Define to libc_feresetround_ppc_ctx.
4963 (libc_feupdateenvl_ctx): libc_feupdateenv_ppc_ctx.
4965 2014-04-17 Ian Bolton <ian.bolton@arm.com>
4967 * sysdeps/aarch64/math-tests.h: New file.
4969 2014-04-17 Sihai Yao <sihai.ysh@alibaba-inc.com>
4971 * sysdeps/x86_64/multiarch/ifunc-defines.sym (COMMON_CPUID_INDEX_7):
4973 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
4974 Check and set bit_AVX2_Usable.
4975 * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX2_Usable): New
4977 (bit_AVX2): Likewise.
4978 (index_AVX2_Usable): Likewise.
4979 (CPUID_AVX2): Likewise.
4980 (HAS_AVX2): Likewise.
4982 2014-04-17 Will Newton <will.newton@linaro.org>
4984 * manual/setjmp.texi (System V contexts): Add note that
4985 calling setcontext on a context created by a call to a
4986 signal handler is undefined. Update text to note that
4987 setcontext from a signal handler is possible but not
4991 * stdlib/tst-setcontext.c: Include signal.h.
4992 (main): Check that the signal stack before and
4993 after swapcontext is the same.
4995 * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext):
4996 Re-implement to restore registers in user code and avoid
4997 rt_sigreturn system call.
4999 2014-04-17 Wilco <wdijkstr@arm.com>
5001 * sysdeps/arm/math-tests.h: New file: Set ARM math-test settings.
5002 * sysdeps/generic/math-tests.h: Add macro (EXCEPTION_ENABLE_SUPPORTED).
5003 * math/test-fenv.c: Skip exception trap tests on targets which only
5004 support non-stop mode.
5006 2014-04-17 Ian Bolton <ian.bolton@arm.com>
5007 Wilco Dijkstra <wilco.dijkstra@arm.com>
5009 * sysdeps/aarch64/fpu/math_private.h (HAVE_RM_CTX)
5010 (libc_feholdsetround_aarch64_ctx)
5011 (libc_feholdsetround_ctx, libc_feholdsetroundf_ctx)
5012 (libc_feholdsetroundl_ctx, libc_feresetround_aarch64_ctx)
5013 (libc_feresetround_ctx, libc_feresetroundf_ctx)
5014 (libc_feresetroundl_ctx, libc_feresetround_noex_aarch64_ctx)
5015 (libc_feresetround_noex_ctx, libc_feresetround_noexf_ctx)
5016 (libc_feresetround_noexl_ctx): Define.
5018 2014-04-16 Richard Henderson <rth@redhat.com>
5020 * sysdeps/unix/sysv/linux/alpha/nptl/pthread_once.c: Remove.
5022 * sysdeps/alpha/Makefile [debug] (CFLAGS-backtrace.c): Enable
5025 * sysdeps/unix/alpha/sysdep.h (__pointer_chk_guard): Remove
5026 const from the non-libc, non-ldso copy.
5028 * sysdeps/alpha/libm-test-ulps: Regenerate.
5030 2014-04-16 Ian Bolton <ian.bolton@arm.com>
5031 Wilco Dijkstra <wilco.dijkstra@arm.com>
5033 * sysdeps/aarch64/fpu/math_private.h: New file.
5035 2014-04-16 Marcus Shawcroft <marcus.shawcroft@arm.com>
5037 * sysdeps/aarch64/libm-test-ulps: Regenerate.
5039 2014-04-16 Igor Zamyatin <igor.zamyatin@intel.com>
5041 * sysdeps/x86_64/bits/link.h (La_x86_64_regs): Add lr_bnd.
5042 (La_x86_64_retval): Add lrv_bnd0 and lrv_bnd1.
5043 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Save
5044 Intel MPX bound registers before _dl_profile_fixup.
5045 * sysdeps/x86_64/dl-trampoline.h: Restore Intel MPX bound
5046 registers after _dl_profile_fixup. Save and restore bound
5047 registers bnd0/bnd1 when calling _dl_call_pltexit.
5048 * sysdeps/x86_64/link-defines.sym (BND_SIZE): New.
5049 (LR_BND_OFFSET): Likewise.
5050 (LRV_BND0_OFFSET): Likewise.
5051 (LRV_BND1_OFFSET): Likewise.
5053 2014-04-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
5055 * sysdeps/mach/hurd/tls.h (dtv, dtv_t, tcbhead_t): Move declarations
5057 * sysdeps/mach/hurd/i386/tls.h: ... here.
5058 (tcbhead_t): Add multiple_threads, sysinfo, stack_guard,
5059 pointer_guard, gscope_flag, private_futex, __private_tm, __private_ss
5062 2014-04-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
5064 * sysdeps/mach/munmap.c (__munmap): Return EINVAL if `addr' is 0.
5066 2014-04-16 Stefan Liebler <stli@linux.vnet.ibm.com>
5068 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
5070 2014-04-16 Stefan Liebler <stli@linux.vnet.ibm.com>
5073 * sysdeps/s390/configure.ac: Check for Binutils >= 2.24.
5074 * sysdeps/s390/configure: Regenerate.
5077 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l):
5078 Set round-to-nearest internally to reduce error accumulation.
5080 2014-04-16 Alan Modra <amodra@gmail.com>
5084 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Rewrite.
5085 * math/libm-test.inc (frexp_test_data): Add tests.
5086 * NEWS: Update fixed bug list.
5088 2014-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
5090 * benchtests/Makefile: Depend on libraries in build directory.
5091 (bench-math): Separate out math tests.
5092 (bench-pthread): Separate out pthread tests.
5093 (bench): Include math and pthread tests.
5095 2014-04-14 Carlos O'Donell <carlos@redhat.com>
5098 * csu/libc-start.c (LIBC_START_MAIN) [!SHARED]: Call
5099 _dl_debug_initialize.
5101 * configure.ac: Remove SELinux header check.
5102 * configure: Regenerate.
5103 * nscd/selinux.c (perms): Array of const char* to permission names.
5104 (nscd_request_avc_has_perm): Call security_deny_unknown to find
5105 default policy. Call string_to_security_class and string_to_av_perm to
5106 translate strings. Enforce default policy and call avs_has_perm with
5107 results of translated strings.
5109 2014-04-13 David S. Miller <davem@davemloft.net>
5111 * sysdeps/sparc/fpu/libm-test-ulps: Update.
5113 2014-04-12 Allan McRae <allan@archlinux.org>
5116 * manual/string.texi (Collation Functions): Fix qsort argument
5118 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
5120 2014-04-11 Chris Metcalf <cmetcalf@tilera.com>
5122 * math/test-fenv-preserve.c [FE_ALL_EXCEPT == 0] (do_test):
5123 Make the test a no-op if there are no exceptions defined.
5125 2014-04-11 Paul Pluzhnikov <ppluzhnikov@google.com>
5127 * elf/Makefile (tests): make tst-dlopen-aout conditional on
5128 enable-hardcoded-path-in-tests
5130 2014-04-11 Will Newton <will.newton@linaro.org>
5132 * benchtests/Makefile (extra-objs): Add json-lib.o.
5133 (bench-func): Tidy up JSON output.
5134 * benchtests/bench-skeleton.c: Include json-lib.h.
5135 (main): Use JSON library functions to do output of
5137 * benchtests/bench-timing-type.c (main): Output the
5138 timing type simply, leaving formatting to the user.
5139 * benchtests/json-lib.c: New file.
5140 * benchtests/json-lib.h: Likewise.
5142 2014-04-11 Torvald Riegel <triegel@redhat.com>
5145 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_once.c: Moved to ...
5146 * nptl/sysdeps/unix/sysv/linux/pthread_once.c: ... here. Add missing
5147 memory barriers. Add comments.
5148 * sysdeps/unix/sysv/linux/aarch64/nptl/pthread_once.c: Remove file.
5149 * sysdeps/unix/sysv/linux/arm/nptl/pthread_once.c: Remove file.
5150 * sysdeps/unix/sysv/linux/ia64/nptl/pthread_once.c: Remove file.
5151 * sysdeps/unix/sysv/linux/m68k/nptl/pthread_once.c: Remove file.
5152 * sysdeps/unix/sysv/linux/mips/nptl/pthread_once.c: Remove file.
5153 * sysdeps/unix/sysv/linux/tile/nptl/pthread_once.c: Remove file.
5155 2014-04-11 Stefan Liebler <stli@linux.vnet.ibm.com>
5157 * sysdeps/s390/s390-32/configure.ac: Unify file with ...
5158 * sysdeps/s390/s390-64/configure.ac: ... this ...
5159 * sysdeps/s390/configure.ac: ... to here.
5160 * sysdeps/s390/s390-32/configure: Delete file.
5161 * sysdeps/s390/s390-64/configure: Delete file.
5162 * sysdeps/s390/configure: Regenerate.
5164 2014-04-11 Joseph Anthony Pasquale Holsten <joseph@josephholsten.com>
5166 * resolv/res_query.c (__libc_res_nsearch): Fix typo in comment.
5168 2014-04-11 Will Newton <will.newton@linaro.org>
5170 * malloc/malloc.c [!MALLOC_DEBUG]: #define MALLOC_DEBUG
5171 to zero if it is not defined elsewhere. (mtrim): Test
5172 the value of MALLOC_DEBUG with #if rather than #ifdef.
5174 2014-04-10 Torvald Riegel <triegel@redhat.com>
5176 * benchtests/pthread_once-inputs: New file.
5177 * benchtests/pthread_once-source.c: New file.
5178 * benchtests/README: Update documentation.
5180 2014-04-09 Igor Zamyatin <igor.zamyatin@intel.com>
5181 H.J. Lu <hongjiu.lu@intel.com>
5183 * config.h.in (HAVE_MPX_SUPPORT): New #undef.
5184 * sysdeps/x86_64/configure.ac: Set HAVE_MPX_SUPPORT.
5185 * sysdeps/x86_64/configure: Regenerated.
5186 * sysdeps/x86_64/dl-trampoline.S (REGISTER_SAVE_AREA): New
5188 (REGISTER_SAVE_RAX): Likewise.
5189 (REGISTER_SAVE_RCX): Likewise.
5190 (REGISTER_SAVE_RDX): Likewise.
5191 (REGISTER_SAVE_RSI): Likewise.
5192 (REGISTER_SAVE_RDI): Likewise.
5193 (REGISTER_SAVE_R8): Likewise.
5194 (REGISTER_SAVE_R9): Likewise.
5195 (REGISTER_SAVE_BND0): Likewise.
5196 (REGISTER_SAVE_BND1): Likewise.
5197 (REGISTER_SAVE_BND2): Likewise.
5198 (_dl_runtime_resolve): Use them. Save and restore Intel MPX
5199 bound registers when calling _dl_fixup.
5201 2014-04-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5203 * bits/string.h (_STRING_ARCH_unaligned): Define it to 0.
5204 * crypt/sha256.c (_STRING_ARCH_unaligned): Check its value instead
5206 * iconv/gconv_simple.c (_STRING_ARCH_unaligned): Likewise.
5207 * iconv/loop.c (_STRING_ARCH_unaligned): Likewise.
5208 * iconv/skeleton.c (_STRING_ARCH_unaligned): Likewise.
5209 * nscd/nscd_gethst_r.c (_STRING_ARCH_unaligned): Likewise.
5210 * nscd/nscd_getserv_r.c (_STRING_ARCH_unaligned): Likewise.
5211 * nscd/nscd_helper.c (_STRING_ARCH_unaligned): Likewise.
5212 * resolv/res_send.c (_STRING_ARCH_unaligned): Likewise.
5214 2014-04-09 Peter Brett <peter@peter-b.co.uk>
5217 * sysdeps/posix/pathconf.c (__pathconf): Use statvfs64() for
5218 pathconf(_PC_NAME_MAX).
5220 2014-04-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5222 * nptl/sysdeps/pthread/pthread.h (__PTHREAD_MUTEX_HAVE_ELISION):
5224 (__PTHREAD_SPINS): Move definition to ...
5225 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
5226 (__PTHREAD_SPINS): ... here.
5227 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
5228 (__PTHREAD_SPIN): Likewise.
5229 * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h
5230 (__PTHREAD_SPIN): Likewise.
5231 * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h
5232 (__PTHREAD_SPIN): Likewise.
5233 * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h
5234 (__PTHREAD_SPIN): Likewise.
5235 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
5236 (__PTHREAD_SPIN): Likewise.
5237 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
5238 (__PTHREAD_SPIN): Likewise.
5239 * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h
5240 (__PTHREAD_SPIN): Likewise.
5241 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
5242 (__PTHREAD_SPIN): Likewise.
5243 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
5244 (__PTHREAD_SPIN): Likewise.
5245 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
5246 (__PTHREAD_SPIN): Likewise.
5247 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
5248 (__PTHREAD_SPIN): Likewise.
5249 * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h
5250 (__PTHREAD_SPIN): Likewise.
5252 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: New file.
5253 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: new file.
5254 * sysdeps/powerpc/powerpc64/power6x/multiarch/Implies: New file.
5255 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove multiarch
5257 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Likewise.
5258 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: Likewise.
5259 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: Likewise.
5260 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: Adjust
5262 * sysdeps/powerpc/powerpc64/power7/strncat.S (STRLEN): Define correct
5263 strlen symbol for non multi-arch builds.
5264 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (__isnan): Add
5265 missing hidden_def and weak_alias.
5267 2014-04-08 Carlos O'Donell <carlos@redhat.com>
5269 * manual/ipc.texi (sem_close): AC-unsafe because of aculock.
5271 2014-04-07 Will Newton <will.newton@linaro.org>
5273 * string/basename.c [HAVE_CONFIG_H]: Remove #ifdef and
5274 and contents. [!_LIBC] Remove #ifndef and contents.
5275 (basename): Use ANSI prototype. [_LIBC] Remove #idef.
5276 * string/memccpy.c (__memccpy): Use ANSI prototype.
5277 * string/memfrob.c (memfrob): Likewise.
5278 * string/strcoll.c (STRCOLL): Likewise.
5279 * string/strlen.c (strlen): Likewise.
5280 * string/strtok.c (STRTOK): Likewise.
5281 * string/strcat.c: Remove unused #include of memcopy.h.
5282 (strcat): Use ANSI prototype.
5283 * string/strchr.c: Remove unused #include of memcopy.h.
5284 (strchr): Use ANSI prototype.
5285 * string/strcmp.c: Remove unused #include of memcopy.h.
5286 (strcmp): Use ANSI prototype.
5287 * string/strcpy.c: Remove unused #include of memcopy.h.
5288 (strcpy): Use ANSI prototype.
5290 2014-04-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5292 * Makeconfig (CPPFLAGS): Add config-extra-cppflags to list.
5293 * config.make.in (config-extra-cppflags): Set it from
5294 libc_extra_cppflags.
5295 * configure.ac (libc_extra_cflags): Make it accumulate over
5296 configure fragments.
5297 (libc_extra_cppflags): New flag.
5298 * configure. Regenerate.
5299 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
5300 (libc_cv_ppc64_def_call_elf): Define it to yes if compiler does
5301 not set _CALL_ELF and add -D_CALL_ELF=1 to libc_extra_cppflags.
5302 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
5305 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Fix
5306 result for FE_DOWNWARD rounding mode.
5307 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
5309 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5311 2014-04-04 Chris Metcalf <cmetcalf@tilera.com>
5313 * sysdeps/tile/dl-runtime.c (_dl_unmap): Fix cut-and-paste bug
5314 in function argument name.
5316 2014-04-03 David Svoboda <svoboda@cert.org>
5319 * manual/stdio.texi (Line-Oriented Input): Document buffer allocation
5322 2014-04-03 Roland McGrath <roland@hack.frob.com>
5324 * elf/dl-unmap-segments.h: New file.
5325 * sysdeps/generic/ldsodefs.h
5326 (DL_UNMAP): Use _dl_unmap_segments in place of __munmap.
5327 * elf/dl-close.c: Include <dl-unmap-segments.h>.
5328 * elf/dl-fptr.c: Likewise.
5329 (_dl_unmap): Use _dl_unmap_segments in place of __munmap.
5330 * sysdeps/aarch64/tlsdesc.c: Likewise.
5331 * sysdeps/arm/tlsdesc.c: Likewise.
5332 * sysdeps/i386/tlsdesc.c: Likewise.
5333 * sysdeps/tile/dl-runtime.c: Likewise.
5334 * sysdeps/x86_64/tlsdesc.c: Likewise.
5335 * elf/dl-load.h: New file.
5336 * elf/dl-load.c: Include it.
5337 (MAP_FILE, MAP_COPY, MAP_BASE_ADDR):
5338 Macros moved to dl-load.h.
5339 (ELF_PREFERRED_ADDRESS_DATA, ELF_PREFERRED_ADDRESS): Likewise.
5340 (_dl_map_object_from_fd): Type 'struct loadcmd' moved to dl-load.h.
5341 Use _dl_unmap_segments in place of __munmap.
5342 Break out segment-mapping loop into ...
5343 * elf/dl-map-segments.h (_dl_map_segments): ... here, in new file.
5345 2014-04-03 Will Newton <will.newton@linaro.org>
5347 * elf/dl-lookup.c (do_lookup_x): Remove comment
5348 referring to nested function and move variable
5349 declarations down to before first use.
5351 2014-04-02 Joseph Myers <joseph@codesourcery.com>
5355 * math/s_catan.c (__catan): Avoid passing -0 denominator to atan2
5357 * math/s_catanf.c (__catanf): Likewise.
5358 * math/s_catanh.c (__catanh): Likewise.
5359 * math/s_catanhf.c (__catanhf): Likewise.
5360 * math/s_catanhl.c (__catanhl): Likewise.
5361 * math/s_catanl.c (__catanl): Likewise.
5362 * sysdeps/ieee754/flt-32/e_logf.c (__ieee754_logf): Always divide
5363 by positive zero when computing -Inf result.
5364 * math/libm-test.inc (catan_test): Use ALL_RM_TEST.
5365 (catanh_test): Likewise.
5366 * sysdeps/i386/fpu/libm-test-ulps: Update.
5367 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5370 * math/s_clog.c (__clog): Use math_force_eval to ensure underflow
5371 instead of using underflowing value in computing result.
5372 * math/s_clog10.c (__clog10): Likewise.
5373 * math/s_clog10f.c (__clog10f): Likewise.
5374 * math/s_clog10l.c (__clog10l): Likewise.
5375 * math/s_clogf.c (__clogf): Likewise.
5376 * math/s_clogl.c (__clogl): Likewise.
5377 * math/libm-test.inc (clog_test): Use ALL_RM_TEST.
5378 (clog10_test): Likewise.
5379 * sysdeps/i386/fpu/libm-test-ulps: Update.
5380 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5382 2014-04-02 Alan Modra <amodra@gmail.com>
5385 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Correct
5386 output when value is near a power of two. Use int64_t for lx and
5387 remove casts. Use decimal rather than hex exponent constants.
5388 Don't use long double multiplication when double will suffice.
5389 * math/libm-test.inc (nextafter_test_data): Add tests.
5390 * NEWS: Add 16739 and 16786 to bug list.
5392 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Correct stream hint.
5394 * sysdeps/powerpc/powerpc64/start.S: Add @toc to toc symbol reference.
5396 2014-04-01 Will Newton <will.newton@linaro.org>
5398 * benchtests/Makefile (CFLAGS-bench-ffs.c): Add
5399 -fno-builtin. (CFLAGS-bench-ffsll.c): Likewise.
5401 2014-04-01 Florian Weimer <fweimer@redhat.com>
5404 * nptl/nptl-init.c (sighandler_setxid): Check system call result.
5405 * nptl/tst-setuid2.c: New file.
5406 * nptl/Makefile (xtests): Add tst-setuid2.
5408 2014-04-01 Alan Modra <amodra@gmail.com>
5411 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Don't trash stack.
5413 2014-03-31 Joseph Myers <joseph@codesourcery.com>
5417 * math/w_scalb.c (__scalb): For non-SVID mode, check result and
5418 set errno as appropriate.
5419 * math/w_scalbf.c (__scalbf): Likewise.
5420 * math/w_scalbl.c (__scalbl): Likewise.
5421 * math/gen-libm-test.pl (parse_args): Handle ERRNO_PLUS_OFLOW,
5422 ERRNO_MINUS_OFLOW, ERRNO_PLUS_UFLOW and ERRNO_MINUS_UFLOW.
5423 * math/libm-test.inc (scalb_test_data): Add errno expectations.
5427 * math/w_atan2.c: Include <errno.h>.
5428 (__atan2): Set errno for result underflowing to zero.
5429 * math/w_atan2f.c: Include <errno.h>.
5430 (__atan2f): Set errno for result underflowing to zero.
5431 * math/w_atan2l.c: Include <errno.h>.
5432 (__atan2l): Set errno for result underflowing to zero.
5433 * math/auto-libm-test-in: Don't allow missing errno for some atan2
5435 * math/auto-libm-test-out: Regenerated.
5437 2014-03-31 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5439 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
5440 Encode instruction correctly in little endian.
5441 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
5443 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
5445 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
5447 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
5450 2014-03-31 Joseph Myers <joseph@codesourcery.com>
5453 * sysdeps/unix/sysv/linux/kernel-features.h
5454 [__sparc__ && !__arch64__ && !__sparc_v9__]
5455 (__ASSUME_SET_ROBUST_LIST): Do not define.
5456 [__sparc__ && !__arch64__ && !__sparc_v9__]
5457 (__ASSUME_FUTEX_LOCK_PI): Likewise.
5458 [__sparc__ && !__arch64__ && !__sparc_v9__] (__ASSUME_REQUEUE_PI):
5460 * sysdeps/unix/sysv/linux/arm/kernel-features.h
5461 (__ASSUME_FUTEX_LOCK_PI): Undefine.
5462 (__ASSUME_REQUEUE_PI): Likewise.
5463 (__ASSUME_SET_ROBUST_LIST): Likewise.
5464 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
5465 [__LINUX_KERNEL_VERSION < 0x030a00] (__ASSUME_FUTEX_LOCK_PI):
5467 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
5468 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_FUTEX_LOCK_PI):
5470 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_REQUEUE_PI):
5472 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_SET_ROBUST_LIST):
5474 * sysdeps/unix/sysv/linux/mips/kernel-features.h
5475 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_FUTEX_LOCK_PI):
5477 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_REQUEUE_PI): Likewise.
5478 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_SET_ROBUST_LIST):
5482 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
5483 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_FUTIMESAT): Define.
5484 * sysdeps/unix/sysv/linux/microblaze/futimesat.c: New file.
5486 2014-03-31 Will Newton <will.newton@linaro.org>
5488 * benchtests/Makefile (bench): Add ffs and ffsll to list
5490 * benchtests/ffs-inputs: New file.
5491 * benchtests/ffsll-inputs: Likewise.
5493 2014-03-29 Joseph Myers <joseph@codesourcery.com>
5496 * math/e_scalb.c (__ieee754_scalb): Check second argument is not
5497 too large before casting to int.
5498 * math/e_scalbf.c (__ieee754_scalbf): Likewise.
5499 * math/e_scalbl.c (__ieee754_scalbl): Likewise.
5500 * math/libm-test.inc (scalb_test_data): Add more tests.
5502 2014-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
5504 * benchtests/Makefile (DETAILED_OPT): New make option.
5505 (bench-func): Run benchmark program with -d if DETAILED_OPT is
5507 * benchtests/bench-skeleton.c: Include stdbool.h.
5508 (main): Store and print timings per input.
5509 * benchtests/scripts/bench.py (STRUCT_TEMPLATE): Add timing
5510 member to each argument value.
5511 (EPILOGUE): Define new macros RESULT and RESULT_ACCUM.
5512 (_print_arg_data): Initialize per-input timing to 0.
5514 * benchtests/Makefile (timing-type): New binary.
5515 (bench-clean): Also remove bench-timing-type.
5516 (bench): New target for timing-type.
5517 (bench-func): Print output in JSON format.
5518 * benchtests/bench-skeleton.c (main): Print output in JSON
5520 * benchtests/bench-timing-type.c: New file.
5521 * benchtests/bench-timing.h (TIMING_TYPE): New macro.
5522 (TIMING_PRINT_STATS): Remove.
5523 * benchtests/scripts/bench.py (_print_arg_data): Store variant
5526 * benchtests/bench-modf.c: Remove.
5527 * benchtests/modf-inputs: New inputs file.
5529 2014-03-28 Joseph Myers <joseph@codesourcery.com>
5532 * math/s_clog10.c (M_PI_LOG10E): New macro.
5533 (__clog10): Use M_PI_LOG10E instead of M_PI when real and
5534 imaginary parts are 0.
5535 * math/s_clog10f.c (M_PI_LOG10Ef): New macro.
5536 (__clog10f): Use M_PI_LOG10Ef instead of M_PI when real and
5537 imaginary parts are 0.
5538 * math/s_clog10l.c (M_PI_LOG10El): New macro.
5539 (__clog10l): Use M_PI_LOG10El instead of M_PIl when real and
5540 imaginary parts are 0.
5541 * math/libm-test.inc (clog10_test_data): Update expected results
5542 for when real and imaginary parts are 0.
5544 2014-03-27 Paul Pluzhnikov <ppluzhnikov@google.com>
5546 * elf/dl-load.c: Finish conversion of __builtin_expect into
5549 2014-03-27 Joseph Myers <joseph@codesourcery.com>
5552 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]: Use
5553 1+x for argument with exponent below -67.
5554 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]:
5556 * math/auto-libm-test-in: Add more tests of exp.
5557 * math/auto-libm-test-out: Regenerated.
5559 2014-03-27 Siddhesh Poyarekar <siddhesh@redhat.com>
5562 * inet/getnetgrent_r.c (get_nonempty_val): New function.
5563 (nscd_getnetgrent): Use it.
5566 * nscd/netgroupcache.c (addgetnetgrentX): Use memmove instead
5569 2014-03-27 Andi Kleen <ak@linux.intel.com>
5571 * nptl/sysdeps/unix/sysv/linux/x86_64/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.
5577 * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_lock)
5578 (lll_robust_lock, lll_cond_lock, lll_timedlock)
5579 (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
5580 (lll_robust_unlock): Remove out of line section. Use cfi
5582 (LLL_STUB_UNWIND_INFO*): Remove.
5584 2014-03-27 Siddhesh Poyarekar <siddhesh@redhat.com>
5587 * nscd/netgroupcache.c (addinnetgrX): Succeed if triplet has
5590 2014-03-26 Paul Pluzhnikov <ppluzhnikov@google.com>
5592 * elf/dl-load.c: Convert __builtin_expect into __glibc_{un}likely.
5594 2014-03-26 Joseph Myers <joseph@codesourcery.com>
5597 * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Use fldenv after
5599 * math/test-fenv-preserve.c: New file.
5600 * math/Makefile (tests): Add test-fenv-preserve.
5602 2014-03-26 Will Newton <will.newton@linaro.org>
5604 * benchtests/bench-strtod.c (TIMEOUT): Define to 10.
5606 2014-03-25 Roland McGrath <roland@hack.frob.com>
5608 * scripts/versionlist.awk: Partition the version sets and emit all
5609 GLIBC_* (sorted) before all others (sorted).
5611 2014-03-25 Joseph Myers <joseph@codesourcery.com>
5613 * elf/Versions (libc) [EXPORT_UNWIND_FIND_FDE]: Add empty
5614 GLIBC_2.2.5 version.
5616 2014-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5618 * scripts/localplt.awk: Check for PLT generated by internal IFUNC
5621 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Revert
5624 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5626 2014-03-25 Andreas Schwab <schwab@suse.de>
5628 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Add out_fail2
5629 label to be used after in6ailist is initialized.
5631 2014-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5633 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
5634 (__PTHREAD_MUTEX_HAVE_ELISION): New define.
5636 2014-03-25 Joseph Myers <joseph@codesourcery.com>
5640 * math/gen-auto-libm-tests.c (fp_format_desc): Add field
5642 (fp_formats): Update initializers.
5643 (init_fp_formats): Initialize new field.
5644 (output_for_one_input_case): Allow underflow for results up to
5646 * math/libm-test.inc (log1p_test): Use ALL_RM_TEST.
5647 * math/auto-libm-test-in: Don't mark some underflows from asin and
5649 * math/auto-libm-test-out: Regenerated.
5650 * sysdeps/i386/fpu/libm-test-ulps: Update.
5651 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5653 2014-03-25 Andreas Schwab <schwab@suse.de>
5655 * libio/Makefile (tst-ftell-partial-wide-ENV)
5656 (tst-ftell-active-handler-ENV): Define.
5658 2014-03-25 Stefan Liebler <stli@linux.vnet.ibm.com>
5660 * NEWS: Add 16712, 16713, 16714 to fixed bug list.
5662 2014-03-24 Paul Pluzhnikov <ppluzhnikov@google.com>
5664 * elf/tst-dlopen-aout.c: Adjust comments. Use test-skeleton.c
5666 2014-03-24 Joseph Myers <joseph@codesourcery.com>
5668 * sysdeps/ieee754/dbl-64/e_exp.c: Include <math.h>.
5669 * sysdeps/x86_64/fpu/multiarch/e_exp.c
5670 [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
5672 2014-03-24 Paul Pluzhnikov <ppluzhnikov@google.com>
5675 * elf/dl-load.c (open_verify): Add mode parameter.
5676 Error early when ET_EXEC and mode does not have __RTLD_OPENEXEC.
5677 (open_path): Change from boolean 'secure' to complete flag 'mode'
5678 (_dl_map_object): Adjust.
5679 * elf/Makefile (tests): Add tst-dlopen-aout.
5680 * elf/tst-dlopen-aout.c: New test.
5682 2014-03-24 Stefan Liebler <stli@linux.vnet.ibm.com>
5685 * sysdeps/unix/sysv/linux/s390/bits/stat.h
5686 (struct stat): Rename member pad0 to __glibc_reserved0.
5689 * sysdeps/s390/s390-32/bits/wordsize.h
5690 (__WORDSIZE32_SIZE_ULONG): New define.
5691 * sysdeps/s390/s390-64/bits/wordsize.h
5692 (__WORDSIZE32_SIZE_ULONG): Likewise.
5693 * sysdeps/generic/stdint.h (SIZE_MAX):
5694 Define as UL if __WORDSIZE32_SIZE_ULONG.
5697 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
5698 (__glibc_reserved0): New variable.
5699 (sa_flags): Change type to int.
5701 * posix/Makefile (before-compile): Use += before-compile instead
5704 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
5705 (__PTHREAD_MUTEX_HAVE_ELISION): New define.
5707 2014-03-20 Andreas Schwab <schwab@suse.de>
5710 * sysdeps/posix/getaddrinfo.c (gaih_inet): Properly skip over
5711 non-matching result from nscd.
5713 2014-03-24 Siddhesh Poyarekar <siddhesh@redhat.com>
5715 * scripts/bench.py: Moved to ...
5716 * benchtests/scripts/bench.py: ... here.
5717 * benchtests/Makefile ($(objpfx)bench-%.c): Adjust.
5719 2014-03-24 Andreas Schwab <schwab@suse.de>
5722 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Use
5723 alloca_account and account alloca use for struct in6ailist.
5725 2014-03-24 Joseph Myers <joseph@codesourcery.com>
5728 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use original
5729 rounding mode to recompute results that overflow to infinity or
5731 * math/auto-libm-test-in: Don't mark tests as expected to fail for
5733 * math/auto-libm-test-out: Regenerated.
5734 * math/libm-test.inc (ccos_test): Use ALL_RM_TEST.
5735 (ccosh_test): Likewise.
5736 (csin_test_data): Use plus_oflow.
5737 (csin_test): Use ALL_RM_TEST.
5738 (csinh_test_data): Use plus_oflow.
5739 (csinh_test): Use ALL_RM_TEST.
5740 * sysdeps/i386/fpu/libm-test-ulps: Update.
5741 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5743 2014-03-21 Joseph Myers <joseph@codesourcery.com>
5745 * sysdeps/mips/bits/wordsize.h: Include <sgidefs.h>.
5746 * sysdeps/unix/sysv/linux/mips/getrlimit64.c: Likewise.
5747 * sysdeps/unix/sysv/linux/mips/setrlimit64.c: Likewise.
5750 * sysdeps/i386/fpu/e_log.S (__ieee754_log): Take absolute value
5752 * sysdeps/i386/fpu/e_logf.S (__ieee754_logf): Likewise.
5753 * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Likewise.
5754 * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
5755 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Return +0 when
5757 * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Likewise.
5758 * sysdeps/x86_64/fpu/e_logl.S: Take absolute value when x - 1 is
5760 * math/libm-test.inc (log_test): Use ALL_RM_TEST.
5761 * sysdeps/i386/fpu/libm-test-ulps: Update.
5762 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5764 2014-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
5766 * scripts/bench.pl: Remove file.
5767 * scripts/bench.py: New benchmark script.
5768 * benchtests/Makefile ($(objpfx)bench-%.c): Use it.
5769 * benchtests/README: Mention python dependency.
5770 * scripts/pylintrc: New file.
5771 * scripts/pylint: New file.
5773 * bits/mathdef.h: Use #ifdef instead of #if.
5774 * sysdeps/arm/bits/mathdef.h [defined __USE_ISOC99 && defined
5775 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
5776 * sysdeps/tile/bits/mathdef.h [defined __USE_ISOC99 && defined
5777 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
5778 * sysdeps/x86/bits/mathdef.h [defined __USE_ISOC99 && defined
5779 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
5781 2014-03-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5782 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
5784 * string/strpbrk.c (strpbrk): Using macro to redefine symbol name.
5785 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpbrk-power7
5786 and strpbrk-ppc64 objects.
5787 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
5788 (__libc_ifunc_impl_list): Add new strpbrk optimized symbols.
5789 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-power7.S: New file:
5790 multiarch strpbrk for POWER7.
5791 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: New file:
5792 multiarch strpbrk for PPC64.
5793 * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: New file: strpbrk
5795 * sysdeps/powerpc/powerpc64/power7/strpbrk.S: New file: optimited
5798 2014-03-20 Joseph Myers <joseph@codesourcery.com>
5800 * math/libm-test.inc (asinh_test): Use ALL_RM_TEST.
5801 (atan_test): Likewise.
5802 (atanh_test_data): Use NO_TEST_INLINE for two tests.
5803 (atanh_test): Use ALL_RM_TEST.
5804 (atan2_test_data): Likewise.
5805 (cabs_test): Likewise.
5806 (cacosh_test): Likewise.
5807 (carg_test): Likewise.
5808 (casin_test): Likewise.
5809 (casinh_test): Likewise.
5810 (cbrt_test): Likewise.
5811 (csqrt_test): Likewise.
5812 (erf_test): Likewise.
5813 (erfc_test): Likewise.
5814 (pow10_test): Likewise.
5815 (exp2_test): Likewise.
5816 (hypot_test): Likewise.
5817 (j0_test): Likewise.
5818 (j1_test): Likewise.
5819 (lgamma_test): Likewise.
5820 (gamma_test): Likewise.
5821 (sincos_test): Likewise.
5822 (tanh_test): Likewise.
5823 (y0_test): Likewise.
5824 (y1_test): Likewise.
5825 * sysdeps/i386/fpu/libm-test-ulps: Update.
5826 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5828 2014-03-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5830 * string/strcspn.c (strcspn): Using macro to redefine symbol name.
5831 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcspn-power7
5832 and strcspn-ppc64 objects.
5833 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
5834 (__libc_ifunc_impl_list): Add new strcspn optimized symbols.
5835 * sysdeps/powerpc/powerpc64/multiarch/strcspn-power7.S: New file:
5836 multiarch strcspn for POWER7.
5837 * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: New file:
5838 multiarch strcspn for PPC64.
5839 * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: New file: strcspn
5841 * sysdeps/powerpc/powerpc64/power7/strcspn.S: New file: optimited
5844 2014-03-20 Joseph Myers <joseph@codesourcery.com>
5846 * math/gen-libm-test.pl (generate_testfile): Expect only function
5847 name as argument to AUTO_TESTS_* and pass results for all rounding
5848 modes to parse_args.
5849 (parse_auto_input): Separate inputs of automatic tests from
5850 outputs before storing in %auto_tests.
5851 * math/libm-test.inc (acos_test_data): Update call to
5853 (acos_test): Use ALL_RM_TEST.
5854 (acos_tonearest_test_data): Remove.
5855 (acos_test_tonearest): Likewise.
5856 (acos_towardzero_test_data): Likewise.
5857 (acos_test_towardzero): Likewise.
5858 (acos_downward_test_data): Likewise.
5859 (acos_test_downward): Likewise.
5860 (acos_upward_test_data): Likewise.
5861 (acos_test_upward): Likewise.
5862 (acosh_test_data): Update call to AUTO_TESTS_f_f.
5863 (asin_test_data): Likewise.
5864 (asin_test): Use ALL_RM_TEST.
5865 (asin_tonearest_test_data): Remove.
5866 (asin_test_tonearest): Likewise.
5867 (asin_towardzero_test_data): Likewise.
5868 (asin_test_towardzero): Likewise.
5869 (asin_downward_test_data): Likewise.
5870 (asin_test_downward): Likewise.
5871 (asin_upward_test_data): Likewise.
5872 (asin_test_upward): Likewise.
5873 (asinh_test_data): Update call to AUTO_TESTS_f_f.
5874 (atan_test_data): Likewise.
5875 (atanh_test_data): Likewise.
5876 (atan2_test_data): Update call to AUTO_TESTS_ff_f.
5877 (cabs_test_data): Update call to AUTO_TESTS_c_f.
5878 (carg_test_data): Likewise.
5879 (cbrt_test_data): Update call to AUTO_TESTS_f_f.
5880 (ccos_test_data): Update call to AUTO_TESTS_c_c.
5881 (ccosh_test_data): Likewise.
5882 (cexp_test_data): Likewise.
5883 (clog_test_data): Likewise.
5884 (clog10_test_data): Likewise.
5885 (cos_test_data): Update call to AUTO_TESTS_f_f.
5886 (cos_test): Use ALL_RM_TEST.
5887 (cos_tonearest_test_data): Remove.
5888 (cos_test_tonearest): Likewise.
5889 (cos_towardzero_test_data): Likewise.
5890 (cos_test_towardzero): Likewise.
5891 (cos_downward_test_data): Likewise.
5892 (cos_test_downward): Likewise.
5893 (cos_upward_test_data): Likewise.
5894 (cos_test_upward): Likewise.
5895 (cosh_test_data): Update call to AUTO_TESTS_f_f.
5896 (cosh_test): Use ALL_RM_TEST.
5897 (cosh_tonearest_test_data): Remove.
5898 (cosh_test_tonearest): Likewise.
5899 (cosh_towardzero_test_data): Likewise.
5900 (cosh_test_towardzero): Likewise.
5901 (cosh_downward_test_data): Likewise.
5902 (cosh_test_downward): Likewise.
5903 (cosh_upward_test_data): Likewise.
5904 (cosh_test_upward): Likewise.
5905 (cpow_test_data): Update call to AUTO_TESTS_cc_c.
5906 (csqrt_test_data): Update call to AUTO_TESTS_c_c.
5907 (ctan_test_data): Likewise.
5908 (ctan_test): Use ALL_RM_TEST.
5909 (ctan_tonearest_test_data): Remove.
5910 (ctan_test_tonearest): Likewise.
5911 (ctan_towardzero_test_data): Likewise.
5912 (ctan_test_towardzero): Likewise.
5913 (ctan_downward_test_data): Likewise.
5914 (ctan_test_downward): Likewise.
5915 (ctan_upward_test_data): Likewise.
5916 (ctan_test_upward): Likewise.
5917 (ctanh_test_data): Update call to AUTO_TESTS_c_c.
5918 (ctanh_test): Use ALL_RM_TEST.
5919 (ctanh_tonearest_test_data): Remove.
5920 (ctanh_test_tonearest): Likewise.
5921 (ctanh_towardzero_test_data): Likewise.
5922 (ctanh_test_towardzero): Likewise.
5923 (ctanh_downward_test_data): Likewise.
5924 (ctanh_test_downward): Likewise.
5925 (ctanh_upward_test_data): Likewise.
5926 (ctanh_test_upward): Likewise.
5927 (erf_test_data): Update call to AUTO_TESTS_f_f.
5928 (erfc_test_data): Likewise.
5929 (exp_test_data): Likewise.
5930 (exp_test): Use ALL_RM_TEST.
5931 (exp_tonearest_test_data): Remove.
5932 (exp_test_tonearest): Likewise.
5933 (exp_towardzero_test_data): Likewise.
5934 (exp_test_towardzero): Likewise.
5935 (exp_downward_test_data): Likewise.
5936 (exp_test_downward): Likewise.
5937 (exp_upward_test_data): Likewise.
5938 (exp_test_upward): Likewise.
5939 (exp10_test_data): Update call to AUTO_TESTS_f_f.
5940 (exp10_test): Use ALL_RM_TEST.
5941 (exp10_tonearest_test_data): Remove.
5942 (exp10_test_tonearest): Likewise.
5943 (exp10_towardzero_test_data): Likewise.
5944 (exp10_test_towardzero): Likewise.
5945 (exp10_downward_test_data): Likewise.
5946 (exp10_test_downward): Likewise.
5947 (exp10_upward_test_data): Likewise.
5948 (exp10_test_upward): Likewise.
5949 (exp2_test_data): Update call to AUTO_TESTS_f_f.
5950 (expm1_test_data): Likewise.
5951 (expm1_test): Use ALL_RM_TEST.
5952 (expm1_tonearest_test_data): Remove.
5953 (expm1_test_tonearest): Likewise.
5954 (expm1_towardzero_test_data): Likewise.
5955 (expm1_test_towardzero): Likewise.
5956 (expm1_downward_test_data): Likewise.
5957 (expm1_test_downward): Likewise.
5958 (expm1_upward_test_data): Likewise.
5959 (expm1_test_upward): Likewise.
5960 (fma_test_data): Update call to AUTO_TESTS_fff_f.
5961 (fma_test): Use ALL_RM_TEST.
5962 (fma_towardzero_test_data): Remove.
5963 (fma_test_towardzero): Likewise.
5964 (fma_downward_test_data): Likewise.
5965 (fma_test_downward): Likewise.
5966 (fma_upward_test_data): Likewise.
5967 (fma_test_upward): Likewise.
5968 (hypot_test_data): Update call to AUTO_TESTS_ff_f.
5969 (j0_test_data): Update call to AUTO_TESTS_f_f.
5970 (j1_test_data): Likewise.
5971 (jn_test_data): Update call to AUTO_TESTS_if_f.
5972 (lgamma_test_data): Update call to AUTO_TESTS_f_f1.
5973 (log_test_data): Update call to AUTO_TESTS_f_f.
5974 (log10_test_data): Likewise.
5975 (log1p_test_data): Likewise.
5976 (log2_test_data): Likewise.
5977 (pow_test_data): Update call to AUTO_TESTS_ff_f.
5978 (pow_tonearest_test_data): Likewise.
5979 (sin_test_data): Update call to AUTO_TESTS_f_f.
5980 (sin_test): Use ALL_RM_TEST.
5981 (sin_tonearest_test_data): Remove.
5982 (sin_test_tonearest): Likewise.
5983 (sin_towardzero_test_data): Likewise.
5984 (sin_test_towardzero): Likewise.
5985 (sin_downward_test_data): Likewise.
5986 (sin_test_downward): Likewise.
5987 (sin_upward_test_data): Likewise.
5988 (sin_test_upward): Likewise.
5989 (sincos_test_data): Update call to AUTO_TESTS_fFF_11.
5990 (sinh_test_data): Update call to AUTO_TESTS_f_f.
5991 (sinh_test): Use ALL_RM_TEST.
5992 (sinh_tonearest_test_data): Remove.
5993 (sinh_test_tonearest): Likewise.
5994 (sinh_towardzero_test_data): Likewise.
5995 (sinh_test_towardzero): Likewise.
5996 (sinh_downward_test_data): Likewise.
5997 (sinh_test_downward): Likewise.
5998 (sinh_upward_test_data): Likewise.
5999 (sinh_test_upward): Likewise.
6000 (sqrt_test_data): Update call to AUTO_TESTS_f_f.
6001 (sqrt_test): Use ALL_RM_TEST.
6002 (sqrt_tonearest_test_data): Remove.
6003 (sqrt_test_tonearest): Likewise.
6004 (sqrt_towardzero_test_data): Likewise.
6005 (sqrt_test_towardzero): Likewise.
6006 (sqrt_downward_test_data): Likewise.
6007 (sqrt_test_downward): Likewise.
6008 (sqrt_upward_test_data): Likewise.
6009 (sqrt_test_upward): Likewise.
6010 (tan_test_data): Update call to AUTO_TESTS_f_f.
6011 (tan_test): Use ALL_RM_TEST.
6012 (tan_tonearest_test_data): Remove.
6013 (tan_test_tonearest): Likewise.
6014 (tan_towardzero_test_data): Likewise.
6015 (tan_test_towardzero): Likewise.
6016 (tan_downward_test_data): Likewise.
6017 (tan_test_downward): Likewise.
6018 (tan_upward_test_data): Likewise.
6019 (tan_test_upward): Likewise.
6020 (tanh_test_data): Update call to AUTO_TESTS_f_f.
6021 (tgamma_test_data): Likewise.
6022 (y0_test_data): Likewise.
6023 (y1_test_data): Likewise.
6024 (yn_test_data): Update call to AUTO_TESTS_if_f.
6025 (main): Do not call removed functions.
6027 2014-03-19 Joseph Myers <joseph@codesourcery.com>
6029 * math/libm-test.inc (fdim_test): Use ALL_RM_TEST.
6030 (ldexp_test_data): Remove.
6031 (ldexp_test): Move to after scalbn_test. Use ALL_RM_TEST with
6033 (scalb_test): Use ALL_RM_TEST.
6035 2014-03-19 Andreas Schwab <schwab@suse.de>
6037 * nscd/nscd.service: Also invalidate netgroup cache on reload.
6039 2014-03-19 Joseph Myers <joseph@codesourcery.com>
6042 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
6043 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PREADV): Undefine.
6044 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PWRITEV): Likewise.
6045 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
6046 (__ASSUME_PREADV): Undefine.
6047 (__ASSUME_PWRITEV): Likewise.
6049 2014-03-18 Roland McGrath <roland@hack.frob.com>
6051 * bits/mman-linux.h: Add comment about non-Linux use.
6052 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add comment about
6053 bits/mman-linux.h resting place.
6055 * sysdeps/unix/sysv/linux/bits/mman-linux.h: Moved to ...
6056 * bits/mman-linux.h: ... here.
6058 2014-03-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6060 * conform/conformtest.pl: Add standard definition when calling C
6061 preprocessor on data files.
6062 (checknamespace): Remove unused variable.
6064 2014-03-18 Joseph Myers <joseph@codesourcery.com>
6066 * math/gen-libm-test.pl (parse_args): Handle plus_oflow,
6067 minus_oflow, plus_uflow and minus_uflow in expected results.
6068 * math/libm-test.inc (scalbn_test_data): Add more tests of
6069 negative arguments. Use plus_oflow, minus_oflow, plus_uflow and
6071 (scalbn_test): Use ALL_RM_TEST.
6072 (scalbln_test_data): Add more tests of negative arguments. Use
6073 plus_oflow, minus_oflow, plus_uflow and minus_uflow.
6074 (scalbln_test): Use ALL_RM_TEST.
6076 2014-03-18 Roland McGrath <roland@hack.frob.com>
6078 * scripts/abilist.awk: Ignore symbols marked with .hidden.
6080 2014-03-18 Will Newton <will.newton@linaro.org>
6082 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Remove
6085 2014-03-18 Joseph Myers <joseph@codesourcery.com>
6087 * Makerules [!subdir] (check-abi): Exit with error status if a
6090 2014-03-17 Joseph Myers <joseph@codesourcery.com>
6092 * math/libm-test.inc (nearbyint_test_data): Include all tests used
6093 for rint. Include results for all rounding modes.
6094 (nearbyint_test): Use ALL_RM_TEST.
6095 (rint_test_data): Include all tests used for nearbyint.
6097 2014-03-17 Will Newton <will.newton@linaro.org>
6099 * nptl/sysdeps/pthread/pthread.h: Revert previous
6102 * sysdeps/generic/ldsodefs.h: Revert previous
6105 * libio/genops.c: Revert previous change.
6106 * libio/libioP.h: Likewise.
6107 * stdio-common/vfprintf.c: Likewise.
6109 * sysdeps/generic/math_private.h: Revert previous
6112 * sysdeps/generic/math_private.h: Check whether
6113 HAVE_RM_CTX is defined with #ifdef rather
6116 * argp/argp-fmtstream.h: Check whether
6117 __STRICT_ANSI__ is defined with #ifdef rather
6119 * argp/argp.h: Likewise.
6121 * libio/genops.c: Check whether
6122 _IO_JUMPS_OFFSET is defined with #ifdef rather
6124 * libio/libioP.h: Likewise.
6125 * stdio-common/vfprintf.c: Likewise.
6127 * sysdeps/generic/ldsodefs.h: Check whether
6128 HP_SMALL_TIMING_AVAIL is defined with #ifdef rather
6131 * nptl/sysdeps/pthread/pthread.h: Check
6132 __PTHREAD_MUTEX_HAVE_ELISION is defined before testing
6135 2014-03-17 Siddhesh Poyarekar <siddhesh@redhat.com>
6137 * libio/iofdopen.c (_IO_new_fdopen): Seek to end only if
6139 * libio/tst-ftell-active-handler.c (do_append_test): Add a
6143 * libio/fileops.c (_IO_file_open): Seek to end of file but
6144 don't cache the offset.
6145 (get_file_offset): Remove function.
6146 (do_ftell): Use cached offset when available.
6147 * libio/iofdopen.c (_IO_new_fdopen): Seek to end of file but
6148 don't cache the offset.
6149 * libio/tst-ftell-active-handler.c (do_rewind_test): New test
6151 (do_one_test): Call it.
6152 (do_ftell_test): Fix up expected old offset for a+ mode.
6153 * libio/wfileops.c (do_ftell_wide): Used cached offset when
6156 * libio/tst-ftell-active-handler.c (do_ftell_test): Don't mix
6157 up test status with function return status.
6158 (do_write_test): Likewise.
6159 (do_append_test): Likewise.
6161 * nptl/sysdeps/pthread/bits/libc-lockP.h [defined NOT_IN_libc
6162 && !defined IS_IN_libpthread && __LT_SPINNOCK_INIT != 0]:
6165 2014-03-17 Joseph Myers <joseph@codesourcery.com>
6167 * math/gen-libm-test.pl (parse_args): Handle results specified for
6168 each rounding mode separately.
6169 * math/libm-test.inc (lrint_test_data): Merge in per-rounding-mode
6170 tests and results from lrint_tonearest_test_data,
6171 lrint_towardzero_test_data, lrint_downward_test_data and
6172 lrint_upward_test_data.
6173 (lrint_test): Use ALL_RM_TEST.
6174 (lrint_tonearest_test_data): Remove.
6175 (lrint_test_tonearest): Likewise.
6176 (lrint_towardzero_test_data): Likewise.
6177 (lrint_test_towardzero): Likewise.
6178 (lrint_downward_test_data): Likewise.
6179 (lrint_test_downward): Likewise.
6180 (lrint_upward_test_data): Likewise.
6181 (lrint_test_upward): Likewise.
6182 (llrint_test_data): Merge in per-rounding-mode tests and results
6183 from llrint_tonearest_test_data, llrint_towardzero_test_data,
6184 llrint_downward_test_data and llrint_upward_test_data.
6185 (llrint_test): Use ALL_RM_TEST.
6186 (llrint_tonearest_test_data): Remove.
6187 (llrint_test_tonearest): Likewise.
6188 (llrint_towardzero_test_data): Likewise.
6189 (llrint_test_towardzero): Likewise.
6190 (llrint_downward_test_data): Likewise.
6191 (llrint_test_downward): Likewise.
6192 (llrint_upward_test_data): Likewise.
6193 (llrint_test_upward): Likewise.
6194 (rint_test_data): Merge in per-rounding-mode tests and results
6195 from rint_tonearest_test_data, rint_towardzero_test_data,
6196 rint_downward_test_data and rint_upward_test_data. Add
6197 per-rounding-mode results for tests not in those arrays.
6198 (rint_test): Use ALL_RM_TEST.
6199 (rint_tonearest_test_data): Remove.
6200 (rint_test_tonearest): Likewise.
6201 (rint_towardzero_test_data): Likewise.
6202 (rint_test_towardzero): Likewise.
6203 (rint_downward_test_data): Likewise.
6204 (rint_test_downward): Likewise.
6205 (rint_upward_test_data): Likewise.
6206 (rint_test_upward): Likewise.
6207 (main): Don't call removed functions.
6209 2014-03-14 Roland McGrath <roland@hack.frob.com>
6211 * csu/Makefile ($(objpfx)version-info.h): Remove linux-specific
6212 "Compiled on ..." crapola. It is anti-useful.
6214 2014-03-14 Joseph Myers <joseph@codesourcery.com>
6216 * scripts/evaluate-test.sh: Handle fourth argument to determine
6217 whether test run should stop on failure.
6218 * Makeconfig (stop-on-test-failure): New variable.
6219 (evaluate-test): Pass fourth argument to evaluate-test.sh based on
6220 $(stop-on-test-failure).
6221 * Makefile (tests): Give a summary of results from testing and
6222 exit with failure status if they include an ERROR or FAIL.
6224 * manual/install.texi (Configuring and compiling): Mention
6225 stop-on-test-failure=y.
6226 * INSTALL: Regenerated.
6228 2014-03-14 Roland McGrath <roland@hack.frob.com>
6230 * scripts/versionlist.awk: New file.
6231 * Makerules [$(build-shared) = yes]
6232 (postclean-generated): Add Versions.def, not Versions.def.v and
6234 ($(common-objpfx)Versions.def.v.i): Target removed.
6235 ($(common-objpfx)Versions.def): New target.
6236 ($(common-objpfx)Versions.all): Depend on that rather that
6237 $(common-objpfx)Versions.def.v.
6238 * Versions.def: File removed.
6240 * Makeconfig (+gccwarn): Add -Wundef.
6241 * include/errno.h [IS_IN_rtld] [!RTLD_PRIVATE_ERRNO]: #error to catch
6242 a dl-sysdep.h breaking its contract.
6243 [!IS_IN_rtld] (RTLD_PRIVATE_ERRNO): Define it to 0.
6244 * include/stackinfo.h: New file.
6245 * nptl/sysdeps/i386/tls.h (TLS_DTV_AT_TP): New macro.
6246 * nptl/sysdeps/powerpc/tls.h (TLS_TCB_AT_TP): New macro.
6247 * nptl/sysdeps/s390/tls.h (TLS_DTV_AT_TP): New macro.
6248 * nptl/sysdeps/sh/tls.h (TLS_TCB_AT_TP): New macro.
6249 * nptl/sysdeps/sparc/tls.h (TLS_DTV_AT_TP): New macro.
6250 * nptl/sysdeps/x86_64/tls.h (TLS_DTV_AT_TP): New macro.
6251 * sysdeps/aarch64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
6252 * sysdeps/alpha/nptl/tls.h (TLS_TCB_AT_TP): New macro.
6253 * sysdeps/arm/nptl/tls.h (TLS_TCB_AT_TP): New macro.
6254 * sysdeps/ia64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
6255 * sysdeps/m68k/nptl/tls.h (TLS_TCB_AT_TP): New macro.
6256 * sysdeps/mach/hurd/i386/tls.h (TLS_DTV_AT_TP): New macro.
6257 * sysdeps/microblaze/nptl/tls.h (TLS_TCB_AT_TP): New macro.
6258 * sysdeps/mips/nptl/tls.h (TLS_TCB_AT_TP): New macro.
6259 * sysdeps/tile/nptl/tls.h (TLS_TCB_AT_TP): New macro.
6261 2014-03-14 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6264 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Remove wrong
6266 * math/libm-test.inc (round_test_data): Add more tests.
6269 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Remove wrong
6271 * math/libm-test.inc (nearbyint_test_data): Add more tests.
6274 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Remove wrong
6276 * math/libm-test.inc (ceil_test_data): Add more tests.
6278 * math/libm-test.inc (trunc_test_data): Add more tests related to
6281 2014-03-14 Roland McGrath <roland@hack.frob.com>
6283 * nptl/pthread_create.c (__pthread_create_2_1): Test TLS_TCB_AT_TP
6284 with #if rather than #ifdef.
6285 * nptl/sysdeps/pthread/createthread.c (create_thread): Likewise.
6287 2014-03-14 H.J. Lu <hongjiu.lu@intel.com>
6289 * sysdeps/x86_64/configure.ac: Check AVX-512 assembler support
6290 first. Disable AVX-512 GCC support if assembler doesn't support
6292 * sysdeps/x86_64/configure: Regenerated.
6294 2014-03-13 Carlos O'Donell <carlos@redhat.com>
6296 * nptl/pthread_attr_setstack.c (__pthread_attr_setstack)
6297 [!_STACK_GROWS_DOWN]: Don't add stacksize to stackaddr.
6298 (__old_pthread_attr_setstack): Likewise.
6299 * nptl/pthread_attr_getstack.c (__pthread_attr_getstack)
6300 [!_STACK_GROWS_DOWN]: Likewise.
6302 2014-03-13 Mike Frysinger <vapier@gentoo.org>
6304 * config.make.in (have-bash2): Delete.
6305 * configure.ac (libc_cv_have_bash2): Delete.
6306 * configure: Regenerate.
6307 * elf/Makefile (common-ldd-rewrite): Rename to ...
6308 (ldd-rewrite): ... this. Move bash-ldd-rewrite content to end.
6309 (sh-ldd-rewrite): Delete.
6310 (bash-ldd-rewrite): Delete.
6311 (have-bash2): Delete checks.
6312 [ldd-rewrite-script]: Change $(ldd-shell)-ldd-rewrite to
6315 * config.make.in (have-ksh): Delete.
6317 * configure.ac (libc_cv_have_ksh): Delete.
6318 * configure: Regenerate.
6320 * elf/Makefile: Delete $(have-ksh) check.
6321 ($(objpfx)sotruss): Change KSH to BASH.
6322 * elf/sotruss.ksh: Rename to ...
6323 * elf/sotruss.sh: ... this. Change @KSH@ to @BASH@. Change
6324 function style to match POSIX. Drop ksh vim mode setting.
6326 * manual/time.texi (Specifying the Time Zone with TZ): Change
6327 Tuesday to Thursday.
6329 * debug/tst-longjmp_chk2.c: Update header comment.
6330 (stackoverflow_handler): Add comment. Call assert on pass value.
6332 2014-03-13 Igor Zamyatin <igor.zamyatin@intel.com>
6334 * config.h.in (HAVE_AVX512_SUPPORT): New #undef.
6335 (HAVE_AVX512_ASM_SUPPORT): Likewise.
6336 * sysdeps/x86_64/bits/link.h (La_x86_64_zmm): New.
6337 (La_x86_64_vector): Add zmm.
6338 * sysdeps/x86_64/Makefile (tests): Add tst-audit10.
6339 (modules-names): Add tst-auditmod10a and tst-auditmod10b.
6340 ($(objpfx)tst-audit10): New target.
6341 ($(objpfx)tst-audit10.out): Likewise.
6342 (tst-audit10-ENV): New.
6343 (AVX512-CFLAGS): Likewise.
6344 (CFLAGS-tst-audit10.c): Likewise.
6345 (CFLAGS-tst-auditmod10a.c): Likewise.
6346 (CFLAGS-tst-auditmod10b.c): Likewise.
6347 * sysdeps/x86_64/configure.ac: Set config-cflags-avx512,
6348 HAVE_AVX512_SUPPORT and HAVE_AVX512_ASM_SUPPORT.
6349 * sysdeps/x86_64/configure: Regenerated.
6350 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Add
6351 AVX-512 zmm register support.
6352 (_dl_x86_64_save_sse): Likewise.
6353 (_dl_x86_64_restore_sse): Likewise.
6354 * sysdeps/x86_64/dl-trampoline.h: Updated to support different
6355 size vector registers.
6356 * sysdeps/x86_64/link-defines.sym (YMM_SIZE): New.
6357 (ZMM_SIZE): Likewise.
6358 * sysdeps/x86_64/tst-audit10.c: New file.
6359 * sysdeps/x86_64/tst-auditmod10a.c: Likewise.
6360 * sysdeps/x86_64/tst-auditmod10b.c: Likewise.
6362 2014-03-13 Roland McGrath <roland@hack.frob.com>
6364 * configure.ac (HAVE_EHDR_START): New check.
6365 * configure: Regenerated.
6366 * config.h.in (HAVE_EHDR_START): New #undef.
6367 * elf/rtld.c (dl_main) [HAVE_EHDR_START]: Use __ehdr_start rather than
6368 assuming the lowest-addressed segment maps the start of the file.
6370 2014-03-13 Joseph Myers <joseph@codesourcery.com>
6372 * INSTALL: Regenerated.
6374 2014-03-13 Will Newton <will.newton@linaro.org>
6376 * manual/setjmp.texi (System V contexts): Improve
6377 clarity and grammar of documentation.
6379 2014-03-12 Paul Pluzhnikov <ppluzhnikov@google.com>
6382 * elf/Makefile (tests): Add tst-pie2.
6383 (tests-pie): Add tst-pie2.
6384 * elf/tst-pie2.c: New file.
6385 * elf/dl-load.c (_dl_map_object_from_fd): Assert correct l_type
6387 * elf/rtld.c (map_doit): Load executable as lt_executable.
6388 (dl_main): Likewise.
6390 2014-03-12 Joseph Myers <joseph@codesourcery.com>
6393 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
6394 (__ASSUME_PSELECT): Undefine.
6396 2014-03-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6399 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S
6400 (__bzero_ppc): Call memset@local instead of __memset_ppc@local for
6402 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Build IFUNC
6403 selector for static builds.
6405 2014-03-12 Siddhesh Poyarekar <siddhesh@redhat.com>
6408 * nscd/netgroupcache.c (addgetnetgrentX): Factor in space for
6411 2014-03-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6413 * sysdeps/powerpc/powerpc64/multiarch/strspn.c (strspn): Build
6414 IFUNC selector for static builds.
6416 2014-03-11 Joseph Myers <joseph@codesourcery.com>
6418 * sysdeps/mips/math_private.h [__mips_hard_float]
6419 (libc_feresetround_ctx): Define to libc_feupdateenv_mips_ctx not
6420 libc_feresetround_mips_ctx.
6421 [__mips_hard_float] (libc_feresetroundf_ctx): Likewise.
6422 [__mips_hard_float] (libc_feresetroundl_ctx): Likewise.
6423 [__mips_hard_float] (libc_feresetround_mips_ctx): Remove.
6426 * math/s_nextafter.c (__nextafter): Do not return value from
6427 overflowing computation.
6428 * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
6429 * sysdeps/ieee754/flt-32/s_nextafterf.c (__nextafterf): Likewise.
6430 * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
6432 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
6434 * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
6435 * math/libm-test.inc (nextafter_test): Use ALL_RM_TEST.
6437 2014-03-11 Roland McGrath <roland@hack.frob.com>
6439 * sysdeps/arm/setjmp.S: Use sfi_breg on stores of mangled registers.
6440 * sysdeps/arm/__longjmp.S: Use sfi_breg on loads of mangled registers.
6441 Move sfi_sp use from the load-multiple (that no longer sets sp) to
6442 the new mov targetting sp.
6444 2014-03-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6447 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S (__bzero_ppc):
6448 Define it for static builds as well.
6449 (NO_BZERO_IMPL): Likewise.
6451 2014-03-11 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
6453 * sysdeps/powerpc/powerpc64/power7/strspn.S: New file: Optimization.
6454 * sysdeps/powerpc/powerpc64/multiarch/strspn.c: New file:
6455 multiarch strspn for PPC64.
6456 * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: New file
6457 * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: New file
6458 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
6459 (__libc_ifunc_impl_list): Likewise.
6460 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strspn
6461 multiarch optimizations
6462 * string/strspn.c (strspn): Using macro to redefine symbol name.
6464 2014-03-10 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
6465 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6467 * sysdeps/powerpc/powerpc64/power7/strncat.S: New file: Optimization.
6468 * sysdeps/powerpc/powerpc64/multiarch/strncat.c: New file:
6469 multiarch strncat for PPC64.
6470 * sysdeps/powerpc/powerpc64/multiarch/strncat-ppc64.c: New file
6471 * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: New file
6472 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
6473 (__libc_ifunc_impl_list): Likewise.
6474 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncat
6475 multiarch optimizations
6477 2014-03-10 Siddhesh Poyarekar <siddhesh@redhat.com>
6480 * nscd/nscd.service: Make service type forking.
6482 2014-03-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6484 * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Fix to return correct
6485 sign in non default rounding modes.
6486 * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
6488 2014-03-08 Joseph Myers <joseph@codesourcery.com>
6490 * math/libm-test.inc (ALL_RM_TEST): New macro.
6491 (ceil_test): Use ALL_RM_TEST.
6492 (cimag_test): Likewise.
6493 (conj_test): Likewise.
6494 (copysign_test): Likewise.
6495 (cproj_test): Likewise.
6496 (creal_test): Likewise.
6497 (fabs_test): Likewise.
6498 (floor_test): Likewise.
6499 (fmax_test): Likewise.
6500 (fmin_test): Likewise.
6501 (fmod_test): Likewise.
6502 (fpclassify_test): Likewise.
6503 (frexp_test): Likewise.
6504 (ilogb_test): Likewise.
6505 (isfinite_test): Likewise.
6506 (finite_test): Likewise.
6507 (isgreater_test): Likewise.
6508 (isgreaterequal_test): Likewise.
6509 (isinf_test): Likewise.
6510 (isless_test): Likewise.
6511 (islessequal_test): Likewise.
6512 (islessgreater_test): Likewise.
6513 (isnan_test): Likewise.
6514 (isnormal_test): Likewise.
6515 (issignaling_test): Likewise.
6516 (isunordered_test): Likewise.
6517 (logb_test): Likewise.
6518 (logb_downward_test_data): Remove.
6519 (logb_test_downward): Likewise.
6520 (lround_test): Use ALL_RM_TEST.
6521 (llround_test): Likewise.
6522 (modf_test): Likewise.
6523 (nexttoward_test): Likewise.
6524 (remainder_test): Likewise.
6525 (drem_test): Likewise.
6526 (remainder_tonearest_test_data): Likewise.
6527 (remainder_test_tonearest): Likewise.
6528 (drem_test_tonearest): Likewise.
6529 (remainder_towardzero_test_data): Likewise.
6530 (remainder_test_towardzero): Likewise.
6531 (drem_test_towardzero): Likewise.
6532 (remainder_downward_test_data): Likewise.
6533 (remainder_test_downward): Likewise.
6534 (drem_test_downward): Likewise.
6535 (remainder_upward_test_data): Likewise.
6536 (remainder_test_upward): Likewise.
6537 (drem_test_upward): Likewise.
6538 (remquo_test): Use ALL_RM_TEST. Remove comment about x.
6539 (round_test): Use ALL_RM_TEST.
6540 (signbit_test): Likewise.
6541 (trunc_test): Likewise.
6542 (significand_test): Likewise.
6543 (main): Don't call removed functions.
6545 2014-03-07 Joseph Myers <joseph@codesourcery.com>
6548 * bits/siginfo.h (ILL_ILLOPC): Condition on [__USE_XOPEN_EXTENDED
6550 (ILL_ILLOPN): Likewise.
6551 (ILL_ILLADR): Likewise.
6552 (ILL_ILLTRP): Likewise.
6553 (ILL_PRVOPC): Likewise.
6554 (ILL_PRVREG): Likewise.
6555 (ILL_COPROC): Likewise.
6556 (ILL_BADSTK): Likewise.
6557 (FPE_INTDIV): Likewise.
6558 (FPE_INTOVF): Likewise.
6559 (FPE_FLTDIV): Likewise.
6560 (FPE_FLTOVF): Likewise.
6561 (FPE_FLTUND): Likewise.
6562 (FPE_FLTRES): Likewise.
6563 (FPE_FLTINV): Likewise.
6564 (FPE_FLTSUB): Likewise.
6565 (SEGV_MAPERR): Likewise.
6566 (SEGV_ACCERR): Likewise.
6567 (BUS_ADRALN): Likewise.
6568 (BUS_ADRERR): Likewise.
6569 (BUS_OBJERR): Likewise.
6570 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
6571 (TRAP_TRACE): Likewise.
6572 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
6574 (CLD_KILLED): Likewise.
6575 (CLD_DUMPED): Likewise.
6576 (CLD_TRAPPED): Likewise.
6577 (CLD_STOPPED): Likewise.
6578 (CLD_CONTINUED): Likewise.
6579 (POLL_IN): Likewise.
6580 (POLL_OUT): Likewise.
6581 (POLL_MSG): Likewise.
6582 (POLL_ERR): Likewise.
6583 (POLL_PRI): Likewise.
6584 (POLL_HUP): Likewise.
6585 * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h (ILL_ILLOPC):
6587 (ILL_ILLOPN): Likewise.
6588 (ILL_ILLADR): Likewise.
6589 (ILL_ILLTRP): Likewise.
6590 (ILL_PRVOPC): Likewise.
6591 (ILL_PRVREG): Likewise.
6592 (ILL_COPROC): Likewise.
6593 (ILL_BADSTK): Likewise.
6594 (FPE_INTDIV): Likewise.
6595 (FPE_INTOVF): Likewise.
6596 (FPE_FLTDIV): Likewise.
6597 (FPE_FLTOVF): Likewise.
6598 (FPE_FLTUND): Likewise.
6599 (FPE_FLTRES): Likewise.
6600 (FPE_FLTINV): Likewise.
6601 (FPE_FLTSUB): Likewise.
6602 (SEGV_MAPERR): Likewise.
6603 (SEGV_ACCERR): Likewise.
6604 (BUS_ADRALN): Likewise.
6605 (BUS_ADRERR): Likewise.
6606 (BUS_OBJERR): Likewise.
6607 (BUS_MCEERR_AR): Likewise.
6608 (BUS_MCEERR_AO): Likewise.
6609 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
6610 (TRAP_TRACE): Likewise.
6611 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
6613 (CLD_KILLED): Likewise.
6614 (CLD_DUMPED): Likewise.
6615 (CLD_TRAPPED): Likewise.
6616 (CLD_STOPPED): Likewise.
6617 (CLD_CONTINUED): Likewise.
6618 (POLL_IN): Likewise.
6619 (POLL_OUT): Likewise.
6620 (POLL_MSG): Likewise.
6621 (POLL_ERR): Likewise.
6622 (POLL_PRI): Likewise.
6623 (POLL_HUP): Likewise.
6624 * sysdeps/unix/sysv/linux/bits/siginfo.h (ILL_ILLOPC): Likewise.
6625 (ILL_ILLOPN): Likewise.
6626 (ILL_ILLADR): Likewise.
6627 (ILL_ILLTRP): Likewise.
6628 (ILL_PRVOPC): Likewise.
6629 (ILL_PRVREG): Likewise.
6630 (ILL_COPROC): Likewise.
6631 (ILL_BADSTK): Likewise.
6632 (FPE_INTDIV): Likewise.
6633 (FPE_INTOVF): Likewise.
6634 (FPE_FLTDIV): Likewise.
6635 (FPE_FLTOVF): Likewise.
6636 (FPE_FLTUND): Likewise.
6637 (FPE_FLTRES): Likewise.
6638 (FPE_FLTINV): Likewise.
6639 (FPE_FLTSUB): Likewise.
6640 (SEGV_MAPERR): Likewise.
6641 (SEGV_ACCERR): Likewise.
6642 (BUS_ADRALN): Likewise.
6643 (BUS_ADRERR): Likewise.
6644 (BUS_OBJERR): Likewise.
6645 (BUS_MCEERR_AR): Likewise.
6646 (BUS_MCEERR_AO): Likewise.
6647 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
6648 (TRAP_TRACE): Likewise.
6649 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
6651 (CLD_KILLED): Likewise.
6652 (CLD_DUMPED): Likewise.
6653 (CLD_TRAPPED): Likewise.
6654 (CLD_STOPPED): Likewise.
6655 (CLD_CONTINUED): Likewise.
6656 (POLL_IN): Likewise.
6657 (POLL_OUT): Likewise.
6658 (POLL_MSG): Likewise.
6659 (POLL_ERR): Likewise.
6660 (POLL_PRI): Likewise.
6661 (POLL_HUP): Likewise.
6662 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (ILL_ILLOPC):
6664 (ILL_ILLOPN): Likewise.
6665 (ILL_ILLADR): Likewise.
6666 (ILL_ILLTRP): Likewise.
6667 (ILL_PRVOPC): Likewise.
6668 (ILL_PRVREG): Likewise.
6669 (ILL_COPROC): Likewise.
6670 (ILL_BADSTK): Likewise.
6671 (ILL_BADIADDR): Likewise.
6672 (ILL_BREAK): Likewise.
6673 (FPE_INTDIV): Likewise.
6674 (FPE_INTOVF): Likewise.
6675 (FPE_FLTDIV): Likewise.
6676 (FPE_FLTOVF): Likewise.
6677 (FPE_FLTUND): Likewise.
6678 (FPE_FLTRES): Likewise.
6679 (FPE_FLTINV): Likewise.
6680 (FPE_FLTSUB): Likewise.
6681 (FPE_DECOVF): Likewise.
6682 (FPE_DECDIV): Likewise.
6683 (FPE_DECERR): Likewise.
6684 (FPE_INVASC): Likewise.
6685 (FPE_INVDEC): Likewise.
6686 (SEGV_MAPERR): Likewise.
6687 (SEGV_ACCERR): Likewise.
6688 (SEGV_PSTKOVF): Likewise.
6689 (BUS_ADRALN): Likewise.
6690 (BUS_ADRERR): Likewise.
6691 (BUS_OBJERR): Likewise.
6692 (BUS_MCEERR_AR): Likewise.
6693 (BUS_MCEERR_AO): Likewise.
6694 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
6695 (TRAP_TRACE): Likewise.
6696 (TRAP_BRANCH): Likewise.
6697 (TRAP_HWBKPT): Likewise.
6698 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
6700 (CLD_KILLED): Likewise.
6701 (CLD_DUMPED): Likewise.
6702 (CLD_TRAPPED): Likewise.
6703 (CLD_STOPPED): Likewise.
6704 (CLD_CONTINUED): Likewise.
6705 (POLL_IN): Likewise.
6706 (POLL_OUT): Likewise.
6707 (POLL_MSG): Likewise.
6708 (POLL_ERR): Likewise.
6709 (POLL_PRI): Likewise.
6710 (POLL_HUP): Likewise.
6711 * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (ILL_ILLOPC): Likewise.
6712 (ILL_ILLOPN): Likewise.
6713 (ILL_ILLADR): Likewise.
6714 (ILL_ILLTRP): Likewise.
6715 (ILL_PRVOPC): Likewise.
6716 (ILL_PRVREG): Likewise.
6717 (ILL_COPROC): Likewise.
6718 (ILL_BADSTK): Likewise.
6719 (FPE_INTDIV): Likewise.
6720 (FPE_INTOVF): Likewise.
6721 (FPE_FLTDIV): Likewise.
6722 (FPE_FLTOVF): Likewise.
6723 (FPE_FLTUND): Likewise.
6724 (FPE_FLTRES): Likewise.
6725 (FPE_FLTINV): Likewise.
6726 (FPE_FLTSUB): Likewise.
6727 (SEGV_MAPERR): Likewise.
6728 (SEGV_ACCERR): Likewise.
6729 (BUS_ADRALN): Likewise.
6730 (BUS_ADRERR): Likewise.
6731 (BUS_OBJERR): Likewise.
6732 (BUS_MCEERR_AR): Likewise.
6733 (BUS_MCEERR_AO): Likewise.
6734 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
6735 (TRAP_TRACE): Likewise.
6736 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
6738 (CLD_KILLED): Likewise.
6739 (CLD_DUMPED): Likewise.
6740 (CLD_TRAPPED): Likewise.
6741 (CLD_STOPPED): Likewise.
6742 (CLD_CONTINUED): Likewise.
6743 (POLL_IN): Likewise.
6744 (POLL_OUT): Likewise.
6745 (POLL_MSG): Likewise.
6746 (POLL_ERR): Likewise.
6747 (POLL_PRI): Likewise.
6748 (POLL_HUP): Likewise.
6749 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (ILL_ILLOPC): Likewise.
6750 (ILL_ILLOPN): Likewise.
6751 (ILL_ILLADR): Likewise.
6752 (ILL_ILLTRP): Likewise.
6753 (ILL_PRVOPC): Likewise.
6754 (ILL_PRVREG): Likewise.
6755 (ILL_COPROC): Likewise.
6756 (ILL_BADSTK): Likewise.
6757 (FPE_INTDIV): Likewise.
6758 (FPE_INTOVF): Likewise.
6759 (FPE_FLTDIV): Likewise.
6760 (FPE_FLTOVF): Likewise.
6761 (FPE_FLTUND): Likewise.
6762 (FPE_FLTRES): Likewise.
6763 (FPE_FLTINV): Likewise.
6764 (FPE_FLTSUB): Likewise.
6765 (SEGV_MAPERR): Likewise.
6766 (SEGV_ACCERR): Likewise.
6767 (BUS_ADRALN): Likewise.
6768 (BUS_ADRERR): Likewise.
6769 (BUS_OBJERR): Likewise.
6770 (BUS_MCEERR_AR): Likewise.
6771 (BUS_MCEERR_AO): Likewise.
6772 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
6773 (TRAP_TRACE): Likewise.
6774 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
6776 (CLD_KILLED): Likewise.
6777 (CLD_DUMPED): Likewise.
6778 (CLD_TRAPPED): Likewise.
6779 (CLD_STOPPED): Likewise.
6780 (CLD_CONTINUED): Likewise.
6781 (POLL_IN): Likewise.
6782 (POLL_OUT): Likewise.
6783 (POLL_MSG): Likewise.
6784 (POLL_ERR): Likewise.
6785 (POLL_PRI): Likewise.
6786 (POLL_HUP): Likewise.
6787 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (ILL_ILLOPC): Likewise.
6788 (ILL_ILLOPN): Likewise.
6789 (ILL_ILLADR): Likewise.
6790 (ILL_ILLTRP): Likewise.
6791 (ILL_PRVOPC): Likewise.
6792 (ILL_PRVREG): Likewise.
6793 (ILL_COPROC): Likewise.
6794 (ILL_BADSTK): Likewise.
6795 (FPE_INTDIV): Likewise.
6796 (FPE_INTOVF): Likewise.
6797 (FPE_FLTDIV): Likewise.
6798 (FPE_FLTOVF): Likewise.
6799 (FPE_FLTUND): Likewise.
6800 (FPE_FLTRES): Likewise.
6801 (FPE_FLTINV): Likewise.
6802 (FPE_FLTSUB): Likewise.
6803 (SEGV_MAPERR): Likewise.
6804 (SEGV_ACCERR): Likewise.
6805 (BUS_ADRALN): Likewise.
6806 (BUS_ADRERR): Likewise.
6807 (BUS_OBJERR): Likewise.
6808 (BUS_MCEERR_AR): Likewise.
6809 (BUS_MCEERR_AO): Likewise.
6810 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
6811 (TRAP_TRACE): Likewise.
6812 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
6814 (CLD_KILLED): Likewise.
6815 (CLD_DUMPED): Likewise.
6816 (CLD_TRAPPED): Likewise.
6817 (CLD_STOPPED): Likewise.
6818 (CLD_CONTINUED): Likewise.
6819 (POLL_IN): Likewise.
6820 (POLL_OUT): Likewise.
6821 (POLL_MSG): Likewise.
6822 (POLL_ERR): Likewise.
6823 (POLL_PRI): Likewise.
6824 (POLL_HUP): Likewise.
6825 * sysdeps/unix/sysv/linux/tile/bits/siginfo.h (ILL_ILLOPC): Likewise.
6826 (ILL_ILLOPN): Likewise.
6827 (ILL_ILLADR): Likewise.
6828 (ILL_ILLTRP): Likewise.
6829 (ILL_PRVOPC): Likewise.
6830 (ILL_PRVREG): Likewise.
6831 (ILL_COPROC): Likewise.
6832 (ILL_BADSTK): Likewise.
6833 (ILL_DBLFLT): Likewise.
6834 (ILL_HARDWALL): Likewise.
6835 (FPE_INTDIV): Likewise.
6836 (FPE_INTOVF): Likewise.
6837 (FPE_FLTDIV): Likewise.
6838 (FPE_FLTOVF): Likewise.
6839 (FPE_FLTUND): Likewise.
6840 (FPE_FLTRES): Likewise.
6841 (FPE_FLTINV): Likewise.
6842 (FPE_FLTSUB): Likewise.
6843 (SEGV_MAPERR): Likewise.
6844 (SEGV_ACCERR): Likewise.
6845 (BUS_ADRALN): Likewise.
6846 (BUS_ADRERR): Likewise.
6847 (BUS_OBJERR): Likewise.
6848 (BUS_MCEERR_AR): Likewise.
6849 (BUS_MCEERR_AO): Likewise.
6850 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
6851 (TRAP_TRACE): Likewise.
6852 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
6854 (CLD_KILLED): Likewise.
6855 (CLD_DUMPED): Likewise.
6856 (CLD_TRAPPED): Likewise.
6857 (CLD_STOPPED): Likewise.
6858 (CLD_CONTINUED): Likewise.
6859 (POLL_IN): Likewise.
6860 (POLL_OUT): Likewise.
6861 (POLL_MSG): Likewise.
6862 (POLL_ERR): Likewise.
6863 (POLL_PRI): Likewise.
6864 (POLL_HUP): Likewise.
6865 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (ILL_ILLOPC): Likewise.
6866 (ILL_ILLOPN): Likewise.
6867 (ILL_ILLADR): Likewise.
6868 (ILL_ILLTRP): Likewise.
6869 (ILL_PRVOPC): Likewise.
6870 (ILL_PRVREG): Likewise.
6871 (ILL_COPROC): Likewise.
6872 (ILL_BADSTK): Likewise.
6873 (FPE_INTDIV): Likewise.
6874 (FPE_INTOVF): Likewise.
6875 (FPE_FLTDIV): Likewise.
6876 (FPE_FLTOVF): Likewise.
6877 (FPE_FLTUND): Likewise.
6878 (FPE_FLTRES): Likewise.
6879 (FPE_FLTINV): Likewise.
6880 (FPE_FLTSUB): Likewise.
6881 (SEGV_MAPERR): Likewise.
6882 (SEGV_ACCERR): Likewise.
6883 (BUS_ADRALN): Likewise.
6884 (BUS_ADRERR): Likewise.
6885 (BUS_OBJERR): Likewise.
6886 (BUS_MCEERR_AR): Likewise.
6887 (BUS_MCEERR_AO): Likewise.
6888 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
6889 (TRAP_TRACE): Likewise.
6890 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
6892 (CLD_KILLED): Likewise.
6893 (CLD_DUMPED): Likewise.
6894 (CLD_TRAPPED): Likewise.
6895 (CLD_STOPPED): Likewise.
6896 (CLD_CONTINUED): Likewise.
6897 (POLL_IN): Likewise.
6898 (POLL_OUT): Likewise.
6899 (POLL_MSG): Likewise.
6900 (POLL_ERR): Likewise.
6901 (POLL_PRI): Likewise.
6902 (POLL_HUP): Likewise.
6903 * conform/Makefile (test-xfail-POSIX/signal.h/conform): Remove.
6904 (test-xfail-POSIX/sys/wait.h/conform): Likewise.
6907 * posix/sched.h [!__USE_XOPEN2K] (__need_time_t): Don't define
6908 before #include of <time.h>.
6909 [!__USE_XOPEN2K] (__need_timespec): Likewise.
6910 * conform/Makefile (test-xfail-POSIX/sched.h/conform): Remove.
6911 (test-xfail-UNIX98/sched.h/conform): Likewise.
6913 2014-03-07 Marcus Shawcroft <marcus.shawcroft@arm.com>
6915 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Detect and
6916 error absence of trapping exception support.
6917 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
6919 2014-03-07 Joseph Myers <joseph@codesourcery.com>
6921 * catgets/Makefile (tests-special): Add $(objpfx)sample.SJIS.cat.
6922 ($(objpfx)sample.SJIS.cat): Use $(evaluate-test).
6923 * timezone/Makefile (testdata): Move definition above include of
6925 (test-zones): New variable.
6926 (tests-special): Add zone files.
6927 (build-testdata): Use $(evaluate-test).
6929 * elf/Makefile (tests-special): Rename tests to end with .out.
6930 ($(objpfx)noload-mem): Likewise.
6931 ($(objpfx)tst-leaks1-mem): Likewise.
6932 ($(objpfx)tst-leaks1-static-mem.out): Likewise.
6933 * iconv/Makefile (xtests-special): Change test-iconvconfig to
6934 $(objpfx)test-iconvconfig.out.
6935 (test-iconvconfig): Change to $(objpfx)test-iconvconfig.out. Use
6936 set -e inside subshell and redirect output to file.
6937 * iconvdata/Makefile (generated): Rename tests to end with .out.
6939 (tests-special): Rename tests to end with .out.
6940 ($(objpfx)mtrace-tst-loading): Likewise.
6941 * intl/Makefile (generated): Likewise.
6942 (tests-special): Likewise.
6943 ($(objpfx)mtrace-tst-gettext): Likewise.
6944 * misc/Makefile (generated): Likewise.
6945 (tests-special): Likewise.
6946 ($(objpfx)tst-error1-mem): Likewise.
6947 * nptl/Makefile (tests-special): Likewise.
6948 ($(objpfx)tst-stack3-mem): Likewise.
6949 (generated): Likewise.
6950 * posix/Makefile (generated): Likewise.
6951 (tests-special): Likewise.
6952 (xtests-special): Likewise.
6953 ($(objpfx)tst-fnmatch-mem): Likewise.
6954 ($(objpfx)bug-regex2-mem): Likewise.
6955 ($(objpfx)bug-regex14-mem): Likewise.
6956 ($(objpfx)bug-regex21-mem): Likewise.
6957 ($(objpfx)bug-regex31-mem): Likewise.
6958 ($(objpfx)tst-vfork3-mem): Likewise.
6959 ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
6960 ($(objpfx)tst-pcre-mem): Likewise.
6961 ($(objpfx)tst-boost-mem): Likewise.
6962 ($(objpfx)bug-ga2-mem): Likewise.
6963 ($(objpfx)bug-glob2-mem): Likewise.
6964 * resolv/Makefile (generate): Likewise.
6965 (tests-special): Likewise.
6966 (xtests-special): Likewise.
6967 (generated): Likewise.
6968 ($(objpfx)mtrace-tst-leaks): Likewise.
6969 ($(objpfx)mtrace-tst-leaks2): Likewise.
6971 * scripts/merge-test-results.sh: New file.
6972 * Makefile (tests-special-notdir): New variable.
6973 (tests): Run merge-test-results.sh.
6975 * Rules (tests-special-notdir): New variable.
6976 (xtests-special-notdir): Likewise.
6977 (tests): Run merge-test-results.sh
6980 * Makeconfig (test-xfail-name): New variable.
6981 (evaluate-test): Use $(test-xfail-name) instead of $(@F:.out=) to
6982 compute variable name for expected failures.
6983 * conform/Makefile (conformtest-headers-data): New variable.
6984 (conformtest-standards): Likewise.
6985 (conformtest-headers-ISO): Likewise.
6986 (conformtest-headers-ISO99): Likewise.
6987 (conformtest-headers-ISO11): Likewise.
6988 (conformtest-headers-POSIX): Likewise.
6989 (conformtest-headers-XPG3): Likewise.
6990 (conformtest-headers-XPG4): Likewise.
6991 (conformtest-headers-UNIX98): Likewise.
6992 (conformtest-headers-XOPEN2K): Likewise.
6993 (conformtest-headers-POSIX2008): Likewise.
6994 (conformtest-headers-XOPEN2K8): Likewise.
6995 (conformtest-header-list-base): Likewise.
6996 (conformtest-header-list-tests): Likewise.
6997 (conformtest-header-base): Likewise.
6998 (conformtest-header-tests): Likewise.
6999 (tests-special): Add $(conformtest-header-list-tests). If
7000 [$(fast-check) && !$(cross-compiling)], add
7001 $(conformtest-header-tests) instead of
7002 $(objpfx)run-conformtest.out.
7003 (generated): Add $(conformtest-header-list-base). If
7004 [$(fast-check) && !$(cross-compiling)], add
7005 $(conformtest-header-base). Remove previous setting.
7006 ($(conformtest-header-list-tests)): New target.
7007 (test-xfail-run-conformtest): Remove variable.
7008 ($(objpfx)run-conformtest.out): Remove target.
7009 (test-xfail-ISO11/complex.h/conform): New variable.
7010 (test-xfail-ISO11/stdalign.h/conform): Likewise.
7011 (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
7012 (test-xfail-XPG3/varargs.h/conform): Likewise.
7013 (test-xfail-XPG4/varargs.h/conform): Likewise.
7014 (test-xfail-UNIX98/varargs.h/conform): Likewise.
7015 (test-xfail-XPG4/ndbm.h/conform): Likewise.
7016 (test-xfail-UNIX98/ndbm.h/conform): Likewise.
7017 (test-xfail-XOPEN2K/ndbm.h/conform): Likewise.
7018 (test-xfail-XOPEN2K8/ndbm.h/conform): Likewise.
7019 (test-xfail-XPG3/fcntl.h/conform): Likewise.
7020 (test-xfail-XPG3/ftw.h/conform): Likewise.
7021 (test-xfail-XPG3/grp.h/conform): Likewise.
7022 (test-xfail-XPG3/langinfo.h/conform): Likewise.
7023 (test-xfail-XPG3/limits.h/conform): Likewise.
7024 (test-xfail-XPG3/pwd.h/conform): Likewise.
7025 (test-xfail-XPG3/search.h/conform): Likewise.
7026 (test-xfail-XPG3/signal.h/conform): Likewise.
7027 (test-xfail-XPG3/stdio.h/conform): Likewise.
7028 (test-xfail-XPG3/stdlib.h/conform): Likewise.
7029 (test-xfail-XPG3/string.h/conform): Likewise.
7030 (test-xfail-XPG3/sys/ipc.h/conform): Likewise.
7031 (test-xfail-XPG3/sys/msg.h/conform): Likewise.
7032 (test-xfail-XPG3/sys/sem.h/conform): Likewise.
7033 (test-xfail-XPG3/sys/shm.h/conform): Likewise.
7034 (test-xfail-XPG3/sys/stat.h/conform): Likewise.
7035 (test-xfail-XPG3/sys/types.h/conform): Likewise.
7036 (test-xfail-XPG3/sys/wait.h/conform): Likewise.
7037 (test-xfail-XPG3/termios.h/conform): Likewise.
7038 (test-xfail-XPG3/time.h/conform): Likewise.
7039 (test-xfail-XPG3/unistd.h/conform): Likewise.
7040 (test-xfail-XPG4/arpa/inet.h/conform): Likewise.
7041 (test-xfail-XPG4/fcntl.h/conform): Likewise.
7042 (test-xfail-XPG4/langinfo.h/conform): Likewise.
7043 (test-xfail-XPG4/netdb.h/conform): Likewise.
7044 (test-xfail-XPG4/netinet/in.h/conform): Likewise.
7045 (test-xfail-XPG4/signal.h/conform): Likewise.
7046 (test-xfail-XPG4/stdio.h/conform): Likewise.
7047 (test-xfail-XPG4/stdlib.h/conform): Likewise.
7048 (test-xfail-XPG4/stropts.h/conform): Likewise.
7049 (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
7050 (test-xfail-XPG4/sys/msg.h/conform): Likewise.
7051 (test-xfail-XPG4/sys/sem.h/conform): Likewise.
7052 (test-xfail-XPG4/sys/shm.h/conform): Likewise.
7053 (test-xfail-XPG4/sys/socket.h/conform): Likewise.
7054 (test-xfail-XPG4/sys/stat.h/conform): Likewise.
7055 (test-xfail-XPG4/sys/time.h/conform): Likewise.
7056 (test-xfail-XPG4/sys/types.h/conform): Likewise.
7057 (test-xfail-XPG4/sys/wait.h/conform): Likewise.
7058 (test-xfail-XPG4/termios.h/conform): Likewise.
7059 (test-xfail-XPG4/ucontext.h/conform): Likewise.
7060 (test-xfail-XPG4/unistd.h/conform): Likewise.
7061 (test-xfail-XPG4/utmpx.h/conform): Likewise.
7062 (test-xfail-POSIX/sched.h/conform): Likewise.
7063 (test-xfail-POSIX/signal.h/conform): Likewise.
7064 (test-xfail-POSIX/sys/wait.h/conform): Likewise.
7065 (test-xfail-POSIX/tar.h/conform): Likewise.
7066 (test-xfail-UNIX98/arpa/inet.h/conform): Likewise.
7067 (test-xfail-UNIX98/fcntl.h/conform): Likewise.
7068 (test-xfail-UNIX98/langinfo.h/conform): Likewise.
7069 (test-xfail-UNIX98/netdb.h/conform): Likewise.
7070 (test-xfail-UNIX98/netinet/in.h/conform): Likewise.
7071 (test-xfail-UNIX98/sched.h/conform): Likewise.
7072 (test-xfail-UNIX98/signal.h/conform): Likewise.
7073 (test-xfail-UNIX98/stdio.h/conform): Likewise.
7074 (test-xfail-UNIX98/stdlib.h/conform): Likewise.
7075 (test-xfail-UNIX98/stropts.h/conform): Likewise.
7076 (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
7077 (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
7078 (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
7079 (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
7080 (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
7081 (test-xfail-UNIX98/sys/time.h/conform): Likewise.
7082 (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
7083 (test-xfail-UNIX98/ucontext.h/conform): Likewise.
7084 (test-xfail-UNIX98/unistd.h/conform): Likewise.
7085 (test-xfail-UNIX98/utmpx.h/conform): Likewise.
7086 (test-xfail-XOPEN2K/aio.h/conform): Likewise.
7087 (test-xfail-XOPEN2K/arpa/inet.h/conform): Likewise.
7088 (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
7089 (test-xfail-XOPEN2K/langinfo.h/conform): Likewise.
7090 (test-xfail-XOPEN2K/math.h/conform): Likewise.
7091 (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
7092 (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
7093 (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
7094 (test-xfail-XOPEN2K/semaphore.h/conform): Likewise.
7095 (test-xfail-XOPEN2K/signal.h/conform): Likewise.
7096 (test-xfail-XOPEN2K/stdarg.h/conform): Likewise.
7097 (test-xfail-XOPEN2K/stdio.h/conform): Likewise.
7098 (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
7099 (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
7100 (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
7101 (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
7102 (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
7103 (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
7104 (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
7105 (test-xfail-XOPEN2K/termios.h/conform): Likewise.
7106 (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
7107 (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
7108 (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
7109 (test-xfail-POSIX2008/arpa/inet.h/conform): Likewise.
7110 (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
7111 (test-xfail-POSIX2008/netdb.h/conform): Likewise.
7112 (test-xfail-POSIX2008/netinet/in.h/conform): Likewise.
7113 (test-xfail-POSIX2008/signal.h/conform): Likewise.
7114 (test-xfail-POSIX2008/stropts.h/conform): Likewise.
7115 (test-xfail-POSIX2008/sys/socket.h/conform): Likewise.
7116 (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
7117 (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
7118 (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
7119 (test-xfail-XOPEN2K8/limits.h/conform): Likewise.
7120 (test-xfail-XOPEN2K8/math.h/conform): Likewise.
7121 (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
7122 (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
7123 (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
7124 (test-xfail-XOPEN2K8/stdio.h/conform): Likewise.
7125 (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
7126 (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
7127 (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
7128 (test-xfail-XOPEN2K8/sys/select.h/conform): Likewise.
7129 (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
7130 (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
7131 (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
7132 (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
7133 (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
7134 (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
7135 (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
7136 (test-xfail-XOPEN2K8/utmpx.h/conform): Likewise.
7137 (conformtest-cc-flags): Likewise.
7138 ($(conformtest-header-tests): New target.
7139 * conform/check-header-lists.sh: New file.
7140 * conform/run-conformtest.sh: Remove.
7142 * conform/conformtest.pl: Allow ' and \ in values given for
7144 * conform/data/semaphore.h-data [POSIX] (fcntl.h): Allow header
7146 [POSIX] (sys/types.h): Likewise.
7147 [POSIX2008 || XOPEN2K8] (sys/types.h): Don't allow header
7149 [POSIX || UNIX98 || XOPEN2K] (time.h): Don't allow header
7151 * conform/data/signal.h-data (SIGIO): Remove expectation.
7152 [XPG3] (SIGBUS): Do not expect.
7153 [POSIX || XPG3] (SIGPOLL): Likewise.
7154 [POSIX || XPG3] (SIGPROF): Likewise.
7155 [POSIX || XPG3] (SIGSYS): Likewise.
7156 [XPG3] (SIGTRAP): Likewise.
7157 [POSIX || XPG3] (SIGURG): Likewise.
7158 [POSIX || XPG3] (SIGVTALRM): Likewise.
7159 [POSIX || XPG3] (SIGXCPU): Likewise.
7160 [POSIX || XPG3] (SIGXFSZ): Likewise.
7161 [POSIX] (SA_SIGINFO): Expect.
7162 [XPG3] (siginfo_t): Do not expect type or contents.
7163 [POSIX] (si_pid): Do not expect element.
7164 [POSIX] (si_uid): Likewise.
7165 [POSIX] (si_addr): Likewise.
7166 [POSIX] (si_status): Likewise.
7167 [POSIX] (si_band): Likewise.
7168 [XPG4] (si_value): Likewise.
7169 [POSIX || XPG3] (ILL_ILLOPC): Do not expect.
7170 [POSIX || XPG3] (ILL_ILLOPN): Likewise.
7171 [POSIX || XPG3] (ILL_ILLADR): Likewise.
7172 [POSIX || XPG3] (ILL_ILLTRP): Likewise.
7173 [POSIX || XPG3] (ILL_PRVOPC): Likewise.
7174 [POSIX || XPG3] (ILL_PRVREG): Likewise.
7175 [POSIX || XPG3] (ILL_COPROC): Likewise.
7176 [POSIX || XPG3] (ILL_BADSTK): Likewise.
7177 [POSIX || XPG3] (FPE_INTDIV): Likewise.
7178 [POSIX || XPG3] (FPE_INTOVF): Likewise.
7179 [POSIX || XPG3] (FPE_FLTDIV): Likewise.
7180 [POSIX || XPG3] (FPE_FLTOVF): Likewise.
7181 [POSIX || XPG3] (FPE_FLTUND): Likewise.
7182 [POSIX || XPG3] (FPE_FLTRES): Likewise.
7183 [POSIX || XPG3] (FPE_FLTINV): Likewise.
7184 [POSIX || XPG3] (FPE_FLTSUB): Likewise.
7185 [POSIX || XPG3] (SEGV_MAPERR): Likewise.
7186 [POSIX || XPG3] (SEGV_ACCERR): Likewise.
7187 [POSIX || XPG3] (BUS_ADRALN): Likewise.
7188 [POSIX || XPG3] (BUS_ADRERR): Likewise.
7189 [POSIX || XPG3] (BUS_OBJERR): Likewise.
7190 [POSIX || XPG3] (CLD_EXITED): Likewise.
7191 [POSIX || XPG3] (CLD_KILLED): Likewise.
7192 [POSIX || XPG3] (CLD_DUMPED): Likewise.
7193 [POSIX || XPG3] (CLD_TRAPPED): Likewise.
7194 [POSIX || XPG3] (CLD_STOPPED): Likewise.
7195 [POSIX || XPG3] (CLD_CONTINUED): Likewise.
7196 [POSIX || XPG3] (POLL_IN): Likewise.
7197 [POSIX || XPG3] (POLL_OUT): Likewise.
7198 [POSIX || XPG3] (POLL_MSG): Likewise.
7199 [POSIX || XPG3] (POLL_ERR): Likewise.
7200 [POSIX || XPG3] (POLL_PRI): Likewise.
7201 [POSIX || XPG3] (POLL_HUP): Likewise.
7202 [POSIX || XPG3 || POSIX2008] (TRAP_BRKPT): Likewise.
7203 [POSIX || XPG3 || POSIX2008] (TRAP_TRACE): Likewise.
7204 (SIG*): Do not allow.
7205 [XPG3] (si_*): Likewise.
7206 [XPG3] (SI_*): Likewise.
7207 [XPG3 || XPG4] (sigev_*): Likewise.
7208 [XPG3 || XPG4] (SIGEV_*): Likewise.
7209 [XPG3 || XPG4] (sival_*): Likewise.
7210 [POSIX || XPG3 || XPG4] (uc_*): Likewise.
7211 [POSIX || XPG3] (BUS_*): Likewise.
7212 [POSIX || XPG3] (CLD_*): Likewise.
7213 [POSIX || XPG3] (FPE_*): Likewise.
7214 [POSIX || XPG3] (ILL_*): Likewise.
7215 [POSIX || XPG3] (POLL_*): Likewise.
7216 [POSIX || XPG3] (SEGV_*): Likewise.
7217 [POSIX || XPG3 || POSIX2008] (SS_*): Likewise.
7218 [POSIX || XPG3 || POSIX2008] (SV_*): Likewise.
7219 [POSIX || XPG3 || POSIX2008] (TRAP_*): Likewise.
7220 [POSIX || XPG3 || POSIX2008] (ss_*): Likewise.
7221 [POSIX || XPG3 || POSIX2008] (sv_*): Likewise.
7222 * conform/data/tar.h-data (TMAGLEN): Use macro-int-constant.
7223 Specify type and value.
7224 (TVERSLEN): Likewise.
7225 (REGTYPE): Likewise.
7226 (AREGTYPE): Likewise.
7227 (LNKTYPE): Likewise.
7228 (SYMTYPE): Likewise.
7229 (CHRTYPE): Likewise.
7230 (BLKTYPE): Likewise.
7231 (DIRTYPE): Likewise.
7232 (FIFOTYPE): Likewise.
7233 (CONTTYPE): Likewise.
7238 (TUWRITE): Likewise.
7241 (TGWRITE): Likewise.
7244 (TOWRITE): Likewise.
7246 [POSIX] (TSVTX): Expect constant.
7248 2014-03-06 Joseph Myers <joseph@codesourcery.com>
7250 * Makefile (tests): Change dependencies to ....
7251 (tests-special): ... additions to this variable.
7252 (tests): Depend on $(tests-special).
7253 * Makerules (check-abi-list): New variable.
7254 (check-abi): Depend on $(check-abi-list).
7255 [$(subdir) = elf] (tests-special): Add
7256 $(objpfx)check-abi-libc.out.
7257 [$(build-shared) = yes && subdir] (tests-special): Add
7259 [$(build-shared) = yes && subdir] (tests): Do not depend on
7261 * Rules (tests): Depend on $(tests-special).
7262 (xtests): Depend on $(xtests-special).
7263 * catgets/Makefile (tests): Change dependencies to ....
7264 (tests-special): ... additions to this variable.
7265 * conform/Makefile (tests): Change dependencies to ....
7266 (tests-special): ... additions to this variable.
7267 * elf/Makefile (tests): Change dependencies to ....
7268 (tests-special): ... additions to this variable.
7269 * grp/Makefile (tests): Change dependencies to ....
7270 (tests-special): ... additions to this variable.
7271 * iconv/Makefile (xtests): Change dependencies to ....
7272 (xtests-special): ... additions to this variable.
7273 * iconvdata/Makefile (tests): Change dependencies to ....
7274 (tests-special): ... additions to this variable.
7275 * intl/Makefile (tests): Change dependencies to ....
7276 (tests-special): ... additions to this variable. Also add
7277 $(objpfx)tst-gettext.out.
7278 * io/Makefile (tests): Change dependencies to ....
7279 (tests-special): ... additions to this variable.
7280 * libio/Makefile (tests): Change dependencies to ....
7281 (tests-special): ... additions to this variable.
7282 * malloc/Makefile (tests): Change dependencies to ....
7283 (tests-special): ... additions to this variable.
7284 * misc/Makefile (tests): Change dependencies to ....
7285 (tests-special): ... additions to this variable.
7286 * nptl/Makefile (tests): Change dependencies to ....
7287 (tests-special): ... additions to this variable.
7288 * nptl_db/Makefile (tests): Change dependencies to ....
7289 (tests-special): ... additions to this variable.
7290 * posix/Makefile (tests): Change dependencies to ....
7291 (tests-special): ... additions to this variable.
7292 (xtests): Change dependencies to ....
7293 (xtests-special): ... additions to this variable.
7294 * resolv/Makefile (tests): Change dependencies to ....
7295 (tests-special): ... additions to this variable.
7296 (xtests): Change dependencies to ....
7297 (xtests-special): ... additions to this variable.
7298 * stdio-common/Makefile (tests): Change dependencies to ....
7299 (tests-special): ... additions to this variable.
7300 (do-tst-unbputc): Remove target.
7301 (do-tst-printf): Likewise.
7302 * stdlib/Makefile (tests): Change dependencies to ....
7303 (tests-special): ... additions to this variable.
7304 * string/Makefile (tests): Change dependencies to ....
7305 (tests-special): ... additions to this variable.
7306 * sysdeps/x86/Makefile (tests): Change dependencies to ....
7307 (tests-special): ... additions to this variable.
7309 * conform/data/netinet/tcp.h-data [POSIX2008 || XOPEN2K8]: Enable
7311 * conform/data/sys/timeb.h-data [POSIX2008 || XOPEN2K8]: Disable
7313 * conform/data/sys/uio.h-data [POSIX2008]: Likewise.
7314 * conform/data/ucontext.h-data [POSIX2008 || XOPEN2K8]: Likewise.
7316 * conform/data/aio.h-data [XPG3 || XPG4]: Disable whole file.
7317 * conform/data/arpa/inet.h-data [XPG3]: Likewise.
7318 * conform/data/dlfcn.h-data [XPG3 || XPG4]: Likewise.
7319 * conform/data/fmtmsg.h-data [XPG3]: Likewise.
7320 * conform/data/libgen.h-data [XPG3]: Likewise.
7321 * conform/data/mqueue.h-data [XPG3 || XPG4]: Likewise.
7322 * conform/data/ndbm.h-data [XPG3]: Likewise.
7323 * conform/data/net/if.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
7324 * conform/data/netdb.h-data [XPG3]: Likewise.
7325 * conform/data/netinet/in.h-data [XPG3]: Likewise.
7326 * conform/data/poll.h-data [XPG3]: Likewise.
7327 * conform/data/spawn.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
7328 * conform/data/strings.h-data [XPG3]: Likewise.
7329 * conform/data/stropts.h-data [XPG3]: Likewise.
7330 * conform/data/sys/mman.h-data [XPG3]: Likewise.
7331 * conform/data/sys/resource.h-data [XPG3]: Likewise.
7332 * conform/data/sys/select.h-data [XPG3 || XPG4 || UNIX98]:
7334 * conform/data/sys/statvfs.h-data [XPG3]: Likewise.
7335 * conform/data/sys/time.h-data [XPG3]: Likewise.
7336 * conform/data/sys/timeb.h-data [XPG3]: Likewise.
7337 * conform/data/sys/uio.h-data [XPG3]: Likewise.
7338 * conform/data/sys/un.h-data [XPG3]: Likewise.
7339 * conform/data/syslog.h-data [XPG3]: Likewise.
7340 * conform/data/ucontext.h-data [XPG3]: Likewise.
7341 * conform/data/utmpx.h-data [XPG3]: Likewise.
7342 * conform/data/varargs.h-data [UNIX98]: Enable file.
7344 * manual/Makefile (INSTALL_INFO): Remove variable setting.
7346 * math/libm-test.inc (struct test_f_f_data): Move expected results
7347 into structure for each rounding mode.
7348 (struct test_ff_f_data): Likewise.
7349 (struct test_ff_f_data_nexttoward): Likewise.
7350 (struct test_fi_f_data): Likewise.
7351 (struct test_fl_f_data): Likewise.
7352 (struct test_if_f_data): Likewise.
7353 (struct test_fff_f_data): Likewise.
7354 (struct test_c_f_data): Likewise.
7355 (struct test_f_f1_data): Likewise.
7356 (struct test_fF_f1_data): Likewise.
7357 (struct test_ffI_f1_data): Likewise.
7358 (struct test_c_c_data): Likewise.
7359 (struct test_cc_c_data): Likewise.
7360 (struct test_f_i_data): Likewise.
7361 (struct test_ff_i_data): Likewise.
7362 (struct test_f_l_data): Likewise.
7363 (struct test_f_L_data): Likewise.
7364 (struct test_fFF_11_data): Likewise.
7366 (RM_FE_DOWNWARD): Likewise.
7367 (RM_FE_TONEAREST): Likewise.
7368 (RM_FE_TOWARDZERO): Likewise.
7369 (RM_FE_UPWARD): Likewise.
7370 (RUN_TEST_LOOP_f_f): Update references to expected results.
7371 (RUN_TEST_LOOP_2_f): Likewise.
7372 (RUN_TEST_LOOP_fff_f): Likewise.
7373 (RUN_TEST_LOOP_c_f): Likewise.
7374 (RUN_TEST_LOOP_f_f1): Likewise.
7375 (RUN_TEST_LOOP_fF_f1): Likewise.
7376 (RUN_TEST_LOOP_fI_f1): Likewise.
7377 (RUN_TEST_LOOP_ffI_f1): Likewise.
7378 (RUN_TEST_LOOP_c_c): Likewise.
7379 (RUN_TEST_LOOP_cc_c): Likewise.
7380 (RUN_TEST_LOOP_f_i): Likewise.
7381 (RUN_TEST_LOOP_f_i_tg): Likewise.
7382 (RUN_TEST_LOOP_ff_i_tg): Likewise.
7383 (RUN_TEST_LOOP_f_b): Likewise.
7384 (RUN_TEST_LOOP_f_b_tg): Likewise.
7385 (RUN_TEST_LOOP_f_l): Likewise.
7386 (RUN_TEST_LOOP_f_L): Likewise.
7387 (RUN_TEST_LOOP_fFF_11): Likewise.
7388 * math/gen-libm-test.pl (parse_args): Output four copies of
7389 expected results for each test.
7391 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
7392 (__ASSUME_UTIMES): Remove.
7393 * sysdeps/unix/sysv/linux/tile/kernel-features.h
7394 (__ASSUME_UTIMES): Likewise.
7396 * math/gen-auto-libm-tests.c: Update comment on output format.
7397 (output_for_one_input_case): Generate before-rounding and
7398 after-rounding information as conditions on output flags not
7399 floating-point format.
7400 * math/auto-libm-test-out: Regenerated.
7401 * math/gen-libm-test.pl (cond_value): New function.
7402 (or_cond_value): Use cond_value.
7403 (generate_testfile): Handle conditional exceptions.
7405 2014-03-05 Joseph Myers <joseph@codesourcery.com>
7407 * math/libm-test.inc (max_valid_error): New variable.
7408 (init_max_error): Take new argument specifying whether function
7409 results are exactly determined. Set max_valid_error and bound
7410 other variables for errors based on this argument.
7411 (set_max_error): Do not record results above max_valid_error.
7412 (check_float_internal): Only accept errors of up to 0.5ulps if
7413 also at most max_valid_error.
7414 (START): Take new argument EXACT and pass it to init_max_error.
7415 (acos_test): Update call to START.
7416 (acos_test_tonearest): Likewise.
7417 (acos_test_towardzero): Likewise.
7418 (acos_test_downward): Likewise.
7419 (acos_test_upward): Likewise.
7420 (acosh_test): Likewise.
7421 (asin_test): Likewise.
7422 (asin_test_tonearest): Likewise.
7423 (asin_test_towardzero): Likewise.
7424 (asin_test_downward): Likewise.
7425 (asin_test_upward): Likewise.
7426 (asinh_test): Likewise.
7427 (atan_test): Likewise.
7428 (atanh_test): Likewise.
7429 (atan2_test): Likewise.
7430 (cabs_test): Likewise.
7431 (cacos_test): Likewise.
7432 (cacosh_test): Likewise.
7433 (carg_test): Likewise.
7434 (casin_test): Likewise.
7435 (casinh_test): Likewise.
7436 (catan_test): Likewise.
7437 (catanh_test): Likewise.
7438 (cbrt_test): Likewise.
7439 (ccos_test): Likewise.
7440 (ccosh_test): Likewise.
7441 (ceil_test): Likewise.
7442 (cexp_test): Likewise.
7443 (cimag_test): Likewise.
7444 (clog_test): Likewise.
7445 (clog10_test): Likewise.
7446 (conj_test): Likewise.
7447 (copysign_test): Likewise.
7448 (cos_test): Likewise.
7449 (cos_test_tonearest): Likewise.
7450 (cos_test_towardzero): Likewise.
7451 (cos_test_downward): Likewise.
7452 (cos_test_upward): Likewise.
7453 (cosh_test): Likewise.
7454 (cosh_test_tonearest): Likewise.
7455 (cosh_test_towardzero): Likewise.
7456 (cosh_test_downward): Likewise.
7457 (cosh_test_upward): Likewise.
7458 (cpow_test): Likewise.
7459 (cproj_test): Likewise.
7460 (creal_test): Likewise.
7461 (csin_test): Likewise.
7462 (csinh_test): Likewise.
7463 (csqrt_test): Likewise.
7464 (ctan_test): Likewise.
7465 (ctan_test_tonearest): Likewise.
7466 (ctan_test_towardzero): Likewise.
7467 (ctan_test_downward): Likewise.
7468 (ctan_test_upward): Likewise.
7469 (ctanh_test): Likewise.
7470 (ctanh_test_tonearest): Likewise.
7471 (ctanh_test_towardzero): Likewise.
7472 (ctanh_test_downward): Likewise.
7473 (ctanh_test_upward): Likewise.
7474 (erf_test): Likewise.
7475 (erfc_test): Likewise.
7476 (exp_test): Likewise.
7477 (exp_test_tonearest): Likewise.
7478 (exp_test_towardzero): Likewise.
7479 (exp_test_downward): Likewise.
7480 (exp_test_upward): Likewise.
7481 (exp10_test): Likewise.
7482 (exp10_test_tonearest): Likewise.
7483 (exp10_test_towardzero): Likewise.
7484 (exp10_test_downward): Likewise.
7485 (exp10_test_upward): Likewise.
7486 (pow10_test): Likewise.
7487 (exp2_test): Likewise.
7488 (expm1_test): Likewise.
7489 (expm1_test_tonearest): Likewise.
7490 (expm1_test_towardzero): Likewise.
7491 (expm1_test_downward): Likewise.
7492 (expm1_test_upward): Likewise.
7493 (fabs_test): Likewise.
7494 (fdim_test): Likewise.
7495 (floor_test): Likewise.
7496 (fma_test): Likewise.
7497 (fma_test_towardzero): Likewise.
7498 (fma_test_downward): Likewise.
7499 (fma_test_upward): Likewise.
7500 (fmax_test): Likewise.
7501 (fmin_test): Likewise.
7502 (fmod_test): Likewise.
7503 (fpclassify_test): Likewise.
7504 (frexp_test): Likewise.
7505 (hypot_test): Likewise.
7506 (ilogb_test): Likewise.
7507 (isfinite_test): Likewise.
7508 (finite_test): Likewise.
7509 (isgreater_test): Likewise.
7510 (isgreaterequal_test): Likewise.
7511 (isinf_test): Likewise.
7512 (isless_test): Likewise.
7513 (islessequal_test): Likewise.
7514 (islessgreater_test): Likewise.
7515 (isnan_test): Likewise.
7516 (isnormal_test): Likewise.
7517 (issignaling_test): Likewise.
7518 (isunordered_test): Likewise.
7519 (j0_test): Likewise.
7520 (j1_test): Likewise.
7521 (jn_test): Likewise.
7522 (ldexp_test): Likewise.
7523 (lgamma_test): Likewise.
7524 (gamma_test): Likewise.
7525 (lrint_test): Likewise.
7526 (lrint_test_tonearest): Likewise.
7527 (lrint_test_towardzero): Likewise.
7528 (lrint_test_downward): Likewise.
7529 (lrint_test_upward): Likewise.
7530 (llrint_test): Likewise.
7531 (llrint_test_tonearest): Likewise.
7532 (llrint_test_towardzero): Likewise.
7533 (llrint_test_downward): Likewise.
7534 (llrint_test_upward): Likewise.
7535 (log_test): Likewise.
7536 (log10_test): Likewise.
7537 (log1p_test): Likewise.
7538 (log2_test): Likewise.
7539 (logb_test): Likewise.
7540 (logb_test_downward): Likewise.
7541 (lround_test): Likewise.
7542 (llround_test): Likewise.
7543 (modf_test): Likewise.
7544 (nearbyint_test): Likewise.
7545 (nextafter_test): Likewise.
7546 (nexttoward_test): Likewise.
7547 (pow_test): Likewise.
7548 (pow_test_tonearest): Likewise.
7549 (pow_test_towardzero): Likewise.
7550 (pow_test_downward): Likewise.
7551 (pow_test_upward): Likewise.
7552 (remainder_test): Likewise.
7553 (drem_test): Likewise.
7554 (remainder_test_tonearest): Likewise.
7555 (drem_test_tonearest): Likewise.
7556 (remainder_test_towardzero): Likewise.
7557 (drem_test_towardzero): Likewise.
7558 (remainder_test_downward): Likewise.
7559 (drem_test_downward): Likewise.
7560 (remainder_test_upward): Likewise.
7561 (drem_test_upward): Likewise.
7562 (remquo_test): Likewise.
7563 (rint_test): Likewise.
7564 (rint_test_tonearest): Likewise.
7565 (rint_test_towardzero): Likewise.
7566 (rint_test_downward): Likewise.
7567 (rint_test_upward): Likewise.
7568 (round_test): Likewise.
7569 (scalb_test): Likewise.
7570 (scalbn_test): Likewise.
7571 (scalbln_test): Likewise.
7572 (signbit_test): Likewise.
7573 (sin_test): Likewise.
7574 (sin_test_tonearest): Likewise.
7575 (sin_test_towardzero): Likewise.
7576 (sin_test_downward): Likewise.
7577 (sin_test_upward): Likewise.
7578 (sincos_test): Likewise.
7579 (sinh_test): Likewise.
7580 (sinh_test_tonearest): Likewise.
7581 (sinh_test_towardzero): Likewise.
7582 (sinh_test_downward): Likewise.
7583 (sinh_test_upward): Likewise.
7584 (sqrt_test): Likewise.
7585 (sqrt_test_tonearest): Likewise.
7586 (sqrt_test_towardzero): Likewise.
7587 (sqrt_test_downward): Likewise.
7588 (sqrt_test_upward): Likewise.
7589 (tan_test): Likewise.
7590 (tan_test_tonearest): Likewise.
7591 (tan_test_towardzero): Likewise.
7592 (tan_test_downward): Likewise.
7593 (tan_test_upward): Likewise.
7594 (tanh_test): Likewise.
7595 (tgamma_test): Likewise.
7596 (trunc_test): Likewise.
7597 (y0_test): Likewise.
7598 (y1_test): Likewise.
7599 (yn_test): Likewise.
7600 (significand_test): Likewise.
7602 * math/libm-test.inc (struct ulp_data): Don't refer to ulps for
7603 individual tests in comment.
7604 (libm-test-ulps.h): Don't refer to test_ulps in #include comment.
7605 (prev_max_error): New variable.
7606 (prev_real_max_error): Likewise.
7607 (prev_imag_max_error): Likewise.
7608 (compare_ulp_data): Don't refer to test names in comment.
7609 (find_test_ulps): Remove function.
7610 (find_function_ulps): Likewise.
7611 (find_complex_function_ulps): Likewise.
7612 (init_max_error): Take function name as argument. Look up ulps
7614 (print_ulps): Remove function.
7615 (print_max_error): Use prev_max_error instead of calling
7617 (print_complex_max_error): Use prev_real_max_error and
7618 prev_imag_max_error instead of calling find_complex_function_ulps.
7619 (check_float_internal): Take max_ulp parameter instead of calling
7620 find_test_ulps. Don't call print_ulps.
7621 (check_float): Update call to check_float_internal.
7622 (check_complex): Update calls to check_float_internal.
7623 (START): Pass argument to init_max_error.
7624 * math/gen-libm-test.pl (%results): Don't include "kind"
7626 (parse_ulps): Don't handle ulps of individual tests.
7627 (print_ulps_file): Likewise.
7628 (output_ulps): Likewise.
7629 * math/README.libm-test: Update.
7630 * manual/libm-err-tab.pl (parse_ulps): Don't handle ulps of
7632 * sysdeps/aarch64/libm-test-ulps: Remove individual test ulps.
7633 * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
7634 * sysdeps/arm/libm-test-ulps: Likewise.
7635 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
7636 * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
7637 * sysdeps/m68k/coldfire/fpu/libm-test-ulps: Likewise.
7638 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Likewise.
7639 * sysdeps/microblaze/libm-test-ulps: Likewise.
7640 * sysdeps/mips/mips32/libm-test-ulps: Likewise.
7641 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
7642 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
7643 * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
7644 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
7645 * sysdeps/sh/libm-test-ulps: Likewise.
7646 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
7647 * sysdeps/tile/libm-test-ulps: Likewise.
7648 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7650 2014-03-04 Joseph Myers <joseph@codesourcery.com>
7652 * math/libm-test.inc (print_complex_max_error): Check separately
7653 whether real and imaginary errors are within allowed range and
7654 pass 0 to print_complex_function_ulps instead of value within
7657 2014-03-04 Siddhesh Poyarekar <siddhesh@redhat.com>
7659 * libio/tst-ftell-active-handler.c (get_handles_fdopen): Fix
7661 (get_handles_fopen): Likewise.
7662 (do_write_test): Likewise.
7664 * libio/wfileops.c (do_ftell_wide): Fix up formatting.
7666 * libio/fileops.c (do_ftell): Use cached offset when
7668 * libio/iofwide.c (do_ftell_wide): Likewise.
7669 * libio/iofdopen.c (_IO_new_fdopen): Don't use
7671 * libio/wfileops.c (_IO_fwide): Don't cache offset.
7674 * libio/libioP.h (get_file_offset): New function.
7675 * libio/fileops.c (get_file_offset): Likewise.
7676 (do_ftell): Likewise.
7677 (_IO_new_file_seekoff): Split out ftell logic.
7678 * libio/wfileops.c (do_ftell_wide): Likewise.
7679 (_IO_wfile_seekoff): Split out ftell logic.
7680 * libio/tst-ftell-active-handler.c: New test case.
7681 * libio/Makefile (tests): Add it.
7683 2014-03-03 Roland McGrath <roland@hack.frob.com>
7685 * nptl/ChangeLog: Renamed to nptl/ChangeLog.old, no longer used.
7686 * nptl_db/ChangeLog: Renamed to nptl_db/ChangeLog.old, no longer used.
7688 2014-03-03 Siddhesh Poyarekar <siddhesh@redhat.com>
7691 * nscd/connections.c (nscd_init): Call do_exit.
7692 (start_threads): Call do_exit and notify_parent.
7693 (begin_drop_privileges): Call do_exit.
7694 (finish_drop_privileges): Likewise.
7695 * nscd/selinux.c (preserve_capabilities): Likewise.
7696 (install_real_capabilities): Likewise.
7697 (nscd_selinux_enabled): Likewise.
7698 (avc_create_thread): Likewise.
7699 (avc_alloc_lock): Likewise.
7700 (nscd_avc_init): Likewise.
7701 * nscd/nscd.c (parent_fd): New static variable.
7702 (main): Create a pipe between parent and child processes.
7703 Skip closing parent_fd.
7704 (monitor_child): New function.
7705 (do_exit): Likewise.
7706 (notify_parent): Likewise.
7707 * nscd/nscd.h (notify_parent): Likewise.
7708 (do_exit): Likewise.
7710 2014-03-03 Carlos O'Donell <carlos@redhat.com>
7712 * malloc/malloc.c (__libc_calloc): Revert last change.
7714 2014-03-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7716 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7718 2014-03-03 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
7720 * sysdeps/powerpc/powerpc64/power7/strrchr.S: New file.
7721 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strrchr multiarch
7723 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
7724 (__libc_ifunc_impl_list): Likewise.
7725 * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: New file.
7726 * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: New file.
7727 * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: New file.
7728 * string/strrchr.c: Define STRRCHR.
7730 2014-02-28 Ondřej Bílka <neleai@seznam.cz>
7732 * benchtest/bench-strtok.c (simple_strtok): Delete.
7733 (strtok_string): Use as benchmark.
7734 * string/strtok (STRTOK): New macro.
7736 2014-02-28 Carlos O'Donell <carlos@redhat.com>
7738 * manual/threads.texi: Add header and standard comments to all
7741 * elf/dl-lookup.c (check_match): New function.
7742 (ELF_MACHINE_SYM_NO_MATCH): Adjust comment.
7743 (do_lookup_x): Remove nested function check_match. Use non-nested
7744 function check_match.
7746 2014-02-28 Roland McGrath <roland@hack.frob.com>
7748 * csu/Makefile (generated, before-compile): Use += rather than =.
7749 * catgets/Makefile (generated, generated-dirs): Likewise.
7750 * debug/Makefile (generated): Likewise.
7751 * dlfcn/Makefile (generated): Likewise.
7752 * elf/Makefile (before-compile, generated, generated-dirs): Likewise.
7753 * iconvdata/Makefile (before-compile, generated): Likewise.
7754 * intl/Makefile (before-compile, generated, generated-dirs): Likewise.
7755 * libio/Makefile (generated): Likewise.
7756 * malloc/Makefile (generated): Likewise.
7757 * manual/Makefile (generated, generated-dirs): Likewise.
7758 * misc/Makefile (generated): Likewise.
7759 * posix/Makefile (generated): Likewise.
7760 * resolv/Makefile (generated): Likewise.
7761 * sunrpc/Makefile (generated, generated-dirs): Likewise.
7762 * timezone/Makefile (generated, generated-dirs): Likewise.
7764 * stdio-common/Versions (libc: GLIBC_PRIVATE): Add missing }.
7766 2014-02-27 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7768 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
7769 power8 implementation.
7770 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: New
7771 file: POWER8 llround ifunc implementation.
7772 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c
7773 (__lllround): Add POWER8 implementation.
7774 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: New file:
7775 POWER8 llround implementation.
7777 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint
7778 power8 implementation.
7779 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: New
7780 file: POWER8 llrint ifunc implementation.
7781 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c (__lllrint):
7782 Add POWER8 implementation.
7783 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: New file:
7784 POWER8 llrint implementation.
7786 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite
7787 power8 implementation.
7788 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: New
7789 file: POWER8 finite ifunc implementation.
7790 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c (__finite):
7791 Add POWER8 implementation.
7792 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c (__finitef):
7794 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: New file:
7795 POWER8 finite implementation.
7796 * sysdeps/powerpc/powerpc64/power8/fpu/s_finitef.S: New file.
7798 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf
7799 power8 implementation.
7800 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: New
7801 file: POWER8 isinf ifunc implementation.
7802 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c (__isinf): Add
7803 POWER8 implementation.
7804 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c (__isinff):
7806 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: New file: POWER8
7807 isinf implementation.
7808 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinff.S: New file.
7810 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h
7811 (INIT_ARCH): Add hwcap2 initialization.
7812 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
7813 power8 implementation.
7814 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: New
7815 file: POWER8 isnan ifunc implementation.
7816 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c (__isnan): Add
7817 POWER8 implementation.
7818 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c (__isnanf):
7820 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: New file: POWER8
7821 isnan implementation.
7822 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnanf.S: New file.
7824 2014-02-27 Joey Ye <joey.ye@arm.com>
7826 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
7827 (_FP_NANFRAC_Q): Set to zero.
7829 2014-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
7832 * math/auto-libm-test-in: New test inputs.
7833 * math/auto-libm-test-out: Regenerate.
7834 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Preserve sign of A
7837 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
7839 2014-02-27 Joseph Myers <joseph@codesourcery.com>
7841 * scripts/evaluate-test.sh: Take new argument indicating whether
7842 failure is expected.
7843 * Makeconfig (evaluate-test): Pass argument to evaluate-test.sh
7844 indicating whether failure is expected.
7845 * conform/Makefile (test-xfail-run-conformtest): New variable.
7846 ($(objpfx)run-conformtest.out): Don't expect to fail at makefile
7848 * posix/Makefile (test-xfail-annexc): New variable.
7849 ($(objpfx)annexc.out): Don't expect to fail at makefile level.
7851 2014-02-26 Joseph Myers <joseph@codesourcery.com>
7853 * argp/Makefile: Include Makeconfig immediately after defining
7855 * assert/Makefile: Likewise.
7856 * benchtests/Makefile: Likewise.
7857 * catgets/Makefile: Likewise.
7858 * conform/Makefile: Likewise.
7859 * crypt/Makefile: Likewise.
7860 * csu/Makefile: Likewise.
7861 (all): Remove target.
7862 * ctype/Makefile: Include Makeconfig immediately after defining
7864 * debug/Makefile: Likewise.
7865 * dirent/Makefile: Likewise.
7866 * dlfcn/Makefile: Likewise.
7867 * gmon/Makefile: Likewise.
7868 * gnulib/Makefile: Likewise.
7869 * grp/Makefile: Likewise.
7870 * gshadow/Makefile: Likewise.
7871 * hesiod/Makefile: Likewise.
7872 * hurd/Makefile: Likewise.
7873 (all): Remove target.
7874 * iconvdata/Makefile: Include Makeconfig immediately after
7876 * inet/Makefile: Likewise.
7877 * intl/Makefile: Likewise.
7878 * io/Makefile: Likewise.
7879 * libio/Makefile: Likewise.
7880 (all): Remove target.
7881 * locale/Makefile: Include Makeconfig immediately after defining
7883 * login/Makefile: Likewise.
7884 * mach/Makefile: Likewise.
7885 (all): Remove target.
7886 * malloc/Makefile: Include Makeconfig immediately after defining
7888 (all): Remove target.
7889 * manual/Makefile: Include Makeconfig immediately after defining
7891 * math/Makefile: Likewise.
7892 * misc/Makefile: Likewise.
7893 * nis/Makefile: Likewise.
7894 * nss/Makefile: Likewise.
7895 * po/Makefile: Likewise.
7896 (all): Remove target.
7897 * posix/Makefile: Include Makeconfig immediately after defining
7899 * pwd/Makefile: Likewise.
7900 * resolv/Makefile: Likewise.
7901 * resource/Makefile: Likewise.
7902 * rt/Makefile: Likewise.
7903 * setjmp/Makefile: Likewise.
7904 * shadow/Makefile: Likewise.
7905 * signal/Makefile: Likewise.
7906 * socket/Makefile: Likewise.
7907 * soft-fp/Makefile: Likewise.
7908 * stdio-common/Makefile: Likewise.
7909 * stdlib/Makefile: Likewise.
7910 * streams/Makefile: Likewise.
7911 * string/Makefile: Likewise.
7912 * sunrpc/Makefile: Likewise.
7913 (all): Remove target.
7914 * sysvipc/Makefile: Include Makeconfig immediately after defining
7916 * termios/Makefile: Likewise.
7917 * time/Makefile: Likewise.
7918 * timezone/Makefile: Likewise.
7919 (all): Remove target.
7920 * wcsmbs/Makefile: Include Makeconfig immediately after defining
7922 * wctype/Makefile: Likewise.
7924 2014-02-26 Steve Ellcey <sellcey@mips.com>
7926 * sysdeps/mips/math_private.h (_FPU_MASK_ALL) New.
7927 (libc_feholdexcept_mips): Use _FPU_MASK_ALL.
7928 (libc_feholdexcept_setround_mips): Ditto.
7929 (libc_feholdsetround): New.
7930 (libc_feholdsetroundf): New.
7931 (libc_feholdsetroundl): New.
7932 (libc_feupdateenv_test_mips): New.
7933 (libc_feupdateenv_test): New.
7934 (libc_feupdateenv_testf): New.
7935 (libc_feupdateenv_testl): New.
7936 (libc_feresetround): New.
7937 (libc_feresetroundf): New.
7938 (libc_feresetroundl): New.
7939 (libc_fetestexcept_mips): New.
7940 (libc_fetestexcept): New.
7941 (libc_fetestexceptf): New.
7942 (libc_fetestexceptl): New.
7944 (libc_feholdexcept_setround_mips_ctx): New.
7945 (libc_feholdexcept_setround_ctx): New.
7946 (libc_feholdexcept_setroundf_ctx): New.
7947 (libc_feholdexcept_setroundl_ctx): New.
7948 (libc_fesetenv_mips_ctx): New.
7949 (libc_fesetenv_ctx): New.
7950 (libc_fesetenv_ctxf): New.
7951 (libc_fesetenv_ctxl): New.
7952 (libc_feupdateenv_mips_ctx): New.
7953 (libc_feupdateenv_ctx): New.
7954 (libc_feupdateenvf_ctx): New.
7955 (libc_feupdateenvl_ctx): New.
7956 (libc_feholdsetround_mips_ctx): New.
7957 (libc_feholdsetround_ctx): New.
7958 (libc_feholdsetroundf_ctx): New.
7959 (libc_feholdsetroundl_ctx): New.
7960 (libc_feresetround_mips_ctx): New.
7961 (libc_feresetround_ctx): New.
7962 (libc_feresetroundf_ctx): New.
7963 (libc_feresetroundl_ctx): New.
7965 2014-02-26 Carlos O'Donell <carlos@redhat.com>
7967 * manual/ipc.texi (Semaphores): Use @Theglibc{}.
7969 * manual/ipc.texi: New file.
7970 * manual/Makefile (chapters): Add ipc.
7971 * manual/job.texi: Add "Inter-Process Communication" to next.
7972 * manual/process.texi: Add "Inter-Process Communication" to prev.
7974 2014-02-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7976 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7978 2014-02-26 Ondřej Bílka <neleai@seznam.cz>
7980 * malloc/malloc.c (__libc_calloc): Simplify implementation.
7982 * manual/arith.texi: Fix spaces after sentences.
7983 * manual/charset.texi: Likewise.
7984 * manual/errno.texi: Likewise.
7985 * manual/install.texi: Likewise.
7986 * manual/llio.texi: Likewise.
7987 * manual/locale.texi: Likewise.
7988 * manual/maint.texi: Likewise.
7989 * manual/math.texi: Likewise.
7990 * manual/memory.texi: Likewise.
7991 * manual/message.texi: Likewise.
7992 * manual/probes.texi: Likewise.
7993 * manual/resource.texi: Likewise.
7994 * manual/signal.texi: Likewise.
7995 * manual/socket.texi: Likewise.
7996 * manual/stdio.texi: Likewise.
7997 * manual/string.texi: Likewise.
7998 * manual/time.texi: Likewise.
7999 * manual/users.texi: Likewise.
8001 2014-02-25 Carlos O'Donell <carlos@redhat.com>
8004 * include/features.h: Don't warn about _BSD_SOURCE or _SVID_SOURCE if
8005 _DEFAULT_SOURCE is defined.
8007 2014-02-25 Ulrich Drepper <drepper@gmail.com>
8008 Carlos O'Donell <carlos@redhat.com>
8011 * elf/dl-tls.c (_dl_count_modids): New function.
8012 * sysdeps/generic/ldsodefs.h: Declare _dl_count_modids.
8013 * elf/rtld.c (dl_main): Call _dl_count_modids to track TLS usage in
8014 audit library and increment generation counter.
8015 (_dl_allocate_tls_init): Add assertion to check TLS generation count.
8016 * elf/tst-audit9.c: New file.
8017 * elf/tst-auditmod9a.c: New file.
8018 * elf/tst-auditmod9b.c: New file.
8019 * elf/Makefile: Add rules to build and run tst-audit9.
8021 2014-02-25 Florian Weimer <fweimer@redhat.com>
8024 * misc/sys/select.h (__FD_MASK): Avoid signed integer overflow.
8026 2014-02-25 Will Newton <will.newton@linaro.org>
8028 * sysdeps/arm/__longjmp.S: Include stap-probe.h.
8029 (__longjmp): Restore sp and lr before restoring callee
8030 saved registers. Add longjmp and longjmp_target
8031 SystemTap probe point.
8032 * sysdeps/arm/bits/setjmp.h (__jmp_buf): Update comment.
8033 * sysdeps/arm/include/bits/setjmp.h (__JMP_BUF_SP):
8034 Define to zero to match jmpbuf layout.
8035 * sysdeps/arm/setjmp.S: Include stap-probe.h.
8036 (__sigsetjmp): Save sp and lr before saving callee
8037 saved registers. Add setjmp SystemTap probe point.
8039 2014-02-24 Stefan Liebler <stli@linux.vnet.ibm.com>
8041 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
8043 2014-02-24 Andreas Schwab <schwab@suse.de>
8046 * elf/pldd.c (wait_for_ptrace_stop): New function.
8047 (main): Call it after attaching.
8049 2014-02-22 Roland McGrath <roland@hack.frob.com>
8051 * Makerules ($(common-objpfx)Versions.v.i): No longer depend
8052 on $(common-objpfx)abi-versions.h; using <shlib-compat.h> inside
8053 Versions files is now verboten.
8054 * hurd/Versions (libc: GLIBC_2.0):
8055 Remove various [SHLIB_COMPAT (libc, GLIBC_2_0, ...)] sections.
8056 (libc: HURD_CTHREADS_0.3): Remove conditionalization, was under
8057 [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)].
8058 * mach/Versions: Likewise.
8060 * csu/Versions: Remove unused %include.
8061 * resolv/Versions: Likewise.
8063 2014-02-21 Joseph Myers <joseph@codesourcery.com>
8065 * Makefile ($(objpfx)c++-types-check.out): Use $(evaluate-test).
8066 ($(objpfx)check-local-headers.out): Likewise.
8067 ($(objpfx)begin-end-check.out): Likewise.
8068 * Makerules (check-abi-%.out): Likewise.
8069 * catgets/Makefile ($(objpfx)test1.cat): Likewise.
8070 ($(objpfx)test2.cat): Likewise.
8071 ($(objpfx)de/libc.cat): Likewise.
8072 ($(objpfx)test-gencat.out): Likewise.
8073 * conform/Makefile ($(objpfx)run-conformtest.out): Likewise.
8074 * elf/Makefile ($(objpfx)order-cmp.out): Likewise.
8075 ($(objpfx)noload-mem): Likewise.
8076 ($(objpfx)tst-pathopt.out): Likewise.
8077 ($(objpfx)tst-rtld-load-self.out): Likewise.
8078 ($(objpfx)tst-array1-cmp.out): Likewise.
8079 ($(objpfx)tst-array1-static-cmp.out): Likewise.
8080 ($(objpfx)tst-array2-cmp.out): Likewise.
8081 ($(objpfx)tst-array3-cmp.out): Likewise.
8082 ($(objpfx)tst-array4-cmp.out): Likewise.
8083 ($(objpfx)tst-array5-cmp.out): Likewise.
8084 ($(objpfx)tst-array5-static-cmp.out): Likewise.
8085 ($(objpfx)check-textrel.out): Likewise.
8086 ($(objpfx)check-execstack.out): Likewise.
8087 ($(objpfx)check-localplt.out): Likewise.
8088 ($(objpfx)order2-cmp.out): Likewise.
8089 ($(objpfx)tst-leaks1-mem): Likewise.
8090 ($(objpfx)tst-leaks1-static-mem): Likewise.
8091 ($(objpfx)tst-initorder-cmp.out): Likewise.
8092 ($(objpfx)tst-initorder2-cmp.out): Likewise.
8093 ($(objpfx)tst-unused-dep.out): Likewise.
8094 ($(objpfx)tst-unused-dep-cmp.out): Likewise.
8095 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
8096 * iconv/Makefile (test-iconvconfig): Likewise.
8097 * iconvdata/Makefile ($(objpfx)mtrace-tst-loading): Likewise.
8098 ($(objpfx)iconv-test.out): Likewise.
8099 ($(objpfx)tst-tables.out): Likewise.
8100 * intl/Makefile ($(objpfx)mtrace-tst-gettext): Likewise.
8101 ($(objpfx)tst-gettext.out): Likewise.
8102 ($(objpfx)tst-translit.out): Likewise.
8103 ($(objpfx)tst-gettext2.out): Likewise.
8104 ($(objpfx)tst-gettext4.out): Likewise.
8105 ($(objpfx)tst-gettext6.out): Likewise.
8106 * io/Makefile ($(objpfx)ftwtest.out): Likewise.
8107 * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
8108 ($(objpfx)tst-fopenloc-cmp.out): Likewise.
8109 ($(objpfx)tst-fopenloc-mem.out): Likewise.
8110 * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
8111 * misc/Makefile ($(objpfx)tst-error1-mem): Likewise.
8112 * posix/Makefile ($(objpfx)globtest.out): Likewise.
8113 ($(objpfx)wordexp-tst.out): Likewise.
8114 ($(objpfx)annexc.out): Likewise.
8115 ($(objpfx)tst-fnmatch-mem): Likewise.
8116 ($(objpfx)bug-regex2-mem): Likewise.
8117 ($(objpfx)bug-regex14-mem): Likewise.
8118 ($(objpfx)bug-regex21-mem): Likewise.
8119 ($(objpfx)bug-regex31-mem): Likewise.
8120 ($(objpfx)tst-vfork3-mem): Likewise.
8121 ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
8122 ($(objpfx)tst-pcre-mem): Likewise.
8123 ($(objpfx)tst-boost-mem): Likewise.
8124 ($(objpfx)tst-getconf.out): Likewise.
8125 ($(objpfx)bug-ga2-mem): Likewise.
8126 ($(objpfx)bug-glob2-mem): Likewise.
8127 * resolv/Makefile ($(objpfx)mtrace-tst-leaks): Likewise.
8128 ($(objpfx)mtrace-tst-leaks2): Likewise.
8129 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Likewise.
8130 ($(objpfx)tst-printf.out): Likewise.
8131 ($(objpfx)tst-setvbuf1.out): Likewise.
8132 ($(objpfx)tst-setvbuf1-cmp.out): Likewise.
8133 * stdlib/Makefile ($(objpfx)isomac.out): Likewise.
8134 ($(objpfx)tst-fmtmsg.out): Likewise.
8135 * string/Makefile ($(objpfx)tst-svc-cmp.out): Likewise.
8136 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Likewise.
8138 * bits/fcntl.h [__USE_MISC]: Remove redundant conditionals.
8139 * bits/sigaction.h [__USE_MISC]: Likewise.
8140 * bits/waitstatus.h: Update #endif comments.
8141 * ctype/ctype.h: Likewise.
8142 * dirent/dirent.h: Likewise.
8143 [__USE_MISC]: Remove redundant conditionals.
8144 * grp/grp.h: Update #endif comments.
8145 [__USE_GNU]: Remove redundant conditionals.
8146 [__USE_MISC]: Likewise.
8147 * inet/netinet/in.h [__USE_GNU]: Likewise.
8148 * io/sys/stat.h [__USE_MISC]: Likewise.
8149 * libio/bits/stdio-ldbl.h [__USE_MISC]: Likewise.
8150 * libio/bits/stdio.h: Update #endif comments.
8151 [__USE_MISC]: Remove redundant conditionals.
8152 * libio/bits/stdio2.h [__USE_MISC]: Likewise.
8153 * libio/stdio.h: Update #endif comments.
8154 [__USE_MISC]: Remove redundant conditionals.
8155 * math/bits/math-finite.h [__USE_MISC]: Likewise.
8156 * math/bits/mathcalls.h [__USE_MISC]: Likewise.
8157 * math/math.h: Update #else and #endif comments.
8158 [__USE_MISC]: Remove redundant conditionals.
8159 * misc/sys/uio.h: Update #endif comments.
8160 * posix/bits/unistd.h [__USE_MISC]: Remove redundant conditionals.
8161 * posix/glob.h [__USE_MISC]: Likewise.
8162 * posix/sys/types.h: Update #endif comments.
8163 [__USE_MISC]: Remove redundant conditionals.
8164 * posix/sys/wait.h: Update #endif comments.
8165 [__USE_MISC]: Remove redundant conditionals.
8166 * posix/unistd.h: Update #endif comments.
8167 [__USE_MISC]: Remove redundant conditionals.
8168 * pwd/pwd.h [__USE_GNU]: Likewise.
8169 [__USE_MISC]: Likewise.
8170 * resolv/netdb.h [__USE_GNU]: Likewise.
8171 * signal/signal.h: Update #endif comments.
8172 [__USE_MISC]: Remove redundant conditionals.
8173 * stdlib/stdlib.h: Update #else and #endif comments.
8174 [__USE_MISC]: Remove redundant conditionals.
8175 [__USE_GNU]: Likewise.
8176 * string/bits/string2.h [__USE_MISC]: Likewise.
8177 * string/string.h: Update #endif comments.
8178 [__USE_MISC]: Remove redundant conditionals.
8179 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h [__USE_MISC]:
8181 * sysdeps/mach/hurd/bits/fcntl.h [__USE_MISC]: Likewise.
8182 * sysdeps/mach/hurd/bits/stat.h [__USE_MISC]: Likewise.
8183 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h [__USE_MISC]:
8185 * sysdeps/unix/sysv/linux/alpha/bits/stat.h [__USE_MISC]:
8187 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Update #endif
8189 [__USE_MISC]: Remove redundant conditionals.
8190 * sysdeps/unix/sysv/linux/bits/in.h [__USE_GNU]: Likewise.
8191 * sysdeps/unix/sysv/linux/bits/sigaction.h [__USE_MISC]: Likewise.
8192 * sysdeps/unix/sysv/linux/bits/socket.h [__USE_GNU]: Likewise.
8193 * sysdeps/unix/sysv/linux/bits/stat.h [__USE_MISC]: Likewise.
8194 * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h [__USE_MISC]:
8196 * sysdeps/unix/sysv/linux/m68k/bits/stat.h [__USE_MISC]: Likewise.
8197 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h [__USE_MISC]:
8199 * sysdeps/unix/sysv/linux/mips/bits/stat.h [__USE_MISC]: Likewise.
8200 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h [__USE_MISC]:
8202 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h [__USE_MISC]:
8204 * sysdeps/unix/sysv/linux/s390/bits/stat.h [__USE_MISC]: Likewise.
8205 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h [__USE_MISC]:
8207 * sysdeps/unix/sysv/linux/sparc/bits/stat.h [__USE_MISC]:
8209 * sysdeps/unix/sysv/linux/x86/bits/stat.h [__USE_MISC]: Likewise.
8210 * sysdeps/x86/bits/string.h: Update #endif comments.
8211 * sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC]: Remove redundant
8213 * time/sys/time.h: Update #endif comments.
8214 * time/time.h: Likewise.
8215 [__USE_MISC]: Remove redundant conditionals.
8217 2014-02-21 Yury Gribov <y.gribov@samsung.com>
8220 * sysdeps/arm/libm-test-ulps: Update for VFPv4.
8222 2014-02-21 Andreas Schwab <schwab@linux-m68k.org>
8224 * Versions.def (librt): Add GLIBC_2.17.
8226 2014-02-21 Adam Conrad <adconrad@0c3.net>
8228 * sysdeps/powerpc/bits/hwcap.h: Allow _SYSDEPS_SYSDEP_H guard as a
8229 synonym for _SYS_AUXV_H to allow direct inclusion.
8230 * sysdeps/sparc/bits/hwcap.h: Likewise.
8231 * sysdeps/powerpc/sysdep.h: Define _SYSDEPS_SYSDEP_H instead of
8232 _SYS_AUXV_H so we can include sysdep.h and sys/auxv.h together.
8233 * sysdeps/sparc/sysdep.h: Likewise.
8235 2014-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
8237 * benchtests/bench-strrchr.c (do_test): Fix minor formatting.
8239 2014-02-21 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
8241 * benchtests/bench-strrchr.c: Print length instead of position.
8243 2014-02-20 Joseph Myers <joseph@codesourcery.com>
8246 * sysdeps/unix/sysv/linux/kernel-features.h
8247 [__LINUX_KERNEL_VERSION >= 0x030000 && __ASSUME_SOCKETCALL]
8248 (__ASSUME_SENDMMSG_SOCKETCALL): Define.
8249 [__LINUX_KERNEL_VERSION >= 0x030000 && (__i386__ || __x86_64__ ||
8250 __powerpc__ || __sh__ || __sparc__)] (__ASSUME_SENDMMSG_SYSCALL):
8252 [__i386__ || __powerpc__ || __sh__ || __sparc__]
8253 (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
8254 [__ASSUME_SENDMMSG_SOCKETCALL || __ASSUME_SENDMMSG_SYSCALL]
8255 (__ASSUME_SENDMMSG): Define instead of using previous
8256 [__LINUX_KERNEL_VERSION >= 0x020627] condition.
8257 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
8258 (__ASSUME_SENDMMSG_SYSCALL): Define.
8259 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
8260 [__LINUX_KERNEL_VERSION >= 0x030200] (__ASSUME_SENDMMSG_SYSCALL):
8262 * sysdeps/unix/sysv/linux/arm/kernel-features.h
8263 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
8265 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
8266 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
8268 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SOCKETCALL
8269 && !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
8270 !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
8271 [__ASSUME_SENDMMSG]: Change conditionals to
8272 [__ASSUME_SENDMMSG_SOCKETCALL].
8273 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
8274 [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_SENDMMSG_SYSCALL):
8276 * sysdeps/unix/sysv/linux/mips/kernel-features.h
8277 [__LINUX_KERNEL_VERSION >= 0x030100] (__ASSUME_SENDMMSG_SYSCALL):
8279 * sysdeps/unix/sysv/linux/sendmmsg.c [__ASSUME_SOCKETCALL &&
8280 !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
8281 !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
8282 [!__ASSUME_SENDMMSG]: Change conditional to
8283 [!__ASSUME_SENDMMSG_SOCKETCALL].
8284 * sysdeps/unix/sysv/linux/tile/kernel-features.h
8285 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
8289 * sysdeps/unix/sysv/linux/kernel-features.h
8290 [__LINUX_KERNEL_VERSION >= 0x020621 && __ASSUME_SOCKETCALL]
8291 (__ASSUME_RECVMMSG_SOCKETCALL): Define.
8292 [(__LINUX_KERNEL_VERSION >= 0x020621 && (__i386__ || __x86_64__ ||
8293 __sparc__)) || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__
8294 || __sh__))] (__ASSUME_RECVMMSG_SYSCALL): Likewise.
8295 [__i386__ || __sparc__]
8296 (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
8297 [__ASSUME_RECVMMSG_SOCKETCALL || __ASSUME_RECVMMSG_SYSCALL]
8298 (__ASSUME_RECVMMSG): Define instead of using previous
8299 [__LINUX_KERNEL_VERSION >= 0x020621] condition.
8300 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
8301 (__ASSUME_RECVMMSG_SYSCALL): Define.
8302 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
8303 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
8305 * sysdeps/unix/sysv/linux/arm/kernel-features.h
8306 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
8308 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
8309 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
8311 * sysdeps/unix/sysv/linux/internal_recvmmsg.S [__ASSUME_SOCKETCALL
8312 && !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
8313 !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
8314 [__ASSUME_RECVMMSG]: Change condition to
8315 [__ASSUME_RECVMMSG_SOCKETCALL].
8316 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
8317 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
8319 (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
8320 * sysdeps/unix/sysv/linux/mips/kernel-features.h
8321 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
8323 * sysdeps/unix/sysv/linux/recvmmsg.c [__ASSUME_SOCKETCALL &&
8324 !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
8325 !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
8326 [!__ASSUME_RECVMMSG]: Change condition to
8327 [!__ASSUME_RECVMMSG_SOCKETCALL].
8328 * sysdeps/unix/sysv/linux/tile/kernel-features.h
8329 (__ASSUME_RECVMMSG_SYSCALL): Define.
8332 * sysdeps/unix/sysv/linux/kernel-features.h [__i386__ ||
8333 __powerpc__ || __s390__ || __sh__ || __sparc__]
8334 (__ASSUME_SOCKETCALL): Define.
8335 [__LINUX_KERNEL_VERSION && __ASSUME_SOCKETCALL]
8336 (__ASSUME_ACCEPT4_SOCKETCALL): Likewise.
8337 [(__LINUX_KERNEL_VERSION >= 0x02061c && (__x86_64__ || __sparc__))
8338 || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__ ||
8339 __sh__))] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
8340 [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
8341 [__ASSUME_ACCEPT4_SOCKETCALL || __ASSUME_ACCEPT4_SYSCALL]
8342 (__ASSUME_ACCEPT4): Define instead of using previous
8343 [__LINUX_KERNEL_VERSION >= 0x02061c && (__i386__ || __x86_64__ ||
8344 __powerpc__ || __sparc__ || __s390__)] condition.
8345 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
8346 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
8347 * sysdeps/unix/sysv/linux/accept4.c [__ASSUME_SOCKETCALL &&
8348 !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
8349 !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
8350 [!__ASSUME_ACCEPT4]: Change condition to
8351 [!__ASSUME_ACCEPT4_SOCKETCALL].
8352 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
8353 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL. Correct
8354 condition to [__LINUX_KERNEL_VERSION >= 0x030200].
8355 * sysdeps/unix/sysv/linux/arm/kernel-features.h
8356 [__LINUX_KERNEL_VERSION >= 0x020624] (__ASSUME_ACCEPT4): Change to
8357 __ASSUME_ACCEPT4_SYSCALL.
8358 * sysdeps/unix/sysv/linux/i386/accept4.S [__ASSUME_ACCEPT4]:
8359 Change conditions to [__ASSUME_ACCEPT4_SOCKETCALL].
8360 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
8361 [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_ACCEPT4): Change to
8362 __ASSUME_ACCEPT4_SYSCALL.
8363 * sysdeps/unix/sysv/linux/internal_accept4.S [__ASSUME_SOCKETCALL
8364 && !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
8365 !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
8366 [__ASSUME_ACCEPT4]: Change condition to
8367 [__ASSUME_ACCEPT4_SOCKETCALL].
8368 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
8369 (__ASSUME_SOCKETCALL): Define.
8370 [__LINUX_KERNEL_VERSION >= 0x02061c] (__ASSUME_ACCEPT4): Remove.
8371 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
8372 (__ASSUME_SOCKETCALL): Define.
8373 (__ASSUME_ACCEPT4): Remove.
8374 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_ACCEPT4_SYSCALL):
8376 * sysdeps/unix/sysv/linux/mips/kernel-features.h
8377 [__LINUX_KERNEL_VERSION >= 0x02061f] (__ASSUME_ACCEPT4_SYSCALL):
8379 * sysdeps/unix/sysv/linux/tile/kernel-features.h
8380 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
8382 * sysdeps/unix/sysv/linux/arm/bits/hwcap.h (HWCAP_ARM_VFPD32): New
8384 (HWCAP_ARM_LPAE): Likewise.
8385 (HWCAP_ARM_EVTSTRM): Likewise.
8386 * sysdeps/unix/sysv/linux/arm/dl-procinfo.c (_dl_arm_cap_flags):
8387 Add vpfd32, lpae and evtstrm.
8388 * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_DL_HWCAP_COUNT):
8391 2014-02-19 Joseph Myers <joseph@codesourcery.com>
8393 * math/auto-libm-test-in: Add tests of clog10.
8394 * math/auto-libm-test-out: Regenerated.
8395 * math/libm-test.inc (clog10_test_data): Use AUTO_TESTS_c_c.
8396 * sysdeps/i386/fpu/libm-test-ulps: Update.
8397 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8399 2014-02-18 Andreas Schwab <schwab@suse.de>
8402 * resolv/res_send.c (send_vc): Add parameter ansp2_malloced.
8403 Store non-zero if the second buffer was newly allocated.
8404 (send_dg): Likewise.
8405 (__libc_res_nsend): Add parameter ansp2_malloced and pass it down
8406 to send_vc and send_dg.
8407 (res_nsend): Pass NULL for ansp2_malloced.
8408 * resolv/res_query.c (__libc_res_nquery): Add parameter
8409 answerp2_malloced and pass it down to __libc_res_nsend.
8410 (res_nquery): Pass additional NULL to __libc_res_nquery.
8411 (__libc_res_nsearch): Add parameter answerp2_malloced and pass it
8412 down to __libc_res_nquery and __libc_res_nquerydomain. Deallocate
8413 second answer buffer if answerp2_malloced was set.
8414 (res_nsearch): Pass additional NULL to __libc_res_nsearch.
8415 (__libc_res_nquerydomain): Add parameter
8416 answerp2_malloced and pass it down to __libc_res_nquery.
8417 (res_nquerydomain): Pass additional NULL to
8418 __libc_res_nquerydomain.
8419 * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Pass
8420 additional NULL to __libc_res_nsend and __libc_res_nquery.
8421 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Pass
8422 additional NULL to __libc_res_nsearch.
8423 (_nss_dns_gethostbyname4_r): Revert last change. Use new
8424 parameter of __libc_res_nsearch to check for separately allocated
8426 (_nss_dns_gethostbyaddr2_r): Pass additional NULL to
8428 * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Pass
8429 additional NULL to __libc_res_nquery.
8430 * resolv/gethnamaddr.c (gethostbyname2): Pass additional NULL to
8432 (gethostbyaddr): Pass additional NULL to __libc_res_nquery.
8433 * include/resolv.h: Update prototypes of __libc_res_nquery,
8434 __libc_res_nsearch, __libc_res_nsend.
8436 2014-02-18 Joseph Myers <joseph@codesourcery.com>
8438 * math/auto-libm-test-in: Add tests of fma.
8439 * math/auto-libm-test-out: Regenerated.
8440 * math/libm-test.inc (fma_test_data): Use AUTO_TESTS_fff_f.
8441 (fma_towardzero_test_data): Likewise.
8442 (fma_downward_test_data): Likewise.
8443 (fma_upward_test_data): Likewise.
8444 * math/gen-auto-libm-tests.c (rounding_mode_desc): Add field
8446 (rounding_modes): Add values for new field.
8447 (func_calc_method): Add value mpfr_fff_f.
8448 (func_calc_desc): Add mpfr_fff_f union field.
8449 (test_function): Add field exact_args.
8450 (FUNC): Add macro argument EXACT_ARGS.
8451 (FUNC_mpfr_f_f): Update call to FUNC.
8452 (FUNC_mpfr_f_f): Likewise.
8453 (FUNC_mpfr_ff_f): Likewise.
8454 (FUNC_mpfr_if_f): Likewise.
8455 (FUNC_mpc_c_f): Likewise.
8456 (FUNC_mpc_c_c): Likewise.
8457 (test_functions): Add fma. Update calls to FUNC.
8458 (handle_input_arg): Add argument exact_args.
8459 (add_test): Update call to handle_input_arg.
8460 (calc_generic_results): Add argument mode. Handle mpfr_fff_f.
8461 (output_for_one_input_case): Update call to calc_generic_results.
8462 Recalculate exact zero results in each rounding mode.
8464 * math/gen-auto-libm-tests.c (adjust_real): Ensure integers are
8465 non-negative before setting low bit.
8466 * math/auto-libm-test-in: Mark one asin test possibly having
8468 * math/auto-libm-test-out: Regenerated.
8469 * sysdeps/i386/fpu/libm-test-ulps: Update.
8470 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8472 2014-02-17 David Holsgrove <david.holsgrove@xilinx.com>
8474 * sysdeps/microblaze: Move directory from ports/sysdeps/microblaze.
8475 * sysdeps/unix/sysv/linux/microblaze: Move directory from
8476 ports/sysdeps/unix/sysv/linux/microblaze.
8477 * README: Add missing listing for microblaze*-*-linux-gnu.
8479 2014-02-16 Mike Frysinger <vapier@gentoo.org>
8481 * sysdeps/ia64: Move directory from ports/sysdeps/ia64.
8482 * sysdeps/unix/sysv/linux/ia64: Move directory from
8483 ports/sysdeps/unix/sysv/linux/ia64.
8484 * README: Update listing for ia64-*-linux-gnu.
8486 2014-02-14 Tomas Dohnalek <tdohnale@redhat.com>
8487 Joseph Myers <joseph@codesourcery.com>
8489 * Makeconfig (test-name): New variable.
8490 (evaluate-test): Likewise.
8491 * Makerules (do-test-clean): Remove .test-result files.
8492 (common-mostlyclean): Likewise.
8493 * Rules ($(objpfx)%.out): Use $(evaluate-test) in both rules.
8494 * scripts/evaluate-test.sh: New file.
8496 2014-02-14 Joseph Myers <joseph@codesourcery.com>
8498 * libio/Makefile ($(objpfx)tst-fopenloc.check): Split into
8499 separate $(objpfx)tst-fopenloc-cmp.out and
8500 $(objpfx)tst-fopenloc-mem.out targets.
8501 (tests): Update dependencies.
8502 * posix/Makefile (tests variable): Add tst-rxspencer-no-utf8.
8503 (generated): Change tst-rxspencer-mem and tst-rxspencer.mtrace to
8504 tst-rxspencer-no-utf8-mem and tst-rxspencer-no-utf8.mtrace.
8505 (tst-rxspencer-no-utf8-ARGS): New variable.
8506 (tst-rxspencer-no-utf8-ENV): Likewise.
8507 (tests target): Depend on $(objpfx)tst-rxspencer-no-utf8-mem
8508 instead of $(objpfx)tst-rxspencer-mem.
8509 ($(objpfx)tst-rxspencer-mem): Change target to
8510 $(objpfx)tst-rxspencer-no-utf8-mem. Depend on
8511 $(objpfx)tst-rxspencer-no-utf8.out instead of running test program.
8512 * posix/tst-rxspencer-no-utf8.c: New file.
8514 * elf/Makefile ($(objpfx)order.out): Remove rule.
8515 [$(run-built-tests) = yes] (tests): Depend on
8516 $(objpfx)order-cmp.out.
8517 ($(objpfx)order-cmp.out): New rule.
8518 [$(run-built-tests) = yes] (tests): Depend on
8519 $(objpfx)tst-array1-cmp.out, $(objpfx)tst-array1-static-cmp.out,
8520 $(objpfx)tst-array2-cmp.out, $(objpfx)tst-array3-cmp.out,
8521 $(objpfx)tst-array4-cmp.out, $(objpfx)tst-array5-cmp.out and
8522 $(objpfx)tst-array5-static-cmp.out.
8523 ($(objpfx)tst-array1.out): Remove rule.
8524 ($(objpfx)tst-array1-cmp.out): New rule.
8525 ($(objpfx)tst-array1-static.out): Remove rule.
8526 ($(objpfx)tst-array1-static-cmp.out): New rule.
8527 ($(objpfx)tst-array2.out): Remove rule.
8528 ($(objpfx)tst-array2-cmp.out): New rule.
8529 ($(objpfx)tst-array3.out): Remove rule.
8530 ($(objpfx)tst-array3-cmp.out): New rule.
8531 ($(objpfx)tst-array4.out): Remove rule.
8532 ($(objpfx)tst-array4-cmp.out): New rule.
8533 ($(objpfx)tst-array5.out): Remove rule.
8534 ($(objpfx)tst-array5-cmp.out): New rule.
8535 ($(objpfx)tst-array5-static.out): Remove rule.
8536 ($(objpfx)tst-array5-static-cmp.out): New rule.
8537 [$(run-built-tests) = yes] (tests): Depend on
8538 $(objpfx)order2-cmp.out.
8539 ($(objpfx)order2.out): Remove rule.
8540 ($(objpfx)order2-cmp.out): New rule.
8541 ($(objpfx)tst-initorder.out): Remove rule.
8542 [$(run-built-tests) = yes] (tests): Depend on
8543 $(objpfx)tst-initorder-cmp.out.
8544 ($(objpfx)tst-initorder-cmp.out): New rule.
8545 ($(objpfx)tst-initorder2.out): Remove rule.
8546 [$(run-built-tests) = yes] (tests): Depend on
8547 $(objpfx)tst-initorder2-cmp.out.
8548 ($(objpfx)tst-initorder2-cmp.out): New rule.
8549 [$(run-built-tests) = yes] (tests): Depend on
8550 $(objpfx)tst-unused-dep-cmp.out.
8551 ($(objpfx)tst-unused-dep-cmp.out): Do not run cmp.
8552 ($(objpfx)tst-unused-dep-cmp.out): New rule.
8553 * stdio-common/Makefile [$(run-built-tests) = yes] (tests): Depend
8554 on $(objpfx)tst-setvbuf1-cmp.out.
8555 ($(objpfx)tst-setvbuf1.out): Do not run cmp.
8556 ($(objpfx)tst-setvbuf1-cmp.out): New rule.
8557 * string/Makefile [$(run-built-tests) = yes] (tests): Depend
8558 $(objpfx)tst-svc-cmp.out instead of $(objpfx)tst-svc.out.
8559 ($(objpfx)tst-svc.out): Remove rule.
8560 ($(objpfx)tst-svc-cmp.out): New rule.
8562 2014-02-13 Joseph Myers <joseph@codesourcery.com>
8564 * bits/mman.h [__USE_MISC]: Remove redundant conditionals.
8565 * ctype/ctype.h [__USE_MISC]: Likewise.
8566 * dirent/dirent.h [__USE_MISC]: Likewise.
8567 * grp/grp.h [__USE_MISC]: Likewise.
8568 * io/fcntl.h [__USE_MISC]: Likewise.
8569 * io/sys/stat.h [__USE_MISC]: Likewise.
8570 * libio/stdio.h [__USE_MISC]: Likewise.
8571 * posix/unistd.h [__USE_MISC]: Likewise.
8572 * pwd/pwd.h [__USE_MISC]: Likewise.
8573 * stdlib.h [__USE_MISC]: Likewise.
8574 * string/bits/string2.h [__USE_MISC]: Likewise.
8575 * string/string.h [__USE_MISC]: Likewise.
8576 * time/time.h [__USE_MISC]: Likewise.
8578 2014-02-13 Andreas Schwab <schwab@suse.de>
8581 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Free the
8582 second answer buffer if it was separately allocated.
8584 2014-02-12 Joseph Myers <joseph@codesourcery.com>
8586 * sysdeps/mips/math-tests.h: Include <features.h>.
8587 [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
8588 (ROUNDING_TESTS_long_double): Do not define.
8589 [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
8590 (EXCEPTION_TESTS_long_double): Likewise.
8591 * sysdeps/mips/mips64/libm-test-ulps: Update.
8593 * include/features.h (__USE_BSD): Remove macro definitions.
8594 (__USE_SVID): Likewise.
8595 (_BSD_SOURCE): Likewise.
8596 (_SVID_SOURCE): Likewise.
8597 [!defined _BSD_SOURCE && !defined _SVID_SOURCE]: Remove condition
8598 from definition of _DEFAULT_SOURCE.
8599 [_BSD_SOURCE || _SVID_SOURCE]: Change condition to
8601 * bits/fcntl.h [__USE_BSD]: Change condition to [__USE_MISC].
8602 * bits/mman.h [__USE_BSD]: Likewise.
8603 * bits/termios.h [__USE_BSD]: Likewise.
8604 * bits/waitstatus.h [__USE_BSD]: Likewise.
8605 * ctype/ctype.h [__USE_SVID]: Likewise.
8606 * dirent/dirent.h [__USE_BSD]: Likewise.
8607 * grp/grp.h [__USE_SVID]: Likewise.
8608 [__USE_BSD]: Likewise.
8609 * inet/netinet/igmp.h [__USE_BSD]: Likewise.
8610 * io/fcntl.h [__USE_BSD]: Likewise.
8611 * io/ftw.h [__USE_BSD]: Likewise.
8612 * io/sys/stat.h [__USE_BSD]: Likewise.
8613 * libio/bits/stdio-ldbl.h [__USE_BSD]: Likewise.
8614 * libio/bits/stdio2.h [__USE_BSD]: Likewise.
8615 * libio/stdio.h [__USE_SVID]: Likewise.
8616 [__USE_BSD]: Likewise.
8617 * math/math.h [__USE_SVID]: Likewise.
8618 [__USE_BSD]: Likewise.
8619 * misc/bits/syslog-ldbl.h [__USE_BSD]: Likewise.
8620 * misc/bits/syslog.h [__USE_BSD]: Likewise.
8621 * misc/search.h [__USE_SVID]: Likewise.
8622 * misc/sys/mman.h [__USE_BSD]: Likewise.
8623 * misc/sys/syslog.h [__USE_BSD]: Likewise.
8624 * misc/sys/uio.h [__USE_BSD]: Likewise.
8625 * posix/bits/unistd.h [__USE_BSD]: Likewise.
8626 * posix/glob.h [__USE_BSD]: Likewise.
8627 * posix/regex.h [__USE_BSD]: Likewise.
8628 * posix/sys/types.h [__USE_BSD]: Likewise.
8629 [__USE_SVID]: Likewise.
8630 * posix/sys/utsname.h [__USE_SVID]: Likewise.
8631 * posix/sys/wait.h [__USE_BSD]: Likewise.
8632 [__USE_SVID]: Likewise.
8633 * posix/unistd.h [__USE_BSD]: Likewise.
8634 [__USE_SVID]: Likewise.
8635 * pwd/pwd.h [__USE_SVID]: Likewise.
8636 * resolv/netdb.h [__USE_BSD]: Likewise.
8637 * setjmp/setjmp.h [__USE_BSD]: Likewise.
8638 * signal/signal.h [__USE_BSD]: Likewise.
8639 [__USE_SVID]: Likewise.
8640 * socket/sys/socket.h [__USE_BSD]: Likewise.
8641 * stdlib/fmtmsg.h [__USE_SVID]: Likewise.
8642 * stdlib/stdlib.h [__USE_BSD]: Likewise.
8643 [__USE_SVID]: Likewise.
8644 * string/bits/string2.h [__USE_BSD]: Likewise.
8645 [__USE_SVID]: Likewise.
8646 * string/bits/string3.h [__USE_BSD]: Likewise.
8647 * string/endian.h [__USE_BSD]: Likewise.
8648 * string/string.h [__USE_SVID]: Likewise.
8649 [__USE_BSD]: Likewise.
8650 * string/strings.h [__USE_BSD]: Likewise.
8651 * sysdeps/generic/netinet/ip.h [__USE_BSD]: Likewise.
8652 * sysdeps/gnu/netinet/ip_icmp.h [__USE_BSD]: Likewise.
8653 * sysdeps/mach/hurd/bits/fcntl.h [__USE_BSD]: Likewise.
8654 * sysdeps/mach/hurd/bits/stat.h [__USE_BSD]: Likewise.
8655 * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_BSD]: Likewise.
8656 * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_BSD]:
8658 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_BSD]:
8660 * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_BSD]: Likewise.
8661 * sysdeps/unix/sysv/linux/bits/sys_errlist.h [__USE_BSD]:
8663 * sysdeps/unix/sysv/linux/bits/termios.h [__USE_BSD]: Likewise.
8664 * sysdeps/unix/sysv/linux/mips/bits/termios.h [__USE_BSD]:
8666 * sysdeps/unix/sysv/linux/netinet/if_ether.h [__USE_BSD]:
8668 * sysdeps/unix/sysv/linux/netinet/if_fddi.h [__USE_BSD]: Likewise.
8669 * sysdeps/unix/sysv/linux/netinet/if_tr.h [__USE_BSD]: Likewise.
8670 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_BSD]:
8672 * sysdeps/unix/sysv/linux/sparc/bits/termios.h [__USE_BSD]:
8674 * sysdeps/x86/bits/string.h [__USE_BSD]: Likewise.
8675 * sysvipc/sys/ipc.h [__USE_SVID]: Likewise.
8676 * termios/termios.h [__USE_BSD]: Likewise.
8677 * time/sys/time.h [__USE_BSD]: Likewise.
8678 * time/time.h [__USE_BSD]: Likewise.
8679 [__USE_SVID]: Likewise.
8681 * Makefile (subdir_targets): Remove subdir_lint.out.
8683 * stdio-common/Makefile (do-tst-unbputc): Remove target.
8684 (do-tst-printf): Likewise.
8685 (tests): Depend directly on $(objpfx)tst-unbputc.out and
8686 $(objpfx)tst-printf.out.
8688 * io/ftwtest-sh (testout): Change to $tmp/ftwtest-tmp.out.
8690 * Makerules (check-abi-%): Change target to
8691 $(objpfx)check-abi-%.out.
8692 (check-abi target): Update dependencies.
8693 (check-abi-pattern variable): Redirect output of diff to $@.
8694 (check-abi variable): Likewise.
8695 * elf/Makefile (check-abi): Update dependencies.
8697 * soft-fp/op-common.h (_FP_DECL): Mark exponent as possibly
8699 (_FP_PACK_SEMIRAW): Determine tininess based on rounding shifted
8700 value if _FP_TININESS_AFTER_ROUNDING and unrounded value is in
8702 (_FP_PACK_CANONICAL): Determine tininess based on rounding to
8703 normal precision if _FP_TININESS_AFTER_ROUNDING and unrounded
8704 value has largest subnormal exponent.
8705 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS]
8706 (_FP_TININESS_AFTER_ROUNDING): Undefine and redefine to 0.
8707 * sysdeps/aarch64/soft-fp/sfp-machine.h
8708 (_FP_TININESS_AFTER_ROUNDING): New macro.
8709 * sysdeps/alpha/soft-fp/sfp-machine.h
8710 (_FP_TININESS_AFTER_ROUNDING): Likewise.
8711 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
8713 * sysdeps/mips/mips64/soft-fp/sfp-machine.h
8714 (_FP_TININESS_AFTER_ROUNDING): Likewise.
8715 * sysdeps/mips/soft-fp/sfp-machine.h
8716 (_FP_TININESS_AFTER_ROUNDING): Likewise.
8717 * sysdeps/powerpc/soft-fp/sfp-machine.h
8718 (_FP_TININESS_AFTER_ROUNDING): Likewise.
8719 * sysdeps/sh/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
8721 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
8722 (_FP_TININESS_AFTER_ROUNDING): Likewise.
8723 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
8724 (_FP_TININESS_AFTER_ROUNDING): Likewise.
8725 * sysdeps/tile/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
8728 2014-02-12 Dylan Alex Simon <dylan@dylex.net>
8731 * sysdeps/x86_64/fpu/libm-test-ulps: Update on AMD family 21h
8734 2014-02-12 Richard Henderson <rth@redhat.com>
8736 * sysdeps/alpha: Move directory from ports/sysdeps/alpha.
8737 * sysdeps/unix/alpha: Move directory from ports/sysdeps/unix/alpha.
8738 * sysdeps/unix/sysv/linux/alpha: Move directory from
8739 ports/sysdeps/unix/sysv/linux/alpha.
8740 * README: Update listing for alpha-*-linux-gnu.
8742 2014-02-11 Joseph Myers <joseph@codesourcery.com>
8744 * include/features.h: Update comment documenting feature test
8746 [_BSD_SOURCE || _SVID_SOURCE]: Give #warning. Define
8748 * manual/creature.texi (_BSD_SOURCE): Remove documentation.
8749 (_SVID_SOURCE): Likewise.
8750 (_DEFAULT_SOURCE): Update description of default features.
8751 (Feature Test Macros): Don't mention _SVID_SOURCE in conjunction
8753 * manual/filesys.texi (__ftw_func_t): Do not refer to _BSD_SOURCE.
8754 (S_ISVTX): Likewise.
8755 * manual/math.texi (Mathematical Constants): Likewise.
8756 * manual/signal.texi (Interrupted Primitives): Likewise.
8757 * manual/startup.texi (putenv): Do not refer to _SVID_SOURCE.
8758 * math/test-matherr.c (_SVID_SOURCE): Do not define.
8759 * sysvipc/sys/ipc.h [__USE_SVID && !__USE_XOPEN && __GNUC__ >= 2]:
8760 Don't refer to _SVID_SOURCE in warning text.
8762 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
8764 * elf/dl-lookup.c (ELF_MACHINE_SYM_NO_MATCH): Define if not
8766 (do_lookup_x): Use ELF_MACHINE_SYM_NO_MATCH.
8767 * sysdeps/mips/dl-lookup.c: Remove.
8768 * sysdeps/mips/dl-machine.h (ELF_MACHINE_SYM_NO_MATCH): New macro.
8770 2014-02-11 Stefan Liebler <stli@linux.vnet.ibm.com>
8773 * math/auto-libm-test-in: Add testcase for expl.
8774 * math/auto-libm-test-out: Regenerate.
8775 * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Fix
8776 calculation of unsafe.
8777 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for added testcase.
8779 2014-02-11 Marcus Shawcroft <marcus.shawcroft@arm.com>
8781 * sysdeps/aarch64: Move directory from ports/sysdeps/aarch64.
8782 * sysdeps/unix/sysv/linux/aarch64: Move directory from
8783 ports/sysdeps/unix/sysv/linux/aarch64.
8784 * README: Update listing for aarch64*-*-linux-gnu.
8786 2014-02-11 Will Newton <will.newton@linaro.org>
8788 * manual/probes.texi (Mathematical Function Probes): Use
8789 "triggered" instead of "hit".
8791 * manual/probes.texi (Internal Probes): Add documentation
8792 of setjmp, longjmp and longjmp_target probes.
8794 * include/stap-probe.h: Add comment about probe argument
8797 * malloc/mtrace.c (attribute_hidden): Remove unused macro
8798 definition. (tr_where, tr_freehook, tr_mallochook,
8799 tr_reallochook, tr_memalignhook): Use ANSI protoype.
8801 2014-02-11 David S. Miller <davem@davemloft.net>
8803 * stdio-common/tst-sscanf.c (main): Use 'long' for 'dummy' when
8804 processing int_tests.
8806 2014-02-10 Joseph Myers <joseph@codesourcery.com>
8808 * sysdeps/mips: Move directory from ports/sysdeps/mips.
8809 * sysdeps/unix/mips: Move directory from ports/sysdeps/unix/mips.
8810 * sysdeps/unix/sysv/linux/mips: Move directory from
8811 ports/sysdeps/unix/sysv/linux/mips.
8812 * README: Update listing for mips-*-linux-gnu and
8815 2014-02-10 Andreas Schwab <schwab@linux-m68k.org>
8817 * sysdeps/m68k: Move directory from ports/sysdeps/m68k.
8818 * sysdeps/unix/sysv/linux/m68k: Move directory from
8819 ports/sysdeps/unix/sysv/linux/m68k.
8820 * README: Update listing for m68k-*-linux-gnu.
8822 2014-02-10 Chris Metcalf <cmetcalf@tilera.com>
8824 * sysdeps/tile: Move directory from ports/sysdeps/tile.
8825 * sysdeps/unix/sysv/linux/generic: Move directory from
8826 ports/sysdeps/unix/sysv/linux/generic.
8827 * sysdeps/unix/sysv/linux/tile: Move directory from
8828 ports/sysdeps/unix/sysv/linux/tile.
8829 * README: Update listing for tile*-*-linux-gnu.
8831 2014-02-10 Ondřej Bílka <neleai@seznam.cz>
8833 * assert/assert.c (__assert_fail_base): Use glibc_likely instead
8835 * benchtests/bench-memmem.c (simple_memmem): Likewise.
8836 * catgets/open_catalog.c (__open_catalog): Likewise.
8837 * csu/libc-start.c (LIBC_START_MAIN): Likewise.
8838 * debug/confstr_chk.c: Likewise.
8839 * debug/fread_chk.c (__fread_chk): Likewise.
8840 * debug/fread_u_chk.c (__fread_unlocked_chk): Likewise.
8841 * debug/getgroups_chk.c: Likewise.
8842 * debug/mbsnrtowcs_chk.c: Likewise.
8843 * debug/mbsrtowcs_chk.c: Likewise.
8844 * debug/mbstowcs_chk.c: Likewise.
8845 * debug/memcpy_chk.c: Likewise.
8846 * debug/memmove_chk.c: Likewise.
8847 * debug/mempcpy_chk.c: Likewise.
8848 * debug/memset_chk.c: Likewise.
8849 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
8850 * debug/strcat_chk.c (__strcat_chk): Likewise.
8851 * debug/strcpy_chk.c (__strcpy_chk): Likewise.
8852 * debug/strncat_chk.c (__strncat_chk): Likewise.
8853 * debug/vsnprintf_chk.c (___vsnprintf_chk): Likewise.
8854 * debug/vswprintf_chk.c (__vswprintf_chk): Likewise.
8855 * debug/wcpcpy_chk.c (__wcpcpy_chk): Likewise.
8856 * debug/wcpncpy_chk.c: Likewise.
8857 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
8858 * debug/wcscpy_chk.c (__wcscpy_chk): Likewise.
8859 * debug/wcsncat_chk.c (__wcsncat_chk): Likewise.
8860 * debug/wcsncpy_chk.c: Likewise.
8861 * debug/wcsnrtombs_chk.c: Likewise.
8862 * debug/wcsrtombs_chk.c: Likewise.
8863 * debug/wcstombs_chk.c: Likewise.
8864 * debug/wmemcpy_chk.c: Likewise.
8865 * debug/wmemmove_chk.c: Likewise.
8866 * debug/wmempcpy_chk.c: Likewise.
8867 * debug/wmemset_chk.c: Likewise.
8868 * dirent/scandirat.c (SCANDIRAT): Likewise.
8869 * dlfcn/dladdr1.c (dladdr1): Likewise.
8870 * dlfcn/dladdr.c (dladdr): Likewise.
8871 * dlfcn/dlclose.c (dlclose_doit): Likewise.
8872 * dlfcn/dlerror.c (__dlerror): Likewise.
8873 * dlfcn/dlinfo.c (dlinfo_doit): Likewise.
8874 * dlfcn/dlmopen.c (dlmopen_doit): Likewise.
8875 * dlfcn/dlopen.c (dlopen_doit): Likewise.
8876 * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
8877 * dlfcn/dlsym.c (dlsym_doit): Likewise.
8878 * dlfcn/dlvsym.c (dlvsym_doit): Likewise.
8879 * elf/dl-cache.c (_dl_load_cache_lookup): Likewise.
8880 * elf/dl-close.c (remove_slotinfo, _dl_close_worker, _dl_close):
8882 * elf/dl-conflict.c: Likewise.
8883 * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
8884 * elf/dl-dst.h: Likewise.
8885 * elf/dl-fini.c (_dl_sort_fini, _dl_fini): Likewise.
8886 * elf/dl-fptr.c (_dl_make_fptr): Likewise.
8887 * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
8888 * elf/dl-init.c (call_init, _dl_init): Likewise.
8889 * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym): Likewise.
8890 * elf/dl-load.c (_dl_dst_substitute, fillin_rpath, _dl_init_paths)
8891 (_dl_map_object_from_fd, open_verify, open_path, _dl_map_object):
8893 * elf/dl-lookup.c (do_lookup_x, add_dependency, _dl_lookup_symbol_x):
8895 * elf/dl-minimal.c (__libc_memalign): Likewise.
8896 * elf/dl-open.c (add_to_global, dl_open_worker, _dl_open): Likewise.
8897 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
8898 * elf/dl-runtime.c (_dl_fixup, _dl_profile_fixup): Likewise.
8899 * elf/dl-sym.c (do_sym): Likewise.
8900 * elf/dl-tls.c (tls_get_addr_tail, update_get_addr)
8901 (__tls_get_addr, _dl_tls_get_addr_soft): Likewise.
8902 * elf/dl-version.c (match_symbol, _dl_check_map_versions): Likewise.
8903 * elf/dl-writev.h (_dl_writev): Likewise.
8904 * elf/ldconfig.c (search_dir): Likewise.
8905 * elf/rtld.c (_dl_start_final, _dl_start, init_tls, do_preload)
8906 (dl_main): Likewise.
8907 * elf/setup-vdso.h (setup_vdso): Likewise.
8908 * grp/compat-initgroups.c (compat_call): Likewise.
8909 * grp/fgetgrent.c (fgetgrent): Likewise.
8910 * grp/initgroups.c (getgrouplist, initgroups): Likewise.
8911 * grp/putgrent.c (putgrent): Likewise.
8912 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
8914 * hurd/hurdinit.c: Likewise.
8915 * iconvdata/8bit-gap.c (struct): Likewise.
8916 * iconvdata/ansi_x3.110.c : Likewise.
8917 * iconvdata/big5.c : Likewise.
8918 * iconvdata/big5hkscs.c : Likewise.
8919 * iconvdata/cp1255.c: Likewise.
8920 * iconvdata/cp1258.c : Likewise.
8921 * iconvdata/cp932.c : Likewise.
8922 * iconvdata/euc-cn.c: Likewise.
8923 * iconvdata/euc-jisx0213.c : Likewise.
8924 * iconvdata/euc-jp.c: Likewise.
8925 * iconvdata/euc-jp-ms.c : Likewise.
8926 * iconvdata/euc-kr.c (euckr_from_ucs4): Likewise.
8927 * iconvdata/gb18030.c : Likewise.
8928 * iconvdata/gbbig5.c (const): Likewise.
8929 * iconvdata/gbgbk.c: Likewise.
8930 * iconvdata/gbk.c : Likewise.
8931 * iconvdata/ibm1364.c : Likewise.
8932 * iconvdata/ibm930.c : Likewise.
8933 * iconvdata/ibm932.c: Likewise.
8934 * iconvdata/ibm933.c : Likewise.
8935 * iconvdata/ibm935.c : Likewise.
8936 * iconvdata/ibm937.c : Likewise.
8937 * iconvdata/ibm939.c : Likewise.
8938 * iconvdata/ibm943.c: Likewise.
8939 * iconvdata/iso_11548-1.c: Likewise.
8940 * iconvdata/iso-2022-cn.c : Likewise.
8941 * iconvdata/iso-2022-cn-ext.c : Likewise.
8942 * iconvdata/iso-2022-jp-3.c: Likewise.
8943 * iconvdata/iso-2022-jp.c (gconv_end): Likewise.
8944 * iconvdata/iso-2022-kr.c : Likewise.
8945 * iconvdata/iso646.c (gconv_end): Likewise.
8946 * iconvdata/iso_6937-2.c : Likewise.
8947 * iconvdata/iso_6937.c : Likewise.
8948 * iconvdata/iso8859-1.c: Likewise.
8949 * iconvdata/johab.c (johab_sym_hanja_to_ucs): Likewise.
8950 * iconvdata/shift_jisx0213.c : Likewise.
8951 * iconvdata/sjis.c : Likewise.
8952 * iconvdata/t.61.c : Likewise.
8953 * iconvdata/tcvn5712-1.c : Likewise.
8954 * iconvdata/tscii.c: Likewise.
8955 * iconvdata/uhc.c : Likewise.
8956 * iconvdata/unicode.c (gconv_end): Likewise.
8957 * iconvdata/utf-16.c (gconv_end): Likewise.
8958 * iconvdata/utf-32.c (gconv_end): Likewise.
8959 * iconvdata/utf-7.c (base64): Likewise.
8960 * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
8961 * iconv/gconv_close.c (__gconv_close): Likewise.
8962 * iconv/gconv_open.c (__gconv_open): Likewise.
8963 * iconv/gconv_simple.c (internal_ucs4_loop_single)
8964 (ucs4_internal_loop, ucs4_internal_loop_unaligned)
8965 (ucs4_internal_loop_single, internal_ucs4le_loop_single)
8966 (ucs4le_internal_loop, ucs4le_internal_loop_unaligned)
8967 (ucs4le_internal_loop_single): Likewise.
8968 * iconv/iconv.c (iconv): Likewise.
8969 * iconv/iconv_close.c: Likewise.
8970 * iconv/loop.c (SINGLE): Likewise.
8971 * iconv/skeleton.c (FUNCTION_NAME): Likewise.
8972 * include/atomic.h: Likewise.
8973 * inet/inet6_option.c (option_alloc): Likewise.
8974 * intl/bindtextdom.c (set_binding_values): Likewise.
8975 * intl/dcigettext.c (DCIGETTEXT, _nl_find_msg): Likewise.
8976 * intl/loadmsgcat.c (_nl_load_domain): Likewise.
8977 * intl/localealias.c (read_alias_file): Likewise.
8978 * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
8979 * libio/fileops.c (_IO_file_open, _IO_file_underflow_mmap)
8980 (_IO_new_file_overflow, _IO_file_xsgetn_mmap): Likewise.
8981 * libio/fmemopen.c (fmemopen): Likewise.
8982 * libio/iofgets.c (_IO_fgets): Likewise.
8983 * libio/iofgets_u.c (fgets_unlocked): Likewise.
8984 * libio/iofgetws.c (fgetws): Likewise.
8985 * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
8986 * libio/iogetdelim.c (_IO_getdelim): Likewise.
8987 * libio/wfileops.c (_IO_wfile_underflow, _IO_wfile_underflow_mmap)
8988 (adjust_wide_data, _IO_wfile_seekoff): Likewise.
8989 * locale/findlocale.c (_nl_find_locale): Likewise.
8990 * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
8991 * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale):
8993 * locale/setlocale.c (setlocale): Likewise.
8994 * login/programs/pt_chown.c (main): Likewise.
8995 * malloc/arena.c (ptmalloc_init, shrink_heap, arena_get2): Likewise.
8996 * malloc/malloc.c (_int_malloc, _int_free): Likewise.
8997 * malloc/memusage.c (update_data, malloc, realloc, calloc, free)
8998 (mmap, mmap64, mremap, munmap): Likewise.
8999 * math/e_exp2l.c: Likewise.
9000 * math/e_scalb.c (invalid_fn, __ieee754_scalb): Likewise.
9001 * math/e_scalbf.c (invalid_fn, __ieee754_scalbf): Likewise.
9002 * math/e_scalbl.c (invalid_fn, __ieee754_scalbl): Likewise.
9003 * math/s_catan.c (__catan): Likewise.
9004 * math/s_catanf.c (__catanf): Likewise.
9005 * math/s_catanh.c (__catanh): Likewise.
9006 * math/s_catanhf.c (__catanhf): Likewise.
9007 * math/s_catanhl.c (__catanhl): Likewise.
9008 * math/s_catanl.c (__catanl): Likewise.
9009 * math/s_ccosh.c (__ccosh): Likewise.
9010 * math/s_ccoshf.c (__ccoshf): Likewise.
9011 * math/s_ccoshl.c (__ccoshl): Likewise.
9012 * math/s_cexp.c (__cexp): Likewise.
9013 * math/s_cexpf.c (__cexpf): Likewise.
9014 * math/s_cexpl.c (__cexpl): Likewise.
9015 * math/s_clog10.c (__clog10): Likewise.
9016 * math/s_clog10f.c (__clog10f): Likewise.
9017 * math/s_clog10l.c (__clog10l): Likewise.
9018 * math/s_clog.c (__clog): Likewise.
9019 * math/s_clogf.c (__clogf): Likewise.
9020 * math/s_clogl.c (__clogl): Likewise.
9021 * math/s_csin.c (__csin): Likewise.
9022 * math/s_csinf.c (__csinf): Likewise.
9023 * math/s_csinh.c (__csinh): Likewise.
9024 * math/s_csinhf.c (__csinhf): Likewise.
9025 * math/s_csinhl.c (__csinhl): Likewise.
9026 * math/s_csinl.c (__csinl): Likewise.
9027 * math/s_csqrt.c (__csqrt): Likewise.
9028 * math/s_csqrtf.c (__csqrtf): Likewise.
9029 * math/s_csqrtl.c (__csqrtl): Likewise.
9030 * math/s_ctan.c (__ctan): Likewise.
9031 * math/s_ctanf.c (__ctanf): Likewise.
9032 * math/s_ctanh.c (__ctanh): Likewise.
9033 * math/s_ctanhf.c (__ctanhf): Likewise.
9034 * math/s_ctanhl.c (__ctanhl): Likewise.
9035 * math/s_ctanl.c (__ctanl): Likewise.
9036 * math/w_pow.c: Likewise.
9037 * math/w_powf.c: Likewise.
9038 * math/w_powl.c: Likewise.
9039 * math/w_scalb.c (sysv_scalb): Likewise.
9040 * math/w_scalbf.c (sysv_scalbf): Likewise.
9041 * math/w_scalbl.c (sysv_scalbl): Likewise.
9042 * misc/error.c (error_tail): Likewise.
9043 * misc/pselect.c (__pselect): Likewise.
9044 * nis/nis_callback.c (__nis_create_callback): Likewise.
9045 * nis/nis_call.c (__nisfind_server): Likewise.
9046 * nis/nis_creategroup.c (nis_creategroup): Likewise.
9047 * nis/nis_domain_of_r.c (nis_domain_of_r): Likewise.
9048 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
9049 * nis/nis_getservlist.c (nis_getservlist): Likewise.
9050 * nis/nis_lookup.c (nis_lookup): Likewise.
9051 * nis/nis_subr.c (nis_leaf_of_r, nis_getnames): Likewise.
9052 * nis/nis_table.c (__create_ib_request, nis_list, nis_add_entry)
9053 (nis_modify_entry, nis_first_entry, nis_next_entry): Likewise.
9054 * nis/nis_xdr.c (xdr_endpoint): Likewise.
9055 * nis/nss_compat/compat-grp.c (getgrent_next_file)
9056 (internal_getgrnam_r, internal_getgrgid_r): Likewise.
9057 * nis/nss_compat/compat-initgroups.c (add_group)
9058 (internal_getgrent_r): Likewise.
9059 * nis/nss_compat/compat-pwd.c (getpwent_next_file)
9060 (internal_getpwnam_r, internal_getpwuid_r): Likewise.
9061 * nis/nss_compat/compat-spwd.c (getspent_next_file)
9062 (internal_getspnam_r): Likewise.
9063 * nis/nss_nis/nis-alias.c (internal_nis_getaliasent_r)
9064 (_nss_nis_getaliasbyname_r): Likewise.
9065 * nis/nss_nis/nis-ethers.c (_nss_nis_gethostton_r)
9066 (_nss_nis_getntohost_r): Likewise.
9067 * nis/nss_nis/nis-grp.c (internal_nis_setgrent)
9068 (internal_nis_getgrent_r, _nss_nis_getgrnam_r)
9069 (_nss_nis_getgrgid_r): Likewise.
9070 * nis/nss_nis/nis-hosts.c (_nss_nis_sethostent)
9071 (internal_nis_gethostent_r, internal_gethostbyname2_r)
9072 (_nss_nis_gethostbyname_r, _nss_nis_gethostbyaddr_r)
9073 (_nss_nis_gethostbyname4_r): Likewise.
9074 * nis/nss_nis/nis-initgroups.c (internal_getgrent_r)
9075 (initgroups_netid): Likewise.
9076 * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Likewise.
9077 * nis/nss_nis/nis-network.c (internal_nis_getnetent_r)
9078 (_nss_nis_getnetbyname_r, _nss_nis_getnetbyaddr_r): Likewise.
9079 * nis/nss_nis/nis-proto.c (_nss_nis_getprotobyname_r)
9080 (_nss_nis_getprotobynumber_r): Likewise.
9081 * nis/nss_nis/nis-publickey.c (_nss_nis_getpublickey)
9082 (_nss_nis_getsecretkey): Likewise.
9083 * nis/nss_nis/nis-pwd.c (_nis_saveit, internal_nis_setpwent)
9084 (internal_nis_getpwent_r, _nss_nis_getpwnam_r)
9085 (_nss_nis_getpwuid_r): Likewise.
9086 * nis/nss_nis/nis-rpc.c (internal_nis_getrpcent_r)
9087 (_nss_nis_getrpcbyname_r, _nss_nis_getrpcbynumber_r): Likewise.
9088 * nis/nss_nis/nis-service.c (dosearch, internal_nis_getservent_r)
9089 (_nss_nis_getservbyname_r, _nss_nis_getservbyport_r): Likewise.
9090 * nis/nss_nis/nis-spwd.c (_nss_nis_setspent)
9091 (internal_nis_getspent_r, _nss_nis_getspnam_r): Likewise.
9092 * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_getaliasbyname_r):
9094 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_gethostton_r)
9095 (_nss_nisplus_getntohost_r): Likewise.
9096 * nis/nss_nisplus/nisplus-grp.c (internal_nisplus_getgrent_r)
9097 (_nss_nisplus_getgrnam_r, _nss_nisplus_getgrgid_r): Likewise.
9098 * nis/nss_nisplus/nisplus-hosts.c (internal_gethostbyname2_r)
9099 (_nss_nisplus_gethostbyaddr_r, _nss_nisplus_gethostbyname4_r):
9101 * nis/nss_nisplus/nisplus-initgroups.c
9102 (_nss_nisplus_initgroups_dyn): Likewise.
9103 * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_getnetbyname_r)
9104 (_nss_nisplus_getnetbyaddr_r): Likewise.
9105 * nis/nss_nisplus/nisplus-proto.c (_nss_nisplus_getprotobyname_r)
9106 (_nss_nisplus_getprotobynumber_r): Likewise.
9107 * nis/nss_nisplus/nisplus-pwd.c (internal_nisplus_getpwent_r)
9108 (_nss_nisplus_getpwnam_r, _nss_nisplus_getpwuid_r): Likewise.
9109 * nis/nss_nisplus/nisplus-rpc.c (_nss_nisplus_getrpcbyname_r):
9111 * nis/nss_nisplus/nisplus-service.c
9112 (internal_nisplus_getservent_r, _nss_nisplus_getservbyname_r)
9113 (_nss_nisplus_getservbyport_r): Likewise.
9114 * nis/nss_nisplus/nisplus-spwd.c (internal_nisplus_getspent_r)
9115 (_nss_nisplus_getspnam_r): Likewise.
9116 * nis/ypclnt.c (__yp_bind, yp_match, yp_all, yp_maplist):
9118 * nscd/aicache.c (addhstaiX): Likewise.
9119 * nscd/cache.c (cache_search, prune_cache): Likewise.
9120 * nscd/connections.c (register_traced_file, send_ro_fd)
9121 (handle_request, nscd_run_prune, nscd_run_worker, fd_ready)
9122 (main_loop_epoll): Likewise.
9123 * nscd/grpcache.c (addgrbyX): Likewise.
9124 * nscd/hstcache.c (addhstbyX): Likewise.
9125 * nscd/initgrcache.c (addinitgroupsX): Likewise.
9126 * nscd/mem.c (gc, mempool_alloc): Likewise.
9127 * nscd/netgroupcache.c (do_notfound, addgetnetgrentX)
9128 (addinnetgrX): Likewise.
9129 * nscd/nscd-client.h (__nscd_acquire_maplock)
9130 (__nscd_drop_map_ref): Likewise.
9131 * nscd/nscd_getai.c (__nscd_getai): Likewise.
9132 * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
9133 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp, nscd_gethst_r):
9135 * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
9136 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
9137 * nscd/nscd_helper.c (__readvall, open_socket, __nscd_get_mapping)
9138 (__nscd_get_map_ref): Likewise.
9139 * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
9140 * nscd/nscd_netgroup.c (__nscd_setnetgrent, __nscd_innetgr):
9142 * nscd/pwdcache.c (addpwbyX): Likewise.
9143 * nscd/selinux.c (preserve_capabilities): Likewise.
9144 * nscd/servicescache.c (addservbyX): Likewise.
9145 * nss/nss_files/files-XXX.c (internal_getent): Likewise.
9146 * posix/fnmatch.c (fnmatch): Likewise.
9147 * posix/getopt.c (_getopt_internal_r): Likewise.
9148 * posix/glob.c (glob, glob_in_dir): Likewise.
9149 * posix/wordexp.c (exec_comm_child): Likewise.
9150 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r)
9151 (getanswer_r, gaih_getanswer_slice): Likewise.
9152 * resolv/nss_dns/dns-network.c (getanswer_r): Likewise.
9153 * resolv/res_init.c: Likewise.
9154 * resolv/res_mkquery.c (res_nmkquery): Likewise.
9155 * resolv/res_query.c (__libc_res_nquery): Likewise.
9156 * resolv/res_send.c (__libc_res_nsend, send_vc, reopen, send_dg):
9158 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Likewise.
9159 * stdio-common/perror.c (perror): Likewise.
9160 * stdio-common/printf_fp.c (___printf_fp): Likewise.
9161 * stdio-common/tmpnam.c (tmpnam): Likewise.
9162 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
9163 * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
9164 * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
9166 * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
9167 * stdlib/putenv.c (putenv): Likewise.
9168 * stdlib/setenv.c (__add_to_environ): Likewise.
9169 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
9170 * stdlib/strtol_l.c (INTERNAL): Likewise.
9171 * string/memmem.c (memmem): Likewise.
9172 * string/strerror.c (strerror): Likewise.
9173 * string/strnlen.c (__strnlen): Likewise.
9174 * string/test-memmem.c (simple_memmem): Likewise.
9175 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Likewise.
9176 * sunrpc/pm_getport.c (__get_socket): Likewise.
9177 * sysdeps/gnu/unwind-resume.c (init, _Unwind_Resume): Likewise.
9178 * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
9179 * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup)
9180 (elf_machine_rel, elf_machine_lazy_rel, elf_machine_lazy_rela):
9182 * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
9183 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
9184 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
9185 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Likewise.
9186 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
9187 * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1, __ieee754_y1):
9189 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn, __ieee754_yn):
9191 * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
9192 * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
9193 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
9194 * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
9195 * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
9196 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Likewise.
9197 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
9198 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Likewise.
9199 * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
9200 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
9201 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
9202 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
9204 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10):
9206 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2):
9208 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp): Likewise.
9209 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
9210 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo): Likewise.
9211 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (__round): Likewise.
9212 * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
9213 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r): Likewise.
9214 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
9215 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Likewise.
9216 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_nearbyint): Likewise.
9217 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Likewise.
9218 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c (__llroundl): Likewise.
9219 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
9220 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
9221 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
9222 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
9223 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
9225 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l, __ieee754_y0l):
9227 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l, __ieee754_y1l):
9229 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl, __ieee754_ynl):
9231 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
9232 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
9233 * sysdeps/posix/clock_getres.c (hp_timing_getres, realtime_getres):
9235 * sysdeps/posix/fdopendir.c (__fdopendir): Likewise.
9236 * sysdeps/posix/getaddrinfo.c (gaih_inet, getaddrinfo): Likewise.
9237 * sysdeps/posix/opendir.c (__opendirat): Likewise.
9238 * sysdeps/posix/sleep.c: Likewise.
9239 * sysdeps/posix/tempname.c: Likewise.
9240 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irela): Likewise.
9241 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
9243 * sysdeps/powerpc/powerpc32/dl-machine.h
9244 (elf_machine_runtime_setup, elf_machine_rela): Likewise.
9245 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
9246 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
9247 * sysdeps/pthread/aio_notify.c (__aio_notify_only): Likewise.
9248 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait, aio_suspend):
9250 * sysdeps/s390/dl-irel.h (elf_irela): Likewise.
9251 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup)
9252 (elf_machine_rela, elf_machine_lazy_rel): Likewise.
9253 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_runtime_setup)
9254 (elf_machine_rela, elf_machine_lazy_rel): Likewise.
9255 * sysdeps/s390/s390-64/utf16-utf32-z9.c (gconv_end): Likewise.
9256 * sysdeps/s390/s390-64/utf8-utf16-z9.c (gconv_end): Likewise.
9257 * sysdeps/s390/s390-64/utf8-utf32-z9.c (gconv_end): Likewise.
9258 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
9259 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Likewise.
9260 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela)
9261 (elf_machine_lazy_rel): Likewise.
9262 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
9263 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela)
9264 (elf_machine_lazy_rel): Likewise.
9265 * sysdeps/sparc/sparc64/dl-plt.h (sparc64_fixup_plt): Likewise.
9266 * sysdeps/unix/clock_gettime.c (hp_timing_gettime): Likewise.
9267 * sysdeps/unix/clock_settime.c (hp_timing_settime): Likewise.
9268 * sysdeps/unix/grantpt.c (grantpt): Likewise.
9269 * sysdeps/unix/sysv/linux/accept4.c (accept4): Likewise.
9270 * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Likewise.
9271 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
9272 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
9274 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
9275 * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
9276 * sysdeps/unix/sysv/linux/fchownat.c (fchownat): Likewise.
9277 * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Likewise.
9278 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
9279 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
9280 * sysdeps/unix/sysv/linux/i386/fallocate64.c (fallocate64): Likewise.
9281 * sysdeps/unix/sysv/linux/i386/fallocate.c (fallocate): Likewise.
9282 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Likewise.
9283 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
9284 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
9286 * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c
9287 (__posix_fallocate64_l64): Likewise.
9288 * sysdeps/unix/sysv/linux/i386/posix_fallocate.c
9289 (posix_fallocate): Likewise.
9290 * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
9292 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
9293 * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request)
9294 (getifaddrs_internal): Likewise.
9295 * sysdeps/unix/sysv/linux/linkat.c (linkat): Likewise.
9296 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Likewise.
9297 * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
9298 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
9299 * sysdeps/unix/sysv/linux/posix_fallocate64.c
9300 (__posix_fallocate64_l64): Likewise.
9301 * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
9303 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat): Likewise.
9304 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c
9305 (__get_clockfreq): Likewise.
9306 * sysdeps/unix/sysv/linux/readlinkat.c (readlinkat): Likewise.
9307 * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
9308 * sysdeps/unix/sysv/linux/renameat.c (renameat): Likewise.
9309 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
9310 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
9311 * sysdeps/unix/sysv/linux/sched_setaffinity.c: Likewise.
9312 * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
9313 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs, shm_open):
9315 * sysdeps/unix/sysv/linux/sleep.c (__sleep): Likewise.
9316 * sysdeps/unix/sysv/linux/symlinkat.c (symlinkat): Likewise.
9317 * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
9318 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Likewise.
9319 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
9320 * sysdeps/unix/sysv/linux/unlinkat.c (unlinkat): Likewise.
9321 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c (__fxstatat):
9323 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
9324 (posix_fallocate): Likewise.
9325 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
9326 * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
9327 * sysdeps/x86_64/dl-irel.h (elf_irela): Likewise.
9328 * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup)
9329 (elf_machine_rela, elf_machine_rela_relative)
9330 (elf_machine_lazy_rel): Likewise.
9331 * time/asctime.c (asctime_internal): Likewise.
9332 * time/tzfile.c (__tzfile_read, __tzfile_compute): Likewise.
9333 * time/tzset.c (__tzset_parse_tz): Likewise.
9334 * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
9335 * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
9336 * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Likewise.
9337 * wcsmbs/wcsmbsload.h: Likewise.
9340 * stdlib/setenv.c (__add_to_environ): Remove duplicate code.
9342 * malloc/arena.c (grow_heap, get_free_list, reused_arena)
9343 (arena_get2): Remove THREAD_STATS conditionals.
9344 * malloc/malloc.c (__malloc_assert, __libc_realloc, _int_free)
9345 (__malloc_stats, int): Likewise.
9347 2014-02-08 Mike Frysinger <vapier@gentoo.org>
9349 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Compare
9350 f.f_type to RAMFS_MAGIC too. Compare mp->mnt_type to shm too.
9352 * manual/setjmp.texi: Fix typos/grammar errors.
9354 * debug/tst-backtrace4.c (handle_signal): Add NUM_FUNCTIONS to output.
9355 Only return early when n is <= 0. Delete unused return statement.
9357 * debug/Makefile (CFLAGS-tst-longjmp_chk3.c): Define.
9358 (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
9359 * debug/tst-longjmp_chk3.c: New file.
9361 * benchtests/bench-strcpy_chk.c: Move test-skeleton.c to top.
9362 (test_main): Replace code with set_fortify_handler call.
9363 * debug/test-strcpy_chk.c: Likewise.
9364 * debug/tst-chk1.c: Likewise.
9365 * debug/tst-longjmp_chk.c: Likewise.
9366 * test-skeleton.c: Include fcntl.h & paths.h
9367 (set_fortify_handler): Define.
9369 * debug/tst-longjmp_chk.c: Add header comment and include
9371 (do_test): Mark static.
9372 (TEST_FUNCTION): Define.
9374 * sysdeps/unix/sysv/linux/bits/in.h (IP_NODEFRAG): Define.
9375 (IP_PMTUDISC_INTERFACE): Likewise.
9376 (IP_MULTICAST_IF): Likewise.
9377 (IP_MULTICAST_TTL): Likewise.
9378 (IP_MULTICAST_LOOP): Likewise.
9379 (IP_ADD_MEMBERSHIP): Likewise.
9380 (IP_DROP_MEMBERSHIP): Likewise.
9381 (IP_UNBLOCK_SOURCE): Likewise.
9382 (IP_BLOCK_SOURCE): Likewise.
9383 (IP_ADD_SOURCE_MEMBERSHIP): Likewise.
9384 (IP_DROP_SOURCE_MEMBERSHIP): Likewise.
9385 (IP_MSFILTER): Likewise.
9386 (MCAST_JOIN_GROUP): Likewise.
9387 (MCAST_BLOCK_SOURCE): Likewise.
9388 (MCAST_UNBLOCK_SOURCE): Likewise.
9389 (MCAST_LEAVE_GROUP): Likewise.
9390 (MCAST_JOIN_SOURCE_GROUP): Likewise.
9391 (MCAST_LEAVE_SOURCE_GROUP): Likewise.
9392 (MCAST_MSFILTER): Likewise.
9393 (IP_MULTICAST_ALL): Likewise.
9394 (IP_UNICAST_IF): Likewise.
9396 * timezone/Makefile: Delete $(have-ksh) check.
9397 ($(objpfx)tzselect): Change $(KSH) to $(BASH).
9398 * timezone/tzselect.ksh: Add +x mode bits.
9400 * sysdeps/unix/sysv/linux/linux_fsinfo.h (AFS_SUPER_MAGIC): Define.
9401 (ANON_INODE_FS_MAGIC): Likewise.
9402 (BDEVFS_MAGIC): Likewise.
9403 (BINFMTFS_MAGIC): Likewise.
9404 (BTRFS_TEST_MAGIC): Likewise.
9405 (CRAMFS_MAGIC_WEND): Likewise.
9406 (DEBUGFS_MAGIC): Likewise.
9407 (ECRYPTFS_SUPER_MAGIC): Likewise.
9408 (EXT3_SUPER_MAGIC): Likewise.
9409 (EXT4_SUPER_MAGIC): Likewise.
9410 (FUTEXFS_SUPER_MAGIC): Likewise.
9411 (HOSTFS_SUPER_MAGIC): Likewise.
9412 (HUGETLBFS_MAGIC): Likewise.
9413 (MINIX3_SUPER_MAGIC): Likewise.
9414 (MTD_INODE_FS_MAGIC): Likewise.
9415 (NILFS_SUPER_MAGIC): Likewise.
9416 (OPENPROM_SUPER_MAGIC): Likewise.
9417 (PIPEFS_MAGIC): Likewise.
9418 (PSTOREFS_MAGIC): Likewise.
9419 (QNX6_SUPER_MAGIC): Likewise.
9420 (RAMFS_MAGIC): Likewise.
9421 (REISERFS_SUPER_MAGIC_STRING): Likewise.
9422 (REISER2FS_SUPER_MAGIC_STRING): Likewise.
9423 (REISER2FS_JR_SUPER_MAGIC_STRING): Likewise.
9424 (SECURITYFS_MAGIC): Likewise.
9425 (SELINUX_MAGIC): Likewise.
9426 (SMACK_MAGIC): Likewise.
9427 (SOCKFS_MAGIC): Likewise.
9428 (SQUASHFS_MAGIC): Likewise.
9429 (STACK_END_MAGIC): Likewise.
9430 (TMPFS_MAGIC): Likewise.
9431 (USBDEVICE_SUPER_MAGIC): Likewise.
9432 (V9FS_MAGIC): Likewise.
9433 (XENFS_SUPER_MAGIC): Likewise.
9434 (CRAMFS_MAGIC): Fix typo in comment.
9435 (EXT2_SUPER_MAGIC): Update comment.
9436 (USBDEVFS_SUPER_MAGIC): Fix sorting order by moving further down.
9438 2014-02-08 Joseph Myers <joseph@codesourcery.com>
9440 * sysdeps/arm: Move directory from ports/sysdeps/arm.
9441 * sysdeps/unix/arm: Move directory from ports/sysdeps/unix/arm.
9442 * sysdeps/unix/sysv/linux/arm: Move directory from
9443 ports/sysdeps/unix/sysv/linux/arm.
9444 * README: Update listing for arm-*-linux-gnueabi.
9446 * README: Remove mention of am33.
9448 2014-02-07 Roland McGrath <roland@hack.frob.com>
9450 * bits/sigset.h (__sigemptyset): Use a statement expression rather
9451 than the comma operator, to avoid "rhs of comma has no effect"
9453 (__sigfillset, __sigandset, __sigorset): Likewise.
9454 * include/signal.h (__sigemptyset): Likewise.
9455 * sysdeps/generic/malloc-machine.h (mutex_lock): Likewise.
9457 2014-02-07 Allan McRae <allan@archlinux.org>
9459 * version.h (RELEASE): Set to "development".
9460 (VERSION): Set to "2.19.90"
9461 * NEWS: Add 2.20 section.
9463 2014-02-06 Carlos O'Donell <carlos@redhat.com>
9466 * inet/netinet/in.h: Remove comma after IPPROTO_MH.
9468 2014-02-06 Siddhesh Poyarekar <siddhesh@redhat.com>
9470 * manual/contrib.texi: Update entry for Carlos O'Donell,
9471 Joseph Myers, Roland McGrath, Alexandre Oliva and Ryan Arnold.
9473 2014-02-05 Carlos O'Donell <carlos@rehdat.com>
9475 * sysdeps/unix/sysv/linux/kernel-features.h: Fix comment.
9477 * sysdeps/unix/sysv/linux/kernel-features.h
9478 [__LINUX_KERNEL_VERSION >= 0x020621]
9479 (__ASSUME_PROC_PID_TASK_COMM): Define.
9481 2014-02-05 Siddhesh Poyarekar <siddhesh@redhat.com>
9484 * libio/wfileops.c (_IO_wfile_seekoff): Break out form
9485 conversion when destination buffer does not have enough space.
9486 * libio/tst-ftell-partial-wide.c: New test case.
9487 * libio/Makefile (tests): Add tst-ftell-partial-wide.
9489 * manual/contrib.texi: Update entry for Ondrej Bilka, Will
9490 Newton and Alexandre Oliva. Add entries for Steve Ellcey, Chris
9491 Leonard and Allan McRae.
9493 2014-02-04 David S. Miller <davem@davemloft.net>
9495 * sysdeps/sparc/fpu/libm-test-ulps: Update for some 64-bit differences from
9498 2014-02-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9500 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
9502 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
9504 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
9506 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
9508 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
9510 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
9512 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
9514 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
9516 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
9518 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
9520 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
9522 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
9524 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
9527 2014-02-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9529 * nptl/shlib-versions: Change powerpc*le start to 2.17.
9530 * shlib-versions: Likewise.
9532 2014-02-04 Roland McGrath <roland@hack.frob.com>
9533 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9535 * sysdeps/powerpc/Makefile [$(config-machine) ends with 'le']
9536 (abilist-pattern): New variable, set to %-le.abilist.
9538 * Makerules (abilist-pattern): New variable.
9539 (vpath): Use $(abilist-pattern) in place of %.abilist.
9540 (check-abi-% pattern rule): Likewise.
9541 (check-abi, update-abi): Likewise.
9543 2014-02-04 Eric Wong <normalperson@yhbt.net>
9545 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
9547 2014-02-03 Carlos O'Donell <carlos@redhat.com>
9549 * manual/startup.texi: Add next, previous, and top entries for
9550 the `Program Arguments' and `Environment Variables' nodes.
9552 2014-02-03 Alexandre Oliva <aoliva@redhat.com>
9554 * manual/macros.texi: Add comments before MTASC-safety macros.
9556 * manual/users.texi: Document MTASC-safety properties.
9558 * manual/threads.texi (pthread_key_create, pthread_key_delete)
9559 (pthread_getspecific, pthread_setspecific): Format with
9560 @deftypefun, and add @safety note.
9561 * manual/signal.texi: Move comments that analyze the above
9562 functions to their home place.
9564 2014-02-03 Allan McRae <allan@archlinux.org>
9566 * po/sl.po: Update Slovenian translation from translation project.
9568 2014-02-02 Alexandre Oliva <aoliva@redhat.com>
9570 * manual/time.texi (timegm): Add missing blank after @c.
9571 Reported by Joseph Myers <joseph@codesourcery.com>.
9573 2014-02-01 Alexandre Oliva <aoliva@redhat.com>
9575 * manual/check-safety.sh: New.
9576 * manual/Makefile ($(objpfx)stamp-summary): Run it.
9578 * manual/terminal.texi: Document MTASC-safety properties.
9580 * manual/filesys.texi: Document MTASC-safety properties.
9582 * manual/errno.texi: Document MTASC-safety properties.
9584 * manual/intro.texi: Document safety identifiers and
9587 * manual/string.texi (wcstok): Fix prototype.
9588 (wcstok, strtok, strtok_r): Adjust reentrancy remarks.
9590 * manual/time.texi: Document MTASC-safety properties.
9592 * manual/string.texi: Document MTASC-safety properties.
9594 * manual/threads.texi: Document MTASC-safety properties.
9596 * manual/stdio.texi: Document MTASC-safety properties.
9598 * manual/syslog.texi: Document MTASC-safety properties.
9600 * manual/sysinfo.texi: Document MTASC-safety properties.
9602 * manual/startup.texi: Document MTASC-safety properties.
9604 * manual/socket.texi: Document MTASC-safety properties.
9606 * manual/signal.texi: Document MTASC-safety properties.
9608 2014-01-31 Alexandre Oliva <aoliva@redhat.com>
9610 * manual/setjmp.texi: Document MTASC-safety properties.
9612 * manual/search.texi: Document MTASC-safety properties.
9614 * manual/resource.texi: Document MTASC-safety properties.
9616 * manual/process.texi: Document MTASC-safety properties.
9618 * manual/platform.texi: Document MTASC-safety properties.
9620 * manual/pipe.texi: Document MTASC-safety properties.
9622 * manual/pattern.texi: Document MTASC-safety properties.
9624 * manual/message.texi: Document MTASC-safety properties.
9627 * manual/memory.texi: Document MTASC-safety properties.
9629 * manual/math.texi: Document MTASC-safety properties.
9631 * manual/locale.texi: Document MTASC-safety properties.
9633 * manual/llio.texi: Document MTASC-safety properties.
9635 * manual/libdl.texi: New.
9637 * manual/lang.texi: Document MTASC-safety properties.
9639 * manual/job.texi: Document MTASC-safety properties.
9641 * manual/getopt.texi: Document MTASC-safety properties.
9643 * manual/ctype.texi: Document MTASC-safety properties.
9645 2014-01-31 Maciej W. Rozycki <macro@codesourcery.com>
9648 * csu/libc-tls.c (static_map): Remove variable.
9649 (__libc_setup_tls): Use main executable's link map for TLS data.
9650 * elf/dl-close.c (_dl_close_worker) [!SHARED]: Remove special
9651 casing for LM_ID_BASE and GL(dl_nns).
9652 * elf/dl-iteratephdr.c [!SHARED] (dl_iterate_phdr): Remove
9653 function. Alias dl_iterate_phdr to __dl_iterate_phdr.
9654 * elf/dl-load.c (_dl_map_object) [!SHARED]: Remove special
9655 casing for GL(dl_ns)[LM_ID_BASE]._ns_loaded.
9656 * elf/dl-support.c (_dl_main_map): Also initialize l_flags_1
9658 (_dl_non_dynamic_init): Also initialize _dl_main_map's l_phdr and
9661 2014-01-30 Alexandre Oliva <aoliva@redhat.com>
9663 * manual/debug.texi: Document MTASC-safety properties.
9665 2014-01-29 H.J. Lu <hongjiu.lu@intel.com>
9668 * sysdeps/x86/fpu/bits/mathinline.h: Check __SSE2_MATH__ instead
9669 of __x86_64__ when disabling x87 inline functions.
9671 2014-01-29 Alexandre Oliva <aoliva@redhat.com>
9673 * manual/charset.texi: Document MTASC-safety properties.
9675 * manual/crypt.texi: Document MTASC-safety properties.
9677 * manual/conf.texi: Document MTASC-safety properties.
9679 * manual/arith.texi: Document MTASC-safety properties.
9681 * manual/argp.texi: Document MTASC-safety properties.
9683 * manual/macros.texi: Introduce macros to document multi
9684 thread, asynchronous signal and asynchronous cancellation
9686 * manual/intro.texi: Introduce the properties themselves.
9688 2014-01-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
9690 * sysdeps/sh/sh4/Makefile: New file.
9692 2014-01-27 Andreas Schwab <schwab@linux-m68k.org>
9694 * math/gen-libm-test.pl ($srcdir): New variable.
9695 ($auto_input): Use it.
9697 2014-01-27 Siddhesh Poyarekar <siddhesh@redhat.com>
9700 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Avoid
9701 access beyond array bounds when parsing netgroups file.
9703 * nscd/netgroupcache.c (addgetnetgrentX): Compute offset from
9704 the old buffer before realloc.
9706 2014-01-27 Allan McRae <allan@archlinux.org>
9708 * po/fr.po: Update French translation from translation project.
9710 2014-01-26 Kaz Kojima <kkojima@rr.iij4u.or.jp>
9712 * sysdeps/sh/libm-test-ulps: Regenerate.
9714 2014-01-24 David S. Miller <davem@davemloft.net>
9716 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate.
9718 2014-01-25 Kaz Kojima <kkojima@rr.iij4u.or.jp>
9720 * sysdeps/sh/sh4/fpu/libm-test-ulps: Move to ...
9721 * sysdeps/sh/libm-test-ulps: ... here and regenerated.
9723 2013-01-24 Siddhesh Poyarekar <siddhesh@redhat.com>
9726 * nscd/netgroupcache.c (addgetnetgrentX): Adjust triplet
9727 string pointers after reallocation.
9729 2014-01-24 Kaz Kojima <kkojima@rr.iij4u.or.jp>
9731 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Use __SH4__ and
9732 __SH4A__ instead of __SH_FPU_ANY__.
9734 2014-01-23 Kaz Kojima <kkojima@rr.iij4u.or.jp>
9736 * sysdeps/sh/fpu_control.h: New file.
9737 * sysdeps/sh/sh4/fpu/fpu_control.h: Remove.
9738 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: New file.
9739 * sysdeps/unix/sysv/linux/sh/sh3/sys/ucontext.h: Remove.
9740 * sysdeps/unix/sysv/linux/sh/sh3/sys: Remove directory.
9741 * sysdeps/unix/sysv/linux/sh/sh4/sys/ucontext.h: Remove.
9742 * sysdeps/unix/sysv/linux/sh/sh4/sys: Remove directory.
9743 * sysdeps/sh/sys/ucontext.h: Remove.
9744 * sysdeps/sh/sys: Remove directory.
9746 2014-01-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
9748 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Merge into
9749 s390/sys/ucontext.h.
9750 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise.
9751 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: New file.
9753 2014-01-20 H.J. Lu <hongjiu.lu@intel.com>
9756 * sysdeps/x86_64/x32/symbol-hacks.h: Include generic symbol-hacks.h.
9758 2014-01-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9761 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
9762 Adjust the vDSO correctly for internal calls.
9763 * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
9765 2014-01-20 Allan McRae <allan@archlinux.org>
9767 * po/ca.po: Update Catalan translation from translation project.
9769 2014-01-16 Mike Frysinger <vapier@gentoo.org>
9771 * sysdeps/s390/sotruss-lib.c: New file.
9773 2014-01-16 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9776 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c
9777 (__GI___gettimeofday): Alias for a different internal symbol to avoid
9778 local calls issues by not having a PLT stub required for IFUNC calls.
9779 * sysdeps/unix/sysv/linux/powerpc/time.c (__GI_time): Likewise.
9781 2014-01-16 Joseph Myers <joseph@codesourcery.com>
9783 * math/test-fpucw-ieee.c: Use <> in #include of test-fpucw.c.
9784 * math/test-fpucw-static.c: Likewise.
9786 2013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
9789 * nscd/netgroupcache.c (addgetnetgrentX): Don't use alloca.
9791 2014-01-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9793 * sysdeps/powerpc/sotruss-lib.c: New file: sotruss-lib.so
9794 implementation for powerpc.
9796 2014-01-15 Ondřej Bílka <neleai@seznam.cz>
9799 * sysdeps/posix/system.c (__libc_system): Do not enable
9800 asynchronous cancellation.
9802 2014-01-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
9805 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Invoke the non-IEEE
9806 handling only for numbers special also in the IEEE case.
9808 2014-01-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
9810 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
9812 2014-01-11 Allan McRae <allan@archlinux.org>
9814 * po/bg.po: Update Bulgarian translation from translation project.
9816 * po/de.po: Update German translation from translation project.
9818 2014-01-10 Roland McGrath <roland@hack.frob.com>
9820 * sysdeps/generic/gcc-compat.h: New file.
9822 2014-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
9824 * benchtests/asin-inputs: Correct slow inputs.
9825 * benchtests/acos-inputs: Likewise.
9827 2014-01-10 Allan McRae <allan@archlinux.org>
9829 * po:sv.po: Update Swedish translation from translation project.
9831 * po/vi.po: Update Vietnamese translation from translation project.
9833 * po/eo.po: Update Esperanto translation from translation project.
9835 * po/cs.po: Update Czech translation from translation project.
9837 * po/nl.po: Update Dutch translation from translation project.
9839 * po/pl.po: Update Polish translation from translation project.
9841 * po/ru.po: Update Russian translation from translation project.
9843 * po/uk.po: Update Ukrainian translation from translation project.
9845 2014-01-08 Brooks Moses <bmoses@google.com>
9847 * elf/dl-load.c: Fix comment typo.
9849 2014-01-08 Carlos O'Donell <carlos@redhat.com>
9851 * po/header.pot: Rename to...
9852 * po/pot.header: ... this.
9853 * po/Makefile: Use pot.header.
9855 2014-01-08 Yuriy Kaminskiy <yumkam@gmail.com>
9856 Maxim Kuvyrkov <maxim@kugelworks.com>
9859 * sysdeps/i386/i686/memmove.S (memmove): Compare distance between
9860 SRC and DEST against LEN.
9862 2014-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9865 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Remove wrong
9867 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Remove bogus comment.
9869 2014-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9871 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9873 2014-01-08 Joseph Myers <joseph@codesourcery.com>
9876 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Use __expl
9877 for large positive arguments.
9879 2014-01-07 Joseph Myers <joseph@codesourcery.com>
9881 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
9883 * math/auto-libm-test-in: Mark various tests with
9884 xfail-rounding:ldbl-128ibm.
9885 * math/auto-libm-test-out: Regenerated.
9888 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
9889 Increase overflow threshold.
9891 2014-01-07 Ondřej Bílka <neleai@seznam.cz>
9894 * stdio-common/vfprintf.c: Check for integer overflow.
9896 2014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
9898 * sysdeps/s390/dl-tls.h: sysdeps/s390/dl-tls.h: Remove casts for
9899 the first argument and return value of __tls_get_addr_internal.
9901 2014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
9903 * sysdeps/s390/s390-32/dl-machine.h: Gate the definition of refsym
9904 also with !RTLD_BOOTSTRAP to get rid of unused variable warning.
9906 2014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
9908 * sysdeps/s390/Makefile: Build rtld-global-offsets.sym.
9909 * sysdeps/s390/rtld-global-offsets.sym: New file.
9910 * sysdeps/unix/sysv/linux/s390/Versions: Add getcontext as new
9912 * sysdeps/unix/sysv/linux/s390/getcontext.S: New file.
9913 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Rename to ...
9914 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
9916 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Rename to ...
9917 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
9919 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
9921 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
9923 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Restore upper
9924 halfs of GPRs for high_gprs contexts.
9925 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Save and
9926 restore upper halfs of GPRs for high_gprs contexts. Copy uc_flags
9928 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Copy
9930 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Split into 32 and
9932 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Add field
9933 for high GPRs (uc_high_gprs) and for future extensions
9935 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Add field
9936 for future extensions (__reserved).
9937 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Split into 32 and
9939 * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym: Add
9940 SC_HIGHGPRS offset definition.
9941 * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.sym: New file.
9942 * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: New file.
9944 * Versions.def: Add GLIBC_2.19 for libpthread.
9945 * nptl/sysdeps/unix/sysv/linux/s390/Versions: Add longjmp and
9946 siglongjmp for libpthread with GLIBC_2.19 symver.
9947 * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: New file.
9948 * sysdeps/s390/Makefile: Build v1-longjmp.c and v1-sigjmp.c.
9949 * sysdeps/s390/Versions: New GLIBC_2.19 and GLIBC_PRIVATE symbols.
9950 * sysdeps/s390/__longjmp.c: New file.
9951 * sysdeps/s390/bits/setjmp.h: Add new fields to __s390_jmp_buf.
9952 * sysdeps/s390/longjmp.c: New file.
9953 * sysdeps/s390/setjmp.S: New file.
9954 * sysdeps/s390/sigjmp.S: New file.
9955 * sysdeps/s390/v1-longjmp.c: New file.
9956 * sysdeps/s390/v1-setjmp.h: New file.
9957 * sysdeps/s390/v1-sigjmp.c: New file.
9958 * sysdeps/unix/sysv/linux/s390/Makefile: Build __longjmp_chk.
9959 * sysdeps/unix/sysv/linux/s390/Versions: Add __longjmp_chk with
9961 * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: New file.
9962 * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Provide
9963 versioned symbols for ____longjmp_chk.
9964 * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
9966 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
9968 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
9970 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
9972 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
9974 * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: New file.
9975 * sysdeps/s390/s390-32/__longjmp.c: Rename to ...
9976 * sysdeps/s390/s390-32/__longjmp-common.c: ... this.
9977 * sysdeps/s390/s390-32/setjmp.S: Rename and adjust to ...
9978 * sysdeps/s390/s390-32/setjmp-common.S: ... this.
9979 * sysdeps/s390/s390-64/__longjmp.c: Rename to ...
9980 * sysdeps/s390/s390-64/__longjmp-common.c: ... this.
9981 * sysdeps/s390/s390-64/setjmp.S: Rename and adjust to ...
9982 * sysdeps/s390/s390-64/setjmp-common.S: ... this.
9983 * sysdeps/s390/rtld-__longjmp.c: New file.
9984 * sysdeps/s390/rtld-setjmp.S: New file.
9986 2014-01-06 Joseph Myers <joseph@codesourcery.com>
9989 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
9990 Return -__logl (x) for small positive arguments without evaluating
9993 2014-01-06 Mike Frysinger <vapier@gentoo.org>
9995 * sysdeps/unix/sysv/linux/sys/ptrace.h (ptrace_peeksiginfo_args):
9997 (__ptrace_peeksiginfo_args): ... this.
9998 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
9999 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
10000 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
10002 2014-01-06 Allan McRae <allan@archlinux.org>
10004 * inet/netinet/in.h: Fix typo in comment.
10006 2014-01-05 Andreas Jaeger <aj@suse.de>
10008 * sysdeps/i386/fpu/libm-test-ulps: Update.
10010 2014-01-05 Allan McRae <allan@archlinux.org>
10012 * po/libc.pot: Regenerated.
10014 * malloc/memusagestat.c: Fix gettext call formatting.
10016 2014-01-04 Sami Kerola <kerolasa@iki.fi>
10018 * nscd/nscd.c: Improve usage() output.
10020 2014-01-04 Mike Frysinger <vapier@gentoo.org>
10022 * config.h.in: Add HAVE_LINUX_FANOTIFY_H template.
10023 * sysdeps/unix/sysv/linux/configure: Regenerated.
10024 * sysdeps/unix/sysv/linux/configure.ac: Call AC_DEFINE.
10025 * sysdeps/unix/sysv/linux/tst-fanotify.c: Include config.h.
10027 2014-01-03 Joseph Myers <joseph@codesourcery.com>
10030 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
10031 (CFLAGS-e_atan2l.c): Use -fno-builtin-fabsl.
10033 2014-01-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10035 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Remove
10036 extra tokens at end of #undef directive.
10037 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
10038 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
10039 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
10041 2014-01-03 Joseph Myers <joseph@codesourcery.com>
10043 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
10045 * math/auto-libm-test-in: Mark various tests with
10046 xfail-rounding:ldbl-128ibm.
10047 * math/auto-libm-test-out: Regenerated.
10049 2014-01-02 Joseph Myers <joseph@codesourcery.com>
10052 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Adjust
10053 numbers with subnormal high part when calculating exponent.
10056 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use fabsl not
10060 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (ln2): Initialize with
10062 (__ieee754_acoshl): Use __log1pl not __log1p.
10064 2013-01-02 Ondřej Bílka <neleai@seznam.cz>
10066 * malloc/arena.c (malloc_atfork, free_atfork, ptmalloc_lock_all)
10067 (ptmalloc_unlock_all, ptmalloc_unlock_all2, next_env_entry)
10068 (__failing_morecore, ptmalloc_init, dump_heap, new_heap)
10069 (grow_heap, heap_trim, _int_new_arena, get_free_list)
10070 (reused_arena, arena_get2): Convert to GNU style.
10071 * malloc/hooks.c (memalign_hook_ini, __malloc_check_init)
10072 (mem2mem_check, mem2chunk_check, top_check, realloc_check)
10073 (memalign_check, __malloc_set_state): Likewise.
10074 * malloc/mallocbug.c (main): Likewise.
10075 * malloc/malloc.c (__malloc_assert, malloc_init_state)
10076 (free_perturb, do_check_malloced_chunk, do_check_malloc_state)
10077 (sysmalloc, systrim, mremap_chunk, __libc_malloc, __libc_free)
10078 (__libc_realloc, _mid_memalign, _int_malloc, malloc_consolidate)
10079 (_int_realloc, _int_memalign, mtrim, musable, __libc_mallopt)
10080 (__posix_memalign, malloc_info): Likewise.
10081 * malloc/malloc.h: Likewise.
10082 * malloc/mcheck.c (checkhdr, unlink_blk, link_blk, freehook)
10083 (mallochook, memalignhook, reallochook, mabort): Likewise.
10084 * malloc/mcheck.h: Likewise.
10085 * malloc/memusage.c (update_data, me, malloc, realloc, calloc)
10086 (free, mmap, mmap64, mremap, munmap, dest): Likewise.
10087 * malloc/memusagestat.c (main, parse_opt, more_help): Likewise.
10088 * malloc/morecore.c (__default_morecore): Likewise.
10089 * malloc/mtrace.c (tr_break, lock_and_info, mtrace): Likewise.
10090 * malloc/obstack.c (_obstack_begin, _obstack_newchunk)
10091 (_obstack_allocated_p, obstack_free, _obstack_memory_used)
10092 (print_and_abort): Likewise.
10093 * malloc/obstack.h: Likewise.
10094 * malloc/set-freeres.c (__libc_freeres): Likewise.
10095 * malloc/tst-mallocstate.c (main): Likewise.
10096 * malloc/tst-mtrace.c (main): Likewise.
10097 * malloc/tst-realloc.c (do_test): Likewise.
10099 2013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
10102 * nscd/netgroupcache.c (do_notfound): New function.
10103 (addgetnetgrentX): Use it.
10106 * nscd/netgroupcache.c (addgetnetgrentX): Break if status is
10107 NSS_STATUS_NOTFOUND.
10109 2014-01-01 Joseph Myers <joseph@codesourcery.com>
10111 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
10112 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10114 2014-01-01 Allan McRae <allan@archlinux.org>
10116 * scripts/update-copyrights: Update configure input file suffix.
10118 * NEWS: Update copyright year.
10119 * catgets/gencat.c: Likewise.
10120 * csu/version.c: Likewise.
10121 * debug/catchsegv.sh: Likewise.
10122 * debug/pcprofiledump.c: Likewise.
10123 * debug/xtrace.sh: Likewise.
10124 * elf/ldconfig.c: Likewise.
10125 * elf/ldd.bash.in: Likewise.
10126 * elf/pldd.c: Likewise.
10127 * elf/sotruss.ksh: Likewise.
10128 * elf/sprof.c: Likewise.
10129 * iconv/iconv_prog.c: Likewise.
10130 * iconv/iconvconfig.c: Likewise.
10131 * locale/programs/locale.c: Likewise.
10132 * locale/programs/localedef.c: Likewise.
10133 * login/programs/pt_chown.c: Likewise.
10134 * malloc/memusage.sh: Likewise.
10135 * malloc/memusagestat.c: Likewise.
10136 * malloc/mtrace.pl: Likewise.
10137 * manual/libc.texinfo: Likewise.
10138 * nscd/nscd.c: Likewise.
10139 * nss/getent.c: Likewise.
10140 * nss/makedb.c: Likewise.
10141 * posix/getconf.c: Likewise.
10142 * scripts/test-installation.pl: Likewise.
10144 * All files with FSF copyright notices: Update copyright dates
10145 using scripts/update-copyrights.
10146 * intl/plural.c: Regenerated.
10147 * locale/programs/charmap-kw.h: Likewise.
10148 * locale/programs/locfile-kw.h: Likewise.
10150 2013-12-31 Mike Frysinger <vapier@gentoo.org>
10152 * sysdeps/unix/sysv/linux/configure: Regenerated.
10153 * sysdeps/unix/sysv/linux/configure.ac: Call AC_CHECK_HEADER on
10154 the linux/fanotify.h header.
10155 * sysdeps/unix/sysv/linux/tst-fanotify.c: Check if
10156 HAVE_LINUX_FANOTIFY_H is defined.
10158 2013-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
10160 * benchtests/cos-inputs: New inputs.
10161 * benchtests/sin-inputs: Likewise.
10163 * benchtests/atan-inputs: New inputs. Fix name of multiple
10164 precision fallback inputs.
10166 * benchtests/atanh-inputs: New inputs.
10167 * benchtests/tanh-inputs: Likewise.
10169 * benchtests/acosh-inputs: New inputs.
10170 * benchtests/asinh-inputs: Likewise.
10172 * benchtests/cosh-inputs: New inputs.
10173 * benchtests/sinh-inputs: Likewise.
10175 * benchtests/acos-inputs: Add more inputs.
10176 * benchtests/asin-inputs: Likewise.
10178 2013-12-30 Ville Skytta <ville.skytta@iki.fi>
10181 * manual/arith.texi: Fix spelling.
10182 * manual/charset.texi: Likewise.
10183 * manual/errno.texi: Likewise.
10184 * manual/filesys.texi: Likewise.
10185 * manual/lang.texi: Likewise.
10186 * manual/llio.texi: Likewise.
10187 * manual/locale.texi: Likewise.
10188 * manual/message.texi: Likewise.
10189 * manual/resource.texi: Likewise.
10190 * manual/search.texi: Likewise.
10191 * manual/setjmp.texi: Likewise.
10192 * manual/stdio.texi: Likewise.
10193 * manual/string.texi: Likewise.
10194 * manual/sysinfo.texi: Likewise.
10195 * manual/time.texi: Likewise.
10197 2013-12-27 Carlos O'Donell <carlos@redhat.com>
10199 * po/sl.po: New file.
10201 2013-12-27 Mike Frysinger <vapier@gentoo.org>
10203 * .gitignore: Add core/.gdbinit/.gdb_history.
10205 2013-12-27 Allan McRae <allan@archlinux.org>
10208 * sysdeps/ieee754/dbl-64/s_sin.c (csloww): Fix variable name.
10209 Reported by Il'ya Malakhov <ilmalakhov@yandex.ru>
10211 2013-12-24 Brooks Moses <bmoses@google.com>
10213 * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Define for
10214 all compilers that claim C++98 compliance, not just GCC.
10215 * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
10218 2013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
10220 * NEWS: Restore accidentally deleted bug-fix entries.
10222 2013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
10223 Ondřej Bílka <neleai@seznam.cz>
10226 * malloc/malloc.c (_int_free): Perform sanity check only if we
10229 2013-12-23 Ondřej Bílka <neleai@seznam.cz>
10232 * manual/stdio.texi (String Input Conversions): Clarify that character
10233 classes are not supported.
10235 2013-12-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10237 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10239 2013-12-22 Joseph Myers <joseph@codesourcery.com>
10242 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
10243 Calculate results for small negative arguments directly rather
10244 than using reflection formula with special underflow handling.
10246 * sysdeps/mach/hurd/Implies: Change unix/bsd/bsd4.4 to unix/bsd.
10247 * sysdeps/unix/bsd/syscalls.list (chflags): Add entry from
10248 sysdeps/unix/bsd/bsd4.4/syscalls.list.
10249 (fchflags): Likewise.
10250 (revoke): Likewise.
10251 (setlogin): Likewise.
10252 (sigaltstack): Likewise.
10254 (sigblock): Remove.
10255 (sigsetmask): Likewise.
10257 (waitpid): Likewise.
10258 * sysdeps/unix/bsd/bsd4.4/syscalls.list: Remove file.
10259 * sysdeps/unix/sysv/linux/wait3.c: Update directory of included
10261 * sysdeps/unix/bsd/bsd4.4/Makefile: Move to ...
10262 * sysdeps/unix/bsd/Makefile: ... here.
10263 * sysdeps/unix/bsd/bsd4.4/Versions: Move to ...
10264 * sysdeps/unix/bsd/Versions: ... here.
10265 * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Move to ...
10266 * sysdeps/unix/bsd/bits/sockaddr.h: ... here.
10267 * sysdeps/unix/bsd/bsd4.4/cmsg_nxthdr.c: Move to ...
10268 * sysdeps/unix/bsd/cmsg_nxthdr.c: ... here.
10269 * sysdeps/unix/bsd/bsd4.4/sigblock.c: Move to ...
10270 * sysdeps/unix/bsd/sigblock.c: ... here.
10271 * sysdeps/unix/bsd/bsd4.4/sigsetmask.c: Move to ...
10272 * sysdeps/unix/bsd/sigsetmask.c: ... here.
10273 * sysdeps/unix/bsd/bsd4.4/sigvec.c: Move to ...
10274 * sysdeps/unix/bsd/sigvec.c: ... here.
10275 * sysdeps/unix/bsd/bsd4.4/tcdrain.c: Move to ...
10276 * sysdeps/unix/bsd/tcdrain.c: ... here.
10277 * sysdeps/unix/bsd/bsd4.4/tcgetattr.c: Move to ...
10278 * sysdeps/unix/bsd/tcgetattr.c: ... here.
10279 * sysdeps/unix/bsd/bsd4.4/tcsetattr.c: Move to ...
10280 * sysdeps/unix/bsd/tcsetattr.c: ... here.
10281 * sysdeps/unix/bsd/bsd4.4/wait.c: Move to ...
10282 * sysdeps/unix/bsd/wait.c: ... here.
10283 * sysdeps/unix/bsd/bsd4.4/wait3.c: Move to ...
10284 * sysdeps/unix/bsd/wait3.c: ... here.
10285 * sysdeps/unix/bsd/bsd4.4/waitpid.c: Move to ...
10286 * sysdeps/unix/bsd/waitpid.c: ... here.
10288 2013-12-21 Joseph Myers <joseph@codesourcery.com>
10291 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Also set
10292 round-to-nearest for [!USE_AS_EXPM1L].
10293 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
10294 * math/auto-libm-test-in: Do not expect cosh tests to fail. Add
10295 more tests of exp and exp10. Expect some exp10 tests to miss
10296 exceptions or fail in directed rounding modes.
10297 * math/auto-libm-test-out: Regenerated.
10298 * math/libm-test.inc (exp10_tonearest_test_data): New array.
10299 (exp10_test_tonearest): New function.
10300 (exp10_towardzero_test_data): New array.
10301 (exp10_test_towardzero): New function.
10302 (exp10_downward_test_data): New array.
10303 (exp10_test_downward): New function.
10304 (exp10_upward_test_data): New array.
10305 (exp10_test_upward): New function.
10306 (main): Call the new functions.
10307 * sysdeps/i386/fpu/libm-test-ulps: Update.
10308 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10310 2013-12-20 Joseph Myers <joseph@codesourcery.com>
10312 * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
10313 asinh, atan, atan2, atanh, cbrt, cos and cosh.
10314 * math/auto-libm-test-out: Regenerated.
10315 * math/libm-test.inc (acosh_test_data): Add more tests.
10316 (atanh_test_data): Likewise.
10317 (ceil_test_data): Likewise.
10318 (copysign_test_data): Likewise.
10319 * sysdeps/i386/fpu/libm-test-ulps: Update.
10320 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10322 * timezone/checktab.awk: Update from tzcode 2013i.
10323 * timezone/private.h: Likewise.
10324 * timezone/scheck.c: Likewise.
10325 * timezone/tzfile.h: Likewise.
10326 * timezone/tzselect.ksh: Likewise.
10327 * timezone/zdump.c: Likewise.
10328 * timezone/zic.c: Likewise.
10330 * math/auto-libm-test-in: Add tests of cpow.
10331 * math/auto-libm-test-out: Regenerated.
10332 * math/libm-test.inc (cpow_test_data): Use AUTO_TESTS_cc_c.
10333 * math/gen-auto-libm-tests.c (func_calc_method): Add value
10335 (func_calc_desc): Add mpc_cc_c union field.
10336 (test_functions): Add cpow.
10337 (special_fill_2pi): New function.
10338 (special_real_inputs): Add 2pi.
10339 (calc_generic_results): Handle mpc_cc_c.
10340 * sysdeps/i386/fpu/libm-test-ulps: Update.
10341 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10343 * math/auto-libm-test-in: Add tests of ccos, ccosh, cexp, clog,
10344 csqrt, ctan and ctanh.
10345 * math/auto-libm-test-out: Regenerated.
10346 * math/libm-test.inc (TEST_COND_x86_64): New macro.
10347 (TEST_COND_x86): Likewise.
10348 (ccos_test_data): Use AUTO_TESTS_c_c.
10349 (ccosh_test_data): Likewise.
10350 (cexp_test_data): Likewise.
10351 (clog_test_data): Likewise.
10352 (csqrt_test_data): Likewise.
10353 (ctan_test_data): Likewise.
10354 (ctan_tonearest_test_data): Likewise.
10355 (ctan_towardzero_test_data): Likewise.
10356 (ctan_downward_test_data): Likewise.
10357 (ctan_upward_test_data): Likewise.
10358 (ctanh_test_data): Likewise.
10359 (ctanh_tonearest_test_data): Likewise.
10360 (ctanh_towardzero_test_data): Likewise.
10361 (ctanh_downward_test_data): Likewise.
10362 (ctanh_upward_test_data): Likewise.
10363 * math/gen-auto-libm-tests.c (func_calc_method): Add value
10365 (func_calc_desc): Add mpc_c_c union field.
10366 (FUNC_mpc_c_c): New macro.
10367 (test_functions): Add cacos, cacosh, casin, casinh, catan, catanh,
10368 ccos, ccosh, cexp, clog, clog10, csin, csinh, csqrt, ctan and
10370 (special_fill_min_subnorm_p120): New function.
10371 (special_real_inputs): Add min_subnorm_p120.
10372 (calc_generic_results): Handle mpc_c_c.
10373 * sysdeps/i386/fpu/libm-test-ulps: Update.
10374 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10376 2013-12-20 Siddhesh Poyarekar <siddhesh@redhat.com>
10378 * sysdeps/ieee754/dbl-64/s_sin.c (do_cos, do_cos_slow, do_sin)
10379 (do_sin_slow): New functions.
10380 (__sin, __cos, slow1, slow2, sloww1, sloww2, bsloww1, bsloww2)
10381 (cslow2, csloww1, csloww2): Use the new functions.
10383 * sysdeps/ieee754/dbl-64/s_sin.c (sloww1): Add new argument M.
10384 Use M to change sign of result instead of X. Assume X is
10386 (csloww1): Likewise.
10390 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Remove
10391 arguments A and DA.
10395 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use DA directly.
10397 (sloww1): Don't adjust sign of DX.
10398 (csloww1): Likewise.
10399 (sloww2): Use X directly and don't adjust sign of DX.
10400 (csloww2): Likewise.
10402 2013-12-19 Joseph Myers <joseph@codesourcery.com>
10404 * math/auto-libm-test-in: Add tests of cabs and carg.
10405 * math/auto-libm-test-out: Regenerated.
10406 * math/libm-test.inc (cabs_test_data): Use AUTO_TESTS_c_f.
10407 (carg_test_data): Likewise.
10408 * math/gen-auto-libm-tests.c (func_calc_method): Add value
10410 (func_calc_desc): Add mpc_c_f union field.
10411 (test_functions): Add cabs and carg.
10412 (calc_generic_results): Handle mpc_c_f.
10414 * sysdeps/powerpc/powerpc32/libgcc-compat.S
10415 [_SOFT_FLOAT || __NO_FPRS__] (__fixdfdi_v_glibc20): Do not define
10416 as a macro and a compat symbol.
10417 [_SOFT_FLOAT || __NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
10418 [_SOFT_FLOAT || __NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
10419 [_SOFT_FLOAT || __NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
10420 [_SOFT_FLOAT || __NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
10421 [_SOFT_FLOAT || __NO_FPRS__] (__floaddisf_v_glibc20): Likewise.
10422 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixdfdi): Do
10424 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixsfdi):
10426 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunsdfdi):
10428 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunssfdi):
10430 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddidf):
10432 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddisf):
10434 * sysdeps/powerpc/nofpu/Versions (libc): Remove __fixdfdi,
10435 __fixsfdi, __fixunsdfdi, __fixunssfdi, __floatdidf and __floatdisf
10438 2013-12-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10440 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10442 2013-12-19 Joseph Myers <joseph@codesourcery.com>
10444 * manual/texinfo.tex: Update to version 2013-11-26.10 with
10445 trailing whitespace removed.
10446 * scripts/config.guess: Update to version 2013-11-29.
10447 * scripts/config.sub: Update to version 2013-10-01.
10449 * math/auto-libm-test-in: Add tests of sincos.
10450 * math/auto-libm-test-out: Regenerated.
10451 * math/libm-test.inc (sincos_test_data): Use AUTO_TESTS_fFF_11.
10452 * math/gen-auto-libm-tests.c (func_calc_method): Add value
10454 (func_calc_desc): Add mpfr_f_11 union field.
10455 (test_functions): Add sincos.
10456 (calc_generic_results): Handle mpfr_f_11.
10457 * sysdeps/i386/fpu/libm-test-ulps: Update.
10458 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10460 2013-12-19 Andreas Schwab <schwab@suse.de>
10462 * sysdeps/powerpc/powerpc64/power7/memchr.S: Fix argument of
10464 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
10465 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S
10466 [USE_IN_EXTENDED_LOCALE_MODEL]: Likewise.
10468 2013-12-19 Joseph Myers <joseph@codesourcery.com>
10470 * math/gen-libm-test.pl (%beautify): Remove M_* constants.
10471 * sysdeps/i386/fpu/libm-test-ulps: Update.
10472 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10475 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Set
10476 round-to-nearest mode when using frndint.
10477 * sysdeps/i386/fpu/s_expm1.S (__expm1): Likewise.
10478 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
10479 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
10481 * math/auto-libm-test-in: Add more tests of expm1. Do not expect
10483 * math/auto-libm-test-out: Regenerated.
10484 * math/libm-test.inc (TEST_COND_x86_64): Remove macro.
10485 (TEST_COND_x86): Likewise.
10486 (expm1_tonearest_test_data): New array.
10487 (expm1_test_tonearest): New function.
10488 (expm1_towardzero_test_data): New array.
10489 (expm1_test_towardzero): New function.
10490 (expm1_downward_test_data): New array.
10491 (expm1_test_downward): New function.
10492 (expm1_upward_test_data): New array.
10493 (expm1_test_upward): New function.
10494 (main): Run the new test functions.
10495 * sysdeps/i386/fpu/libm-test-ulps: Update.
10496 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10498 * include/features.h: Update comment documenting feature test
10499 macros. Mention _DEFAULT_SOURCE in comment.
10500 [_GNU_SOURCE] (_DEFAULT_SOURCE): Undefine and redefine.
10501 [_DEFAULT_SOURCE]: Undefine and redefine _DEFAULT_SOURCE,
10502 _BSD_SOURCE and _SVID_SOURCE.
10503 [!__STRICT_ANSI__ && !_ISOC99_SOURCE && !_POSIX_SOURCE &&
10504 !_POSIX_C_SOURCE && !_XOPEN_SOURCE && !_BSD_SOURCE &&
10505 !_SVID_SOURCE]: Likewise.
10506 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
10507 (__USE_POSIX_IMPLICITLY): Define.
10508 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
10509 (_POSIX_SOURCE): Undefine and redefine.
10510 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
10511 (_POSIX_C_SOURCE): Likewise.
10512 * manual/creature.texi (_DEFAULT_SOURCE): Document.
10513 (Feature Test Macros): Update documentation of default features.
10515 2013-12-19 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
10517 * benchtests/Makefile: Add bench-strtok.
10518 * benchtests/bench-strtok.c: New file: strtok benchtest.
10520 2013-12-19 Allan McRae <allan@archlinux.org>
10522 * manual/install.texi: Suppress menu for plain text output.
10523 * INSTALL: Regenerated.
10525 2013-12-18 Brooks Moses <bmoses@google.com>
10528 * misc/getauxval.c: Include errno.h.
10529 (__getauxval): Set errno to ENOENT if the requested type is not
10531 * misc/sys/auxv.h (getauxval): Document that it may set errno;
10532 don't declare with __attribute_const__.
10533 * elf/tst-auxv.c: Add tests for errno and type-not-found case.
10534 * manual/startup.texi: Document that getauxval sets errno.
10536 2013-12-18 Joseph Myers <joseph@codesourcery.com>
10538 * math/auto-libm-test-in: Add tests of jn and yn.
10539 * math/auto-libm-test-out: Regenerated.
10540 * math/libm-test.inc (jn_test_data): Use AUTO_TESTS_if_f.
10541 (yn_test_data): Likewise.
10542 * math/gen-auto-libm-tests.c (func_calc_method): Add value
10544 (func_calc_desc): Add mpfr_if_f union field.
10545 (FUNC_mpfr_if_f): New macro.
10546 (test_functions): Add jn and yn.
10547 (calc_generic_results): Assert type of second input for
10548 mpfr_ff_f. Handle mpfr_if_f.
10549 (output_for_one_input_case): Disable all checking for arguments
10550 fitting floating-point types in case of an integer argument.
10551 * sysdeps/i386/fpu/libm-test-ulps: Update.
10552 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10554 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
10555 Don't expect fegetround reference in libm.so.
10557 2013-12-17 Marcus Shawcroft <marcus.shawcroft@linaro.org>
10559 * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_sqrt.c): Add
10560 $(config-cflags-nofma).
10562 2013-12-18 Joseph Myers <joseph@codesourcery.com>
10564 * math/auto-libm-test-in: Mark some hypot tests no-test-inline.
10565 * math/auto-libm-test-out: Regenerated.
10568 * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Use __frexpl
10569 to determine exponent and adjust argument to have exponent of -1.
10570 * math/auto-libm-test-in: Add more tests of log, log10, log1p and
10572 * math/auto-libm-test-out: Regenerated.
10573 * sysdeps/i386/fpu/libm-test-ulps: Update.
10574 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10576 2013-12-18 Ondřej Bílka <neleai@seznam.cz>
10578 * manual/probes.texi: Remove cases when per-thread arenas are
10581 2013-12-18 Andreas Schwab <schwab@suse.de>
10583 * sysdeps/i386/i686/multiarch/strstr.c: Remove.
10584 * sysdeps/i386/i686/multiarch/strstr-c.c: Remove.
10585 * sysdeps/i386/i686/multiarch/strcasestr.c: Remove.
10586 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: Remove.
10587 * sysdeps/i386/i686/multiarch/Makefile: Update.
10588 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Update.
10590 2013-12-17 Joseph Myers <joseph@codesourcery.com>
10592 * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Remove file.
10593 * sysdeps/unix/bsd/bsd4.4/bits/ioctls.h: Likewise.
10595 2013-12-17 Paul Eggert <eggert@cs.ucla.edu>
10598 Support TZ transition times < 00:00:00.
10599 This is needed for version-3 tz-format files; it supports time
10600 stamps past 2037 for America/Godthab (the only entry in the tz
10601 database for which this change is relevant).
10602 * manual/time.texi (TZ Variable): Document transition times
10603 from -167:59:59 through -00:00:01.
10604 * time/tzset.c (tz_rule): Time of day is now signed.
10605 (__tzset_parse_tz): Parse negative time of day.
10607 Document TZ transition times >= 25:00:00.
10608 * manual/time.texi (TZ Variable): Document transition times from
10609 25:00:00 through 167:59:59. These are already supported, and this
10610 support will help with version-3 tz-format files.
10612 * manual/time.texi (TZ Variable): Modernize North America example
10613 to reflect current (i.e., 2007-and-later) daylight saving rules.
10615 * manual/time.texi (TZ Variable): POSIX.1 hour can be 24.
10617 2013-12-17 Joseph Myers <joseph@codesourcery.com>
10619 * sysdeps/unix/bsd/bits/posix_opt.h: Remove file.
10620 * sysdeps/unix/bsd/bits/stat.h: Likewise.
10621 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/environments.h: Likewise.
10622 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
10623 * sysdeps/unix/bsd/bsd4.4/freebsd/sys/sysmacros.h: Likewise.
10624 * sysdeps/unix/bsd/bsdstat.h: Likewise.
10625 * sysdeps/unix/bsd/clock.c: Likewise.
10626 * sysdeps/unix/bsd/i386/vfork.S: Likewise.
10627 * sysdeps/unix/bsd/i386/wait3.S: Likewise.
10628 * sysdeps/unix/bsd/init-posix.c: Likewise.
10629 * sysdeps/unix/bsd/poll.c: Likewise.
10630 * sysdeps/unix/bsd/ptsname.c: Likewise.
10631 * sysdeps/unix/bsd/seekdir.c: Likewise.
10632 * sysdeps/unix/bsd/setegid.c: Likewise.
10633 * sysdeps/unix/bsd/seteuid.c: Likewise.
10634 * sysdeps/unix/bsd/setgid.c: Likewise.
10635 * sysdeps/unix/bsd/setrgid.c: Likewise.
10636 * sysdeps/unix/bsd/setruid.c: Likewise.
10637 * sysdeps/unix/bsd/setsid.c: Likewise.
10638 * sysdeps/unix/bsd/setuid.c: Likewise.
10639 * sysdeps/unix/bsd/sigaction.c: Likewise.
10640 * sysdeps/unix/bsd/sigprocmask.c: Likewise.
10641 * sysdeps/unix/bsd/sigsuspend.c: Likewise.
10642 * sysdeps/unix/bsd/sys/reboot.h: Likewise.
10643 * sysdeps/unix/bsd/telldir.c: Likewise.
10644 * sysdeps/unix/bsd/times.c: Likewise.
10645 * sysdeps/unix/bsd/usleep.c: Likewise.
10647 * misc/Makefile (install-lib): Remove libbsd-compat.a.
10648 ($(objpfx)libbsd-compat.a): Remove rule.
10650 * include/features.h (__FAVOR_BSD): Do not define.
10651 * manual/creature.texi (_BSD_SOURCE): Do not document as enabling
10652 features conflicting with POSIX.
10653 (_GNU_SOURCE): Do not mention interaction with _BSD_SOURCE.
10654 (_BSD_SOURCE): Remove description of not being a subset of other
10655 feature test macros.
10656 * manual/job.texi (getpgrp): Do not document BSD version.
10657 (getpgid): Do not document by reference to BSD getpgrp.
10658 * posix/unistd.h [__FAVOR_BSD]: Remove conditional code.
10659 * setjmp/setjmp.h [__FAVOR_BSD]: Likewise.
10660 * signal/signal.h [__FAVOR_BSD]: Likewise.
10661 * sysdeps/gnu/netinet/tcp.h (struct tcphdr): Use anonymous unions
10662 instead of making contents conditional on [__FAVOR_BSD].
10663 * sysdeps/gnu/netinet/udp.h (struct udphdr): Likewise.
10665 2013-12-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10667 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10669 2013-12-17 Joseph Myers <joseph@codesourcery.com>
10672 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Adjust up
10673 values below 2**-450, not 2**-500.
10674 * math/auto-libm-test-in: Don't allow spurious underflow from
10676 * math/auto-libm-test-out: Regenerated.
10680 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Update
10681 values of ha and hb and sort them after adjusting subnormal
10683 * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
10685 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Update
10686 values of ea and eb and sort them after adjusting subnormal
10688 * math/auto-libm-test-in: Do not expect some hypot tests of
10689 subnormals to fail. Add more hypot tests.
10690 * math/auto-libm-test-out: Regenerated.
10692 2013-12-16 Kaz Kojima <kkojima@rr.iij4u.or.jp>
10695 * sysdeps/sh/s_fma.c: New file.
10696 * sysdeps/sh/s_fmaf.c: New file.
10697 * sysdeps/sh/soft-fp/sfp-machine.h: New file. Based on arm
10699 * sysdeps/sh/Implies: Add sh/soft-fp.
10701 2013-12-16 Roland McGrath <roland@hack.frob.com>
10703 * elf/dl-error.c (struct catch): Add new member `errcode'. Add a
10704 level of indirection to members `objname', `errstring', `malloced'.
10705 (_dl_signal_error): Store through pointers in *LCATCH rather modifying
10706 *LCATCH itself. Set *LCATCH->errcode to ERRCODE rather than passing
10707 it as the __longjmp argument (just pass 1 instead).
10708 (_dl_catch_error): Initialize C with argument pointers and address of
10709 volatile local ERRCODE rather than copying values out of C at return.
10711 2013-12-16 Joseph Myers <joseph@codesourcery.com>
10713 * math/auto-libm-test-in: Add tests of atan2, hypot and pow.
10714 * math/auto-libm-test-out: Regenerated.
10715 * math/libm-test.inc (atan2_test_data): Use AUTO_TESTS_ff_f.
10716 (hypot_test_data): Likewise.
10717 (pow_test_data): Likewise.
10718 (pow_tonearest_test_data): Likewise.
10719 * math/gen-auto-libm-tests.c (func_calc_method): Add value
10721 (func_calc_desc): Add mpfr_ff_f union field.
10722 (FUNC_mpfr_ff_f): New macro.
10723 (test_functions): Add atan2, hypot and pow.
10724 (special_fill_min): New function.
10725 (special_fill_minus_min): Likewise.
10726 (special_fill_min_subnorm): Likewise.
10727 (special_fill_minus_min_subnorm): Likewise.
10728 (special_real_inputs): Add min, -min, min_subnorm and
10730 (calc_generic_results): Handle mpfr_ff_f.
10731 * sysdeps/i386/fpu/libm-test-ulps: Update.
10732 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10734 2013-12-16 Will Newton <will.newton@linaro.org>
10736 * manual/memory.texi (Malloc Examples): Mention aligned_alloc.
10737 (Aligned Memory Blocks): Add documentation for aligned_alloc
10738 and suggest it as an alternative to posix_memalign.
10739 (Hooks for Malloc): Document __memalign_hook is also called
10740 for aligned_alloc. (Summary of Malloc): Add summary for
10741 aligned alloc. Document __memalign_hook is also called
10744 2013-12-16 Will Newton <will.newton@linaro.org>
10746 * manual/memory.texi (Malloc Examples): Clarify default
10747 alignment documentation. Suggest posix_memalign rather
10748 than memalign or valloc.
10749 (Aligned Memory Blocks): Remove suggestion to use memalign
10750 or valloc. Remove obsolete comment about BSD.
10751 Document memalign errno values and mark the function obsolete.
10752 Document posix_memalign returned error codes. Mark valloc
10753 as obsolete. (Hooks for Malloc): __memalign_hook is also
10754 called for posix_memalign and valloc.
10755 (Summary of Malloc): Add posix_memalign to function summary.
10756 __memalign_hook is also called for posix_memalign and valloc.
10758 2013-12-16 Siddhesh Poyarekar <siddhesh@redhat.com>
10760 * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SINCOS): Rename to
10764 (sloww): Use mynumber union. Expand ternary operator into
10765 if-else statements.
10766 (cslow): use mynumber union.
10768 2013-12-16 Allan McRae <allan@archlinux.org>
10770 * configure.ac: Set AUTOCONF when maintainer-mode is not used.
10771 * configure: Regenerated.
10773 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update file name.
10776 * configure.ac: Added --enable-maintainer-mode. Check for
10777 autoconf when enabled.
10778 * configure: Regenerated.
10780 * nscd/nscd.service: New file.
10781 * nscd/nscd.tmpfiles: New file.
10783 2013-12-14 Ondřej Bílka <neleai@seznam.cz>
10786 * sysdeps/x86_64/multiarch/strstr-sse2-unaligned.S: New file
10787 * sysdeps/x86_64/multiarch/strstr-c.c: Moved to ...
10788 * sysdeps/x86_64/multiarch/strstr.c: ... here.
10789 (strstr): Add __strstr_sse2_unaligned ifunc.
10790 * sysdeps/x86_64/multiarch/strcasestr-c.c: Moved to ...
10791 * sysdeps/x86_64/multiarch/strcasestr.c ... here.
10792 (strcasestr): Remove __strcasestr_sse42 ifunc.
10793 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Remove.
10794 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
10795 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
10797 2013-12-14 Kaz Kojima <kkojima@rr.iij4u.or.jp>
10799 * sysdeps/sh/sh4/fpu/bits/fenv.h: Move to ...
10800 * sysdeps/sh/bits/fenv.h: ... here.
10801 * sysdeps/sh/sh4/fpu/bits: Remove directory.
10803 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10805 * NEWS: Mention ppc64 STT_GNU_IFUNC support.
10807 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add hypot and
10808 hypotf multiarch implementations.
10809 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-power7.c: New file.
10810 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-ppc64.c: New file.
10811 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c: New file:
10812 multiarch hypot for PPC64.
10813 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-power7.c: New file.
10814 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-ppc64.c: New file.
10815 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c : New file:
10816 multiarch hypotf for PPC64.
10818 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add modf and
10819 modff multiarch implementations.
10820 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: New file.
10821 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c: New file.
10822 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: New file:
10823 multiarch modf for PPC64.
10824 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-power5+.c: New file.
10825 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-ppc64.c: New file.
10826 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c : New file:
10827 multiarch modff for PPC64.
10829 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add logb, logbf,
10830 and logl multiarch implementations.
10831 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-power7.c: New file.
10832 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c: New file.
10833 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: New file:
10834 multiarch logb for PPC64.
10835 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-power7.c: New file.
10836 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-ppc64.c: New file.
10837 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: New file:
10838 multiarch logb for PPC64.
10839 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-power7.c: New file.
10840 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-ppc64.c: New file.
10841 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl.c: New file:
10842 multiarch logb for PPC64.
10844 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf and
10845 isinff multiarch implementation.
10846 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: New
10848 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.S: New file.
10849 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: New file:
10850 multiarch isinf for PPC64.
10851 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: New
10853 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: New file:
10854 multiarch isinff for PPC64.
10856 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite and
10857 finitef multiarch implementation.
10858 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: New
10860 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.S: New file.
10861 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: New file:
10862 multiarch finite for PPC64.
10863 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: New
10865 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: New file:
10866 multiarch finitef for PPC64.
10868 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint and
10869 lrint multiarch implementation.
10870 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: New
10872 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: New file.
10873 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: New file:
10874 multiarch llrint for PPC64.
10875 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: New file:
10876 multiarch lrint for PPC64.
10878 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add copysign/
10879 copysignf multiarch implementation.
10880 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: New
10882 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: New
10884 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: New file:
10885 multiarch copysign for PPC64.
10886 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: New file:
10887 multiarch copysignf for PPC64.
10889 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add trunc/truncf
10890 multiarch implementation.
10891 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: New
10893 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: New
10895 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: New
10897 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: New
10899 multiarch llround for PPC64.
10900 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: New file:
10901 multiarch trunc for PPC64.
10902 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: New file:
10903 multiarch truncf for PPC64.
10905 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add round/roundf
10906 multiarch implementation.
10907 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: New
10909 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: New
10911 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: New
10913 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: New
10915 multiarch llround for PPC64.
10916 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: New file:
10917 multiarch round for PPC64.
10918 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: New file:
10919 multiarch roundf for PPC64.
10921 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add floor/floorf
10922 multiarch implementation.
10923 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: New
10925 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: New
10927 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: New
10929 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: New
10931 multiarch llround for PPC64.
10932 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: New file:
10933 multiarch floor for PPC64.
10934 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: New file:
10935 multiarch floorf for PPC64.
10937 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add ceil/ceilf
10938 multiarch implementation.
10939 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: New
10941 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: New
10943 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: New
10945 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: New
10947 multiarch llround for PPC64.
10948 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: New file:
10949 multiarch ceil for PPC64.
10950 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: New file:
10951 multiarch ceilf for PPC64.
10953 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
10954 multiarch implementation.
10955 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: New
10957 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: New
10959 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: New
10961 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: New file:
10962 multiarch llround for PPC64.
10963 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: New file:
10964 multiarch lround for PPC64.
10966 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
10967 multiarch implementation.
10968 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: New file.
10969 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: New file.
10970 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: New
10972 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: New file.
10973 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: New file.
10974 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: New file:
10975 multiarch isnan for PPC64.
10976 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: New file:
10977 multiarch isnanf for PPC64.
10979 * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: New file.
10980 * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: New file.
10981 * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: New file.
10982 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: New file.
10983 * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: New file
10984 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/Implies: Remove.
10986 * sysdeps/powerpc/fpu/w_sqrt.c: Remove file
10987 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
10988 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
10989 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
10991 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add stpcpy
10992 multiarch implementations.
10993 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
10994 (__libc_ifunc_impl_list): Likewise.
10995 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
10996 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: New file.
10997 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c : New file:
10998 multiarch stpcpy for PPC64.
11000 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcpy
11001 multiarch implementations.
11002 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
11003 (__libc_ifunc_impl_list): Likewise.
11004 * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: New file.
11005 * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: New file.
11006 * sysdeps/powerpc/powerpc64/multiarch/strcpy.c : New file:
11007 multiarch strcpy for PPC64.
11009 * string/wordcopy.c (_wordcopy_fwd_aligned): Add define to
11010 redefine function name.
11011 (_wordcopy_fwd_dest_aligned): Likewise.
11012 (_wordcopy_bwd_aligned): Likewise.
11013 (_wordcopy_bwd_dest_aligned): Likewise.
11014 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wordcopy
11015 multiarch implementations.
11016 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
11017 (__libc_ifunc_impl_list): Likewise.
11018 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: New file.
11019 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: New file.
11020 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: New file.
11021 * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c : New file:
11022 multiarch wcscpy for PPC64.
11024 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcscpy
11025 multiarch implementations.
11026 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
11027 (__libc_ifunc_impl_list): Likewise.
11028 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: New file.
11029 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: New file.
11030 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: New file.
11031 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c : New file:
11032 multiarch wcscpy for PPC64.
11034 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcsrchr
11035 multiarch implementations.
11036 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
11037 (__libc_ifunc_impl_list): Likewise.
11038 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: New file.
11039 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: New file.
11040 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: New file.
11041 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c : New file:
11042 multiarch wcsrchr for PPC64.
11044 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcschr
11045 multiarch implementations.
11046 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
11047 (__libc_ifunc_impl_list): Likewise.
11048 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: New file.
11049 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: New file.
11050 * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: New file.
11051 * sysdeps/powerpc/powerpc64/multiarch/wcschr.c : New file:
11052 multiarch wcschr for PPC64.
11054 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchrnul
11055 multiarch implementations.
11056 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
11057 (__libc_ifunc_impl_list): Likewise.
11058 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: New file.
11059 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-ppc64.c: New file.
11060 * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: New file:
11061 multiarch strchrnul for PPC64.
11063 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchr multiarch
11065 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
11066 (__libc_ifunc_impl_list): Likewise.
11067 * sysdeps/powerpc/powerpc64/multiarch/rtld-strchr.S: New file.
11068 * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: New file.
11069 * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: New file.
11070 * sysdeps/powerpc/powerpc64/multiarch/strchr.c: New file: multiarch
11073 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncmp multiarch
11075 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
11076 (__libc_ifunc_impl_list): Likewise.
11077 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: New file.
11078 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: New file.
11079 * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: New file.
11080 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: New file: multiarch
11083 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncasecmp
11084 multiarch implementations.
11085 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
11086 (__libc_ifunc_impl_list): Likewise.
11087 * sysdeps/powerpc/powerpc64/multiarch/strncase-power7.c: New file.
11088 * sysdeps/powerpc/powerpc64/multiarch/strncase.c: New file: multiarch
11089 strncasecmp for PPC64.
11090 * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: New file.
11091 * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: New file:
11092 multiarch strncasecmp_l for PPC64.
11094 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcasecmp
11095 multiarch implementations.
11096 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
11097 (__libc_ifunc_impl_list): Likewise.
11098 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: New file.
11099 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: New file:
11100 multiarch strcasecmp for PPC64.
11101 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: New
11103 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: new file:
11104 multiarch strcasecmp_l for PPC64.
11106 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strnlen multiarch
11108 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
11109 (__libc_ifunc_impl_list): Likewise.
11110 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: New file.
11111 * sysdeps/powerpc/powerpc64/multiarch/strnlen-ppc64.c: New file.
11112 * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: New file: multiarch
11115 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strlen multiarch
11117 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
11118 (__libc_ifunc_impl_list): Likewise.
11119 * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: New file.
11120 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: New file.
11121 * sysdeps/powerpc/powerpc64/multiarch/strlen.c: New file: multiarch
11124 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add rawmemch multiarch
11126 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
11127 (__libc_ifunc_impl_list): Likewise.
11128 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: New file.
11129 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-ppc64.c: New file.
11130 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: New file: multiarch
11131 rawmemrchr for PPC64.
11133 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memrchr multiarch
11135 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
11136 (__libc_ifunc_impl_list): Likewise.
11137 * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: New file.
11138 * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: New file.
11139 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: New file: multiarch
11142 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memchr multiarch
11144 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
11145 (__libc_ifunc_impl_list): Likewise.
11146 * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: New file.
11147 * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: New file.
11148 * sysdeps/powerpc/powerpc64/multiarch/memchr.c: New file: multiarch
11151 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add mempcpy multiarch
11153 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
11154 (__libc_ifunc_impl_list): Likewise.
11155 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: New file.
11156 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-ppc64.c: New file.
11157 * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: New file: multiarch
11160 * sysdeps/powerpc/powerpc64/memset.S (NO_BZERO_IMPL): Add macro to
11161 avoid cretion of __bzero symbol.
11162 * sysdeps/powerpc/powerpc64/power4/memset.S (NO_BZERO_IMPL):
11164 * sysdeps/powerpc/powerpc64/power6/memset.S (NO_BZERO_IMPL):
11166 * sysdeps/powerpc/powerpc64/power7/memset.S (NO_BZERO_IMPL):
11168 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memset/bzero
11169 multiarch implementations.
11170 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
11171 (__libc_ifunc_impl_list): Likewise.
11172 * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: New file.
11173 * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: New file.
11174 * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: New file.
11175 * sysdeps/powerpc/powerpc64/multiarch/bzero.c: New file: multiarch
11177 * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: New file.
11178 * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: New file.
11179 * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: New file.
11180 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: New file.
11181 * sysdeps/powerpc/powerpc64/multiarch/memset.c: New file: multiarch
11183 * sysdeps/powerpc/powerpc64/multiarch/rtld-memset.c: New file.
11185 * string/memcmp.c (memcmp): Using macro to redefine symbol name.
11186 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memcpy multiarch
11188 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
11189 (__libc_ifunc_impl_list): Likewise.
11190 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: New file.
11191 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: New file.
11192 * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: New file.
11193 * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: New file: multiarch
11196 * sysdeps/powerpc/powerpc64/multiarch/Makefile: New file to support
11197 multiarch for POWER/PPC64.
11198 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
11199 * sysdeps/powerpc/powerpc64/multiarch/init-arch.h: Likewise.
11200 * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: New file.
11201 * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: New file.
11202 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: New file.
11203 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: New file.
11204 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: New file.
11205 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: New file.
11206 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: New file: multiarch
11209 * sysdeps/powerpc/powerpc64/power4/fpu/Implies: New file.
11210 * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: New File.
11211 * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: New File.
11212 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: New File.
11213 * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: New File.
11214 * sysdeps/powerpc/powerpc64/power5/Implies: New File.
11215 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: New File.
11216 * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: New File.
11217 * sysdeps/powerpc/powerpc64/power6/fpu/Implies: New File.
11218 * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: New File.
11219 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: New File.
11220 * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: New File.
11221 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: New File.
11222 * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: New File.
11223 * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: New File.
11224 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: Remove.
11225 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/Implies: Remove.
11226 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: Remove.
11227 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: Remove.
11228 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: Remove.
11229 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: Remove.
11230 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Remove.
11232 2013-12-12 Kaz Kojima <kkojima@rr.iij4u.or.jp>
11234 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Use $$ver.
11236 2013-12-12 Siddhesh Poyarekar <siddhesh@redhat.com>
11238 * benchtests/Makefile (bench): Add exp2 and log2.
11239 (LDLIBS-bench-exp2): Add -lm.
11240 (LDLIBS-bench-log2): Likewise.
11241 * benchtests/exp2-inputs: New inputs file.
11242 * benchtests/log2-inputs: New inputs file.
11243 * benchtests/log-inputs: Add new inputs.
11244 * benchtests/tan-inputs: Likewise.
11246 2013-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
11248 * sysdeps/ieee754/dbl-64/s_sin.c (t22): Consolidate const
11250 (slow1, slow2, sloww1, sloww2, bsloww1, bsloww2, cslow2, csloww1)
11251 (csloww2): ... from here.
11253 * sysdeps/ieee754/dbl-64/usncs.h: Define constants as double
11254 instead of structures.
11255 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): Adjust.
11256 (POLYNOMIAL): Likewise.
11257 (TAYLOR_SLOW): Likewise.
11263 (sloww1); Likewise.
11264 (sloww2): Likewise.
11265 (bsloww1): Likewise.
11266 (bsloww2): Likewise.
11267 (cslow2): Likewise.
11268 (csloww): Likewise.
11269 (csloww1): Likewise.
11270 (csloww2): Likewise.
11272 2013-12-10 Ondřej Bílka <neleai@seznam.cz>
11274 * malloc/malloc.c (MALLOC_COPY, MALLOC_ZERO): Delete.
11275 (__malloc_assert, __libc_realloc, __libc_calloc, _int_realloc):
11276 Expand MALLOC_COPY and MALLOC_ZERO to memcpy and memset.
11277 * malloc/hooks.c (realloc_check): Likewise.
11279 * malloc/Makefile (CPPFLAGS-malloc.c): Remove -DPER_THREAD flag.
11280 * malloc/arena.c: Remove PER_THREAD conditional.
11281 [!PER_THREAD]: Remove code.
11282 (ptmalloc_unlock_all2): Likewise.
11283 (ptmalloc_init): Likewise.
11284 (_int_new_arena): Likewise.
11285 (arena_get2): Likewise.
11286 * malloc/hooks.c (__malloc_get_state): Likewise.
11287 (__malloc_set_state): Likewise.
11288 * malloc/malloc.c: Likewise.
11289 (struct malloc_state): Likewise.
11290 (struct malloc_par): Likewise.
11291 (__libc_realloc): Likewise.
11292 (__libc_mallopt): Likewise.
11294 2013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11296 * Versions.def (libm): Add GLIBC_2.3 and GLIBC_2.19.
11298 2013-12-09 Ondřej Bílka <neleai@seznam.cz>
11300 * malloc/malloc.c (alloc_perturb, free_perturb): Convert from
11301 macro to a function. Check for zero perturb_byte.
11302 (_int_malloc, _int_free): Remove zero perturb_byte checks.
11304 * malloc/malloc.c: (force_reg): Remove.
11305 (__malloc_assert, __libc_malloc, __libc_free, __libc_realloc)
11306 (_mid_memalign, __libc_calloc, sysmalloc, systrim): Replace
11307 force_reg by atomic_forced_read.
11308 * malloc/arena.c (ptmalloc_init): Likewise.
11309 * malloc/hooks.c (top_check): Likewise.
11311 2013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11313 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11315 2013-12-09 Markus Trippelsdorf <markus@trippelsdorf.de>
11317 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
11319 2013-12-08 Joseph Myers <joseph@codesourcery.com>
11321 * math/auto-libm-test-in: Add tests of lgamma.
11322 * math/auto-libm-test-out: Regenerated.
11323 * math/libm-test.inc (M_LOG_SQRT_PIl): Remove macro.
11324 (M_LOG_2_SQRT_PIl): Likewise.
11325 (lgamma_test_data): Use AUTO_TESTS_f_f1.
11326 * math/gen-auto-libm-tests.c (func_calc_method): Add value
11328 (func_calc_desc): Add mpfr_f_f1 union field.
11329 (ARGS1): New macro.
11337 (FUNC_mpfr_f_f): Use new macros FUNC, ARGS1, RET1 and CALC.
11338 (test_functions): Add lgamma.
11339 (calc_generic_results): Handle mpfr_f_f1.
11340 * sysdeps/i386/fpu/libm-test-ulps: Update.
11341 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11343 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11345 * sysdeps/powerpc/powerpc64/power7/add_n.S: New file: optimized
11346 __mpn_add_n for PowerPC64/POWER7.
11347 * sysdeps/powerpc/powerpc64/power7/sub_n.S: New file: optimized
11348 __mpn_sub_n for PowerPC64/POWER7.
11350 * sysdeps/powerpc/powerpc64/addmul_1.S: New file: optimized
11351 __mpn_addmul_1 for PowerPC64.
11352 * sysdeps/powerpc/powerpc64/submul_1.S: New file: optimized
11353 __mpn_submul_1 for PowerPC64.
11354 * sysdeps/powerpc/powerpc64/lshift.S: New file: optimized __mpn_lshift
11356 * sysdeps/powerpc/powerpc64/mul_1.S: New file: optimized __mpn_mul_1
11359 2013-12-06 Fernando J. V. da Silva <fernandojvdasilva@gmail.com>
11362 * malloc/malloc.c: Exit systrim() if pad is bigger than heap top size.
11364 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11366 * NEWS: Mention ppc32/power4+ STT_GNU_IFUNC support.
11368 * sysdeps/powerpc/powerpc32/power5+/fpu/multiarch/Implies: New file:
11369 add multiarch folders.
11370 * sysdeps/powerpc/powerpc32/power5+/multiarch/Implies: Likewise.
11371 * sysdeps/powerpc/powerpc32/power5/fpu/multiarch/Implies: Likewise.
11372 * sysdeps/powerpc/powerpc32/power5/multiarch/Implies: Likewise.
11373 * sysdeps/powerpc/powerpc32/power6/fpu/multiarch/Implies: Likewise.
11374 * sysdeps/powerpc/powerpc32/power6/multiarch/Implies: Likewise.
11375 * sysdeps/powerpc/powerpc32/power6x/fpu/multiarch/Implies: Likewise.
11376 * sysdeps/powerpc/powerpc32/power6x/multiarch/Implies: Likewise.
11377 * sysdeps/powerpc/powerpc32/power7/fpu/multiarch/Implies: Likewise.
11378 * sysdeps/powerpc/powerpc32/power7/multiarch/Implies: Likewise.
11379 * sysdeps/powerpc/powerpc32/power8/fpu/multiarch/Implies: Likewise.
11380 * sysdeps/powerpc/powerpc32/power8/multiarch/Implies: Likewise.
11381 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/Implies: Remove.
11382 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: Remove.
11383 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: Remove.
11384 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: Remove.
11385 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: Remove.
11386 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Remove.
11388 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
11389 __ieee754_hypot and __ieee754_hypotf multiarch implementations.
11390 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-power7.c:
11392 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-ppc32.c:
11394 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c: New file:
11395 multiarch __ieee754_hypot for PowerPC32.
11396 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-power7.c:
11398 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-ppc32.c:
11400 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c: New file:
11401 multiarch __ieee754_hypotf for PowerPC32.
11403 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Define
11404 long_double_symbol only if __logbl is defined.
11405 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Moved to ...
11406 * sysdeps/powerpc/power7/fpu/s_logb.c: ... here.
11407 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: Move to ...
11408 * sysdeps/powerpc/power7/fpu/s_logbf.c: ... here.
11409 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: Move to ...
11410 * sysdeps/powerpc/power7/fpu/s_logbl.c: ... here.
11411 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Adjust to use new
11412 path for implementation.
11413 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
11414 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
11415 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add logbf,
11416 logb, and logbl multiarch implementations for PowerPC32.
11417 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c: New
11419 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c: New
11421 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: New file:
11422 multiarch logb for PowerPC32.
11423 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c: New
11425 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-ppc32.c: New
11427 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c: New file:
11428 multiarch logbf for PowerPC32.
11429 * sysdeps/powerpc/power4/fpu/multiarch/s_logbl-power7.c: New file.
11430 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-ppc32.c: New
11432 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl.c: New file:
11433 multiarch logbl implementation for PowerPC32.
11435 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add modf
11436 and modff multiarch implementations.
11437 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
11439 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c:
11441 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: New file:
11442 multiarch modf for PowerPC32.
11443 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
11445 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-ppc32.c:
11447 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c: New file:
11448 multiarch modff for PowerPC32.
11450 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lrint
11451 and lrintf multiarch implementations.
11452 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-power6x.S:
11454 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
11456 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c: New file:
11457 multiarch lrint for PowerPC32.
11458 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c: New
11459 file: multiarch lrintf for PowerPC32.
11461 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lround
11462 and lroundf multiarch implementations.
11463 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
11465 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power6.S:
11467 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
11469 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c: New file:
11470 multiarch lround for PowerPC32.
11471 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c: New
11472 file: multiarch lroundf for PowerPC32.
11474 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
11475 copysign and copysignf multiarch implementations.
11476 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
11478 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
11480 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c: New
11481 file: multiarch copysign for PowerPC32.
11482 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c: New
11483 file: multiarch copysignf for PowerPC32.
11485 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add trunc
11486 and truncf multiarch implementations.
11487 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-power5+.S:
11489 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-ppc32.S: New
11491 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: New file:
11492 multiarch trunc for PowerPC32.
11493 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-power5+.S:
11495 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-ppc32.S:
11497 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: New file:
11498 multiarch truncf for PowerPC32.
11500 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add round
11501 and roundf multiarch implementations.
11502 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-power5+.S:
11504 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-ppc32.S: New
11506 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: New file:
11507 multiarch round for PowerPC32.
11508 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-power5+.S:
11510 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-ppc32.S:
11512 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: New file:
11513 multiarch roundf for PowerPC32.
11515 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add floor
11516 and floorf multiarch implementations.
11517 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
11519 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S: New
11521 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: New file:
11522 multiarch floor for PowerPC32.
11523 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
11525 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
11527 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: New file:
11528 multiarch floorf for PowerPC32.
11530 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add ceil
11531 and ceilf multiarch implementations.
11532 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
11534 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S: New
11536 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: New file:
11537 multiarch ceil for PowerPC32.
11538 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
11540 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S: New
11542 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: New file:
11543 multiarch ceilf for PowerPC32.
11545 * sysdeps/ieee754/dbl-64/s_finite.c (__finite): Redefine it if FINITE
11547 * sysdeps/ieee754/flt-32/s_finitef.c (__finitef): Redefine it if
11548 FINITEF is defined.
11549 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add finite
11550 and finitef multiarch implementations.
11551 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
11553 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c: New
11555 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: New file:
11556 multiarch finite for PowerPC32.
11557 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
11559 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: New
11560 file: multiarch finitef for PowerPC32.
11562 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isinf
11563 and isinff multiarch implementations.
11564 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S: New
11566 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c: New
11568 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: New file:
11569 multiarch isinf for PowerPC32.
11570 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
11572 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: New file:
11573 multiarch isinff for PowerPC32.
11575 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S (__isnan): Only implement
11576 alias when __isnan is defined.
11577 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isnan
11578 and isnanf multiarch implementations.
11579 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S: New
11581 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S: New
11583 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S: New
11585 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S: New
11587 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: New file:
11588 multiarch isnan for PowerPC32.
11589 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
11591 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power7.S:
11593 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: New file:
11594 multiarch isnanf for PowerPC32.
11596 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add sqrt
11597 and sqrtf multiarch implementations.
11598 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S: New
11600 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S: New
11602 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: New file:
11603 multiarch sqrt for PowerPC32.
11604 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S: New
11606 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S: New
11608 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: New file:
11609 multiarch sqrtf for PowerPC32.
11611 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add llround
11612 and llroundf multiarch implementations.
11613 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
11615 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
11617 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
11619 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c: New
11620 file: multiarch llround for PowerPC32.
11621 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c: New
11622 file: multiarch llroundf for PowerPC32.
11624 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: New file:
11625 multiarch PowerPC32 fpu implementations.
11626 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
11628 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
11630 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c: New file:
11631 multiarch llrint for PowerPC32.
11632 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
11634 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
11636 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c: New
11639 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/Implies: Remove.
11641 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: New
11643 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power7.c: New
11645 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c: New
11647 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: New file:
11648 multiarch wordcopy for PPC32.
11649 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
11651 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
11652 (__libc_ifunc_impl_list): Likewise.
11653 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Move ...
11654 * sysdeps/powerpc/power4/wordcopy.c: ... to here.
11655 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Move ...
11656 * sysdeps/powerpc/power6/wordcopy.c: ... to here.
11657 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Remove uneeded file.
11658 * sysdeps/powerpc/powerpc64/power4/wordcopy.c: Likewise.
11660 * wcsmbs/wcscpy.c (wcscpy): Using macro to redefine symbol name
11661 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c: New
11663 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c: New
11665 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: New
11667 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: New file:
11668 multiarch wcscpy for PPC32.
11669 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
11671 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
11672 (__libc_ifunc_impl_list): Likewise.
11673 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
11674 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
11675 * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Adjust to use
11676 sysdeps/powerpc/power6/wcscpy.c.
11678 * wcsmbs/wcsrchr.c (wcsrchr): Using macro to redefine symbol name
11679 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c: New
11681 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c: New
11683 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: New
11685 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: New file:
11686 multiarch wcsrchr for PPC32.
11687 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
11689 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
11690 (__libc_ifunc_impl_list): Likewise.
11691 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
11692 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
11693 * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Adjust to use
11694 sysdeps/powerpc/power6/wcsrchr.c.
11696 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c: New
11698 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c: New
11700 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: New file.
11701 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: New file:
11702 multiarch wcschr for PPc32.
11703 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
11705 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
11706 (__libc_ifunc_impl_list): Likewise.
11707 * sysdeps/powerpc/powerpc32/power6/wcschr.c: Move ...
11708 * sysdeps/powerpc/power6/wcschr.c: ... to here.
11709 * sysdeps/powerpc/powerpc64/power6/wcschr.c: Adjust to use
11710 sysdeps/powerpc/power6/wcschr.c.
11712 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strchr.S: New file.
11713 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-power7.S: New
11715 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-ppc32.S: New file.
11716 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/strchr.c: New
11717 file: multiarch strchr for PPC32.
11718 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchr
11720 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
11721 (__libc_ifunc_impl_list): Likewise.
11723 * string/strchrnul.c (__strchrnul): Using macro to redefine symbol
11725 * sysdeps/powerpc/powerpc32/power4//multiarch/strchrnul-power7.S: New
11727 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul-ppc32.c: New
11729 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: New file:
11730 multiarch strchrnul for PPC32.
11731 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchrnul
11733 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
11734 (__libc_ifunc_impl_list): Likewise.
11736 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase-power7.c: New
11738 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: New file:
11739 multiarch strncasecmp for PPC32.
11740 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l-power7.c: New
11742 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: New file:
11743 multiarch strncasecmp_l for PPC32.
11744 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added
11745 strncasecmp multiarch objects.
11746 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
11747 (__libc_ifunc_impl_list): Likewise.
11749 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S: New
11751 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: New file:
11752 multiarch strncasecmp for PPC32.
11753 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
11755 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: New file:
11756 multiarch strcasecmp_l for PPC32.
11757 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strcasecmp
11759 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
11760 (__libc_ifunc_impl_list): Likewise.
11762 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-power7.S: New
11764 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: New
11766 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: New file:
11767 multiarch strncmp for PPC32.
11768 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strncmp
11770 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
11771 (__libc_ifunc_impl_list): Likewise.
11773 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strnlen.c: New file.
11774 * sysdeps/powerpc/powerpc32//power4/multiarch/strnlen-power7.S: New
11776 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c: New file.
11777 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: New file.
11778 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strnlen
11780 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
11781 (__libc_ifunc_impl_list): Likewise.
11783 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-power7.S: New
11785 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: New
11787 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: New file.
11788 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strlen
11790 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
11791 (__libc_ifunc_impl_list): Likewise.
11793 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-power7.S: New
11795 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-ppc32.c: New
11797 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: New file:
11798 multiarch rawmemchr for PPC32.
11799 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added rawmemchr
11801 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
11802 (__libc_ifunc_impl_list): Likewise.
11804 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-power7.S: New
11806 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: New
11808 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: New
11809 file: memrchr multiarch for PPC32.
11810 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added memrchr
11812 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
11813 (__libc_ifunc_impl_list): Likewise.
11815 * string/memchr.c (__memchr): Using macro to redefine symbol name.
11816 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-power7.S: New
11818 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c: New File.
11819 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: New file:
11820 multiarch memchr for PPC32.
11821 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memchr
11823 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
11824 (__libc_ifunc_impl_list): Likewise.
11826 * string/mempcpy.c (__mempcpy): Using macro to redefine symbol name.
11827 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-power7.S: New
11829 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-ppc32.c: New
11831 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: New
11832 file: multiarch mempcpy for PPC32.
11833 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add mempcpy
11835 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
11836 (__libc_ifunc_impl_list): Likewise.
11838 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power6.S: New file.
11839 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power7.S: New file.
11840 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S: New file.
11841 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: New file:
11842 multiarch bzero for PPC32.
11843 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power6.S: New
11845 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power7.S: New
11847 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: New file.
11848 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/memset.c: New
11849 file: multiarch memset for PPC32.
11850 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memset.S: New file.
11851 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add bzero and
11852 memset multiarch objects.
11853 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
11854 (__libc_ifunc_impl_list): Likewise.
11856 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-power7.S: New
11858 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: New file.
11859 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: multiarch
11861 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memcmp.S: New file.
11862 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcmp
11864 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
11865 (__libc_ifunc_impl_list): Likewise.
11867 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-a2.S: New file.
11868 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-cell.S: New file.
11869 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power6.S: New
11871 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power7.S: New
11873 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: New
11875 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: New file:
11876 multiarch memcpy for PPC32.
11877 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcpy
11879 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
11880 (__libc_ifunc_impl_list): Likewise.
11882 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: New file to
11883 support multiarch for POWER/PPC32.
11884 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
11886 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
11887 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: Remove
11888 Implies file to make multiarch folder appers before the fpu and
11889 default folder for power4 configuration.
11891 2013-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
11893 * scripts/bench.pl: Append volatile keyword to type.
11895 2013-12-05 Kaz Kojima <kkojima@rr.iij4u.or.jp>
11897 * sysdeps/sh/sotruss-lib.c: New file.
11898 * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: New file.
11900 2013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11902 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11904 2013-12-05 Joseph Myers <joseph@codesourcery.com>
11907 * math/w_tgamma.c: Include <errno.h>.
11908 (__tgamma): Use __glibc_unlikely. Set errno on underflow to 0.
11909 * math/w_tgammaf.c: Include <errno.h>.
11910 (__tgammaf): Use __glibc_unlikely. Set errno on underflow to 0.
11911 * math/w_tgammal.c: Include <errno.h>.
11912 (__tgammal): Use __glibc_unlikely. Set errno on underflow to 0.
11913 * math/auto-libm-test-in: Do not allow missing errno on tgamma
11914 underflow. Add more tgamma tests.
11915 * math/auto-libm-test-out: Regenerated.
11916 * sysdeps/i386/fpu/libm-test-ulps: Update.
11917 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11919 * math/auto-libm-test-in: Add tests of log, log10, log1p, log2,
11920 sin, sinh, tan, tanh, tgamma, y0 and y1.
11921 * math/auto-libm-test-out: Regenerated.
11922 * math/libm-test.inc (TEST_COND_x86_64): New macro.
11923 (TEST_COND_x86): Likewise.
11924 (M_E2l): Remove macro.
11926 (M_2_SQRT_PIl): Likewise.
11927 (M_SQRT_PIl): Likewise.
11928 (M_1_DIV_El): Likewise.
11929 (log_test_data): Use AUTO_TESTS_f_f.
11930 (log10_test_data): Likewise.
11931 (log1p_test_data): Likewise.
11932 (log2_test_data): Likewise.
11933 (sin_test_data): Likewise.
11934 (sin_tonearest_test_data): Likewise.
11935 (sin_towardzero_test_data): Likewise.
11936 (sin_downward_test_data): Likewise.
11937 (sin_upward_test_data): Likewise.
11938 (sinh_test_data): Likewise.
11939 (sinh_tonearest_test_data): Likewise.
11940 (sinh_towardzero_test_data): Likewise.
11941 (sinh_downward_test_data): Likewise.
11942 (sinh_upward_test_data): Likewise.
11943 (tan_test_data): Likewise.
11944 (tan_tonearest_test_data): Likewise.
11945 (tan_towardzero_test_data): Likewise.
11946 (tan_downward_test_data): Likewise.
11947 (tan_upward_test_data): Likewise.
11948 (tanh_test_data): Likewise.
11949 (tgamma_test_data): Likewise.
11950 (y0_test_data): Likewise.
11951 (y1_test_data): Likewise.
11952 * math/gen-auto-libm-tests.c (special_fill_pi_4): New function.
11953 (special_real_inputs): Add pi/4.
11954 * sysdeps/i386/fpu/libm-test-ulps: Update.
11955 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11957 2013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11959 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Add "longjmp" and
11960 "longjmp_target" static probes.
11961 (__longjmp): Rename to __longjmp_symbol.
11962 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
11963 * sysdeps/powerpc/powerpc32/__longjmp.S: Define __longjmp_symbol based
11964 on which longjmp to generate.
11965 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
11966 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Add "setjmp" static
11968 (__sigsetjmp): Rename to __sigsetjmp_symbol.
11969 (__sigjmp_save): Rename to __sigjmp_save_symbol.
11970 * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
11971 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Define __sigsetjmp_symbol
11972 and __sigjmp_save_symbol based on which sigsetjmp to generated.
11973 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise
11974 * sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Define
11975 __longjmp_symbol based on which __longjmp to generate.
11976 * sysdeps/powerpc/powerpc64/setjmp-common.S: Add "setjmp" static
11978 (setjmp): Rename to setjmp_symbol.
11979 (__sigsetjmp): Rename to __sigsetjmp_symbol.
11980 (_setjmp): Rename to _setjmp_symbol.
11981 (__sigsetjmp): Rename to __sigsetjmp_symbol.
11982 * sysdeps/powerpc/powerpc64/setjmp.S: Define setjmp_symbol,
11983 _setjmp_symbol, __sigsetjmp_symbol, and __sigjmp_save_symbol based on
11984 which setjmp to generate.
11985 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Add "longjmp" and
11986 "longjmp_target" static probes.
11988 2013-12-05 Siddhesh Poyarekar <siddhesh@redhat.com>
11990 * benchtests/README: Add note about output arguments.
11991 * benchtests/bench-sincos.c: Remove file.
11992 * benchtests/sincos-inputs: New file.
11993 * scripts/bench.pl: Identify output arguments and define
11994 static variables for them.
11996 * debug/stpncpy_chk.c (__stpncpy_chk): Remove unused variables.
11999 * Makefile (INSTALL): Add install-plain.texi as the primary
12001 * manual/install-plain.texi: New file.
12002 * manual/install.texi: Include node directive only for
12003 non-plaintext output.
12005 2013-12-04 Joseph Myers <joseph@codesourcery.com>
12007 * stdlib/longlong.h: Update from GCC.
12011 * math/w_j0.c (y0): Raise FE_DIVBYZERO on zero argument.
12012 * math/w_j0f.c (y0f): Likewise.
12013 * math/w_j0l.c (__y0l): Likewise.
12014 * math/w_j1.c (y1): Likewise.
12015 * math/w_j1f.c (y1f): Likewise.
12016 * math/w_j1l.c (__y1l): Likewise
12017 * math/w_jn.c (yn): Likewise.
12018 * math/w_jnf.c (ynf): Likewise.
12019 * sysdeps/ieee754/k_standard.c (__kernel_standard): Use ERANGE for
12020 Bessel function pole errors in _POSIX_ mode. Use NAN as return
12021 value for Bessel function domain errors outside _SVID_ mode.
12022 Adjust sign of return value for yn (negative integer, 0).
12023 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Use division
12024 by zero in return for negative x and set sign appropriately for
12026 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Likewise.
12027 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
12028 * math/libm-test.inc (y0_test_data): Add more tests and adjust
12029 expectations in error cases.
12030 (y1_test_data): Likewise.
12031 (yn_test_data): Likewise.
12032 * sysdeps/i386/fpu/libm-test-ulps: Update.
12033 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12035 2013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
12037 * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-variants): Rename
12038 "64" to "64-v1". Add "64-v2".
12039 (abi-64-options): Rename to ...
12040 (abi-64-v1-options): ... this. Redefine _CALL_ELF.
12041 (abi-64-condition): Rename to ...
12042 (abi-64-v1-condition): ... this. Add _CALL_ELF check.,
12043 (abi-64-ld-soname): Rename to ...
12044 (abi-64-v1-ld-soname): ... this.
12045 (abi-64-v2-options): Define.
12046 (abi-64-v2-condition): Likewise.
12047 (abi-64-v2-ld-soname): Likewise.
12048 * sysdeps/unix/sysv/linux/powerpc/ldconfig.h
12049 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add "/lib64/ld64.so.2".
12050 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: Delete file.
12051 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: New file.
12052 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Generate.
12054 2013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
12055 Alan Modra <amodra@gmail.com>
12057 * sysdeps/powerpc/bits/link.h (La_ppc64v2_regs, La_ppc64v2_retval):
12058 New versions for use with the ELFv2 ABI.
12059 (la_ppc64v2_gnu_pltenter, la_ppc64v2_gnu_pltexit): Add prototypes.
12060 * sysdeps/powerpc/lsdodefs.h (struct La_ppc64v2_regs): Add forward
12062 (struct La_ppc64v2_retval): Likewise.
12063 (ARCH_PLTENTER_MEMBERS): Add ppc64v2_gnu_pltenter.
12064 (ARCH_PLTEXIT_MEMBERS): Add ppc64v2_gnu_pltexit.
12065 * sysdeps/powerpc/powerpc64/dl-machine.h (ARCH_LA_PLTENTER): Define
12066 to ppc64v2_gnu_pltenter if _CALL_ELF == 2.
12067 (ARCH_LA_PLTEXIT): Define to ppc64v2_gnu_pltexit if _CALL_ELF == 2.
12068 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
12069 Do not save or restore CR.
12070 (FRAME_SIZE, VR_RTN): Provide updated values for _CALL_ELF == 2.
12071 (_dl_profile_resolve): Do no save or restore CR. Support extended
12072 return values for ELFv2 ABI. Fix location of FPR return registers.
12073 * sysdeps/powerpc/powerpc64/tst-audit.h (pltenter, pltexit): Provide
12074 updated values for _CALL_ELF == 2.
12075 (La_regs, La_retval, int_retval): Likewise.
12077 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
12079 * sysdeps/powerpc/powerpc64/sysdep.h (FRAME_MIN_SIZE): Define.
12080 (FRAME_MIN_SIZE_PARM): Likewise.
12081 (FRAME_BACKCHAIN): Likewise.
12082 (FRAME_CR_SAVE): Likewise.
12083 (FRAME_LR_SAVE): Likewise.
12084 (FRAME_TOC_SAVE): Likewise.
12085 (FRAME_PARM_SAVE): Likewise.
12086 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
12087 FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
12088 FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
12089 (call_mcount_parm_offset): New macro.
12090 (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Use it.
12091 (PROF): Use symbolic stack frame offsets.
12092 (TAIL_CALL_SYSCALL_ERROR): Likewise.
12093 * sysdeps/powerpc/powerpc64/dl-trampoline.S (FRAME_SIZE, INT_PARMS):
12094 Redefine in terms of FRAME_MIN_SIZE.
12095 (_dl_runtime_resolve): Use symbolic stack frame offsets.
12096 (_dl_profile_resolve): Likewise. Update comment.
12097 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Use
12098 symbols stack frame offsets.
12099 (__sigsetjmp): Likewise.
12100 * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
12101 * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Likewise.
12102 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Likewise.
12103 * sysdeps/powerpc/powerpc64/crtn.S (_init, _fini): Likewise.
12105 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym
12106 (FRAME_BACKCHAIN): Remove.
12107 (FRAME_CR_SAVE): Likewise.
12108 (FRAME_LR_SAVE): Likewise.
12109 (FRAME_COMPILER_DW): Likewise.
12110 (FRAME_LINKER_DW): Likewise.
12111 (FRAME_TOC_SAVE): Likewise.
12112 (FRAME_PARM_SAVE): Likewise.
12113 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE)
12114 (FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE)
12115 (FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
12116 * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S
12117 (CHECK_SP): Use symbolic stack frame offsets.
12118 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Use "red
12119 zone" instead of caller's parameter save area for temp storage.
12120 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
12121 Likewise. Also, use symbolic stack frame offsets.
12122 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (FRAMESIZE,
12123 stackblock): Redefine for _CALL_ELF == 2 to save parameters into
12124 our own stack frame instead of the caller's.
12125 (__socket): Use symbolic stack frame offsets.
12127 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
12128 Alan Modra <amodra@gmail.com>
12130 * elf/elf.h (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC):
12132 (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK)
12133 (PPC64_LOCAL_ENTRY_OFFSET): Define.
12134 * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
12136 (elf_machine_fixup_plt): Call it.
12137 (elf_machine_plt_conflict): Likewise. Add map, sym_map, and
12139 (elf_machine_rela): Update call to elf_machine_plt_conflict.
12140 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
12141 (_dl_profile_resolve) [_CALL_ELF == 2]: Restore caller's TOC into
12142 r2 before calling target.
12144 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
12145 Alan Modra <amodra@gmail.com>
12147 * sysdeps/powerpc/powerpc64/sysdep.h [_CALL_ELF == 2]
12148 (PPC64_LOAD_FUNCPTR, DOT_LABEL, BODY_LABEL, ENTRY_2, END_2): New
12149 versions of macros to support ELFv2 ABI.
12150 (LOCALENTRY): New macro.
12151 (ENTRY, EALIGN): Use it.
12152 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use LOCALENTRY.
12153 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Do not
12154 fall through into ENTRY entry point.
12155 * libc/sysdeps/powerpc/powerpc64/dl-machine.h (Elf64_FuncDesc):
12156 Only define if _CALL_ELF != 2.
12158 (elf_machine_matches_host): Verify ABI version matches.
12159 (RTLD_START): Use LOCALENTRY.
12160 (elf_machine_type_class): Use SHN_UNDEF PLT handling for ELFv2 ABI.
12161 (PLT_INITIAL_ENTRY_WORDS): New version for _CALL_ELF != 2.
12162 (PLT_ENTRY_WORDS): New macro.
12163 (GLINK_INITIAL_ENTRY_WORDS, GLINK_ENTRY_WORDS): Likewise.
12164 (elf_machine_runtime_setup): Support ELFv2 ABI.
12165 (elf_machine_fixup_plt): Likewise.
12166 (elf_machine_plt_conflict): Likewise.
12167 (resolve_ifunc): Likewise.
12168 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
12169 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
12171 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h
12172 (DL_ADDR_SYM_MATCH): Only define if _CALL_ELF != 2.
12173 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
12174 (makecontext): Support ELFv2 ABI.
12175 * elf/elf.h (EF_PPC64_ABI): Define.
12177 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
12179 * sysdeps/powerpc/powerpc64/sysdep.h
12180 (PPC64_LOAD_FUNCPTR) [ASSEMBLER]: New assembler macro.
12181 (ENTRY_1) [ASSEMBLER]: Do not switch to .text section here ...
12182 (ENTRY) [ASSEMBLER]: ... but instead here ...
12183 (EALIGN) [ASSEMBLER]: ... and here.
12184 (PPC64_LOAD_FUNCPTR) [!ASSEMBLER]: New macro.
12185 (ENTRY_1) [!ASSEMBLER]: New macro; set up .opd entry.
12186 (ENTRY_2) [!ASSEMBLER]: Use it.
12187 * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Update for
12188 ENTRY_2 changes. Use PPC64_LOAD_FUNCPTR.
12189 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
12190 (_dl_profile_resolve): Use PPC64_LOAD_FUNCPTR.
12191 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use ENTRY_2.
12192 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (clone):
12193 Use PPC64_LOAD_FUNCPTR.
12195 * sysdeps/powerpc/tls.h (tcbhead_t): Add __private_ss field.
12197 2013-12-04 Alan Modra <amodra@gmail.com>
12199 * elf/elf.h (R_PPC64_TLSGD, R_PPC64_TLSLD, R_PPC64_TOCSAVE): Define.
12200 (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA): Likewise.
12201 (R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA): Likewise.
12202 (R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Likewise.
12204 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Add
12205 overflow checking for R_PPC64_ADDR16_HI, R_PPC64_ADDR16_HA,
12206 R_PPC64_TPREL16_HI, and R_PPC64_TPREL16_HA.
12207 Support new R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
12208 R_PPC64_TPREL16_HIGH, and R_PPC64_TPREL16_HIGHA relocations.
12209 Fix overflow checking for R_PPC64_ADDR30 and R_PPC64_ADDR32.
12211 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
12213 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
12214 (__makecontext): Fix incorrect CFI when backtracing out of
12215 context created via makecontext.
12216 * sysdeps/unix/sysv/linux/powerpc/powerpc64/secontext.S
12217 (__setcontext): Fix incorrect CFI during switch to new context.
12218 (__novec_setcontext): Likewise.
12220 2013-12-04 Ondřej Bílka <neleai@seznam.cz>
12223 * time/strptime_l.c (__strptime_internal): Allow modifiers
12225 * time/tst-strptime.c (day_tests): Add testcase.
12227 2013-12-04 Siddhesh Poyarekar <siddhesh@redhat.com>
12229 * scripts/bench.pl: Skip over blank lines.
12231 2013-12-04 Paul Eggert <eggert@cs.ucla.edu>
12234 * manual/time.texi (Calendar Time): Clarify what timezone functions
12237 2013-12-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12239 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12241 2013-12-04 Ondřej Bílka <neleai@seznam.cz>
12243 * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom
12245 * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
12246 * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
12247 * debug/memset_chk.c (__memset_chk): Likewise.
12248 * debug/stpncpy_chk.c (__stpncpy_chk): Likewise.
12249 * debug/strncpy_chk.c: Likewise.
12251 2013-12-03 Joseph Myers <joseph@codesourcery.com>
12255 * sysdeps/ieee754/dbl-64/e_exp.c: Include <float.h>.
12256 (__ieee754_exp): For possibly underflowing results, check size of
12257 result and force underflow exception if required.
12258 * math/auto-libm-test-in: Add more tests of exp.
12259 * math/auto-libm-test-out: Regenerated.
12260 * sysdeps/i386/fpu/libm-test-ulps: Update.
12261 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12264 * math/w_exp2.c (__exp2): Handle a zero result as underflow.
12265 * math/w_exp2f.c (__exp2f): Likewise.
12266 * math/w_exp2l.c (__exp2l): Likewise.
12267 * math/auto-libm-test-in: Do not allow missing errno on exp2
12269 * math/auto-libm-test-out: Regenerated.
12271 2013-12-03 Ondřej Bílka <neleai@seznam.cz>
12274 * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly
12275 handle filename validation.
12276 * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails.
12279 2013-12-03 Joseph Myers <joseph@codesourcery.com>
12282 * sysdeps/ieee754/dbl-64/s_erf.c: Include <errno.h> and <float.h>.
12283 (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny.
12284 * sysdeps/ieee754/flt-32/s_erff.c: Include <errno.h> and
12286 (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny.
12287 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <errno.h>.
12288 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
12289 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <errno.h>.
12290 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
12291 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <errno.h>.
12292 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
12293 * math/auto-libm-test-in: Don't allow missing errno from erfc.
12294 Add more erfc tests.
12295 * math/auto-libm-test-out: Regenerated.
12296 * sysdeps/i386/fpu/libm-test-ulps: Update.
12297 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12299 * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10,
12300 exp2, expm1, j0 and j1.
12301 * math/auto-libm-test-out: Regenerated.
12302 * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f.
12303 (erfc_test_data): Likewise.
12304 (exp_test_data): Likewise.
12305 (exp_tonearest_test_data): Likewise.
12306 (exp_towardzero_test_data): Likewise.
12307 (exp_downward_test_data): Likewise.
12308 (exp_upward_test_data): Likewise.
12309 (exp10_test_data): Likewise.
12310 (exp2_test_data): Likewise.
12311 (expm1_test_data): Likewise.
12312 (j0_test_data): Likewise.
12313 (j1_test_data): Likewise.
12314 * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment.
12315 (input_flag_type): Add flag_xfail_rounding.
12316 (input_flags): Add xfail-rounding.
12317 (adjust_real): Assert mpfr_number_p not mpfr_regular_p.
12318 (output_for_one_input_case): Handle flag_xfail_rounding.
12319 * sysdeps/i386/fpu/libm-test-ulps: Update.
12320 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12322 2013-12-03 Aurelien Jarno <aurelien@aurel32.net>
12325 * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
12328 2013-12-03 Siddhesh Poyarekar <siddhesh@redhat.com>
12331 * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
12332 (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
12333 (STAP_PROBE0): New macro.
12334 (STAP_PROBE1): Likewise.
12335 (STAP_PROBE2): Likewise.
12336 (STAP_PROBE3): Likewise.
12337 (STAP_PROBE4): Likewise.
12339 2013-12-02 Ondřej Bílka <neleai@seznam.cz>
12341 * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
12343 2013-12-02 Steve Ellcey <sellcey@mips.com>
12345 * benchtests/Makefile (bench): Add sqrt.
12346 (LDLIBS-bench-sqrt): New.
12347 * benchtests/sqrt-input: New.
12349 2013-12-02 Pavel Simerda <psimerda@redhat.com>
12351 * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
12352 (GAIH_EAI): Likewise.
12353 (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
12354 (gaih_inet): Likewise.
12355 (getaddrinfo): Don't use GAIH_EAI.
12357 * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
12358 (struct gaih): Remove definition.
12360 2013-12-02 Siddhesh Poyarekar <siddhesh@redhat.com>
12362 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
12363 Use HERRNOP directly.
12365 2013-12-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12367 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12369 2013-11-30 Joseph Myers <joseph@codesourcery.com>
12371 * math/gen-auto-libm-tests.c (test_functions): Add more
12372 single-argument functions.
12373 (special_fill_pi_2): New function.
12374 (special_fill_minus_pi_2): Likewise.
12375 (special_fill_pi_6): Likewise.
12376 (special_fill_minus_pi_6): Likewise.
12377 (special_fill_pi_3): Likewise.
12378 (special_fill_2pi_3): Likewise.
12379 (special_fill_e): Likewise.
12380 (special_fill_1_e): Likewise.
12381 (special_fill_e_minus_1): Likewise.
12382 (special_real_inputs): Add more special inputs.
12383 (output_for_one_input_case): Do not require ERANGE on underflow to
12384 zero if round-to-nearest result does not underflow to zero, unless
12385 exact results required.
12386 * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
12387 atan, atanh, cbrt, cos and cosh.
12388 * math/auto-libm-test-out: Regenerated.
12389 * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
12390 (acos_tonearest_test_data): Likewise.
12391 (acos_towardzero_test_data): Likewise.
12392 (acos_downward_test_data): Likewise.
12393 (acos_upward_test_data): Likewise.
12394 (acosh_test_data): Likewise.
12395 (asin_test_data): Likewise.
12396 (asin_tonearest_test_data): Likewise.
12397 (asin_towardzero_test_data): Likewise.
12398 (asin_upward_test_data): Likewise.
12399 (asinh_test_data): Likewise.
12400 (atan_test_data): Likewise.
12401 (atanh_test_data): Likewise.
12402 (cbrt_test_data): Likewise.
12403 (cos_test_data): Likewise.
12404 (cos_tonearest_test_data): Likewise.
12405 (cos_towardzero_test_data): Likewise.
12406 (cos_downward_test_data): Likewise.
12407 (cos_upward_test_data): Likewise.
12408 (cosh_test_data): Likewise.
12409 (cosh_tonearest_test_data): Likewise.
12410 (cosh_towardzero_test_data): Likewise.
12411 (cosh_downward_test_data): Likewise.
12412 (cosh_upward_test_data): Likewise.
12413 * sysdeps/i386/fpu/libm-test-ulps: Update.
12414 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12416 2013-11-29 Joseph Myers <joseph@codesourcery.com>
12419 * math/w_exp10.c (__exp10): Handle a zero result as underflow.
12420 * math/w_exp10f.c (__exp10f): Likewise.
12421 * math/w_exp10l.c (__exp10l): Likewise.
12422 * math/libm-test.inc (exp10_test_data): Add more tests and expect
12423 errno settings in existing tests.
12426 * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
12427 precision control set to double precision.
12428 * sysdeps/i386/fpu/w_sqrt.c: New file.
12429 * math/auto-libm-test-in: Add more tests.
12430 * math/auto-libm-test-out: Update.
12432 * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
12433 (sqrt_test_tonearest): New function.
12434 (sqrt_towardzero_test_data): New variable.
12435 (sqrt_test_towardzero): New function.
12436 (sqrt_downward_test_data): New variable.
12437 (sqrt_test_downward): New function.
12438 (sqrt_upward_test_data): New variable.
12439 (sqrt_test_upward): New function.
12440 (main): Call the new functions.
12442 * math/gen-auto-libm-tests.c: New file.
12443 * math/auto-libm-test-in: Likewise.
12444 * math/auto-libm-test-out: New generated file.
12445 * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
12447 (%beautify): Add generated representations of zero.
12448 (top level): Set $auto_input and call parse_auto_input.
12449 (beautify): Remove trailing "f" from hex float constants.
12450 (parse_args): Handle XFAIL_TEST.
12451 (convert_condition): New function.
12452 (or_value): Likewise.
12453 (or_cond_value): Likewise.
12454 (generate_testfile): Handle AUTO_TESTS_* lines.
12455 (parse_auto_input): New function.
12456 * math/libm-test.inc (XFAIL_TEST): New macro.
12457 (ERRNO_UNCHANGED): Update value.
12458 (ERRNO_EDOM): Likewise.
12459 (ERRNO_ERANGE): Likewise.
12460 (IGNORE_RESULT): Likewise.
12461 (TEST_COND_flt_32): New macro.
12462 (TEST_COND_dbl_64): Likewise.
12463 (TEST_COND_ldbl_96_intel): Likewise.
12464 (TEST_COND_ldbl_96_m68k): Likewise.
12465 (TEST_COND_ldbl_128): Likewise.
12466 (TEST_COND_ldbl_128ibm): Likewise.
12467 (TEST_COND_long32): Likewise.
12468 (TEST_COND_long64): Likewise.
12469 (TEST_COND_before_rounding): Likewise.
12470 (TEST_COND_after_rounding): Likewise.
12471 (enable_test): Handle XFAIL_TEST flag.
12472 (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
12473 with finite results.
12474 * math/Makefile ($(objpfx)libm-test.stmp): Depend on
12475 auto-libm-test-out.
12477 2013-11-29 Siddhesh Poyarekar <siddhesh@redhat.com>
12478 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
12481 * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
12482 __tls_get_addr_internal instead of __tls_get_offset in order to
12483 avoid GOT pointer dependency. Make rtld export
12484 __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
12485 __tls_get_addr since we are a __tls_get_offset platform.
12486 * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
12487 GOT pointer being set up before.
12488 * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
12490 2013-11-28 Joseph Myers <joseph@codesourcery.com>
12492 * manual/math.texi (Errors in Math Functions): Document accuracy
12496 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
12497 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
12498 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
12499 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
12500 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
12501 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
12502 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
12503 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
12504 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
12505 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
12506 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
12507 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
12508 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
12509 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
12510 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
12511 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
12513 * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
12514 * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
12515 * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
12516 * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
12517 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
12519 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
12521 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
12523 * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
12524 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
12525 (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
12526 atomic-feupdateenv and flt-rounds.
12527 * sysdeps/powerpc/nofpu/Versions (libc): Add
12528 __atomic_feholdexcept, __atomic_feclearexcept,
12529 __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
12530 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
12531 (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
12532 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
12533 (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
12535 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
12538 * manual/arith.texi (FP Exceptions): Document that exceptions may
12539 not be raised when matherr is used.
12540 (Math Error Reporting): Document overflow in directed rounding
12541 modes. Document that errno may not be set when finite values are
12542 returned on overflow. Document intent to set errno on underflow
12543 only for underflow to zero.
12546 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
12547 round-to-nearest then adjust result for other rounding modes.
12548 * include/fenv.h (fegetround): Use libm_hidden_proto.
12549 * math/fegetround.c (fegetround): Use libm_hidden_def.
12550 * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
12551 * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
12552 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
12553 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
12555 * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
12556 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
12557 * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
12558 * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
12560 2013-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
12563 * nss/Versions (libnss_files): Add
12564 _nss_files_gethostbyname3_r.
12565 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
12567 (HOST_DB_LOOKUP): Remove macro.
12568 (_nss_files_gethostbyname_r): Implement function without the
12569 HOST_DB_LOOKUP macro.
12570 (_nss_files_gethostbyname2_r): Likewise.
12572 2013-11-28 Ondřej Bílka <neleai@seznam.cz>
12574 * malloc/malloc.c (__libc_calloc): Make memset a tail call.
12576 2013-11-26 Uros Bizjak <ubizjak@gmail.com>
12578 * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
12579 _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
12582 2013-11-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12584 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
12585 __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
12586 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
12587 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
12588 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
12589 __fe_nomask_env_priv and attribute_hidden.
12590 * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
12591 (libc_feupdateenv_test_ppc): Likewise.
12592 (libc_feresetround_ppc): Likewise.
12593 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
12594 (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
12595 compat_symbol macro.
12596 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
12597 (__fe_nomask_env): Likewise.
12598 * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
12600 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
12602 * string/Makefile: Remove ifunc tests.
12603 * string/test-string.h: Define TEST_IFUNC.
12604 * string/test-bcopy-ifunc.c: Remove.
12605 * string/test-bzero-ifunc.c: Likewise.
12606 * string/test-memccpy-ifunc.c: Likewise.
12607 * string/test-memchr-ifunc.c: Likewise.
12608 * string/test-memcmp-ifunc.c: Likewise.
12609 * string/test-memcpy-ifunc.c: Likewise.
12610 * string/test-memmem-ifunc.c: Likewise.
12611 * string/test-memmove-ifunc.c: Likewise.
12612 * string/test-mempcpy-ifunc.c: Likewise.
12613 * string/test-memrchr-ifunc.c: Likewise.
12614 * string/test-memset-ifunc.c: Likewise.
12615 * string/test-rawmemchr-ifunc.c: Likewise.
12616 * string/test-stpcpy-ifunc.c: Likewise.
12617 * string/test-stpncpy-ifunc.c: Likewise.
12618 * string/test-strcasecmp-ifunc.c: Likewise.
12619 * string/test-strcasestr-ifunc.c: Likewise.
12620 * string/test-strcat-ifunc.c: Likewise.
12621 * string/test-strchr-ifunc.c: Likewise.
12622 * string/test-strchrnul-ifunc.c: Likewise.
12623 * string/test-strcmp-ifunc.c: Likewise.
12624 * string/test-strcpy-ifunc.c: Likewise.
12625 * string/test-strcspn-ifunc.c: Likewise.
12626 * string/test-strlen-ifunc.c: Likewise.
12627 * string/test-strncasecmp-ifunc.c: Likewise.
12628 * string/test-strncat-ifunc.c: Likewise.
12629 * string/test-strncmp-ifunc.c: Likewise.
12630 * string/test-strncpy-ifunc.c: Likewise.
12631 * string/test-strnlen-ifunc.c: Likewise.
12632 * string/test-strpbrk-ifunc.c: Likewise.
12633 * string/test-strrchr-ifunc.c: Likewise.
12634 * string/test-strspn-ifunc.c: Likewise.
12635 * string/test-strstr-ifunc.c: Likewise.
12637 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
12639 * benchtests/Makefile: Remove ifunc tests.
12640 * benchtests/bench-string.h: Define TEST_IFUNC.
12641 * benchtests/bench-bcopy-ifunc.c: Remove.
12642 * benchtests/bench-bzero-ifunc.c: Likewise.
12643 * benchtests/bench-memccpy-ifunc.c: Likewise.
12644 * benchtests/bench-memchr-ifunc.c: Likewise.
12645 * benchtests/bench-memcmp-ifunc.c: Likewise.
12646 * benchtests/bench-memcpy-ifunc.c: Likewise.
12647 * benchtests/bench-memmem-ifunc.c: Likewise.
12648 * benchtests/bench-memmove-ifunc.c: Likewise.
12649 * benchtests/bench-mempcpy-ifunc.c: Likewise.
12650 * benchtests/bench-memrchr-ifunc.c: Likewise.
12651 * benchtests/bench-memset-ifunc.c: Likewise.
12652 * benchtests/bench-rawmemchr-ifunc.c: Likewise.
12653 * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
12654 * benchtests/bench-stpcpy-ifunc.c: Likewise.
12655 * benchtests/bench-stpncpy-ifunc.c: Likewise.
12656 * benchtests/bench-strcasecmp-ifunc.c: Likewise.
12657 * benchtests/bench-strcasestr-ifunc.c: Likewise.
12658 * benchtests/bench-strcat-ifunc.c: Likewise.
12659 * benchtests/bench-strchr-ifunc.c: Likewise.
12660 * benchtests/bench-strchrnul-ifunc.c: Likewise.
12661 * benchtests/bench-strcmp-ifunc.c: Likewise.
12662 * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
12663 * benchtests/bench-strcpy-ifunc.c: Likewise.
12664 * benchtests/bench-strcspn-ifunc.c: Likewise.
12665 * benchtests/bench-strlen-ifunc.c: Likewise.
12666 * benchtests/bench-strncasecmp-ifunc.c: Likewise.
12667 * benchtests/bench-strncat-ifunc.c: Likewise.
12668 * benchtests/bench-strncmp-ifunc.c: Likewise.
12669 * benchtests/bench-strncpy-ifunc.c: Likewise.
12670 * benchtests/bench-strnlen-ifunc.c: Likewise.
12671 * benchtests/bench-strpbrk-ifunc.c: Likewise.
12672 * benchtests/bench-strrchr-ifunc.c: Likewise.
12673 * benchtests/bench-strsep-ifunc.c: Likewise.
12674 * benchtests/bench-strspn-ifunc.c: Likewise.
12675 * benchtests/bench-strstr-ifunc.c: Likewise.
12677 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
12679 * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
12681 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
12683 * resolv/netdb.h: Use __glibc_reserved instead __unused.
12684 * rt/aio.h: Likewise.
12685 * sysdeps/gnu/bits/utmp.h: Likewise.
12686 * sysdeps/gnu/bits/utmpx.h: Likewise.
12687 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
12688 * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
12689 * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
12690 * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
12691 * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
12692 * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
12693 * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
12694 * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
12695 * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
12696 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
12697 * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
12698 * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
12699 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
12700 * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
12701 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
12702 * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
12703 * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
12704 * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
12705 * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
12706 * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
12707 * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
12708 * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
12709 * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
12710 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
12711 * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
12712 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
12713 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
12714 * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
12715 * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
12716 * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
12717 * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
12718 * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
12719 * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
12720 * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
12721 * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
12722 * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
12723 * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
12724 * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
12725 * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
12726 * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
12727 * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
12728 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
12730 2013-11-25 Carlos O'Donell <carlos@redhat.com>
12733 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
12734 Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
12736 2013-11-25 Joseph Myers <joseph@codesourcery.com>
12738 * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
12739 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
12742 2013-11-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12744 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
12745 SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
12746 * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
12747 (__fesetround): Remove define.
12748 * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
12749 rounding and exceptions handling.
12750 * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
12751 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
12752 (__fe_nomask_env): Likewise.
12753 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
12754 __fegetround instead of fegetround.
12755 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
12756 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
12758 2013-11-21 Roland McGrath <roland@hack.frob.com>
12760 * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
12763 * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
12765 2013-11-21 Meador Inge <meadori@codesourcery.com>
12768 * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
12769 (encrypt_r): Likewise.
12770 * malloc/obstack.h (obstack_free): Likewise.
12771 * posix/unistd.h (encrypt): Likewise.
12773 2013-11-21 Guy Martin <gmsoft@tuxicoman.be>
12775 * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
12776 DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
12777 DL_CALL_DT_FINI() that call the functions directly.
12778 * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
12779 * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
12780 * elf/dl-fini.c: Likewise.
12782 2013-11-20 Ondřej Bílka <neleai@seznam.cz>
12784 * malloc/hooks.c (memalign_check): Add alignment rounding.
12785 * malloc/malloc.c (_mid_memalign): New function.
12786 (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
12787 Implement by calling _mid_memalign.
12788 * manual/probes.texi (Memory Allocation Probes): Remove
12789 memory_valloc_retry and memory_pvalloc_retry.
12791 2013-11-20 Siddhesh Poyarekar <siddhesh@redhat.com>
12793 * locale/programs/locarchive.c (open_archive): Add const
12794 qualifier to ARCHIVEFNAME and copy default fname to
12798 * libio/tst-widetext.input: Rename Oriya to Odia.
12799 * locale/iso-639.def: Likewise.
12801 * manual/probes.texi (Mathematical Function Probes): Add
12802 documentation for sin, cos, asin and acos probes.
12803 * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
12804 (__sin32): Add slowasin probe.
12805 (__cos32): Add slowacos probe.
12806 (__mpsin): Add slowsin probe.
12807 (__mpcos): Add slowcos probe.
12809 2013-11-19 Joseph Myers <joseph@codesourcery.com>
12812 * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
12813 thread-local __sim_exceptions_thread and global
12814 __sim_exceptions_global.
12815 (__sim_disabled_exceptions): Change to thread-local
12816 __sim_disabled_exceptions_thread and global
12817 __sim_disabled_exceptions_global.
12818 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
12819 and global __sim_round_mode_global.
12820 (__simulate_exceptions): Use thread-local floating-point state and
12821 set global state from it as needed.
12822 * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
12823 __sim_exceptions_thread, __sim_disabled_exceptions_thread and
12824 __sim_round_mode_thread.
12825 * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
12826 (__sim_exceptions): Change to thread-local __sim_exceptions_thread
12827 and global __sim_exceptions_global.
12828 (__sim_disabled_exceptions): Change to thread-local
12829 __sim_disabled_exceptions_thread and global
12830 __sim_disabled_exceptions_global.
12831 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
12832 and global __sim_round_mode_global.
12833 [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
12834 (SIM_SET_GLOBAL): Likewise.
12835 * sysdeps/powerpc/soft-fp/sfp-machine.h
12836 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
12837 __sim_round_mode_thread.
12838 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
12839 __sim_disabled_exceptions_thread.
12840 (__sim_exceptions): Change to __sim_exceptions_thread.
12841 (__sim_disabled_exceptions): Change to
12842 __sim_disabled_exceptions_thread.
12843 (__sim_round_mode): Change to __sim_round_mode_thread.
12844 * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
12845 thread-local floating-point state and set global state from it as
12847 * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
12848 * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
12849 (__sim_disabled_exceptions): Remove extern declaration.
12850 (feenableexcept): Use thread-local floating-point state and set
12851 global state from it as needed.
12852 * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
12853 extern declaration.
12854 (__sim_disabled_exceptions): Likewise.
12855 (__sim_round_mode): Likewise.
12856 (__fegetenv): Use thread-local floating-point state.
12857 * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
12858 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
12859 * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
12860 floating-point state and set global state from it as needed.
12861 * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
12862 * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
12863 * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
12865 * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
12866 * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
12868 sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
12869 * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
12870 Use __sim_round_mode_thread.
12871 * math/test-fenv-tls.c: New file.
12872 * math/Makefile (tests): Add test-fenv-tls.
12873 ($(objpfx)test-fenv-tls): Depend on
12874 $(common-objpfx)nptl/libpthread.so.
12876 2013-11-19 Andreas Schwab <schwab@suse.de>
12878 * locale/programs/locale.c (show_info): Decode wordarray elements.
12879 * locale/categories.def (LC_MONETARY): Add element for
12880 _NL_MONETARY_CRNCYSTR.
12881 * locale/C-monetary.c (conversion_rate): New variable.
12882 (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
12885 2013-11-18 Chris Metcalf <cmetcalf@tilera.com>
12887 * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
12888 Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
12890 2013-11-18 Paul Pluzhnikov <ppluzhnikov@google.com>
12892 * elf/Makefile (tst-auxv): New test.
12893 * elf/tst-auxv.c: New
12894 * elf/rtld.c (dl_main): Adjust AT_EXECFN
12896 2013-11-18 Joseph Myers <joseph@codesourcery.com>
12898 * include/libc-symbols.h (__hidden_proto): Add argument "thread".
12899 (hidden_proto): Caller changed.
12900 (hidden_tls_proto): New macro.
12901 (libc_hidden_tls_proto): Likewise.
12902 (rtld_hidden_tls_proto): Likewise.
12903 (libm_hidden_tls_proto): Likewise.
12904 (libresolv_hidden_tls_proto): Likewise.
12905 (librt_hidden_tls_proto): Likewise.
12906 (libdl_hidden_tls_proto): Likewise.
12907 (libnss_files_hidden_tls_proto): Likewise.
12908 (libnsl_hidden_tls_proto): Likewise.
12909 (libnss_nisplus_hidden_tls_proto): Likewise.
12910 (libutil_hidden_tls_proto): Likewise.
12912 2013-11-18 Ondřej Bílka <neleai@seznam.cz>
12915 * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
12916 (decompose_rpath): Defer expansion to fillin_rpath.
12917 (_dl_init_paths): Pass linkmap to fillin_rpath.
12919 2013-11-18 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
12921 * benchtests/Makefile: Add strsep.
12922 * benchtests/bench-strsep.c: New file: strsep benchtest.
12923 * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
12925 2013-11-18 Andreas Schwab <schwab@suse.de>
12927 * locale/programs/locale.c (show_info) [case byte]: Check for
12928 '\377' instead of '\177'.
12929 * locale/C-monetary.c (not_available): Always use "\377".
12930 * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
12931 unspecified p_sign_posn and n_sign_posn. Check for '\377' to
12932 detect unavailable sign_posn locale elements.
12933 * locale/localeconv.c (__localeconv): For grouping and
12934 mon_grouping handle "\177" and "\377" like no grouping.
12935 (INT_ELEM): New macro. Use it to set all numeric members.
12936 * locale/programs/ld-monetary.c (monetary_read)
12937 <tok_mon_grouping>: Normalize single -1 to the empty string.
12938 * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
12941 2013-11-07 Ondřej Bílka <neleai@seznam.cz>
12944 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
12945 when we match (nil).
12946 * stdio-common/tst-sscanf.c (struct test): Add testcase.
12948 2013-11-16 Joseph Myers <joseph@codesourcery.com>
12950 * math/libm-test.inc (TEST_NAN_SIGN): New macro.
12951 (NO_TEST_INLINE): Update value.
12952 (ERRNO_UNCHANGED): Likewise.
12953 (ERRNO_EDOM): Likewise.
12954 (ERRNO_ERANGE): Likewise.
12955 (IGNORE_RESULT): Likewise.
12956 (check_float_internal): Check signs of NaN results if
12957 TEST_NAN_SIGN used.
12958 (check_complex): Pass TEST_NAN_SIGN flag through to second
12959 check_float_internal call.
12960 (copysign_test_data): Add tests with quiet NaNs as second
12961 argument. Use TEST_NAN_SIGN.
12962 (fabs_test_data): Add test of negative quiet NaN argument. Use
12964 (signbit_test_data): Add tests of quiet NaN argument.
12965 * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
12967 * math/gen-libm-test.pl (show_exceptions): Take extra argument
12969 (parse_args): Handle function results specified as IGNORE.
12970 * math/libm-test.inc (IGNORE_RESULT): New macro.
12971 (check_float_internal): Do not check numerical result if flag
12973 (check_complex): Pass through IGNORE_RESULT to second
12974 check_float_internal call.
12975 (check_int): Do not check numerical result if flag IGNORE_RESULT
12977 (check_long): Likewise.
12978 (check_bool): Likewise.
12979 (check_longlong): Likewise.
12980 (lrint_test_data): Add tests of infinite and NaN arguments.
12981 (lrint_tonearest_test_data): Likewise.
12982 (lrint_towardzero_test_data): Likewise.
12983 (lrint_downward_test_data): Likewise.
12984 (lrint_upward_test_data): Likewise.
12985 (llrint_test_data): Likewise.
12986 (llrint_tonearest_test_data): Likewise.
12987 (llrint_towardzero_test_data): Likewise.
12988 (llrint_downward_test_data): Likewise.
12989 (llrint_upward_test_data): Likewise.
12990 (lround_test_data): Likewise.
12991 (llround_test_data): Likewise.
12993 * math/libm-test.inc (NO_TEST_INLINE): New macro.
12994 (ERRNO_UNCHANGED): Update value.
12995 (ERRNO_EDOM): Likewise.
12996 (ERRNO_ERANGE): Likewise.
12997 (NO_TEST_INLINE_FLOAT): New macro.
12998 (NO_TEST_INLINE_DOUBLE): Likewise.
12999 (enable_test): New function.
13000 (RUN_TEST_f_f): Check enable_test before running test.
13001 (RUN_TEST_2_f): Likewise.
13002 (RUN_TEST_fff_f): Likewise.
13003 (RUN_TEST_c_f): Likewise.
13004 (RUN_TEST_f_f1): Likewise.
13005 (RUN_TEST_fF_f1): Likewise.
13006 (RUN_TEST_fI_f1): Likewise.
13007 (RUN_TEST_ffI_f1): Likewise.
13008 (RUN_TEST_c_c): Likewise.
13009 (RUN_TEST_cc_c): Likewise.
13010 (RUN_TEST_f_i): Likewise.
13011 (RUN_TEST_f_i_tg): Likewise.
13012 (RUN_TEST_ff_i_tg): Likewise.
13013 (RUN_TEST_f_b): Likewise.
13014 (RUN_TEST_f_b_tg): Likewise.
13015 (RUN_TEST_f_l): Likewise.
13016 (RUN_TEST_f_L): Likewise.
13017 (RUN_TEST_fFF_11): Likewise.
13018 (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
13020 (cosh_test_data): Likewise.
13021 (exp_test_data): Likewise.
13022 (expm1_test_data): Likewise.
13023 (hypot_test_data): Likewise.
13024 (pow_test_data): Likewise.
13025 (sinh_test_data): Likewise.
13026 (tanh_test_data): Likewise.
13027 * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
13030 * libm-test.inc (acos_test_data): Disallow inexact exceptions for
13031 tests with quiet NaN input and output.
13032 (acosh_test_data): Likewise.
13033 (asin_test_data): Likewise.
13034 (asinh_test_data): Likewise.
13035 (atan_test_data): Likewise.
13036 (atanh_test_data): Likewise.
13037 (atan2_test_data): Likewise.
13038 (cbrt_test_data): Likewise.
13039 (cos_test_data): Likewise.
13040 (cosh_test_data): Likewise.
13041 (erf_test_data): Likewise.
13042 (erfc_test_data): Likewise.
13043 (exp_test_data): Likewise.
13044 (exp10_test_data): Likewise.
13045 (exp2_test_data): Likewise.
13046 (expm1_test_data): Likewise.
13047 (hypot_test_data): Likewise.
13048 (j0_test_data): Likewise.
13049 (j1_test_data): Likewise.
13050 (jn_test_data): Likewise.
13051 (lgamma_test_data): Likewise.
13052 (log_test_data): Likewise.
13053 (log10_test_data): Likewise.
13054 (log1p_test_data): Likewise.
13055 (log2_test_data): Likewise.
13056 (pow_test_data): Likewise.
13057 (scalb_test_data): Likewise.
13058 (sin_test_data): Likewise.
13059 (sincos_test_data): Likewise.
13060 (sinh_test_data): Likewise.
13061 (tan_test_data): Likewise.
13062 (tanh_test_data): Likewise.
13063 (tgamma_test_data): Likewise.
13064 (y0_test_data): Likewise.
13065 (y1_test_data): Likewise.
13066 (yn_test_data): Likewise.
13069 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
13070 argument being NaN and avoid computations with second argument in
13072 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
13073 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
13074 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
13076 2013-11-15 Arun Kumar Pyasi <arun@chitwanix.com>
13078 * locale/iso-639.def: Add Chitwani Tharu (the).
13080 2013-11-14 Andreas Schwab <schwab@suse.de>
13082 * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
13083 word instead of empty string.
13085 2013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13087 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
13088 (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
13089 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
13090 (__fe_nomask_env): Likewise.
13092 2013-11-13 Steve Ellcey <sellcey@mips.com>
13094 * benchtests/bench-timing.h: Include time.h.
13096 2013-11-13 H.J. Lu <hongjiu.lu@intel.com>
13099 * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
13101 * sysdeps/unix/sysv/linux/configure: Regenerated.
13103 2013-11-13 Joseph Myers <joseph@codesourcery.com>
13106 * stdlib/strtod_l.c (round_and_return): Do not consider
13107 retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
13108 exponent one less than half the least subnormal exponent.
13109 * stdlib/test-strtod-round-data: Add more tests.
13110 * stdlib/tst-strtod-round.c (tests): Regenerated.
13112 2013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13115 * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
13116 (__fe_mask_env): Likewise.
13117 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
13118 libm_hidden_proto and add function prototype.
13119 (__fe_mask_env): Add function prototype.
13120 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
13121 (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
13122 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
13123 (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
13124 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
13125 (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
13127 2013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
13129 * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
13130 set reference_name to "" to avoid passing NULL to DSO_FILENAME.
13132 2013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
13134 * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
13135 of htab_find_slot().
13137 2013-11-11 David S. Miller <davem@davemloft.net>
13140 * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
13141 symbol in the non-vis3 case in static builds.
13142 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
13143 * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
13144 * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
13145 * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
13147 2013-11-11 Jan Kratochvil <jan.kratochvil@redhat.com>
13150 * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
13153 2013-11-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13155 * benchtests/Makefile: Add bench-strtod.
13156 * benchtests/bench-strtod.c: New file: strtod benchtest
13158 2013-11-11 Andreas Schwab <schwab@suse.de>
13161 * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
13162 terminating NUL in key length.
13164 2013-11-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13166 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
13167 Add artificial ODP entry for vDSO symbol for PPC64.
13168 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
13169 * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
13171 2013-11-07 Ondřej Bílka <neleai@seznam.cz>
13174 * nss/getent.c (services_keys): Recognize services starting with digit.
13176 2013-11-06 David S. Miller <davem@davemloft.net>
13179 * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
13180 on pre-v9 cpus, use a fnegs+fmovs sequence instead.
13182 2013-11-06 Will Newton <will.newton@linaro.org>
13184 * manual/memory.texi (Malloc Examples): Remove register
13185 keyword from examples.
13187 2013-11-04 Chris Leonard <cjl@sugarlabs.org>
13189 * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
13191 2013-11-04 Joseph Myers <joseph@codesourcery.com>
13194 * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
13195 depending on [__GCC_IEC_559 > 0].
13196 [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
13197 depending on [__GCC_IEC_559_COMPLEX > 0].
13199 2013-11-03 Chris Leonard <cjl@sugarlabs.org>
13201 * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
13204 2013-11-03 Ondřej Bílka <neleai@seznam.cz>
13206 * elf/rtld.c: Remove unused NONTLS_INIT_TP.
13208 2013-11-01 Ondřej Bílka <neleai@seznam.cz>
13211 * malloc/malloc (malloc_info): Do not handle first bin as
13214 2013-11-01 Chris Leonard <cjl@sugarlabs.org>
13216 * locale/iso-639.def: Add Central Nahuatl (nhn).
13218 2013-11-01 Bruno Haible <bruno@clisp.org>
13221 * manual/math.texi (BSD Random): Specify range upper bound as
13224 2013-10-31 Chris Leonard <cjl@sugarlabs.org>
13226 * locale/iso-639.def: Add Meadow Mari (mhr).
13228 2013-10-31 Ondřej Bílka <neleai@seznam.cz>
13230 [BZ #14752], [BZ #15763]
13231 * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
13233 * rt/tst_shm.c: Add test for escaping directory.
13235 2013-10-31 Andreas Schwab <schwab@suse.de>
13238 * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
13239 followed by 'x' as part of digit sequence.
13240 * stdio-common/tst-sscanf.c (double_tests2): New tests.
13242 2013-10-31 Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
13245 * configure.ac: allow GNU Make 4.0 and greater.
13246 * configure: Regenerated.
13248 2013-10-30 Will Newton <will.newton@linaro.org>
13251 * malloc/hooks.c (memalign_check): Limit alignment to the
13252 maximum representable power of two.
13253 * malloc/malloc.c (__libc_memalign): Likewise.
13254 * malloc/tst-memalign.c (do_test): Add test for very
13255 large alignment values.
13256 * malloc/tst-posix_memalign.c (do_test): Likewise.
13258 2013-10-30 Ondřej Bílka <neleai@seznam.cz>
13261 * malloc/malloc.c (sysmalloc): Compute statistics atomically.
13262 (munmap_chunk): Likewise.
13263 (mremap_chunk): Likewise.
13265 2013-10-30 Ondřej Bílka <neleai@seznam.cz>
13268 * stdlib/div.c (div): Remove obsolete code.
13269 * stdlib/ldiv.c (ldiv): Likewise.
13270 * stdlib/lldiv.c (lldiv): Likewise.
13272 2013-10-30 Siddhesh Poyarekar <siddhesh@redhat.com>
13275 * nss/nss_files/files-XXX.c (get_contents_ret): New
13277 (get_contents): New function.
13278 (internal_getent): Use it. Expand size of LINEBUFLEN.
13280 2013-10-30 Mike Frysinger <vapier@gentoo.org>
13282 * configure.in: Moved to ...
13283 * configure.ac: ... here. Change reference to configure.in
13285 * sysdeps/arm/preconfigure.ac: ... here.
13286 configure.in to configure.ac.
13287 * sysdeps/gnu/configure.in: Moved to ...
13288 * sysdeps/gnu/configure.ac: ... here.
13289 * sysdeps/i386/configure.in: Moved to ...
13290 * sysdeps/i386/configure.ac: ... here.
13291 * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
13292 * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
13293 * sysdeps/mach/configure.in: Moved to ...
13294 * sysdeps/mach/configure.ac: ... here.
13295 * sysdeps/mach/hurd/configure.in: Moved to ...
13296 * sysdeps/mach/hurd/configure.ac: ... here.
13297 * sysdeps/powerpc/configure.in: Moved to ...
13298 * sysdeps/powerpc/configure.ac: ... here.
13299 * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
13300 * sysdeps/powerpc/powerpc32/configure.ac: ... here.
13301 * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
13302 * sysdeps/powerpc/powerpc64/configure.ac: ... here.
13303 * sysdeps/s390/s390-32/configure.in: Moved to ...
13304 * sysdeps/s390/s390-32/configure.ac: ... here.
13305 * sysdeps/s390/s390-64/configure.in: Moved to ...
13306 * sysdeps/s390/s390-64/configure.ac: ... here.
13307 * sysdeps/sh/configure.in: Moved to ...
13308 * sysdeps/sh/configure.ac: ... here.
13309 * sysdeps/sparc/configure.in: Moved to ...
13310 * sysdeps/sparc/configure.ac: ... here.
13311 * sysdeps/unix/sysv/linux/configure.in: Moved to ...
13312 * sysdeps/unix/sysv/linux/configure.ac: ... here.
13313 * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
13314 * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
13315 * sysdeps/x86_64/configure.in: Moved to ...
13316 * sysdeps/x86_64/configure.ac: ... here.
13317 * sysdeps/x86_64/preconfigure.in: Moved to ...
13318 * sysdeps/x86_64/preconfigure.ac: ... here.
13319 * aclocal.m4: Change reference to configure.in to configure.ac.
13320 * config.h.in: Likewise.
13321 * manual/install.texi: Likewise.
13322 * manual/maint.texi: Likewise.
13323 * Makefile: Likewise.
13324 * malloc/Makefile: Likewise.
13325 * nscd/Makefile: Likewise.
13326 * Makeconfig: Change reference to configure.in and
13327 preconfigure.in to configure.ac and preconfigure.ac
13329 * INSTALL: Regenerated.
13330 * configure: Likewise.
13331 * sysdeps/gnu/configure: Likewise.
13332 * sysdeps/i386/configure: Likewise.
13333 * sysdeps/ieee754/ldbl-opt/configure: Likewise.
13334 * sysdeps/mach/configure: Likewise.
13335 * sysdeps/mach/hurd/configure: Likewise.
13336 * sysdeps/powerpc/configure: Likewise.
13337 * sysdeps/powerpc/powerpc32/configure: Likewise.
13338 * sysdeps/powerpc/powerpc64/configure: Likewise.
13339 * sysdeps/s390/s390-32/configure: Likewise.
13340 * sysdeps/s390/s390-64/configure: Likewise.
13341 * sysdeps/sh/configure: Likewise.
13342 * sysdeps/sparc/configure: Likewise.
13343 * sysdeps/unix/sysv/linux/configure: Likewise.
13344 * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
13345 * sysdeps/x86_64/configure: Likewise.
13346 * sysdeps/x86_64/preconfigure: Likewise.
13348 2013-10-29 Andreas Schwab <schwab@suse.de>
13350 * stdio-common/Makefile (tst-swscanf-ENV): Define.
13352 2013-10-28 Siddhesh Poyarekar <siddhesh@redhat.com>
13354 * benchtests/pow-inputs: Add new inputs.
13356 * benchtests/exp-inputs: Add new inputs.
13358 * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
13359 conditional check for return value.
13360 (__cos32): Likewise.
13362 2013-10-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13364 * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
13365 to provide a boost for large inputs with word alignment.
13366 * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
13367 implementation based on optimized PPC64 strcpy.
13368 * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
13369 strcpy for PPC64/POWER7 based on both doubleword and word load/store.
13370 * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
13371 stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
13373 2013-10-25 Ondřej Bílka <neleai@seznam.cz>
13376 * manual/socket.texi (Host Names): Fix gethostbyname_r example.
13378 2013-10-25 Ondřej Bílka <neleai@seznam.cz>
13381 * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
13382 * time/tst-strptime.c (day_tests): Add testcase.
13384 2013-10-25 Ondřej Bílka <neleai@seznam.cz>
13387 * manual/pattern.texi: Acknowledge that fnmatch can fail.
13389 2013-10-25 Fabrice Bauzac <fbauzac@debian71.nce.amadeus.net>
13392 * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
13393 MAP_FAILED on error.
13395 2013-10-25 Siddhesh Poyarekar <siddhesh@redhat.com>
13398 * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
13399 heap for large requests.
13401 2013-10-25 Aurelien Jarno <aurelien@aurel32.net>
13404 * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
13405 result if the result has no associated interface.
13406 * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
13407 interface for all 127.X.Y.Z addresses.
13409 2013-10-24 Chris Leonard <cjl@sugarlabs.org>
13411 * locale/iso-639.def: Add Ligurian (lij)
13413 2013-10-21 Ondřej Bílka <neleai@seznam.cz>
13416 * sunrpc/rpc_main.c: Document rpcgen -5.
13418 2013-10-19 Michael Stahl <mstahl@redhat.com>
13420 * elf/rtld.c (do_preload): Print the reason why preloading failed.
13422 2013-10-19 Ondřej Bílka <neleai@seznam.cz>
13425 * posix/glob.c: Match only directories when trailing slash is present.
13426 * posix/tst-gnuglob.c (my_opendir): Do not open files.
13427 (main): Add testcase.
13429 2013-10-19 Ondřej Bílka <neleai@seznam.cz>
13432 * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
13434 2013-10-18 Carlos O'Donell <carlos@redhat.com>
13436 * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
13437 AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
13438 AUTH_DES and cindex for FIPS 140-2.
13439 (DES Encryption): Add cindex FIPS 46-3.
13441 * locale/locarchive.h (struct locarhandle): Add fname.
13442 * locale/programs/localedef.c (main): Pass ARGV[remaining]
13443 if an optional argument was specified to --list-archive,
13445 * locale/programs/locarchive.c (show_archive_content): Take new
13446 argument fname and pass it via ah.fname to open_archive.
13447 * locale/programs/localedef.h: Update decl.
13448 (open_archive): If AH->fname is non-null, open that file
13449 rather than the default file name, and don't ignore ENOENT.
13450 (create_archive): Set AH.fname to NULL.
13451 (delete_locales_from_archive): Likewise.
13452 (add_locales_to_archive): Likewise.
13453 * locale/programs/locfile.c (write_all_categories): Likewise.
13455 2013-10-18 Joseph Myers <joseph@codesourcery.com>
13456 Aldy Hernandez <aldyh@redhat.com>
13458 * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
13459 * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
13460 * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
13461 * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
13462 * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
13463 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
13464 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
13465 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
13466 * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
13467 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
13468 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
13469 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
13470 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
13471 * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
13472 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
13474 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
13476 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
13478 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
13480 * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
13481 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
13483 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
13484 * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
13485 * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
13486 * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
13488 * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
13489 * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
13490 * sysdeps/powerpc/preconfigure: Likewise.
13491 * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
13493 * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
13494 Replace contents of file by #include of <fenv_libc.h>.
13495 * sysdeps/powerpc/soft-fp/sfp-machine.h
13496 [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
13498 [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
13499 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
13500 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
13501 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
13502 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
13503 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
13504 [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
13505 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
13506 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
13507 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
13508 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
13509 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
13510 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
13511 Allow copysignl PLT reference to be missing.
13513 2013-10-18 Richard Sandiford <richard@codesourcery.com>
13514 Joseph Myers <joseph@codesourcery.com
13517 * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
13519 (add_to_tablewc): Assert sequence of wide characters is nonempty.
13521 2013-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
13523 * elf/tst-tls-dlinfo.c: Don't include tls.h.
13524 * elf/tst-tls1.c: Likewise.
13525 * elf/tst-tls10.h: Likewise.
13526 * elf/tst-tls14.c: Likewise.
13527 * elf/tst-tls2.c: Likewise.
13528 * elf/tst-tls3.c: Likewise.
13529 * elf/tst-tls4.c: Likewise.
13530 * elf/tst-tls5.c: Likewise.
13531 * elf/tst-tls6.c: Likewise.
13532 * elf/tst-tls7.c: Likewise.
13533 * elf/tst-tls8.c: Likewise.
13534 * elf/tst-tls9.c: Likewise.
13535 * elf/tst-tlsmod1.c: Likewise.
13536 * elf/tst-tlsmod13.c: Likewise.
13537 * elf/tst-tlsmod13a.c: Likewise.
13538 * elf/tst-tlsmod14a.c: Likewise.
13539 * elf/tst-tlsmod16a.c: Likewise.
13540 * elf/tst-tlsmod16b.c: Likewise.
13541 * elf/tst-tlsmod2.c: Likewise.
13542 * elf/tst-tlsmod3.c: Likewise.
13543 * elf/tst-tlsmod4.c: Likewise.
13544 * elf/tst-tlsmod5.c: Likewise.
13545 * elf/tst-tlsmod6.c: Likewise.
13547 2013-10-18 Ondřej Bílka <neleai@seznam.cz>
13550 * malloc/malloc.c: remove checks for statistics.
13552 2013-10-17 Ondřej Bílka <neleai@seznam.cz>
13555 * inet/inet_net.c (inet_network): Detect additional invalid strings.
13556 * inet/tst-network.c: Add testcase.
13558 2013-10-17 Andreas Schwab <schwab@suse.de>
13561 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
13562 to determine canonical name.
13564 2013-10-17 Ondřej Bílka <neleai@seznam.cz>
13566 * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
13567 * sysdeps/ieee754/dbl-64/dla.h: Likewise.
13568 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
13569 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
13570 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
13571 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
13572 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
13573 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
13574 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
13575 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
13576 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
13577 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
13578 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
13579 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
13580 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
13581 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
13582 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
13583 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
13584 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
13585 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
13586 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
13587 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
13588 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
13589 * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
13590 * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
13591 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
13592 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
13593 * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
13594 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
13595 * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
13596 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
13597 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
13598 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
13599 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
13600 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
13601 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
13602 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
13603 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
13604 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
13605 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
13606 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
13607 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
13608 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
13609 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
13610 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
13611 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
13612 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
13613 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
13614 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
13615 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
13616 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
13617 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
13618 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
13619 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
13620 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
13621 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
13622 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
13623 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
13625 2013-10-17 Joseph Myers <joseph@codesourcery.com>
13628 * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
13629 make result into a quiet NaN.
13631 2013-10-16 Joseph Myers <joseph@codesourcery.com>
13633 * soft-fp/adddf3.c: Fix horizontal whitespace.
13634 * soft-fp/addsf3.c: Likewise.
13635 * soft-fp/addtf3.c: Likewise.
13636 * soft-fp/divdf3.c: Likewise.
13637 * soft-fp/divsf3.c: Likewise.
13638 * soft-fp/divtf3.c: Likewise.
13639 * soft-fp/double.h: Likewise.
13640 * soft-fp/eqdf2.c: Likewise.
13641 * soft-fp/eqsf2.c: Likewise.
13642 * soft-fp/eqtf2.c: Likewise.
13643 * soft-fp/extenddftf2.c: Likewise.
13644 * soft-fp/extended.h: Likewise.
13645 * soft-fp/extendsfdf2.c: Likewise.
13646 * soft-fp/extendsftf2.c: Likewise.
13647 * soft-fp/extendxftf2.c: Likewise.
13648 * soft-fp/fixdfdi.c: Likewise.
13649 * soft-fp/fixdfsi.c: Likewise.
13650 * soft-fp/fixdfti.c: Likewise.
13651 * soft-fp/fixsfdi.c: Likewise.
13652 * soft-fp/fixsfsi.c: Likewise.
13653 * soft-fp/fixsfti.c: Likewise.
13654 * soft-fp/fixtfdi.c: Likewise.
13655 * soft-fp/fixtfsi.c: Likewise.
13656 * soft-fp/fixtfti.c: Likewise.
13657 * soft-fp/fixunsdfdi.c: Likewise.
13658 * soft-fp/fixunsdfsi.c: Likewise.
13659 * soft-fp/fixunsdfti.c: Likewise.
13660 * soft-fp/fixunssfdi.c: Likewise.
13661 * soft-fp/fixunssfsi.c: Likewise.
13662 * soft-fp/fixunssfti.c: Likewise.
13663 * soft-fp/fixunstfdi.c: Likewise.
13664 * soft-fp/fixunstfsi.c: Likewise.
13665 * soft-fp/fixunstfti.c: Likewise.
13666 * soft-fp/floatdidf.c: Likewise.
13667 * soft-fp/floatdisf.c: Likewise.
13668 * soft-fp/floatditf.c: Likewise.
13669 * soft-fp/floatsidf.c: Likewise.
13670 * soft-fp/floatsisf.c: Likewise.
13671 * soft-fp/floatsitf.c: Likewise.
13672 * soft-fp/floattidf.c: Likewise.
13673 * soft-fp/floattisf.c: Likewise.
13674 * soft-fp/floattitf.c: Likewise.
13675 * soft-fp/floatundidf.c: Likewise.
13676 * soft-fp/floatundisf.c: Likewise.
13677 * soft-fp/floatunditf.c: Likewise.
13678 * soft-fp/floatunsidf.c: Likewise.
13679 * soft-fp/floatunsisf.c: Likewise.
13680 * soft-fp/floatunsitf.c: Likewise.
13681 * soft-fp/floatuntidf.c: Likewise.
13682 * soft-fp/floatuntisf.c: Likewise.
13683 * soft-fp/floatuntitf.c: Likewise.
13684 * soft-fp/fmadf4.c: Likewise.
13685 * soft-fp/fmasf4.c: Likewise.
13686 * soft-fp/fmatf4.c: Likewise.
13687 * soft-fp/gedf2.c: Likewise.
13688 * soft-fp/gesf2.c: Likewise.
13689 * soft-fp/getf2.c: Likewise.
13690 * soft-fp/ledf2.c: Likewise.
13691 * soft-fp/lesf2.c: Likewise.
13692 * soft-fp/letf2.c: Likewise.
13693 * soft-fp/muldf3.c: Likewise.
13694 * soft-fp/mulsf3.c: Likewise.
13695 * soft-fp/multf3.c: Likewise.
13696 * soft-fp/negdf2.c: Likewise.
13697 * soft-fp/negsf2.c: Likewise.
13698 * soft-fp/negtf2.c: Likewise.
13699 * soft-fp/op-1.h: Likewise.
13700 * soft-fp/op-2.h: Likewise.
13701 * soft-fp/op-4.h: Likewise.
13702 * soft-fp/op-8.h: Likewise.
13703 * soft-fp/op-common.h: Likewise.
13704 * soft-fp/quad.h: Likewise.
13705 * soft-fp/single.h: Likewise.
13706 * soft-fp/soft-fp.h: Likewise.
13707 * soft-fp/sqrtdf2.c: Likewise.
13708 * soft-fp/sqrtsf2.c: Likewise.
13709 * soft-fp/sqrttf2.c: Likewise.
13710 * soft-fp/subdf3.c: Likewise.
13711 * soft-fp/subsf3.c: Likewise.
13712 * soft-fp/subtf3.c: Likewise.
13713 * soft-fp/truncdfsf2.c: Likewise.
13714 * soft-fp/trunctfdf2.c: Likewise.
13715 * soft-fp/trunctfsf2.c: Likewise.
13716 * soft-fp/trunctfxf2.c: Likewise.
13717 * soft-fp/unorddf2.c: Likewise.
13718 * soft-fp/unordsf2.c: Likewise.
13719 * soft-fp/unordtf2.c: Likewise.
13721 2013-10-15 Joseph Myers <joseph@codesourcery.com>
13723 * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
13724 * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
13726 2013-10-15 Ondřej Bílka <neleai@seznam.cz>
13728 * elf/dl-libc.c: Clear initfini list after freeing.
13730 2013-10-14 Joseph Myers <joseph@codesourcery.com>
13732 * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
13733 * soft-fp/addsf3.c: Likewise.
13734 * soft-fp/addtf3.c: Likewise.
13735 * soft-fp/divdf3.c: Likewise.
13736 * soft-fp/divsf3.c: Likewise.
13737 * soft-fp/divtf3.c: Likewise.
13738 * soft-fp/double.h: Likewise.
13739 * soft-fp/eqdf2.c: Likewise.
13740 * soft-fp/eqsf2.c: Likewise.
13741 * soft-fp/eqtf2.c: Likewise.
13742 * soft-fp/extenddftf2.c: Likewise.
13743 * soft-fp/extended.h: Likewise.
13744 * soft-fp/extendsfdf2.c: Likewise.
13745 * soft-fp/extendsftf2.c: Likewise.
13746 * soft-fp/extendxftf2.c: Likewise.
13747 * soft-fp/fixdfdi.c: Likewise.
13748 * soft-fp/fixdfsi.c: Likewise.
13749 * soft-fp/fixdfti.c: Likewise.
13750 * soft-fp/fixsfdi.c: Likewise.
13751 * soft-fp/fixsfsi.c: Likewise.
13752 * soft-fp/fixsfti.c: Likewise.
13753 * soft-fp/fixtfdi.c: Likewise.
13754 * soft-fp/fixtfsi.c: Likewise.
13755 * soft-fp/fixtfti.c: Likewise.
13756 * soft-fp/fixunsdfdi.c: Likewise.
13757 * soft-fp/fixunsdfsi.c: Likewise.
13758 * soft-fp/fixunsdfti.c: Likewise.
13759 * soft-fp/fixunssfdi.c: Likewise.
13760 * soft-fp/fixunssfsi.c: Likewise.
13761 * soft-fp/fixunssfti.c: Likewise.
13762 * soft-fp/fixunstfdi.c: Likewise.
13763 * soft-fp/fixunstfsi.c: Likewise.
13764 * soft-fp/fixunstfti.c: Likewise.
13765 * soft-fp/floatdidf.c: Likewise.
13766 * soft-fp/floatdisf.c: Likewise.
13767 * soft-fp/floatditf.c: Likewise.
13768 * soft-fp/floatsidf.c: Likewise.
13769 * soft-fp/floatsisf.c: Likewise.
13770 * soft-fp/floatsitf.c: Likewise.
13771 * soft-fp/floattidf.c: Likewise.
13772 * soft-fp/floattisf.c: Likewise.
13773 * soft-fp/floattitf.c: Likewise.
13774 * soft-fp/floatundidf.c: Likewise.
13775 * soft-fp/floatundisf.c: Likewise.
13776 * soft-fp/floatunsidf.c: Likewise.
13777 * soft-fp/floatunsisf.c: Likewise.
13778 * soft-fp/floatuntidf.c: Likewise.
13779 * soft-fp/floatuntisf.c: Likewise.
13780 * soft-fp/floatuntitf.c: Likewise.
13781 * soft-fp/fmadf4.c: Likewise.
13782 * soft-fp/fmasf4.c: Likewise.
13783 * soft-fp/fmatf4.c: Likewise.
13784 * soft-fp/gedf2.c: Likewise.
13785 * soft-fp/gesf2.c: Likewise.
13786 * soft-fp/getf2.c: Likewise.
13787 * soft-fp/ledf2.c: Likewise.
13788 * soft-fp/lesf2.c: Likewise.
13789 * soft-fp/letf2.c: Likewise.
13790 * soft-fp/muldf3.c: Likewise.
13791 * soft-fp/mulsf3.c: Likewise.
13792 * soft-fp/multf3.c: Likewise.
13793 * soft-fp/negdf2.c: Likewise.
13794 * soft-fp/negsf2.c: Likewise.
13795 * soft-fp/negtf2.c: Likewise.
13796 * soft-fp/op-1.h: Likewise.
13797 * soft-fp/op-2.h: Likewise.
13798 * soft-fp/op-4.h: Likewise.
13799 * soft-fp/op-8.h: Likewise.
13800 * soft-fp/op-common.h: Likewise.
13801 * soft-fp/quad.h: Likewise.
13802 * soft-fp/single.h: Likewise.
13803 * soft-fp/soft-fp.h: Likewise.
13804 * soft-fp/sqrtdf2.c: Likewise.
13805 * soft-fp/sqrtsf2.c: Likewise.
13806 * soft-fp/sqrttf2.c: Likewise.
13807 * soft-fp/subdf3.c: Likewise.
13808 * soft-fp/subsf3.c: Likewise.
13809 * soft-fp/subtf3.c: Likewise.
13810 * soft-fp/truncdfsf2.c: Likewise.
13811 * soft-fp/trunctfdf2.c: Likewise.
13812 * soft-fp/trunctfsf2.c: Likewise.
13813 * soft-fp/trunctfxf2.c: Likewise.
13814 * soft-fp/unorddf2.c: Likewise.
13815 * soft-fp/unordsf2.c: Likewise.
13816 * soft-fp/unordtf2.c: Likewise.
13818 2013-10-14 Ondřej Bílka <neleai@seznam.cz>
13821 * misc/error.c (error_tail): Fix possible buffer overflow.
13823 2013-10-14 Aurelien Jarno <aurelien@aurel32.net>
13826 * res_send.c(__libc_res_nsend): Correctly copy the nameserver
13829 2013-10-14 P. J. McDermott <pj@pehjota.net>
13832 * elf/ldd.bash.in (try_trace): New function. Delete previous code
13833 testing pipefail option.
13835 2013-10-12 Joseph Myers <joseph@codesourcery.com>
13837 * soft-fp/double.h: Indent preprocessor directives inside #if.
13838 * soft-fp/extended.h: Likewise.
13839 * soft-fp/op-2.h: Likewise.
13840 * soft-fp/op-4.h: Likewise.
13841 * soft-fp/op-common.h: Likewise.
13842 * soft-fp/quad.h: Likewise.
13843 * soft-fp/single.h: Likewise.
13844 * soft-fp/soft-fp.h: Likewise.
13846 2013-10-12 Yuri Chornoivan <yurchor@ukr.net>
13848 * iconv/iconv_prog.c: Fix typos.
13849 * stdio-common/psiginfo-data.h: Likewise.
13851 2013-10-12 Reuben Thomas <rrt@sc3d.org>
13854 * locale/setlocale.c: Fix typo.
13856 2013-10-12 Joseph Myers <joseph@codesourcery.com>
13859 * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
13860 signaling NaN arguments.
13861 * soft-fp/unordsf2.c (__unordsf2): Likewise.
13862 * soft-fp/unordtf2.c (__unordtf2): Likewise.
13865 * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
13866 unordered operands.
13867 * soft-fp/gesf2.c (__gesf2): Likewise.
13868 * soft-fp/getf2.c (__getf2): Likewise.
13869 * soft-fp/ledf2.c (__ledf2): Likewise.
13870 * soft-fp/lesf2.c (__lesf2): Likewise.
13871 * soft-fp/letf2.c (__letf2): Likewise.
13873 * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
13874 * soft-fp/eqsf2.c (__eqsf2): Likewise.
13875 * soft-fp/eqtf2.c (__eqtf2): Likewise.
13876 * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
13877 * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
13878 * soft-fp/fixdfti.c (__fixdfti): Likewise.
13879 * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
13880 * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
13881 * soft-fp/fixsfti.c (__fixsfti): Likewise.
13882 * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
13883 * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
13884 * soft-fp/fixtfti.c (__fixtfti): Likewise.
13885 * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
13886 * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
13887 * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
13888 * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
13889 * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
13890 * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
13891 * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
13892 * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
13893 * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
13894 * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
13895 * soft-fp/floatdisf.c (__floatdisf): Likewise.
13896 * soft-fp/floatsisf.c (__floatsisf): Likewise.
13897 * soft-fp/floattidf.c (__floattidf): Likewise.
13898 * soft-fp/floattisf.c (__floattisf): Likewise.
13899 * soft-fp/floattitf.c (__floattitf): Likewise.
13900 * soft-fp/floatundidf.c (__floatundidf): Likewise.
13901 * soft-fp/floatundisf.c (__floatundisf): Likewise.
13902 * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
13903 * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
13904 * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
13905 * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
13906 * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
13907 * soft-fp/gesf2.c (__gesf2): Likewise.
13908 * soft-fp/getf2.c (__getf2): Likewise.
13909 * soft-fp/ledf2.c (__ledf2): Likewise.
13910 * soft-fp/lesf2.c (__lesf2): Likewise.
13911 * soft-fp/letf2.c (__letf2): Likewise.
13913 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
13914 Undefine and redefine.
13915 [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
13916 [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
13917 [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
13918 * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
13919 (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
13920 * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
13921 (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
13922 * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
13923 (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
13924 * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
13925 (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
13926 * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
13927 (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
13928 * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
13929 (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
13932 * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
13933 without decrementing exponent if mantissa >= that for the
13934 denominator, not >.
13935 (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
13936 denominator, not >. Decrement exponent in < case instead of
13937 incrementing in >= case.
13938 * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
13939 without decrementing exponent if mantissa >= that for the
13940 denominator, not >.
13942 * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
13943 computing saturated result for unsigned overflow.
13945 2013-10-11 Siddhesh Poyarekar <siddhesh@redhat.com>
13946 Jeff Law <law@redhat.com>
13948 * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
13949 (atan2Mp): Add systemtap probe marker.
13950 * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
13951 (__ieee754_log): Add systemtap probe marker.
13952 * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
13953 (atanMp): Add systemtap probe marker.
13954 * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
13955 (tanMp): Add systemtap probe marker.
13956 * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
13957 (__slowexp): Add systemtap probe marker.
13958 * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
13959 (__slowpow): Add systemtap probe marker.
13960 * manual/probes.texi: Document probes.
13962 2013-10-11 Eric Biggers <ebiggers3@gmail.com>
13965 * libio/fileops.c (_IO_new_file_write): Return count of bytes
13967 (_IO_new_file_xsputn): Don't return EOF if nothing has been
13969 * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
13970 written to buffer but not flushed.
13971 * libio/iofwrite_u.c: Likewise.
13972 * libio/iopadn.c: Return bytes returned even if EOF was
13974 * libio/iowpadn.c: Likewise.
13975 * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
13976 if _IO_padn does not write the whole buffer.
13977 [!COMPILE_WPRINTF] (PAD): Likewise.
13979 2013-10-10 David S. Miller <davem@davemloft.net>
13981 * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
13984 2013-10-10 Joseph Myers <joseph@codesourcery.com>
13986 * soft-fp/extendxftf2.c: Use copyright year range. Use URL
13987 instead of FSF address.
13988 * soft-fp/fixdfti.c: Likewise.
13989 * soft-fp/fixsfti.c: Likewise.
13990 * soft-fp/fixtfti.c: Likewise.
13991 * soft-fp/fixunsdfti.c: Likewise.
13992 * soft-fp/fixunssfti.c: Likewise.
13993 * soft-fp/fixunstfti.c: Likewise.
13994 * soft-fp/floattidf.c: Likewise.
13995 * soft-fp/floattisf.c: Likewise.
13996 * soft-fp/floattitf.c: Likewise.
13997 * soft-fp/floatuntidf.c: Likewise.
13998 * soft-fp/floatuntisf.c: Likewise.
13999 * soft-fp/floatuntitf.c: Likewise.
14000 * soft-fp/trunctfxf2.c: Likewise.
14002 * soft-fp/extendxftf2.c: New file. Copied from libgcc.
14003 * soft-fp/fixdfti.c: Likewise.
14004 * soft-fp/fixsfti.c: Likewise.
14005 * soft-fp/fixtfti.c: Likewise.
14006 * soft-fp/fixunsdfti.c: Likewise.
14007 * soft-fp/fixunssfti.c: Likewise.
14008 * soft-fp/fixunstfti.c: Likewise.
14009 * soft-fp/floattidf.c: Likewise.
14010 * soft-fp/floattisf.c: Likewise.
14011 * soft-fp/floattitf.c: Likewise.
14012 * soft-fp/floatuntidf.c: Likewise.
14013 * soft-fp/floatuntisf.c: Likewise.
14014 * soft-fp/floatuntitf.c: Likewise.
14015 * soft-fp/trunctfxf2.c: Likewise.
14017 2013-10-10 David S. Miller <davem@davemloft.net>
14019 * sysdeps/sparc/fpu/libm-test-ulps: Update.
14021 2013-10-10 Joseph Myers <joseph@codsourcery.com>
14023 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
14024 (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
14025 [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
14026 [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
14027 [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
14028 [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
14029 [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
14031 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
14032 for NaNs before doing comparisons on argument.
14033 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
14036 2013-10-10 Will Newton <will.newton@linaro.org>
14038 * malloc/hooks.c (memalign_check): Ensure the value of bytes
14039 passed to _int_memalign does not overflow.
14041 2013-10-10 Torvald Riegel <triegel@redhat.com>
14043 * scripts/bench.pl: Add include-sources directive.
14044 * benchtests/README: Update documentation.
14046 2013-10-10 Joseph Myers <joseph@codesourcery.com>
14048 * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
14049 * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
14050 instead of FP_INIT_ROUNDMODE.
14051 * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
14052 * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
14055 * soft-fp/op-common.h (_FP_NEG): Document input as raw. Do not
14056 copy class of input value.
14057 * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing. Do
14058 not handle exceptions.
14059 * soft-fp/negsf2.c (__negsf2): Likewise.
14060 * soft-fp/negtf2.c (__negtf2): Likewise.
14061 * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
14063 2013-10-09 Joseph Myers <joseph@codesourcery.com>
14065 * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
14066 semicolon. From Linux kernel.
14068 2013-10-09 Adam Buchbinder <adam.buchbinder@gmail.com>
14070 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
14072 2013-10-08 Yogesh Chaudhari <mr.yogesh@gmail.com>
14075 * manual/socket.texi: Added statement about buffer
14076 for gethostbyname2_r.
14078 2013-10-08 Ondřej Bílka <neleai@seznam.cz>
14080 * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
14081 Use .p2align directive instead, throughout.
14082 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
14083 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
14084 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
14085 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
14086 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
14087 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
14088 * sysdeps/x86_64/strchr.S: Likewise.
14089 * sysdeps/x86_64/strrchr.S: Likewise.
14091 2013-10-08 Siddhesh Poyarekar <siddhesh@redhat.com>
14093 * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
14095 * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
14097 * sysdeps/generic/math_private.h (__mpsin1): Remove
14099 (__mpcos1): Likewise.
14100 (__mpsin): New argument __range_reduce.
14101 (__mpcos): Likewise.
14102 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
14103 (slow): Use __mpsin and __mpcos.
14107 (sloww1): Likewise.
14108 (sloww2): Likewise.
14109 (bsloww): Likewise.
14110 (bsloww1): Likewise.
14111 (bsloww2): Likewise.
14112 (cslow2): Likewise.
14113 (csloww): Likewise.
14114 (csloww1): Likewise.
14115 (csloww2): Likewise.
14116 * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
14117 range_reduce. Merge in __mpsin1.
14118 (__mpcos): Likewise.
14119 (__mpsin1): Remove.
14120 (__mpcos1): Likewise.
14122 2013-10-07 Joseph Myers <joseph@codesourcery.com>
14124 * locale/loadlocale.c (_nl_intern_locale_data): Use
14126 * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
14127 LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
14128 * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
14129 obstack data is appropriately aligned.
14130 (obstack_int32_grow_fast): Likewise.
14131 * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
14132 * locale/programs/locfile.c (add_locale_uint32): Likewise.
14133 (add_locale_uint32_array): Likewise.
14135 2013-10-07 Siddhesh Poyarekar <siddhesh@redhat.com>
14137 * benchtests/Makefile: Remove ARGLIST and RET variables.
14138 ($(objpfx)bench-%.c): Pass only function name to the script.
14139 * benchtests/README: Update documentation.
14140 * benchtests/acos-inputs: Add new directives.
14141 * benchtests/acosh-inputs: Likewise.
14142 * benchtests/asin-inputs: Likewise.
14143 * benchtests/asinh-inputs: Likewise.
14144 * benchtests/atan-inputs: Likewise.
14145 * benchtests/atanh-inputs: Likewise.
14146 * benchtests/cos-inputs: Likewise.
14147 * benchtests/cosh-inputs: Likewise.
14148 * benchtests/exp-inputs: Likewise.
14149 * benchtests/log-inputs: Likewise.
14150 * benchtests/pow-inputs: Likewise.
14151 * benchtests/rint-inputs: Likewise.
14152 * benchtests/sin-inputs: Likewise.
14153 * benchtests/sinh-inputs: Likewise.
14154 * benchtests/tan-inputs: Likewise.
14155 * benchtests/tanh-inputs: Likewise.
14156 * scripts/bench.pl: Add support for new directives.
14158 2013-10-07 Alan Modra <amodra@gmail.com>
14160 * README: Fix careless merge.
14162 2013-10-05 Alan Modra <amodra@gmail.com>
14164 * NEWS: Mention powerpc64le support and bugs fixed.
14165 * README: Both big-endian and little-endian powerpc64 supported.
14167 2013-10-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
14169 * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook)
14170 (_hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
14171 (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
14172 _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
14174 2013-10-04 Ryan S. Arnold <ryan.arnold@linaro.org>
14176 * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
14179 2013-10-04 Joseph Myers <joseph@codesourcery.com>
14181 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
14182 Move -mhard-float appending from
14183 ports/sysdeps/powerpc/powerpc32/Makefile.
14184 [$(with-fp) = yes] (ASFLAGS): Likewise.
14185 [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
14186 * sysdeps/powerpc/nofpu: Move directory from
14187 ports/sysdeps/powerpc/nofpu.
14188 * sysdeps/powerpc/soft-fp: Move directory from
14189 ports/sysdeps/powerpc/soft-fp.
14190 * sysdeps/powerpc/powerpc32/405: Move directory from
14191 ports/sysdeps/powerpc/powerpc32/405.
14192 * sysdeps/powerpc/powerpc32/440: Move directory from
14193 ports/sysdeps/powerpc/powerpc32/440.
14194 * sysdeps/powerpc/powerpc32/464: Move directory from
14195 ports/sysdeps/powerpc/powerpc32/464.
14196 * sysdeps/powerpc/powerpc32/476: Move directory from
14197 ports/sysdeps/powerpc/powerpc32/476.
14198 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
14199 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
14200 * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
14201 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
14202 * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
14203 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
14204 * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
14205 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
14206 * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
14207 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
14208 * README: Update for powerpc-*-linux-gnu software floating point
14211 * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
14212 case to powerpc/powerpc32*.
14213 * sysdeps/unix/sysv/linux/configure: Regenerated.
14215 * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
14216 (_FPU_MASK_OM): Define as 0x04.
14217 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
14218 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
14220 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
14222 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
14224 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
14225 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
14227 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
14228 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
14230 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
14231 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
14232 and setcontext_e500.
14234 2013-10-04 Chris Leonard <cjl@sugarlabs,.org>
14236 * locale/iso-3166.def: Update iso-1366.def and related occurrences
14238 2013-10-04 Siddhesh Poyarekar <siddhesh@redhat.com>
14240 * manual/threads.texi (Default Thread Attributes): Fix typo.
14242 2013-10-04 Will Newton <will.newton@linaro.org>
14244 * malloc/Makefile: Add tst-memalign.
14245 * malloc/tst-memalign.c: New file.
14247 * malloc/tst-posix_memalign.c: Add comments.
14248 (do_test): Add comments and call free on all potentially
14249 allocated pointers. Add space after cast.
14251 * malloc/tst-pvalloc.c: Add comments.
14252 (do_test): Add comments and call free on all potentially
14253 allocated pointers. Remove duplicate check for NULL pointer.
14254 Add space after cast.
14256 * malloc/tst-valloc.c: Add comments.
14257 (do_test): Add comments and call free on all potentially
14258 allocated pointers. Remove duplicate check for NULL pointer.
14259 Add space after cast.
14261 2013-10-04 Alan Modra <amodra@gmail.com>
14263 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
14264 Use stdint types in rather than __attribute__((mode())).
14265 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
14267 2013-10-04 Alan Modra <amodra@gmail.com>
14269 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
14270 Correct handling of unaligned relocs for little-endian.
14271 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
14273 2013-10-04 Alan Modra <amodra@gmail.com>
14275 * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
14276 * configure: Regenerate.
14277 * nptl/shlib-versions: Powerpc*le starts at 2.18.
14278 * shlib-versions: Likewise.
14280 2013-10-04 Alan Modra <amodra@gmail.com>
14282 * string/tester.c (test_memrchr): Increment reported test cycle.
14284 2013-10-04 Alan Modra <amodra@gmail.com>
14286 * string/test-memcpy.c (do_one_test): When reporting errors, print
14287 string address and don't overrun end of string.
14289 2013-10-04 Alan Modra <amodra@gmail.com>
14291 * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
14292 insrdi. Make better use of reg selection to speed exit slightly.
14293 Schedule entry path a little better. Remove useless "are we done"
14294 checks on entry to main loop. Handle wrapping around zero address.
14295 Correct main loop count. Handle single left-over word from main
14296 loop inline rather than by using loop_small. Remove extra word
14297 case in loop_small caused by wrong loop count. Add little-endian
14299 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
14300 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise. Use proper
14302 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
14303 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
14304 support. Avoid rlwimi.
14305 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
14307 2013-10-04 Alan Modra <amodra@gmail.com>
14309 * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
14310 insrdi. Formatting.
14311 * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
14312 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
14313 * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
14314 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
14315 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
14316 * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
14318 2013-10-04 Alan Modra <amodra@gmail.com>
14320 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
14321 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
14322 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
14323 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
14324 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
14325 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
14326 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
14327 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
14328 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise. Make better
14329 use of regs. Use power7 mtocrf. Tidy function tails.
14331 2013-10-04 Alan Modra <amodra@gmail.com>
14333 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
14334 Formatting. Consistently use rXXX register defines or rN defines.
14335 Use early exit labels that avoid restoring unused non-volatile regs.
14336 Make cr field use more consistent with rWORDn compares. Rename
14337 regs used as shift registers for unaligned loop, using rN defines
14338 for short lifetime/multiple use regs.
14339 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
14340 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise. Exit with
14341 addi 1,1,64 to pop stack frame. Simplify return value code.
14342 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
14344 2013-10-04 Alan Modra <amodra@gmail.com>
14346 * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
14347 support. Correct typos, formatting. Optimize tail. Use insrdi
14348 rather than rlwimi.
14349 * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
14350 * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
14351 little-endian support. Correct typos.
14352 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise. Use insrdi
14353 rather than rlwimi.
14354 * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define. Use
14355 in loop and entry code to keep "and." results.
14356 (strchr): Add little-endian support. Comment. Move cntlzd
14358 * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
14360 2013-10-04 Alan Modra <amodra@gmail.com>
14362 * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
14363 * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
14364 * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
14365 * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
14367 2013-10-04 Alan Modra <amodra@gmail.com>
14369 * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
14370 (rTMP): Define as r11.
14371 (strcmp): Add little-endian support. Optimise tail.
14372 * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
14373 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
14374 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
14375 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
14376 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
14377 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
14378 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
14380 2013-10-04 Alan Modra <amodra@gmail.com>
14382 * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
14383 little-endian support. Remove unnecessary "are we done" tests.
14384 Handle "s" wrapping around zero and extremely large "size".
14385 Correct main loop count. Handle single left-over word from main
14386 loop inline rather than by using small_loop. Correct comments.
14387 Delete "zero" tail, use "end_max" instead.
14388 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
14390 2013-10-04 Alan Modra <amodra@gmail.com>
14392 * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
14393 support. Don't branch over align.
14394 * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
14395 * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
14396 support. Rearrange tmp reg use to suit. Comment.
14397 * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
14399 2013-10-04 Alan Modra <amodra@gmail.com>
14401 * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
14403 2013-10-04 Alan Modra <amodra@gmail.com>
14405 * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
14406 conditional form of branch and link when obtaining pc.
14407 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
14409 2013-10-04 Alan Modra <amodra@gmail.com>
14411 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
14413 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
14414 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
14416 2013-10-04 Alan Modra <amodra@gmail.com>
14418 * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
14419 * sysdeps/powerpc/novmx-longjmp.c: Likewise.
14420 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
14421 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
14422 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
14423 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
14424 * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
14425 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
14426 * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
14427 * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
14429 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
14430 Alistair Popple <alistair@ozlabs.au.ibm.com>
14431 Alan Modra <amodra@gmail.com>
14434 * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
14435 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
14436 _dl_hwcap access for little-endian.
14437 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise. Don't
14438 destroy vmx regs when saving unaligned.
14439 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
14440 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save. Don't
14441 destroy vmx regs when saving unaligned.
14443 2013-10-04 Alan Modra <amodra@gmail.com>
14445 * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
14446 Don't use a union to pack hi/low value.
14448 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
14450 * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
14452 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
14453 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
14454 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
14455 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
14456 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
14458 2013-10-04 Alan Modra <amodra@gmail.com>
14460 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
14461 constants to usual value for .cst8 section, and remove redundant
14463 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
14464 constant for 0x1p52. Load little-endian words of double from
14465 correct stack offsets.
14467 2013-10-04 Alan Modra <amodra@gmail.com>
14469 * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
14470 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
14471 words of double from correct stack offsets.
14472 * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
14473 * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
14474 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
14475 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
14476 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
14477 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
14478 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
14479 * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
14480 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
14481 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
14482 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
14483 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
14484 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
14485 * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
14486 * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
14487 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
14488 * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
14490 2013-10-04 Alan Modra <amodra@gmail.com>
14492 * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
14493 64-bit int/double union.
14494 (_FPU_SETCW): Likewise.
14495 * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
14496 (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
14498 2013-10-04 Alan Modra <amodra@gmail.com>
14500 * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
14501 * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
14503 2013-10-04 Alan Modra <amodra@gmail.com>
14505 * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
14506 use vector int constants.
14507 (__float_and_test24, __float_and8, __float_get_exp): Likewise.
14509 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
14511 * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
14512 array with long long.
14513 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
14514 * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
14515 * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
14516 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
14517 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
14518 * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
14519 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
14520 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
14521 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
14522 * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
14523 * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
14524 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
14525 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
14527 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
14529 * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
14530 (__signbit): Likewise. Correct for little-endian.
14531 (__signbitl): Call __signbit.
14532 (lrint): Correct for little-endian.
14533 (lrintf): Call lrint.
14535 2013-10-04 Alan Modra <amodra@gmail.com>
14537 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
14538 union 32-bit int array member with 64-bit int array.
14539 (t515, tm256): Double rather than long double.
14540 (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
14542 2013-10-04 Alan Modra <amodra@gmail.com>
14544 * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
14546 (IEEE854_LONG_DOUBLE_BIAS): Delete.
14547 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
14548 version of math_ldbl.h.
14550 2013-10-04 Alan Modra <amodra@gmail.com>
14552 [BZ #15734], [BZ #15735]
14553 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
14554 all uses of ieee875 long double macros and unions. Simplify test
14555 for 0.0L. Correct |x|<|y| and |x|=|y| test. Use
14556 ldbl_extract_mantissa value for ix,iy exponents. Properly
14557 normalize after ldbl_extract_mantissa, and don't add hidden bit
14558 already handled. Don't treat low word of ieee854 mantissa like
14559 low word of IBM long double and mask off bit when testing for
14561 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
14562 all uses of ieee875 long double macros and unions. Simplify tests
14563 for 0.0L and inf. Correct double adjustment of k. Delete dead code
14564 adjusting ha,hb. Simplify code setting kld. Delete two600 and
14565 two1022, instead use their values. Recognise that tests for large
14566 "a" and small "b" are mutually exclusive. Rename vars. Comment.
14567 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
14568 Rewrite all uses of ieee875 long double macros and unions. Simplify
14569 test for 0.0L and nan. Correct negation.
14570 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
14571 ieee875 long double macros and unions. Correct output for large
14572 magnitude x. Correct absolute value calculation.
14573 (__erfcl): Likewise.
14574 * math/libm-test.inc: Add tests for errors discovered in IBM long
14575 double versions of fmodl, remainderl, erfl and erfcl.
14577 2013-10-04 Alan Modra <amodra@gmail.com>
14579 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
14580 all uses of ieee854 long double macros and unions. Simplify tests
14581 for long doubles that are fully specified by the high double.
14582 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
14584 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
14585 Remove dead code too.
14586 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
14587 (__ieee754_ynl): Likewise.
14588 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
14589 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
14590 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
14591 Remove dead code too.
14592 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
14593 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
14594 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
14595 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
14597 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
14599 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
14600 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
14601 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
14602 Comment on variable precision.
14603 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
14604 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
14606 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
14607 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
14608 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
14609 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
14610 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
14612 2013-10-04 Alan Modra <amodra@gmail.com>
14614 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
14615 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
14616 all uses of ieee854 long double macros and unions.
14617 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
14618 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
14619 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
14620 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
14621 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
14622 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
14624 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
14625 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
14626 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
14627 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
14628 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
14629 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
14630 Simplify sign and nan test too.
14631 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
14632 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
14633 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
14634 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
14636 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
14637 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
14639 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
14640 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
14641 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
14642 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
14643 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
14644 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
14646 2013-10-04 Alan Modra <amodra@gmail.com>
14648 * stdio-common/printf_size.c (__printf_size): Don't use
14649 union ieee854_long_double in fpnum union.
14650 * stdio-common/printf_fphex.c (__printf_fphex): Likewise. Use
14651 signbit macro to retrieve sign from long double.
14652 * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
14653 retrieve sign from long double.
14654 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
14655 * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
14656 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
14657 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
14658 * math/test-misc.c (main): Don't use union ieee854_long_double.
14660 2013-10-04 Alan Modra <amodra@gmail.com>
14663 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
14664 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
14665 (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
14666 calculation. Remove unnecessary test for denormal exponent.
14667 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
14668 Correct handling of denormals. Avoid undefined shift behaviour.
14669 Correct normalisation of low mantissa when low double is denormal.
14670 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
14671 (ldbl_extract_mantissa): Likewise. Comment. Use uint64_t* for hi64.
14672 (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
14673 Correct normalisation of low mantissa. Test for overflow of high
14674 mantissa and normalise.
14675 (ldbl_nearbyint): Use more readable constant for two52.
14676 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
14677 (__mpn_construct_long_double): Fix test for overflow of high
14678 mantissa and correct normalisation. Avoid undefined shift.
14680 2013-10-04 Alan Modra <amodra@gmail.com>
14682 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
14683 (union ibm_extended_long_double): Define as an array of ieee754_double.
14684 (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
14685 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
14686 to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
14687 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
14688 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
14689 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
14690 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
14691 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
14692 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
14693 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
14694 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
14696 2013-10-03 Joseph Myers <joseph@codesourcery.com>
14698 * locale/programs/locarchive.c (add_locale): Use constant 4096 for
14699 page size instead of calling getpagesize.
14701 * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
14702 (LOCFILE_ALIGN_MASK): Likewise.
14703 (LOCFILE_ALIGN_UP): Likewise.
14704 (LOCFILE_ALIGNED_P): Likewise.
14705 * locale/programs/ld-collate.c (collate_output): Use the new
14706 macros instead of __alignof__ (int32_t).
14707 * locale/weight.h (findidx): Likewise.
14709 2013-10-03 Ondřej Bílka <neleai@seznam.cz>
14712 * manual/string.texi: Fix strncat and wcsncat.
14714 2013-10-03 Brooks Moses <bmoses@google.com>
14717 * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
14718 * Makerules: ...here, and adjust associated comments.
14720 2013-10-02 Will Newton <will.newton@linaro.org>
14722 * malloc/Makefile: Add tst-pvalloc.
14723 * malloc/tst-pvalloc.c: New file.
14725 2013-10-02 Will Newton <will.newton@linaro.org>
14727 * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
14728 improve test coverage.
14730 2013-10-02 Will Newton <will.newton@linaro.org>
14732 * malloc/Makefile: Add tst-posix_memalign.
14733 * malloc/tst-posix_memalign.c: New file.
14735 2013-10-01 Eric Blake <eblake@redhat.com>
14737 * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
14738 Use __THROWNL rather than __THROW on static functions.
14740 2013-09-30 Petr Machata <pmachata@redhat.com>
14742 * elf/elf.h (R_AARCH64_ABS16): New macro.
14743 (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
14744 (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
14745 (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
14746 (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
14747 (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
14748 (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
14749 (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
14750 (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
14751 (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
14752 (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
14753 (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
14754 (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
14755 (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
14756 (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
14757 (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
14758 (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
14759 (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
14760 (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
14761 (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
14762 (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
14763 (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
14764 (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
14765 (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
14766 (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
14767 (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
14768 (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
14769 (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
14770 (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
14771 (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
14772 (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
14773 (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
14774 (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
14775 (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
14776 (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
14777 (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
14778 (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
14779 (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
14780 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
14781 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
14782 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
14783 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
14784 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
14785 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
14786 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
14787 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
14788 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
14789 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
14790 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
14791 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
14792 (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
14793 (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
14794 (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
14795 (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
14796 (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
14797 (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
14798 (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
14799 (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
14800 (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
14801 (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
14802 (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
14803 (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
14804 (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
14805 (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
14806 (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
14807 (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
14808 (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
14809 (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
14810 (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
14811 (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
14812 (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
14813 (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
14814 (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
14815 (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
14816 (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
14817 (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
14818 (R_AARCH64_TLSDESC_OFF_G1): Likewise.
14819 (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
14820 (R_AARCH64_TLSDESC_LDR): Likewise.
14821 (R_AARCH64_TLSDESC_ADD): Likewise.
14822 (R_AARCH64_TLSDESC_CALL): Likewise.
14824 2013-09-30 Andreas Schwab <schwab@suse.de>
14827 * nscd/aicache.c (addhstaiX): Properly use the cache variable for
14828 the nss database lookup.
14829 * nscd/initgrcache.c (addinitgroupsX): Likewise.
14830 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
14832 2013-09-28 Mike Frysinger <vapier@gentoo.org>
14834 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
14836 2013-09-28 P. J. McDermott <pj@pehjota.net>
14838 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
14839 ${Bash-specific parameter/pattern/string} parameter expansion.
14840 * sysdeps/unix/make-syscalls.sh: Likewise.
14842 2013-09-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
14844 * sysdeps/sh/stackguard-macros.h: New file.
14846 2013-09-26 Ondřej Bílka <neleai@seznam.cz>
14848 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
14849 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
14850 * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
14851 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
14852 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
14853 * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
14855 2013-09-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14857 * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
14858 Fix thread ID register.
14860 2013-09-25 Joseph Myers <joseph@codesourcery.com>
14862 * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
14863 [POSIX || UNIX98]: Require rather than permitting all symbols from
14865 [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
14866 element of struct sched_param.
14867 [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
14868 [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
14869 [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
14870 [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
14873 2013-09-24 Olivier Langlois <olivier@olivierlanglois.net>
14875 * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
14876 argument calculation.
14878 2013-09-24 Joseph Myers <joseph@codesourcery.com>
14880 * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
14882 [POSIX] (pthread_attr_t): Do not require type.
14883 [POSIX] (pthread_cond_t): Likewise.
14884 [POSIX] (pthread_condattr_t): Likewise.
14885 [POSIX] (pthread_key_t): Likewise.
14886 [POSIX] (pthread_mutex_t): Likewise.
14887 [POSIX] (pthread_mutexattr_t): Likewise.
14888 [POSIX] (pthread_once_t): Likewise.
14889 [POSIX] (pthread_t): Likewise.
14890 [POSIX-based standards] (pthread_atfork): Expect function.
14892 2013-09-24 Joseph Myers <joseph@codesourcery.com>
14893 Richard Sandiford <richard@codesourcery.com>
14895 * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
14896 (swap_endianness_p): New extern variable.
14897 (set_big_endian): New inline function.
14898 (maybe_swap_uint32): Likewise.
14899 (maybe_swap_uint32_array): Likewise.
14900 (maybe_swap_uint32_obstack): Likewise.
14901 * locale/programs/locfile.c: Include <stdbool.h>.
14902 (swap_endianness_p): New variable.
14903 (add_locale_uint32): Call maybe_swap_uint32.
14904 (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
14905 (write_locale_data): Call maybe_swap_uint32_array.
14906 * locale/programs/ld-collate.c (obstack_int32_grow): Call
14908 (obstack_int32_grow_fast): Likewise.
14909 (output_weightwc): Call maybe_swap_uint32_obstack.
14910 (collate_output): Likewise.
14911 * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
14912 (OPT_LITTLE_ENDIAN): Likewise.
14913 (options): Add --little-endian and --big-endian options.
14914 (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
14915 * locale/programs/locarchive.c: Include "locfile.h".
14919 (create_archive): Use the new macros to access fields of
14920 structures directly mapped from or written to locale archives.
14921 (oldlocrecentcmp): Likewise.
14922 (enlarge_archive): Likewise.
14923 (insert_name): Likewise.
14924 (add_alias): Likewise.
14925 (add_locale): Likewise.
14926 (delete_locales_from_archive): Likewise.
14927 (show_archive_content): Likewise.
14928 (add_locale_to_archive): Likewise. Use maybe_swap_uint32 on
14931 2013-09-24 Roland McGrath <roland@hack.frob.com>
14933 * manual/freemanuals.texi: Updated from (newly) canonical copy at
14934 http://www.gnu.org/doc/freemanuals.texi.
14935 * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
14937 2013-09-24 Will Newton <will.newton@linaro.org>
14939 * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
14942 2013-09-23 Joseph Myers <joseph@codesourcery.com>
14944 * locale/hashval.h (compute_hashval): Interpret bytes of key as
14947 2013-09-23 Maciej W. Rozycki <macro@codesourcery.com>
14949 * manual/threads.texi (POSIX Threads): Fix a typo.
14951 2013-09-23 Siddhesh Poyarekar <siddhesh@redhat.com>
14954 * string/tst-strcoll-overflow.c: New test case.
14955 * string/Makefile (xtests): Add tst-strcoll-overflow.
14956 * string/strcoll_l.c (STRCOLL): Skip allocating memory for
14957 cache if string sizes may cause integer overflow.
14960 * string/strcoll_l.c (coll_seq): New members rule, idx,
14961 save_idx and back_us.
14962 (get_next_seq_nocache): New function.
14963 (do_compare_nocache): New function.
14964 (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
14967 2013-09-23 Carlos O'Donell <carlos@redhat.com>
14970 * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
14971 __pointer_chk_guard_local, otherwise __pointer_chk_guard.
14972 * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
14975 * elf/Makefile (tests): Add tst-ptrguard1.
14976 (tests-static): Add tst-ptrguard1-static.
14977 (tst-ptrguard1-ARGS): Define.
14978 (tst-ptrguard1-static-ARGS): Define.
14979 * elf/tst-ptrguard1.c: New file.
14980 * elf/tst-ptrguard1-static.c: New file.
14981 * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
14982 * sysdeps/i386/stackguard-macros.h: Likewise.
14983 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
14984 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
14985 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
14986 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
14987 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
14988 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
14990 2013-09-23 Hector Marco <hecmargi@upv.es>
14991 Ismael Ripoll <iripoll@disca.upv.es>
14992 Carlos O'Donell <carlos@redhat.com>
14995 * sysdeps/generic/stackguard-macros.h: Define
14996 __pointer_chk_guard_local and POINTER_CHK_GUARD.
14997 * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
14998 Define __pointer_chk_guard_local.
14999 (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
15000 Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
15002 2013-09-15 Vinitha Vijayan <vinitha.vijayann@gmail.com>
15005 * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
15007 2013-09-20 Andreas Schwab <schwab@linux-m68k.org>
15009 * include/string.h (__ffs): Declare as hidden.
15010 * string/ffs.c (__ffs): Define as hidden.
15011 * sysdeps/i386/ffs.c (__ffs): Likewise.
15012 * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
15013 * sysdeps/powerpc/ffs.c (__ffs): Likewise.
15014 * sysdeps/s390/ffs.c (__ffs): Likewise.
15015 * sysdeps/x86_64/ffs.c (__ffs): Likewise.
15017 2013-09-20 Alexandre Oliva <aoliva@redhat.com>
15019 * NEWS: Mention malloc probes.
15021 * malloc/arena.c (new_heap): New memory_heap_new probe.
15022 (grow_heap): New memory_heap_more probe.
15023 (shrink_heap): New memory_heap_less probe.
15024 (heap_trim): New memory_heap_free probe.
15025 * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
15026 (systrim): New memory_sbrk_less probe.
15027 * manual/probes.texi: Document them.
15029 * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
15030 * manual/probes.texi: Document it.
15032 * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
15033 (__libc_realloc): Add memory_realloc_retry probe.
15034 (__libc_memalign): Add memory_memalign_retry probe.
15035 (__libc_valloc): Add memory_valloc_retry probe.
15036 (__libc_pvalloc): Add memory_pvalloc_retry probe.
15037 (__libc_calloc): Add memory_calloc_retry probe.
15038 * manual/probes.texi: Document them.
15040 * malloc/arena.c (get_free_list): Add probe
15041 memory_arena_reuse_free_list.
15042 (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
15043 and memory_arena_reuse.
15044 (arena_get2) [!PER_THREAD]: Likewise.
15045 * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
15046 memory_arena_reuse_realloc.
15047 * manual/probes.texi: Document them.
15049 * malloc/malloc.c (__libc_free): Add
15050 memory_mallopt_free_dyn_thresholds probe.
15051 (__libc_mallopt): Add multiple memory_mallopt probes.
15052 * manual/probes.texi: Document them.
15054 * malloc/malloc.c: Include stap-probe.h.
15055 (__libc_mallopt): Add memory_mallopt probe.
15056 * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
15057 * manual/probes.texi: New.
15058 * manual/Makefile (chapters): Add probes.
15059 * manual/threads.texi: Set next node.
15061 2013-09-19 Wei-Lun Chao <bluebat@member.fsf.org>
15063 [BZ #15963, #13985]
15064 * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
15065 czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
15066 Add `Chinese' to `nan' entry name.
15068 2013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
15070 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
15071 (POLYNOMIAL): Likewise.
15072 (TAYLOR_SINCOS): Likewise.
15073 (TAYLOR_SLOW): Likewise.
15074 (__sin): Use TAYLOR_SINCOS.
15076 (slow): Use TAYLOR_SLOW.
15078 (bsloww): Likewise.
15079 (csloww): Likewise.
15081 2013-09-19 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
15083 * stdlib/strtod_l.c: Fix buffer overrun.
15085 2013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
15087 * benchtests/Makefile (bench): Add sincos.
15088 * benchtests/bench-sincos.c: New file.
15090 * math/libm-test.inc (cos_test_data): New test inputs.
15091 (sin_test_data): Likewise.
15093 * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
15099 (sloww1): Likewise.
15100 (sloww2): Likewise.
15101 (bsloww1): Likewise.
15102 (bsloww2): Likewise.
15103 (cslow2): Likewise.
15104 (csloww1): Likewise.
15105 (csloww2): Likewise.
15107 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
15112 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
15116 2013-09-18 Maciej W. Rozycki <macro@codesourcery.com>
15118 * config.h.in (HAVE_MIPS_NAN2008): New macro.
15119 * elf/elf.h (EF_MIPS_NAN2008): Likewise.
15120 * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
15121 (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
15122 (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
15123 * elf/cache.c (print_entry): Handle the new cache flags.
15125 2013-09-18 Joseph Myers <joseph@codesourcery.com>
15126 Aldy Hernandez <aldyh@redhat.com>
15128 * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
15129 Change condition to [_SOFT_FLOAT].
15130 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
15131 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
15132 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
15133 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
15134 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
15135 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
15136 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
15137 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
15138 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
15139 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
15140 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
15141 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
15142 [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
15143 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
15144 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
15145 [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
15148 2013-09-18 Joseph Myers <joseph@codesourcery.com>
15150 * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
15151 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
15152 (__longjmp): Use LOAD_GP to load saved GPRs.
15153 * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
15154 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
15155 (__sigsetjmp): Use SAVE_GP to save GPRs.
15157 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
15158 Do not append -msoft-float.
15159 [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
15161 2013-09-18 Siddhesh Poyarekar <siddhesh@redhat.com>
15163 * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
15165 2013-09-17 Joseph Myers <joseph@codesourcery.com>
15168 * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
15169 (_FPU_GETCW): Use initial "__" on variable and field names but not
15170 on macro parameter name.
15171 [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise. Use
15172 parentheses around reference to macro parameter.
15174 2013-09-13 Richard Sandiford <richard@codesourcery.com>
15176 * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
15178 (ctype_startup): Use uint32_t in cast and sizeof for
15181 2013-09-11 Jia Liu <proljc@gmail.com>
15183 * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
15185 [__FreeBSD__]: Likewise.
15187 2013-09-11 Ondřej Bílka <neleai@seznam.cz>
15189 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
15190 (__libc_ifunc_impl_list): Remove: __strchr_sse42.
15191 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
15192 (strchr): Remove __strchr_sse42 ifunc selection.
15193 * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
15194 * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
15196 2013-09-11 Will Newton <will.newton@linaro.org>
15198 * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
15199 parameter to RES. Remove hardcoded 1000 value.
15200 * benchtests/bench-skeleton.c (main): Pass RES parameter
15201 to TIMING_INIT and multiply result by 1000.
15203 2013-09-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15205 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15207 2013-09-11 Andreas Schwab <schwab@suse.de>
15209 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
15211 (O_TMPFILE) [__USE_GNU]: Define.
15212 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
15215 2013-09-11 Will Newton <will.newton@linaro.org>
15218 * malloc/malloc.c (__libc_memalign): Check the value of bytes
15221 2013-09-11 Will Newton <will.newton@linaro.org>
15224 * malloc/malloc.c (__libc_valloc): Check the value of bytes
15227 2013-09-11 Will Newton <will.newton@linaro.org>
15230 * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
15233 2013-09-10 Ondřej Bílka <neleai@seznam.cz>
15235 * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
15236 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
15237 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
15238 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
15239 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
15241 2013-09-10 Allan McRae <allan@archlinux.org>
15244 * manual/arith.texi (Parsing of Floats): Clarify
15248 * manual/install.texi (Running make install): Mention
15250 * INSTALL: Regenerated.
15252 2013-09-09 Maciej W. Rozycki <macro@codesourcery.com>
15254 * csu/init-first.c (_init): Remove the !SHARED condition around
15255 FPU control word initialization.
15256 * elf/dl-support.c (_dl_fpu_control): New variable.
15257 (_dl_aux_init) <AT_FPUCW>: Initialize it.
15258 * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
15259 (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
15260 * math/test-fpucw-static.c: New file.
15261 * math/test-fpucw-ieee.c: New file.
15262 * math/test-fpucw-ieee-static.c: New file.
15263 * math/Makefile (tests): Add `test-fpucw-ieee' and
15265 (tests-static): New variable.
15266 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
15268 [($(build-shared),yes)]
15269 ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
15271 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
15274 2013-09-09 Allan McRae <allan@archlinux.org>
15277 * manual/string.texi (Collation Functions): Fix typo in
15279 Reported by Suren Karapetyan <me@suren.karapetyan.name>.
15282 * stdlib/isomac.c (get_null_defines): Fix memory leak.
15285 * libio/memstream.c (open_memstream): Fix memory leak.
15286 * libio/wmemstream.c (open_wmemstream): Likewise.
15289 * nscd/netgroupcache.c: Fix nesting of ifdefs.
15291 2013-09-09 Will Newton <will.newton@linaro.org>
15293 * malloc/Makefile: Add tst-realloc to tests.
15294 * malloc/tst-realloc.c: New file.
15296 2013-09-09 Allan McRae <allan@archlinux.org>
15299 * COPYING: Update from GNU website to fix FSF address.
15300 * COPYING.LIB: Likewise.
15302 2013-09-06 David S. Miller <davem@davemloft.net>
15304 * po/zh_TW.po: Update Chinese (traditional) translation from
15305 translation project.
15307 2013-09-06 Richard Sandiford <richard@codesourcery.com>
15308 Joseph Myers <joseph@codesourcery.com>
15310 * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
15312 (obstack_chunk_alloc): New macro.
15313 (obstack_chunk_free): Likewise.
15314 (record_offset): New function.
15315 (init_locale_data): Likewise.
15316 (align_locale_data): Likewise.
15317 (add_locale_empty): Likewise.
15318 (add_locale_raw_data): Likewise.
15319 (add_locale_raw_obstack): Likewise.
15320 (add_locale_string): Likewise.
15321 (add_locale_wstring): Likewise.
15322 (add_locale_uint32): Likewise.
15323 (add_locale_uint32_array): Likewise.
15324 (add_locale_char): Likewise.
15325 (start_locale_structure): Likewise.
15326 (end_locale_structure): Likewise.
15327 (start_locale_prelude): Likewise.
15328 (end_locale_prelude): Likewise.
15329 (write_locale_data): Take locale_file structure rather than an
15331 * locale/programs/locfile.h: Include "obstack.h".
15332 (struct locale_file): Change to store locale file contents instead
15334 (init_locale_data): New prototype.
15335 (align_locale_data): Likewise.
15336 (add_locale_empty): Likewise.
15337 (add_locale_raw_data): Likewise.
15338 (add_locale_raw_obstack): Likewise.
15339 (add_locale_string): Likewise.
15340 (add_locale_wstring): Likewise.
15341 (add_locale_uint32): Likewise.
15342 (add_locale_uint32_array): Likewise.
15343 (add_locale_char): Likewise.
15344 (start_locale_structure): Likewise.
15345 (end_locale_structure): Likewise.
15346 (start_locale_prelude): Likewise.
15347 (end_locale_prelude): Likewise.
15348 (write_locale_data): Update prototype.
15349 * locale/programs/3level.h (struct TABLE): Remove result field.
15350 (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
15351 Use new locale_file interface.
15352 [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
15353 (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
15354 * locale/programs/ld-address.c (address_output): Use new
15355 locale_file interface.
15356 * locale/programs/ld-collate.c (NO_FINALIZE): Change to
15358 (collate_finish): Don't call collseq_table_finalize.
15359 (collate_output): Use new locale_file interface.
15360 * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
15362 (NO_FINALIZE): Change to NO_ADD_LOCALE.
15363 (TABLE): Move defines earlier in file.
15364 (ELEMENT): Likewise.
15365 (DEFAULT): Likewise.
15366 (wctrans_table_add): Move macro and inline function earlier in
15368 (struct wctype_table): Move type earlier in file.
15369 (add_locale_wctype_table): New static prototype.
15370 (struct locale_ctype_t): Use logical types instead of struct iovec
15371 pointers for members.
15372 (ctype_output): Use new locale_file interface.
15373 (wctype_table_finalize): Change to add_locale_wctype_table. Use
15374 new locale_file interface.
15375 (allocate_arrays): Update for use of new locale_file interface.
15376 * locale/programs/ld-identification.c (identification_output): Use
15377 new locale_file interface.
15378 * locale/programs/ld-measurement.c (measurement_output): Likewise.
15379 * locale/programs/ld-messages.c (messages_output): Likewise.
15380 * locale/programs/ld-monetary.c (monetary_output): Likewise.
15381 * locale/programs/ld-name.c (name_output): Likewise.
15382 * locale/programs/ld-numeric.c (numeric_output): Likewise.
15383 * locale/programs/ld-paper.c (paper_output): Likewise.
15384 * locale/programs/ld-telephone.c (telephone_output): Likewise.
15385 * locale/programs/ld-time.c (time_output): Likewise.
15387 2013-09-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15389 * benchtests/Makefile: Add memrchr benchmark.
15390 * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
15391 benchmark as memrchr.
15392 * benchtests/bench-memrchr-ifunc.c: New file.
15393 * benchtests/bench-memrchr.c: New file.
15395 2013-09-06 Will Newton <will.newton@linaro.org>
15397 * benchtests/Makefile (string-bench): Add memcpy.
15399 2013-09-05 Carlos O'Donell <carlos@redhat.com>
15400 Cong Wang <amwang@redhat.com>
15403 * sysdeps/unix/sysv/linux/bits/in.h
15404 [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
15405 * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
15406 before __USE_KERNEL_IPV6_DEFS uses.
15407 * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
15409 [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
15410 sockaddr_in6, or ipv6_mreq.
15412 2013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15414 * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
15415 memory access for final bytes in some large inputs.
15416 * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
15418 2013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15420 * string/test-memrchr.c: New file.
15421 * string/test-memrchr-ifunc.c: New file.
15422 * string/Makefile: Add new memrchr testcase.
15424 2013-09-05 Mike Frysinger <vapier@gentoo.org>
15426 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
15427 fanotify_init returns EPERM.
15429 2013-09-04 Joseph Myers <joseph@codesourcery.com>
15431 * conform/conformtest.pl (newtoken): Treat tokens not allowed as
15433 (top level): Treat second token from macro or constant entries for
15434 allowed headers as allowed.
15435 * include/complex.h: Condition internal declarations on
15437 * include/fenv.h: Condition include of <stdbool.h> and internal
15438 declarations on [!_ISOMAC].
15440 2013-09-04 Chris Leonard <cjl@sugarlabs,.org>
15443 * locale/iso-4217.def: Update iso-1427.def and related occurrences.
15445 2013-09-04 Joseph Myers <joseph@codesourcery.com>
15447 * configure.in (--enable-versioning): Remove configure option.
15448 (libc_cv_asm_symver_directive): Remove configure test.
15449 (libc_cv_ld_version_script_option): Likewise.
15450 (VERSIONING): Remove variable and AC_SUBST.
15451 (DO_VERSIONING): Remove AC_DEFINE.
15452 * configure: Regenerated.
15453 * config.h.in (DO_VERSIONING): Remove macro.
15454 * Makerules [$(versioning) = yes]: Change conditionals to
15455 [$(build-shared) = yes].
15456 * config.make.in (versioning): Remove variable.
15457 * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
15458 [$(build-shared) = yes].
15459 * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
15460 * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
15461 * elf/Makefile [$(versioning) = yes]: Change conditionals to
15462 [$(build-shared) = yes].
15463 * extra-lib.mk [$(versioning) = yes]: Likewise.
15464 * hurd/Makefile [$(versioning) = yes]: Likewise.
15465 * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
15467 * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
15469 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
15470 [SHARED && !NO_HIDDEN].
15471 * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
15473 [SHARED && DO_VERSIONING]: Likewise..
15474 * libio/Makefile [$(versioning) = yes]: Change conditionals to
15475 [$(build-shared) = yes].
15476 * manual/install.texi (--disable-versioning): Remove
15478 * INSTALL: Regenerated.
15479 * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
15481 * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
15482 [$(build-shared) = yes].
15483 * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
15484 * sysdeps/i386/i686/multiarch/strstr-c.c
15485 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
15486 [SHARED && !NO_HIDDEN].
15487 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
15488 [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
15489 * sysdeps/powerpc/powerpc32/dl-machine.c
15490 [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
15491 * sysdeps/powerpc/powerpc32/sysdep.h
15492 [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
15493 to [SHARED && PIC && !NO_HIDDEN].
15494 * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
15495 conditional to [SHARED].
15497 2013-09-04 Will Newton <will.newton@linaro.org>
15499 * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
15500 * benchtests/bench-string.h: Include bench-timing.h instead
15501 of including hp-timing.h directly. (INNER_LOOP_ITERS): New
15502 define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
15503 call to HP_TIMING_DIFF_INIT.
15504 * benchtests/bench-memccpy.c: Use bench-timing.h macros
15505 instead of hp-timing.h macros.
15506 * benchtests/bench-memchr.c: Likewise.
15507 * benchtests/bench-memcmp.c: Likewise.
15508 * benchtests/bench-memcpy.c: Likewise.
15509 * benchtests/bench-memmem.c: Likewise.
15510 * benchtests/bench-memmove.c: Likewise.
15511 * benchtests/bench-memset.c: Likewise.
15512 * benchtests/bench-rawmemchr.c: Likewise.
15513 * benchtests/bench-strcasecmp.c: Likewise.
15514 * benchtests/bench-strcasestr.c: Likewise.
15515 * benchtests/bench-strcat.c: Likewise.
15516 * benchtests/bench-strchr.c: Likewise.
15517 * benchtests/bench-strcmp.c: Likewise.
15518 * benchtests/bench-strcpy.c: Likewise.
15519 * benchtests/bench-strcpy_chk.c: Likewise.
15520 * benchtests/bench-strlen.c: Likewise.
15521 * benchtests/bench-strncasecmp.c: Likewise.
15522 * benchtests/bench-strncat.c: Likewise.
15523 * benchtests/bench-strncmp.c: Likewise.
15524 * benchtests/bench-strncpy.c: Likewise.
15525 * benchtests/bench-strnlen.c: Likewise.
15526 * benchtests/bench-strpbrk.c: Likewise.
15527 * benchtests/bench-strrchr.c: Likewise.
15528 * benchtests/bench-strspn.c: Likewise.
15529 * benchtests/bench-strstr.c: Likewise.
15531 2013-09-04 Will Newton <will.newton@linaro.org>
15533 * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
15535 2013-09-03 Joseph Myers <joseph@codesourcery.com>
15538 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
15539 2**-30 instead of 2**-70 as threshold for returning -log(|x|).
15540 * math/libm-test.inc (lgamma_test_data): Add more tests.
15541 * sysdeps/i386/fpu/libm-test-ulps: Update.
15542 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15544 2013-09-03 Ondřej Bílka <neleai@seznam.cz>
15546 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
15547 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
15549 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
15550 Add strcmp-sse2-unaligned
15551 * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
15553 2013-09-02 Mike Frysinger <vapier@gentoo.org>
15555 * Versions.def (libc): Add GLIBC_2.19.
15557 2013-09-02 Mike Frysinger <vapier@gentoo.org>
15559 * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
15560 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
15562 2013-09-02 Joseph Myers <joseph@codesourcery.com>
15565 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
15566 intermediate calculations in recurrence.
15567 (__ieee754_ynf): Likewise.
15568 * math/libm-test.inc (jn_test_data): Do not allow spurious
15569 underflow exception. Add more tests.
15570 (yn_test_data): Add more tests.
15571 * sysdeps/i386/fpu/libm-test-ulps: Update.
15572 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15574 2013-09-02 Ondřej Bílka <neleai@seznam.cz>
15576 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
15578 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
15580 * csu/init-first.c: Fix then/than typos.
15581 * locale/programs/ld-collate.c: Likewise.
15582 * locale/programs/linereader.h: Likewise.
15583 * manual/charset.texi: Likewise.
15584 * manual/filesys.texi: Likewise.
15585 * manual/stdio.texi: Likewise.
15586 * manual/string.texi: Likewise.
15587 * stdlib/fmtmsg.c: Likewise.
15588 * sysdeps/i386/stpncpy.S: Likewise.
15589 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
15590 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
15591 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
15592 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
15594 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
15596 * elf/dl-open.c: Fix typos.
15597 * iconvdata/gbbig5.c: Likewise.
15598 * iconvdata/iso-2022-jp.c: Likewise.
15599 * iconv/gconv_int.h: Likewise.
15600 * iconv/loop.c: Likewise.
15601 * nis/rpcsvc/nis.h: Likewise.
15602 * resolv/ns_name.c: Likewise.
15603 * stdio-common/vfscanf.c: Likewise.
15604 * streams/stropts.h: Likewise.
15605 * sunrpc/rpc_thread.c: Likewise.
15606 * sysdeps/i386/strpbrk.S: Likewise.
15607 * sysdeps/ieee754/k_standard.c: Likewise.
15608 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
15609 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
15610 * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
15611 * sysdeps/mach/hurd/profil.c: Likewise.
15612 * sysdeps/s390/dl-procinfo.h: Likewise.
15613 * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
15614 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
15615 * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
15616 * sysdeps/x86_64/dl-trampoline.S: Likewise.
15617 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
15619 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
15621 * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
15622 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
15624 2013-08-29 Ondřej Bílka <neleai@seznam.cz>
15626 * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
15627 aix specific files.
15628 * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
15629 * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
15630 * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
15631 * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
15632 * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
15633 * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
15634 * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
15635 * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
15637 2013-08-29 Thomas Schwinge <thomas@codesourcery.com>
15638 Roland McGrath <roland@hack.frob.com>
15640 * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
15641 * sysdeps/mach/hurd/bits/errno.h: Regenerate.
15643 2013-08-29 Samuel Thibault <samuel.thibault@ens-lyon.org>
15645 * sysdeps/mach/hurd/i386/init-first.c (init1): Use
15646 __executable_start symbol instead of _start.
15648 2013-08-29 Thomas Schwinge <thomas@codesourcery.com>
15650 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
15651 (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
15653 * sysdeps/gnu/ldsodefs.h: ... this new file.
15655 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
15656 (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
15657 instead of ELFOSABI_LINUX.
15659 [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
15660 * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
15661 * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
15662 * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
15664 * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
15665 * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
15666 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
15668 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
15669 (ibm_extended_long_double): Add ieee_nan member.
15670 * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
15671 (do_test): New function.
15673 * math/basic-test.c (TEST_CONVERT): New macro, renamed from
15675 (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
15676 functions, renamed from truncdfsf_test, trunctfsf_test,
15678 (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
15680 (do_test): Run all these.
15682 2013-08-29 Ondřej Bílka <neleai@seznam.cz>
15684 * argp/argp-help.c: Fix typos.
15685 * argp/argp-parse.c: Likewise.
15686 * debug/backtracesyms.c: Likewise.
15687 * elf/elf.h: Likewise.
15688 * malloc/malloc.c: Likewise.
15689 * nis/nis_print.c: Likewise.
15690 * resolv/res_comp.c: Likewise.
15691 * stdlib/stdlib.h: Likewise.
15692 * sunrpc/clnt_tcp.c: Likewise.
15693 * sunrpc/clnt_udp.c: Likewise.
15694 * sunrpc/clnt_unix.c: Likewise.
15695 * sysdeps/unix/bsd/ptsname.c: Likewise.
15696 * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
15697 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
15698 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
15700 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
15702 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
15704 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
15706 2013-08-28 Siddhesh Poyarekar <siddhesh@redhat.com>
15708 * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
15709 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
15711 2013-08-27 Mike Frysinger <vapier@gentoo.org>
15714 * dlfcn/Makefile (tests): Add bug-dl-leaf.
15715 (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
15716 ($(objpfx)bug-dl-leaf): New rule.
15717 ($(objpfx)bug-dl-leaf.so): Likewise.
15718 ($(objpfx)bug-dl-leaf.out): Likewise.
15719 ($(objpfx)bug-dl-leaf-lib.so): Likewise.
15720 ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
15721 * dlfcn/bug-dl-leaf.c: New test.
15722 * dlfcn/bug-dl-leaf-lib.c: Likewise.
15723 * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
15724 * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
15725 (dlclose): Likewise.
15726 (dlmopen): Likewise.
15728 2013-08-27 Roland McGrath <roland@hack.frob.com>
15730 * include/netdb.h [!_ISOMAC]:
15731 Don't include <tls.h>.
15732 (h_errno, __libc_h_errno): Move declaration and macros out of
15735 * include/resolv.h [_RESOLV_H_]:
15736 Don't include <tls.h>.
15737 (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
15738 * resolv/res_libc.c: Don't include <tls.h>.
15739 (_res): Use __attribute__ ((nocommon)) in place of
15740 __attribute__ ((section (".bss"))).
15742 * Makefile ($(common-objpfx)linkobj/libc_pic.a):
15743 If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
15745 * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
15747 * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
15748 only under [SIOCGIFCONF && SIOCGIFNETMASK].
15750 * resolv/res_mkquery.c: Include <sys/time.h>.
15752 * inet/ifreq.c: Moved to ...
15753 * sysdeps/unix/ifreq.c: ... here.
15754 * inet/ifreq.c: New file, true stub version.
15756 * socket/sa_len.c: New file.
15757 * socket/Makefile (aux): Add it.
15758 * sysdeps/unix/sysv/linux/Makefile
15759 [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
15760 * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
15761 and #include <socket/sa_len.c>.
15762 * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
15763 HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
15765 * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
15766 * bits/socket.h: ... here.
15768 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
15769 Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
15770 (SOCK_MAX, SOCK_TYPE_MASK): New macros.
15772 2013-08-27 Andreas Schwab <schwab@suse.de>
15775 * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
15776 * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
15777 (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
15778 * string/test-strcasecmp.c (test_main): Run tests in several
15780 * string/test-strncasecmp.c (test_main): Likewise.
15782 * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
15783 (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
15784 to __strcasecmp_nonascii and __strncasecmp_nonascii.
15785 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
15786 (__strncasecmp_ssse3) [PIC]: Likewise.
15788 2013-08-26 Roland McGrath <roland@hack.frob.com>
15790 * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
15792 * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
15793 instead of explicitly declaring xdecrypt.
15794 * nis/nss_nis/nis-publickey.c: Likewise.
15796 2013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
15799 * nscd/aicache.c: Include res_hconf.h.
15800 (addhstaiX): Initialize res_hconf.
15802 2013-08-26 Andreas Schwab <schwab@suse.de>
15804 * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
15805 ($(objpfx)tst-tls-atexit): Add dependencies here instead.
15807 2013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
15809 * nscd/aicache.c (addhstaiX): Fix indentation.
15811 2013-08-25 Mike Frysinger <vapier@gentoo.org>
15813 * configure.ac: Quote $build_pt_chown test.
15814 * configure: Regenerated.
15816 2013-08-23 Joseph Myers <joseph@codesourcery.com>
15819 * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
15820 * math/s_cexpf.c (__cexpf): Likewise.
15821 * math/s_cexpl.c (__cexpl): Likewise.
15822 * math/libm-test.inc (cexp_test_data): Correct expected return
15823 value for NaN + i0. Add another test.
15825 2013-08-22 David S. Miller <davem@davemloft.net>
15827 * po/ca.po: Update Catalan translation from translation project.
15828 * po/uk.po: Add Ukrainian translations from translation project.
15830 2013-08-21 Joseph Myers <joseph@codesourcery.com>
15833 * math/s_fdim.c (__fdim): Check for infinite arguments if result
15834 is infinite, not alongside NaN test.
15835 * math/s_fdimf.c (__fdimf): Likewise.
15836 * math/s_fdiml.c (__fdiml): Likewise.
15837 * math/libm-test.inc (fdim_test_data): Add more tests. Test that
15838 errno is unchanged.
15840 2013-08-21 Ondřej Bílka <neleai@seznam.cz>
15842 * argp/argp-help.c: Fix typos.
15843 * crypt/speeds.c: Likewise.
15844 * csu/check_fds.c: Likewise.
15845 * elf/dl-load.c: Likewise.
15846 * elf/dl-open.c: Likewise.
15847 * elf/reldep3.c: Likewise.
15848 * elf/reldep.c: Likewise.
15849 * elf/sprof.c: Likewise.
15850 * iconv/iconv_charmap.c: Likewise.
15851 * iconv/skeleton.c: Likewise.
15852 * iconv/strtab.c: Likewise.
15853 * io/lockf64.c: Likewise.
15854 * libio/libioP.h: Likewise.
15855 * resolv/gai_notify.c: Likewise.
15856 * resolv/ns_name.c: Likewise.
15857 * resolv/ns_samedomain.c: Likewise.
15858 * resolv/res_send.c: Likewise.
15859 * stdlib/random.c: Likewise.
15860 * sunrpc/rpc/xdr.h: Likewise.
15861 * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
15862 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
15863 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
15864 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
15865 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
15866 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
15867 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
15868 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
15869 * sysdeps/mach/hurd/check_fds.c: Likewise.
15870 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
15871 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
15872 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
15873 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
15874 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
15875 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
15876 * sysdeps/pthread/aio_notify.c: Likewise.
15877 * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
15878 * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
15879 * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
15880 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
15881 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
15883 2013-08-21 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
15885 * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
15886 version if bit_Slow_SSE4_2 is set.
15887 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
15888 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
15890 2013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15893 * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
15894 trampoline stack frame information.
15895 * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
15896 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
15897 (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
15898 (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
15899 (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
15900 * sysdeps/unix/sysv/linux/powerpc/init-first.c
15901 (_libc_vdso_platform_setup): Initialize the signal trampolines.
15902 * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
15904 * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
15905 interrupting a syscall and set with option SA_SIGINFO.
15907 2013-08-20 Joseph Myers <joseph@codesourcery.com>
15910 * math/s_cproj.c (__cproj): Only return an infinity if one part of
15911 argument is infinite.
15912 * math/s_cprojf.c (__cprojf): Likewise.
15913 * math/s_cprojl.c (__cprojl): Likewise.
15914 * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
15915 * math/libm-test.inc (cproj_test_data): Add more tests.
15917 * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
15919 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
15920 [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
15921 size. Use __ffs to determine corresponding shift.
15923 2013-08-20 Joseph Myers <joseph@codesourcery.com>
15924 Roland McGrath <roland@hack.frob.com>
15926 * Makefile (INSTALL): Remove trailing blank lines from output of
15929 2013-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
15931 * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
15932 Align 32 bit compat elf_greg to 8 bytes.
15934 2013-08-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
15936 * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
15938 2013-08-20 Siddhesh Poyarekar <siddhesh@redhat.com>
15940 * string/strcoll_l.c (coll_seq): New structure.
15941 (get_next_seq_cached): New function.
15942 (get_next_seq): New function.
15943 (do_compare): New function.
15944 (STRCOLL): Use GNU style definition. Simplify implementation
15945 by using get_next_seq, get_next_seq_cached and do_compare.
15947 2013-08-16 Florian Weimer <fweimer@redhat.com>
15951 * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
15953 * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
15955 * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
15956 * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
15957 Return delayed error code. Remove GETDENTS_64BIT_ALIGNED
15959 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
15960 GETDENTS_64BIT_ALIGNED.
15961 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
15962 * manual/filesys.texi (Reading/Closing Directory): Document
15963 ENAMETOOLONG return value of readdir_r. Recommend readdir more
15965 * manual/conf.texi (Limits for Files): Add portability note to
15966 NAME_MAX, PATH_MAX.
15967 (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
15969 2013-08-13 Andreas Schwab <schwab@suse.de>
15972 * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
15974 * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
15975 LDBL_MAX_EXP >= 16384]: Add tests for it.
15977 2013-08-12 David S. Miller <davem@davemloft.net>
15979 * version.h (RELEASE): Set to "development".
15980 (VERSION): Set to "2.18.90".
15981 * NEWS: Add 2.19 section.
15983 2013-08-03 David S. Miller <davem@davemloft.net>
15985 * po/ko.po: Update Korean translation from translation project.
15987 2013-08-01 David S. Miller <davem@davemloft.net>
15989 * manual/contrib.texi: Update entry for Siddhesh Poyarekar. Add
15990 entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
15993 2013-07-30 David S. Miller <davem@davemloft.net>
15995 * po/fr.po: Update French translation from translation project.
15997 2013-07-28 David S. Miller <davem@davemloft.net>
15999 * po/cs.po: Update Czech translation from translation project.
16001 * po/sv.po: Update Swedish translation from translation project.
16003 2013-07-27 David S. Miller <davem@davemloft.net>
16005 * po/eo.po: Update Esperanto translation from translation project.
16007 * po/vi.po: Update Vietnamese translation from translation project.
16009 * po/de.po: Update German translation from translation project.
16011 2013-07-26 David S. Miller <davem@davemloft.net>
16013 * po/bg.po: Update Bulgarian translation from translation project.
16015 * po/nl.po: Update Dutch translation from translation project.
16016 * po/pl.po: Update Polish translation from translation project.
16017 * po/ru.po: Update Russian translation from translation project.
16019 2013-07-24 David S. Miller <davem@davemloft.net>
16021 * po/libc.pot: Update.
16023 2013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16025 * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
16026 variable page size.
16027 * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
16028 * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
16029 * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
16031 2013-07-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
16033 * sysdeps/s390/fpu/libm-test-ulps: Refresh.
16035 2013-07-21 Siddhesh Poyarekar <siddhesh@redhat.com>
16036 Andreas Schwab <schwab@suse.de>
16037 Roland McGrath <roland@hack.frob.com>
16038 Joseph Myers <joseph@codesourcery.com>
16039 Carlos O'Donell <carlos@redhat.com>
16042 * config.h.in: Define HAVE_PT_CHOWN.
16043 * config.make.in (build-pt-chown): New variable.
16044 * configure.in (--enable-pt_chown): New configure option.
16045 * configure: Regenerate.
16046 * login/Makefile: Include Makeconfig. Build pt_chown only if
16047 build-pt-chown is enabled.
16048 * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
16049 pt_chown to fix pty ownership.
16050 * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
16052 * manual/install.texi (Configuring and compiling): Mention
16053 --enable-pt_chown. Add @findex for grantpt.
16054 * INSTALL: Regenerate.
16056 2013-07-20 David S. Miller <davem@davemloft.net>
16058 * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
16059 difference between 32-bit and 64-bit.
16061 2013-07-15 Carlos O'Donell <carlos@redhat.com>
16064 * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
16065 Avoid system header dependency with -ffreestanding.
16066 ($(objpfx)bits/syscall%d): Likewise.
16068 2013-07-13 David S. Miller <davem@davemloft.net>
16070 * math/libm-test.inc (casin_test_data): Annotate more cases of missing
16071 underflows from atanl/atan2l due to bug 15319.
16072 (casinh_test_data): Likewise.
16074 2013-07-07 David S. Miller <davem@davemloft.net>
16076 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
16078 2013-07-05 Jeroen Albers <_jeroen_@yahoo.com>
16080 * sysdeps/i386/fpu/libm-test-ulps: Update.
16081 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16083 2013-07-04 Siddhesh Poyarekar <siddhesh@redhat.com>
16085 * configure.in (--enable-lock-elision): Fix message text.
16086 * INSTALL: Regenerate.
16087 * configure: Regenerate.
16089 2013-07-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16091 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16093 2013-07-03 Andreas Jaeger <aj@suse.de>
16095 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
16097 (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
16098 (ptrace_peeksiginfo_args): Add.
16099 (__ptrace_peeksiginfo_flags): Add.
16100 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
16101 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
16102 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
16104 2013-07-03 Allan McRae <allan@archlinux.org>
16106 * sysdeps/i386/fpu/libm-test-ulps: Update.
16108 2013-07-02 David S. Miller <davem@davemloft.net>
16110 * sysdeps/sparc/fpu/libm-test-ulps: Update.
16112 2013-07-02 Markus Trippelsdorf <markus@trippelsdorf.de>
16114 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
16116 2013-07-02 Joseph Myers <joseph@codesourcery.com>
16118 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
16119 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16121 2013-07-02 Andi Kleen <ak@linux.intel.com>
16123 * config.h.in (ENABLE_LOCK_ELISION): Add.
16124 * configure.in (--enable-lock-elision): Add option.
16125 * manual/install.texi: Document --enable lock elision.
16126 * configure: Regenerate
16127 * INSTALL: Regenerate.
16129 2013-07-02 H.J. Lu <hongjiu.lu@intel.com>
16131 * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
16132 SSE4.2 strcasecmp for libc.a.
16133 * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
16135 2013-07-02 Joseph Myers <joseph@codesourcery.com>
16138 * soft-fp/op-common.h (_FP_FMA): New macro.
16139 * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
16140 (_FP_MUL_MEAT_DW_1_imm): Likewise. Split out of ...
16141 (_FP_MUL_MEAT_1_imm): ... here.
16142 (_FP_MUL_MEAT_DW_1_wide): New macro. Split out of ...
16143 (_FP_MUL_MEAT_1_wide): ... here.
16144 (_FP_MUL_MEAT_DW_1_hard): Likewise. Split out of ...
16145 (_FP_MUL_MEAT_1_hard): ... here.
16146 * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
16147 (_FP_MUL_MEAT_DW_2_wide): Likewise. Split out of ...
16148 (_FP_MUL_MEAT_2_wide): ... here.
16149 (_FP_MUL_MEAT_DW_2_wide_3mul): New macro. Split out of ...
16150 (_FP_MUL_MEAT_2_wide_3mul): ... here.
16151 (_FP_MUL_MEAT_DW_2_gmp): New macro. Split out of ...
16152 (_FP_MUL_MEAT_2_gmp): ... here.
16153 * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
16154 (_FP_MUL_MEAT_DW_4_wide): Likewise. Split out of ...
16155 (_FP_MUL_MEAT_4_wide): ... here.
16156 (_FP_MUL_MEAT_DW_4_gmp): New macro. Split out of ...
16157 (_FP_MUL_MEAT_4_gmp): ... here.
16158 * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
16159 (_FP_WFRACBITS_DW_S): Likewise.
16160 (_FP_WFRACXBITS_DW_S): Likewise.
16161 (_FP_HIGHBIT_DW_S): Likewise.
16162 (FP_FMA_S): Likewise.
16163 (_FP_FRAC_HIGH_DW_S): Likewise.
16164 * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
16165 (_FP_WFRACBITS_DW_D): Likewise.
16166 (_FP_WFRACXBITS_DW_D): Likewise.
16167 (_FP_HIGHBIT_DW_D): Likewise.
16168 (FP_FMA_D): Likewise.
16169 (_FP_FRAC_HIGH_DW_D): Likewise.
16170 * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
16171 (_FP_WFRACBITS_DW_E): Likewise.
16172 (_FP_WFRACXBITS_DW_E): Likewise.
16173 (_FP_HIGHBIT_DW_E): Likewise.
16174 (FP_FMA_E): Likewise.
16175 (_FP_FRAC_HIGH_DW_E): Likewise.
16176 * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
16177 (_FP_WFRACBITS_DW_Q): Likewise.
16178 (_FP_WFRACXBITS_DW_Q): Likewise.
16179 (_FP_HIGHBIT_DW_Q): Likewise.
16180 (FP_FMA_Q): Likewise.
16181 (_FP_FRAC_HIGH_DW_Q): Likewise.
16182 * soft-fp/fmasf4.c: New file.
16183 * soft-fp/fmadf4.c: Likewise.
16184 * soft-fp/fmatf4.c: Likewise.
16186 2013-06-28 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
16188 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
16189 bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
16191 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
16193 (index_Slow_SSE4_2): Likewise.
16194 (index_Prefer_PMINUB_for_stringop): Likewise.
16195 * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
16196 bit_Slow_SSE4_2 is set.
16197 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
16198 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
16200 2013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
16202 * sysdeps/powerpc/Makefile: Add comment about generating an offset to
16203 rtld_global._dl_hwcap2.
16204 * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
16206 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
16207 POWER8 feature descriptions defined in _dl_hwcap2.
16208 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
16209 string handling for POWER8 feature bits.
16210 (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
16211 (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
16212 _dl_powerpc_cap_flags.
16213 (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
16214 * sysdeps/powerpc/rtld-global-offsets.sym
16215 (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
16216 _dl_hwcap2 in the rtld_global_ro structure.
16218 2013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
16220 * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
16221 hardware capabilities in support of AT_HWCAP2.
16222 (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
16223 * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
16225 (_dl_show_auxv): Add support for calling _dl_procinfo to display
16226 AT_HWCAP2. If a platform doesn't chose to handle displaying AT_HWCAP2
16227 explicitly the unknown a_type display mechanism is used.
16228 * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
16229 * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
16231 * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
16232 to macro prototype for AT_HWCAP2 support.
16233 * sysdeps/i386/dl-procinfo.h: Likewise.
16234 * sysdeps/s390/dl-procinfo.h: Likewise.
16235 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
16236 macro prototype for AT_HWCAP2 support. Make WORD unsigned long int
16237 rather than signed int. Stub in handler for TYPE == AT_HWCAP2 to
16238 return -1 for unknown a_type display fallback.
16239 * sysdeps/sparc/dl-procinfo.h: Likewise.
16240 * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
16241 * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
16243 2013-06-28 Joseph Myers <joseph@codesourcery.com>
16245 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
16246 instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
16248 2013-06-28 Pierre Ynard <linkfanel@yahoo.fr>
16251 * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
16252 mprotect making __stack_prot writable.
16254 2013-06-28 Nathan Froyd <froydnj@codesourcery.com>
16255 Joseph Myers <joseph@codesourcery.com>
16257 * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
16258 as being properly aligned.
16260 2013-06-28 Maciej W. Rozycki <macro@codesourcery.com>
16262 * dlfcn/modstatic5.c: New file.
16263 * dlfcn/tststatic5.c: New file.
16264 * dlfcn/Makefile (tests): Add tststatic5.
16265 (tests-static): Likewise.
16266 (modules-names): Add modstatic5.
16267 (tststatic5-ENV): New variable.
16268 ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
16271 * elf/dl-support.c (_dl_main_map): New variable.
16272 (_dl_ns): Use it to initialize [LM_ID_BASE] element.
16273 (_dl_nns, _dl_load_adds): Set to 1.
16274 (_dl_initial_searchlist): Refer to _dl_main_map.
16275 (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
16276 * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
16277 call to _dl_get_origin.
16278 * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
16280 (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
16281 * dlfcn/modstatic3.c: New file.
16282 * dlfcn/tststatic3.c: New file.
16283 * dlfcn/tststatic4.c: New file.
16284 * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
16285 (tests-static): Likewise.
16286 (modules-names): Add modstatic3.
16287 (tststatic3-ENV, tststatic4-ENV): New variables.
16288 ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
16289 ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
16291 2013-06-26 Joseph Myers <joseph@codesourcery.com>
16293 * configure.in (CC): Require GCC version 4.4 or later.
16294 * configure: Regenerated.
16295 * manual/install.texi (Tools for Compilation): Update GCC version
16297 * INSTALL: Regenerated.
16299 2013-06-26 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
16302 * string/test-memcmp.c (check2): New.
16303 (main): Call check2.
16305 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
16307 2013-06-26 Maciej W. Rozycki <macro@codesourcery.com>
16310 * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
16312 (dl_open_worker) [!SHARED]: ... here.
16314 2013-06-26 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
16316 * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
16318 2013-06-25 Richard Henderson <rth@redhat.com>
16320 * locale/programs/locarchive.c: Include <libc-internal.h>
16322 2013-06-25 Joseph Myers <joseph@codesourcery.com>
16324 * manual/texinfo.tex: Update to version 2013-06-21.17, with
16325 trailing whitespace removed.
16327 2013-06-24 Mike Frysinger <vapier@gentoo.org>
16330 * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
16331 * locale/programs/locarchive.c: Include libc-mmap.h.
16332 (prepare_address_space): Take two new outputs (the mmap base and len).
16333 Align p to MAP_FIXED_ALIGNMENT. Set mmap base and len to the right
16335 (create_archive): Declare new mmap base and len values for
16336 prepare_address_space, and store the result in ah.
16337 (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
16338 (enlarge_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 Declare new mmap base and len values for
16341 prepare_address_space, and store the result in new_ah.
16342 (open_archive): Declare new mmap base and len values for
16343 prepare_address_space, and store the result in ah.
16344 (close_archive): If ah->mmap_base is not NULL, use that and
16345 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
16346 * sysdeps/generic/libc-mmap.h: New file.
16348 2013-06-24 Mike Frysinger <vapier@gentoo.org>
16350 * include/libc-internal.h (ALIGN_DOWN): New helper macro.
16351 (ALIGN_UP): Likewise.
16352 (PTR_ALIGN_DOWN): Likewise.
16353 (PTR_ALIGN_UP): Likewise.
16355 2013-06-24 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
16357 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
16358 entry mapped to PPC_PLATFORM_POWER8.
16359 * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
16361 (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
16362 (_dl_string_platform): Add case for exporting platform position for
16364 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
16365 search path to sysdeps/powerpc/powerpc32/power8 directory.
16366 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
16367 search path to sysdeps/powerpc/powerpc64/power8 directory.
16368 * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
16369 power7 directories.
16370 * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
16371 power7 directories.
16373 2013-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
16375 * INSTALL: Regenerate.
16377 * nscd/connections.c (nscd_init): Fix comment.
16379 2013-06-22 Joseph Myers <joseph@codesourcery.com>
16381 * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
16384 * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
16385 to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
16387 2013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
16389 * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
16391 (DL_DST_REQ_STATIC): Remove macro.
16393 2013-06-21 Joseph Myers <joseph@codesourcery.com>
16396 * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
16397 with a shift of 0 bits.
16399 2013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
16401 * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
16404 2013-06-21 Kaz Kojima <kkojima@rr.iij4u.or.jp>
16407 * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
16409 2013-06-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16411 * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
16412 * configure.in (libc_cv_cc_loop_to_function): Check if compiler
16413 accepts -fno-tree-loop-distribute-patterns.
16414 * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
16415 * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
16417 * string/memset.c (memset): Likewise.
16418 * string/test-memmove.c (simple_memmove): Disable loop transformation
16420 * string/test-memset.c (simple_memset): Likewise.
16421 * benchtests/bench-memmove.c (simple_memmove): Likewise.
16422 * benchtests/bench-memset.c (simple_memset): Likewise.
16423 * configure: Regenerated.
16425 2013-06-20 Joseph Myers <joseph@codesourcery.com>
16427 * math/test-misc.c (main): Ignore fesetround failure when failures
16428 of subsequent rounding tests would be ignored.
16431 * math/fedisblxcpt.c (fedisableexcept): Return 0.
16432 * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
16433 * math/fegetenv.c (__fegetenv): Return 0.
16434 * math/fegetexcept.c (fegetexcept): Return 0.
16435 * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
16437 * math/feholdexcpt.c (feholdexcept): Return 0.
16438 * math/fesetenv.c (__fesetenv): Return 0.
16439 * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
16440 argument FE_TONEAREST.
16441 * math/feupdateenv.c (__feupdateenv): Return 0.
16442 * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
16444 2013-06-18 Roland McGrath <roland@hack.frob.com>
16446 * elf/rtld-Rules (rtld-compile-command.S): New variable.
16447 (rtld-compile-command.s, rtld-compile-command.c): New variables.
16448 ($(objpfx)rtld-%.os rules): Use them.
16450 2013-06-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16452 * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
16455 2013-06-17 Roland McGrath <roland@hack.frob.com>
16457 * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
16458 length of target pattern, then descending length of dependency pattern.
16459 * configure.in (AWK): Require gawk 3.1.2 or newer.
16460 * manual/install.texi (Tools for Compilation): Say that we do.
16461 * configure: Regenerated.
16463 * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
16464 ($(common-objpfx)sysd-rules): Replace shell logic with running ...
16465 * scripts/sysd-rules.awk: ... this new script.
16466 * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
16467 than a glob-style pattern.
16469 2013-06-17 Joseph Myers <joseph@codesourcery.com>
16471 * math/test-misc.c (main): Do not treat incorrectly rounded
16472 conversions as failure unless ROUNDING_TESTS passes.
16474 2013-06-15 Joseph Myers <joseph@codesourcery.com>
16477 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
16478 restore exception state around main square root computation, then
16479 check for inexactness explicitly.
16481 * math/libm-test.inc (fma_test_data): Add another test.
16483 2013-06-15 Siddhesh Poyarekar <siddhesh@redhat.com>
16485 * manual/threads.texi (Non-POSIX Extensions): New document
16486 node. Document pthread_getattr_default_np and
16487 pthread_setattr_default_np.
16489 * Versions.def (libpthread): Add GLIBC_2.18.
16490 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
16491 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
16493 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
16495 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
16497 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
16499 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
16501 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
16503 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
16505 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
16507 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
16510 2013-06-14 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
16512 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
16513 Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
16515 2013-06-14 Siddhesh Poyarekar <siddhesh@redhat.com>
16516 H.J. Lu <hjl.tools@gmail.com>
16519 * sysdeps/x86_64/rtld-memset.c: Remove file.
16520 * sysdeps/x86_64/rtld-memset.S: New file.
16522 2013-06-14 Joseph Myers <joseph@codesourcery.com>
16524 * stdlib/tst-strtod-round.c: Include <math-tests.h>.
16525 (test_in_one_mode): Take arguments for whether the rounding mode
16526 is supported for each floating-point type.
16527 (do_test): Pass new arguments to test_in_one_mode using
16530 2013-06-13 Roland McGrath <roland@hack.frob.com>
16532 * posix/tst-waitid.c (do_test): Distinguish different instances of
16533 stopped/continued in CHECK_SIGCHLD uses. Insert a delay between
16534 sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
16535 before entering the kernel for waitpid.
16537 2013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
16539 * NEWS: Fix note on clock function precision. Text by Roland
16542 2013-06-13 Roland McGrath <roland@hack.frob.com>
16544 * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
16545 it into place only when and if the sanity check passes.
16547 2013-06-13 Joseph Myers <joseph@codesourcery.com>
16549 * stdlib/gen-tst-strtod-round.c (round_str): Always generate
16550 output for whether conversion result is exact. Take argument
16551 indicating whether type is IBM long double.
16552 (round_for_all): Change need_exact field to ibm_ld.
16553 * stdlib/tst-strtod-round.c (struct exactness): New type.
16554 (struct test): Change bool ld_ok field to struct exactness exact.
16555 (TEST): Update all definitions for change to field.
16556 (tests): Regenerate array contents.
16557 (test_in_one_mode): Take pointer to new field instead of old ld_ok
16558 field value. Check for IBM long double here.
16559 (do_test): Update calls to test_in_one_mode.
16561 2013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
16564 * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
16565 CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
16567 2013-06-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16570 * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
16571 generated by the compiler on loop optimizations.
16572 * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
16573 general definitions.
16575 2013-06-12 Joseph Myers <joseph@codesourcery.com>
16577 * math/bug-nextafter.c: Include <math-tests.h>.
16578 (main): Only test for exceptions if EXCEPTION_TESTS is true for
16580 * math/bug-nexttoward.c: Include <math-tests.h>.
16581 (main): Only test for exceptions if EXCEPTION_TESTS is true for
16583 * math/test-misc.c: Include <math-tests.h>.
16584 (main): Only test for exceptions if EXCEPTION_TESTS is true for
16587 2013-06-12 Andreas Jaeger <aj@suse.de>
16589 * po/ia.po: Update Interlingua translation from translation
16592 2013-06-12 Siddhesh Poyarekar <siddhesh@redhat.com>
16594 * include/fenv.h: Include stdbool.h.
16595 (struct rm_ctx): New structure.
16596 * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
16598 (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
16599 (SET_RESTORE_ROUNDF): Likewise.
16600 (SET_RESTORE_ROUNDL): Likewise.
16601 (SET_RESTORE_ROUND_NOEX): Likewise.
16602 (SET_RESTORE_ROUND_NOEXF): Likewise.
16603 (SET_RESTORE_ROUND_NOEXL): Likewise.
16604 (SET_RESTORE_ROUND_53BIT): Likewise.
16605 [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
16606 (libc_feresetround_noexf_ctx): Likewise.
16607 (libc_feresetround_noexl_ctx): Likewise.
16608 (libc_feholdsetround_53bit_ctx): Likewise.
16609 (libc_feresetround_53bit_ctx): Likewise.
16610 * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
16611 (libc_feholdexcept_setround_sse_ctx): New function.
16612 (libc_fesetenv_sse_ctx): Likewise.
16613 (libc_feupdateenv_sse_ctx): Likewise.
16614 (libc_feholdexcept_setround_387_prec_ctx): Likewise.
16615 (libc_feholdexcept_setround_387_ctx): Likewise.
16616 (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
16617 (libc_feholdsetround_387_prec_ctx): Likewise.
16618 (libc_feholdsetround_387_ctx): Likewise.
16619 (libc_feholdsetround_387_53bit_ctx): Likewise.
16620 (libc_feholdsetround_sse_ctx): Likewise.
16621 (libc_feresetround_sse_ctx): Likewise.
16622 (libc_feresetround_387_ctx): Likewise.
16623 (libc_feupdateenv_387_ctx): Likewise.
16624 (libc_feholdexcept_setroundf_ctx): Define macro.
16625 (libc_fesetenvf_ctx): Likewise.
16626 (libc_feupdateenvf_ctx): Likewise.
16627 (libc_feholdsetroundf_ctx): Likewise.
16628 (libc_feresetroundf_ctx): Likewise.
16629 (libc_feholdexcept_setround_ctx): Likewise.
16630 (libc_fesetenv_ctx): Likewise.
16631 (libc_feupdateenv_ctx): Likewise.
16632 (libc_feholdsetround_ctx): Likewise.
16633 (libc_feresetround_ctx): Likewise.
16634 (libc_feholdexcept_setroundl_ctx): Likewise.
16635 (libc_feupdateenvl_ctx): Likewise.
16636 (libc_feholdsetroundl_ctx): Likewise.
16637 (libc_feresetroundl_ctx): Likewise.
16638 [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
16639 (libc_feresetround_53bit_ctx): Likewise.
16641 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
16643 * locale/iso-639.def: Convert to UTF-8.
16645 2013-06-11 Joseph Myers <joseph@codesourcery.com>
16647 * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
16648 (EXCEPTION_TESTS_double): Likewise.
16649 (EXCEPTION_TESTS_long_double): Likewise.
16650 (EXCEPTION_TESTS): Likewise.
16651 * math/libm-test.inc (test_exceptions): Only test exceptions if
16652 EXCEPTION_TESTS (FLOAT).
16654 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
16656 * benchtests/Makefile (string-bench): Add strcpy_chk and
16658 * benchtests/bench-stpcpy_chk-ifunc.c: New file.
16659 * benchtests/bench-stpcpy_chk.c: New file.
16660 * benchtests/bench-strcpy_chk-ifunc.c: New file.
16661 * benchtests/bench-strcpy_chk.c: New file.
16662 * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
16664 (do_test): Likewise.
16666 2013-06-11 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
16668 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
16669 ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
16670 * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
16671 with tabs where appropriate.
16672 [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
16674 [PPC_PLATFORM_PPC440]: Likewise.
16675 [PPC_PLATFORM_PPC464]: Likewise.
16676 [PPC_PLATFORM_PPC476]: Likewise.
16677 (_dl_string_platform): Add support for detecting ppc405, ppc440,
16678 ppc464, and ppc476 platform strings merging from ports/
16681 2013-06-11 Andreas Schwab <schwab@suse.de>
16684 * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
16685 (from_ucs4_idx): Regenerate.
16686 (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
16687 (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
16688 (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
16689 (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
16690 (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
16691 (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
16692 (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
16693 (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
16694 from FROM_LOOP and TO_LOOP specific macros.
16695 (BODY): Handle combining characters.
16696 * iconvdata/BIG5HKSCS.irreversible: Update.
16697 * iconvdata/BIG5HKSCS.precomposed: New file.
16698 * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
16700 * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
16702 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
16704 * include/sys/time.h: Fix indentation and add copyright header.
16706 * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
16707 (do_test): Likewise.
16708 * string/test-memchr.c (do_one_test): Likewise.
16709 (do_test): Likewise.
16710 * string/test-memcmp.c (do_one_test): Likewise.
16711 (do_test): Likewise.
16712 * string/test-memcpy.c (do_one_test): Likewise.
16713 (do_test): Likewise.
16714 * string/test-memmem.c (do_one_test): Likewise.
16715 (do_test): Likewise.
16716 (do_random_tests): Likewise.
16717 * string/test-memmove.c (do_one_test): Likewise.
16718 (do_test): Likewise.
16719 * string/test-memset.c (do_one_test): Likewise.
16720 (do_test): Likewise.
16721 * string/test-rawmemchr.c (do_one_test): Likewise.
16722 (do_test): Likewise.
16723 * string/test-strcasecmp.c (do_one_test): Likewise.
16724 (do_test): Likewise.
16725 * string/test-strcasestr.c (do_one_test): Likewise.
16726 (do_test): Likewise.
16727 * string/test-strcat.c (do_one_test): Likewise.
16728 (do_test): Likewise.
16729 * string/test-strchr.c (do_one_test): Likewise.
16730 (do_test): Likewise.
16731 * string/test-strcmp.c (do_one_test): Likewise.
16732 (do_test): Likewise.
16733 * string/test-strcpy.c (do_one_test): Likewise.
16734 (do_test): Likewise.
16735 * string/test-string.h: Likewise.
16736 (test_init): Likewise.
16737 * string/test-strlen.c (do_one_test): Likewise.
16738 (do_test): Likewise.
16739 * string/test-strncasecmp.c (do_one_test): Likewise.
16740 (do_test): Likewise.
16741 * string/test-strncat.c (do_one_test): Likewise.
16742 (do_test): Likewise.
16743 * string/test-strncmp.c (do_one_test): Likewise.
16744 (do_test_limit): Likewise.
16745 (do_test): Likewise.
16746 * string/test-strncpy.c (do_one_test): Likewise.
16747 (do_test): Likewise.
16748 * string/test-strnlen.c (do_one_test): Likewise.
16749 (do_test): Likewise.
16750 * string/test-strpbrk.c (do_one_test): Likewise.
16751 (do_test): Likewise.
16752 * string/test-strrchr.c (do_one_test): Likewise.
16753 (do_test): Likewise.
16754 * string/test-strspn.c (do_one_test): Likewise.
16755 (do_test): Likewise.
16756 * string/test-strstr.c (do_one_test): Likewise.
16757 (do_test): Likewise.
16759 * benchtests/Makefile (string-bench): Add string benchmarks.
16760 * benchtests/bench-bcopy-ifunc.c: New file.
16761 * benchtests/bench-bcopy.c: New file.
16762 * benchtests/bench-bzero-ifunc.c: New file.
16763 * benchtests/bench-bzero.c: New file.
16764 * benchtests/bench-memccpy-ifunc.c: New file.
16765 * benchtests/bench-memccpy.c: New file.
16766 * benchtests/bench-memchr-ifunc.c: New file.
16767 * benchtests/bench-memchr.c: New file.
16768 * benchtests/bench-memcmp-ifunc.c: New file.
16769 * benchtests/bench-memcmp.c: New file.
16770 * benchtests/bench-memmem-ifunc.c: New file.
16771 * benchtests/bench-memmem.c: New file.
16772 * benchtests/bench-memmove-ifunc.c: New file.
16773 * benchtests/bench-memmove.c: New file.
16774 * benchtests/bench-mempcpy-ifunc.c: New file.
16775 * benchtests/bench-mempcpy.c: New file.
16776 * benchtests/bench-memset-ifunc.c: New file.
16777 * benchtests/bench-memset.c: New file.
16778 * benchtests/bench-rawmemchr-ifunc.c: New file.
16779 * benchtests/bench-rawmemchr.c: New file.
16780 * benchtests/bench-stpcpy-ifunc.c: New file.
16781 * benchtests/bench-stpcpy.c: New file.
16782 * benchtests/bench-stpncpy-ifunc.c: New file.
16783 * benchtests/bench-stpncpy.c: New file.
16784 * benchtests/bench-strcasecmp-ifunc.c: New file.
16785 * benchtests/bench-strcasecmp.c: New file.
16786 * benchtests/bench-strcasestr-ifunc.c: New file.
16787 * benchtests/bench-strcasestr.c: New file.
16788 * benchtests/bench-strcat-ifunc.c: New file.
16789 * benchtests/bench-strcat.c: New file.
16790 * benchtests/bench-strchr-ifunc.c: New file.
16791 * benchtests/bench-strchr.c: New file.
16792 * benchtests/bench-strchrnul-ifunc.c: New file.
16793 * benchtests/bench-strchrnul.c: New file.
16794 * benchtests/bench-strcmp-ifunc.c: New file.
16795 * benchtests/bench-strcmp.c: New file.
16796 * benchtests/bench-strcpy-ifunc.c: New file.
16797 * benchtests/bench-strcpy.c: New file.
16798 * benchtests/bench-strcspn-ifunc.c: New file.
16799 * benchtests/bench-strcspn.c: New file.
16800 * benchtests/bench-strlen-ifunc.c: New file.
16801 * benchtests/bench-strlen.c: New file.
16802 * benchtests/bench-strncasecmp-ifunc.c: New file.
16803 * benchtests/bench-strncasecmp.c: New file.
16804 * benchtests/bench-strncat-ifunc.c: New file.
16805 * benchtests/bench-strncat.c: New file.
16806 * benchtests/bench-strncmp-ifunc.c: New file.
16807 * benchtests/bench-strncmp.c: New file.
16808 * benchtests/bench-strncpy-ifunc.c: New file.
16809 * benchtests/bench-strncpy.c: New file.
16810 * benchtests/bench-strnlen-ifunc.c: New file.
16811 * benchtests/bench-strnlen.c: New file.
16812 * benchtests/bench-strpbrk-ifunc.c: New file.
16813 * benchtests/bench-strpbrk.c: New file.
16814 * benchtests/bench-strrchr-ifunc.c: New file.
16815 * benchtests/bench-strrchr.c: New file.
16816 * benchtests/bench-strspn-ifunc.c: New file.
16817 * benchtests/bench-strspn.c: New file.
16818 * benchtests/bench-strstr-ifunc.c: New file.
16819 * benchtests/bench-strstr.c: New file.
16821 * benchtests/Makefile: Disable parallel execution of targets.
16822 (string-bench): Add memcpy.
16823 (benchset): New variable to store a list of benchmark sets.
16824 (bench-func): Renamed from bench.
16825 (bench-set): New target.
16826 (bench): Depend on bench-func and bench-set.
16827 * benchtests/README: Add section on benchmark sets.
16828 * benchtests/bench-memcpy-ifunc.c: New file.
16829 * benchtests/bench-memcpy.c: New file.
16830 * benchtests/bench-string.h: New file.
16832 2013-06-11 Andreas Schwab <schwab@suse.de>
16835 * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
16836 * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
16837 values in the triple.
16838 * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
16839 terminator in the group key.
16841 2013-06-11 Andreas Jaeger <aj@suse.de>
16843 * po/zh_TW.po: Update Chinese (traditional) translation from
16844 translation project.
16846 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
16848 * include/time.h (__clock_gettime): Add libc_hidden_proto.
16849 * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
16850 __clock_getcpuclockid. Add weak_alias and libc_hidden_def.
16851 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
16852 (clock_getcpuclockid): Likewise.
16853 * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
16854 Add weak_alias and libc_hidden_def.
16855 * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
16856 * rt/clock_gettime.c (clock_gettime): Rename to
16857 __clock_gettime. Add weak_alias and libc_hidden_def.
16858 * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
16859 * rt/clock_nanosleep.c (clock_nanosleep): Rename to
16860 __clock_nanosleep. Add weak_alias and libc_hidden_def.
16861 * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
16862 * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
16864 * rt/clock_settime.c (clock_settime): Rename to
16865 __clock_settime. Add weak_alias and libc_hidden_def.
16866 * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
16868 2013-06-10 Joseph Myers <joseph@codesourcery.com>
16870 * mach/err_boot.sub: Remove trailing whitespace.
16871 * mach/err_ipc.sub: Likewise.
16872 * mach/err_mach.sub: Likewise.
16874 * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
16875 (ROUNDING_TESTS_double): Likewise.
16876 (ROUNDING_TESTS_long_double): Likewise.
16877 (ROUNDING_TESTS): Likewise.
16878 * math/libm-test.inc: Include <math-tests.h>.
16879 (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
16880 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
16881 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
16882 (IF_ROUND_INIT_FE_UPWARD): Likewise.
16884 2013-06-10 Siddhesh Poyarekar <siddhesh@redhat.com>
16886 * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
16889 2013-06-08 Joseph Myers <joseph@codesourcery.com>
16891 * sysdeps/gnu/errlist.awk: Do not generate space at end of
16892 otherwise empty TRANS lines.
16893 * sysdeps/gnu/errlist.c: Regenerated.
16895 * catgets/gencat.c (error_print): Use (void) in function
16897 * crypt/crypt_util.c (__init_des): Likewise.
16898 * crypt/speeds.c (Stop): Likewise.
16900 * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
16901 * inet/ruserpass.c (token): Likewise.
16902 * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
16903 * intl/localealias.c (extend_alias_table): Likewise.
16904 * intl/plural-exp.c (init_germanic_plural): Likewise.
16905 * libio/fcloseall.c (__fcloseall): Likewise.
16906 * libio/genops.c (_IO_flush_all): Likewise.
16907 (_IO_flush_all_linebuffered): Likewise.
16908 (_IO_cleanup): Likewise.
16909 (_IO_iter_begin): Likewise.
16910 (_IO_iter_end): Likewise.
16911 (_IO_list_lock): Likewise.
16912 (_IO_list_unlock): Likewise.
16913 (_IO_list_resetlock): Likewise.
16914 * libio/getchar.c (getchar): Likewise.
16915 * libio/getchar_u.c (getchar_unlocked): Likewise.
16916 * libio/getwchar.c (getwchar): Likewise.
16917 * libio/getwchar_u.c (getwchar_unlocked): Likewise.
16918 * libio/oldstdfiles.c (_IO_check_libio): Likewise.
16919 * login/getpt.c (__getpt): Likewise.
16920 * login/tst-utmp.c (main): Likewise.
16921 * malloc/hooks.c (__malloc_check_init): Likewise.
16922 * malloc/malloc.c (__malloc_stats): Likewise.
16923 * malloc/mtrace.c (tr_break): Likewise.
16924 (mtrace): Likewise.
16925 (muntrace): Likewise.
16926 * misc/fstab.c (endfsent): Likewise.
16927 * misc/getclktck.c (__getclktck): Likewise.
16928 * misc/getdtsz.c (__getdtablesize): Likewise.
16929 * misc/gethostid.c (gethostid): Likewise.
16930 * misc/getpagesize.c (__getpagesize): Likewise.
16931 * misc/getsysstats.c (__get_nprocs_conf): Likewise.
16932 (__get_nprocs): Likewise.
16933 (__get_phys_pages): Likewise.
16934 (__get_avphys_pages): Likewise.
16935 * misc/getttyent.c (getttyent): Likewise.
16936 (setttyent): Likewise.
16937 (endttyent): Likewise.
16938 * misc/getusershell.c (getusershell): Likewise.
16939 (endusershell): Likewise.
16940 (setusershell): Likewise.
16941 (initshells): Likewise.
16942 * misc/hsearch.c (__hdestroy): Likewise.
16943 * misc/sync.c (sync): Likewise.
16944 * misc/syslog.c (closelog_internal): Likewise.
16945 (closelog): Likewise.
16946 * misc/ttyslot.c (ttyslot): Likewise.
16947 * misc/vhangup.c (vhangup): Likewise.
16948 * posix/fork.c (__fork): Likewise.
16949 * posix/getegid.c (__getegid): Likewise.
16950 * posix/geteuid.c (__geteuid): Likewise.
16951 * posix/getgid.c (__getgid): Likewise.
16952 * posix/getpid.c (__getpid): Likewise.
16953 * posix/getppid.c (__getppid): Likewise.
16954 * posix/getuid.c (__getuid): Likewise.
16955 * posix/pause.c (pause): Likewise.
16956 * posix/setpgrp.c (setpgrp): Likewise.
16957 * posix/setsid.c (__setsid): Likewise.
16958 * posix/test-vfork.c (noop): Likewise.
16959 * resolv/gethnamaddr.c (_endhtent): Likewise.
16960 (_gethtent): Likewise.
16961 (ht_endhostent): Likewise.
16962 (gethostent): Likewise.
16963 (dns_service): Likewise.
16964 * stdlib/drand48.c (drand48): Likewise.
16965 * stdlib/lrand48.c (lrand48): Likewise.
16966 * stdlib/mrand48.c (mrand48): Likewise.
16967 * stdlib/rand.c (rand): Likewise.
16968 * stdlib/random.c (__random): Likewise.
16969 * stdlib/setenv.c (clearenv): Likewise.
16970 * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
16971 * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
16972 * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
16973 * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
16974 (__get_nprocs): Likewise.
16975 (__get_phys_pages): Likewise.
16976 (__get_avphys_pages): Likewise.
16977 * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
16978 * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
16979 * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
16980 * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
16981 * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
16982 * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
16983 * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
16984 * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
16985 * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
16986 * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
16987 * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
16988 * sysdeps/mach/hurd/sync.c (sync): Likewise.
16989 * sysdeps/posix/clock.c (clock): Likewise.
16990 * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
16991 * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
16992 * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
16993 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
16994 * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
16995 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
16996 (__get_nprocs_conf): Likewise.
16997 (__get_phys_pages): Likewise.
16998 (__get_avphys_pages): Likewise.
16999 * time/clock.c (clock): Likewise.
17000 * time/tzset.c (__tzname_max): Likewise.
17002 2013-06-07 Joseph Myers <joseph@codesourcery.com>
17004 * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
17005 (__bswap_32): Do not use "register".
17006 * crypt/crypt.c (_ufc_doit_r): Likewise.
17007 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
17008 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
17009 * gmon/gmon.c (__monstartup): Likewise.
17010 * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
17011 * hurd/hurdmalloc.c (more_memory): Likewise.
17012 (malloc): Likewise.
17014 (realloc): Likewise.
17015 (malloc_fork_prepare): Likewise.
17016 (malloc_fork_parent): Likewise.
17017 (malloc_fork_child): Likewise.
17018 * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
17019 (_svcauth_des): Likewise.
17020 * inet/inet_lnaof.c (inet_lnaof): Likewise.
17021 * inet/inet_net.c (inet_network): Likewise.
17022 * inet/inet_netof.c (inet_netof): Likewise.
17023 * inet/rcmd.c (__validuser2_sa): Likewise.
17024 * io/fts.c (fts_open): Likewise.
17025 (fts_load): Likewise.
17026 (fts_close): Likewise.
17027 (fts_read): Likewise.
17028 (fts_children): Likewise.
17029 (fts_build): Likewise.
17030 (fts_stat): Likewise.
17031 (fts_sort): Likewise.
17032 (fts_alloc): Likewise.
17033 (fts_lfree): Likewise.
17034 * libio/fileops.c (_IO_new_file_xsputn): Likewise.
17035 (_IO_file_xsgetn): Likewise.
17036 (_IO_file_xsgetn_mmap): Likewise.
17037 * libio/iofopncook.c (_IO_cookie_read): Likewise.
17038 (_IO_cookie_write): Likewise.
17039 * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
17040 * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
17041 * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
17042 * malloc/obstack.c (_obstack_begin): Likewise.
17043 (_obstack_begin_1): Likewise.
17044 (_obstack_newchunk): Likewise.
17045 (_obstack_allocated_p): Likewise.
17046 (obstack_free): Likewise.
17047 (_obstack_memory_used): Likewise.
17048 * misc/getttyent.c (getttynam): Likewise.
17049 (getttyent): Likewise.
17052 * misc/getusershell.c (initshells): Likewise.
17053 * misc/syslog.c (__vsyslog_chk): Likewise.
17054 * misc/ttyslot.c (ttyslot): Likewise.
17055 * nis/nis_hash.c (__nis_hash): Likewise.
17056 * posix/fnmatch_loop.c (FCT): Likewise.
17057 * posix/getconf.c (print_all): Likewise.
17059 * posix/getopt.c (exchange): Likewise.
17060 * posix/glob.c (globfree): Likewise.
17061 (prefix_array): Likewise.
17062 (__glob_pattern_type): Likewise.
17063 * resolv/arpa/nameser.h (NS_GET16): Likewise.
17064 (NS_GET32): Likewise.
17065 (NS_PUT16): Likewise.
17066 (NS_PUT32): Likewise.
17067 * resolv/gethnamaddr.c (getanswer): Likewise.
17068 (gethostbyname2): Likewise.
17069 (gethostbyaddr): Likewise.
17070 (_gethtent): Likewise.
17071 (_gethtbyname2): Likewise.
17072 (_gethtbyaddr): Likewise.
17073 * resolv/ns_print.c (dst_s_get_int16): Likewise.
17074 * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
17075 * resolv/res_init.c (__res_vinit): Likewise.
17076 (net_mask): Likewise.
17077 * resolv/res_mkquery.c (outchar): Likewise.
17079 * stdio-common/printf_fp.c (outchar): Likewise.
17081 * stdio-common/printf_fphex.c (outchar): Likewise.
17083 * stdio-common/printf_size.c (outchar): Likewise.
17085 * stdio-common/test_rdwr.c (main): Likewise.
17086 * stdio-common/tfformat.c (matches): Likewise.
17087 * stdio-common/vfprintf.c (outchar): Likewise.
17088 (printf_unknown): Likewise.
17089 (buffered_vfprintf): Likewise.
17090 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
17091 * stdio-common/xbug.c (AppendToBuffer): Likewise.
17092 (ReadFile): Likewise.
17093 * stdlib/qsort.c (SWAP): Likewise.
17094 (_quicksort): Likewise.
17095 * stdlib/setenv.c (__add_to_environ): Likewise.
17096 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
17097 * stdlib/strtol_l.c (__strtol_l): Likewise.
17098 * stdlib/tst-strtod.c (main): Likewise.
17099 * stdlib/tst-strtol.c (main): Likewise.
17100 * stdlib/tst-strtoll.c (main): Likewise.
17101 * string/bits/string2.h (__strcmp_cc): Likewise.
17102 (__strcmp_cg): Likewise.
17103 (__strcspn_c1): Likewise.
17104 (__strcspn_c2): Likewise.
17105 (__strcspn_c3): Likewise.
17106 (__strspn_c1): Likewise.
17107 (__strspn_c2): Likewise.
17108 (__strspn_c3): Likewise.
17109 (__strsep_1c): Likewise.
17110 (__strsep_2c): Likewise.
17111 (__strsep_3c): Likewise.
17112 * string/memccpy.c (__memccpy): Likewise.
17113 * string/stpcpy.c (__stpcpy): Likewise.
17114 * string/strcmp.c (strcmp): Likewise.
17115 * string/strrchr.c (strrchr): Likewise.
17116 * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
17118 * sysdeps/mach/hurd/getcwd.c
17119 (_hurd_canonicalize_directory_name_internal): Likewise.
17120 * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
17121 * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
17122 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
17123 * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
17124 Likewise, in both definitions.
17125 * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
17127 [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
17128 64] (__bswap_64): Likewise.
17129 * time/test_time.c (main): Likewise.
17130 * time/tzfile.c (__tzfile_read): Likewise.
17131 (__tzfile_compute): Likewise.
17132 * time/tzset.c (__tzset_parse_tz): Likewise.
17133 (tzset_internal): Likewise.
17134 (compute_change): Likewise.
17135 * wcsmbs/wcscat.c (__wcscat): Likewise.
17136 * wcsmbs/wcschr.c (wcschr): Likewise.
17137 * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
17138 * wcsmbs/wcscspn.c (wcscspn): Likewise.
17139 * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
17140 * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
17141 * wcsmbs/wcsspn.c (wcsspn): Likewise.
17142 * wcsmbs/wcsstr.c (wcsstr): Likewise.
17143 * wcsmbs/wmemchr.c (wmemchr): Likewise.
17144 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
17145 * wcsmbs/wmemset.c (wmemset): Likewise.
17147 2013-06-06 Joseph Myers <joseph@codesourcery.com>
17149 * scripts/config.guess: Update to version 2013-05-16.
17150 * scripts/config.sub: Update to version 2013-04-24.
17151 * scripts/install-sh: Update to version 2011-11-20.07.
17152 * scripts/mkinstalldirs: Update to version 2009-04-28.21.
17153 * scripts/move-if-change: Update to version 2012-01-06 07:23.
17155 2013-06-06 Ondřej Bílka <neleai@seznam.cz>
17157 * debug/fgetws_u_chk.c: Fix leading whitespaces.
17158 * elf/sln.c: Likewise.
17159 * hurd/hurd/ioctl.h: Likewise.
17160 * hurd/hurdmalloc.c: Likewise.
17161 * hurd/xattr.c: Likewise.
17162 * include/shlib-compat.h: Likewise.
17163 * inet/ruserpass.c: Likewise.
17164 * libio/iofgets_u.c: Likewise.
17165 * libio/iofgetws_u.c: Likewise.
17166 * locale/programs/ld-identification.c: Likewise.
17167 * locale/programs/ld-time.c: Likewise.
17168 * mach/msg-destroy.c: Likewise.
17169 * nss/nss_files/files-netgrp.c: Likewise.
17170 * resolv/res_data.c: Likewise.
17171 * soft-fp/op-1.h: Likewise.
17172 * soft-fp/op-2.h: Likewise.
17173 * soft-fp/op-4.h: Likewise.
17174 * soft-fp/op-common.h: Likewise.
17175 * stdio-common/printf_fphex.c: Likewise.
17176 * stdlib/strtod_l.c: Likewise.
17177 * sunrpc/rpc/clnt.h: Likewise.
17178 * sysdeps/generic/framestate.c: Likewise.
17179 * sysdeps/i386/bsd-_setjmp.S: Likewise.
17180 * sysdeps/i386/bsd-setjmp.S: Likewise.
17181 * sysdeps/i386/__longjmp.S: Likewise.
17182 * sysdeps/i386/setjmp.S: Likewise.
17183 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
17184 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
17185 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
17186 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
17187 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
17188 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
17189 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
17190 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
17191 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
17192 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
17193 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
17194 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
17195 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
17196 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
17197 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
17198 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
17199 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
17200 * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
17201 * sysdeps/ieee754/support.c: Likewise.
17202 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
17203 * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
17204 * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
17205 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
17206 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
17207 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
17208 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
17209 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
17210 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
17211 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
17212 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
17213 * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
17214 * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
17215 * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
17216 * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
17217 * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
17218 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
17219 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
17221 2013-06-05 Ondřej Bílka <neleai@seznam.cz>
17223 * posix/transbug.c: Remove executable mode.
17225 2013-06-05 Joseph Myers <joseph@codesourcery.com>
17227 * crypt/speeds.c: Remove trailing whitespace.
17228 * dlfcn/default.c: Likewise.
17229 * elf/ifuncdep2.c: Likewise.
17230 * elf/ifuncmain1.c: Likewise.
17231 * elf/ifuncmain1vis.c: Likewise.
17232 * elf/testobj.h: Likewise.
17233 * elf/tst-stackguard1.c: Likewise.
17234 * gmon/sys/gmon.h: Likewise.
17235 * hurd/hurdmsg.c: Likewise.
17236 * hurd/new-fd.c: Likewise.
17237 * hurd/ports-get.c: Likewise.
17238 * iconvdata/ibm1008_420.c: Likewise.
17239 * inet/tst-getni1.c: Likewise.
17240 * inet/tst-getni2.c: Likewise.
17241 * libio/ioungetc.c: Likewise.
17242 * libio/wfiledoalloc.c: Likewise.
17243 * manual/libm-err-tab.pl: Likewise.
17244 * math/w_dremf.c: Likewise.
17245 * misc/ftruncate.c: Likewise.
17246 * posix/bug-glob2.c: Likewise.
17247 * posix/tst-pcre.c: Likewise.
17248 * posix/wait4.c: Likewise.
17249 * resolv/README: Likewise.
17250 * resolv/res_debug.h: Likewise.
17251 * resolv/tst-inet_ntop.c: Likewise.
17252 * setjmp/bug269-setjmp.c: Likewise.
17253 * soft-fp/extended.h: Likewise.
17254 * soft-fp/op-1.h: Likewise.
17255 * soft-fp/op-2.h: Likewise.
17256 * soft-fp/op-4.h: Likewise.
17257 * soft-fp/op-8.h: Likewise.
17258 * soft-fp/testit.c: Likewise.
17259 * stdio-common/bug16.c: Likewise.
17260 * stdlib/random.c: Likewise.
17261 * sunrpc/rpcsvc/rquota.x: Likewise.
17262 * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
17263 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
17264 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
17265 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
17266 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
17267 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
17268 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
17269 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
17270 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
17271 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
17272 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
17273 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
17274 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
17275 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
17276 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
17277 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
17278 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
17279 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
17280 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
17281 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
17282 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
17283 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
17284 * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
17285 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
17286 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
17287 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
17288 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
17289 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
17290 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
17291 * sysdeps/ieee754/s_lib_version.c: Likewise.
17292 * sysdeps/mach/hurd/check_fds.c: Likewise.
17293 * sysdeps/mach/hurd/getsockname.c: Likewise.
17294 * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
17295 * sysdeps/mach/hurd/recvfrom.c: Likewise.
17296 * sysdeps/powerpc/bits/link.h: Likewise.
17297 * sysdeps/powerpc/dl-procinfo.c: Likewise.
17298 * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
17299 * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
17300 * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
17301 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
17302 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
17303 * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
17304 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
17305 * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
17306 * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
17307 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
17308 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
17309 * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
17310 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
17311 * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
17312 * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
17313 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
17314 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
17315 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
17316 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
17317 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
17318 * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
17319 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
17320 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
17321 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
17322 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
17323 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
17324 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
17325 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
17326 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
17327 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
17328 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
17329 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
17330 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
17331 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
17332 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
17333 * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
17334 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
17335 * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
17336 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
17337 * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
17338 * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
17339 * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
17340 * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
17341 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
17342 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
17343 * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
17344 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
17345 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
17346 * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
17347 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
17348 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
17349 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
17350 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
17351 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
17352 * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
17353 * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
17354 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
17355 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
17356 * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
17357 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
17358 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
17359 * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
17360 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
17361 * sysdeps/powerpc/sysdep.h: Likewise.
17362 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
17363 * sysdeps/s390/s390-64/sub_n.S: Likewise.
17364 * sysdeps/sh/dl-trampoline.S: Likewise.
17365 * sysdeps/sh/memset.S: Likewise.
17366 * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
17367 * sysdeps/sh/strlen.S: Likewise.
17368 * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
17369 * sysdeps/sparc/sparc32/dotmul.S: Likewise.
17370 * sysdeps/sparc/sparc32/memcpy.S: Likewise.
17371 * sysdeps/sparc/sparc32/rem.S: Likewise.
17372 * sysdeps/sparc/sparc32/sdiv.S: Likewise.
17373 * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
17374 * sysdeps/sparc/sparc32/strchr.S: Likewise.
17375 * sysdeps/sparc/sparc32/udiv.S: Likewise.
17376 * sysdeps/sparc/sparc32/urem.S: Likewise.
17377 * sysdeps/sparc/sparc64/add_n.S: Likewise.
17378 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
17379 * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
17380 * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
17381 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
17382 * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
17383 * sysdeps/sparc/sparc64/strncmp.S: Likewise.
17384 * sysdeps/sparc/sparc64/strncpy.S: Likewise.
17385 * sysdeps/unix/bsd/times.c: Likewise.
17386 * sysdeps/unix/sysv/linux/a.out.h: Likewise.
17387 * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
17388 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
17389 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
17390 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
17391 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
17392 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
17393 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
17394 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
17395 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
17396 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
17397 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
17398 * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
17399 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
17400 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
17401 * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
17402 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
17403 * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
17404 * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
17405 * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
17406 * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
17407 * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
17408 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
17409 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
17410 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
17411 * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
17412 * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
17413 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
17414 * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
17415 * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
17416 * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
17417 * sysdeps/x86_64/strcspn.S: Likewise.
17419 2013-06-05 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
17421 * locale/C-translit.h: Revert #include <stdint.h> because this is a
17422 generated file. Regenerate properly from gen-translit.pl.
17423 * locale/gen-translit.pl: Add #include <stdint.h>. This generates
17424 locale/C-translit.h.
17426 2013-06-05 Andreas Schwab <schwab@suse.de>
17429 * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
17430 week as 6 instead of -1.
17431 * time/tst-strptime.c (day_tests): Add test case.
17433 2013-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
17435 * sysdeps/generic/math_private.h
17436 (libc_feholdexcept_setround_53bit): Replace with
17437 libc_feholdsetround_53bit.
17438 (libc_feupdateenv_53bit): Replace with
17439 libc_feresetround_53bit.
17440 (SET_RESTORE_ROUND_53BIT): Adjust.
17442 2013-06-03 Siddhesh Poyarekar <siddhesh@redhat.com>
17444 * string/test-strchrnul.c: Add copyright header.
17446 * posix/tst-getaddrinfo4.c: Increase test timeout.
17448 2013-06-03 Carlos O'Donell <carlos@redhat.com>
17451 * math/libm-test.inc (MAX_EXP): Remove
17453 (ulp): Use MIN_EXP - MANT_DIG.
17454 (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
17456 2013-05-31 Carlos O'Donell <carlos@redhat.com>
17458 * po/be.po: Revert last change.
17459 * po/zh_CN.po: Likewise.
17460 * po/header.pot: Likewise.
17462 2013-05-31 Joseph Myers <joseph@codesourcery.com>
17464 * Makefile ($(common-objpfx)linkobj/libc.so): Define
17465 link-libc-deps to empty as target-specific variable.
17466 * Makerules (link-libc-args): New variable.
17467 (libc-for-link): Likewise.
17468 (link-libc-deps): Likewise.
17469 (lib%.so): Depend on $(link-libc-deps). Link with
17471 (build-module): Link with $(link-libc-args).
17472 (build-module-asneeded): Likewise.
17473 (build-module-helper-objlist): Filter out $(link-libc-deps) from
17475 ($(common-objpfx)libc.so): Define link-libc-deps to empty as
17476 target-specific variable.
17477 ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
17478 $(link-libc-deps) instead of libc.so and libc_nonshared.a.
17479 * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
17481 * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
17483 ($(objpfx)libpcprofile.so): Likewise.
17484 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
17486 ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
17487 * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
17488 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
17490 ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
17491 * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
17492 * login/Makefile ($(objpfx)libutil.so): Likewise.
17493 * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
17494 * math/Makefile ($(objpfx)libm.so): Likewise.
17495 * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
17496 $(objpfx)libnsl.so): Define libc-for-link as target-specific
17497 variable instead of depending directly on libc.
17498 * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
17499 ($(objpfx)/libnss_test1.so): Change dependencies on libc to
17501 * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
17503 [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
17504 ($(objpfx)libnss_dns.so): Remove dependencies on libc.
17505 ($(objpfx)libanl.so): Likewise.
17506 * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
17508 * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
17510 * sysdeps/i386/fpu/Makefile: Remove file.
17511 * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
17512 ($(objpfx)libm.so): Remove dependency on ld.so.
17514 2013-05-30 Patsy Franklin <pfrankli@redhat.com>
17517 * nis/yp_xdr.c (XDRMAXNAME): Define.
17518 (XDRMAXRECORD): Define.
17519 (xdr_domainname): Use XDRMAXNAME.
17520 (xdr_mapname): Likewise.
17521 (xdr_peername): Likewise.
17522 (xdr_keydat): Use XDRMAXRECORD.
17523 (xdr_valdat): Likewise.
17525 2013-05-30 Jeff Law <law@redhat.com>
17528 * manual/errno.texi (ESTALE): Update to account for more than
17529 just NFS file systems.
17530 * sysdeps/gnu/errlist.c: Regenerated.
17532 2013-05-29 Siddhesh Poyarekar <siddhesh@redhat.com>
17535 * elf/Makefile (tests): Add tst-null-argv.
17536 (modules-names): Add tst-null-argv-lib.
17537 ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
17538 (tst-null-argv-ENV): Set environment for tst-null-argv.
17539 * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
17540 (RTLD_PROGNAME): New macro.
17541 * elf/tst-null-argv.c: New test case.
17542 * elf/tst-null-argv-lib.c: Library for test case.
17543 * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
17544 * elf/dl-deps.c (_dl_map_object_deps): Likewise.
17545 * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
17546 * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
17547 * elf/dl-init.c (call_init): Likewise.
17548 (_dl_init): Likewise.
17549 * elf/dl-load.c (print_search_path): Likewise.
17550 (_dl_map_object): Likewise.
17551 * elf/dl-lookup.c (do_lookup_x): Likewise.
17552 (add_dependency): Likewise.
17553 (_dl_lookup_symbol_x): Likewise.
17554 (_dl_debug_bindings): Likewise.
17555 * elf/dl-open.c (_dl_show_scope): Likewise.
17556 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
17557 * elf/dl-version.c (match_symbol): Likewise.
17558 (_dl_check_map_versions): Likewise.
17559 * elf/rtld.c (dl_main): Likewise.
17560 (print_unresolved): Use RTLD_PROGNAME.
17561 (print_missing_version): Likewise.
17562 * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
17563 (elf_machine_rela): Likewise.
17564 * sysdeps/powerpc/powerpc32/dl-machine.c
17565 (__process_machine_rela): Likewise.
17566 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
17568 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
17570 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
17572 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
17573 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
17575 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
17577 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
17579 2013-05-28 Carlos O'Donell <carlos@redhat.com>
17581 * po/be.po: Add descriptive title.
17582 * po/zh_CN.po: Likewise.
17583 * po/header.pot: Likewise.
17585 2013-05-28 Mike Frysinger <vapier@gentoo.org>
17587 * locale/programs/locarchive.c (create_archive): Inlucde fname in
17589 (enlarge_archive): Likewise.
17591 2013-05-28 Ben North <ben@redfrontdoor.org>
17593 * manual/arith.texi (frexp): It is the magnitude of the return
17594 value which lies in [0.5, 1), not the return value itself.
17596 2013-05-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17598 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17600 2013-05-26 Thomas Schwinge <thomas@codesourcery.com>
17602 * stdio-common/bug26.c (main): Correct fscanf template.
17604 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
17605 declare _dl_skip_args.
17607 * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
17610 * manual/platform.texi: Add missing @end deftypefun.
17612 2013-05-24 Joseph Myers <joseph@codesourcery.com>
17615 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
17616 bit of mantissa of 2^16382.
17617 * math/libm-test.inc (hypot_test_data): Add more tests.
17619 * math/libm-test.inc: Add drem and pow10 to list of tested
17621 (pow10_test): New function.
17622 (drem_test): Likewise.
17623 (drem_test_tonearest): Likewise.
17624 (drem_test_towardzero): Likewise.
17625 (drem_test_downward): Likewise.
17626 (drem_test_upward): Likewise.
17627 (main): Call the new functions.
17629 * math/libm-test.inc (finite_test_data): Remove.
17630 (finite_test): Run tests from isfinite_test_data.
17631 (gamma_test_data): Remove.
17632 (gamma_test): Run tests from lgamma_test_data.
17633 * sysdeps/i386/fpu/libm-test-ulps: Update.
17634 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17636 2013-05-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17638 * manual/platform.texi: Add PowerPC PPR function set documentation.
17639 * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
17642 2013-05-24 Carlos O'Donell <carlos@redhat.com>
17644 * math/libm-test.inc (MAX_EXP): Define.
17646 (ulp): New function.
17647 (check_float_internal): Use ULPDIFF.
17648 (cpow_test): Disable failing test.
17649 (check_ulp): Test ulp() implemetnation.
17650 (main): Call check_ulp before starting tests.
17652 2013-05-24 Joseph Myers <joseph@codesourcery.com>
17654 * math/gen-libm-test.pl (generate_testfile): Do not handle
17655 START_DATA and END_DATA.
17656 * math/libm-test.inc (acos_test_data): Do not use START_DATA and
17658 (acos_tonearest_test_data): Likewise.
17659 (acos_towardzero_test_data): Likewise.
17660 (acos_downward_test_data): Likewise.
17661 (acos_upward_test_data): Likewise.
17662 (acosh_test_data): Likewise.
17663 (asin_test_data): Likewise.
17664 (asin_tonearest_test_data): Likewise.
17665 (asin_towardzero_test_data): Likewise.
17666 (asin_downward_test_data): Likewise.
17667 (asin_upward_test_data): Likewise.
17668 (asinh_test_data): Likewise.
17669 (atan_test_data): Likewise.
17670 (atanh_test_data): Likewise.
17671 (atan2_test_data): Likewise.
17672 (cabs_test_data): Likewise.
17673 (cacos_test_data): Likewise.
17674 (cacosh_test_data): Likewise.
17675 (carg_test_data): Likewise.
17676 (casin_test_data): Likewise.
17677 (casinh_test_data): Likewise.
17678 (catan_test_data): Likewise.
17679 (catanh_test_data): Likewise.
17680 (cbrt_test_data): Likewise.
17681 (ccos_test_data): Likewise.
17682 (ccosh_test_data): Likewise.
17683 (ceil_test_data): Likewise.
17684 (cexp_test_data): Likewise.
17685 (cimag_test_data): Likewise.
17686 (clog_test_data): Likewise.
17687 (clog10_test_data): Likewise.
17688 (conj_test_data): Likewise.
17689 (copysign_test_data): Likewise.
17690 (cos_test_data): Likewise.
17691 (cos_tonearest_test_data): Likewise.
17692 (cos_towardzero_test_data): Likewise.
17693 (cos_downward_test_data): Likewise.
17694 (cos_upward_test_data): Likewise.
17695 (cosh_test_data): Likewise.
17696 (cosh_tonearest_test_data): Likewise.
17697 (cosh_towardzero_test_data): Likewise.
17698 (cosh_downward_test_data): Likewise.
17699 (cosh_upward_test_data): Likewise.
17700 (cpow_test_data): Likewise.
17701 (cproj_test_data): Likewise.
17702 (creal_test_data): Likewise.
17703 (csin_test_data): Likewise.
17704 (csinh_test_data): Likewise.
17705 (csqrt_test_data): Likewise.
17706 (ctan_test_data): Likewise.
17707 (ctan_tonearest_test_data): Likewise.
17708 (ctan_towardzero_test_data): Likewise.
17709 (ctan_downward_test_data): Likewise.
17710 (ctan_upward_test_data): Likewise.
17711 (ctanh_test_data): Likewise.
17712 (ctanh_tonearest_test_data): Likewise.
17713 (ctanh_towardzero_test_data): Likewise.
17714 (ctanh_downward_test_data): Likewise.
17715 (ctanh_upward_test_data): Likewise.
17716 (erf_test_data): Likewise.
17717 (erfc_test_data): Likewise.
17718 (exp_test_data): Likewise.
17719 (exp_tonearest_test_data): Likewise.
17720 (exp_towardzero_test_data): Likewise.
17721 (exp_downward_test_data): Likewise.
17722 (exp_upward_test_data): Likewise.
17723 (exp10_test_data): Likewise.
17724 (exp2_test_data): Likewise.
17725 (expm1_test_data): Likewise.
17726 (fabs_test_data): Likewise.
17727 (fdim_test_data): Likewise.
17728 (finite_test_data): Likewise.
17729 (floor_test_data): Likewise.
17730 (fma_test_data): Likewise.
17731 (fma_towardzero_test_data): Likewise.
17732 (fma_downward_test_data): Likewise.
17733 (fma_upward_test_data): Likewise.
17734 (fmax_test_data): Likewise.
17735 (fmin_test_data): Likewise.
17736 (fmod_test_data): Likewise.
17737 (fpclassify_test_data): Likewise.
17738 (frexp_test_data): Likewise.
17739 (gamma_test_data): Likewise.
17740 (hypot_test_data): Likewise.
17741 (ilogb_test_data): Likewise.
17742 (isfinite_test_data): Likewise.
17743 (isgreater_test_data): Likewise.
17744 (isgreaterequal_test_data): Likewise.
17745 (isinf_test_data): Likewise.
17746 (isless_test_data): Likewise.
17747 (islessequal_test_data): Likewise.
17748 (islessgreater_test_data): Likewise.
17749 (isnan_test_data): Likewise.
17750 (isnormal_test_data): Likewise.
17751 (issignaling_test_data): Likewise.
17752 (isunordered_test_data): Likewise.
17753 (j0_test_data): Likewise.
17754 (j1_test_data): Likewise.
17755 (jn_test_data): Likewise.
17756 (ldexp_test_data): Likewise.
17757 (lgamma_test_data): Likewise.
17758 (lrint_test_data): Likewise.
17759 (lrint_tonearest_test_data): Likewise.
17760 (lrint_towardzero_test_data): Likewise.
17761 (lrint_downward_test_data): Likewise.
17762 (lrint_upward_test_data): Likewise.
17763 (llrint_test_data): Likewise.
17764 (llrint_tonearest_test_data): Likewise.
17765 (llrint_towardzero_test_data): Likewise.
17766 (llrint_downward_test_data): Likewise.
17767 (llrint_upward_test_data): Likewise.
17768 (log_test_data): Likewise.
17769 (log10_test_data): Likewise.
17770 (log1p_test_data): Likewise.
17771 (log2_test_data): Likewise.
17772 (logb_test_data): Likewise.
17773 (logb_downward_test_data): Likewise.
17774 (lround_test_data): Likewise.
17775 (llround_test_data): Likewise.
17776 (modf_test_data): Likewise.
17777 (nearbyint_test_data): Likewise.
17778 (nextafter_test_data): Likewise.
17779 (nexttoward_test_data): Likewise.
17780 (pow_test_data): Likewise.
17781 (pow_tonearest_test_data): Likewise.
17782 (pow_towardzero_test_data): Likewise.
17783 (pow_downward_test_data): Likewise.
17784 (pow_upward_test_data): Likewise.
17785 (remainder_test_data): Likewise.
17786 (remainder_tonearest_test_data): Likewise.
17787 (remainder_towardzero_test_data): Likewise.
17788 (remainder_downward_test_data): Likewise.
17789 (remainder_upward_test_data): Likewise.
17790 (remquo_test_data): Likewise.
17791 (rint_test_data): Likewise.
17792 (rint_tonearest_test_data): Likewise.
17793 (rint_towardzero_test_data): Likewise.
17794 (rint_downward_test_data): Likewise.
17795 (rint_upward_test_data): Likewise.
17796 (round_test_data): Likewise.
17797 (scalb_test_data): Likewise.
17798 (scalbn_test_data): Likewise.
17799 (scalbln_test_data): Likewise.
17800 (signbit_test_data): Likewise.
17801 (sin_test_data): Likewise.
17802 (sin_tonearest_test_data): Likewise.
17803 (sin_towardzero_test_data): Likewise.
17804 (sin_downward_test_data): Likewise.
17805 (sin_upward_test_data): Likewise.
17806 (sincos_test_data): Likewise.
17807 (sinh_test_data): Likewise.
17808 (sinh_tonearest_test_data): Likewise.
17809 (sinh_towardzero_test_data): Likewise.
17810 (sinh_downward_test_data): Likewise.
17811 (sinh_upward_test_data): Likewise.
17812 (sqrt_test_data): Likewise.
17813 (tan_test_data): Likewise.
17814 (tan_tonearest_test_data): Likewise.
17815 (tan_towardzero_test_data): Likewise.
17816 (tan_downward_test_data): Likewise.
17817 (tan_upward_test_data): Likewise.
17818 (tanh_test_data): Likewise.
17819 (tgamma_test_data): Likewise.
17820 (trunc_test_data): Likewise.
17821 (y0_test_data): Likewise.
17822 (y1_test_data): Likewise.
17823 (yn_test_data): Likewise.
17824 (significand_test_data): Likewise.
17826 * math/gen-libm-test.pl (@functions): Remove variable.
17827 (generate_testfile): Don't handle START and END lines.
17828 * math/libm-test.inc (START): New macro.
17830 (END_COMPLEX): Likewise.
17831 (acos_test): Use END macro without arguments.
17832 (acos_test_tonearest): Likewise.
17833 (acos_test_towardzero): Likewise.
17834 (acos_test_downward): Likewise.
17835 (acos_test_upward): Likewise.
17836 (acosh_test): Likewise.
17837 (asin_test): Likewise.
17838 (asin_test_tonearest): Likewise.
17839 (asin_test_towardzero): Likewise.
17840 (asin_test_downward): Likewise.
17841 (asin_test_upward): Likewise.
17842 (asinh_test): Likewise.
17843 (atan_test): Likewise.
17844 (atanh_test): Likewise.
17845 (atan2_test): Likewise.
17846 (cabs_test): Likewise.
17847 (cacos_test): Use END_COMPLEX macro without arguments.
17848 (cacosh_test): Likewise.
17849 (carg_test): Use END macro without arguments.
17850 (casin_test): Use END_COMPLEX macro without arguments.
17851 (casinh_test): Likewise.
17852 (catan_test): Likewise.
17853 (catanh_test): Likewise.
17854 (cbrt_test): Use END macro without arguments.
17855 (ccos_test): Use END_COMPLEX macro without arguments.
17856 (ccosh_test): Likewise.
17857 (ceil_test): Use END macro without arguments.
17858 (cexp_test): Use END_COMPLEX macro without arguments.
17859 (cimag_test): Use END macro without arguments.
17860 (clog_test): Use END_COMPLEX macro without arguments.
17861 (clog10_test): Likewise.
17862 (conj_test): Likewise.
17863 (copysign_test): Use END macro without arguments.
17864 (cos_test): Likewise.
17865 (cos_test_tonearest): Likewise.
17866 (cos_test_towardzero): Likewise.
17867 (cos_test_downward): Likewise.
17868 (cos_test_upward): Likewise.
17869 (cosh_test): Likewise.
17870 (cosh_test_tonearest): Likewise.
17871 (cosh_test_towardzero): Likewise.
17872 (cosh_test_downward): Likewise.
17873 (cosh_test_upward): Likewise.
17874 (cpow_test): Use END_COMPLEX macro without arguments.
17875 (cproj_test): Likewise.
17876 (creal_test): Use END macro without arguments.
17877 (csin_test): Use END_COMPLEX macro without arguments.
17878 (csinh_test): Likewise.
17879 (csqrt_test): Likewise.
17880 (ctan_test): Likewise.
17881 (ctan_test_tonearest): Likewise.
17882 (ctan_test_towardzero): Likewise.
17883 (ctan_test_downward): Likewise.
17884 (ctan_test_upward): Likewise.
17885 (ctanh_test): Likewise.
17886 (ctanh_test_tonearest): Likewise.
17887 (ctanh_test_towardzero): Likewise.
17888 (ctanh_test_downward): Likewise.
17889 (ctanh_test_upward): Likewise.
17890 (erf_test): Use END macro without arguments.
17891 (erfc_test): Likewise.
17892 (exp_test): Likewise.
17893 (exp_test_tonearest): Likewise.
17894 (exp_test_towardzero): Likewise.
17895 (exp_test_downward): Likewise.
17896 (exp_test_upward): Likewise.
17897 (exp10_test): Likewise.
17898 (exp2_test): Likewise.
17899 (expm1_test): Likewise.
17900 (fabs_test): Likewise.
17901 (fdim_test): Likewise.
17902 (finite_test): Likewise.
17903 (floor_test): Likewise.
17904 (fma_test): Likewise.
17905 (fma_test_towardzero): Likewise.
17906 (fma_test_downward): Likewise.
17907 (fma_test_upward): Likewise.
17908 (fmax_test): Likewise.
17909 (fmin_test): Likewise.
17910 (fmod_test): Likewise.
17911 (fpclassify_test): Likewise.
17912 (frexp_test): Likewise.
17913 (gamma_test): Likewise.
17914 (hypot_test): Likewise.
17915 (ilogb_test): Likewise.
17916 (isfinite_test): Likewise.
17917 (isgreater_test): Likewise.
17918 (isgreaterequal_test): Likewise.
17919 (isinf_test): Likewise.
17920 (isless_test): Likewise.
17921 (islessequal_test): Likewise.
17922 (islessgreater_test): Likewise.
17923 (isnan_test): Likewise.
17924 (isnormal_test): Likewise.
17925 (issignaling_test): Likewise.
17926 (isunordered_test): Likewise.
17927 (j0_test): Likewise.
17928 (j1_test): Likewise.
17929 (jn_test): Likewise.
17930 (ldexp_test): Likewise.
17931 (lgamma_test): Likewise.
17932 (lrint_test): Likewise.
17933 (lrint_test_tonearest): Likewise.
17934 (lrint_test_towardzero): Likewise.
17935 (lrint_test_downward): Likewise.
17936 (lrint_test_upward): Likewise.
17937 (llrint_test): Likewise.
17938 (llrint_test_tonearest): Likewise.
17939 (llrint_test_towardzero): Likewise.
17940 (llrint_test_downward): Likewise.
17941 (llrint_test_upward): Likewise.
17942 (log_test): Likewise.
17943 (log10_test): Likewise.
17944 (log1p_test): Likewise.
17945 (log2_test): Likewise.
17946 (logb_test): Likewise.
17947 (logb_test_downward): Likewise.
17948 (lround_test): Likewise.
17949 (llround_test): Likewise.
17950 (modf_test): Likewise.
17951 (nearbyint_test): Likewise.
17952 (nextafter_test): Likewise.
17953 (nexttoward_test): Likewise.
17954 (pow_test): Likewise.
17955 (pow_test_tonearest): Likewise.
17956 (pow_test_towardzero): Likewise.
17957 (pow_test_downward): Likewise.
17958 (pow_test_upward): Likewise.
17959 (remainder_test): Likewise.
17960 (remainder_test_tonearest): Likewise.
17961 (remainder_test_towardzero): Likewise.
17962 (remainder_test_downward): Likewise.
17963 (remainder_test_upward): Likewise.
17964 (remquo_test): Likewise.
17965 (rint_test): Likewise.
17966 (rint_test_tonearest): Likewise.
17967 (rint_test_towardzero): Likewise.
17968 (rint_test_downward): Likewise.
17969 (rint_test_upward): Likewise.
17970 (round_test): Likewise.
17971 (scalb_test): Likewise.
17972 (scalbn_test): Likewise.
17973 (scalbln_test): Likewise.
17974 (signbit_test): Likewise.
17975 (sin_test): Likewise.
17976 (sin_test_tonearest): Likewise.
17977 (sin_test_towardzero): Likewise.
17978 (sin_test_downward): Likewise.
17979 (sin_test_upward): Likewise.
17980 (sincos_test): Likewise.
17981 (sinh_test): Likewise.
17982 (sinh_test_tonearest): Likewise.
17983 (sinh_test_towardzero): Likewise.
17984 (sinh_test_downward): Likewise.
17985 (sinh_test_upward): Likewise.
17986 (sqrt_test): Likewise.
17987 (tan_test): Likewise.
17988 (tan_test_tonearest): Likewise.
17989 (tan_test_towardzero): Likewise.
17990 (tan_test_downward): Likewise.
17991 (tan_test_upward): Likewise.
17992 (tanh_test): Likewise.
17993 (tgamma_test): Likewise.
17994 (trunc_test): Likewise.
17995 (y0_test): Likewise.
17996 (y1_test): Likewise.
17997 (yn_test): Likewise.
17998 (significand_test): Likewise.
18000 2013-05-24 Ondřej Bílka <neleai@seznam.cz>
18003 * libio/genops.c (_IO_no_init): Initialize wide struct info.
18005 2013-05-23 Edjunior Machado <emachado@linux.vnet.ibm.com>
18008 * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
18009 __ppc_mdoio and __ppc_mdoom.
18010 * manual/platform.texi: Document new functions __ppc_yield,
18011 __ppc_mdoio and __ppc_mdoom.
18013 2013-05-22 Carlos O'Donell <carlos@redhat.com>
18015 * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
18016 (main): Mention "tls" pseudo-hwcap is legacy.
18017 * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
18019 2013-05-22 Joseph Myers <joseph@codesourcery.com>
18021 * math/gen-libm-test.pl (parse_args): Output only string of
18022 arguments as text for test name, not full call or descriptions of
18023 tests for extra outputs.
18024 (generate_testfile): Do not pass function name to parse_args.
18025 Generate this_func variable from START.
18026 * math/libm-test.inc (struct test_f_f_data): Rename test_name
18028 (struct test_ff_f_data): Likewise.
18029 (test_ff_f_data_nexttoward): Likewise.
18030 (struct test_fi_f_data): Likewise.
18031 (struct test_fl_f_data): Likewise.
18032 (struct test_if_f_data): Likewise.
18033 (struct test_fff_f_data): Likewise.
18034 (struct test_c_f_data): Likewise.
18035 (struct test_f_f1_data): Likewise. Remove field extra_name.
18036 (struct test_fF_f1_data): Likewise.
18037 (struct test_ffI_f1_data): Likewise.
18038 (struct test_c_c_data): Rename test_name field to arg_str.
18039 (struct test_cc_c_data): Likewise.
18040 (struct test_f_i_data): Likewise.
18041 (struct test_ff_i_data): Likewise.
18042 (struct test_f_l_data): Likewise.
18043 (struct test_f_L_data): Likewise.
18044 (struct test_fFF_11_data): Likewise. Remove fields extra1_name
18046 (COMMON_TEST_SETUP): New macro.
18047 (EXTRA_OUTPUT_TEST_SETUP): Likewise.
18048 (COMMON_TEST_CLEANUP): Likewise.
18049 (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
18050 (RUN_TEST_f_f): Take argument string. Call new setup and cleanup
18052 (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
18053 (RUN_TEST_2_f): Take argument string. Call new setup and cleanup
18055 (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
18056 (RUN_TEST_fff_f): Take argument string. Call new setup and
18058 (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
18059 (RUN_TEST_c_f): Take argument string. Call new setup and cleanup
18061 (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
18062 (RUN_TEST_f_f1): Take argument string. Call new setup and cleanup
18064 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
18065 (RUN_TEST_fF_f1): Take argument string. Call new setup and
18067 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
18068 (RUN_TEST_fI_f1): Take argument string. Call new setup and
18070 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
18071 (RUN_TEST_ffI_f1): Take argument string. Call new setup and
18073 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
18074 (RUN_TEST_c_c): Take argument string. Call new setup and cleanup
18076 (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
18077 (RUN_TEST_cc_c): Take argument string. Call new setup and cleanup
18079 (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
18080 (RUN_TEST_f_i): Take argument string. Call new setup and cleanup
18082 (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
18083 (RUN_TEST_f_i_tg): Take argument string. Call new setup and
18085 (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
18086 (RUN_TEST_ff_i_tg): Take argument string. Call new setup and
18088 (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
18089 (RUN_TEST_f_b): Take argument string. Call new setup and cleanup
18091 (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
18092 (RUN_TEST_f_b_tg): Take argument string. Call new setup and
18094 (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
18095 (RUN_TEST_f_l): Take argument string. Call new setup and cleanup
18097 (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
18098 (RUN_TEST_f_L): Take argument string. Call new setup and cleanup
18100 (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
18101 (RUN_TEST_fFF_11): Take argument string. Call new setup and
18103 (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
18105 2013-05-22 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
18107 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
18108 to _sifields.sigfault.
18109 (si_addr_lsb): Define new macro.
18110 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
18111 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
18112 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
18114 2013-05-03 Carlos O'Donell <carlos at redhat.com>
18117 * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
18119 (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
18121 * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
18122 loading the domain.
18124 2013-05-22 Joseph Myers <joseph@codesourcery.com>
18126 * math/gen-libm-test.pl (parse_args): Do not include expected
18127 result in test name.
18128 * sysdeps/i386/fpu/libm-test-ulps: Update test names.
18129 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
18130 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
18131 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
18132 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
18133 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18135 2013-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
18137 * benchtests/Makefile: Sort function entries.
18139 * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
18140 tanh, asinh, acosh, atanh.
18141 * benchtests/acos-inputs: New file.
18142 * benchtests/acosh-inputs: New file.
18143 * benchtests/asin-inputs: New file.
18144 * benchtests/asinh-inputs: New file.
18145 * benchtests/atanh-inputs: New file.
18146 * benchtests/cosh-inputs: New file.
18147 * benchtests/log-inputs: New file.
18148 * benchtests/sinh-inputs: New file.
18149 * benchtests/tanh-inputs: New file.
18151 2013-05-21 Dmitry V. Levin <ldv@altlinux.org>
18154 * posix/tst-getaddrinfo4.c: New test.
18155 * posix/Makefile (tests): Add it.
18157 2013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
18160 * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
18161 when no services were used.
18162 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
18163 Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
18165 2013-05-21 Andreas Schwab <schwab@suse.de>
18168 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
18169 [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
18171 * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
18172 redundant variable declarations and reallocation of buffer when
18173 parsing as IPv6 address. Always set NSS status when called from
18174 reentrant functions. Use NETDB_INTERNAL instead of TRY_AGAIN when
18175 buffer too small. Correct computation of needed size.
18176 * nss/Makefile (tests): Add test-digits-dots.
18177 * nss/test-digits-dots.c: New test.
18179 2013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
18181 * benchtests/Makefile: Remove instructions for adding
18183 * benchtests/README: New file to explain how to execute and
18184 enhance the benchmark tests.
18186 2013-05-21 Andreas Schwab <schwab@suse.de>
18189 * setjmp/Makefile (tests): Add tst-sigsetjmp.
18190 * setjmp/tst-sigsetjmp.c: New test.
18192 2013-05-20 Ondřej Bílka <neleai@seznam.cz>
18194 * sysdeps/x86_64/memset.S (memset): New implementation.
18195 (__bzero): Likewise.
18196 (__memset_tail): New function.
18198 2013-05-20 Ondřej Bílka <neleai@seznam.cz>
18200 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
18201 * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
18202 __memcpy_sse2_unaligned ifunc selection.
18203 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
18204 Add memcpy-sse2-unaligned.S.
18205 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
18206 Add: __memcpy_sse2_unaligned.
18208 2013-05-19 Joseph Myers <joseph@codesourcery.com>
18211 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
18212 math_force_eval before restoring floating-point envrionment.
18213 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
18214 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
18216 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
18218 (__nearbyintl): Use math_force_eval before restoring
18219 floating-point environment.
18220 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
18222 * math/gen-libm-test.pl (special_functions): Remove.
18223 (parse_args): Don't handle TEST_extra. Handle functions with no
18225 * math/libm-test.inc (struct test_sincos_data): Replace with
18226 struct test_fFF_11_data.
18227 (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
18228 (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
18229 (sincos_test_data): Change element type to struct
18230 test_fFF_11_data. Use TEST_fFF_11 instead of TEST_extra.
18231 (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
18232 RUN_TEST_LOOP_sincos.
18233 * math/README.libm-test: Don't mention special handling of
18234 individual functions.
18235 * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
18236 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
18237 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
18238 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
18239 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
18240 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18242 * math/gen-libm-test.pl (get_variable): Remove function.
18243 (parse_args): Don't show pointer parameters to call in test
18244 names. Use "extra output N" in test names for extra outputs
18245 rather than naming variables.
18247 2013-05-18 Joseph Myers <joseph@codesourcery.com>
18250 * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
18251 __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
18252 * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
18254 * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
18256 (do_test) [NO_LONG_DOUBLE]: Do not disable call to
18259 * math/gen-libm-test.pl (@tests): Remove variable.
18260 ($count): Likewise.
18261 (new_test): Remove function.
18262 (show_exceptions): New function.
18263 (special_functions): Use show_exceptions instead of new_test.
18264 (parse_args): Likewise.
18265 (generate_testfile): Pass only function name in generated call to
18266 print_max_error or print_complex_max_error.
18267 (get_ulps): Do not handle complex tests specially.
18268 (output_test): Rename to ...
18269 (get_all_ulps_for_test): ... this. Return a string rather than
18270 printing to a file. Require ulps to be present.
18271 (output_ulps): Generate arrays rather than #defines.
18272 * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
18273 (struct ulp_data): New type.
18274 (BUILD_COMPLEX_ULP): Remove macro.
18275 (compare_ulp_data): New function.
18276 (find_ulps): Likewise.
18277 (find_test_ulps): Likewise.
18278 (find_function_ulps): Likewise.
18279 (find_complex_function_ulps): Likewise.
18280 (print_max_error): Determine allowed ulps using
18281 find_function_ulps.
18282 (print_complex_max_error): Determine allowed ulps using
18283 find_complex_function_ulps.
18284 (check_float_internal): Determine max ulps using find_test_ulps.
18285 (check_float): Do not take max_ulp parameter. Update call to
18286 check_float_internal.
18287 (check_complex): Likewise.
18288 (check_int): Do not take max_ulp parameter.
18289 (check_long): Likewise.
18290 (check_bool): Likewise.
18291 (check_longlong): Likewise.
18292 (struct test_f_f_data): Remove max_ulp field.
18293 (struct test_ff_f_data): Likewise.
18294 (struct test_ff_f_data_nexttoward): Likewise.
18295 (struct test_fi_f_data): Likewise.
18296 (struct test_fl_f_data): Likewise.
18297 (struct test_if_f_data): Likewise.
18298 (struct test_fff_f_data): Likewise.
18299 (struct test_c_f_data): Likewise.
18300 (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
18301 (struct test_fF_f1_data): Likewise.
18302 (struct test_ffI_f1_data): Likewise.
18303 (struct test_c_c_data): Remove max_ulp field.
18304 (struct test_cc_c_data): Likewise.
18305 (struct test_f_i_data): Likewise.
18306 (struct test_ff_i_data): Likewise.
18307 (struct test_f_l_data): Likewise.
18308 (struct test_f_L_data): Likewise.
18309 (struct test_sincos_data): Likewise.
18310 (RUN_TEST_f_f): Do not handle ulps.
18311 (RUN_TEST_LOOP_f_f): Likewise.
18312 (RUN_TEST_2_f): Likewise.
18313 (RUN_TEST_LOOP_2_f): Likewise.
18314 (RUN_TEST_fff_f): Likewise.
18315 (RUN_TEST_LOOP_fff_f): Likewise.
18316 (RUN_TEST_c_f): Likewise.
18317 (RUN_TEST_LOOP_c_f): Likewise.
18318 (RUN_TEST_f_f1): Likewise.
18319 (RUN_TEST_LOOP_f_f1): Likewise.
18320 (RUN_TEST_fF_f1): Likewise.
18321 (RUN_TEST_LOOP_fF_f1): Likewise.
18322 (RUN_TEST_fI_f1): Likewise.
18323 (RUN_TEST_LOOP_fI_f1): Likewise.
18324 (RUN_TEST_ffI_f1): Likewise.
18325 (RUN_TEST_LOOP_ffI_f1): Likewise.
18326 (RUN_TEST_c_c): Likewise.
18327 (RUN_TEST_LOOP_c_c): Likewise.
18328 (RUN_TEST_cc_c): Likewise.
18329 (RUN_TEST_LOOP_cc_c): Likewise.
18330 (RUN_TEST_f_i): Likewise.
18331 (RUN_TEST_LOOP_f_i): Likewise.
18332 (RUN_TEST_f_i_tg): Likewise.
18333 (RUN_TEST_LOOP_f_i_tg): Likewise.
18334 (RUN_TEST_ff_i_tg): Likewise.
18335 (RUN_TEST_LOOP_ff_i_tg): Likewise.
18336 (RUN_TEST_f_b): Likewise.
18337 (RUN_TEST_LOOP_f_b): Likewise.
18338 (RUN_TEST_f_b_tg): Likewise.
18339 (RUN_TEST_LOOP_f_b_tg): Likewise.
18340 (RUN_TEST_f_l): Likewise.
18341 (RUN_TEST_LOOP_f_l): Likewise.
18342 (RUN_TEST_f_L): Likewise.
18343 (RUN_TEST_LOOP_f_L): Likewise.
18344 (RUN_TEST_sincos): Likewise.
18345 (RUN_TEST_LOOP_sincos): Likewise.
18347 2013-05-17 Joseph Myers <joseph@codesourcery.com>
18351 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
18352 main case of finite arguments, set rounding mode to FE_TONEAREST
18353 and discard exceptions.
18354 * math/libm-test.inc (remainder_test_data): Disallow "inexact"
18356 (remainder_tonearest_test_data): New variable.
18357 (remainder_test_tonearest): New function.
18358 (remainder_towardzero_test_data): New variable.
18359 (remainder_test_towardzero): New function.
18360 (remainder_downward_test_data): New variable.
18361 (remainder_test_downward): New function.
18362 (remainder_upward_test_data): New variable.
18363 (remainder_test_upward): New function.
18364 (main): Call the new test functions.
18366 * math/libm-test.inc (struct test_f_f1_data): Remove field
18368 (struct test_fF_f1_data): Likewise.
18369 (struct test_ffI_f1_data): Likewise.
18370 (RUN_TEST_f_f1): Remove argument EXTRA_INIT. Initialize EXTRA_VAR
18371 based on value of EXTRA_EXPECTED.
18372 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
18373 (RUN_TEST_fF_f1): Remove argument EXTRA_INIT. Initialize
18374 EXTRA_VAR based on value of EXTRA_EXPECTED.
18375 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
18376 (RUN_TEST_fI_f1): Remove argument EXTRA_INIT. Initialize
18377 EXTRA_VAR based on value of EXTRA_EXPECTED.
18378 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
18379 (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT. Initialize
18380 EXTRA_VAR based on value of EXTRA_EXPECTED.
18381 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
18382 * math/gen-libm-test.pl (parse_args): Don't output initializers
18383 for extra output values.
18385 * math/libm-test.inc (check_int): Expect result to be exactly
18386 equal to expected value and do not handle ulps.
18387 (check_long): Likewise.
18388 (check_longlong): Likewise.
18390 * math/libm-test.inc (ceil_test_data): Test for "inexact"
18392 (cimag_test_data): Likewise.
18393 (conj_test_data): Likewise.
18394 (copysign_test_data): Likewise.
18395 (cproj_test_data): Likewise.
18396 (creal_test_data): Likewise.
18397 (fabs_test_data): Likewise.
18398 (fdim_test_data): Likewise.
18399 (finite_test_data): Likewise.
18400 (floor_test_data): Likewise.
18401 (fmax_test_data): Likewise.
18402 (fmin_test_data): Likewise.
18403 (fmod_test_data): Likewise.
18404 (fpclassify_test_data): Likewise.
18405 (frexp_test_data): Likewise.
18406 (ilogb_test_data): Likewise.
18407 (isfinite_test_data): Likewise.
18408 (isgreater_test_data): Likewise.
18409 (isgreaterequal_test_data): Likewise.
18410 (isinf_test_data): Likewise.
18411 (isless_test_data): Likewise.
18412 (islessequal_test_data): Likewise.
18413 (islessgreater_test_data): Likewise.
18414 (isnan_test_data): Likewise.
18415 (isnormal_test_data): Likewise.
18416 (issignaling_test_data): Likewise.
18417 (isunordered_test_data): Likewise.
18418 (ldexp_test_data): Likewise.
18419 (lrint_test_data): Likewise.
18420 (lrint_test_data) [TEST_FLOAT]: Disable one test.
18421 (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
18422 (lrint_tonearest_test_data): Test for "inexact" exceptions.
18423 (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
18424 (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
18425 (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
18427 (lrint_towardzero_test_data): Test for "inexact" exceptions.
18428 (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
18429 (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
18430 (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
18432 (lrint_downward_test_data): Test for "inexact" exceptions.
18433 (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
18434 (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
18435 (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
18437 (lrint_upward_test_data): Test for "inexact" exceptions.
18438 (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
18440 (llrint_test_data): Test for "inexact" exceptions.
18441 (llrint_test_data) [TEST_FLOAT]: Disable one test.
18442 (llrint_tonearest_test_data): Test for "inexact" exceptions.
18443 (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
18444 (llrint_towardzero_test_data): Test for "inexact" exceptions.
18445 (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
18446 (llrint_downward_test_data): Test for "inexact" exceptions.
18447 (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
18448 (llrint_upward_test_data): Test for "inexact" exceptions.
18449 (logb_test_data): Likewise.
18450 (logb_downward_test_data): Likewise.
18451 (nextafter_test_data): Likewise.
18452 (nexttoward_test_data): Likewise.
18453 (remainder_test_data): Likewise.
18454 (remquo_test_data): Likewise.
18455 (scalbn_test_data): Likewise.
18456 (scalbln_test_data): Likewise.
18457 (signbit_test_data): Likewise.
18458 (sqrt_test_data): Likewise.
18459 (significand_test_data): Likewise.
18461 2013-05-17 Siddhesh Poyarekar <siddhesh@redhat.com>
18464 * benchtests/bench-modf.c (struct args): Mark arg0 as
18466 * scripts/bench.pl: Mark members of struct args as volatile.
18468 2013-05-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18471 * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
18472 negative infinity on POWER6 or lower.
18473 * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
18475 2013-05-16 Maciej W. Rozycki <macro@codesourcery.com>
18478 * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
18479 (_FP_FRAC_SNANP_SEMIRAW): Likewise.
18480 (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
18481 (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
18482 (_FP_SETQNAN): New macro.
18483 (_FP_SETQNAN_SEMIRAW): Likewise.
18484 (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
18485 (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
18486 (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
18487 (FP_EXTEND): Use _FP_FRAC_SNANP.
18488 (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
18489 * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
18491 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
18493 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
18496 2013-05-16 Joseph Myers <joseph@codesourcery.com>
18498 * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
18499 with DIVIDE_BY_ZERO_EXCEPTION.
18500 (gamma_test_data): Likewise.
18501 (lgamma_test_data): Likewise.
18502 (log_test_data): Likewise.
18503 (log10_test_data): Likewise.
18504 (log2_test_data): Likewise.
18505 (tgamma_test_data): Likewise.
18507 * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
18508 (acos_test_tonearest): Likewise.
18509 (acos_test_towardzero): Likewise.
18510 (acos_test_downward): Likewise.
18511 (acos_test_upward): Likewise.
18512 (acosh_test): Likewise.
18513 (asin_test): Likewise.
18514 (asin_test_tonearest): Likewise.
18515 (asin_test_towardzero): Likewise.
18516 (asin_test_downward): Likewise.
18517 (asin_test_upward): Likewise.
18518 (asinh_test): Likewise.
18519 (atan_test): Likewise.
18520 (atanh_test): Likewise.
18521 (atan2_test): Likewise.
18522 (cabs_test): Likewise.
18523 (cacos_test): Likewise.
18524 (cacosh_test): Likewise.
18525 (casin_test): Likewise.
18526 (casinh_test): Likewise.
18527 (catan_test): Likewise.
18528 (catanh_test): Likewise.
18529 (cbrt_test): Likewise.
18530 (ccos_test): Likewise.
18531 (ccosh_test): Likewise.
18532 (cexp_test): Likewise.
18533 (clog_test): Likewise.
18534 (clog10_test): Likewise.
18535 (cos_test): Likewise.
18536 (cos_test_tonearest): Likewise.
18537 (cos_test_towardzero): Likewise.
18538 (cos_test_downward): Likewise.
18539 (cos_test_upward): Likewise.
18540 (cosh_test): Likewise.
18541 (cosh_test_tonearest): Likewise.
18542 (cosh_test_towardzero): Likewise.
18543 (cosh_test_downward): Likewise.
18544 (cosh_test_upward): Likewise.
18545 (cpow_test): Likewise.
18546 (csin_test): Likewise.
18547 (csinh_test): Likewise.
18548 (csqrt_test): Likewise.
18549 (ctan_test): Likewise.
18550 (ctan_test_tonearest): Likewise.
18551 (ctan_test_towardzero): Likewise.
18552 (ctan_test_downward): Likewise.
18553 (ctan_test_upward): Likewise.
18554 (ctanh_test): Likewise.
18555 (ctanh_test_tonearest): Likewise.
18556 (ctanh_test_towardzero): Likewise.
18557 (ctanh_test_downward): Likewise.
18558 (ctanh_test_upward): Likewise.
18559 (erf_test): Likewise.
18560 (erfc_test): Likewise.
18561 (exp_test): Likewise.
18562 (exp_test_tonearest): Likewise.
18563 (exp_test_towardzero): Likewise.
18564 (exp_test_downward): Likewise.
18565 (exp_test_upward): Likewise.
18566 (exp10_test): Likewise.
18567 (exp2_test): Likewise.
18568 (expm1_test): Likewise.
18569 (fmod_test): Likewise.
18570 (gamma_test): Likewise.
18571 (hypot_test): Likewise.
18572 (j0_test): Likewise.
18573 (j1_test): Likewise.
18574 (jn_test): Likewise.
18575 (lgamma_test): Likewise.
18576 (log_test): Likewise.
18577 (log10_test): Likewise.
18578 (log1p_test): Likewise.
18579 (log2_test): Likewise.
18580 (logb_test_downward): Likewise.
18581 (pow_test): Likewise.
18582 (pow_test_tonearest): Likewise.
18583 (pow_test_towardzero): Likewise.
18584 (pow_test_downward): Likewise.
18585 (pow_test_upward): Likewise.
18586 (remainder_test): Likewise.
18587 (remquo_test): Likewise.
18588 (sin_test): Likewise.
18589 (sin_test_tonearest): Likewise.
18590 (sin_test_towardzero): Likewise.
18591 (sin_test_downward): Likewise.
18592 (sin_test_upward): Likewise.
18593 (sincos_test): Likewise.
18594 (sinh_test): Likewise.
18595 (sinh_test_tonearest): Likewise.
18596 (sinh_test_towardzero): Likewise.
18597 (sinh_test_downward): Likewise.
18598 (sinh_test_upward): Likewise.
18599 (sqrt_test): Likewise.
18600 (tan_test): Likewise.
18601 (tan_test_tonearest): Likewise.
18602 (tan_test_towardzero): Likewise.
18603 (tan_test_downward): Likewise.
18604 (tan_test_upward): Likewise.
18605 (tanh_test): Likewise.
18606 (tgamma_test): Likewise.
18607 (y0_test): Likewise.
18608 (y1_test): Likewise.
18609 (yn_test): Likewise.
18611 * math/gen-libm-test.pl (adjust_arg): Remove function.
18612 (special_function): Remove argument $in_func. Only handle
18613 generating output for tables of tests, not inside functions.
18614 (parse_args): Likewise.
18615 (generate_testfile): Remove variable $in_func. Update call to
18617 * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
18618 (MINUS_ZERO_INIT): Rename macro to minus_zero.
18619 (PLUS_INFTY_INIT): Rename macro to plus_infty.
18620 (MINUS_INFTY_INIT): Rename macro to minus_infty.
18621 (QNAN_VALUE_INIT): Rename macro to qnan_value.
18622 (MAX_VALUE_INIT): Rename macro to max_value.
18623 (MIN_VALUE_INIT): Rename macro to min_value.
18624 (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
18625 (plus_zero): Remove variable.
18626 (minus_zero): Likewise.
18627 (plus_infty): Likewise.
18628 (minus_infty): Likewise.
18629 (qnan_value): Likewise.
18630 (max_value): Likewise.
18631 (min_value): Likewise.
18632 (min_subnorm_value): Likewise.
18634 2013-05-16 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
18636 * crypt/sha512-block.c: Add missing #include <stdint.h> due to
18637 uint64_t or uint32_t usage.
18638 * crypt/sha256-block.c: Likewise.
18639 * crypt/sha256-crypt.c: Likewise.
18640 * crypt/sha256.c: Likewise.
18641 * crypt/sha512-block.c: Likewise.
18642 * crypt/sha512-crypt.c: Likewise.
18643 * crypt/sha512.c: Likewise.
18644 * debug/backtrace-tst.c: Likewise.
18645 * debug/pcprofiledump.c: Likewise.
18646 * elf/cache.c: Likewise.
18647 * elf/dl-cache.c: Likewise.
18648 * elf/dl-misc.c: Likewise.
18649 * elf/dl-profile.c: Likewise.
18650 * elf/dl-support.c: Likewise.
18651 * elf/ldconfig.c: Likewise.
18652 * elf/sprof.c: Likewise.
18653 * iconv/dummy-repertoire.c: Likewise.
18654 * iconv/iconv_charmap.c: Likewise.
18655 * iconv/skeleton.c: Likewise.
18656 * iconvdata/8bit-generic.c: Likewise.
18657 * iconvdata/cp737.h: Likewise.
18658 * iconvdata/cp775.h: Likewise.
18659 * iconvdata/ibm1008.h: Likewise.
18660 * iconvdata/ibm1025.h: Likewise.
18661 * iconvdata/ibm1046.h: Likewise.
18662 * iconvdata/ibm1097.h: Likewise.
18663 * iconvdata/ibm1112.h: Likewise.
18664 * iconvdata/ibm1122.h: Likewise.
18665 * iconvdata/ibm1123.h: Likewise.
18666 * iconvdata/ibm1124.h: Likewise.
18667 * iconvdata/ibm1129.h: Likewise.
18668 * iconvdata/ibm1130.h: Likewise.
18669 * iconvdata/ibm1132.h: Likewise.
18670 * iconvdata/ibm1133.h: Likewise.
18671 * iconvdata/ibm1137.h: Likewise.
18672 * iconvdata/ibm1140.h: Likewise.
18673 * iconvdata/ibm1141.h: Likewise.
18674 * iconvdata/ibm1142.h: Likewise.
18675 * iconvdata/ibm1143.h: Likewise.
18676 * iconvdata/ibm1144.h: Likewise.
18677 * iconvdata/ibm1145.h: Likewise.
18678 * iconvdata/ibm1146.h: Likewise.
18679 * iconvdata/ibm1147.h: Likewise.
18680 * iconvdata/ibm1148.h: Likewise.
18681 * iconvdata/ibm1149.h: Likewise.
18682 * iconvdata/ibm1153.h: Likewise.
18683 * iconvdata/ibm1154.h: Likewise.
18684 * iconvdata/ibm1155.h: Likewise.
18685 * iconvdata/ibm1156.h: Likewise.
18686 * iconvdata/ibm1157.h: Likewise.
18687 * iconvdata/ibm1158.h: Likewise.
18688 * iconvdata/ibm1160.h: Likewise.
18689 * iconvdata/ibm1161.h: Likewise.
18690 * iconvdata/ibm1162.h: Likewise.
18691 * iconvdata/ibm1163.h: Likewise.
18692 * iconvdata/ibm1164.h: Likewise.
18693 * iconvdata/ibm1166.h: Likewise.
18694 * iconvdata/ibm1167.h: Likewise.
18695 * iconvdata/ibm12712.h: Likewise.
18696 * iconvdata/ibm1390.h: Likewise.
18697 * iconvdata/ibm1399.h: Likewise.
18698 * iconvdata/ibm16804.h: Likewise.
18699 * iconvdata/ibm4517.h: Likewise.
18700 * iconvdata/ibm4899.h: Likewise.
18701 * iconvdata/ibm4909.h: Likewise.
18702 * iconvdata/ibm4971.h: Likewise.
18703 * iconvdata/ibm5347.h: Likewise.
18704 * iconvdata/ibm803.h: Likewise.
18705 * iconvdata/ibm856.h: Likewise.
18706 * iconvdata/ibm901.h: Likewise.
18707 * iconvdata/ibm902.h: Likewise.
18708 * iconvdata/ibm9030.h: Likewise.
18709 * iconvdata/ibm9066.h: Likewise.
18710 * iconvdata/ibm921.h: Likewise.
18711 * iconvdata/ibm922.h: Likewise.
18712 * iconvdata/ibm9448.h: Likewise.
18713 * iconvdata/isiri-3342.h: Likewise.
18714 * iconvdata/jis0201.h: Likewise.
18715 * include/link.h: Likewise.
18716 * include/netdb.h: Likewise.
18717 * inet/check_native.c: Likewise.
18718 * inet/check_pf.c: Likewise.
18719 * inet/getipv4sourcefilter.c: Likewise.
18720 * inet/getnameinfo.c: Likewise.
18721 * inet/getsourcefilter.c: Likewise.
18722 * inet/htonl.c: Likewise.
18723 * inet/setipv4sourcefilter.c: Likewise.
18724 * inet/setsourcefilter.c: Likewise.
18725 * inet/test-inet6_opt.c: Likewise.
18726 * inet/tst-network.c: Likewise.
18727 * locale/C-collate.c: Likewise.
18728 * locale/C-ctype.c: Likewise.
18729 * locale/C-time.c: Likewise.
18730 * locale/C-translit.h: Likewise.
18731 * locale/loadarchive.c: Likewise.
18732 * locale/programs/3level.h: Likewise.
18733 * locale/programs/charmap.c: Likewise.
18734 * locale/programs/charmap.h: Likewise.
18735 * locale/programs/ld-address.c: Likewise.
18736 * locale/programs/ld-collate.c: Likewise.
18737 * locale/programs/ld-ctype.c: Likewise.
18738 * locale/programs/ld-identification.c: Likewise.
18739 * locale/programs/ld-measurement.c: Likewise.
18740 * locale/programs/ld-messages.c: Likewise.
18741 * locale/programs/ld-monetary.c: Likewise.
18742 * locale/programs/ld-name.c: Likewise.
18743 * locale/programs/ld-numeric.c: Likewise.
18744 * locale/programs/ld-paper.c: Likewise.
18745 * locale/programs/ld-telephone.c: Likewise.
18746 * locale/programs/ld-time.c: Likewise.
18747 * locale/programs/linereader.c: Likewise.
18748 * locale/programs/locale.c: Likewise.
18749 * locale/programs/locarchive.c: Likewise.
18750 * locale/programs/locfile.h: Likewise.
18751 * locale/programs/repertoire.c: Likewise.
18752 * locale/programs/simple-hash.c: Likewise.
18753 * locale/programs/simple-hash.h: Likewise.
18754 * malloc/memusage.c: Likewise.
18755 * malloc/memusagestat.c: Likewise.
18756 * nis/nis_defaults.c: Likewise.
18757 * nis/nis_hash.c: Likewise.
18758 * nis/nis_print.c: Likewise.
18759 * nis/nis_xdr.c: Likewise.
18760 * nscd/connections.c: Likewise.
18761 * nscd/hstcache.c: Likewise.
18762 * nscd/nscd_gethst_r.c: Likewise.
18763 * nscd/nscd_getserv_r.c: Likewise.
18764 * nscd/nscd_helper.c: Likewise.
18765 * nscd/servicescache.c: Likewise.
18766 * nss/makedb.c: Likewise.
18767 * nss/nss_db/db-XXX.c: Likewise.
18768 * nss/nss_db/db-initgroups.c: Likewise.
18769 * nss/nss_db/db-netgrp.c: Likewise.
18770 * nss/nss_files/files-network.c: Likewise.
18771 * nss/nss_files/files-parse.c: Likewise.
18772 * posix/bug-regex5.c: Likewise.
18773 * posix/fnmatch_loop.c: Likewise.
18774 * posix/regcomp.c: Likewise.
18775 * posix/regexec.c: Likewise.
18776 * posix/tst-rfc3484-2.c: Likewise.
18777 * posix/tst-rfc3484-3.c: Likewise.
18778 * posix/tst-rfc3484.c: Likewise.
18779 * resolv/nss_dns/dns-canon.c: Likewise.
18780 * resolv/nss_dns/dns-network.c: Likewise.
18781 * resolv/res_init.c: Likewise.
18782 * resolv/res_mkquery.c: Likewise.
18783 * resolv/tst-aton.c: Likewise.
18784 * stdlib/cxa_atexit.c: Likewise.
18785 * stdlib/cxa_finalize.c: Likewise.
18786 * stdlib/gen-fpioconst.c: Likewise.
18787 * stdlib/strtol_l.c: Likewise.
18788 * string/tst-endian.c: Likewise.
18789 * sunrpc/auth_des.c: Likewise.
18790 * sunrpc/clnt_udp.c: Likewise.
18791 * sunrpc/rtime.c: Likewise.
18792 * sunrpc/svcauth_des.c: Likewise.
18793 * sunrpc/xdr.c: Likewise.
18794 * sunrpc/xdr_intXX_t.c: Likewise.
18795 * sunrpc/xdr_rec.c: Likewise.
18796 * sysdeps/generic/ldconfig.h: Likewise.
18797 * sysdeps/generic/ldsodefs.h: Likewise.
18798 * sysdeps/generic/memusage.h: Likewise.
18799 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
18800 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
18801 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
18802 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
18803 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
18804 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
18805 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
18806 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
18807 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
18808 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
18809 * sysdeps/posix/getaddrinfo.c: Likewise.
18810 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
18811 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
18812 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
18813 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
18814 * sysdeps/powerpc/test-gettimebase.c: Likewise.
18815 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
18816 * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
18817 * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
18818 * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
18819 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
18820 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
18821 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
18822 * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
18823 * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
18824 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
18825 * sysdeps/x86_64/dl-tls.h: Likewise.
18826 * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
18827 * time/alt_digit.c: Likewise.
18828 * time/era.c: Likewise.
18829 * wcsmbs/tst-c16c32-1.c: Likewise.
18831 2013-05-16 Joseph Myers <joseph@codesourcery.com>
18833 * math/libm-test.inc (struct test_sincos_data): New type.
18834 (RUN_TEST_LOOP_sincos): New macro.
18835 (sincos_test_data): New variable.
18836 (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
18838 2013-05-16 Richard Henderson <rth@redhat.com>
18840 * math/atest-exp2.c (LIMB64): New macro.
18841 (CONSTSZ): New macro.
18842 (mp_exp1, mp_exp_m1, mp_log2): New variables.
18844 (print_mpn_fp): ... to function scope.
18845 (read_mpn_hex): Remove.
18846 (get_log2): Remove.
18847 (exp2_mpn): Use mp_log2.
18848 (main): Use mp_exp1.
18850 2013-05-16 Joseph Myers <joseph@codesourcery.com>
18852 * math/libm-test.inc: Remove comment about not testing "inexact"
18854 (INEXACT_EXCEPTION): New macro.
18855 (NO_INEXACT_EXCEPTION): Likewise.
18856 (INVALID_EXCEPTION_OK): Update value.
18857 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
18858 (OVERFLOW_EXCEPTION_OK): Likewise.
18859 (UNDERFLOW_EXCEPTION_OK): Likewise.
18860 (IGNORE_ZERO_INF_SIGN): Likewise.
18861 (ERRNO_UNCHANGED): Likewise.
18862 (ERRNO_EDOM): Likewise.
18863 (ERRNO_ERANGE): Likewise.
18864 (test_exceptions): Handle testing "inexact" exceptions.
18865 (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
18866 (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
18867 (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
18868 (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
18870 (rint_towardzero_test_data): Likewise.
18871 (rint_downward_test_data): Likewise.
18872 (rint_upward_test_data): Likewise.
18874 * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
18875 with OVERFLOW_EXCEPTION.
18876 (exp10_test_data): Likewise.
18877 (exp2_test_data): Likewise.
18878 (expm1_test_data): Likewise.
18879 (lgamma_test_data): Likewise.
18880 (pow_test_data): Likewise.
18881 (tgamma_test_data): Likewise.
18882 (yn_test_data): Remove duplicate test of overflow.
18884 * math/libm-test.inc (struct test_cc_c_data): New type.
18885 (RUN_TEST_LOOP_cc_c): New macro.
18886 (cpow_test_data): New variable.
18887 (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
18889 * math/libm-test.inc (struct test_f_L_data): New type.
18890 (RUN_TEST_LOOP_f_L): New macro.
18891 (llrint_test_data): New variable.
18892 (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
18893 (llrint_tonearest_test_data): New variable.
18894 (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
18895 (llrint_towardzero_test_data): New variable.
18896 (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
18897 (llrint_downward_test_data): New variable.
18898 (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
18899 (llrint_upward_test_data): New variable.
18900 (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
18901 (llround_test_data): New variable.
18902 (llround_test): Run tests with RUN_TEST_LOOP_f_L.
18904 2013-05-13 Peter Collingbourne <pcc@google.com>
18906 * math/atest-exp2.c (get_log2): Remove const attribute.
18908 2013-05-15 Joseph Myers <joseph@codesourcery.com>
18910 * math/libm-test.inc (struct test_f_l_data): New type.
18911 (RUN_TEST_LOOP_f_l): New macro.
18912 (lrint_test_data): New variable.
18913 (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
18914 (lrint_tonearest_test_data): New variable.
18915 (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
18916 (lrint_towardzero_test_data): New variable.
18917 (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
18918 (lrint_downward_test_data): New variable.
18919 (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
18920 (lrint_upward_test_data): New variable.
18921 (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
18922 (lround_test_data): New variable.
18923 (lround_test): Run tests with RUN_TEST_LOOP_f_l.
18925 2013-05-15 Peter Collingbourne <pcc@google.com>
18927 * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
18928 (EXTRACT_WORDS64) Use where appropriate.
18929 (INSERT_WORDS64) Likewise.
18931 * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
18932 constraints with x constraints.
18933 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
18935 * malloc/obstack.c (_obstack_compat): Add initializer.
18937 2013-05-15 Edjunior Machado <emachado@linux.vnet.ibm.com>
18939 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
18940 si_trapno and add si_addr_lsb to _sifields.sigfault.
18941 (si_trapno): Remove macro.
18942 (si_addr_lsb): Define new macro.
18943 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
18945 2013-05-15 Joseph Myers <joseph@codesourcery.com>
18947 * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
18948 instead of TEST_f_l.
18949 (llrint_test_tonearest): Likewise.
18950 (llrint_test_towardzero): Likewise.
18951 (llrint_test_downward): Likewise.
18952 (llrint_test_upward): Likewise.
18953 (llround_test): Likewise.
18955 * math/libm-test.inc (struct test_f_i_data): Add comment.
18956 (RUN_TEST_LOOP_f_b): New macro.
18957 (RUN_TEST_LOOP_f_b_tg): Likewise.
18958 (finite_test_data): New variable.
18959 (finite_test): Run tests with RUN_TEST_LOOP_f_b.
18960 (isfinite_test_data): New variable.
18961 (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
18962 (isinf_test_data): New variable.
18963 (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
18964 (isnan_test_data): New variable.
18965 (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
18966 (isnormal_test_data): New variable.
18967 (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
18968 (issignaling_test_data): New variable.
18969 (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
18970 (signbit_test_data): New variable.
18971 (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
18973 * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
18974 with INVALID_EXCEPTION.
18975 (acosh_test_data): Likewise.
18976 (asin_test_data): Likewise.
18977 (atanh_test_data): Likewise.
18978 (fmod_test_data): Likewise.
18979 (log_test_data): Likewise.
18980 (log10_test_data): Likewise.
18981 (log2_test_data): Likewise.
18982 (pow_test_data): Likewise.
18983 (sqrt_test_data): Likewise.
18984 (y0_test_data): Likewise.
18985 (y1_test_data): Likewise.
18986 (yn_test_data): Likewise.
18988 * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
18991 * math/libm-test.inc (struct test_ff_i_data): New type.
18992 (RUN_TEST_LOOP_ff_i_tg): New macro.
18993 (isgreater_test_data): New variable.
18994 (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
18995 (isgreaterequal_test_data): New variable.
18996 (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
18997 (isless_test_data): New variable.
18998 (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
18999 (islessequal_test_data): New variable.
19000 (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
19001 (islessgreater_test_data): New variable.
19002 (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
19003 (isunordered_test_data): New variable.
19004 (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
19006 2013-05-14 David S. Miller <davem@davemloft.net>
19008 * sysdeps/sparc/fpu/libm-test-ulps: Update.
19010 2013-05-14 Joseph Myers <joseph@codesourcery.com>
19012 * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
19014 * math/libm-test.inc (struct test_fF_f1_data): Change type of
19016 (struct test_f_i_data): Change type of max_ulp to int.
19018 * math/libm-test.inc (test_ffI_f1_data): New type.
19019 (RUN_TEST_LOOP_ffI_f1): New macro.
19020 (remquo_test_data): New variable.
19021 (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
19023 * setjmp/tst-setjmp-fp.c: New file.
19024 * setjmp/Makefile (tests): Add tst-setjmp-fp.
19025 (link-libm): New variable.
19026 ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
19028 * math/libm-test.inc (struct test_f_i_data): New type.
19029 (RUN_TEST_LOOP_f_i): New macro.
19030 (RUN_TEST_LOOP_f_i_tg): Likewise.
19031 (fpclassify_test_data): New variable.
19032 (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
19033 (ilogb_test_data): New variable.
19034 (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
19036 * math/libm-test.inc (scalbln_test): Correct function name in END
19039 * math/libm-test.inc (struct test_f_f1_data): Add comment.
19040 (RUN_TEST_LOOP_fI_f1): New macro.
19041 (frexp_test_data): New variable.
19042 (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
19044 * math/libm-test.inc (struct test_fF_f1_data): New type.
19045 (RUN_TEST_LOOP_fF_f1): New macro.
19046 (modf_test_data): New variable.
19047 (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
19049 * math/libm-test.inc (struct test_f_f1_data): New type.
19050 (RUN_TEST_LOOP_f_f1): New macro.
19051 (gamma_test_data): New variable.
19052 (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
19053 (lgamma_test_data): New variable.
19054 (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
19056 2013-05-13 Carlos O'Donell <carlos@redhat.com>
19058 * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
19059 * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
19060 (main): Comment "tls" pseudo-hwcap.
19062 2013-05-13 Joseph Myers <joseph@codesourcery.com>
19064 * math/libm-test.inc (struct test_fl_f_data): New type.
19065 (RUN_TEST_LOOP_fl_f): New variable.
19066 (scalbln_test_data): New variable.
19067 (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
19069 * math/libm-test.inc (struct test_fi_f_data): New type.
19070 (RUN_TEST_LOOP_fi_f): New macro.
19071 (ldexp_test_data): New variable.
19072 (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
19073 (scalbn_test_data): New variable.
19074 (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
19076 * math/libm-test.inc (struct test_c_f_data): New type.
19077 (RUN_TEST_LOOP_c_f): New macro.
19078 (cabs_test_data): New variable.
19079 (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
19080 (carg_test_data): New variable.
19081 (carg_test): Run tests with RUN_TEST_LOOP_c_f.
19082 (cimag_test_data): New variable.
19083 (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
19084 (creal_test_data): New variable.
19085 (creal_test): Run tests with RUN_TEST_LOOP_c_f.
19087 * math/libm-test.inc (struct test_if_f_data): New type.
19088 (RUN_TEST_LOOP_if_f): New macro.
19089 (jn_test_data): New variable.
19090 (jn_test): Run tests with RUN_TEST_LOOP_if_f.
19091 (yn_test_data): New variable.
19092 (yn_test): Run tests with RUN_TEST_LOOP_if_f.
19094 * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
19096 2013-05-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19098 * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
19099 (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
19101 2013-05-13 Siddhesh Poyarekar <siddhesh@redhat.com>
19103 * benchtests/Makefile (CPPFLAGS-nonlib): Add
19104 -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
19105 (bench-deps): Add bench-timing.h.
19106 * benchtests-bench-skeleton.c: Include bench-timing.h.
19107 (main): Use TIMING_* macros instead of clock_gettime.
19108 * benchtests/bench-timing.h: New file.
19111 * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
19112 Renamed from _LIB_VERSION.
19113 (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
19115 2013-05-12 Joseph Myers <joseph@codesourcery.com>
19117 * math/libm-test.inc (struct test_fff_f_data): New type.
19118 (RUN_TEST_LOOP_fff_f): New macro.
19119 (fma_test_data): New variable.
19120 (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
19121 (fma_towardzero_test_data): New variable.
19122 (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
19123 (fma_downward_test_data): New variable.
19124 (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
19125 (fma_upward_test_data): New variable.
19126 (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
19128 * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
19129 (struct test_c_c_data): New type.
19130 (RUN_TEST_LOOP_c_c): New macro.
19131 (cacos_test_data): New variable.
19132 (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
19133 (cacosh_test_data): New variable.
19134 (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
19135 (casin_test_data): New variable.
19136 (casin_test): Run tests with RUN_TEST_LOOP_c_c.
19137 (casinh_test_data): New variable.
19138 (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
19139 (catan_test_data): New variable.
19140 (catan_test): Run tests with RUN_TEST_LOOP_c_c.
19141 (catanh_test_data): New variable.
19142 (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
19143 (ccos_test_data): New variable.
19144 (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
19145 (ccosh_test_data): New variable.
19146 (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
19147 (cexp_test_data): New variable.
19148 (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
19149 (clog_test_data): New variable.
19150 (clog_test): Run tests with RUN_TEST_LOOP_c_c.
19151 (clog10_test_data): New variable.
19152 (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
19153 (conj_test_data): New variable.
19154 (conj_test): Run tests with RUN_TEST_LOOP_c_c.
19155 (cproj_test_data): New variable.
19156 (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
19157 (csin_test_data): New variable.
19158 (csin_test): Run tests with RUN_TEST_LOOP_c_c.
19159 (csinh_test_data): New variable.
19160 (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
19161 (csqrt_test_data): New variable.
19162 (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
19163 (ctan_test_data): New variable.
19164 (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
19165 (ctan_tonearest_test_data): New variable.
19166 (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
19167 (ctan_towardzero_test_data): New variable.
19168 (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
19169 (ctan_downward_test_data): New variable.
19170 (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
19171 (ctan_upward_test_data): New variable.
19172 (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
19173 (ctanh_test_data): New variable.
19174 (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
19175 (ctanh_tonearest_test_data): New variable.
19176 (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
19177 (ctanh_towardzero_test_data): New variable.
19178 (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
19179 (ctanh_downward_test_data): New variable.
19180 (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
19181 (ctanh_upward_test_data): New variable.
19182 (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
19183 * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
19186 * math/libm-test.inc (struct test_ff_f_data): New type.
19187 (struct test_ff_f_data_nexttoward): Likewise.
19188 (RUN_TEST_LOOP_2_f): New macro.
19189 (RUN_TEST_LOOP_ff_f): Likewise.
19190 (atan2_test_data): New variable.
19191 (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
19192 (copysign_test_data): New variable.
19193 (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
19194 (fdim_test_data): New variable.
19195 (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
19196 (fmax_test_data): New variable.
19197 (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
19198 (fmin_test_data): New variable.
19199 (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
19200 (fmod_test_data): New variable.
19201 (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
19202 (hypot_test_data): New variable.
19203 (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
19204 (nextafter_test_data): New variable.
19205 (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
19206 (nexttoward_test_data): New variable.
19207 (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
19208 (pow_test_data): New variable.
19209 (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
19210 (pow_tonearest_test_data): New variable.
19211 (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
19212 (pow_towardzero_test_data): New variable.
19213 (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
19214 (pow_downward_test_data): New variable.
19215 (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
19216 (pow_upward_test_data): New variable.
19217 (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
19218 (remainder_test_data): New variable.
19219 (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
19220 (scalb_test_data): New variable.
19221 (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
19222 * sysdeps/i386/fpu/libm-test-ulps: Update.
19224 2013-05-11 Joseph Myers <joseph@codesourcery.com>
19226 * math/libm-test.inc (fma_test): Use max_value instead of local
19228 (nextafter_test): Likewise.
19230 * math/libm-test.inc (acos_towardzero_test_data): New variable.
19231 (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
19232 (acos_downward_test_data): New variable.
19233 (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
19234 (acos_upward_test_data): New variable.
19235 (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
19236 (acosh_test_data): New variable.
19237 (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
19238 (asin_test_data): New variable.
19239 (asin_test): Run tests with RUN_TEST_LOOP_f_f.
19240 (asin_tonearest_test_data): New variable.
19241 (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
19242 (asin_towardzero_test_data): New variable.
19243 (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
19244 (asin_downward_test_data): New variable.
19245 (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
19246 (asin_upward_test_data): New variable.
19247 (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
19248 (asinh_test_data): New variable.
19249 (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
19250 (atan_test_data): New variable.
19251 (atan_test): Run tests with RUN_TEST_LOOP_f_f.
19252 (atanh_test_data): New variable.
19253 (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
19254 (cbrt_test_data): New variable.
19255 (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
19256 (ceil_test_data): New variable.
19257 (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
19258 (cos_test_data): New variable.
19259 (cos_test): Run tests with RUN_TEST_LOOP_f_f.
19260 (cos_tonearest_test_data): New variable.
19261 (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
19262 (cos_towardzero_test_data): New variable.
19263 (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
19264 (cos_downward_test_data): New variable.
19265 (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
19266 (cos_upward_test_data): New variable.
19267 (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
19268 (cosh_test_data): New variable.
19269 (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
19270 (cosh_tonearest_test_data): New variable.
19271 (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
19272 (cosh_towardzero_test_data): New variable.
19273 (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
19274 (cosh_downward_test_data): New variable.
19275 (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
19276 (cosh_upward_test_data): New variable.
19277 (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
19278 (erf_test_data): New variable.
19279 (erf_test): Run tests with RUN_TEST_LOOP_f_f.
19280 (erfc_test_data): New variable.
19281 (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
19282 (exp_test_data): New variable.
19283 (exp_test): Run tests with RUN_TEST_LOOP_f_f.
19284 (exp_tonearest_test_data): New variable.
19285 (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
19286 (exp_towardzero_test_data): New variable.
19287 (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
19288 (exp_downward_test_data): New variable.
19289 (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
19290 (exp_upward_test_data): New variable.
19291 (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
19292 (exp10_test_data): New variable.
19293 (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
19294 (exp2_test_data): New variable.
19295 (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
19296 (expm1_test_data): New variable.
19297 (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
19298 (fabs_test_data): New variable.
19299 (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
19300 (floor_test_data): New variable.
19301 (floor_test): Run tests with RUN_TEST_LOOP_f_f.
19302 (j0_test_data): New variable.
19303 (j0_test): Run tests with RUN_TEST_LOOP_f_f.
19304 (j1_test_data): New variable.
19305 (j1_test): Run tests with RUN_TEST_LOOP_f_f.
19306 (log_test_data): New variable.
19307 (log_test): Run tests with RUN_TEST_LOOP_f_f.
19308 (log10_test_data): New variable.
19309 (log10_test): Run tests with RUN_TEST_LOOP_f_f.
19310 (log1p_test_data): New variable.
19311 (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
19312 (log2_test_data): New variable.
19313 (log2_test): Run tests with RUN_TEST_LOOP_f_f.
19314 (logb_test_data): New variable.
19315 (logb_test): Run tests with RUN_TEST_LOOP_f_f.
19316 (logb_downward_test_data): New variable.
19317 (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
19318 (nearbyint_test_data): New variable.
19319 (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
19320 (rint_test_data): New variable.
19321 (rint_test): Run tests with RUN_TEST_LOOP_f_f.
19322 (rint_tonearest_test_data): New variable.
19323 (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
19324 (rint_towardzero_test_data): New variable.
19325 (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
19326 (rint_downward_test_data): New variable.
19327 (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
19328 (rint_upward_test_data): New variable.
19329 (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
19330 (round_test_data): New variable.
19331 (round_test): Run tests with RUN_TEST_LOOP_f_f.
19332 (sin_test_data): New variable.
19333 (sin_test): Run tests with RUN_TEST_LOOP_f_f.
19334 (sin_tonearest_test_data): New variable.
19335 (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
19336 (sin_towardzero_test_data): New variable.
19337 (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
19338 (sin_downward_test_data): New variable.
19339 (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
19340 (sin_upward_test_data): New variable.
19341 (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
19342 (sinh_test_data): New variable.
19343 (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
19344 (sinh_tonearest_test_data): New variable.
19345 (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
19346 (sinh_towardzero_test_data): New variable.
19347 (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
19348 (sinh_downward_test_data): New variable.
19349 (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
19350 (sinh_upward_test_data): New variable.
19351 (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
19352 (sqrt_test_data): New variable.
19353 (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
19354 (tan_test_data): New variable.
19355 (tan_test): Run tests with RUN_TEST_LOOP_f_f.
19356 (tan_tonearest_test_data): New variable.
19357 (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
19358 (tan_towardzero_test_data): New variable.
19359 (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
19360 (tan_downward_test_data): New variable.
19361 (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
19362 (tan_upward_test_data): New variable.
19363 (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
19364 (tanh_test_data): New variable.
19365 (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
19366 (tgamma_test_data): New variable.
19367 (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
19368 (trunc_test_data): New variable.
19369 (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
19370 (y0_test_data): New variable.
19371 (y0_test): Run tests with RUN_TEST_LOOP_f_f.
19372 (y1_test_data): New variable.
19373 (y1_test): Run tests with RUN_TEST_LOOP_f_f.
19374 (significand_test_data): New variable.
19375 (significand_test): Run tests with RUN_TEST_LOOP_f_f.
19377 2013-05-10 Christian Grönke <cgr_bugs@sysgo.com>
19380 * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
19382 2013-05-10 Pino Toscano <toscano.pino@tiscali.it>
19384 * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
19386 2013-05-10 Andreas Jaeger <aj@suse.de>
19389 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
19390 (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
19392 2013-05-10 Joseph Myers <joseph@codesourcery.com>
19394 * math/gen-libm-test.pl (adjust_arg): New function.
19395 (special_functions): Handle generating output in both functions
19397 (parse_args): Likewise.
19398 (generate_testfile): Handle START_DATA and END_DATA. Pass extra
19399 $in_func argument to parse_args.
19400 * math/libm-test.inc (struct test_f_f_data): New type.
19401 (IF_ROUND_INIT_): New macro.
19402 (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
19403 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
19404 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
19405 (IF_ROUND_INIT_FE_UPWARD): Likewise.
19406 (ROUND_RESTORE_): Likewise.
19407 (ROUND_RESTORE_FE_DOWNWARD): Likewise.
19408 (ROUND_RESTORE_FE_TONEAREST): Likewise.
19409 (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
19410 (ROUND_RESTORE_FE_UPWARD): Likewise.
19411 (RUN_TEST_LOOP_f_f): New macro.
19412 (acos_test_data): New variable.
19413 (acos_test): Run tests with RUN_TEST_LOOP_f_f.
19414 (acos_tonearest_test_data): New variable.
19415 (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
19417 2013-05-10 Siddhesh Poyarekar <siddhesh@redhat.com>
19419 * benchtests/bench-skeleton.c (startup): Fix coding style.
19421 2013-05-10 Joseph Myers <joseph@codesourcery.com>
19424 * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
19425 negative infinity argument.
19426 * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
19427 negative infinity argument.
19428 * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
19429 negative infinity argument.
19430 * math/libm-test.inc (tgamma_test): Expect errno to be set for
19433 2013-05-10 Florian Weimer <fweimer@redhat.com>
19435 * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
19436 * iconv/iconv_charmap.c (charmap_conversion): Likewise.
19437 * iconv/iconv_prog.c (main): Likewise.
19438 * locale/programs/charmap-dir.c (charmap_readdir)
19439 (fopen_uncompressed): Likewise.
19440 * locale/programs/locfile.c (siblings_uncached)
19441 (write_locale_data): Use lstat64 instead of lstat.
19442 * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
19445 2013-05-10 Andreas Jaeger <aj@suse.de>
19448 * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
19450 Include <locale.h>.
19452 2013-05-09 Carlos O'Donell <carlos@redhat.com>
19454 * elf/dl-close.c (_dl_close_worker): Add comments.
19456 2013-05-09 Joseph Myers <joseph@codesourcery.com>
19459 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
19461 (__ieee754_rem_pio2l): Update comments.
19464 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
19466 (__ieee754_rem_pio2l): Update comments.
19468 * math/libm-test.inc (M_SQRT_2_2): Remove macro.
19469 (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
19471 * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
19474 * math/libm-test.inc (M_PI_34l): Define using decimal constant.
19475 (M_PI_34_LOG10El): Likewise.
19476 (M_PI2_LOG10El): Likewise.
19477 (M_PI4_LOG10El): Likewise.
19478 (M_PI_LOG10El): Likewise.
19480 2013-05-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19482 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19484 2013-05-08 Joseph Myers <joseph@codesourcery.com>
19486 * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
19487 (MINUS_ZERO_INIT): Likewise.
19488 (PLUS_INFTY_INIT): Likewise.
19489 (MINUS_INFTY_INIT): Likewise.
19490 (QNAN_VALUE_INIT): Likewise.
19491 (MAX_VALUE_INIT): Likewise.
19492 (MIN_VALUE_INIT): Likewise.
19493 (MIN_SUBNORM_VALUE_INIT): Likewise.
19494 (plus_zero): Initialize with PLUS_ZERO_INIT.
19495 (minus_zero): Initialize with MINUS_ZERO_INIT.
19496 (plus_infty): Initialize with PLUS_INFTY_INIT.
19497 (minus_infty): Initialize with MINUS_INFTY_INIT.
19498 (qnan_value): Initialize with QNAN_VALUE_INIT.
19499 (max_value): Initialize with MAX_VALUE_INIT.
19500 (min_value): Initialize with MIN_VALUE_INIT.
19501 (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
19503 * math/libm-test.inc (RUN_TEST_if_f): New macro.
19504 (jn_test): Use TEST_if_f instead of TEST_ff_f.
19505 (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
19506 (yn_test): Use TEST_if_f instead of TEST_ff_f.
19508 * math/libm-test.inc (RUN_TEST_f_f): New macro.
19509 (RUN_TEST_2_f): Likewise.
19510 (RUN_TEST_ff_f): Likewise.
19511 (RUN_TEST_fi_f): Likewise.
19512 (RUN_TEST_fl_f): Likewise.
19513 (RUN_TEST_fff_f): Likewise.
19514 (RUN_TEST_c_f): Likewise.
19515 (RUN_TEST_f_f1): Likewise.
19516 (RUN_TEST_fF_f1): Likewise.
19517 (RUN_TEST_fI_f1): Likewise.
19518 (RUN_TEST_ffI_f1): Likewise.
19519 (RUN_TEST_c_c): Likewise.
19520 (RUN_TEST_cc_c): Likewise.
19521 (RUN_TEST_f_i): Likewise.
19522 (RUN_TEST_f_i_tg): Likewise.
19523 (RUN_TEST_ff_i_tg): Likewise.
19524 (RUN_TEST_f_b): Likewise.
19525 (RUN_TEST_f_b_tg): Likewise.
19526 (RUN_TEST_f_l): Likewise.
19527 (RUN_TEST_f_L): Likewise.
19528 (RUN_TEST_sincos): Likewise.
19529 * math/gen-libm-test.pl (new_test): Take new argument to indicate
19530 whether to show exceptions. Do not include ");\n" in return
19532 (special_functions): Output call to RUN_TEST_sincos instead of
19533 check_float calls. Update calls to new_test.
19534 (parse_args): Output call to single RUN_TEST_* macro instead of
19535 check_* calls and other assignments. Update calls to new_test.
19541 * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
19542 input to result for tgamma overflow.
19543 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
19544 (gamma_coeff): New variable.
19545 (NCOEFF): New macro.
19546 (gamma_positive): New function.
19547 (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
19548 underflow here. Use gamma_positive instead of exp (lgamma) for
19550 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
19551 (gamma_coeff): New variable.
19552 (NCOEFF): New macro.
19553 (gammaf_positive): New function.
19554 (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
19555 underflow here. Use gamma_positive instead of exp (lgamma) for
19557 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
19558 (gamma_coeff): New variable.
19559 (NCOEFF): New macro.
19560 (gammal_positive): New function.
19561 (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
19562 underflow here. Use gamma_positive instead of exp (lgamma) for
19564 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
19565 (gamma_coeff): New variable.
19566 (NCOEFF): New macro.
19567 (gammal_positive): New function.
19568 (__ieee754_gammal_r): Handle positive infinity, overflow and
19569 underflow here. Handle NaN the same as positive infinity. Remove
19570 check x < 0xffffffff for negative integers. Use gamma_positive
19571 instead of exp (lgamma) for other arguments.
19572 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
19573 (gamma_coeff): New variable.
19574 (NCOEFF): New macro.
19575 (gammal_positive): New function.
19576 * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
19577 * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
19578 * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
19579 * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
19580 * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
19581 * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
19582 * sysdeps/generic/math_private.h (__gamma_productf): New
19584 (__gamma_product): Likewise.
19585 (__gamma_productl): Likewise.
19586 * math/Makefile (libm-calls): Add gamma_product.
19587 * math/libm-test.inc (tgamma_test): Add more tests.
19588 * sysdeps/i386/fpu/libm-test-ulps: Update.
19589 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19591 2013-05-08 Ondřej Bílka <neleai@seznam.cz>
19593 * benchtests/bench-skeleton.c (main): Preheat CPU.
19595 2013-05-07 Aurelien Jarno <aurelien@aurel32.net>
19597 * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
19599 2013-05-07 Roland McGrath <roland@hack.frob.com>
19601 * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
19602 and _dl_skip_args_internal.
19604 2013-05-07 Carlos O'Donell <carlos@redhat.com>
19606 * manual/message.texi (Message Translation): Talk about users.
19607 Message to key mapping impacts design.
19609 2013-05-06 Roland McGrath <roland@hack.frob.com>
19611 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
19613 * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
19615 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
19616 * sysdeps/wordsize-64/glob64.c: ... here.
19618 * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
19619 (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
19622 * debug/getlogin_r_chk.c: Moved to ...
19623 * login/getlogin_r_chk.c: ... here.
19624 * debug/Makefile (routines): Move getlogin_r_chk to ...
19625 * login/Makefile (routines): ... here.
19626 * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
19627 * login/Versions (libc: GLIBC_2.4): ... here.
19629 * io/poll.c (__poll): Renamed from poll.
19630 Add libc_hidden_def.
19631 (poll): Define as weak alias.
19633 * debug/ptsname_r_chk.c: Moved to ...
19634 * login/ptsname_r_chk.c: ... here.
19635 * debug/Makefile (routines): Move ptsname_r_chk to ...
19636 * login/Makefile (routines): ... here.
19637 * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
19638 * login/Versions (libc: GLIBC_2.4): ... here.
19640 * posix/getlogin.c: Moved to ...
19641 * login/getlogin.c: ... here.
19642 * posix/getlogin_r.c: Moved to ...
19643 * login/getlogin_r.c: ... here.
19644 * posix/getlogin_r.c: Moved to ...
19645 * login/getlogin_r.c: ... here.
19646 * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
19647 * login/Makefile (routines): ... here.
19648 * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
19649 * login/Versions (libc: GLIBC_2.0): ... here.
19651 * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
19652 (setrlimit): Define as weak alias.
19654 * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
19655 Call __ names for open, ftruncate, and close.
19656 For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
19657 (truncate): Define as weak alias.
19659 2013-05-06 Joseph Myers <joseph@codesourcery.com>
19661 * math/gen-libm-test.pl (parse_args): Initialize x before each
19662 test of frexp, modf and remquo.
19664 * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
19665 test signgam value.
19667 2013-05-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19671 * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
19673 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
19675 2013-05-06 Roland McGrath <roland@hack.frob.com>
19677 * elf/dl-writev.h: New file.
19678 * elf/dl-misc.c: Include it.
19679 (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
19680 * sysdeps/unix/sysv/linux/dl-writev.h: New file.
19682 2013-05-04 Joseph Myers <joseph@codesourcery.com>
19684 * math/libm-test.inc (noXFails): Remove variable.
19685 (noXPasses): Likewise.
19686 (BUILD_COMPLEX_INT): Remove macro.
19687 (print_screen): Remove xfail argument.
19688 (print_screen_max_error): Likewise.
19689 (update_stats): Likewise.
19690 (print_max_error): Likewise. Update calls to other affected
19692 (print_complex_max_error): Likewise.
19693 (test_single_exception): Update calls to print_screen.
19694 (test_single_errno): Likewise.
19695 (check_float_internal): Remove xfail argument. Update calls to
19696 other affected functions.
19697 (check_float): Likewise.
19698 (check_complex): Likewise.
19699 (check_int): Likewise.
19700 (check_long): Likewise.
19701 (check_bool): Likewise.
19702 (check_longlong): Likewise.
19703 (main): Don't print noXFails and noXPasses.
19704 * math/gen-libm-test.pl (top level): Don't mention expected
19705 failure handling in comment.
19706 (new_test): Don't handle expected failures.
19707 (parse_args): Don't mention expected failure handling in comment.
19708 (generate_testfile): Don't handle expected failures.
19709 (parse_ulps): Likewise.
19710 (print_ulps_file): Likewise.
19711 (get_failure): Remove function.
19712 (output_test): Don't handle expected failures.
19713 * make/README.libm-test: Don't mention expected failure handling.
19715 * math/libm-test.inc (plus_zero): Make const. Add initializer.
19716 (minus_zero): Likewise.
19717 (plus_infty): Likewise.
19718 (minus_infty): Likewise.
19719 (qnan_value): Likewise.
19720 (max_value): Likewise.
19721 (min_value): Likewise.
19722 (min_subnorm_value): Likewise.
19723 (initialize): Do not initialize those variables dynamically.
19725 2013-05-03 Roland McGrath <roland@hack.frob.com>
19727 * io/open.c (__open_2): Moved to ...
19728 * io/open_2.c: ... this new file.
19729 * io/open64.c (__open64_2): Moved to ...
19730 * io/open64_2.c: ... this new file.
19731 * io/openat.c (__openat_2): Moved to ...
19732 * io/openat_2.c: ... this new file.
19733 * io/openat64.c (__openat64_2): Moved to ...
19734 * io/openat64_2.c: ... this new file.
19735 * io/Makefile (routines): Add them.
19736 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
19737 * sysdeps/unix/sysv/linux/open_2.c: File removed.
19738 * sysdeps/unix/sysv/linux/open64_2.c: File removed.
19739 * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
19740 * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
19741 * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
19742 (__openat64): Add hidden_ver.
19743 * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
19744 * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
19746 * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
19747 Separately conditionalize setting of GLRO(dl_sysinfo) so
19748 that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
19749 as well, but the actual setting is only under [NEED_DL_SYSINFO].
19751 2013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19753 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
19754 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
19756 (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
19757 * sysdeps/unix/sysv/linux/powerpc/init-first.c
19758 (_libc_vdso_platform_setup): Add __vdso_time initialization.
19759 * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
19760 for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
19762 2013-05-03 Joseph Myers <joseph@codesourcery.com>
19764 * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
19765 test signgam value.
19767 * math/libm-test.inc (hypot_test): Do not use
19768 IGNORE_ZERO_INF_SIGN.
19770 2013-05-03 Andreas Jaeger <aj@suse.de>
19772 * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
19774 * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
19775 (PF_MAX): Adjust for VSOCK change.
19777 2013-05-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19779 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19781 2013-05-02 Carlos O'Donell <carlos@redhat.com>
19784 * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
19785 * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
19786 * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
19788 2013-05-02 David S. Miller <davem@davemloft.net>
19790 * sysdeps/sparc/fpu/libm-test-ulps: Update.
19792 2013-05-01 Ondřej Bílka <neleai@seznam.cz>
19794 * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
19796 2013-05-01 Roland McGrath <roland@hack.frob.com>
19798 * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
19800 2013-05-01 Richard Smith <richard@metafoo.co.uk>
19803 * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
19804 [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
19805 Use __attribute__ ((__gnu_inline__)).
19806 [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
19807 Don't use __attribute__ ((__gnu_inline__)).
19809 2013-05-01 Joseph Myers <joseph@codesourcery.com>
19812 * math/s_catan.c (__catan): Handle small real or imaginary part of
19813 input specially to avoid spurious underflow.
19814 * math/s_catanf.c (__catanf): Likewise.
19815 * math/s_catanh.c (__catanh): Likewise.
19816 * math/s_catanhf.c (__catanhf): Likewise.
19817 * math/s_catanhl.c (__catanhl): Likewise.
19818 * math/s_catanl.c (__catanl): Likewise.
19819 * math/libm-test.inc (catan_test): Add more tests.
19820 (catanh_test): Likewise.
19821 * sysdeps/i386/fpu/libm-test-ulps: Update.
19822 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19824 2013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19826 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19828 2013-04-30 Joseph Myers <joseph@codesourcery.com>
19831 * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
19832 accurately for denominator in atan2.
19833 * math/s_catanf.c (__catanf): Likewise.
19834 * math/s_catanh.c (__catanh): Likewise.
19835 * math/s_catanhf.c (__catanhf): Likewise.
19836 * math/s_catanhl.c (__catanhl): Likewise.
19837 * math/s_catanl.c (__catanl): Likewise.
19838 * math/libm-test.inc (catan_test): Add more tests.
19839 (catanh_test): Likewise.
19840 * sysdeps/i386/fpu/libm-test-ulps: Update.
19841 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19843 2013-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
19845 * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
19847 * benchtests/Makefile (bench): Remove slow benchmarks.
19848 * benchtests/atan-inputs: Add slow benchmark inputs.
19849 * benchtests/bench-modf.c (NUM_VARIANTS): Define.
19850 (BENCH_FUNC): Accept variant offset.
19852 * benchtests/bench-skeleton.c (main): Run benchmark for each
19854 * benchtests/cos-inputs: Add slow benchmark inputs.
19855 * benchtests/exp-inputs: Likewise.
19856 * benchtests/pow-inputs: Likewise.
19857 * benchtests/sin-inputs: Likewise.
19858 * benchtests/slowatan-inputs: Remove.
19859 * benchtests/slowatan.c: Remove.
19860 * benchtests/slowcos-inputs: Remove.
19861 * benchtests/slowcos.c: Remove.
19862 * benchtests/slowexp-inputs: Remove.
19863 * benchtests/slowexp.c: Remove.
19864 * benchtests/slowpow-inputs: Remove.
19865 * benchtests/slowpow.c: Remove.
19866 * benchtests/slowsin-inputs: Remove.
19867 * benchtests/slowsin.c: Remove.
19868 * benchtests/slowtan-inputs: Remove.
19869 * benchtests/slowtan.c: Remove.
19870 * benchtests/tan-inputs: Add slow benchmark inputs.
19871 * scripts/bench.pl: Parse comments and directives.
19873 * benchtests/Makefile: Remove *-ITER. Define BENCH_DURATION
19875 ($(objpfx)bench-%.c): Remove *-ITER.
19876 * benchtests/bench-modf.c: Remove definition of ITER.
19877 * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
19878 (main): Loop for DURATION seconds instead of fixed number of
19880 * scripts/bench.pl: Don't expect iterations in parameters.
19882 2013-04-29 Roland McGrath <roland@hack.frob.com>
19884 * io/fchdir.c (__fchdir): Renamed from fchdir.
19885 (fchdir): Define as weak alias.
19887 2013-04-29 Joseph Myers <joseph@codesourcery.com>
19889 * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
19890 (ERRNO_EDOM): Likewise.
19891 (ERRNO_ERANGE): Likewise.
19892 (noErrnoTests): New variable.
19893 (init_max_error): Set errno to 0.
19894 (test_single_errno): New function.
19895 (test_errno): Likewise.
19896 (check_float_internal): Call test_errno. Set errno to 0.
19897 (check_complex): Refer to errno tests in comment.
19898 (check_int): Call test_errno. Set errno to 0.
19899 (check_long): Likewise.
19900 (check_bool): Likewise.
19901 (check_longlong): Likewise.
19902 (cos_test): Use ERRNO_* flags for errno tests instead of
19904 (expm1_test): Likewise.
19905 (fmod_test): Likewise.
19906 (ilogb_test): Likewise.
19907 (lgamma_test): Likewise.
19908 (pow_test): Likewise.
19909 (remainder_test): Likewise.
19910 (sin_test): Likewise.
19911 (tan_test): Likewise.
19912 (yn_test): Likewise.
19913 (initialize): Set errno to 0.
19914 (main): Print number of errno tests.
19915 * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
19917 2013-04-29 Andreas Jaeger <aj@suse.de>
19920 * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
19924 * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
19925 * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
19929 * stdlib/random.c (__initstate): Return NULL if
19933 * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
19934 RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
19937 2013-04-29 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19939 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19941 2013-04-29 Joseph Myers <joseph@codesourcery.com>
19943 * math/libm-test.inc (cacos_test): Add missing semicolons at ends
19944 of individual tests.
19945 (casin_test): Likewise.
19946 (casinh_test): Likewise.
19948 2013-04-27 Joseph Myers <joseph@codesourcery.com>
19951 * math/s_catan.c (__catan): Handle arguments with large real or
19952 imaginary part separately without squaring.
19953 * math/s_catanf.c (__catanf): Likewise.
19954 * math/s_catanh.c (__catanh): Likewise.
19955 * math/s_catanhf.c (__catanhf): Likewise.
19956 * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
19958 (__catanhl): Handle arguments with large real or imaginary part
19959 separately without squaring.
19960 * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
19962 (__catanl): Handle arguments with large real or imaginary part
19963 separately without squaring.
19964 * math/libm-test.inc (catan_test): Add more tests.
19965 (catanh_test): Likewise.
19966 * sysdeps/i386/fpu/libm-test-ulps: Update.
19967 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19969 2013-04-27 Andreas Jaeger <aj@suse.de>
19972 * stdlib/stdlib.h: Update guards for qecvt.
19973 * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
19976 2013-04-27 Allan McRae <allan@archlinux.org>
19978 * sysdeps/i386/fpu/libm-test-ulps: Update.
19980 2013-04-26 Joseph Myers <joseph@codesourcery.com>
19983 * math/s_catan.c: Include <float.h>.
19984 (__catan): Ensure underflow exception occurs for underflowed
19986 * math/s_catanf.c: Include <float.h>.
19987 (__catanf): Ensure underflow exception occurs for underflowed
19989 * math/s_catanh.c: Include <float.h>.
19990 (__catanh): Ensure underflow exception occurs for underflowed
19992 * math/s_catanhf.c: Include <float.h>.
19993 (__catanhf): Ensure underflow exception occurs for underflowed
19995 * math/s_catanhl.c: Include <float.h>.
19996 (__catanhl): Ensure underflow exception occurs for underflowed
19998 * math/s_catanl.c: Include <float.h>.
19999 (__catanl): Ensure underflow exception occurs for underflowed
20001 * math/libm-test.inc (catan_test): Add more tests.
20002 (catanh_test): Likewise.
20005 * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
20006 underflowed result.
20007 * math/s_ccoshf.c (__ccoshf): Likewise.
20008 * math/s_ccoshl.c (__ccoshl): Likewise.
20009 * math/s_csin.c (__csin): Likewise.
20010 * math/s_csinf.c (__csinf): Likewise.
20011 * math/s_csinh.c (__csinh): Likewise.
20012 * math/s_csinhf.c (__csinhf): Likewise.
20013 * math/s_csinhl.c (__csinhl): Likewise.
20014 * math/s_csinl.c (__csinl): Likewise.
20015 * math/libm-test.inc (ccos_test): Add more tests.
20016 (ccosh_test): Likewise.
20017 (csin_test): Likewise.
20018 (csinh_test): Likewise.
20020 2013-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20022 * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
20023 * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
20024 * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
20025 * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
20026 * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
20027 powerpc/power5+/fpu folders.
20028 * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
20031 2013-04-26 Markus Trippelsdorf <markus@trippelsdorf.de>
20033 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
20035 2013-04-25 Joseph Myers <joseph@codesourcery.com>
20037 * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
20038 additions to variable.
20039 [$(config-machine) = x86_64] (modules-names): Likewise.
20040 ($(objpfx)tst-audit3): Remove dependency.
20041 ($(objpfx)tst-audit3.out): Likewise.
20042 ($(objpfx)tst-audit4): Likewise.
20043 ($(objpfx)tst-audit4.out): Likewise.
20044 ($(objpfx)tst-audit5): Likewise.
20045 ($(objpfx)tst-audit5.out): Likewise.
20046 ($(objpfx)tst-audit6): Likewise.
20047 ($(objpfx)tst-audit6.out): Likewise.
20048 ($(objpfx)tst-audit7): Likewise.
20049 ($(objpfx)tst-audit7.out): Likewise.
20050 (tst-audit3-ENV): Remove variable.
20051 (tst-audit4-ENV): Likewise.
20052 (tst-audit5-ENV): Likewise.
20053 (tst-audit6-ENV): Likewise.
20054 (tst-audit7-ENV): Likewise.
20055 [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
20056 [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
20057 addition to variable.
20058 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
20059 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
20060 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
20061 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
20062 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
20063 * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
20064 tst-audit3, tst-audit4 and tst-audit5.
20065 [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
20066 tst-audit6 and tst-audit7.
20067 [$(subdir) = elf] (modules-names): Add audit modules for those
20069 [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
20070 [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
20071 [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
20072 [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
20073 [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
20074 [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
20075 [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
20076 [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
20077 [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
20078 [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
20079 [$(subdir) = elf] (tst-audit3-ENV): New variable.
20080 [$(subdir) = elf] (tst-audit4-ENV): Likewise.
20081 [$(subdir) = elf] (tst-audit5-ENV): Likewise.
20082 [$(subdir) = elf] (tst-audit6-ENV): Likewise.
20083 [$(subdir) = elf] (tst-audit7-ENV): Likewise.
20084 [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
20086 [$(subdir) = elf && $(config-cflags-avx) = yes]
20087 (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
20088 [$(subdir) = elf && $(config-cflags-avx) = yes]
20089 (CFLAGS-tst-auditmod4a.c): Likewise.
20090 [$(subdir) = elf && $(config-cflags-avx) = yes]
20091 (CFLAGS-tst-auditmod4b.c): Likewise.
20092 [$(subdir) = elf && $(config-cflags-avx) = yes]
20093 (CFLAGS-tst-auditmod6b.c): Likewise.
20094 [$(subdir) = elf && $(config-cflags-avx) = yes]
20095 (CFLAGS-tst-auditmod6c.c): Likewise.
20096 [$(subdir) = elf && $(config-cflags-avx) = yes]
20097 (CFLAGS-tst-auditmod7b.c): Likewise.
20098 * elf/tst-audit3.c: Move to ...
20099 * sysdeps/x86_64/tst-audit3.c: ... here.
20100 * elf/tst-audit4.c: Move to ...
20101 * sysdeps/x86_64/tst-audit4.c: ... here.
20102 * elf/tst-audit5.c: Move to ...
20103 * sysdeps/x86_64/tst-audit5.c: ... here.
20104 * elf/tst-audit6.c: Move to ...
20105 * sysdeps/x86_64/tst-audit6.c: ... here.
20106 * elf/tst-audit7.c: Move to ...
20107 * sysdeps/x86_64/tst-audit7.c: ... here.
20108 * elf/tst-auditmod3a.c: Move to ...
20109 * sysdeps/x86_64/tst-auditmod3a.c: ... here.
20110 * elf/tst-auditmod3b.c: Move to ...
20111 * sysdeps/x86_64/tst-auditmod3b.c: ... here.
20112 * elf/tst-auditmod4a.c: Move to ...
20113 * sysdeps/x86_64/tst-auditmod4a.c: ... here.
20114 * elf/tst-auditmod4b.c: Move to ...
20115 * sysdeps/x86_64/tst-auditmod4b.c: ... here.
20116 * elf/tst-auditmod5a.c: Move to ...
20117 * sysdeps/x86_64/tst-auditmod5a.c: ... here.
20118 * elf/tst-auditmod5b.c: Move to ...
20119 * sysdeps/x86_64/tst-auditmod5b.c: ... here.
20120 * elf/tst-auditmod6a.c: Move to ...
20121 * sysdeps/x86_64/tst-auditmod6a.c: ... here.
20122 * elf/tst-auditmod6b.c: Move to ...
20123 * sysdeps/x86_64/tst-auditmod6b.c: ... here.
20124 * elf/tst-auditmod6c.c: Move to ...
20125 * sysdeps/x86_64/tst-auditmod6c.c: ... here.
20126 * elf/tst-auditmod7a.c: Move to ...
20127 * sysdeps/x86_64/tst-auditmod7a.c: ... here.
20128 * elf/tst-auditmod7b.c: Move to ...
20129 * sysdeps/x86_64/tst-auditmod7b.c: ... here.
20131 2013-04-25 Paul Pluzhnikov <ppluzhnikov@google.com>
20134 * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
20135 define unconditionally.
20136 * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
20137 define unconditionally.
20138 (INT8_C, INT16_C, etc.): Likewise.
20140 2013-04-25 Maciej W. Rozycki <macro@codesourcery.com>
20142 * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
20143 __ehdr_start with hidden visibility.
20145 * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
20147 2013-04-24 Carlos O'Donell <carlos@redhat.com>
20149 * math/libm-test.inc (cos_test): Use accurate hex constants.
20150 (sincost_test): Likewise.
20152 2013-04-24 Joseph Myers <joseph@codesourcery.com>
20154 * math/libm-test.inc (catan_test): Add more tests.
20155 (catanh_test): Likewise.
20157 * math/s_catanf.c (__catanf): Use suffixed floating-point
20159 * math/s_catanhf.c (__catanhf): Likewise.
20160 * math/s_catanhl.c (__catanhl): Likewise.
20161 * math/s_catanl.c (__catanl): Likewise.
20164 * math/s_catan.c (__catan): Calculate imaginary part of result
20165 with log1p not log unless computing log of number close to 0.
20166 * math/s_catanf.c (__catanf): Likewise.
20167 * math/s_catanl.c (__catanl): Likewise.
20168 * math/s_catanh.c (__catanh): Calculate real part of result with
20169 log1p not log unless computing log of number close to 0.
20170 * math/s_catanhf.c (__catanhf): Likewise.
20171 * math/s_catanhl.c (__catanhl): Likewise.
20172 * math/libm-test.inc (catan_test): Add more tests.
20173 (catanh_test): Likewise.
20174 * sysdeps/i386/fpu/libm-test-ulps: Update.
20175 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20177 2013-04-24 Siddhesh Poyarekar <siddhesh@redhat.com>
20179 * benchtests/Makefile: Mention files in which fast and slow
20180 paths of math functions are implemented.
20182 2013-04-23 Roland McGrath <roland@hack.frob.com>
20184 * sysdeps/posix/timespec_get.c: New file.
20186 2013-04-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20188 * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
20190 * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
20192 * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
20193 powerpc/power5/fpu folders.
20194 * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
20195 * benchtests/Makefile: Add modf testcase.
20196 * benchtests/bench-modf.c: New file: Benchmark test for mo
20198 2013-04-23 Siddhesh Poyarekar <siddhesh@redhat.com>
20201 * time/Makefile (tests): Add tst-strptime-whitespace.
20202 * time/strptime_l.c (get_number): Use ISSPACE.
20203 (__strptime_internal): Likewise.
20204 * time/tst-strptime-whitespace.c: New test case.
20206 2013-04-23 Andreas Schwab <schwab@linux-m68k.org>
20208 * nss/nss_files/files-init.c (TF): Don't initialize flexible array
20210 (_nss_files_init): Set it here.
20212 2013-04-23 Heiko Carstens <heiko.carstens@de.ibm.com>
20214 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
20215 f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
20218 2013-04-22 Jan-Benedict Glaw <jbglaw@getslash.de>
20220 * nss/getent.c (shadow_keys): Call endspent, not endpwent.
20222 2013-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
20224 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
20227 2013-04-21 David S. Miller <davem@davemloft.net>
20229 * po/ru.po: Update Russion translation from translation project.
20231 2013-04-17 Adam Conrad <adconrad@0c3.net>
20233 * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
20236 2013-04-17 Carlos O'Donell <carlos@redhat.com>
20238 * configure.in: Remove i386 configure warning. Remove i386 case.
20239 * configure: Regenerate.
20240 * sysdeps/i386/configure.in: Raise error if config_machine is i386.
20241 Add example to error message.
20242 * sysdeps/i386/configure: Regenerate.
20244 2013-04-17 Siddhesh Poyarekar <siddhesh@redhat.com>
20246 * benchtests/Makefile (bench): Add cos, tan, slowcos and
20248 * benchtests/cos-inputs: New file.
20249 * benchtests/slowcos-inputs: New file.
20250 * benchtests/slowcos.c: New file.
20251 * benchtests/slowtan-inputs: New file.
20252 * benchtests/slowtan.c: New file.
20253 * benchtests/tan-inputs: New file.
20255 2013-04-16 Roland McGrath <roland@hack.frob.com>
20257 * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
20260 2013-04-16 Siddhesh Poyarekar <siddhesh@redhat.com>
20262 * benchtests/Makefile: Include cppflags-iterator.mk to add
20263 -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
20265 * Makefile.in (bench-clean): New target.
20266 * benchtests/Makefile (bench-clean): Likewise.
20268 2013-04-16 David Holsgrove <david.holsgrove@xilinx.com>
20270 * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
20272 2013-04-15 Thomas Schwinge <thomas@codesourcery.com>
20274 * stdio-common/tstdiomisc.c: Fix coding-style violation.
20276 2013-04-15 Andreas Schwab <schwab@suse.de>
20278 * nscd/grpcache.c (cache_addgr): Properly check for short write.
20279 * nscd/initgrcache.c (addinitgroupsX): Likewise.
20280 * nscd/pwdcache.c (cache_addpw): Likewise.
20281 * nscd/servicescache.c (cache_addserv): Likewise. Don't write
20284 2013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
20286 * benchtests/Makefile (bench): Write all output to
20287 bench-out.tmp together.
20289 2013-04-15 Andreas Schwab <schwab@suse.de>
20291 * nscd/nscd.c (main): Don't fork again after closing files.
20293 2013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
20295 * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
20297 * benchtests/Rules (bench-deps): Collect dependencies into a
20298 single variable. Add Makefile to dependencies.
20299 ($(objpfx)bench-%.c): Depend on bench-deps.
20301 2013-04-12 Roland McGrath <roland@hack.frob.com>
20302 Xavier Roche <roche+kml2@exalead.com>
20305 * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
20306 just that it's a file descriptor.
20307 * manual/llio.texi (Synchronizing AIO Operations): Update description
20308 for EBADF error from aio_fsync.
20310 2013-04-12 Siddhesh Poyarekar <siddhesh@redhat.com>
20312 * Rules (bench): Move target definition...
20313 * benchtests/Makefile: ... here.
20315 2013-04-11 Carlos O'Donell <carlos@redhat.com>
20317 * math/libm-test.inc (cos_test): Fix PI/2 test.
20318 (sincos_test): Likewise.
20319 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
20320 * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
20322 2013-04-11 Andreas Schwab <schwab@suse.de>
20325 * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
20326 accept exponent character only when digits were seen.
20327 * stdio-common/Makefile (tests): Add bug26.
20328 * stdio-common/bug26.c: New file.
20331 * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
20334 2013-04-11 Siddhesh Poyarekar <siddhesh@redhat.com>
20336 * Makeconfig (rtld-prefix): Define built linker prefix.
20337 * Rules (run-bench): Use it.
20338 * math/Makefile (run-regen-ulps): Likewise.
20340 * Rules (bench): Remove eval.
20342 2013-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
20343 Roland McGrath <roland@hack.frob.com>
20344 Ondrej Bilka <neleai@seznam.cz>
20347 * time/getdate.c: Include ctype.h and alloca.h.
20348 (__getdate_r): Trim leading and trailing spaces of input.
20349 * time/tst-getdate.c (tests): Add tests with leading and
20352 2013-04-08 Roland McGrath <roland@hack.frob.com>
20355 * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
20356 when computing value.
20358 2013-04-06 Carlos O'Donell <carlos@redhat.com>
20360 * math/README.libm-test (How can I generate "libm-test-ulps"?):
20361 Use testrun.sh to run libm tests.
20364 * elf/dl-open.c (dl_open_worker): memset all of seen array.
20366 2013-04-06 Marko Myllynen <myllynen@redhat.com>
20369 * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
20371 2013-04-06 Carlos O'Donell <carlos@redhat.com>
20373 * Makefile.in (regen-ulps): New target.
20374 * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
20375 [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
20376 [ifneq (no,$(PERL)] (regen-ulps): New target.
20377 [ifeq (no,$(PERL)] (regen-ulps): New target.
20378 * math/libm-test.inc (ulps_file_name): Define.
20379 (output_dir): New variable.
20380 (options): Add "output-dir" option.
20381 (parse_opt): Handle 'o' case.
20382 (main): If output_dir is non-NULL use it as a prefix
20384 * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
20386 2013-04-06 Carlos O'Donell <carlos@redhat.com>
20388 [BZ #10060, #10062]
20389 * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
20390 * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
20391 fail configure if __sync_val_compare_and_swap is not inlined.
20392 * sysdeps/i386/configure: Regenerate.
20393 * configure.in: Build for i686 when configured for i386.
20394 * configure: Regenerate.
20395 * README: Remove i386 reference.
20397 2013-04-06 Carlos O'Donell <carlos@redhat.com>
20399 * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
20400 * sysdeps/s390/s390-64/sysdep.h: Likewise.
20402 2013-04-05 Thomas Schwinge <thomas@codesourcery.com>
20404 * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
20405 (lmsnanval): New variables.
20406 (F): Add conversion tests.
20407 * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
20408 * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
20410 * stdio-common/tstdiomisc.c (F): Properly collect individual
20413 [BZ #14686, #15336]
20414 * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
20415 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
20416 Instead, use input NaN values or generate a qNaN by arithmetic
20417 operation. Also fix bugs to comply with the standard.
20418 * math/libm-test.inc (remainder_test): Add more tests.
20420 [BZ #15335, #15342]
20421 * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
20422 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
20423 input NaN values or generate a qNaN by arithmetic operation.
20425 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
20428 * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
20431 2013-04-03 Joseph Myers <joseph@codesourcery.com>
20434 * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
20435 underflowed result.
20436 * math/s_cexpf.c (__cexpf): Likewise.
20437 * math/s_cexpl.c (__cexpl): Likewise.
20438 * math/libm-test.inc (cexp_test): Add more tests.
20440 2013-04-03 Andreas Schwab <schwab@suse.de>
20443 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
20444 order arrays from heap if bigger than alloca cutoff.
20446 2013-04-03 Thomas Schwinge <thomas@codesourcery.com>
20448 * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
20449 (SNAN_TESTS_double): Refer to GCC PR56831.
20450 * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
20453 2013-04-03 Siddhesh Poyarekar <siddhesh@redhat.com>
20455 * Rules (bench): Move bench.out after the run is complete.
20457 * Rules (bench): Echo currently running benchmark.
20459 * benchtests/Makefile (bench): Add atan and slowatan.
20460 * benchtests/atan-inputs: New file.
20461 * benchtests/slowatan-inputs: New file.
20462 * benchtests/slowatan.c: New file.
20464 * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
20465 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
20469 * sysdeps/unix/sysv/linux/kernel-features.h
20470 [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
20471 __ASSUME_XFS_RESTRICTED_CHOWN.
20472 * sysdeps/unix/sysv/linux/pathconf.c
20473 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
20474 Save and restore errno.
20476 2013-04-02 Joseph Myers <joseph@codesourcery.com>
20479 * math/s_cacosh.c (__cacosh): Implement for finite nonzero
20480 arguments using __kernel_casinh.
20481 * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
20482 arguments using __kernel_casinhf.
20483 * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
20484 arguments using __kernel_casinhl.
20485 * math/libm-test.inc (cacosh_test): Add more tests.
20486 * sysdeps/i386/fpu/libm-test-ulps: Update.
20487 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20489 2013-04-02 Siddhesh Poyarekar <siddhesh@redhat.com>
20491 * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
20492 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
20494 * bench/Makefile (bench): Add sin and slowsin.
20495 * benchtests/sin-inputs: New file.
20496 * benchtests/slowsin-inputs: New file.
20497 * benchtests/slowsin.c: New file.
20499 * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
20500 (bench): Add slowexp and slowpow.
20501 (exp-ITER): Increase iterations.
20502 (pow-ITER): Likewise.
20503 * benchtests/exp-inputs: Change input.
20504 * benchtests/pow-inputs: Likewise.
20505 * benchtests/slowexp-inputs: New file.
20506 * benchtests/slowexp.c: New file.
20507 * benchtests/slowpow-inputs: New file.
20508 * benchtests/slowpow.c: New file.
20510 2013-04-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20512 * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
20514 * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
20515 * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
20516 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
20517 * benchtests/Makefile: Add rint benchtest.
20518 * benchtests/rint-inputs: Input for rint benchtest.
20520 2013-04-02 Thomas Schwinge <thomas@codesourcery.com>
20522 * Versions.def (libm): Add GLIBC_2.18.
20523 * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
20524 hidden libm prototypes.
20525 [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
20526 * math/Makefile (libm-calls): Add s_issignaling.
20527 * math/Versions (libm: GLIBC_2.18): Add __issignaling,
20528 __issignalingf, __issignalingl. Adjust all libm.abilist files.
20529 * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
20531 * math/math.h [__USE_GNU] (issignaling): New macro.
20532 * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
20533 * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
20534 * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
20535 * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
20536 * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
20537 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
20538 * manual/arith.texi (issignaling): New section.
20539 * manual/libm-err-tab.pl (@all_functions): Update comment.
20540 * math/gen-libm-test.pl (parse_args): Apply special handling for
20542 * math/libm-test.inc (print_float, issignaling_test): New
20544 (check_float_internal): Add issignaling checks.
20545 * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
20546 default definition.
20547 * sysdeps/powerpc/math-tests.h: New file.
20548 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
20550 * math/test-snan.c (TEST_FUNC): Likewise.
20552 2013-03-30 David S. Miller <davem@davemloft.net>
20554 * po/de.po: Update from translation team.
20556 2013-03-30 Joseph Myers <joseph@codesourcery.com>
20559 * math/k_casinh.c (__kernel_casinh): Handle arguments with
20560 imaginary part less than 1.0 and real part less than 0.5
20562 * math/k_casinhf.c (__kernel_casinhf): Likewise.
20563 * math/k_casinhl.c (__kernel_casinhl): Likewise.
20564 * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
20565 (cacos_test): Add more tests.
20566 (casin_test): Likewise.
20567 (casinh_test): Likewise.
20568 * sysdeps/i386/fpu/libm-test-ulps: Update.
20569 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20571 2013-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
20573 * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
20574 ONE with its value.
20576 * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
20577 (__pow_mp): Replace ONE and MONE with their values.
20578 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
20579 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
20580 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
20581 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
20582 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
20583 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
20585 * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
20587 * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
20588 (__pow_mp): Replace ZERO and MZERO with their values.
20589 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
20590 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
20591 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
20592 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
20593 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
20594 * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
20597 * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
20599 * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
20601 2013-03-28 Roland McGrath <roland@hack.frob.com>
20603 * include/stdlib.h [!SHARED] (__call_tls_dtors):
20604 Declare with __attribute__ ((weak)).
20605 * stdlib/exit.c (__libc_atexit) [!SHARED]:
20606 Call __call_tls_dtors only if it's not NULL.
20608 2013-03-28 Roland McGrath <roland@hack.frob.com>
20610 * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
20611 didn't do it already, then set _dl_phdr and _dl_phnum based on the
20612 magic __ehdr_start linker symbol if it's defined.
20613 * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
20614 them up here if it was already done.
20616 * elf/dl-support.c (_dl_phdr): Make pointer to const.
20617 (_dl_aux_init): Use const in cast when setting it.
20618 * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
20619 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
20620 * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
20622 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
20624 * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
20625 * csu/libc-tls.c: Nor here.
20626 * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
20628 * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
20629 (__libc_message): Never call vsyslog.
20631 2013-03-28 Alan Modra <amodra@gmail.com>
20633 * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
20635 * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
20638 2013-03-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20641 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
20643 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
20645 2013-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
20648 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
20649 Don't add gid passed as argument.
20651 * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
20653 2013-03-27 Joseph Myers <joseph@codesourcery.com>
20656 * math/k_casinh.c (__kernel_casinh): Handle arguments with
20657 imaginary part between 1.0 and 1.5 and real part less than 0.5
20659 * math/k_casinhf.c (__kernel_casinhf): Likewise.
20660 * math/k_casinhl.c (__kernel_casinhl): Likewise.
20661 * math/libm-test.inc (cacos_test): Add more tests.
20662 (casin_test): Likewise.
20663 (casinh_test): Likewise.
20664 * sysdeps/i386/fpu/libm-test-ulps: Update.
20665 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20667 2013-03-26 Siddhesh Poyarekar <siddhesh@redhat.com>
20669 * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
20672 (denorm): Likewise.
20673 (__dbl_mp): Likewise.
20674 (add_magnitudes): Likewise.
20675 (sub_magnitudes): Likewise.
20683 * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
20685 * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
20686 (__dubcos): Likewise.
20687 * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
20688 (__ieee754_acos): Likewise.
20689 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
20690 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
20691 (__exp1): Likewise.
20692 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
20693 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
20695 (my_log2): Likewise.
20696 (checkint): Likewise.
20697 * sysdeps/ieee754/dbl-64/e_remainder.c
20698 (__ieee754_remainder): Likewise.
20699 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
20700 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
20701 (bsloww): Likewise.
20702 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
20704 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
20705 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
20706 MANTISSA_STORE_T to store computations on mantissa. Use
20707 macros for rounding and division.
20708 (denorm): Likewise.
20709 (__dbl_mp): Likewise.
20710 (add_magnitudes): Likewise.
20711 (sub_magnitudes): Likewise.
20714 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
20715 powers of two in terms of TWOPOW macro.
20716 (mp_no): Make type of mantissa as MANTISSA_T.
20717 [!RADIXI]: Define RADIXI.
20718 [!TWO52]: Define TWO52.
20719 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
20721 2013-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20723 * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
20724 llroundl symbol when building for PPC32.
20726 2013-03-24 Mark H Weaver <mhw@netris.org>
20728 * manual/arith.texi (Normalization Functions): Fix prototypes for
20729 scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
20731 2013-03-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20734 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
20735 high value to check if expl overflow.
20736 * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
20737 to check for underflow and overflow.
20738 * math/libm-test.inc: Add exp test.
20740 2013-03-21 Dmitry V. Levin <ldv@altlinux.org>
20743 * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
20746 2013-03-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20748 * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
20751 2013-03-21 Thomas Schwinge <thomas@codesourcery.com>
20753 * math/gen-libm-test.pl (parse_args, special_functions): Properly
20754 wrap blocks consisting of several statements.
20756 * sysdeps/generic/math-tests.h: New file.
20757 * sysdeps/i386/fpu/math-tests.h: Likewise.
20758 * math/test-snan.c: Include it.
20759 (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
20761 2013-03-21 Joseph Myers <joseph@codesourcery.com>
20764 * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
20765 (__ieee754_j0l): Do not improve calculations using cos of twice
20766 input for inputs above LDBL_MAX / 2.0L.
20767 (__ieee754_y0l): Likewise.
20768 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
20769 (__ieee754_j1l): Do not improve calculations using cos of twice
20770 input for inputs above LDBL_MAX / 2.0L.
20771 (__ieee754_y1l): Likewise.
20772 * math/libm-test.inc (j0_test): Add another test.
20773 (j1_test): Likewise.
20774 (y0_test): Likewise.
20775 (y1_test): Likewise.
20776 * sysdeps/i386/fpu/libm-test-ulps: Update.
20778 2013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
20780 * Rules ($(objpfx)bench-%.c): Include code from a C source
20783 2013-03-21 Joseph Myers <joseph@codesourcery.com>
20786 * math/k_casinh.c (__kernel_casinh): Handle arguments with
20787 imaginary part 1.0 and real part less than 0.5 specially.
20788 * math/k_casinhf.c (__kernel_casinhf): Likewise.
20789 * math/k_casinhl.c (__kernel_casinhl): Likewise.
20790 * math/libm-test.inc (cacos_test): Add more tests.
20791 (casin_test): Likewise.
20792 (casinh_test): Likewise.
20793 * sysdeps/i386/fpu/libm-test-ulps: Update.
20794 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20796 2013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
20798 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
20799 * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
20801 2013-03-20 Joseph Myers <joseph@codesourcery.com>
20803 * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
20804 * config.make.in (config-cflags-sse4): Remove variable.
20805 (config-cflags-avx): Likewise.
20806 (config-cflags-sse2avx): Likewise.
20807 (config-cflags-novzeroupper): Likewise.
20808 (config-asflags-i686): Likewise.
20809 (have-mfma4): Likewise.
20810 (have-as-vis3): Likewise.
20812 * configure.in (MIG): Do not AC_SUBST.
20813 (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
20814 (libc_cv_cc_sse4): Do not AC_SUBST.
20815 (libc_cv_cc_avx): Likewise.
20816 (libc_cv_cc_sse2avx): Likewise.
20817 (libc_cv_cc_novzeroupper): Likewise.
20818 (libc_cv_cc_fma4): Likewise.
20819 (libc_cv_as_i686): Likewise.
20820 (libc_cv_sparc_as_vis3): Likewise.
20821 * sysdeps/i386/configure.in (config-cflags-sse4): Set using
20823 (config-asflags-i686): Likewise.
20824 (config-cflags-avx): Likewise.
20825 (config-cflags-sse2avx): Likewise.
20826 (have-mfma4): Likewise.
20827 (config-cflags-novzeroupper): Likewise.
20828 * sysdeps/mach/configure.in (MIG): Likewise.
20829 * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
20830 * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
20832 (config-cflags-avx): Likewise.
20833 (config-cflags-sse2avx): Likewise.
20834 (have-mfma4): Likewise.
20835 (config-cflags-novzeroupper): Likewise.
20836 * configure: Regenerated.
20837 * sysdeps/i386/configure: Likewise.
20838 * sysdeps/mach/configure: Likewise.
20839 * sysdeps/sparc/configure: Likewise.
20840 * sysdeps/x86_64/configure: Likewise.
20842 2013-03-20 Roland McGrath <roland@hack.frob.com>
20845 * locale/programs/localedef.c (options): Put N_ translation marker
20846 on argument names, not just descriptions.
20848 2013-03-20 Marcus Shawcroft <marcus.shawcroft@linaro.org>
20850 * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
20852 2013-03-20 Ondřej Bílka <neleai@seznam.cz>
20855 * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
20857 2013-03-19 Roland McGrath <roland@hack.frob.com>
20859 * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
20860 [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
20861 [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
20862 [!BEFORE_ABORT] (before_abort): New function.
20863 [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
20864 * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
20865 (writev_for_fatal): New function.
20866 (WRITEV_FOR_FATAL): New macro; call that.
20867 (backtrace_and_maps): New function.
20868 (BEFORE_ABORT): New macro; call that.
20869 (struct str_list): Type removed.
20870 (__libc_message, __libc_fatal): Functions removed.
20871 Include <sysdeps/posix/libc_fatal.c> instead.
20873 2013-03-19 Joseph Myers <joseph@codesourcery.com>
20875 * math/k_casinhf.c (__kernel_casinhf): Consistently use float
20877 * math/k_casinhl.c (__kernel_casinhl): Consistently use long
20880 2013-03-19 Andreas Schwab <schwab@suse.de>
20882 * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
20883 * sysdeps/gnu/configure: Regenerate.
20885 * configure.in: Substitute libc_cv_rtlddir.
20886 * configure: Regenerate.
20887 * config.make.in (rtlddir): Set from libc_cv_rtlddir.
20888 * Makeconfig (rtlddir, inst_rtlddir): New variables.
20889 (rtld-LDFLAGS): Use them with $(rtld-installed-name).
20890 * elf/Makefile (install-others, CFLAGS-interp.c)
20891 (ldso_install, common-ldd-rewrite): Likewise.
20892 ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
20893 $(inst_slibdir)/$(rtld-installed-name).
20894 * scripts/rellns-sh: Add -p option.
20895 * Makerules (make-shlib-link): Use rellns-sh to get relative name
20898 2013-03-19 Siddhesh Poyarekar <siddhesh@redhat.com>
20900 * manual/nptl.texi: Renamed to ...
20901 * manual/threads.texi: ... this.
20902 * manual/Makefile (chapters): Update.
20904 2013-03-18 Roland McGrath <roland@hack.frob.com>
20907 * argp/argp-parse.c (argp_default_options): Put N_ translation marker
20908 on argument names, not just descriptions.
20909 * malloc/memusagestat.c (options): Likewise.
20910 * nss/getent.c (options): Likewise.
20912 2013-03-18 Benno Schulenberg <bensberg@justemail.net>
20915 * iconv/iconv_prog.c (options): Put N_ translation marker
20916 on argument names, not just descriptions.
20917 * iconv/iconvconfig.c (options): Likewise.
20919 2013-03-18 Ondrej Bilka <neleai@seznam.cz>
20921 * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
20922 implementation which is faster on all x86_64 architectures.
20923 Tested on AMD, Intel Nehalem, SNB, IVB.
20924 * sysdeps/x86_64/strnlen.S: Likewise.
20926 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
20927 Remove all multiarch strlen and strnlen versions.
20928 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
20929 Remove strlen and strnlen related parts.
20931 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
20932 Inline strlen part.
20933 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
20935 * sysdeps/x86_64/multiarch/strlen.S: Remove.
20936 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
20937 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
20938 * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
20939 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
20940 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
20942 2013-03-17 Carlos O'Donell <carlos@redhat.com>
20944 * manual/memory.texi (Malloc Tunable Parameters):
20945 Sort parameters alphabetically. Add comments for missing entries.
20947 2013-03-17 David S. Miller <davem@davemloft.net>
20949 * sysdeps/sparc/fpu/libm-test-ulps: Update.
20951 2013-03-16 Joseph Myers <joseph@codesourcery.com>
20954 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
20955 for arguments at most half maximum finite value.
20956 * math/libm-test.inc (j0_test): Add more tests.
20957 (j1_test): Likewise.
20958 (y0_test): Likewise.
20959 (y1_test): Likewise.
20960 * sysdeps/i386/fpu/libm-test-ulps: Update.
20961 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20964 * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
20965 1 / x and functions P and Q for arguments above 0x1p256L.
20966 (__ieee754_y0l): Likewise.
20967 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
20968 (__ieee754_y1l): Likewise.
20969 * math/libm-test.inc (j0_test): Do not allow spurious underflows.
20970 (j1_test): Likewise.
20971 (y0_test): Likewise.
20972 (y1_test): Likewise.
20974 2013-03-16 Thomas Schwinge <thomas@codesourcery.com>
20976 * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
20979 2013-03-15 Roland McGrath <roland@hack.frob.com>
20981 * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
20982 (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
20983 zero since it's initialized to EXEC_PAGESIZE.
20985 * sysdeps/unix/sysv/linux/ldsodefs.h
20986 (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
20987 * sysdeps/generic/ldsodefs.h: ... here.
20989 2013-03-15 Thomas Schwinge <thomas@codesourcery.com>
20991 * math/libm-test.inc (ldexp_test): Add missing START/END markers.
20993 * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
20995 * math/test-snan.c: Renamed from
20996 sysdeps/powerpc/fpu/test-powerpc-snan.c.
20997 * math/Makefile (tests): Add test-snan.
20998 * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
21001 * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
21002 SUFFIX. Initialize qNaN_var with __builtin_nan family of
21004 (TEST_TRUNC): Add SUFFIX argument. Initialize qNaN_var with
21005 __builtin_nan family of functions.
21006 * math/libm-test.inc (initialize): Initialize qnan_value with
21007 __builtin_nan family of functions.
21008 * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
21010 (init_signaling_nan, snan_float, snan_double, snan_ldouble):
21012 (TEST_FUNC): Add SUFFIX argument. Move sNaN_var into static
21013 storage class. Initialize qNaN_var and sNaN_var with
21014 __builtin_nan and __builtin_nans families of functions,
21017 * math/libm-test.inc (acosh_test): Also test with qNaN input.
21018 (sqrt_test): Remove duplicate test with qNaN input.
21019 (lrint_test, llrint_test, lround_test, llround_test, rint_test)
21020 (round_test, signbit_test, significand_test): Note missing +/-Inf
21021 as well as qNaN tests.
21023 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
21024 qNaN_var. Fix a few strings, too.
21025 * math/libm-test.inc (nan_value): Rename to qnan_value.
21026 * math/gen-libm-test.pl (%beautify): Adjust to that.
21027 * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
21028 * math/test-misc.c (main): Likewise.
21029 * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
21030 to __qnan_bytes, and __qnan_union, respectively.
21031 * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
21033 * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
21034 and lqnanval, respectively.
21035 * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
21036 * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
21037 * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
21038 and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
21040 * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
21041 * math/test-misc.c (main) [__x86_64__]: Enable test for long
21044 * math/test-misc.c (main): Fix copy'n'pastos.
21045 * misc/tst-efgcvt.c (special): Likewise.
21047 * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
21048 Remove declarations.
21050 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
21052 * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
21053 * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
21054 * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
21055 * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
21057 2013-03-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21059 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
21060 macro to return vdso values correctly in IFUNC implementations.
21061 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
21062 Optimization by using IFUNC.
21064 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
21065 Richard Henderson <rth@redhat.com>
21066 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
21068 * Makefile.in (bench): New target.
21069 * NEWS: Mention the benchmark framework.
21070 * Rules (bench): Likewise.
21071 (binaries-bench): Generate binaries for functions to
21073 * benchtests/Makefile: New makefile for benchmark tests.
21074 * benchtests/bench-skeleton.c: New skeleton file for benchmark
21076 * benchtests/exp-inputs: New input file for EXP function.
21077 * benchtests/pow-inputs: New input file for POW function.
21078 * scripts/bench.pl: New script to generate source files for
21079 benchmark programs.
21081 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
21083 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
21084 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
21085 computations on mantissa. Use macros for rounding and
21087 (denorm): Likewise.
21088 (__dbl_mp): Likewise.
21089 (add_magnitudes): Likewise.
21090 (sub_magnitudes): Likewise.
21093 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
21094 powers of two in terms of TWOPOW macro.
21095 (mp_no): Make type of mantissa as MANTISSA_T.
21096 [!RADIXI]: Define RADIXI.
21097 [!TWO52]: Define TWO52.
21098 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
21100 * manual/nptl.texi (cindex): Modify threads to pthreads.
21102 2013-03-15 Joseph Myers <joseph@codesourcery.com>
21104 * sysdeps/x86_64/preconfigure: Regenerated.
21106 2013-03-14 Joseph Myers <joseph@codesourcery.com>
21109 * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
21111 (qzero): Return -0.125 / x for arguments 0x1p28 and above.
21112 * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
21114 (qzero): Return 0.375 / x for arguments 0x1p28 and above.
21115 * math/libm-test.inc (j0_test): Do not allow one spurious
21116 underflow exception.
21117 (y1_test): Likewise.
21119 2013-03-14 Siddhesh Poyarekar <siddhesh@redhat.com>
21121 * manual/Makefile (chapters): Add nptl.
21122 * manual/debug.texi (Debugging Support): Add link to Threads
21124 * manual/nptl.texi: New file.
21126 * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
21128 2013-03-14 Petr Baudis <pasky@ucw.cz>
21130 * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
21131 for non-NULL pointer before the memory validity test. Pointed
21132 out by Holger Brunck <holger.brunck@keymile.com>.
21134 2013-03-13 Andreas Schwab <schwab@suse.de>
21136 * extra-lib.mk (extra-objs): Add static-only-routines as .oS
21139 2013-03-13 Joseph Myers <joseph@codesourcery.com>
21141 * timezone/zic.c: Update from tzcode 2013b.
21143 2013-03-12 Carlos O'Donell <carlos@redhat.com>
21145 * manual/install.texi (Configuring and compiling):
21146 Mention i686 and i586.
21147 * INSTALL: Regenerate.
21149 2013-03-12 Roland McGrath <roland@hack.frob.com>
21151 * sysdeps/init_array/elf-init.c: New file.
21153 (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
21154 (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
21156 * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
21157 __gmon_start__ as global, but as static with a .preinit_array pointer.
21158 * sysdeps/init_array/gmon-start.c: New file. Use that.
21159 * sysdeps/init_array/crti.S: New file, empty except for comments.
21160 * sysdeps/init_array/crtn.S: Likewise.
21162 2013-03-11 Ondřej Bílka <neleai@seznam.cz>
21164 * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
21166 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
21167 Remove Prefer_SSE_for_memop.
21168 * sysdeps/x86_64/multiarch/init-arch.h: Remove
21169 bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
21170 HAS_PREFER_SSE_FOR_MEMOP.
21171 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
21173 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
21174 Remove bzero, memset ifunc support.
21175 * sysdeps/x86_64/multiarch/bzero.S: Remove file.
21176 * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
21177 * sysdeps/x86_64/multiarch/memset.S: Likewise.
21178 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
21180 2013-03-11 Andreas Schwab <schwab@suse.de>
21183 * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
21185 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
21186 (GLIBC_2.16): Remove pthread_atfork.
21188 2013-03-08 Paul Pluzhnikov <ppluzhnikov@google.com>
21190 * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
21191 (ptestcases.h): Likewise.
21193 2013-03-08 Roland McGrath <roland@hack.frob.com>
21195 * Makeconfig ($(common-objpfx)config.status): Depend on
21196 sysdeps/*/preconfigure{,.in} too.
21198 2013-03-08 Joseph Myers <joseph@codesourcery.com>
21200 * malloc/malloc.h (__malloc_ptr_t): Remove macro.
21201 (__free_hook): Use void * instead of __malloc_ptr_t.
21202 (__malloc_hook): Likewise.
21203 (__realloc_hook): Likewise.
21204 (__memalign_hook): Likewise.
21205 (__after_morecore_hook): Likewise.
21206 * malloc/arena.c (save_malloc_hook): Likewise.
21207 (save_free_hook): Likewise.
21208 * malloc/hooks.c (malloc_hook_ini): Likewise.
21209 (realloc_hook_ini): Likewise.
21210 (memalign_hook_ini): Likewise.
21211 * malloc/malloc.c (malloc_hook_ini): Likewise.
21212 (realloc_hook_ini): Likewise.
21213 (memalign_hook_ini): Likewise.
21214 (__free_hook): Likewise.
21215 (__malloc_hook): Likewise.
21216 (__realloc_hook): Likewise.
21217 (__memalign_hook): Likewise.
21218 (__libc_malloc): Likewise.
21219 (__libc_free): Likewise.
21220 (__libc_realloc): Likewise.
21221 (__libc_memalign): Likewise.
21222 (__libc_valloc): Likewise.
21223 (__libc_pvalloc): Likewise.
21224 (__libc_calloc): Likewise.
21225 (__posix_memalign): Likewise.
21226 * malloc/morecore.c (__sbrk): Likewise.
21227 (__default_morecore): Likewise.
21229 * malloc/morecore.c (__default_morecore): Use ISO C prototype.
21231 * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
21232 * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
21233 __malloc_ptrdiff_t.
21235 * malloc/malloc.h (__malloc_size_t): Remove macro.
21236 * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
21238 (old_memalign_hook): Likewise.
21239 (old_realloc_hook): Likewise.
21240 (struct hdr): Likewise.
21242 (mallochook): Likewise.
21243 (memalignhook): Likewise.
21244 (reallochook): Likewise.
21245 * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
21246 (tr_old_realloc_hook): Likewise.
21247 (tr_old_memalign_hook): Likewise.
21248 (tr_mallochook): Likewise.
21249 (tr_reallochook): Likewise.
21250 (tr_memalignhook): Likewise.
21252 2013-03-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21254 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
21255 default_ldbl_pack and using as default implementation.
21256 (ldbl_unpack): Rename to default_ldbl_unpack and using as default
21258 * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
21259 redundant definition.
21260 (ldbl_insert_mantissa): Likewise.
21261 (ldbl_canonicalize): Likewise.
21262 (ldbl_nearbyint): Likewise.
21263 (ldbl_pack): Rename to ldbl_pack_ppc.
21264 (ldbl_unpack): Rename to ldbl_unpack_ppc.
21265 * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
21266 * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
21268 2013-03-08 Siddhesh Poyarekar <siddhesh@redhat.com>
21270 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
21271 * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
21272 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
21273 * sysdeps/powerpc/power4/fpu/Makefile: ... here.
21274 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
21275 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
21276 * sysdeps/powerpc/powerpc32/power4/Implies: New file.
21277 * sysdeps/powerpc/powerpc64/power4/Implies: New file.
21279 2013-03-07 Andreas Jaeger <aj@suse.de>
21281 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
21284 2013-03-07 Siddhesh Poyarekar <siddhesh@redhat.com>
21286 * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
21287 Include mpa.h and declare __MPEXP.
21288 [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
21289 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
21290 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
21291 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
21292 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
21293 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
21294 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
21296 * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
21297 (__slowpow): Use long double EXPL and LOGL functions to
21299 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
21300 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
21301 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
21302 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
21303 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
21304 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
21306 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
21307 intermediate variable to calculate exponent.
21309 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
21313 * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
21314 [!NO__SQR]: Define __sqr.
21315 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
21316 and NO__SQR. Remove all code except __mul and __sqr. Include
21317 sysdeps/ieee754/dbl-64/mpa.c.
21318 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
21321 * posix/Makefile (tests): Add tst-pathconf.
21322 * posix/tst-pathconf.c: New test case.
21323 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
21325 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
21327 2013-03-06 Patsy Franklin <pfrankli@redhat.com>
21329 * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
21331 2013-03-06 Andreas Jaeger <aj@suse.de>
21333 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
21334 definition via __MAP_ANONYMOUS.
21336 * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
21337 it's not part of Linux headers.
21339 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
21340 (MAP_HUGE_MASK): Define.
21342 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
21344 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
21345 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
21347 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
21348 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
21350 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
21351 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
21353 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
21355 * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
21356 * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
21357 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
21358 * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
21359 * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
21360 * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
21362 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
21365 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
21366 Handle f2fs and efivarfs.
21368 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
21371 * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
21372 (EFIVARFS_MAGIC): Add.
21373 (F2FS_LINK_MAX): Add.
21375 2013-03-06 Paul Pluzhnikov <ppluzhnikov@google.com>
21377 * stdio-common/vfprintf.c: Replace __builtin_expect with
21380 2013-03-06 Joseph Myers <joseph@codesourcery.com>
21383 * sysdeps/generic/bp-sym.h: Remove file.
21384 * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
21385 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
21386 <bp-sym.h> and <bp-asm.h>.
21387 (__longjmp): Don't use BP_SYM.
21388 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
21390 (memcpy): Don't use BP_SYM.
21391 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
21392 <bp-sym.h> and <bp-asm.h>.
21393 (memcpy): Don't use BP_SYM.
21394 * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
21396 (memcpy): Don't use BP_SYM.
21397 * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
21399 (memset): Don't use BP_SYM.
21400 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
21401 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
21402 (__bzero): Don't use BP_SYM.
21403 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
21404 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
21405 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
21406 <bp-sym.h> and <bp-asm.h>.
21407 (memcmp): Don't use BP_SYM. Remove comment about bounded
21409 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
21410 <bp-sym.h> and <bp-asm.h>.
21411 (memcpy): Don't use BP_SYM.
21412 * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
21413 <bp-sym.h> and <bp-asm.h>.
21414 (memset): Don't use BP_SYM.
21415 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
21416 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
21417 (__bzero): Don't use BP_SYM.
21418 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
21419 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
21420 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
21421 <bp-sym.h> and <bp-asm.h>.
21422 (strncmp): Don't use BP_SYM. Remove comment about bounded
21424 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
21425 <bp-sym.h> and <bp-asm.h>.
21426 (memcpy): Don't use BP_SYM.
21427 * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
21428 <bp-sym.h> and <bp-asm.h>.
21429 (memset): Don't use BP_SYM.
21430 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
21431 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
21432 (__bzero): Don't use BP_SYM.
21433 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
21434 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
21435 * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
21436 <bp-sym.h> and <bp-asm.h>.
21437 (__memchr): Don't use BP_SYM.
21438 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
21439 <bp-sym.h> and <bp-asm.h>.
21440 (memcmp): Don't use BP_SYM. Remove comment about bounded
21442 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
21443 <bp-sym.h> and <bp-asm.h>.
21444 (memcpy): Don't use BP_SYM.
21445 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
21446 <bp-sym.h> and <bp-asm.h>.
21447 (__mempcpy): Don't use BP_SYM.
21448 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
21449 <bp-sym.h> and <bp-asm.h>.
21450 (__memrchr): Don't use BP_SYM.
21451 * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
21452 <bp-sym.h> and <bp-asm.h>.
21453 (memset): Don't use BP_SYM.
21454 (__bzero): Likewise.
21455 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
21456 <bp-sym.h> and <bp-asm.h>.
21457 (__rawmemchr): Don't use BP_SYM.
21458 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
21459 <bp-sym.h> and <bp-asm.h>.
21460 (__STRCMP): Don't use BP_SYM.
21461 * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
21462 <bp-sym.h> and <bp-asm.h>.
21463 (strchr): Don't use BP_SYM.
21464 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
21465 <bp-sym.h> and <bp-asm.h>.
21466 (__strchrnul): Don't use BP_SYM.
21467 * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
21468 <bp-sym.h> and <bp-asm.h>.
21469 (strlen): Don't use BP_SYM.
21470 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
21471 <bp-sym.h> and <bp-asm.h>.
21472 (strncmp): Don't use BP_SYM. Remove comment about bounded
21474 * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
21475 <bp-sym.h> and <bp-asm.h>.
21476 (__strnlen): Don't use BP_SYM.
21477 * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
21478 <bp-sym.h> and <bp-asm.h>.
21479 (__GI__setjmp): Don't use BP_SYM.
21480 (_setjmp): Likewise.
21481 (__sigsetjmp): Likewise.
21482 * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
21483 (L(start_addresses)): Don't use BP_SYM.
21484 (_start): Likewise.
21485 * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
21487 (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
21488 STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
21489 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
21490 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
21491 * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
21493 (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
21494 CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE. Remove comment
21495 about bounded pointers.
21496 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
21497 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
21498 * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
21500 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
21501 about bounded pointers. Remove GKM FIXME comments.
21502 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
21503 * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
21505 (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
21506 STORE_RETURN_BOUNDS. Remove comment about bounded pointers.
21507 Remove GKM FIXME comments.
21508 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
21509 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
21510 * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
21512 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
21513 about bounded pointers. Remove GKM FIXME comment.
21514 * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
21516 (strncmp): Don't use BP_SYM. Remove comment about bounded
21518 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
21519 <bp-sym.h> and <bp-asm.h>.
21520 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
21521 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
21522 <bp-sym.h> and <bp-asm.h>.
21523 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
21526 2013-03-05 Paul Pluzhnikov <ppluzhnikov@google.com>
21528 * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
21531 2013-03-05 David S. Miller <davem@davemloft.net>
21533 * po/es.po: Update from translation team.
21535 2013-03-05 Andreas Jaeger <aj@suse.de>
21537 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
21538 <bits/mman-linux.h>.
21539 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
21541 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
21542 <bits/mman-linux.h> to end of file.
21543 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
21545 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
21546 <bits/mman-linux.h> to end of file.
21547 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
21549 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
21550 <bits/mman-linux.h> to end of file.
21552 * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
21553 (MCL_CURRENT, MCL_FUTURE): Define here.
21555 2013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
21558 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
21560 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
21562 2013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
21564 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
21565 fourth parameter needed for rt_sigprocmask syscall.
21566 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
21567 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
21568 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
21569 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
21570 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
21571 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
21573 2013-03-04 Joseph Myers <joseph@codesourcery.com>
21576 * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
21577 comment about bounded pointers.
21578 * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
21579 * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
21581 2013-03-04 Andreas Jaeger <aj@suse.de>
21583 * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
21584 common definitions.
21586 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
21587 provided by bits/mman-linux.h and include <bits/mman-linux.h>.
21588 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
21589 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
21590 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
21591 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
21593 2013-03-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21596 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
21597 __ieee754_sqrl instead of __sqrl.
21599 2013-03-01 Joseph Myers <joseph@codesourcery.com>
21601 * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
21602 * sysdeps/powerpc/fpu_control.h: ... here.
21603 * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
21604 * sysdeps/powerpc/bits/fenvinline.h: ... here.
21605 * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
21606 * sysdeps/powerpc/bits/mathinline.h: ... here.
21608 2013-03-01 Roland McGrath <roland@hack.frob.com>
21610 * elf/dl-hwcaps.c (_dl_important_hwcaps):
21611 Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
21612 to just [NEED_DL_SYSINFO_DSO].
21613 * elf/dl-support.c: Likewise.
21614 * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
21615 * elf/rtld.c (dl_main): Likewise.
21616 * elf/setup-vdso.h (setup_vdso): Likewise.
21617 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
21618 * sysdeps/unix/sysv/linux/dl-sysdep.c
21619 (_dl_discover_osversion): Likewise.
21621 2013-03-01 Carlos O'Donell <carlos@redhat.com>
21623 * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
21624 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
21626 2013-03-01 Siddhesh Poyarekar <siddhesh@redhat.com>
21628 * NEWS: Mention libm performance improvements and non-x86 PI
21631 * csu/libc-start.c (__pthread_initialize_minimal): Change
21632 function arguments.
21633 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
21635 2013-02-28 Joseph Myers <joseph@codesourcery.com>
21638 * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
21639 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
21640 <bp-sym.h> and <bp-asm.h>.
21641 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
21642 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
21644 (memcpy): Don't use BP_SYM.
21645 * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
21647 (__mpn_add_n): Don't use BP_SYM.
21648 (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
21649 * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
21651 (__mpn_addmul_1): Don't use BP_SYM.
21652 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
21653 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
21655 (_setjmp): Don't use BP_SYM.
21656 (__novmx_setjmp): Likewise.
21657 (__GI__setjmp): Likewise.
21658 (__vmx_setjmp): Likewise.
21659 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
21661 * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
21662 (__bzero): Don't use BP_SYM.
21663 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
21664 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
21665 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
21666 <bp-sym.h> and <bp-asm.h>.
21667 (memcpy): Don't use BP_SYM.
21668 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
21669 <bp-sym.h> and <bp-asm.h>.
21670 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
21671 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
21672 <bp-sym.h> and <bp-asm.h>.
21673 (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
21674 * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
21676 (__mpn_lshift): Don't use BP_SYM.
21677 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
21678 * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
21680 (memset): Don't use BP_SYM.
21681 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
21682 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
21683 * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
21685 (__mpn_mul_1): Don't use BP_SYM.
21686 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
21687 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
21688 <bp-sym.h> and <bp-asm.h>.
21689 (memcmp): Don't use BP_SYM.
21690 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
21691 <bp-sym.h> and <bp-asm.h>.
21692 (memcpy): Don't use BP_SYM.
21693 * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
21694 <bp-sym.h> and <bp-asm.h>.
21695 (memset): Don't use BP_SYM.
21696 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
21697 <bp-sym.h> and <bp-asm.h>.
21698 (strncmp): Don't use BP_SYM.
21699 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
21700 <bp-sym.h> and <bp-asm.h>.
21701 (memcpy): Don't use BP_SYM.
21702 * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
21703 <bp-sym.h> and <bp-asm.h>.
21704 (memset): Don't use BP_SYM.
21705 * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
21706 <bp-sym.h> and <bp-asm.h>.
21707 (__memchr): Don't use BP_SYM.
21708 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
21709 <bp-sym.h> and <bp-asm.h>.
21710 (memcmp): Don't use BP_SYM.
21711 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
21712 <bp-sym.h> and <bp-asm.h>.
21713 (memcpy): Don't use BP_SYM.
21714 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
21715 <bp-sym.h> and <bp-asm.h>.
21716 (__mempcpy): Don't use BP_SYM.
21717 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
21718 <bp-sym.h> and <bp-asm.h>.
21719 (__memrchr): Don't use BP_SYM.
21720 * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
21721 <bp-sym.h> and <bp-asm.h>.
21722 (memset): Don't use BP_SYM.
21723 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
21724 <bp-sym.h> and <bp-asm.h>.
21725 (__rawmemchr): Don't use BP_SYM.
21726 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
21727 <bp-sym.h> and <bp-asm.h>.
21728 (__STRCMP): Don't use BP_SYM.
21729 * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
21730 <bp-sym.h> and <bp-asm.h>.
21731 (strchr): Don't use BP_SYM.
21732 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
21733 <bp-sym.h> and <bp-asm.h>.
21734 (__strchrnul): Don't use BP_SYM.
21735 * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
21736 <bp-sym.h> and <bp-asm.h>.
21737 (strlen): Don't use BP_SYM.
21738 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
21739 <bp-sym.h> and <bp-asm.h>.
21740 (strncmp): Don't use BP_SYM.
21741 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
21742 <bp-sym.h> and <bp-asm.h>.
21743 (__strnlen): Don't use BP_SYM.
21744 * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
21746 (__mpn_rshift): Don't use BP_SYM.
21747 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
21748 * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
21749 <bp-sym.h> and <bp-asm.h>.
21750 (__sigsetjmp): Don't use BP_SYM.
21751 * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
21752 (L(start_addresses)): Don't use BP_SYM.
21753 (_start): Likewise.
21754 * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
21756 (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
21757 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
21758 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
21759 * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
21761 (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
21762 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
21763 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
21764 * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
21766 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
21768 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
21769 * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
21771 (strcpy): Don't use BP_SYM and macros from bp-asm.h. Remove GKM
21773 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
21774 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
21775 * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
21777 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
21779 * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
21781 (strncmp): Don't use BP_SYM,
21782 * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
21784 (__mpn_sub_n): Don't use BP_SYM.
21785 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
21786 * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
21788 (__mpn_submul_1): Don't use BP_SYM.
21789 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
21790 * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
21791 <bp-sym.h> and <bp-asm.h>.
21792 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
21793 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
21794 <bp-sym.h> and <bp-asm.h>.
21795 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
21798 2013-02-28 Siddhesh Poyarekar <siddhesh@redhat.com>
21800 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
21801 Use ZK to minimize writes to Z.
21802 (sub_magnitudes): Simplify code a bit.
21803 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
21804 Use ZK to minimize writes to Z.
21805 (sub_magnitudes): Simplify code a bit.
21807 2013-02-27 Roland McGrath <roland@hack.frob.com>
21809 * csu/gmon-start.c: Add special exception to license text.
21811 2013-02-27 Richard Henderson <rth@redhat.com>
21813 * scripts/config.guess: Update from config.git.
21814 * scripts/config.sub: Likewise.
21816 2013-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
21818 * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
21820 * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
21822 * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
21824 * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
21826 * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
21828 2013-02-26 Roland McGrath <roland@hack.frob.com>
21830 * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
21831 [$(build-shared = yes].
21833 2013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
21835 * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
21836 (__mul): Reduce iterations for calculating mantissa.
21838 * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
21840 (__mpranred): Likewise.
21843 * malloc/memusagestat.c (main): Draw graphs for heap and stack
21844 only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
21846 2013-02-26 Paul Eggert <eggert@cs.ucla.edu>
21848 * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
21849 Define __attribute__.
21851 2013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
21853 * locale/elem-hash.h (elem_hash): Mark as pure and possibly
21855 * posix/regex_internal.h (__attribute): Remove.
21856 [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
21857 (re_string_context_at): Likewise.
21858 (bitset_not): Use __attribute__ and mark function as possibly
21860 (bitset_merge): Likewise.
21861 (bitset_mask): Likewise.
21862 (re_string_char_size_at): Likewise.
21863 (re_string_wchar_at): Likewise.
21864 (re_string_elem_size_at): Likewise.
21866 2013-02-25 Siddhesh Poyarekar <siddhesh@redhat.com>
21868 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
21872 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
21876 (denorm): Likewise.
21877 (__dbl_mp): Likewise.
21878 (add_magnitudes): Likewise.
21879 (sub_magnitudes): Likewise.
21883 * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
21886 * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
21889 * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
21892 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
21893 up changes with default code.
21894 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
21897 2013-02-24 Allan McRae <allan@archlinux.org>
21899 * manual/socket.texi (The Internet Namespace): Order menu items
21900 to match that in the file.
21902 * manual/libc-texinfo.sh: Use @detailmenu around the detailed
21903 node listing of the info page menu.
21905 2013-02-21 Joseph Myers <joseph@codesourcery.com>
21908 * sysdeps/i386/bp-asm.h: Remove file.
21909 * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
21910 (PARMS): Do not use macros from bp-asm.h.
21914 (__mpn_add_n): Do not use BP_SYM
21915 * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
21917 (PARMS): Do not use macros from bp-asm.h.
21920 (__mpn_addmul_1): Do not use BP_SYM
21921 * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
21923 (PARMS): Do not use macros from bp-asm.h.
21924 (SIGMSK): Likewise.
21925 (_setjmp): Likewise. Do not use BP_SYM.
21926 * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
21928 (PARMS): Do not use macros from bp-asm.h.
21929 (SIGMSK): Likewise.
21930 (setjmp): Likewise. Do not use BP_SYM.
21931 * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
21933 (PARMS): Do not use macros from bp-asm.h.
21934 (__frexp): Do not use BP_SYM.
21936 * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
21938 (PARMS): Do not use macros from bp-asm.h.
21939 (__frexpf): Do not use BP_SYM.
21940 (frexpf): Likewise.
21941 * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
21943 (PARMS): Do not use macros from bp-asm.h.
21944 (__frexpl): Do not use BP_SYM.
21945 (frexpl): Likewise.
21946 * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
21948 (PARMS): Do not use macros from bp-asm.h.
21949 (__remquo): Do not use BP_SYM.
21950 (remquo): Likewise.
21951 * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
21953 (PARMS): Do not use macros from bp-asm.h.
21954 (__remquof): Do not use BP_SYM.
21955 (remquof): Likewise.
21956 * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
21958 (PARMS): Do not use macros from bp-asm.h.
21959 (__remquol): Do not use BP_SYM.
21960 (remquol): Likewise.
21961 * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
21963 (PARMS): Do not use macros from bp-asm.h.
21966 (strcat): Remove GKM FIXME comment. Do not use BP_SYM.
21967 * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
21969 (PARMS): Do not use macros from bp-asm.h.
21970 (strlen): Do not use BP_SYM.
21971 * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
21973 (PARMS): Do not use macros from bp-asm.h.
21977 (__mpn_add_n): Do not use BP_SYM.
21978 * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
21980 (PARMS): Do not use macros from bp-asm.h.
21983 (__mpn_addmul_1): Do not use BP_SYM.
21984 * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
21987 * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
21989 (PARMS): Do not use macros from bp-asm.h.
21992 (__mpn_lshift): Do not use BP_SYM.
21993 * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
21995 (PARMS): Do not use macros from bp-asm.h.
21999 (memcpy): Likewise. Do not use BP_SYM.
22000 * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
22001 libc_hidden_def and weak_alias.
22002 (mempcpy): Do not use BP_SYM in weak_alias.
22003 * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
22005 (PARMS): Do not use macros from bp-asm.h.
22008 [!BZERO_P] (CHR): Likewise.
22009 (memset): Likewise. Do not use BP_SYM.
22010 * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
22012 (PARMS): Do not use macros from bp-asm.h.
22015 (__mpn_mul_1): Do not use BP_SYM.
22016 * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
22018 (PARMS): Do not use macros from bp-asm.h.
22021 (__mpn_rshift): Do not use BP_SYM.
22022 * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
22024 (PARMS): Do not use macros from bp-asm.h.
22027 (strchr): Likewise. Do not use BP_SYM.
22028 (index): Do not use BP_SYM in weak_alias.
22029 * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
22031 (PARMS): Do not use macros from bp-asm.h.
22034 (STRCPY): Likewise. Remove GKM FIXME comment. Do not use BP_SYM.
22035 * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
22037 (PARMS): Do not use macros from bp-asm.h.
22038 (strlen): Do not use BP_SYM.
22039 * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
22041 (PARMS): Do not use macros from bp-asm.h.
22045 (__mpn_sub_n): Do not use BP_SYM.
22046 * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
22048 (PARMS): Do not use macros from bp-asm.h.
22051 (__mpn_submul_1): Do not use BP_SYM.
22052 * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
22054 (PARMS): Do not use macros from bp-asm.h.
22058 (__mpn_add_n): Do not use BP_SYM.
22059 * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
22062 * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
22064 (PARMS): Do not use macros from bp-asm.h.
22067 (memcmp): Do not use BP_SYM.
22068 (bcmp): Do not use BP_SYM in weak_alias.
22069 * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
22071 (PARMS): Do not use macros from bp-asm.h.
22075 (memcpy): Likewise. Do not use BP_SYM.
22076 * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
22078 (PARMS): Do not use macros from bp-asm.h.
22082 (memmove): Likewise. Do not use BP_SYM.
22083 * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
22085 (PARMS): Do not use macros from bp-asm.h.
22089 (__mempcpy): Likewise. Do not use BP_SYM.
22090 (mempcpy): Do not use BP_SYM in weak_alias.
22091 * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
22093 (PARMS): Do not use macros from bp-asm.h.
22096 [!BZERO_P] (CHR): Likewise.
22097 (memset): Likewise. Do not use BP_SYM.
22098 * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
22100 (PARMS): Do not use macros from bp-asm.h.
22102 (strcmp): Do not use BP_SYM.
22103 * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
22105 (PARMS): Do not use macros from bp-asm.h.
22108 [USE_AS_STRTOK_R] (SAVE): Likewise.
22109 (FUNCTION): Likewise. Do not use BP_SYM.
22110 * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
22112 (strtok_r): Likewise.
22113 (__GI___strtok_r): Likewise.
22114 * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
22115 (PARMS): Do not use macros from bp-asm.h.
22118 (__mpn_lshift): Do not use BP_SYM.
22119 * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
22120 (PARMS): Do not use macros from bp-asm.h.
22123 (__memchr): Do not use BP_SYM.
22124 (memchr): Do not use BP_SYM in weak_alias.
22125 * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
22126 (PARMS): Do not use macros from bp-asm.h.
22129 (memcmp): Do not use BP_SYM.
22130 (bcmp): Do not use BP_SYM in weak_alias.
22131 * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
22132 (PARMS): Do not use macros from bp-asm.h.
22135 (__mpn_mul_1): Do not use BP_SYM.
22136 * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
22138 (PARMS): Do not use macros from bp-asm.h.
22141 (__rawmemchr): Do not use BP_SYM.
22142 (rawmemchr): Do not use BP_SYM in weak_alias.
22143 * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
22144 (PARMS): Do not use macros from bp-asm.h.
22147 (__mpn_rshift): Do not use BP_SYM.
22148 * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
22149 (PARMS): Do not use macros from bp-asm.h.
22150 (SIGMSK): Likewise.
22151 (__sigsetjmp): Likewise. Do not use BP_SYM.
22152 * sysdeps/i386/start.S: Do not include "bp-sym.h".
22153 (_start): Do not use BP_SYM.
22154 * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
22155 (PARMS): Do not use macros from bp-asm.h.
22158 (__stpcpy): Likewise. Do not use BP_SYM.
22159 (stpcpy): Do not use BP_SYM in weak_alias.
22160 * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
22162 (PARMS): Do not use macros from bp-asm.h.
22166 (__stpncpy): Likewise. Do not use BP_SYM.
22167 (stpncpy): Do not use BP_SYM in weak_alias.
22168 * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
22169 (PARMS): Do not use macros from bp-asm.h.
22172 (strchr): Likewise. Do not use BP_SYM.
22173 * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
22175 (PARMS): Do not use macros from bp-asm.h.
22178 (__strchrnul): Likewise. Do not use BP_SYM.
22179 (strchrnul): Do not use BP_SYM in weak_alias.
22180 * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
22182 (PARMS): Do not use macros from bp-asm.h.
22184 (strcspn): Do not use BP_SYM.
22185 * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
22187 (PARMS): Do not use macros from bp-asm.h.
22190 (strpbrk): Likewise. Do not use BP_SYM.
22191 * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
22193 (PARMS): Do not use macros from bp-asm.h.
22196 (strrchr): Likewise. Do not use BP_SYM.
22197 * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
22198 (PARMS): Do not use macros from bp-asm.h.
22200 (strspn): Do not use BP_SYM.
22201 * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
22202 (PARMS): Do not use macros from bp-asm.h.
22206 (FUNCTION): Likewise. Do not use BP_SYM.
22207 * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
22209 (strtok_r): Likewise.
22210 (__GI___strtok_r): Likewise.
22211 * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
22212 (PARMS): Do not use macros from bp-asm.h.
22216 (__mpn_sub_n): Do not use BP_SYM.
22217 * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
22219 (PARMS): Do not use macros from bp-asm.h.
22222 (__mpn_submul_1): Do not use BP_SYM.
22223 * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
22225 * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
22227 (PARMS): Do not use macros from bp-asm.h.
22232 (__clone): Do not use BP_SYM.
22233 (clone): Do not use BP_SYM in weak_alias.
22234 * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
22236 (PARMS): Do not use macros from bp-asm.h.
22238 (__mmap64): Do not use BP_SYM.
22239 (mmap64): Do not use BP_SYM in weak_alias.
22240 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
22241 <bp-sym.h> and <bp-asm.h>.
22242 (PARMS): Do not use macros from bp-asm.h.
22243 (__posix_fadvise64_l64): Do not use BP_SYM.
22244 * sysdeps/unix/sysv/linux/i386/semtimedop.S
22245 (PARMS): Do not use macros from bp-asm.h.
22247 (semtimedop): Do not use BP_SYM.
22248 * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
22251 2013-02-21 Allan McRae <allan@archlinux.org>
22253 * manual/message.texi (Charset conversion in gettext):
22254 Move @end statement to beginning of line.
22256 2013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
22258 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
22260 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
22263 * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
22264 (denorm): Likewise.
22265 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
22266 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
22268 2013-02-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
22270 * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
22271 tail-call to the resolved function if pltexit isn't needed.
22273 2013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
22275 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
22276 or Y being zero as being unlikely.
22277 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
22280 2013-02-20 Carlos O'Donell <carlos@redhat.com>
22282 * manual/nss.texi (System Databases and Name Service Switch):
22283 Remove frobnicate @pxref.
22285 2013-02-20 Thomas Schwinge <thomas@codesourcery.com>
22287 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
22288 __attribute__ ((unused)) to __attribute__ ((__unused__)).
22290 2013-02-20 Petr Machata <pmachata@redhat.com>
22292 * elf/elf.h (R_ARM_TARGET1): New macro.
22293 (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
22294 (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
22295 (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
22296 (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
22297 (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
22298 (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
22299 (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
22300 (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
22301 (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
22302 (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
22303 (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
22304 (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
22305 (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
22306 (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
22307 (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
22308 (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
22309 (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
22310 (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
22311 (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
22312 (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
22313 (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
22314 (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
22315 (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
22316 (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
22317 (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
22318 (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
22319 (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
22320 (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
22321 (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
22322 (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
22323 (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
22324 (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
22325 (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
22326 (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
22327 (R_ARM_THM_GOT_BREL12): Likewise.
22328 (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
22329 (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
22330 (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
22331 (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
22332 (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
22333 (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
22334 (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
22335 (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
22336 (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
22338 2013-02-20 Thomas Schwinge <thomas@codesourcery.com>
22340 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
22341 __attribute_used__ to __attribute__ ((unused)).
22343 2013-02-20 Siddhesh Poyarekar <siddhesh@redhat.com>
22345 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
22347 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
22348 comment formatting.
22349 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
22351 2013-02-19 Joseph Myers <joseph@codesourcery.com>
22354 * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
22356 (ENTER): Remove both macro definitions.
22358 (CHECK_BOUNDS_LOW): Likewise.
22359 (CHECK_BOUNDS_HIGH): Likewise.
22360 (CHECK_BOUNDS_BOTH): Likewise.
22361 (CHECK_BOUNDS_BOTH_WIDE): Likewise.
22362 (RETURN_BOUNDED_POINTER): Likewise.
22363 (RETURN_NULL_BOUNDED_POINTER): Likewise.
22364 (PUSH_ERRNO_LOCATION_RETURN): Likewise.
22365 (POP_ERRNO_LOCATION_RETURN): Likewise.
22366 * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
22367 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
22368 * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
22370 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
22371 * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
22372 * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
22373 * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
22374 * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
22375 * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
22376 * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
22377 * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
22378 * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
22379 * sysdeps/i386/i486/strcat.S (strcat): Likewise.
22380 * sysdeps/i386/i486/strlen.S (strlen): Likewise.
22381 * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
22382 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
22383 * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
22385 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
22386 * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
22388 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
22389 * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
22390 * sysdeps/i386/i586/memset.S (memset): Likewise.
22391 * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
22392 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
22393 * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
22395 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
22396 * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
22397 Change uses of L(2) to L(out).
22398 * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
22399 * sysdeps/i386/i586/strlen.S (strlen): Likewise.
22400 * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
22401 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
22402 * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
22404 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
22405 * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
22407 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
22408 * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
22409 (RETURN): Do not use macro LEAVE.
22410 * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
22411 * sysdeps/i386/i686/memmove.S (memmove): Likewise.
22412 * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
22413 * sysdeps/i386/i686/memset.S (memset): Likewise.
22414 * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
22415 (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
22416 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
22417 * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
22419 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
22420 (FUNCTION): Do not use removed macros. Combine labels L(1_1),
22421 L(1_2) and L(1_3) into L(1).
22422 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
22423 * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
22424 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
22425 * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
22426 (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
22427 * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
22428 * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
22429 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
22430 * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
22432 * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
22433 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
22434 * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
22435 * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
22436 * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
22437 (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
22438 * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
22439 * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
22440 * sysdeps/i386/strcspn.S (strcspn): Likewise.
22441 * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
22442 * sysdeps/i386/strrchr.S (strrchr): Likewise.
22443 * sysdeps/i386/strspn.S (strspn): Likewise.
22444 * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
22446 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
22447 (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
22448 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
22449 (FUNCTION): Do not use removed macros. Combine labels L(1_2) and
22450 L(1_3) into L(1_1).
22451 * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
22452 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
22453 * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
22455 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
22457 2013-02-19 Jakub Jelinek <jakub@redhat.com>
22459 * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
22462 2013-02-19 Siddhesh Poyarekar <siddhesh@redhat.com>
22464 * math/atest-exp.c (exp_mpn): Remove ROUND.
22465 * math/atest-exp2.c (exp_mpn): Likewise.
22466 * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
22468 * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
22469 * stdlib/tst-tls-atexit-lib.c: Likewise.
22470 * stdlib/tst-tls-atexit.c: Likewise.
22472 2013-02-18 Mike Frysinger <vapier@gentoo.org>
22474 * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
22475 and __attribute_alloc_size__.
22477 2013-02-18 Mike Frysinger <vapier@gentoo.org>
22479 * include/programs/xmalloc.h: Change __attribute_alloc_size to
22480 __attribute_alloc_size__.
22481 * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
22482 * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
22484 2013-02-18 Mike Frysinger <vapier@gentoo.org>
22486 * include/programs/xmalloc.h: New file.
22487 * catgets/gencat.c: Include it.
22488 (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
22489 * elf/pldd.c: Likewise.
22490 * iconv/iconv_charmap.c: Likewise.
22491 * iconv/iconvconfig.c: Likewise.
22492 * iconv/strtab.c: Likewise.
22493 * locale/programs/locale.c: Likewise.
22494 * locale/programs/localedef.h: Likewise.
22495 * locale/programs/simple-hash.c: Likewise.
22496 * nscd/nscd.h: Likewise.
22497 * nss/makedb.c: Likewise.
22498 * sysdeps/generic/ldconfig.h: Likewise.
22500 2013-02-18 Siddhesh Poyarekar <siddhesh@redhat.com>
22502 * Versions.def: Add GLIBC_2.18.
22503 * include/link.h (struct link_map): New member l_tls_dtor_count.
22504 * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
22505 (__call_tls_dtors): Likewise.
22506 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
22507 __cxa_thread_atexit_impl.
22508 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
22510 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
22512 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
22514 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
22516 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
22517 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
22519 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
22521 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
22522 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
22524 * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
22525 (tests): Add test case tst-tls-atexit.
22526 (modules-names): Add shared library for tst-tls-atexit.
22527 * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
22528 (GLIBC_PRIVATE): Add __call_tls_dtors.
22529 * stdlib/cxa_thread_atexit_impl.c: New file with helper function
22531 * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
22532 * stdlib/tst-tls-atexit.c: New test case.
22533 * stdlib/tst-tls-atexit-lib.c: New test case.
22535 * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
22537 * elf/Versions (ld): Add _dl_find_dso_for_object.
22538 * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
22539 * elf/dl-open.c (_dl_find_dso_for_object): New function.
22540 (dl_open_worker): Use _dl_find_dso_for_object.
22541 * elf/dl-sym.c (do_sym): Likewise.
22542 * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
22544 2013-02-18 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
22546 * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
22547 Syntactic changes only.
22548 (_dl_runtime_profile): Do a tail-call to the resolved function.
22550 2013-02-17 Joseph Myers <joseph@codesourcery.com>
22553 * sysdeps/x86_64/bp-asm.h: Remove file.
22554 * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
22555 <bp-sym.h> and <bp-asm.h>.
22556 (__clone): Do not use BP_SYM.
22557 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
22558 <bp-sym.h> and <bp-asm.h>.
22559 * sysdeps/unix/x86_64/sysdep.S: Likewise.
22560 * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
22562 (_setjmp): Do not use BP_SYM.
22563 * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
22565 (setjmp): Do not use BP_SYM.
22566 * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
22568 (mempcpy): Do not use BP_SYM in weak_alias.
22569 * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
22571 (strchr): Do not use BP_SYM.
22572 * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
22574 * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
22575 * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
22576 (_start): Do not use BP_SYM.
22577 * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
22579 (strcat): Do not use BP_SYM.
22580 * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
22582 (STRCMP): Do not use BP_SYM.
22583 * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
22585 (STRCPY): Do not use BP_SYM.
22586 * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
22588 * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
22590 (FUNCTION): Do not use BP_SYM.
22591 * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
22593 (__GI___strtok_r): Do not use BP_SYM in strong_alias.
22595 2013-02-17 Andreas Jaeger <aj@suse.de>
22597 * time/Versions: Sort entries.
22598 * string/Versions: Likewise.
22599 * resolv/Versions: Likewise.
22600 * posix/Versions: Likewise.
22601 * iconv/Versions: Likewise.
22602 * elf/Versions: Likewise.
22603 * wcsmbs/Versions: Likewise.
22605 2013-02-15 Siddhesh Poyarekar <siddhesh@redhat.com>
22607 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
22608 loop termination condition.
22610 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
22611 variable to calculate EZ.
22614 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
22615 the lower precision input.
22617 2013-02-15 Joseph Myers <joseph@codesourcery.com>
22620 * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
22621 [!link-extra-libs] (link-extra-libs-bounded): Likewise.
22622 (run-via-rtld-prefix): Do not handle %-bp tests.
22623 (test-via-rtld-prefix): Do not mention %-bp tests in comment.
22624 (all-object-suffixes): Remove .ob.
22625 (bppfx): Remove variable.
22626 [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
22627 [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
22628 [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
22629 [$(build-bounded) = yes] (libtype.ob): Likewise.
22630 * Makerules (elide-routines.ob): Remove variable.
22631 (do-tests-clean): Do not handle *-bp.out.
22632 (common-mostlyclean): Do not handle *-bp and *-bp.out.
22633 * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
22634 [$(build-bounded) = yes] (xtests-bp.out): Likewise.
22635 (tests): Do not include $(tests-bp.out).
22636 (xtests): Do not include $(xtests-bp.out).
22637 [$(build-bounded) = yes] (binaries-bounded): Remove variable.
22638 [$(build-bounded) = yes] ($(addprefix
22639 $(objpfx),$(binaries-bounded))): Remove rule.
22640 ($(objpfx)%-bp.out): Remove rule.
22641 * config.make.in (build-bounded): Remove variable.
22642 * crypt/Makefile [$(build-bounded) = yes]
22643 ($(tests:%=$(objpfx)%-bp)): Remove dependency.
22644 * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
22645 append to variable.
22646 [$(build-bounded) = yes] (install-lib): Likewise.
22647 [$(build-bounded) = yes] (generated): Likewise.
22648 [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
22650 * intl/Makefile [$(build-bounded) = yes]
22651 ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
22652 * math/Makefile [$(build-bounded) = yes]
22653 ($(tests:%=$(objpfx)%-bp): Likewise.
22654 * misc/Makefile [$(build-bounded) = yes]
22655 ($(objpfx)tst-tsearch-bp): Likewise.
22656 * nptl/Makeconfig (bounded-thread-library): Remove variable.
22657 * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
22659 * string/Makefile (o-objects.ob): Remove variable.
22660 * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
22661 (CFLAGS-.ob): Remove variable.
22662 [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
22663 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
22664 both definitions of variable.
22665 * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
22666 (ASFLAGS-.ob): Remove variable.
22668 2013-02-14 Joseph Myers <joseph@codesourcery.com>
22671 * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
22672 Remove __BOUNDED_POINTERS__ from condition.
22673 * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
22674 * string/bits/string2.h [!__NO_STRING_INLINES &&
22675 !__BOUNDED_POINTERS__]: Likewise.
22676 * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
22678 * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
22679 Remove conditional code.
22680 * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
22681 __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
22682 !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
22686 * csu/libc-start.c: Do not include <bp-sym.h>.
22687 [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
22688 * elf/dl-open.c: Do not include <bp-sym.h>.
22689 (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
22690 * math/fegetenv.c: Do not include <bp-sym.h>.
22691 (fegetenv): Do not use BP_SYM in versioned symbols.
22692 * nptl/sysdeps/pthread/bits/libc-lockP.h
22693 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
22695 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
22696 (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
22697 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
22698 (__pthread_mutex_destroy): Likewise.
22699 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
22700 (__pthread_mutex_lock): Likewise.
22701 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
22702 (__pthread_mutex_trylock): Likewise.
22703 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
22704 (__pthread_mutex_unlock): Likewise.
22705 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
22706 (__pthread_mutexattr_init): Likewise.
22707 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
22708 (__pthread_mutexattr_destroy): Likewise.
22709 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
22710 (__pthread_mutexattr_settype): Likewise.
22711 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
22712 (__pthread_rwlock_init): Likewise.
22713 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
22714 (__pthread_rwlock_destroy): Likewise.
22715 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
22716 (__pthread_rwlock_rdlock): Likewise.
22717 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
22718 (__pthread_rwlock_tryrdlock): Likewise.
22719 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
22720 (__pthread_rwlock_wrlock): Likewise.
22721 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
22722 (__pthread_rwlock_trywrlock): Likewise.
22723 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
22724 (__pthread_rwlock_unlock): Likewise.
22725 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
22726 (__pthread_key_create): Likewise.
22727 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
22728 (__pthread_setspecific): Likewise.
22729 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
22730 (__pthread_getspecific): Likewise.
22731 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
22733 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
22734 (_pthread_cleanup_push_defer): Likewise.
22735 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
22736 (_pthread_cleanup_pop_restore): Likewise.
22737 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
22738 (pthread_setcancelstate): Likewise.
22739 * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
22741 [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
22742 (memchr): Do not use BP_SYM in weak_alias.
22743 * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
22744 (fegetenv): Do not use BP_SYM in versioned symbols.
22745 * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
22746 (fesetenv): Do not use BP_SYM in versioned symbols.
22747 * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
22748 (feupdateenv): Do not use BP_SYM in versioned symbols.
22749 * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
22750 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
22751 * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
22752 (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
22753 (open64): Do not use BP_SYM in weak_alias.
22754 * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
22755 (fegetenv): Do not use BP_SYM in versioned symbols.
22756 * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
22757 (fesetenv): Do not use BP_SYM in versioned symbols.
22758 * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
22759 (feupdateenv): Do not use BP_SYM in versioned symbols.
22760 * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
22761 (fegetexceptflag): Do not use BP_SYM in versioned symbols.
22762 * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
22763 (feraiseexcept): Do not use BP_SYM in versioned symbols.
22764 * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
22765 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
22766 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
22768 (__libc_start_main): Do not use BP_SYM.
22770 2013-02-14 Siddhesh Poyarekar <siddhesh@redhat.com>
22772 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
22773 redundant return line.
22775 (denorm): Likewise.
22776 (dbl_mp): Likewise.
22777 (sub_magnitudes): Likewise.
22783 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
22785 (denorm): Likewise.
22786 (dbl_mp): Likewise.
22787 (sub_magnitudes): Likewise.
22794 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
22796 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
22797 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
22800 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
22801 * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
22802 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
22803 of __mul for squares.
22804 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
22806 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
22808 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
22809 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
22811 2013-02-13 Joseph Myers <joseph@codesourcery.com>
22814 * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
22816 * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
22817 prototype or function definition. Rename ubp_* variables and
22818 parameters. Remove argv definitions conditional on
22819 [__BOUNDED_POINTERS__].
22820 * debug/backtrace.c (__backtrace): Do not use __unbounded.
22821 * elf/dl-runtime.c (_dl_fixup): Likewise.
22822 * include/set-hooks.h (RUN_HOOK): Likewise.
22823 * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
22825 * string/strcpy.c (strcpy): Do not use __unbounded.
22826 * sysdeps/generic/frame.h (struct layout): Likewise.
22827 * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
22828 * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
22829 * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
22830 * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
22831 * sysdeps/sparc/backtrace.c (struct layout): Likewise.
22832 (__backtrace): Likewise.
22833 * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
22835 * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
22836 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
22837 * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
22839 * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
22840 * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
22841 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
22842 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
22843 * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
22844 Do not use __unbounded.
22845 * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
22846 Rename __unboundedrlimits parameter to rlimits in prototype.
22847 * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
22848 Do not use __unbounded.
22849 * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
22850 not use __ptrvalue.
22851 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
22852 * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
22853 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
22854 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
22855 __ptrvalue or __unbounded.
22856 (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
22857 * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
22859 (__new_msgctl): Do not use __ptrvalue.
22860 * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
22862 (__libc_msgrcv): Do not use __ptrvalue.
22863 * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
22864 startup_info): Do not use __unbounded.
22865 (__libc_start_main): Likewise. Rename ubp_* variables and
22866 parameters. Remove argv definitions conditional on
22867 [__BOUNDED_POINTERS__].
22868 * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
22870 * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
22872 * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
22874 * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
22876 (__new_shmctl): Do not use __ptrvalue.
22877 * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
22878 * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
22880 * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
22881 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
22882 (__libc_sigaction): Likewise.
22883 * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
22884 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
22886 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
22888 2013-02-13 Ondřej Bílka <neleai@seznam.cz>
22890 * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
22892 * string/mempcpy.c: Implement by calling memcpy.
22894 2013-02-13 Siddhesh Poyarekar <siddhesh@redhat.com>
22896 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
22898 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
22901 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
22902 values in the mantissa.
22904 * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
22905 minimize writes to Z.
22906 (sub_magnitudes): Simplify code a bit.
22908 2013-02-12 Roland McGrath <roland@hack.frob.com>
22910 * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
22911 from the message. The linker prefixes all warnings with that already.
22913 2013-02-12 Andreas Schwab <schwab@suse.de>
22916 * posix/regexec.c (extend_buffers): Add parameter min_len.
22917 (check_matching): Pass minimum needed length.
22918 (clean_state_log_if_needed): Likewise.
22919 (get_subexp): Likewise.
22920 * posix/Makefile (tests): Add bug-regex34.
22921 (bug-regex34-ENV): Define.
22922 * posix/bug-regex34.c: New file.
22925 * posix/regcomp.c (parse_bracket_exp): When looking up collating
22926 elements compare against the byte sequence of it, not its name.
22927 * posix/Makefile (tests): Add bug-regex35.
22928 (bug-regex35-ENV): Define.
22929 * posix/bug-regex35.c: New file.
22931 2013-02-11 Tom de Vries <tom@codesourcery.com>
22933 * string/str-two-way.h: Fix typo RESULT_TYPE -> RETURN_TYPE in
22935 Add RET0_IF_0 and CHECK_EOL to macro list in comment.
22936 (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
22937 (CHECK_EOL): Add undef.
22939 2013-02-11 Ondřej Bílka <neleai@seznam.cz>
22941 * bits/stdlib-bsearch.h: New file.
22942 * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
22943 * stdlib/stdlib.h: Likewise.
22945 2013-02-11 Roland McGrath <roland@hack.frob.com>
22947 * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
22948 * manual/errno.texi (Error Messages): Fix typo in error_print_progname
22950 * manual/search.texi (Array Search Function): Add missing const in
22952 * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
22953 declaration to use rlim_t.
22954 (Basic Scheduling Functions): Remove erroneous const from
22955 sched_getparam prototype. Remove erroneous * from
22956 sched_get_priority_max and sched_get_priority_min prototypes.
22957 (Resource Usage): Fix summary @comment on vtimes to refer to
22958 sys/vtimes.h rather than vtimes.h.
22959 Add missing *s in vtimes prototype.
22960 (Limits on Resources): Fix ulimit prototype to return long int.
22961 * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
22962 prototypes to use long int rather than double.
22963 (BSD Random): Fix initstate and setstate to use char *, not void *.
22964 * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
22965 prototype to make second argument 'struct aiocb64 *const[]'.
22966 Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
22967 (Status of AIO Operations): Remove erroneous const in aio_return and
22968 aio_return64 prototypes.
22969 (Synchronizing I/O): Fix sync prototype to return void.
22970 * manual/startup.texi (Suboptions): Remove an erroneous const in
22971 getsubopt prototype.
22972 * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
22973 * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
22974 use size_t rather than int.
22975 (Scanning All Users): Likewise for getpwent_r.
22976 (Setting Groups): Add missing const to setgroups prototype.
22977 * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
22978 * manual/socket.texi (Host Names): Fix gethostbyaddr and
22979 gethostbyaddr_r prototypes to use socklen_t rather than size_t and
22980 'const void *' rather than 'const char *'.
22981 (Host Address Functions): Likewise for inet_ntop.
22982 (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
22983 (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
22984 ssize_t for return value.
22985 (Sending Data): Likewise for send, sendto, sendmsg.
22986 (Socket Option Functions): Add a missing const in setsockopt prototype.
22987 * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
22988 use wchar_t for the argument.
22989 (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
22990 * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
22992 (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
22993 double/float/long double for second argument.
22994 Fix return types of significand, significandf, significandl.
22995 * manual/filesys.texi (Setting Permissions): Use mode_t for second
22996 argument in fchmod prototype.
22997 (File Owner): Use uid_t and gid_t in fchown prototype.
22998 (File Times): Add const to utimes, futimes, and lutimes prototypes.
22999 (Making Special Files): Use mode_t and dev_t in mknod prototype.
23000 (Scanning Directory Content): Fix scandir and scandir64 prototypes to
23001 use 'const struct dirent **' as argument types to CMP function pointer
23003 (Symbolic Links): Fix readlink prototype with ssize_t as return value.
23004 (File Times): Fix summary magic @comment for struct utimbuf and utime
23005 to refer to utime.h, not time.h.
23006 * manual/string.texi (Argz Functions): Add missing const in
23007 argz_extract and argz_next prototypes.
23008 (Finding Tokens in a String): Likewise for basename.
23009 (String/Array Comparison): Fix typo in wcscasecmp prototype.
23010 (Copying and Concatenation): Fix typo in wmemmove prototype.
23011 * manual/signal.texi (Using Pause): Use (void) in pause prototype.
23012 (Signal Stack): Remove erroneous const in sigstack prototype.
23013 * manual/time.texi (Setting an Alarm): Add missing const in setitimer
23015 (Simple Calendar Time): Likewise for stime.
23016 * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
23018 * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
23019 say sys/sysctl.h instead.
23020 * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
23021 and vsyslog prototypes.
23023 2013-02-11 Tom de Vries <tom@codesourcery.com>
23025 * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
23028 2013-02-11 Roland McGrath <roland@hack.frob.com>
23030 * misc/sys/mman.h: Fix typo in mremap comment.
23032 2013-02-08 Roland McGrath <roland@hack.frob.com>
23034 * manual/examples/mkfsock.c (make_named_socket): Don't add one for
23035 the '\0' terminator.
23037 2013-02-08 Joseph Myers <joseph@codesourcery.com>
23040 * debug/segfault.c: Don't include <bp-checks.h>.
23041 * sysdeps/generic/bp-checks.h: Remove file.
23042 * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
23043 (__GETDENTS): Don't use CHECK_N.
23044 * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
23045 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
23046 (__getgroups): Don't use CHECK_N.
23047 * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
23048 (setgroups): Don't use CHECK_N.
23049 * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
23050 * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
23051 (__libc_msgrcv): Don't use CHECK_N.
23052 * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
23053 (__libc_msgsnd): Don't use CHECK_N.
23054 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
23056 (__libc_pread): Don't use CHECK_N.
23057 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
23058 include <bp-checks.h>.
23059 (__libc_pread64): Don't use CHECK_N.
23060 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
23061 include <bp-checks.h>.
23062 (__libc_pwrite): Don't use CHECK_N.
23063 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
23064 include <bp-checks.h>.
23065 (__libc_pwrite64): Don't use CHECK_N.
23066 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
23068 (__libc_pread): Don't use CHECK_N.
23069 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
23070 include <bp-checks.h>.
23071 (__libc_pread64): Don't use CHECK_N.
23072 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
23073 include <bp-checks.h>.
23074 (__libc_pwrite): Don't use CHECK_N.
23075 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
23076 include <bp-checks.h>.
23077 (__libc_pwrite64): Don't use CHECK_N.
23078 * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
23079 (do_pread): Don't use CHECK_N.
23080 * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
23081 (do_pread64): Don't use CHECK_N.
23082 * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
23083 (do_pwrite): Don't use CHECK_N.
23084 * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
23085 (do_pwrite64): Don't use CHECK_N.
23086 * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
23087 (__libc_readv): Don't use CHECK_N.
23088 * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
23089 (semop): Don't use CHECK_N.
23090 * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
23092 (semtimedop): Don't use CHECK_N.
23093 * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
23094 (__libc_pread): Don't use CHECK_N.
23095 * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
23097 (__libc_pread64): Don't use CHECK_N.
23098 * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
23100 (__libc_pwrite): Don't use CHECK_N.
23101 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
23103 (__libc_pwrite64): Don't use CHECK_N.
23104 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
23106 (__libc_msgrcv): Don't use CHECK_N.
23107 * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
23108 (__sysctl): Don't use CHECK_N. Remove GKM FIXME comment.
23109 * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
23110 (__libc_writev): Don't use CHECK_N.
23112 2013-02-08 Roland McGrath <roland@hack.frob.com>
23114 * string/strcpy.c: Removed unused variable.
23116 * Makeconfig (+sysdep-includes): Define with := rather than =.
23117 Use an existing include/ subdir of each sysdeps dir before it.
23119 2013-02-08 Carlos O'Donell <carlos@redhat.com>
23121 * nscd/connection.c (register_traced_file): Comment function.
23122 [HAVE_INOTIFY] (union __inev): Define.
23123 [HAVE_INOTIFY] (inotify_check_files): New function.
23124 [HAVE_INOTIFY] (clear_db_cache): Likewise.
23125 [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
23127 [HAVE_INOTIFY] (main_loop_epoll): Likewise.
23129 2013-02-08 Carlos O'Donell <carlos@redhat.com>
23131 * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
23132 loaded if not already and that a failure is permanent.
23134 2013-02-08 Carlos O'Donell <carlos@redhat.com>
23137 * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
23138 * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
23140 2013-02-08 Joseph Myers <joseph@codesourcery.com>
23143 * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
23144 (CHECK_1_NULL_OK): Likewise.
23145 * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
23146 (__fxstat): Do not use CHECK_1.
23147 * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
23149 (___fxstat64): Do not use CHECK_1.
23150 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
23152 (__fxstatat): Do not use CHECK_1.
23153 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
23155 (__fxstatat64): Do not use CHECK_1.
23156 * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
23158 (__fxstat): Do not use CHECK_1.
23159 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
23161 (__fxstatat): Do not use CHECK_1.
23162 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
23164 (__getresgid): Do not use CHECK_1.
23165 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
23167 (__getresuid): Do not use CHECK_1.
23168 * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
23170 (__lxstat): Do not use CHECK_1.
23171 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
23173 (__old_msgctl): Do not use CHECK_1.
23174 (__new_msgctl): Likewise.
23175 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
23177 (__new_setrlimit): Do not use CHECK_1.
23178 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
23180 (__old_shmctl): Do not use CHECK_1.
23181 (__new_shmctl): Likewise.
23182 * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
23184 (__xstat): Do not use CHECK_1.
23185 * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
23186 (__lxstat): Do not use CHECK_1.
23187 * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
23189 (___lxstat64): Do not use CHECK_1.
23190 * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
23191 (__old_msgctl): Do not use CHECK_1.
23192 (__new_msgctl): Likewise.
23193 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
23195 (__gettimeofday): Do not use CHECK_1.
23196 * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
23197 (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
23198 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
23200 (__gettimeofday): Do not use CHECK_1.
23201 * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
23202 (__old_shmctl): Do not use CHECK_1_NULL_OK.
23203 (__new_shmctl): Do not use CHECK_1.
23204 * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
23206 (do_sigtimedwait): Do not use CHECK_1.
23207 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
23209 (do_sigwaitinfo): Do not use CHECK_1.
23210 * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
23212 (msgctl): Do not use CHECK_1.
23213 * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
23215 (shmctl): Do not use CHECK_1.
23216 * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
23217 (ustat): Do not use CHECK_1.
23218 * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
23220 (__fxstat): Do not use CHECK_1.
23221 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
23223 (__fxstatat): Do not use CHECK_1.
23224 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
23226 (__lxstat): Do not use CHECK_1.
23227 * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
23229 (__xstat): Do not use CHECK_1.
23230 * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
23231 (__xstat): Do not use CHECK_1.
23232 * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
23233 (___xstat64): Do not use CHECK_1.
23236 * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
23238 (CHECK_BOUNDS_HIGH): Likewise.
23239 * string/strcpy.c: Do not include <bp-checks.h>.
23240 (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
23242 2013-02-07 Roland McGrath <roland@hack.frob.com>
23244 * nscd/nscd-client.h (__nscd_drop_map_ref):
23245 Add __attribute__ ((unused)).
23246 * nis/nss-nisplus.h (niserr2nss): Likewise.
23248 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
23249 under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
23251 * csu/libc-tls.c (init_static_tls, init_slotinfo):
23252 Remove inline keyword.
23253 * include/rounding-mode.h (round_away): Likewise.
23254 * libio/wfileops.c (adjust_wide_data): Likewise.
23255 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
23256 (__m128i_strloadu_tolower): Likewise.
23257 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
23258 (__m128i_strloadu_tolower): Likewise.
23259 * time/mktime.c (ydhms_diff): Likewise.
23260 * locale/elem-hash.h (elem_hash): Likewise.
23261 * locale/setlocale.c (setdata): Likewise.
23262 * posix/regex_internal.h (re_string_char_size_at): Likewise.
23263 (re_string_wchar_at): Likewise.
23264 (bitset_not, bitset_merge, bitset_mask): Likewise.
23265 [!(__GNUC__ > 3)] (inline): Remove macro.
23266 * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
23267 * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
23268 * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
23269 (_dl_tlsdesc_wake_up_held_fixups): Likewise.
23270 * string/memcmp.c (memcmp_bytes): Likewise.
23271 * locale/programs/locarchive.c (compute_hashval): Likewise.
23272 * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
23273 * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
23274 * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
23275 * nss/getent.c (print_rpc, print_protocols): Likewise.
23276 (print_passwd, print_group, print_aliases): Likewise.
23277 * nis/nss-nisplus.h (niserr2nss): Likewise.
23278 * nscd/connections.c (restart_p): Likewise.
23279 Change return type to bool.
23281 2013-02-05 Roland McGrath <roland@hack.frob.com>
23283 * Makeconfig (all-Depend-files): Add existing
23284 $(sorted-subdirs:=/Depend) files.
23285 (all-subdirs): Remove nss.
23286 * sysdeps/unix/inet/Subdirs: Add it here instead.
23287 * hesiod/Depend: New file.
23289 * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
23290 instead of calling alloca.
23292 * io/lseek.c (__lseek): Rename to __libc_lseek.
23293 Define __lseek as an alias.
23295 * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
23297 2013-02-04 Carlos O'Donell <carlos@redhat.com>
23299 * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
23300 else clause and remove check for non-standard endianness.
23302 2013-02-04 David S. Miller <davem@davemloft.net>
23304 * sysdeps/sparc/fpu/libm-test-ulps: Update.
23306 2013-02-04 Joseph Myers <joseph@codesourcery.com>
23309 * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
23310 (__ubp_memchr): Remove prototype.
23311 [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
23312 [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
23313 [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
23314 [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
23315 * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
23317 * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
23318 (__ubp_memchr): Likewise.
23319 * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
23320 (__ubp_memchr): Likewise.
23321 * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
23322 (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
23323 (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
23324 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
23326 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
23327 * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
23328 (__getcwd): Do not use CHECK_STRING.
23329 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
23331 (__real_chown): Do not use CHECK_STRING.
23332 * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
23334 (fchownat): Do not use CHECK_STRING.
23335 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
23337 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
23339 (__lchown): Do not use CHECK_STRING.
23340 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
23341 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
23342 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
23343 * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
23344 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
23345 include <bp-checks.h>.
23346 (truncate64): Do not use CHECK_STRING.
23347 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
23349 (__real_chown): Do not use CHECK_STRING.
23350 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
23352 (__lchown): Do not use CHECK_STRING.
23353 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
23355 (__chown): Do not use CHECK_STRING.
23356 * sysdeps/unix/sysv/linux/truncate64.c: Do not include
23358 (truncate64): Do not use CHECK_STRING.
23359 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
23361 * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
23362 (__xmknod): Do not use CHECK_STRING.
23363 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
23365 (__xmknodat): Do not use CHECK_STRING.
23366 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
23367 * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
23369 2013-02-04 Andreas Schwab <schwab@suse.de>
23372 * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
23373 * include/netdb.h: Likewise for h_errno.
23374 * elf/tst-stackguard1.c: Include <tls.h>.
23376 2013-02-02 Jan Kratochvil <jan.kratochvil@redhat.com>
23378 * elf/link.h (struct link_map): Extend the l_addr comment.
23379 * include/link.h (struct link_map): Likewise.
23381 2013-02-01 Joseph Myers <joseph@codesourcery.com>
23384 * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
23385 (BOUNDED_1): Remove macro.
23386 * debug/backtrace.c: Don't include <bp-checks.h>.
23387 (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
23388 (__backtrace): Likewise.
23389 * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
23391 (__backtrace): Don't use BOUNDED_1.
23392 * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
23394 (__backtrace): Don't use BOUNDED_1.
23395 * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
23396 (__backtrace): Don't use BOUNDED_1.
23397 * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
23398 (shmat): Don't use BOUNDED_N.
23400 2013-01-31 Joseph Myers <joseph@codesourcery.com>
23403 * sysdeps/generic/bp-start.h: Remove file.
23404 * csu/libc-start.c: Don't include <bp-start.h>.
23405 (LIBC_START_MAIN): Set up __environ directly instead of using
23406 INIT_ARGV_and_ENVIRON.
23407 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
23411 * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
23413 (CHECK_FCNTL): Likewise.
23414 (CHECK_N_PAGES): Likewise.
23417 * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
23419 (CHECK_SIGSET_NULL_OK): Likewise.
23420 * sysdeps/unix/sysv/linux/sigpending.c: Don't include
23422 (sigpending): Don't use CHECK_SIGSET.
23423 * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
23425 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
23426 * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
23428 (do_sigsuspend): Don't use CHECK_SIGSET.
23429 * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
23431 * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
23432 (do_sigwait): Don't use CHECK_SIGSET.
23433 * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
23435 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
23436 include <bp-checks.h>.
23437 (sigpending): Don't use CHECK_SIGSET.
23438 * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
23439 include <bp-checks.h>.
23440 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
23441 * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
23443 (sigpending): Don't use CHECK_SIGSET.
23444 * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
23446 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
23449 * sysdeps/generic/bp-semctl.h: Remove file.
23450 * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
23451 <bp-checks.h> and <bp-semctl.h>.
23452 (__old_semctl): Don't use CHECK_SEMCTL.
23453 (__new_semctl): Likewise.
23454 * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
23456 (__old_semctl): Don't use CHECK_SEMCTL.
23457 (__new_semctl): Likewise.
23458 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
23459 <bp-checks.h> and <bp-semctl.h>.
23460 (__old_semctl): Don't use CHECK_SEMCTL.
23461 (__new_semctl): Likewise.
23462 * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
23463 <bp-checks.h> and <bp-semctl.h>.
23464 (semctl): Don't use CHECK_SEMCTL.
23467 * Makerules (elide-bp-thunks): Remove variable.
23468 (elide-routines.oS): Don't use $(elide-bp-thunks).
23469 (elide-routines.os): Likewise.
23470 (elide-routines.o): Likewise.
23471 (elide-routines.op): Likewise.
23472 (elide-routines.og): Likewise.
23473 (objects): Don't use $(bp-thunks).
23474 * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
23476 (common-generated): Do not add s-proto-bp.d.
23477 * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
23480 Do not generate makefile rules for bounded-pointer thunks.
23481 * sysdeps/generic/bp-thunks.h: Remove file.
23482 * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
23483 * sysdeps/unix/s-proto-bp.S: Likewise.
23486 * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
23487 parts of result separately when argument is not close to line from
23488 -i to i and one part of argument is small.
23489 * math/k_casinhf.c (__kernel_casinhf): Likewise.
23490 * math/k_casinhl.c (__kernel_casinhl): Likewise.
23491 * math/libm-test.inc (cacos_test): Add more tests.
23492 (casin_test): Likewise.
23493 (casinh_test): Likewise.
23494 * sysdeps/i386/fpu/libm-test-ulps: Update.
23495 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23497 2013-01-31 David S. Miller <davem@davemloft.net>
23499 * po/de.po: Update from translation team.
23501 2013-01-25 Maxim Kuvyrkov <maxim.kuvyrkov@gmail.com>
23503 * time/tzfile.c: Include stdint.h for SIZE_MAX.
23505 2013-01-25 Thomas Schwinge <thomas@codesourcery.com>
23507 * configure.in (_AC_PROG_CC_C89): New definition.
23508 * configure: Regenerate.
23510 * configure.in (AC_PROG_CPP): New definition.
23511 * configure: Regenerate.
23513 2013-01-23 Joseph Myers <joseph@codesourcery.com>
23515 * debug/tst-backtrace.h: New file.
23516 * debug/tst-backtrace2.c: Include tst-backtrace.h.
23517 (ret): Remove variable.
23519 (FAIL): Remove macro.
23520 (NO_INLINE): Likewise.
23521 (fn1): Use match function instead of strstr.
23522 * debug/tst-backtrace3.c: Include tst-backtrace.h.
23523 (ret): Remove variable.
23525 (FAIL): Remove macro.
23526 (NO_INLINE): Likewise.
23527 (fn): Use match function instead of strstr.
23528 * debug/tst-backtrace4.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.
23534 * debug/tst-backtrace5.c: Include tst-backtrace.h.
23535 (ret): Remove variable.
23537 (FAIL): Remove macro.
23538 (NO_INLINE): Likewise.
23539 (handle_signal): Use match function instead of strstr.
23541 2013-01-23 Roland McGrath <roland@hack.frob.com>
23543 * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
23545 2013-01-23 David S. Miller <davem@davemloft.net>
23547 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
23548 (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
23549 argument of CAS if possible.
23550 * sysdeps/sparc/sparc64/bits/atomic.h
23551 (__arch_compare_and_exchange_val_32_acq): Likewise.
23552 (__arch_compare_and_exchange_val_64_acq): Likewise.
23554 2013-01-23 Pino Toscano <toscano.pino@tiscali.it>
23556 * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
23557 * sysdeps/posix/ulimit.c: ... this.
23558 Include <limits.h>.
23559 * sysdeps/unix/bsd/ulimit.c: Remove file.
23561 2013-01-23 Adam Conrad <adconrad@0c3.net>
23563 * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
23564 (LDFLAGS-tst-array5): Likewise.
23566 2013-01-23 Joseph Myers <joseph@codesourcery.com>
23569 * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
23570 based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
23571 (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
23572 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
23574 2013-01-21 David S. Miller <davem@davemloft.net>
23576 * sysdeps/sparc/backtrace.c: New file.
23577 * sysdeps/sparc/sparc32/backtrace.h: New file.
23578 * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
23579 * sysdeps/sparc/sparc64/backtrace.h: New file.
23580 * sysdeps/sparc/sparc64/backtrace.c: Delete.
23581 * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
23584 2013-01-21 Andreas Schwab <schwab@suse.de>
23587 * posix/wordexp.c (exec_comm): Avoid busy loop when command has
23590 2013-01-20 Andreas Schwab <schwab@linux-m68k.org>
23592 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
23594 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
23596 2013-01-18 Joseph Myers <joseph@codesourcery.com>
23597 Mark Mitchell <mark@codesourcery.com>
23598 Tom de Vries <tom@codesourcery.com>
23599 Paul Pluzhnikov <ppluzhnikov@google.com>
23601 * debug/tst-backtrace2.c: New file.
23602 * debug/tst-backtrace3.c: Likewise.
23603 * debug/tst-backtrace4.c: Likewise.
23604 * debug/tst-backtrace5.c: Likewise.
23605 * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
23606 (CFLAGS-tst-backtrace3.c): Likewise.
23607 (CFLAGS-tst-backtrace4.c): Likewise.
23608 (CFLAGS-tst-backtrace5.c): Likewise.
23609 (LDFLAGS-tst-backtrace2): Likewise.
23610 (LDFLAGS-tst-backtrace3): Likewise.
23611 (LDFLAGS-tst-backtrace4): Likewise.
23612 (LDFLAGS-tst-backtrace5): Likewise.
23613 (tests): Add new tests tst-backtrace2, tst-backtrace3,
23614 tst-backtrace4 and tst-backtrace5.
23616 2013-01-18 Anton Blanchard <anton@samba.org>
23617 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
23619 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
23620 __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
23621 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
23622 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
23623 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
23624 (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
23625 "+r" and remove output regs list as redundant. Add explicit inline
23626 asm to specify register of return val to work around compiler codegen
23627 bug. Remove (int) cast on return value. Add return type parameter to
23628 use in macro so that this macro does not truncate return value for
23630 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
23631 pass to INTERNAL_VSYSCALL_NCS.
23632 (INLINE_VSYSCALL): Add 'long int' as return type to
23633 INTERNAL_VSYSCALL_NCS macro invocation.
23634 (INTERNAL_VSYSCALL): Add 'long int' as return type to
23635 INTERNAL_VSYSCALL_NCS macro invocation.
23636 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
23638 2013-01-18 Siddhesh Poyarekar <siddhesh@redhat.com>
23641 * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
23642 Fix application of SIMD FP exception mask.
23644 * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
23645 mp_no from a power of two.
23646 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
23647 __mpexp_twomm1. Use __pow_mp.
23649 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
23652 2013-01-17 David S. Miller <davem@davemloft.net>
23654 * sysdeps/sparc/fpu/libm-test-ulps: Update.
23656 2013-01-17 Joseph Myers <joseph@codesourcery.com>
23659 * include/complex.h: Condition contents on [!_COMPLEX_H].
23660 (__kernel_casinhf): New prototype.
23661 (__kernel_casinh): Likewise.
23662 (__kernel_casinhl): Likewise.
23663 * math/Makefile (libm_calls): Add k_casinh.
23664 * math/k_casinh.c: New file.
23665 * math/k_casinhf.c: Likewise.
23666 * math/k_casinhl.c: Likewise.
23667 * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
23668 finite nonzero arguments.
23669 * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
23670 finite nonzero arguments.
23671 * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
23672 finite nonzero arguments.
23673 * math/s_casinh.c: Do not include <float.h>.
23674 (__casinh): Move code for finite nonzero arguments to k_casinh.c.
23675 * math/s_casinhf.c: Do not include <float.h>.
23676 (__casinhf): Move code for finite nonzero arguments to
23678 * math/s_casinhl.c: Do not include <float.h>.
23679 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
23681 (__casinhl): Move code for finite nonzero arguments to
23683 * math/libm-test.inc (cacos_test): Add more tests.
23684 * sysdeps/i386/fpu/libm-test-ulps: Update.
23685 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23687 2013-01-17 Pino Toscano <toscano.pino@tiscali.it>
23689 * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
23690 * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
23691 [!HAVE_MREMAP]: Remove [defined linux] case.
23692 * malloc/arena.c: Do not include <malloc-sysdep.h>.
23694 2013-01-17 Siddhesh Poyarekar <siddhesh@redhat.com>
23696 * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
23698 2013-01-17 H.J. Lu <hongjiu.lu@intel.com>
23700 * elf/elf.h (R_386_SIZE32): New relocation.
23701 * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
23703 (elf_machine_rela): Likewise.
23704 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
23705 R_X86_64_SIZE64 and R_X86_64_SIZE32.
23707 2013-01-17 Joseph Myers <joseph@codesourcery.com>
23709 * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
23710 (FP_FAST_FMA): Do not define.
23711 [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
23712 * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
23713 && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
23714 * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
23715 !_SOFT_FLOAT]: Likewise.
23716 * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
23717 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
23719 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
23720 [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
23721 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
23722 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
23723 [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
23724 [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
23727 2013-01-16 Andreas Schwab <schwab@suse.de>
23730 * include/stdlib.h (__mktemp): Add declaration.
23731 * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
23732 * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
23734 2013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
23736 * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
23738 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
23739 * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
23740 * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
23742 * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
23743 * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
23745 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
23747 * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
23748 * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
23749 * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
23751 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
23752 * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
23754 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
23756 * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
23758 2013-01-15 David S. Miller <davem@davemloft.net>
23760 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
23761 trunc{,f} to libm-sysdep_routes.
23762 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
23763 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
23765 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
23766 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
23768 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
23770 * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
23771 * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
23772 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
23773 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
23774 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
23775 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
23776 * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
23777 * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
23779 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
23780 nearbyint{,f} to libm-sysdep_routes.
23781 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
23782 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
23784 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
23786 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
23788 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
23790 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
23791 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
23792 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
23794 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
23795 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
23797 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
23798 * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
23799 * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
23801 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
23802 libc_feholdexcept and libc_fesetenv.
23804 2013-01-15 Mike Frysinger <vapier@gentoo.org>
23806 * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
23808 2013-01-14 David S. Miller <davem@davemloft.net>
23810 * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
23811 (SPARC_ASM_VIS2_IFUNC): Likewise.
23812 (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
23813 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
23814 use of 'siam' instruction.
23815 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
23817 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
23819 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
23821 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
23822 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
23823 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
23824 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
23825 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
23827 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
23829 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
23831 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
23833 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
23834 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
23835 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
23836 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
23837 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
23839 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
23840 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
23841 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
23843 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
23844 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
23845 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
23846 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
23847 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
23848 routines to libm-sysdep_routines.
23849 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
23851 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
23852 fdim/fdimf to libm-sysdep_routines.
23853 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
23855 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
23856 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
23858 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
23859 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
23860 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
23861 * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
23862 * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
23863 * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
23864 * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
23866 2013-01-14 Siddhesh Poyarekar <siddhesh@redhat.com>
23868 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
23869 to optimize copies.
23871 * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
23872 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
23873 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
23875 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
23876 local variable MPTWO.
23877 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
23880 2013-01-13 Mike Frysinger <vapier@gentoo.org>
23882 * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
23885 2013-01-13 Mike Frysinger <vapier@gentoo.org>
23887 * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
23889 2013-01-13 Mike Frysinger <vapier@gentoo.org>
23891 * manual/pattern.texi (glob_t): Document gl_flags.
23892 (glob64_t): Likewise.
23894 2013-01-11 David S. Miller <davem@davemloft.net>
23896 * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
23897 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
23898 (gmp-sysdep_routines): New variable. Add VIS3 optimized GMP routines.
23899 * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
23900 * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
23901 * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
23902 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
23903 * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
23904 * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
23905 * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
23906 * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
23907 * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
23908 * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
23910 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
23911 sparc V9 rather than using V8 code.
23912 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
23913 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
23915 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
23917 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
23920 2013-01-11 Roland McGrath <roland@hack.frob.com>
23922 * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
23923 not in the main loop.
23924 * configure: Regenerated.
23926 2013-01-11 Joseph Myers <joseph@codesourcery.com>
23928 * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
23929 * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
23931 * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise. Remove
23932 [!__GLIBC_HAVE_LONG_LONG] case.
23933 * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
23934 condition to just #else.
23935 * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
23936 __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
23937 [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
23938 * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
23940 * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
23941 * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
23942 #elif condition to just #else.
23943 * sysdeps/unix/sysv/linux/sys/sysmacros.h
23944 [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
23945 * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
23946 #elif condition to just #else.
23948 2013-01-11 Steve Ellcey <sellcey@mips.com>
23950 * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
23951 (EF_MIPS_ARCH_64): Fix value.
23952 (EF_MIPS_ARCH_32R2): New.
23953 (EF_MIPS_ARCH_64R2): New.
23955 2013-01-11 H.J. Lu <hongjiu.lu@intel.com>
23957 * Makeconfig (+link-pie-before-libc): New.
23958 (+link-pie-after-libc): Likewise.
23959 (+link-pie-tests): Likewise.
23960 (+link-pie): Rewritten.
23961 (link-before-libc): Remove $(config-LDFLAGS).
23962 (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
23963 (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
23964 (config-LDFLAGS): Renamed to ...
23965 (rtld-LDFLAGS): This.
23966 (rtld-tests-LDFLAGS): New macro.
23967 (link-libc-rpath-link): Likewise.
23968 (link-libc-tests-rpath-link): Likewise.
23969 (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
23970 (link-libc): Prepand $(link-libc-rpath-link).
23971 (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
23972 (test-program-prefix): New macro.
23973 (test-via-rtld-prefix): Likewise.
23974 (test-program-cmd): Likewise.
23975 (host-test-program-cmd): Likewise.
23976 * Makefile ($(common-objpfx)testrun.sh): Replace
23977 $(run-program-prefix) with $(test-program-prefix).
23978 * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
23980 ($(common-objpfx)shlib.lds): Likewise.
23981 (build-module-helper): Likewise.
23982 ($(common-objpfx)format.lds): Likewise.
23983 * Rules (binaries-pie-tests): New.
23984 (binaries-pie-notests): Likewise.
23985 (binaries-pie): Rewritten.
23986 ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
23987 ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
23988 ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
23989 (make-test-out): Replace $(host-built-program-cmd) with
23990 $(host-test-program-cmd).
23991 * config.make.in (build-hardcoded-path-in-tests): New variable.
23992 * configure.in (--enable-hardcoded-path-in-tests): New configure
23994 (hardcoded_path_in_tests): New AC_SUBST.
23995 * configure: Regenerated.
23996 * catgets/Makefile ($(objpfx)test-gencat.out): Replace
23997 $(built-program-cmd) with $(test-program-cmd).
23998 * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
23999 (test_program_cmd): This.
24000 * elf/Makefile ($(objpfx)order.out): Run test with
24001 $(test-program-prefix).
24002 ($(objpfx)order2.out): Likewise.
24003 ($(objpfx)tst-initorder.out): Likewise.
24004 ($(objpfx)tst-initorder2.out): Likewise.
24005 ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
24006 $(test-program-cmd).
24007 ($(objpfx)tst-array1-static.out): Likewise.
24008 ($(objpfx)tst-array2.out): Likewise.
24009 ($(objpfx)tst-array3.out): Likewise.
24010 ($(objpfx)tst-array4.out): Likewise.
24011 ($(objpfx)tst-array5.out): Likewise.
24012 ($(objpfx)tst-array5-static.out): Likewise.
24013 (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
24014 $(test-program-cmd).
24015 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
24016 $(run-program-prefix) with $(test-program-prefix).
24017 * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
24018 (test_program_prefix): This.
24019 * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
24020 $(run-program-prefix) with $(test-program-prefix).
24021 * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
24022 (test_program_prefix): This.
24023 * iconvdata/tst-tables.sh: Likewise.
24024 * intl/Makefile ($(objpfx)tst-gettext.out): Replace
24025 $(run-program-prefix) with $(test-program-prefix).
24026 ($(objpfx)tst-translit.out): Likewise.
24027 ($(objpfx)tst-gettext2.out): Likewise.
24028 ($(objpfx)tst-gettext4.out): Likewise.
24029 ($(objpfx)tst-gettext6.out): Likewise.
24030 * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
24031 (test_program_prefix): This.
24032 * intl/tst-gettext2.sh: Likewise.
24033 * intl/tst-gettext4.sh Likewise.
24034 * intl/tst-gettext6.sh: Likewise.
24035 * intl/tst-translit.sh: Likewise.
24036 * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
24037 with $(test-program-cmd).
24038 * libio/Makefile ($(objpfx)test-freopen.out): Replace
24039 $(run-program-prefix) with $(test-program-prefix).
24040 * libio/test-freopen.sh (run_program_prefix): Renamed to ...
24041 (test_program_prefix): This.
24042 * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
24043 $(run-program-prefix) with $(test-program-prefix).
24044 * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
24045 (test_program_prefix): This.
24046 * manual/install.texi: Document --enable-hardcoded-path-in-tests.
24047 * posix/Makefile ($(objpfx)globtest.out): Replace
24048 $(run-via-rtld-prefix) and $(test-wrapper) with
24049 $(test-program-prefix) and $(test-via-rtld-prefix).
24050 ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
24051 $(test-program-prefix).
24052 (tst-exec-ARGS): Replace $(host-built-program-cmd) with
24053 $(host-test-program-cmd).
24054 (tst-spawn-ARGS): Likewise.
24055 ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
24056 $(test-program-prefix).
24057 * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
24058 (test_via_rtld_prefix): This.
24059 (test_wrapper): Renamed to ...
24060 (test_program_prefix): This.
24061 (run_program_prefix): Replaced by test_program_prefix.
24062 * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
24063 (test_program_prefix): This.
24064 * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
24065 with $(host-test-program-cmd).
24066 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
24067 $(run-program-prefix) with $(test-program-prefix).
24068 ($(objpfx)tst-printf.out): Likewise.
24069 ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
24070 $(test-program-cmd).
24071 * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
24072 (test_program_prefix): This.
24073 * stdio-common/tst-unbputc.sh: Likewise.
24074 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
24075 $(run-program-prefix) with $(test-program-prefix).
24076 * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
24077 (test_program_prefix): This.
24078 * string/Makefile ($(objpfx)tst-svc.out): Replace
24079 $(built-program-cmd) with $(test-program-cmd).
24081 2013-01-11 Andreas Jaeger <aj@suse.de>
24084 * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
24085 value. Sync with Linux 3.7.
24087 2013-01-10 David S. Miller <davem@davemloft.net>
24089 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
24090 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
24091 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
24093 2013-01-10 Roland McGrath <roland@hack.frob.com>
24095 * configure.in (sysnames): Drop use of $m0sub and $msub, which are
24097 * configure: Regenerated.
24099 2013-01-10 David S. Miller <davem@davemloft.net>
24101 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
24102 sparc V9 rather than using V8 code.
24103 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
24104 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
24106 2013-01-10 Roland McGrath <roland@hack.frob.com>
24108 * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
24109 (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
24110 (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
24111 (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
24112 (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
24113 (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
24114 (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
24115 (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
24116 (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
24117 (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
24118 (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
24119 (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
24120 (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
24121 (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
24122 (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
24123 (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
24124 (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
24125 (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
24126 (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
24127 (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
24128 (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
24129 (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
24130 (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
24131 (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
24132 (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
24133 (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
24134 (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
24136 2013-01-10 David S. Miller <davem@davemloft.net>
24138 * sysdeps/sparc/fpu/libm-test-ulps: Update.
24140 2013-01-10 H.J. Lu <hongjiu.lu@intel.com>
24142 * posix/Makefile (tests-static): New variable.
24143 (tests): Add $(tests-static).
24144 (tst-exec-static-ARGS): New variable.
24145 (tst-spawn-static-ARGS): Likewise.
24146 * posix/tst-exec-static.c: New file.
24147 * posix/tst-spawn-static.c: Likewise.
24148 * posix/tst-exec.c: Support run directly.
24149 * posix/tst-spawn.c: Likewise.
24151 2013-01-10 Joseph Myers <joseph@codesourcery.com>
24153 * elf/link.h (struct dl_phdr_info): Use __extension__ with long
24155 * math/bits/mathcalls.h (llrint): Likewise.
24156 (llround): Likewise.
24157 * stdlib/stdlib.h (struct drand48_data): Likewise.
24158 * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
24159 * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
24160 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
24162 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
24164 * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
24165 (elf_greg_t): Likewise.
24166 * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
24167 (__jmp_buf): Likewise.
24168 * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
24170 (llrint): Likewise, for all definitions.
24171 (llrintl): Likewise.
24173 * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
24174 Remove [__GNUC__] condition.
24175 * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
24176 condition to just [__USE_ISOC99].
24177 [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
24179 2013-01-10 H.J. Lu <hongjiu.lu@intel.com>
24182 * sysdeps/unix/sysv/linux/x86/bits/environments.h
24183 (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
24185 (_POSIX_V6_ILP32_OFF32): Likewise.
24186 (_XBS5_ILP32_OFF32): Likewise.
24187 (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
24188 (__ILP32_OFFBIG_LDFLAGS): Likewise.
24190 2013-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
24192 * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
24194 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
24195 doubles __mpexp_twomm1. Adjust usage.
24196 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
24199 2013-01-10 Andreas Schwab <schwab@suse.de>
24202 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
24203 (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
24205 2013-01-09 David S. Miller <davem@davemloft.net>
24208 * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS)
24209 (TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT)
24210 (TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS)
24211 (TCP_FASTOPEN): Define.
24212 (tcp_repair_opt): New structure.
24213 (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
24215 (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE)
24216 (TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN)
24217 (TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
24218 (tcp_cookie_transactions): New structure.
24220 2013-01-09 Anton Blanchard <anton@samba.org>
24222 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
24223 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
24224 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
24225 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
24227 2013-01-09 Joseph Myers <joseph@codesourcery.com>
24229 * include/features.h (__USE_ANSI): Remove.
24231 2013-01-09 Roland McGrath <roland@hack.frob.com>
24233 * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
24235 * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
24237 2013-01-09 Siddhesh Poyarekar <siddhesh@redhat.com>
24239 * sysdeps/s390/fpu/libm-test-ulps: Update.
24241 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
24243 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
24247 (denorm): Likewise.
24248 (__mp_dbl): Likewise.
24249 (__dbl_mp): Likewise.
24250 (add_magnitudes): Likewise.
24251 (sub_magnitudes): Likewise.
24257 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
24261 (denorm): Likewise.
24262 (__mp_dbl): Likewise.
24263 (__dbl_mp): Likewise.
24264 (add_magnitudes): Likewise.
24265 (sub_magnitudes): Likewise.
24271 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
24275 (denorm): Likewise.
24276 (__mp_dbl): Likewise.
24277 (__dbl_mp): Likewise.
24278 (add_magnitudes): Likewise.
24279 (sub_magnitudes): Likewise.
24286 2013-01-08 Joseph Myers <joseph@codesourcery.com>
24288 * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
24289 __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
24290 * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
24291 2 && __USE_EXTERN_INLINES]: Likewise.
24293 2013-01-08 Andreas Jaeger <aj@suse.de>
24296 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
24298 * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
24299 * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
24301 2013-01-07 Anton Blanchard <anton@samba.org>
24303 * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
24304 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
24305 * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
24306 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
24307 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
24308 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
24309 * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
24310 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
24311 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
24312 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
24313 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
24314 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
24315 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
24316 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
24317 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
24318 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
24319 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
24320 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
24321 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
24322 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
24323 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
24324 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
24325 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
24326 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
24327 * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
24328 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
24329 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
24330 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
24331 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
24332 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
24333 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
24334 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
24335 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
24336 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
24337 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
24338 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
24339 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
24340 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
24341 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
24342 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
24343 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
24344 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
24345 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
24347 2013-01-07 Joseph Myers <joseph@codesourcery.com>
24349 * malloc/malloc.h (__MALLOC_P): Remove all definitions.
24350 (__MALLOC_PMT): Likewise.
24351 [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
24352 [__GNUC__], only on [_LIBC].
24353 [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
24354 [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
24355 [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
24356 * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
24357 forward declaration.
24358 (realloc_hook_ini): Likewise.
24359 (memalign_hook_ini): Likewise.
24360 (__libc_memalign): Do not use __MALLOC_PMT in variable
24362 (__libc_valloc): Likewise.
24363 (__libc_pvalloc): Likewise.
24364 (__libc_calloc): Likewise.
24365 (__posix_memalign): Likewise.
24368 * math/s_casinh.c: Include <float.h>.
24369 (__casinh): Do not do computation with squaring and square root
24370 for large arguments.
24371 * math/s_casinhf.c: Include <float.h>.
24372 (__casinhf): Do not do computation with squaring and square root
24373 for large arguments.
24374 * math/s_casinhl.c: Include <float.h>.
24375 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
24376 (__casinhl): Do not do computation with squaring and square root
24377 for large arguments.
24378 * math/libm-test.inc (casin_test): Add more tests.
24379 (casinh_test): Likewise.
24380 * sysdeps/i386/fpu/libm-test-ulps: Update.
24381 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24383 2013-01-04 H.J. Lu <hongjiu.lu@intel.com>
24385 * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
24386 (__x86_64_raw_data_cache_size): Likewise.
24387 (__x86_64_data_cache_size_half): Likewise.
24388 (__x86_64_raw_data_cache_size_half): Likewise.
24389 (__x86_64_shared_cache_size): Likewise.
24390 (__x86_64_raw_shared_cache_size): Likewise.
24391 (__x86_64_shared_cache_size_half): Likewise.
24392 (__x86_64_raw_shared_cache_size_half): Likewise.
24393 * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
24395 (__x86_data_cache_size): This.
24396 (__x86_64_raw_data_cache_size): Renamed to ...
24397 (__x86_raw_data_cache_size): This.
24398 (__x86_64_data_cache_size_half): Renamed to ...
24399 (__x86_data_cache_size_half): This.
24400 (__x86_64_raw_data_cache_size_half): Renamed to ...
24401 (__x86_raw_data_cache_size_half): This.
24402 (__x86_64_shared_cache_size): Renamed to ...
24403 (__x86_shared_cache_size): This.
24404 (__x86_64_raw_shared_cache_size): Renamed to ...
24405 (__x86_raw_shared_cache_size): This.
24406 (__x86_64_shared_cache_size_half): Renamed to ...
24407 (__x86_shared_cache_size_half): This.
24408 (__x86_64_raw_shared_cache_size_half): Renamed to ...
24409 (__x86_raw_shared_cache_size_half): This.
24410 * sysdeps/x86_64/memcpy.S: Updated.
24411 * sysdeps/x86_64/memset.S: Likewise.
24412 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
24413 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
24414 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
24416 2013-01-04 David S. Miller <davem@davemloft.net>
24418 * sysdeps/sparc/fpu/libm-test-ulps: Update.
24420 2013-01-04 Andreas Schwab <schwab@linux-m68k.org>
24422 * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
24423 1 to avoid redefinition warning.
24424 (__USE_GNU): Don't define.
24425 (init_signaling_nan): Protoize.
24427 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
24429 2013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
24431 * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
24432 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
24433 (__cpymn): Likewise.
24434 (norm): Remove commented code.
24435 (denorm): Likewise.
24436 (__mp_dbl): Likewise.
24438 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
24439 (__cpymn): Likewise.
24440 (norm): Remove commented code.
24441 (denorm): Likewise.
24442 (__mp_dbl): Likewise.
24445 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
24446 mp_no value for 1.0 and 2.0.
24447 (norm): Use RADIXI instead of radixi.d.
24448 (denorm): Likewise.
24449 (__mul): Use 0.0 instead of zero.d.
24450 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
24451 mp_no value for 1.0 and 2.0.
24452 (norm): Use RADIXI instead of radixi.d.
24453 (denorm): Likewise.
24454 (__mul): Use 0.0 instead of zero.d.
24456 2013-01-04 Joseph Myers <joseph@codesourcery.com>
24459 * math/s_casinh.c (__casinh): Reduce finite argument to first
24460 quadrant then set signs of results at the end.
24461 * math/s_casinhf.c (__casinhf): Likewise.
24462 * math/s_casinhl.c (__casinhl): Likewise.
24463 * math/libm-test.inc (casin_test): Add more tests.
24464 (casinh_test): Likewise.
24465 * sysdeps/i386/fpu/libm-test-ulps: Update.
24466 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24468 2013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
24470 * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
24472 * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
24474 * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
24476 (denorm): Likewise.
24477 (__mp_dbl): Likewise.
24480 * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
24481 and adjust the header comment.
24483 * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
24484 variable name from declaration.
24486 2013-01-03 H.J. Lu <hongjiu.lu@intel.com>
24488 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
24489 Initialize COMMON_CPUID_INDEX_7 element.
24490 * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
24491 (CPUID_RTM): Likewise.
24492 (HAS_RTM): Likewise.
24493 (COMMON_CPUID_INDEX_7): New enum.
24495 2013-01-03 Andreas Schwab <schwab@linux-m68k.org>
24498 * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
24499 size is zero, record memory as freed.
24501 2013-01-03 Andreas Jaeger <aj@suse.de>
24503 * po/ia.po: Add new Interlingua translation.
24505 2012-01-03 Allan McRae <allan@archlinux.org>
24507 * locale/programs/localedef.c: Fix description of '--posix' flag.
24509 2013-01-02 Joseph Myers <joseph@codesourcery.com>
24511 * NEWS: Update dates in second copyright notice.
24512 * README: Update copyright dates in example.
24513 * manual/libc.texinfo: Update copyright dates.
24514 * scripts/test-installation.pl: Update copyright date in --version
24517 * hurd/ctty-input.c: Fix copyright notice formatting.
24518 * hurd/ctty-output.c: Likewise.
24519 * hurd/dtable.c: Likewise.
24520 * hurd/hurd-raise.c: Likewise.
24521 * hurd/hurdprio.c: Likewise.
24522 * hurd/msgportdemux.c: Likewise.
24523 * misc/sys/file.h: Likewise.
24524 * misc/sys/ioctl.h: Likewise.
24525 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
24526 * sysdeps/mach/hurd/chdir.c: Likewise.
24527 * sysdeps/mach/hurd/fchdir.c: Likewise.
24528 * sysdeps/mach/hurd/rename.c: Likewise.
24529 * sysdeps/mach/hurd/rmdir.c: Likewise.
24530 * sysdeps/mach/hurd/seekdir.c: Likewise.
24531 * sysdeps/mach/hurd/setsid.c: Likewise.
24532 * sysdeps/posix/wait3.c: Likewise.
24534 * All files with FSF copyright notices: Update copyright dates
24535 using scripts/update-copyrights.
24536 * intl/plural.c: Regenerated.
24537 * locale/programs/charmap-kw.h: Likewise.
24538 * locale/programs/locfile-kw.h: Likewise.
24540 2013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
24542 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
24545 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
24546 calculation loop and add branch prediction.
24548 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
24549 check access beyond bounds of m1np.
24551 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
24553 (__inv): Remove local variable MPTWO to use the global
24555 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
24556 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
24558 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
24559 MP3HALFS static const.
24561 2013-01-01 David S. Miller <davem@davemloft.net>
24563 * po/ca.po: Update from translation team.
24565 2013-01-01 Joseph Myers <joseph@codesourcery.com>
24567 * scripts/update-copyrights: New file.
24568 * Makeconfig: Reformat copyright notice.
24569 * ctype/ctype.h: Likewise.
24570 * debug/swprintf_chk.c: Likewise.
24571 * elf/dl-cache.c: Likewise.
24572 * elf/dl-debug.c: Likewise.
24573 * elf/dl-object.c: Likewise.
24574 * grp/initgroups.c: Likewise.
24575 * hurd/Makefile: Likewise.
24576 * hurd/hurd/signal.h: Likewise.
24577 * hurd/hurdfault.c: Likewise.
24578 * hurd/hurdioctl.c: Likewise.
24579 * hurd/hurdlookup.c: Likewise.
24580 * hurd/intr-msg.c: Likewise.
24581 * iconv/gconv_open.c: Likewise.
24582 * libio/swprintf.c: Likewise.
24583 * locale/lc-ctype.c: Likewise.
24584 * locale/nl_langinfo.c: Likewise.
24585 * mach/Machrules: Likewise.
24586 * mach/Makefile: Likewise.
24587 * malloc/obstack.h: Likewise.
24588 * manual/Makefile: Likewise.
24589 * manual/tsort.awk: Likewise.
24590 * misc/bits/stab.def: Likewise.
24591 * nis/nis_print_group_entry.c: Likewise.
24592 * nis/nis_table.c: Likewise.
24593 * nis/nss_compat/compat-pwd.c: Likewise.
24594 * nis/nss_compat/compat-spwd.c: Likewise.
24595 * po/Makefile: Likewise.
24596 * posix/fnmatch.c: Likewise.
24597 * posix/regex.h: Likewise.
24598 * resolv/Makefile: Likewise.
24599 * resolv/nss_dns/dns-network.c: Likewise.
24600 * resolv/res_hconf.c: Likewise.
24601 * scripts/gen-sorted.awk: Likewise.
24602 * soft-fp/soft-fp.h: Likewise.
24603 * stdio-common/printf.h: Likewise.
24604 * stdlib/monetary.h: Likewise.
24605 * stdlib/random.c: Likewise.
24606 * stdlib/random_r.c: Likewise.
24607 * sysdeps/generic/Makefile: Likewise.
24608 * sysdeps/gnu/Makefile: Likewise.
24609 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
24610 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
24611 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
24612 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
24613 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
24614 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
24615 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
24616 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
24617 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
24618 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
24619 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
24620 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
24621 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
24622 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
24623 * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
24624 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
24625 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
24626 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
24627 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
24628 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
24629 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
24630 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
24631 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
24632 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
24633 * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
24634 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
24635 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
24636 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
24637 * sysdeps/mach/hurd/errnos.awk: Likewise.
24638 * sysdeps/mach/hurd/fork.c: Likewise.
24639 * sysdeps/mach/hurd/getcwd.c: Likewise.
24640 * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
24641 * sysdeps/mach/hurd/mmap.c: Likewise.
24642 * sysdeps/mach/hurd/utimes.c: Likewise.
24643 * sysdeps/mach/hurd/xmknod.c: Likewise.
24644 * sysdeps/posix/profil.c: Likewise.
24645 * sysdeps/posix/readdir_r.c: Likewise.
24646 * sysdeps/powerpc/bits/mathdef.h: Likewise.
24647 * sysdeps/powerpc/bits/setjmp.h: Likewise.
24648 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
24649 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
24650 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
24651 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
24652 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
24653 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
24654 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
24655 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
24656 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
24657 * sysdeps/pthread/lio_listio.c: Likewise.
24658 * sysdeps/sparc/dl-procinfo.h: Likewise.
24659 * sysdeps/unix/i386/sysdep.S: Likewise.
24660 * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
24661 * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
24662 * sysdeps/unix/sysv/linux/getdents.c: Likewise.
24663 * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
24664 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
24665 * sysdeps/unix/sysv/linux/semctl.c: Likewise.
24666 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
24667 * sysdeps/unix/sysv/linux/speed.c: Likewise.
24668 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
24669 * sysdeps/wordsize-32/divdi3.c: Likewise.
24670 * time/sys/time.h: Likewise.
24671 * wcsmbs/Makefile: Likewise.
24673 2013-01-01 David S. Miller <davem@davemloft.net>
24675 * po/fr.po: Update from translation team.
24677 * catgets/gencat.c: Update copyright year.
24678 * csu/version.c: Likewise.
24679 * debug/catchsegv.sh: Likewise.
24680 * debug/pcprofiledump.c: Likewise.
24681 * debug/xtrace.sh: Likewise.
24682 * elf/ldconfig.c: Likewise.
24683 * elf/ldd.bash.in: Likewise.
24684 * elf/pldd.c: Likewise.
24685 * elf/sotruss.ksh: Likewise.
24686 * elf/sprof.c: Likewise.
24687 * iconv/iconv_prog.c: Likewise.
24688 * iconv/iconvconfig.c: Likewise.
24689 * locale/programs/locale.c: Likewise.
24690 * locale/programs/localedef.c: Likewise.
24691 * login/programs/pt_chown.c: Likewise.
24692 * malloc/memusage.sh: Likewise.
24693 * malloc/memusagestat.c: Likewise.
24694 * malloc/mtrace.pl: Likewise.
24695 * nscd/nscd.c: Likewise.
24696 * nss/getent.c: Likewise.
24697 * nss/makedb.c: Likewise.
24698 * posix/getconf.c: Likewise.
24700 2012-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
24702 * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
24705 2012-12-30 Mike Frysinger <vapier@gentoo.org>
24707 * math/bits/mathcalls.h (modf): Use __nonnull.
24709 2012-12-29 Siddhesh Poyarekar <siddhesh@redhat.com>
24711 * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
24712 (split): Use macro CN instead of the bare value.
24713 * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
24715 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
24716 instead of the bare value.
24717 (power1): Likewise.
24719 2012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
24721 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
24723 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
24725 * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
24727 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
24728 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
24729 * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
24730 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
24732 2012-12-28 Andreas Jaeger <aj@suse.de>
24734 * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define. New
24735 values are from Linux 3.7.
24737 * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
24738 (TCPI_OPT_ECN_SEEN): Define. Sync with Linux 3.7.
24740 2012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
24742 * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
24745 * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
24747 * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
24748 variables with preprocessor constants.
24749 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
24750 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
24751 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
24753 2012-12-27 Bruno Haible <bruno@clisp.org>
24756 * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
24759 2012-12-27 Siddhesh Poyarekar <siddhesh@redhat.com>
24761 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
24762 and use variable directly.
24763 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
24765 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
24767 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
24768 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
24770 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
24771 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
24772 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
24773 include directive. Remove local variable MPONE.
24774 * sysdeps/ieee754/dbl-64/mplog.h: Remove.
24775 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
24776 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
24778 2012-12-25 David S. Miller <davem@davemloft.net>
24780 * version.h (RELEASE): Set to "development".
24781 (VERSION): Set to "2.17.90".
24782 * NEWS: Add 2.18 section.
24784 2012-12-21 David S. Miller <davem@davemloft.net>
24786 * po/hr.po: Update from translation team.
24788 2012-12-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
24790 * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
24792 2012-12-19 Steve Ellcey <sellcey@mips.com>
24794 * NEWS: Mention new memcpy for MIPS.
24796 2012-12-18 Marcus Shawcroft <marcus.shawcroft@linaro.org>
24798 * manual/contrib.texi (Contributors): Spelling correction.
24800 2012-12-15 David S. Miller <davem@davemloft.net>
24802 * po/ru.po: Update from translation team.
24804 2012-12-13 David S. Miller <davem@davemloft.net>
24806 * NEWS: Mention IFUNC testsuite enhancements.
24808 * po/pl.po: Update from translation team.
24809 * po/bg.po: Likewise.
24811 * manual/contrib.texi (Contributors): Update entries for Hongjiu
24812 Lu and Joseph S. Myers. Add entry for Marcus Shawcroft.
24814 2012-12-11 David S. Miller <davem@davemloft.net>
24816 * po/sv.po: Update from translation team.
24818 * po/vi.po: Update from translation team.
24820 * po/cs.po: Update from translation team.
24822 * po/de.po: Update from translation team.
24823 * po/eo.po: Likewise.
24824 * po/nl.po: Likewise.
24826 2012-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
24829 * manual/argp.texi (Argp Helper Functions): Move node to follow
24830 Argp Parsing State.
24833 * manual/conf.texi (Limits on File System Capacity): Mention if
24834 terminating null is included in the max size.
24836 2012-12-10 Andreas Jaeger <aj@suse.de>
24838 * po/cs.po: Update from translation team.
24840 2012-12-08 Siddhesh Poyarekar <siddhesh@redhat.com>
24842 * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
24843 void pointer and cast to uintptr_t.
24844 * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
24846 * sysdeps/s390/s390-64/memcpy.S: Likewise.
24847 * sysdeps/s390/s390-64/memset.S: Likewise.
24849 2012-12-08 Benno Schulenberg <bensberg@justemail.net>
24852 * menual/message.texi (Message Translation): Fix typos.
24853 (Helper programs for gettext): Likewise.
24855 2012-12-07 Andreas Schwab <schwab@linux-m68k.org>
24858 * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
24861 2012-12-07 David S. Miller <davem@davemloft.net>
24863 * po/libc.pot: Update.
24865 2012-12-07 Richard Henderson <rth@redhat.com>
24868 * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
24869 normal/normal case to before the switch.
24870 (_FP_DIV): Likewise.
24872 2012-12-06 Carlos O'Donell <carlos@systemhalted.org>
24873 Mike Frysinger <vapier@gentoo.org>
24875 * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
24876 check for __NR_fadvise64_64.
24878 2012-12-06 Chris Metcalf <cmetcalf@tilera.com>
24880 * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
24881 0, not just to plain "0" as a statement.
24882 (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
24885 2012-12-06 Joseph Myers <joseph@codesourcery.com>
24887 * NEWS: Use sourceware.org in Bugzilla URL.
24889 2012-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
24891 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
24892 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
24894 * stdio-common/tst-put-error.c (do_test): Add newline to the
24895 padded test to ensure flush.
24897 2012-12-05 Jeff Law <law@redhat.com>
24899 * sunrpc/etc.rpc (fedfs_admin): Add entry.
24901 2012-12-05 Joseph Myers <joseph@codesourcery.com>
24903 * README: Don't refer to ports add-on as distributed separately.
24904 Mention AArch64 in list of systems supported in the ports add-on.
24906 * LICENSES: Add more non-FSF copyright and license notices.
24908 * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
24911 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
24913 * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
24914 10000 as width of padded output.
24916 2012-12-04 Joseph Myers <joseph@codesourcery.com>
24918 * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
24920 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
24921 variable LX with __attribute__ ((unused)).
24922 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
24924 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
24925 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
24926 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
24927 with __attribute__ ((unused)).
24929 2012-12-04 David S. Miller <davem@abraco.davemloft.net>
24931 * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
24933 2012-12-04 Joseph Myers <joseph@codesourcery.com>
24935 * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
24936 (CFLAGS-nldbl-acos.c): New variable.
24937 [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
24938 [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
24939 [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
24940 [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
24941 [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
24942 [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
24943 [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
24944 [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
24945 [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
24946 [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
24947 [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
24948 [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
24949 [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
24950 [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
24951 [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
24952 [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
24953 [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
24954 [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
24955 [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
24956 [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
24957 [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
24958 [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
24959 [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
24960 [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
24961 [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
24962 [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
24963 [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
24964 [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
24965 [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
24966 [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
24967 [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
24968 [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
24969 [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
24970 [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
24971 [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
24972 [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
24973 [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
24974 [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
24975 [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
24976 [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
24977 [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
24978 [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
24979 [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
24980 [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
24981 [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
24982 [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
24983 [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
24984 [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
24985 [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
24986 [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
24987 [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
24988 [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
24989 [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
24990 [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
24991 [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
24992 [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
24993 [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
24994 [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
24995 [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
24996 [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
24997 [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
24998 [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
24999 [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
25000 [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
25001 [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
25002 [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
25003 [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
25004 [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
25005 [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
25006 [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
25007 [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
25008 [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
25009 [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
25010 [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
25011 [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
25012 [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
25013 [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
25014 [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
25015 [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
25016 [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
25017 [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
25018 [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
25019 [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
25020 [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
25021 [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
25022 [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
25023 [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
25024 [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
25025 [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
25026 [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
25027 [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
25028 [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
25029 [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
25030 [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
25031 [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
25032 [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
25033 [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
25035 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
25036 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
25039 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
25040 whole low double instead of just low 47 bits when splitting values
25043 2012-12-03 Allan McRae <allan@archlinux.org>
25045 * manual/stdio.texi (Predefined Printf Handlers): Remove
25046 @hsep and @vsep usage.
25048 2012-12-03 Mike Frysinger <vapier@gentoo.org>
25050 * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
25051 * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
25053 2012-12-03 Jeff Law <law@redhat.com>
25055 * time/sys/time.h (settimeofday): Do not mark TV argument
25058 2012-12-01 Mike Frysinger <vapier@gentoo.org>
25060 * libio/fileops.c (_IO_new_file_close_it): Do not always flush
25061 when currently writing and seek to current position when not.
25062 * libio/Makefile (tests): Remove bug-fclose1.
25063 * libio/bug-fclose1.c: Delete.
25065 2012-12-01 Joseph Myers <joseph@codesourcery.com>
25067 * manual/arith.texi (feenableexcept): Fix typo.
25068 (fedisableexcept): Likewise.
25070 2012-11-30 Roland McGrath <roland@hack.frob.com>
25072 * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
25073 second, differently-typed declaration, rather than a cast.
25075 2012-11-30 Siddhesh Poyarekar <siddhesh@redhat.com>
25077 * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
25078 * include/rpc/svc.h: ... here.
25080 2012-11-30 Aurelien Jarno <aurel32@debian.org>
25083 * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
25084 depending n and resplen2 to catch cases where answer
25087 2012-11-29 Carlos O'Donell <carlos@systemhalted.org>
25089 * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
25090 for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
25092 2012-11-29 Mike Frysinger <vapier@gentoo.org>
25094 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
25096 2012-11-29 Roland McGrath <roland@hack.frob.com>
25098 * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
25100 2012-11-28 Jeff Law <law@redhat.com>
25103 * nscd/grpcache.c (cache_addgr): Rename alloca_used to
25104 dataset_temporary. Track alloca usage into alloca_used.
25105 If dataset is large allocate and release it via malloc/free.
25107 2012-06-04 Florian Weimer <fweimer@redhat.com>
25110 * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
25112 2012-11-28 David S. Miller <davem@davemloft.net>
25114 * sysdeps/sparc/fpu/libm-test-ulps: Update.
25116 2012-11-28 Joseph Myers <joseph@codesourcery.com>
25119 * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
25120 of pi/2 rounded to nearest to 64 bits.
25121 (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
25122 nearest to 64 bits.
25123 (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
25126 2012-11-28 Jeff Law <law@redhat.com>
25127 Martin Osvald <mosvald@redhat.com>
25130 * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
25131 * sunrpc/svc.c: Include time.h.
25132 (__svc_accept_failed): New function.
25133 * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
25134 any reason other than EINTR, call __svc_accept_failed.
25135 * sunrpc/svc_udp.c (svcudp_recv): Similarly.
25136 * sunrpc/svc_unix.c (rendezvous_request): Similarly.
25138 2012-11-28 Andreas Schwab <schwab@suse.de>
25140 * scripts/abilist.awk: Also handle indirect functions in .opd
25143 2012-11-28 Joseph Myers <joseph@codesourcery.com>
25146 * sysdeps/x86/fpu/powl_helper.c: New file.
25147 * sysdeps/x86/fpu/Makefile: Likewise.
25148 * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
25150 (__ieee754_powl): Use __powl_helper for finite arguments except
25151 integer exponents below 8.
25152 * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
25154 (__ieee754_powl): Use __powl_helper for finite arguments except
25155 integer exponents below 8.
25156 * math/libm-test.inc (pow_test): Add more tests and enable some
25157 previously disabled tests.
25158 * sysdeps/i386/fpu/libm-test-ulps: Update.
25159 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25161 2012-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
25162 Carlos O'Donell <carlos_odonell@mentor.com>
25164 * nss/makedb.c (is_prime): Assert that input is odd and greater
25165 than 4. Note that fact in a comment too.
25166 (next_prime): Add 4 to input.
25168 2012-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
25171 * libio/Makefile (tests): Add test case tst-fwrite-error.
25172 * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
25173 * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
25174 * libio/tst-fwrite-error.c: New test case.
25176 2012-11-26 H.J. Lu <hongjiu.lu@intel.com>
25178 * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
25179 before casting to void *.
25180 * include/libc-internal.h (__pointer_type): New macro.
25181 (__integer_if_pointer_type_sub): Likewise.
25182 (__integer_if_pointer_type): Likewise.
25183 (cast_to_integer): Likewise.
25184 * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
25185 (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
25186 before casting to atomic64_t.
25187 (atomic_exchange_acq): Likewise.
25188 (__arch_exchange_and_add_body): Likewise.
25189 (__arch_add_body): Likewise.
25190 (atomic_add_negative): Likewise.
25191 (atomic_add_zero): Likewise.
25193 2012-11-26 Joseph Myers <joseph@codesourcery.com>
25195 * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
25196 (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
25197 (add_fdes): Likewise.
25198 (linear_search_fdes): Likewise.
25199 (binary_search_unencoded_fdes): Likewise.
25201 2012-11-26 Andreas Schwab <schwab@linux-m68k.org>
25203 * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
25205 2012-11-24 Adam Conrad <adconrad@0c3.net>
25207 * configure.in: Autodetect C++ header directories.
25208 * configure: Regenerated.
25210 2012-11-23 Mike Frysinger <vapier@gentoo.org>
25212 * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
25214 2012-11-23 Andreas Schwab <schwab@linux-m68k.org>
25216 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
25218 2012-11-22 Joseph Myers <joseph@codesourcery.com>
25220 * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
25221 LDBL_MANT_DIG == 106]: Disable some tests.
25222 (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
25224 (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
25228 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
25229 input for small inputs. Return +/- pi/2 for large inputs.
25230 * math/libm-test.inc (atan_test): Add more tests.
25232 * sysdeps/generic/unwind-dw2-fde-glibc.c
25233 (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
25234 __attribute__ ((unused)).
25237 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
25238 x * y if x and y are nonzero and z is zero.
25241 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
25242 nonzero exponents with absolute value below 0x1p-117 to +/-
25246 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
25247 up arguments below 2**-450, not just those below 2**-500.
25248 * math/libm-test.inc (hypot_test): Add another test.
25251 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
25252 Return a+b for ratio over 2**120, not 2**60.
25253 * math/libm-test.inc (hypot_test): Add another test.
25255 * math/libm-test.inc (clog_test): Use
25256 UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
25257 (clog10_test): Likewise.
25260 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
25262 2012-11-22 Andreas Schwab <schwab@suse.de>
25264 * sysdeps/i386/fpu/libm-test-ulps: Update.
25266 2012-11-22 Pino Toscano <toscano.pino@tiscali.it>
25268 * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
25269 printf output with newline.
25271 2012-11-21 H.J. Lu <hongjiu.lu@intel.com>
25274 * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
25275 * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
25276 -z nodlopen, -z initfirst and -z execstack support.
25277 * configure: Regenerated.
25279 * elf/elf.h (DF_1_NODIRECT): New macro.
25280 (DF_1_IGNMULDEF): Likewise.
25281 (DF_1_NOKSYMS): Likewise.
25282 (DF_1_NOHDR): Likewise.
25283 (DF_1_EDITED): Likewise.
25284 (DF_1_NORELOC): Likewise.
25285 (DF_1_SYMINTPOSE): Likewise.
25286 (DF_1_GLOBAUDIT): Likewise.
25287 (DF_1_SINGLETON): Likewise.
25288 * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
25289 DT_1_SUPPORTED_MASK bits.
25290 * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
25292 2012-11-20 Carlos O'Donell <carlos_odonell@mentor.com>
25294 * sysdeps/unix/make-syscalls.sh: Document prefixes.
25296 2012-11-20 Thomas Schwinge <thomas@codesourcery.com>
25298 * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
25301 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
25302 (sendmmsg): Move declarations...
25303 * socket/sys/socket.h: ... here.
25304 * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
25305 !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
25307 * socket/recvmmsg.c: ... this new file.
25308 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
25309 (sendmmsg): Rename to __sendmmsg, create weak alias and make
25310 definition of __sendmmsg hidden.
25311 * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
25312 [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
25313 Move ENOSYS stub into and include it from...
25314 * socket/sendmmsg.c: ... this new file.
25315 * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
25316 (sysdep_routines): Move recvmmsg and sendmmsg...
25317 * socket/Makefile (routines): ... here.
25318 * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
25319 (GLIBC_PRIVATE): Add __sendmmsg.
25320 * include/sys/socket.h (__sendmmsg): Add declarations.
25321 * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
25324 2012-11-20 Joseph Myers <joseph@codesourcery.com>
25326 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
25327 variable I1 with __attribute__ ((unused)).
25328 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
25330 2012-11-19 Joseph Myers <joseph@codesourcery.com>
25332 * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
25333 DUMMY variables with __attribute__ ((unused)).
25335 * bits/byteswap.h: Include <bits/types.h>.
25336 (__bswap_64): Use __uint64_t instead of unsigned long long int.
25338 2012-11-19 Pino Toscano <toscano.pino@tiscali.it>
25340 * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
25341 string_t. Do not manually set errno.
25342 (__ptsname_r): Change the type of PEERNAME to string_t, and check its
25343 length with __strnlen. Make sure to both set errno and return it on
25346 2012-11-19 David S. Miller <davem@davemloft.net>
25348 With help from Joseph Myers.
25349 * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
25350 very large arguments properly.
25351 * math/libm-test.inc (atan_test): New tests.
25352 (atan2_test): New tests.
25353 * sysdeps/sparc/fpu/libm-test-ulps: Update.
25354 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
25356 2012-11-19 Joseph Myers <joseph@codesourcery.com>
25359 * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
25362 * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
25363 [POSIX] (EADDRNOTAVAIL): Likewise.
25364 [POSIX] (EAFNOSUPPORT): Likewise.
25365 [POSIX] (EALREADY): Likewise.
25366 [POSIX] (ECONNABORTED): Likewise.
25367 [POSIX] (ECONNREFUSED): Likewise.
25368 [POSIX] (ECONNRESET): Likewise.
25369 [POSIX] (EDESTADDRREQ): Likewise.
25370 [POSIX] (EDQUOT): Likewise.
25371 [POSIX] (EHOSTUNREACH): Likewise.
25372 [POSIX] (EIDRM): Likewise.
25373 [POSIX] (EISCONN): Likewise.
25374 [POSIX] (ELOOP): Likewise.
25375 [POSIX] (EMULTIHOP): Likewise.
25376 [POSIX] (ENETDOWN): Likewise.
25377 [POSIX] (ENETUNREACH): Likewise.
25378 [POSIX] (ENOBUFS): Likewise.
25379 [POSIX] (ENODATA): Likewise.
25380 [POSIX] (ENOLINK): Likewise.
25381 [POSIX] (ENOMSG): Likewise.
25382 [POSIX] (ENOPROTOOPT): Likewise.
25383 [POSIX] (ENOSR): Likewise.
25384 [POSIX] (ENOSTR): Likewise.
25385 [POSIX] (ENOTCONN): Likewise.
25386 [POSIX] (ENOTSOCK): Likewise.
25387 [POSIX] (EOPNOTSUPP): Likewise.
25388 [POSIX] (EOVERFLOW): Likewise.
25389 [POSIX] (EPROTO): Likewise.
25390 [POSIX] (EPROTONOSUPPORT): Likewise.
25391 [POSIX] (EPROTOTYPE): Likewise.
25392 [POSIX] (ESTALE): Likewise.
25393 [POSIX] (ETIME): Likewise.
25394 [POSIX] (ETXTBSY): Likewise.
25395 [POSIX] (EWOULDBLOCK): Likewise.
25396 [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
25397 * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
25398 [POSIX] (SEEK_CUR): Likewise.
25399 [POSIX] (SEEK_END): Likewise.
25400 [POSIX || UNIX98] (mode_t): Do not require.
25401 [POSIX] (off_t): Likewise.
25402 [POSIX] (pid_t): Likewise.
25403 [POSIX] (sys/stat.h): Do not allow header.
25404 [POSIX] (unistd.h): Likewise.
25405 [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
25406 [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
25407 [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
25408 * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
25410 * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
25411 sigevent): Specify elements.
25412 [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
25414 [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
25415 [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
25417 * conform/data/cpio.h-data [POSIX]: Disable whole file.
25418 * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
25419 * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
25420 (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
25421 [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
25422 [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
25423 [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
25424 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
25425 [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
25426 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
25427 [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
25428 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
25429 [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
25430 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
25432 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
25434 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
25436 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
25438 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
25439 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
25440 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
25441 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
25442 [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
25443 Specify lower bound on value.
25444 [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
25445 [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
25446 [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
25447 [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
25448 [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
25449 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
25450 [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
25451 [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
25453 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
25455 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
25456 [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
25457 [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
25458 [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
25459 [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
25460 [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
25461 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
25462 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
25463 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
25464 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
25465 [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
25466 [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
25467 [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
25468 [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
25469 [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
25470 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
25472 [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
25474 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
25475 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
25476 [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
25477 [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
25478 [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
25479 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
25481 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
25482 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
25483 [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
25484 [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
25485 [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise. Give
25486 value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
25487 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
25489 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
25490 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
25491 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
25492 [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
25493 Likewise. Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
25494 [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
25495 specify as optional.
25496 [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
25497 [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
25498 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
25499 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
25500 [POSIX || XPG3] (NL_ARGMAX): Do not allow.
25501 [XPG3] (NL_LANGMAX): Likewise.
25502 [POSIX || XPG3] (NL_MSGMAX): Likewise.
25503 [POSIX || XPG3] (NL_NMAX): Likewise.
25504 [POSIX || XPG3] (NL_SETMAX): Likewise.
25505 [POSIX || XPG3] (NL_TEXTMAX): Likewise.
25506 [XPG3] (NZERO): Likewise.
25507 [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
25508 [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
25509 [!ISO && !ISO99 && !ISO11] (*_t): Allow.
25510 * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
25511 (REG_ERANGE): Expect.
25512 * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
25514 [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
25515 Use (void) in prototype.
25516 [POSIX] (*_t): Allow.
25517 * conform/data/sys/times.h-data [POSIX]: Enable whole file.
25518 * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
25519 (WRDE_BADVAL): Expect.
25521 * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
25523 [XPG3 || XPG4] (O_RSYNC): Likewise.
25524 * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
25526 [XPG3 || XPG4] (pthread_sigmask): Likewise.
25527 [XPG3 || XPG4] (sigqueue): Likewise.
25528 [XPG3 || XPG4] (sigtimedwait): Likewise.
25529 [XPG3 || XPG4] (sigwaitinfo): Likewise.
25530 * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
25531 [XPG3 || XPG4] (vsnprintf): Likewise.
25532 * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
25534 [XPG3 || XPG4] (blksize_t): Likewise.
25535 * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
25537 [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
25538 [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
25539 [XPG3 || XPG4] (struct itimerspec): Likewise.
25540 [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
25541 [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
25542 [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
25543 [XPG3 || XPG4] (clockid_t): Likewise.
25544 [XPG3 || XPG4] (timer_t): Likewise.
25545 [XPG3 || XPG4] (clock_getres): Likewise.
25546 [XPG3 || XPG4] (clock_gettime): Likewise.
25547 [XPG3 || XPG4] (clock_settime): Likewise.
25548 [XPG3 || XPG4] (nanosleep): Likewise.
25549 [XPG3 || XPG4] (timer_create): Likewise.
25550 [XPG3 || XPG4] (timer_delete): Likewise.
25551 [XPG3 || XPG4] (timer_gettime): Likewise.
25552 [XPG3 || XPG4] (timer_getoverrun): Likewise.
25553 [XPG3 || XPG4] (timer_settime): Likewise.
25554 * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
25555 [XPG3 || XPG4] (getlogin_r): Likewise.
25556 [XPG3 || XPG4] (pread): Likewise.
25557 [XPG3 || XPG4] (pthread_atfork): Likewise.
25558 [XPG3 || XPG4] (pwrite): Likewise.
25561 * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
25564 2012-11-19 Pino Toscano <toscano.pino@tiscali.it>
25566 * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
25567 finalizing MALLSTREAM.
25569 * sysdeps/mach/hurd/syncfs.c: New file.
25571 2012-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
25574 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
25575 NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
25576 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
25577 h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
25578 (_nss_dns_gethostbyname4_r): Likewise.
25579 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
25580 EAI_SYSTEM if NSS_STATUS_UNAVAIL.
25582 2012-11-19 Peng Haitao <penght@cn.fujitsu.com>
25585 * sunrpc/bindrsvprt.c: Add lock to protect static variable.
25587 2012-11-19 Steve McIntyre <steve.mcintyre@linaro.org>
25589 * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
25590 * elf/cache.c (print_entry): Print ",AArch64" for
25593 * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
25594 * elf/cache.c (print_entry): Print ",hard-float" for
25597 2012-11-18 David S. Miller <davem@davemloft.net>
25599 With help from Joseph Myers.
25600 * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
25602 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
25604 * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
25605 ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
25607 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
25608 * math/libm-test.inc (y0_test): New tests.
25609 (y1_test): New tests.
25610 * sysdeps/i386/fpu/libm-test-ulps: Update.
25611 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
25612 * sysdeps/sparc/fpu/libm-test-ulps: Update.
25614 2012-11-18 Andreas Schwab <schwab@linux-m68k.org>
25616 * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
25618 * configure: Regenerated.
25620 2012-11-17 David S. Miller <davem@davemloft.net>
25623 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
25624 nonzero exponents with absolute value below 0x1p-128 to +/-
25627 2012-11-17 Joseph Myers <joseph@codesourcery.com>
25629 * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
25631 * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
25633 * posix/getconf-speclist.c: New file.
25634 * posix/posix-envs.def: Likewise.
25635 * posix/confstr.c (START_ENV_GROUP): New macro.
25636 (END_ENV_GROUP): Likewise.
25637 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
25638 (KNOWN_PRESENT_ENV_STRING): Likewise.
25639 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
25640 (UNKNOWN_ENVIRONMENT): Likewise.
25641 (confstr): Include posix-envs.def instead of handling
25642 _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
25643 _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
25644 * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
25645 (END_ENV_GROUP): Likewise.
25646 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
25647 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
25648 (UNKNOWN_ENVIRONMENT): Likewise.
25649 (__sysconf): Include posix-envs.def instead of handling associated
25650 cases directly here.
25651 * posix/Makefile ($(objpfx)getconf.speclist): Generate by
25652 preprocessing getconf-speclist.c rather than running getconf or
25653 generating empty file.
25655 2012-11-16 Pino Toscano <toscano.pino@tiscali.it>
25657 * scripts/check-local-headers.sh: Ignore 'mach' headers.
25659 2012-11-16 Andrej Lajovic <natrij@gmail.com>
25662 * iconv/iconv_prog.c (main): Fix -c handling of '/'.
25664 2012-11-16 David S. Miller <davem@davemloft.net>
25666 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
25667 smaller than LDBL_EPSILON/2.0L, just return xm1.
25669 2012-11-16 H.J. Lu <hongjiu.lu@intel.com>
25671 * elf/tst-array1.c (init): Set constructor priority to 1000.
25672 (fini): Set destructor priority to 1000.
25673 * elf/tst-array2dep.c: Likewise.
25675 2012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
25678 * libio/fileops.c (_IO_new_file_write): Correctly return error.
25679 (_IO_new_file_xsputn): Also return EOF if none of the input
25680 data was written when overflow failed.
25681 * libio/iopadn.c (_IO_padn): Likewise.
25682 * libio/iowpadn.c (_IO_wpadn): Likewise.
25683 * stdio-common/tst-put-error.c: Add copyright notice.
25684 (do_test): Add case for printing padded string.
25685 * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
25686 _IO_padn returned error.
25687 [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
25688 * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
25691 2012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
25693 * libio/libioP.h: Add comment note that the references to C++
25694 bits are now obsolete.
25696 2012-11-15 Marcus Shawcroft <marcus.shawcroft@linaro.org>
25698 * math/libm-test.inc (check_complex): Use asprintf.
25700 2012-11-14 Joseph Myers <joseph@codesourcery.com>
25702 * debug/pcprofiledump.c (print_version): Update copyright year.
25703 * malloc/memusagestat.c (print_version): Likewise.
25705 2012-11-14 H.J. Lu <hongjiu.lu@intel.com>
25708 * elf/Makefile (tests): Add tst-audit8.
25709 ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
25710 ($(objpfx)tst-audit8.out): New target.
25711 (tst-audit8-ENV): New variable.
25712 * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
25713 audit if l_reloc_result is NULL.
25714 (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
25715 defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
25716 * elf/tst-audit8.c: New file.
25718 2012-11-14 Marcus Shawcroft <marcus.shawcroft@linaro.org>
25720 * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
25721 * misc/Makefile (CFLAGS-select.c): Define.
25722 * posix/Makefile (CFLAGS-pause.c): Define.
25724 2012-11-13 David S. Miller <davem@davemloft.net>
25726 * crypt/Makefile: Move test targets after toplevel Rules
25727 inclusion. Grab any necessary sysdep routines when linking.
25728 * crypt/md5.c (md5_process_block): Remove define, we will always
25729 name it __md5_process_block.
25730 (md5_finish_ctx): Update md5_process_block call.
25731 (md5_stream): Likewise.
25732 (md5_process_bytes): Likewise.
25733 (md5_process_block): Rename to __md5_process_block and move to ...
25734 * crypt/md5-block.c: ... here.
25735 * crypt/sha256.c (sha256_process_block): Move to ...
25736 * crypt/sha256-block.c: ... here.
25737 * crypt/sha512.c (sha512_process_block): Move to ...
25738 * crypt/sha512-block.c: ... here.
25739 * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
25741 * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
25742 * sysdeps/sparc/sparc64/multiarch/Makefile
25743 (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
25745 (localedef-aux): Add md5 crypto assembler when in locale subdir.
25746 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
25748 * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
25749 * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
25750 * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
25751 * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
25752 * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
25753 * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
25754 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
25755 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
25756 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
25758 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
25759 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
25761 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
25763 2012-11-13 Joseph Myers <joseph@codesourcery.com>
25765 * timezone/tzselect.ksh: Update from tzcode git revision
25766 a435f9f0ecafa56d9e0263835836bd0c64cd7307.
25767 * timezone/zdump.c: Likewise.
25768 * timezone/zic.c: Likewise.
25769 * timezone/Makefile ($(objpfx)version.h): Only include $(version)
25770 in TZVERSION setting, not $(PKGVERSION).
25771 ($(objpfx)tzselect): Likewise. Also substitute PKGVERSION and
25772 REPORT_BUGS_TO settings.
25775 * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
25778 2012-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
25780 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
25781 detection to immediately after _FP_ROUND().
25782 * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
25785 2012-11-11 David S. Miller <davem@davemloft.net>
25787 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
25789 (__get_clockfreq_via_proc_openprom): Use __open, __read, and
25790 __close rather than their public counterparts.
25792 2012-11-10 Joseph Myers <joseph@codesourcery.com>
25794 * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
25796 [UNIX98] (sem_timedwait): Do not expect.
25797 * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
25798 [XPG4 || UNIX98] (sockatmark): Do not expect.
25799 * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
25800 (clock_getcpuclockid): Do not expect.
25801 [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
25802 * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
25804 [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
25805 * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
25806 [UNIX98] (vwscanf): Likewise.
25807 [UNIX98] (vswscanf): Likewise.
25809 2012-11-09 Joseph Myers <joseph@codesourcery.com>
25811 * timezone/version.h: Remove file.
25812 * timezone/README: Do not refer to version.h.
25813 * timezone/Makefile ($(objpfx)zic.o): New dependency on
25814 $(objpfx)version.h.
25815 ($(objpfx)zdump.o): Likewise.
25816 ($(objpfx)version.h): New target.
25818 * timezone/tzselect.ksh: Change to verbatim copy from tzcode
25820 * timezone/README: Don't mention modification to tzselect.ksh.
25821 * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
25822 work on unmodified tzselect.ksh. Substitute version numbers in
25825 * Makefile (format-me): Remove.
25826 (INSTALL): Adjust indentation. Use commands directly instead of
25827 using $(format-me).
25829 * aclocal.m4 (ACX_PKGVERSION): New macro.
25830 (ACX_BUGURL): Likewise.
25831 * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
25832 (PKGVERSION): New AC_DEFINE_UNQUOTED.
25833 (REPORT_BUGS_TO): Likewise.
25834 * configure: Regenerated.
25835 * config.h.in (PKGVERSION): New macro.
25836 (REPORT_BUGS_TO): Likewise.
25837 * config.make.in (PKGVERSION): New variable.
25838 (PKGVERSION_TEXI): Likewise.
25839 (REPORT_BUGS_TO): Likewise.
25840 (REPORT_BUGS_TEXI): Likewise.
25841 * Makefile (format-me): Use -I$(common-objpfx)manual.
25842 (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
25843 ($(common-objpfx)manual/%): New target.
25844 (manual/%): Remove target.
25845 * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
25846 (print_version): Use PKGVERSION.
25847 * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
25848 * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
25849 and REPORT_BUGS_TO.
25850 ($(objpfx)xtrace): Likewise.
25851 * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
25852 * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
25853 (print_version): Use PKGVERSION.
25854 * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
25855 (do_version): Use PKGVERSION.
25856 * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
25858 (common-ldd-rewrite): Likewise.
25859 * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
25860 * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
25861 (print_version): Use PKGVERSION.
25862 * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
25863 * elf/pldd.c (argp_program_bug_address): Remove variable.
25864 (more_help): New function.
25865 (argp): Use more_help.
25866 (print_version): Use PKGVERSION.
25867 * elf/sln.c (main): Use PKGVERSION.
25868 (usage): Use REPORT_BUGS_TO.
25869 * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
25870 (top level): Use PKGVERSION.
25871 * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
25872 (print_version): Use PKGVERSION.
25873 * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
25874 (print_version): Use PKGVERSION.
25875 * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
25876 (print_version): Use PKGVERSION.
25877 * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
25878 (print_version): Use PKGVERSION.
25879 * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
25880 (print_version): Use PKGVERSION.
25881 * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
25882 (print_version): Use PKGVERSION.
25883 * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
25885 ($(objpfx)memusage): Likewise.
25886 * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
25887 (do_version): Use PKGVERSION.
25888 * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
25889 (print_version): Use PKGVERSION.
25890 * malloc/mtrace.pl ($PACKAGE): Remove variable.
25891 ($PKGVERSION): New variable.
25892 ($REPORT_BUGS_TO): Likewise.
25893 (usage): Use $REPORT_BUGS_TO.
25894 (top level): Use $PKGVERSION.
25895 * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
25896 ($(objpfx)pkgvers.texi): New rule.
25897 ($(objpfx)stamp-pkgvers): Likewise.
25898 * manual/install.texi: Include pkgvers.texi.
25899 (--with-pkgversion): Document new configure option.
25900 (--with-bugurl): Likewise.
25901 (Reporting Bugs): Describe Bugzilla as upstream tracker rather
25902 than necessarily for this particular distribution. Use
25903 REPORT_BUGS_TO for where to report bugs.
25904 * INSTALL: Regenerated.
25905 * manual/libc.texinfo: Include pkgvers.texi.
25906 [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
25907 * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
25908 (print_version): Use PKGVERSION.
25909 * nss/getent.c (more_help): Use REPORT_BUGS_TO.
25910 (print_version): Use PKGVERSION.
25911 * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
25912 (print_version): Use PKGVERSION.
25913 * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
25914 * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
25916 * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
25917 (print_version): Use PKGVERSION.
25918 * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
25919 (print_version): Use PKGVERSION.
25920 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
25923 * timezone/checktab.awk: Update from tzcode 2012i.
25924 * timezone/ialloc.c: Likewise.
25925 * timezone/private.h: Likewise.
25926 * timezone/scheck.c: Likewise.
25927 * timezone/tzfile.h: Likewise.
25928 * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
25929 (TZVERSION): Hardcode tzcode version number.
25930 * timezone/zdump.c: Update from tzcode 2012i.
25931 * timezone/zic.c: Likewise.
25932 * timezone/version.h: New file.
25933 * timezone/README: Describe version.h. Update upstream location.
25936 * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
25937 (mktemp): Enable declaration.
25938 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
25939 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
25940 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
25941 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
25943 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
25945 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
25947 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
25949 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
25951 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
25955 * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
25956 offset in buffer as u_int32_t not u_long. Consistently use memcpy
25957 for copies of such integer values.
25958 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
25959 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
25961 2012-11-09 Andreas Jaeger <aj@suse.de>
25963 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
25964 definitions and declarations that are provided by
25965 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
25967 2012-11-08 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
25969 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
25970 * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
25971 * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
25974 2012-11-08 Marcus Shawcroft <marcus.shawcroft@linaro.org>
25976 * elf/elf.h: Update comment before AArch64 relocations.
25978 2012-11-07 David S. Miller <davem@davemloft.net>
25980 * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
25981 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
25982 (__start_context): Declare.
25983 (__makecontext_ret): Delete.
25984 (__makecontext): Hook up __start_context instead of
25986 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
25987 (sysdep_routines): Add __start_context when in stdlib.
25989 2012-11-07 Joseph Myers <joseph@codesourcery.com>
25991 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
25992 $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
25993 * sysdeps/x86/tst-xmmymm.sh (NM): New variable. Use it instead of
25995 (OBJDUMP): New variable. Use it instead of hardcoded "objdump".
25996 (READELF): New variable. Use it instead of hardcoded "readelf".
25998 2012-11-07 H.J. Lu <hongjiu.lu@intel.com>
26000 * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
26001 * sysdeps/x86/Makefile: Here.
26002 * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
26003 * sysdeps/x86/tst-xmmymm.sh: This.
26005 2012-11-07 Joseph Myers <joseph@codesourcery.com>
26007 * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
26009 [UNIX98] (pthread_barrier_t): Do not expect.
26010 [UNIX98] (pthread_barrierattr_t): Likewise.
26011 [UNIX98] (pthread_spinlock_t): Likewise.
26012 [UNIX98] (pthread_barrier_destroy): Likewise.
26013 [UNIX98] (pthread_barrier_init): Likewise.
26014 [UNIX98] (pthread_barrier_wait): Likewise.
26015 [UNIX98] (pthread_barrierattr_destroy): Likewise.
26016 [UNIX98] (pthread_barrierattr_getpshared): Likewise.
26017 [UNIX98] (pthread_barrierattr_init): Likewise.
26018 [UNIX98] (pthread_barrierattr_setpshared): Likewise.
26019 [UNIX98] (pthread_getcpuclockid): Likewise.
26020 [UNIX98] (pthread_mutex_timedlock): Likewise.
26021 [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
26022 [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
26023 [UNIX98] (pthread_sigmask): Likewise.
26024 [UNIX98] (pthread_spin_destroy): Likewise.
26025 [UNIX98] (pthread_spin_init): Likewise.
26026 [UNIX98] (pthread_spin_lock): Likewise.
26027 [UNIX98] (pthread_spin_trylock): Likewise.
26028 [UNIX98] (pthread_spin_unlock): Likewise.
26029 * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
26031 [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
26032 [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
26033 [XPG3 || XPG4] (pthread_cond_t): Likewise.
26034 [XPG3 || XPG4] (pthread_condattr_t): Likewise.
26035 [XPG3 || XPG4] (pthread_key_t): Likewise.
26036 [XPG3 || XPG4] (pthread_mutex_t): Likewise.
26037 [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
26038 [XPG3 || XPG4] (pthread_once_t): Likewise.
26039 [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
26040 [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
26041 [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
26042 [XPG3 || XPG4] (pthread_t): Likewise.
26044 * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
26046 [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
26048 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
26049 Change function return type to int.
26051 * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
26052 Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
26053 [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
26054 [!POSIX] (POSIX_MADV_RANDOM): Likewise.
26055 [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
26056 [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
26057 [!POSIX] (posix_madvise): Likewise.
26058 (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
26060 (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
26061 (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
26062 (mode_t): Likewise.
26063 (posix_mem_offset): Likewise.
26064 (posix_typed_mem_get_info): Likewise.
26065 (posix_typed_mem_open): Likewise.
26067 * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
26068 Change condition to [XOPEN2K8].
26070 * conform/conformtest.pl: Preprocess allow-header data with -x c
26071 instead of from stdin.
26072 (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
26073 * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
26074 [C99-based standards] (cerfc): Likewise.
26075 [C99-based standards] (cexp2): Likewise.
26076 [C99-based standards] (cexpm1): Likewise.
26077 [C99-based standards] (clog10): Likewise.
26078 [C99-based standards] (clog1p): Likewise.
26079 [C99-based standards] (clog2): Likewise.
26080 [C99-based standards] (clgamma): Likewise.
26081 [C99-based standards] (ctgamma): Likewise.
26082 [C99-based standards] (cerff): Likewise.
26083 [C99-based standards] (cerfcf): Likewise.
26084 [C99-based standards] (cexp2f): Likewise.
26085 [C99-based standards] (cexpm1f): Likewise.
26086 [C99-based standards] (clog10f): Likewise.
26087 [C99-based standards] (clog1pf): Likewise.
26088 [C99-based standards] (clog2f): Likewise.
26089 [C99-based standards] (clgammaf): Likewise.
26090 [C99-based standards] (ctgammaf): Likewise.
26091 [C99-based standards] (cerfl): Likewise.
26092 [C99-based standards] (cerfcl): Likewise.
26093 [C99-based standards] (cexp2l): Likewise.
26094 [C99-based standards] (cexpm1l): Likewise.
26095 [C99-based standards] (clog10l): Likewise.
26096 [C99-based standards] (clog1pl): Likewise.
26097 [C99-based standards] (clog2l): Likewise.
26098 [C99-based standards] (clgammal): Likewise.
26099 [C99-based standards] (ctgammal): Likewise.
26100 * conform/data/inttypes.h-data [C99-based standards]: Include
26101 stdint.h-data. Remove all expectations for stdint.h contents.
26102 [C99-based standards] (PRI*): Do not allow.
26103 [C99-based standards] (SCN*): Likewise.
26104 [C99-based standards] (*_t): Likewise.
26105 [C99-based-standards] (PRId8): Expect macro.
26106 [C99-based-standards] (PRIi8): Likewise.
26107 [C99-based-standards] (PRIo8): Likewise.
26108 [C99-based-standards] (PRIu8): Likewise.
26109 [C99-based-standards] (PRIx8): Likewise.
26110 [C99-based-standards] (PRIX8): Likewise.
26111 [C99-based-standards] (SCNd8): Likewise.
26112 [C99-based-standards] (SCNi8): Likewise.
26113 [C99-based-standards] (SCNo8): Likewise.
26114 [C99-based-standards] (SCNu8): Likewise.
26115 [C99-based-standards] (SCNx8): Likewise.
26116 [C99-based-standards] (PRIdLEAST8): Likewise.
26117 [C99-based-standards] (PRIiLEAST8): Likewise.
26118 [C99-based-standards] (PRIoLEAST8): Likewise.
26119 [C99-based-standards] (PRIuLEAST8): Likewise.
26120 [C99-based-standards] (PRIxLEAST8): Likewise.
26121 [C99-based-standards] (PRIXLEAST8): Likewise.
26122 [C99-based-standards] (SCNdLEAST8): Likewise.
26123 [C99-based-standards] (SCNiLEAST8): Likewise.
26124 [C99-based-standards] (SCNoLEAST8): Likewise.
26125 [C99-based-standards] (SCNuLEAST8): Likewise.
26126 [C99-based-standards] (SCNxLEAST8): Likewise.
26127 [C99-based-standards] (PRIdFAST8): Likewise.
26128 [C99-based-standards] (PRIiFAST8): Likewise.
26129 [C99-based-standards] (PRIoFAST8): Likewise.
26130 [C99-based-standards] (PRIuFAST8): Likewise.
26131 [C99-based-standards] (PRIxFAST8): Likewise.
26132 [C99-based-standards] (PRIXFAST8): Likewise.
26133 [C99-based-standards] (SCNdFAST8): Likewise.
26134 [C99-based-standards] (SCNiFAST8): Likewise.
26135 [C99-based-standards] (SCNoFAST8): Likewise.
26136 [C99-based-standards] (SCNuFAST8): Likewise.
26137 [C99-based-standards] (SCNxFAST8): Likewise.
26138 [C99-based-standards] (PRId16): Likewise.
26139 [C99-based-standards] (PRIi16): Likewise.
26140 [C99-based-standards] (PRIo16): Likewise.
26141 [C99-based-standards] (PRIu16): Likewise.
26142 [C99-based-standards] (PRIx16): Likewise.
26143 [C99-based-standards] (PRIX16): Likewise.
26144 [C99-based-standards] (SCNd16): Likewise.
26145 [C99-based-standards] (SCNi16): Likewise.
26146 [C99-based-standards] (SCNo16): Likewise.
26147 [C99-based-standards] (SCNu16): Likewise.
26148 [C99-based-standards] (SCNx16): Likewise.
26149 [C99-based-standards] (PRIdLEAST16): Likewise.
26150 [C99-based-standards] (PRIiLEAST16): Likewise.
26151 [C99-based-standards] (PRIoLEAST16): Likewise.
26152 [C99-based-standards] (PRIuLEAST16): Likewise.
26153 [C99-based-standards] (PRIxLEAST16): Likewise.
26154 [C99-based-standards] (PRIXLEAST16): Likewise.
26155 [C99-based-standards] (SCNdLEAST16): Likewise.
26156 [C99-based-standards] (SCNiLEAST16): Likewise.
26157 [C99-based-standards] (SCNoLEAST16): Likewise.
26158 [C99-based-standards] (SCNuLEAST16): Likewise.
26159 [C99-based-standards] (SCNxLEAST16): Likewise.
26160 [C99-based-standards] (PRIdFAST16): Likewise.
26161 [C99-based-standards] (PRIiFAST16): Likewise.
26162 [C99-based-standards] (PRIoFAST16): Likewise.
26163 [C99-based-standards] (PRIuFAST16): Likewise.
26164 [C99-based-standards] (PRIxFAST16): Likewise.
26165 [C99-based-standards] (PRIXFAST16): Likewise.
26166 [C99-based-standards] (SCNdFAST16): Likewise.
26167 [C99-based-standards] (SCNiFAST16): Likewise.
26168 [C99-based-standards] (SCNoFAST16): Likewise.
26169 [C99-based-standards] (SCNuFAST16): Likewise.
26170 [C99-based-standards] (SCNxFAST16): Likewise.
26171 [C99-based-standards] (PRId32): Likewise.
26172 [C99-based-standards] (PRIi32): Likewise.
26173 [C99-based-standards] (PRIo32): Likewise.
26174 [C99-based-standards] (PRIu32): Likewise.
26175 [C99-based-standards] (PRIx32): Likewise.
26176 [C99-based-standards] (PRIX32): Likewise.
26177 [C99-based-standards] (SCNd32): Likewise.
26178 [C99-based-standards] (SCNi32): Likewise.
26179 [C99-based-standards] (SCNo32): Likewise.
26180 [C99-based-standards] (SCNu32): Likewise.
26181 [C99-based-standards] (SCNx32): Likewise.
26182 [C99-based-standards] (PRIdLEAST32): Likewise.
26183 [C99-based-standards] (PRIiLEAST32): Likewise.
26184 [C99-based-standards] (PRIoLEAST32): Likewise.
26185 [C99-based-standards] (PRIuLEAST32): Likewise.
26186 [C99-based-standards] (PRIxLEAST32): Likewise.
26187 [C99-based-standards] (PRIXLEAST32): Likewise.
26188 [C99-based-standards] (SCNdLEAST32): Likewise.
26189 [C99-based-standards] (SCNiLEAST32): Likewise.
26190 [C99-based-standards] (SCNoLEAST32): Likewise.
26191 [C99-based-standards] (SCNuLEAST32): Likewise.
26192 [C99-based-standards] (SCNxLEAST32): Likewise.
26193 [C99-based-standards] (PRIdFAST32): Likewise.
26194 [C99-based-standards] (PRIiFAST32): Likewise.
26195 [C99-based-standards] (PRIoFAST32): Likewise.
26196 [C99-based-standards] (PRIuFAST32): Likewise.
26197 [C99-based-standards] (PRIxFAST32): Likewise.
26198 [C99-based-standards] (PRIXFAST32): Likewise.
26199 [C99-based-standards] (SCNdFAST32): Likewise.
26200 [C99-based-standards] (SCNiFAST32): Likewise.
26201 [C99-based-standards] (SCNoFAST32): Likewise.
26202 [C99-based-standards] (SCNuFAST32): Likewise.
26203 [C99-based-standards] (SCNxFAST32): Likewise.
26204 [C99-based-standards] (PRId64): Likewise.
26205 [C99-based-standards] (PRIi64): Likewise.
26206 [C99-based-standards] (PRIo64): Likewise.
26207 [C99-based-standards] (PRIu64): Likewise.
26208 [C99-based-standards] (PRIx64): Likewise.
26209 [C99-based-standards] (PRIX64): Likewise.
26210 [C99-based-standards] (SCNd64): Likewise.
26211 [C99-based-standards] (SCNi64): Likewise.
26212 [C99-based-standards] (SCNo64): Likewise.
26213 [C99-based-standards] (SCNu64): Likewise.
26214 [C99-based-standards] (SCNx64): Likewise.
26215 [C99-based-standards] (PRIdLEAST64): Likewise.
26216 [C99-based-standards] (PRIiLEAST64): Likewise.
26217 [C99-based-standards] (PRIoLEAST64): Likewise.
26218 [C99-based-standards] (PRIuLEAST64): Likewise.
26219 [C99-based-standards] (PRIxLEAST64): Likewise.
26220 [C99-based-standards] (PRIXLEAST64): Likewise.
26221 [C99-based-standards] (SCNdLEAST64): Likewise.
26222 [C99-based-standards] (SCNiLEAST64): Likewise.
26223 [C99-based-standards] (SCNoLEAST64): Likewise.
26224 [C99-based-standards] (SCNuLEAST64): Likewise.
26225 [C99-based-standards] (SCNxLEAST64): Likewise.
26226 [C99-based-standards] (PRIdFAST64): Likewise.
26227 [C99-based-standards] (PRIiFAST64): Likewise.
26228 [C99-based-standards] (PRIoFAST64): Likewise.
26229 [C99-based-standards] (PRIuFAST64): Likewise.
26230 [C99-based-standards] (PRIxFAST64): Likewise.
26231 [C99-based-standards] (PRIXFAST64): Likewise.
26232 [C99-based-standards] (SCNdFAST64): Likewise.
26233 [C99-based-standards] (SCNiFAST64): Likewise.
26234 [C99-based-standards] (SCNoFAST64): Likewise.
26235 [C99-based-standards] (SCNuFAST64): Likewise.
26236 [C99-based-standards] (SCNxFAST64): Likewise.
26237 [C99-based-standards] (PRIdMAX): Likewise.
26238 [C99-based-standards] (PRIiMAX): Likewise.
26239 [C99-based-standards] (PRIoMAX): Likewise.
26240 [C99-based-standards] (PRIuMAX): Likewise.
26241 [C99-based-standards] (PRIxMAX): Likewise.
26242 [C99-based-standards] (PRIXMAX): Likewise.
26243 [C99-based-standards] (SCNdMAX): Likewise.
26244 [C99-based-standards] (SCNiMAX): Likewise.
26245 [C99-based-standards] (SCNoMAX): Likewise.
26246 [C99-based-standards] (SCNuMAX): Likewise.
26247 [C99-based-standards] (SCNxMAX): Likewise.
26248 [C99-based-standards] (PRIdPTR): Likewise.
26249 [C99-based-standards] (PRIiPTR): Likewise.
26250 [C99-based-standards] (PRIoPTR): Likewise.
26251 [C99-based-standards] (PRIuPTR): Likewise.
26252 [C99-based-standards] (PRIxPTR): Likewise.
26253 [C99-based-standards] (PRIXPTR): Likewise.
26254 [C99-based-standards] (SCNdPTR): Likewise.
26255 [C99-based-standards] (SCNiPTR): Likewise.
26256 [C99-based-standards] (SCNoPTR): Likewise.
26257 [C99-based-standards] (SCNuPTR): Likewise.
26258 [C99-based-standards] (SCNxPTR): Likewise.
26259 * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
26261 * conform/data/stdint.h-data: Update comments to clarify
26263 [C99-based standards] (INT8_MIN): Use macro-int-constant. Specify
26265 [C99-based standards] (INT8_MAX): Likewise.
26266 [C99-based standards] (INT16_MIN): Likewise.
26267 [C99-based standards] (INT16_MAX): Likewise.
26268 [C99-based standards] (INT32_MIN): Likewise.
26269 [C99-based standards] (INT32_MAX): Likewise.
26270 [C99-based standards] (INT64_MIN): Likewise.
26271 [C99-based standards] (INT64_MAX): Likewise.
26272 [C99-based standards] (UINT8_MAX): Likewise.
26273 [C99-based standards] (UINT16_MAX): Likewise.
26274 [C99-based standards] (UINT32_MAX): Likewise.
26275 [C99-based standards] (UINT64_MAX): Likewise.
26276 [C99-based standards] (INT_LEAST8_MIN): Likewise.
26277 [C99-based standards] (INT_LEAST8_MAX): Likewise.
26278 [C99-based standards] (INT_LEAST16_MIN): Likewise.
26279 [C99-based standards] (INT_LEAST16_MAX): Likewise.
26280 [C99-based standards] (INT_LEAST32_MIN): Likewise.
26281 [C99-based standards] (INT_LEAST32_MAX): Likewise.
26282 [C99-based standards] (INT_LEAST64_MIN): Likewise.
26283 [C99-based standards] (INT_LEAST64_MAX): Likewise.
26284 [C99-based standards] (UINT_LEAST8_MAX): Likewise.
26285 [C99-based standards] (UINT_LEAST16_MAX): Likewise.
26286 [C99-based standards] (UINT_LEAST32_MAX): Likewise.
26287 [C99-based standards] (UINT_LEAST64_MAX): Likewise.
26288 [C99-based standards] (INT_FAST8_MIN): Likewise.
26289 [C99-based standards] (INT_FAST8_MAX): Likewise.
26290 [C99-based standards] (INT_FAST16_MIN): Likewise.
26291 [C99-based standards] (INT_FAST16_MAX): Likewise.
26292 [C99-based standards] (INT_FAST32_MIN): Likewise.
26293 [C99-based standards] (INT_FAST32_MAX): Likewise.
26294 [C99-based standards] (INT_FAST64_MIN): Likewise.
26295 [C99-based standards] (INT_FAST64_MAX): Likewise.
26296 [C99-based standards] (UINT_FAST8_MAX): Likewise.
26297 [C99-based standards] (UINT_FAST16_MAX): Likewise.
26298 [C99-based standards] (UINT_FAST32_MAX): Likewise.
26299 [C99-based standards] (UINT_FAST64_MAX): Likewise.
26300 [C99-based standards] (INTPTR_MIN): Likewise.
26301 [C99-based standards] (INTPTR_MAX): Likewise.
26302 [C99-based standards] (UINTPTR_MAX): Likewise.
26303 [C99-based standards] (INTMAX_MIN): Likewise.
26304 [C99-based standards] (INTMAX_MAX): Likewise.
26305 [C99-based standards] (UINTMAX_MAX): Likewise.
26306 [C99-based standards] (PTRDIFF_MIN): Likewise.
26307 [C99-based standards] (PTRDIFF_MAX): Likewise.
26308 [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
26309 [C99-based standards] (SIZE_MAX): Likewise.
26310 [C99-based standards] (WCHAR_MAX): Likewise.
26311 [C99-based standards] (WINT_MAX): Likewise.
26312 [C99-based standards] (SIG_ATOMIC_MIN): Likewise. Do not specify
26313 constraint on value.
26314 [C99-based standards] (WCHAR_MIN): Likewise.
26315 [C99-based standards] (WINT_MIN): Likewise.
26316 [C99-based standards] (*_t): Allow.
26317 * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
26318 condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
26319 Include math.h-data and complex.h-data. Remove all expectations
26320 of math.h and complex.h contents.
26321 * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
26323 * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
26324 (struct tm): Expect tag.
26325 [C99-based-standards] (wcstof): Expect function.
26326 [C99-based-standards] (wcstold): Likewise.
26327 [C99-based-standards] (wcstoll): Likewise.
26328 [C99-based-standards] (wcstoull): Likewise.
26329 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
26330 macro-int-constant. Specify type.
26331 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise. Specify
26332 constraint on value.
26333 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
26335 [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
26337 [ISO C standards]: Do not allow headers.
26338 [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
26339 wcs[abcdefghijklmnopqrstuvwxyz]*.
26340 [ISO C standards] (*_t): Do not allow.
26341 * conform/data/wctype.h-data [C99-based standards] (iswblank):
26343 [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
26344 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
26346 [ISO C standards]: Do not allow headers.
26347 [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
26348 is[abcdefghijklmnopqrstuvwxyz]*.
26349 [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
26350 to[abcdefghijklmnopqrstuvwxyz]*.
26351 [ISO C standards] (*_t): Do not allow.
26352 * conform/data/stdalign.h-data: New file.
26353 * conform/data/stdbool.h-data: Likewise.
26354 * conform/data/stdnoreturn.h-data: Likewise.
26356 2012-11-07 Roland McGrath <roland@hack.frob.com>
26359 * manual/filesys.texi (Directory Entries): Typo fix.
26360 Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
26362 2012-11-07 Marcus Shawcroft <marcus.shawcroft@linaro.org>
26364 * elf/elf.h (EM_AARCH64): New macro.
26365 (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
26366 (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
26367 (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
26368 (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
26369 (R_AARCH64_TLSDESC): Likewise.
26370 (NT_ARM_TLS): Likewise.
26371 (NT_ARM_HW_BREAK): Likewise.
26372 (NT_ARM_HW_WATCH): Likewise.
26374 2012-11-07 Joseph Myers <joseph@codesourcery.com>
26377 * sysdeps/i386/fpu/e_powl.S (pm79): New object.
26378 (__ieee754_powl): Saturate nonzero exponents with absolute value
26379 below 0x1p-79 to +/- 0x1p-79.
26380 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
26381 exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
26382 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
26383 nonzero exponents with absolute value below 0x1p-32 to +/-
26385 * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
26386 (__ieee754_powl): Saturate nonzero exponents with absolute value
26387 below 0x1p-79 to +/- 0x1p-79.
26388 * math/libm-test.inc (pow_test): Add more tests.
26390 2012-11-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
26392 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
26393 _dl_s390_cap_flags with kernel. Increase string length.
26394 (_dl_s390_platforms): Add z196 and zEC12.
26396 2012-11-07 Joseph Myers <joseph@codesourcery.com>
26398 * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
26399 Change XOPEN21K to XOPEN2K.
26401 2012-11-06 Maxim Kuvyrkov <maxim@codesourcery.com>
26403 * string/memmove.c: Use memcpy when possible.
26405 2012-11-06 Andreas Jaeger <aj@suse.de>
26407 * po/eo.po: Update from translation team.
26409 2012-11-06 Joseph Myers <joseph@codesourcery.com>
26412 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
26413 exponent and small x and y exponents, scale x or y up. Increase
26414 by 2 the exponent used in scaling up.
26415 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
26416 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
26417 * math/libm-test.inc (fma_test): Add more tests.
26418 (fma_test_towardzero): Likewise.
26419 (fma_test_downward): Likewise.
26420 (fma_test_upward): Likewise.
26422 2012-11-05 Joseph Myers <joseph@codesourcery.com>
26425 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
26429 * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
26430 namespace for names of struct fields.
26431 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
26433 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
26434 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
26436 2012-11-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
26439 * sysdeps/mach/hurd/bits/errno.h: Regenerated.
26441 2012-11-04 Thomas Schwinge <thomas@codesourcery.com>
26443 * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
26447 * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
26450 2012-11-04 Joseph Myers <joseph@codesourcery.com>
26453 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
26454 definitely overflow as x * y not x * y + z.
26455 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
26456 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
26457 * math/libm-test.inc (fma_test): Add more tests.
26458 (fma_test_towardzero): Likewise.
26459 (fma_test_downward): Likewise.
26460 (fma_test_upward): Likewise.
26462 2012-11-04 Thomas Schwinge <thomas@codesourcery.com>
26466 * include/stub-tag.h: Remove file.
26467 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
26469 * manual/maint.texi (Porting): Don't reference it.
26470 * Makerules ($(objpfx)stubs): Likewise.
26471 * dirent/closedir.c: Don't include <stub-tag.h>.
26472 * dirent/dirfd.c: Likewise.
26473 * dirent/fdopendir.c: Likewise.
26474 * dirent/getdents.c: Likewise.
26475 * dirent/getdents64.c: Likewise.
26476 * dirent/opendir.c: Likewise.
26477 * dirent/readdir.c: Likewise.
26478 * dirent/readdir64.c: Likewise.
26479 * dirent/readdir64_r.c: Likewise.
26480 * dirent/readdir_r.c: Likewise.
26481 * dirent/rewinddir.c: Likewise.
26482 * dirent/seekdir.c: Likewise.
26483 * dirent/telldir.c: Likewise.
26484 * gmon/profil.c: Likewise.
26485 * grp/setgroups.c: Likewise.
26486 * inet/if_index.c: Likewise.
26487 * io/access.c: Likewise.
26488 * io/chdir.c: Likewise.
26489 * io/chmod.c: Likewise.
26490 * io/chown.c: Likewise.
26491 * io/close.c: Likewise.
26492 * io/dup.c: Likewise.
26493 * io/dup2.c: Likewise.
26494 * io/dup3.c: Likewise.
26495 * io/euidaccess.c: Likewise.
26496 * io/faccessat.c: Likewise.
26497 * io/fchdir.c: Likewise.
26498 * io/fchmod.c: Likewise.
26499 * io/fchmodat.c: Likewise.
26500 * io/fchown.c: Likewise.
26501 * io/fchownat.c: Likewise.
26502 * io/fcntl.c: Likewise.
26503 * io/flock.c: Likewise.
26504 * io/fstatfs.c: Likewise.
26505 * io/fstatfs64.c: Likewise.
26506 * io/fstatvfs.c: Likewise.
26507 * io/fstatvfs64.c: Likewise.
26508 * io/futimens.c: Likewise.
26509 * io/fxstat.c: Likewise.
26510 * io/fxstat64.c: Likewise.
26511 * io/fxstatat.c: Likewise.
26512 * io/fxstatat64.c: Likewise.
26513 * io/getcwd.c: Likewise.
26514 * io/isatty.c: Likewise.
26515 * io/lchmod.c: Likewise.
26516 * io/lchown.c: Likewise.
26517 * io/link.c: Likewise.
26518 * io/linkat.c: Likewise.
26519 * io/lseek.c: Likewise.
26520 * io/lseek64.c: Likewise.
26521 * io/lxstat64.c: Likewise.
26522 * io/mkdir.c: Likewise.
26523 * io/mkdirat.c: Likewise.
26524 * io/mkfifo.c: Likewise.
26525 * io/mkfifoat.c: Likewise.
26526 * io/open.c: Likewise.
26527 * io/open64.c: Likewise.
26528 * io/openat.c: Likewise.
26529 * io/openat64.c: Likewise.
26530 * io/pipe.c: Likewise.
26531 * io/pipe2.c: Likewise.
26532 * io/poll.c: Likewise.
26533 * io/posix_fadvise.c: Likewise.
26534 * io/posix_fadvise64.c: Likewise.
26535 * io/posix_fallocate.c: Likewise.
26536 * io/posix_fallocate64.c: Likewise.
26537 * io/read.c: Likewise.
26538 * io/readlink.c: Likewise.
26539 * io/readlinkat.c: Likewise.
26540 * io/rmdir.c: Likewise.
26541 * io/sendfile.c: Likewise.
26542 * io/sendfile64.c: Likewise.
26543 * io/statfs.c: Likewise.
26544 * io/statfs64.c: Likewise.
26545 * io/statvfs.c: Likewise.
26546 * io/statvfs64.c: Likewise.
26547 * io/symlink.c: Likewise.
26548 * io/symlinkat.c: Likewise.
26549 * io/ttyname.c: Likewise.
26550 * io/ttyname_r.c: Likewise.
26551 * io/umask.c: Likewise.
26552 * io/unlink.c: Likewise.
26553 * io/unlinkat.c: Likewise.
26554 * io/utime.c: Likewise.
26555 * io/utimensat.c: Likewise.
26556 * io/write.c: Likewise.
26557 * io/xmknod.c: Likewise.
26558 * io/xmknodat.c: Likewise.
26559 * io/xstat.c: Likewise.
26560 * io/xstat64.c: Likewise.
26561 * login/getpt.c: Likewise.
26562 * login/grantpt.c: Likewise.
26563 * login/unlockpt.c: Likewise.
26564 * math/e_acoshl.c: Likewise.
26565 * math/e_acosl.c: Likewise.
26566 * math/e_asinl.c: Likewise.
26567 * math/e_atan2l.c: Likewise.
26568 * math/e_atanhl.c: Likewise.
26569 * math/e_coshl.c: Likewise.
26570 * math/e_expl.c: Likewise.
26571 * math/e_fmodl.c: Likewise.
26572 * math/e_gammal_r.c: Likewise.
26573 * math/e_hypotl.c: Likewise.
26574 * math/e_j0l.c: Likewise.
26575 * math/e_j1l.c: Likewise.
26576 * math/e_jnl.c: Likewise.
26577 * math/e_lgammal_r.c: Likewise.
26578 * math/e_log10l.c: Likewise.
26579 * math/e_log2l.c: Likewise.
26580 * math/e_logl.c: Likewise.
26581 * math/e_powl.c: Likewise.
26582 * math/e_rem_pio2l.c: Likewise.
26583 * math/e_sinhl.c: Likewise.
26584 * math/e_sqrtl.c: Likewise.
26585 * math/fclrexcpt.c: Likewise.
26586 * math/fedisblxcpt.c: Likewise.
26587 * math/feenablxcpt.c: Likewise.
26588 * math/fegetenv.c: Likewise.
26589 * math/fegetexcept.c: Likewise.
26590 * math/fegetround.c: Likewise.
26591 * math/feholdexcpt.c: Likewise.
26592 * math/fesetenv.c: Likewise.
26593 * math/fesetround.c: Likewise.
26594 * math/feupdateenv.c: Likewise.
26595 * math/fgetexcptflg.c: Likewise.
26596 * math/fraiseexcpt.c: Likewise.
26597 * math/fsetexcptflg.c: Likewise.
26598 * math/ftestexcept.c: Likewise.
26599 * math/k_cosl.c: Likewise.
26600 * math/k_rem_pio2l.c: Likewise.
26601 * math/k_sinl.c: Likewise.
26602 * math/k_tanl.c: Likewise.
26603 * math/s_asinhl.c: Likewise.
26604 * math/s_atanl.c: Likewise.
26605 * math/s_cbrtl.c: Likewise.
26606 * math/s_erfl.c: Likewise.
26607 * math/s_expm1l.c: Likewise.
26608 * math/s_log1pl.c: Likewise.
26609 * math/s_tanhl.c: Likewise.
26610 * misc/acct.c: Likewise.
26611 * misc/brk.c: Likewise.
26612 * misc/chflags.c: Likewise.
26613 * misc/chroot.c: Likewise.
26614 * misc/fchflags.c: Likewise.
26615 * misc/fgetxattr.c: Likewise.
26616 * misc/flistxattr.c: Likewise.
26617 * misc/fremovexattr.c: Likewise.
26618 * misc/fsetxattr.c: Likewise.
26619 * misc/fsync.c: Likewise.
26620 * misc/ftruncate.c: Likewise.
26621 * misc/futimes.c: Likewise.
26622 * misc/futimesat.c: Likewise.
26623 * misc/getdomain.c: Likewise.
26624 * misc/getdtsz.c: Likewise.
26625 * misc/gethostid.c: Likewise.
26626 * misc/gethostname.c: Likewise.
26627 * misc/getloadavg.c: Likewise.
26628 * misc/getpagesize.c: Likewise.
26629 * misc/getsysstats.c: Likewise.
26630 * misc/getxattr.c: Likewise.
26631 * misc/gtty.c: Likewise.
26632 * misc/ioctl.c: Likewise.
26633 * misc/lgetxattr.c: Likewise.
26634 * misc/listxattr.c: Likewise.
26635 * misc/llistxattr.c: Likewise.
26636 * misc/lremovexattr.c: Likewise.
26637 * misc/lsetxattr.c: Likewise.
26638 * misc/lutimes.c: Likewise.
26639 * misc/madvise.c: Likewise.
26640 * misc/mincore.c: Likewise.
26641 * misc/mlock.c: Likewise.
26642 * misc/mlockall.c: Likewise.
26643 * misc/mmap.c: Likewise.
26644 * misc/mprotect.c: Likewise.
26645 * misc/msync.c: Likewise.
26646 * misc/munlock.c: Likewise.
26647 * misc/munlockall.c: Likewise.
26648 * misc/munmap.c: Likewise.
26649 * misc/preadv.c: Likewise.
26650 * misc/preadv64.c: Likewise.
26651 * misc/ptrace.c: Likewise.
26652 * misc/pwritev.c: Likewise.
26653 * misc/pwritev64.c: Likewise.
26654 * misc/readv.c: Likewise.
26655 * misc/reboot.c: Likewise.
26656 * misc/remap_file_pages.c: Likewise.
26657 * misc/removexattr.c: Likewise.
26658 * misc/revoke.c: Likewise.
26659 * misc/select.c: Likewise.
26660 * misc/setdomain.c: Likewise.
26661 * misc/setegid.c: Likewise.
26662 * misc/seteuid.c: Likewise.
26663 * misc/sethostid.c: Likewise.
26664 * misc/sethostname.c: Likewise.
26665 * misc/setregid.c: Likewise.
26666 * misc/setreuid.c: Likewise.
26667 * misc/setxattr.c: Likewise.
26668 * misc/sstk.c: Likewise.
26669 * misc/stty.c: Likewise.
26670 * misc/swapoff.c: Likewise.
26671 * misc/swapon.c: Likewise.
26672 * misc/sync.c: Likewise.
26673 * misc/syncfs.c: Likewise.
26674 * misc/syscall.c: Likewise.
26675 * misc/truncate.c: Likewise.
26676 * misc/ualarm.c: Likewise.
26677 * misc/usleep.c: Likewise.
26678 * misc/ustat.c: Likewise.
26679 * misc/utimes.c: Likewise.
26680 * misc/vhangup.c: Likewise.
26681 * misc/writev.c: Likewise.
26682 * posix/_exit.c: Likewise.
26683 * posix/alarm.c: Likewise.
26684 * posix/execve.c: Likewise.
26685 * posix/fexecve.c: Likewise.
26686 * posix/fork.c: Likewise.
26687 * posix/fpathconf.c: Likewise.
26688 * posix/getaddrinfo.c: Likewise.
26689 * posix/getegid.c: Likewise.
26690 * posix/geteuid.c: Likewise.
26691 * posix/getgid.c: Likewise.
26692 * posix/getgroups.c: Likewise.
26693 * posix/getlogin.c: Likewise.
26694 * posix/getlogin_r.c: Likewise.
26695 * posix/getpgid.c: Likewise.
26696 * posix/getpid.c: Likewise.
26697 * posix/getppid.c: Likewise.
26698 * posix/getresgid.c: Likewise.
26699 * posix/getresuid.c: Likewise.
26700 * posix/getsid.c: Likewise.
26701 * posix/getuid.c: Likewise.
26702 * posix/glob64.c: Likewise.
26703 * posix/nanosleep.c: Likewise.
26704 * posix/pathconf.c: Likewise.
26705 * posix/pause.c: Likewise.
26706 * posix/posix_madvise.c: Likewise.
26707 * posix/pread.c: Likewise.
26708 * posix/pread64.c: Likewise.
26709 * posix/pwrite.c: Likewise.
26710 * posix/pwrite64.c: Likewise.
26711 * posix/sched_getaffinity.c: Likewise.
26712 * posix/sched_getp.c: Likewise.
26713 * posix/sched_gets.c: Likewise.
26714 * posix/sched_primax.c: Likewise.
26715 * posix/sched_primin.c: Likewise.
26716 * posix/sched_rr_gi.c: Likewise.
26717 * posix/sched_setaffinity.c: Likewise.
26718 * posix/sched_setp.c: Likewise.
26719 * posix/sched_sets.c: Likewise.
26720 * posix/sched_yield.c: Likewise.
26721 * posix/setgid.c: Likewise.
26722 * posix/setlogin.c: Likewise.
26723 * posix/setpgid.c: Likewise.
26724 * posix/setresgid.c: Likewise.
26725 * posix/setresuid.c: Likewise.
26726 * posix/setsid.c: Likewise.
26727 * posix/setuid.c: Likewise.
26728 * posix/sleep.c: Likewise.
26729 * posix/spawni.c: Likewise.
26730 * posix/sysconf.c: Likewise.
26731 * posix/times.c: Likewise.
26732 * posix/wait.c: Likewise.
26733 * posix/wait3.c: Likewise.
26734 * posix/wait4.c: Likewise.
26735 * posix/waitpid.c: Likewise.
26736 * resolv/gai_sigqueue.c: Likewise.
26737 * resource/getpriority.c: Likewise.
26738 * resource/getrlimit.c: Likewise.
26739 * resource/getrusage.c: Likewise.
26740 * resource/nice.c: Likewise.
26741 * resource/setpriority.c: Likewise.
26742 * resource/setrlimit.c: Likewise.
26743 * resource/ulimit.c: Likewise.
26744 * rt/aio_cancel.c: Likewise.
26745 * rt/aio_fsync.c: Likewise.
26746 * rt/aio_read.c: Likewise.
26747 * rt/aio_sigqueue.c: Likewise.
26748 * rt/aio_suspend.c: Likewise.
26749 * rt/aio_write.c: Likewise.
26750 * rt/clock_getres.c: Likewise.
26751 * rt/clock_gettime.c: Likewise.
26752 * rt/clock_nanosleep.c: Likewise.
26753 * rt/clock_settime.c: Likewise.
26754 * rt/lio_listio.c: Likewise.
26755 * rt/mq_close.c: Likewise.
26756 * rt/mq_getattr.c: Likewise.
26757 * rt/mq_notify.c: Likewise.
26758 * rt/mq_open.c: Likewise.
26759 * rt/mq_receive.c: Likewise.
26760 * rt/mq_send.c: Likewise.
26761 * rt/mq_setattr.c: Likewise.
26762 * rt/mq_timedreceive.c: Likewise.
26763 * rt/mq_timedsend.c: Likewise.
26764 * rt/mq_unlink.c: Likewise.
26765 * rt/shm_open.c: Likewise.
26766 * rt/shm_unlink.c: Likewise.
26767 * rt/timer_create.c: Likewise.
26768 * rt/timer_delete.c: Likewise.
26769 * rt/timer_getoverr.c: Likewise.
26770 * rt/timer_gettime.c: Likewise.
26771 * rt/timer_settime.c: Likewise.
26772 * setjmp/__longjmp.c: Likewise.
26773 * setjmp/setjmp.c: Likewise.
26774 * signal/kill.c: Likewise.
26775 * signal/killpg.c: Likewise.
26776 * signal/raise.c: Likewise.
26777 * signal/sigaction.c: Likewise.
26778 * signal/sigaltstack.c: Likewise.
26779 * signal/sigblock.c: Likewise.
26780 * signal/sigignore.c: Likewise.
26781 * signal/sigintr.c: Likewise.
26782 * signal/signal.c: Likewise.
26783 * signal/sigpause.c: Likewise.
26784 * signal/sigpending.c: Likewise.
26785 * signal/sigqueue.c: Likewise.
26786 * signal/sigreturn.c: Likewise.
26787 * signal/sigset.c: Likewise.
26788 * signal/sigsetmask.c: Likewise.
26789 * signal/sigstack.c: Likewise.
26790 * signal/sigsuspend.c: Likewise.
26791 * signal/sigtimedwait.c: Likewise.
26792 * signal/sigvec.c: Likewise.
26793 * signal/sigwait.c: Likewise.
26794 * signal/sigwaitinfo.c: Likewise.
26795 * signal/sysv_signal.c: Likewise.
26796 * socket/accept.c: Likewise.
26797 * socket/accept4.c: Likewise.
26798 * socket/bind.c: Likewise.
26799 * socket/connect.c: Likewise.
26800 * socket/getpeername.c: Likewise.
26801 * socket/getsockname.c: Likewise.
26802 * socket/getsockopt.c: Likewise.
26803 * socket/isfdtype.c: Likewise.
26804 * socket/listen.c: Likewise.
26805 * socket/recv.c: Likewise.
26806 * socket/recvfrom.c: Likewise.
26807 * socket/recvmsg.c: Likewise.
26808 * socket/send.c: Likewise.
26809 * socket/sendmsg.c: Likewise.
26810 * socket/sendto.c: Likewise.
26811 * socket/setsockopt.c: Likewise.
26812 * socket/shutdown.c: Likewise.
26813 * socket/sockatmark.c: Likewise.
26814 * socket/socket.c: Likewise.
26815 * socket/socketpair.c: Likewise.
26816 * stdio-common/ctermid.c: Likewise.
26817 * stdio-common/cuserid.c: Likewise.
26818 * stdio-common/remove.c: Likewise.
26819 * stdio-common/rename.c: Likewise.
26820 * stdio-common/renameat.c: Likewise.
26821 * stdio-common/tempname.c: Likewise.
26822 * stdlib/getcontext.c: Likewise.
26823 * stdlib/makecontext.c: Likewise.
26824 * stdlib/setcontext.c: Likewise.
26825 * stdlib/swapcontext.c: Likewise.
26826 * stdlib/system.c: Likewise.
26827 * streams/fattach.c: Likewise.
26828 * streams/fdetach.c: Likewise.
26829 * streams/getmsg.c: Likewise.
26830 * streams/getpmsg.c: Likewise.
26831 * streams/putmsg.c: Likewise.
26832 * streams/putpmsg.c: Likewise.
26833 * sysdeps/unix/bsd/getpt.c: Likewise.
26834 * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
26835 * sysdeps/unix/sysv/linux/futimens.c: Likewise.
26836 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
26837 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
26839 * sysdeps/unix/sysv/linux/readahead.c: Likewise.
26840 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
26841 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
26842 * sysvipc/msgctl.c: Likewise.
26843 * sysvipc/msgget.c: Likewise.
26844 * sysvipc/msgrcv.c: Likewise.
26845 * sysvipc/msgsnd.c: Likewise.
26846 * sysvipc/semctl.c: Likewise.
26847 * sysvipc/semget.c: Likewise.
26848 * sysvipc/semop.c: Likewise.
26849 * sysvipc/semtimedop.c: Likewise.
26850 * sysvipc/shmat.c: Likewise.
26851 * sysvipc/shmctl.c: Likewise.
26852 * sysvipc/shmdt.c: Likewise.
26853 * sysvipc/shmget.c: Likewise.
26854 * termios/tcdrain.c: Likewise.
26855 * termios/tcflow.c: Likewise.
26856 * termios/tcflush.c: Likewise.
26857 * termios/tcgetattr.c: Likewise.
26858 * termios/tcgetpgrp.c: Likewise.
26859 * termios/tcsendbrk.c: Likewise.
26860 * termios/tcsetattr.c: Likewise.
26861 * termios/tcsetpgrp.c: Likewise.
26862 * time/adjtime.c: Likewise.
26863 * time/clock.c: Likewise.
26864 * time/getitimer.c: Likewise.
26865 * time/gettimeofday.c: Likewise.
26866 * time/setitimer.c: Likewise.
26867 * time/settimeofday.c: Likewise.
26868 * time/stime.c: Likewise.
26869 * time/time.c: Likewise.
26871 2012-11-04 Pino Toscano <toscano.pino@tiscali.it>
26873 * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
26876 * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
26878 * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
26880 2012-11-03 Joseph Myers <joseph@codesourcery.com>
26883 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
26884 FE_TONEAREST before applying Dekker multiplication and Knuth
26885 addition. Clear inexact exceptions and check for exact zero
26886 results afterwards.
26887 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
26888 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
26889 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
26890 * math/libm-test.inc (fma_test): Add more tests.
26891 (fma_test_towardzero): Likewise.
26892 (fma_test_downward): Likewise.
26893 (fma_test_upward): Likewise.
26894 * sysdeps/generic/math_private.h (default_libc_fesetround): New
26896 (libc_fesetround): New macro.
26897 (libc_fesetroundf): Likewise.
26898 (libc_fesetroundl): Likewise.
26899 * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
26901 (libc_fesetround_387): Likewise.
26902 (libc_fesetroundf): New macro.
26903 (libc_fesetround): Likewise.
26904 (libc_fesetroundl): Likewise.
26905 * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
26907 (libc_fesetroundf): New macro.
26908 (libc_fesetround): Likewise.
26909 (libc_fesetroundl): Likewise.
26910 * include/fenv.h (feclearexcept): Add libm_hidden_proto.
26911 * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
26912 * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
26914 * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
26915 * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
26917 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
26918 * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
26920 * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
26924 * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
26925 integer constant usable in #if and use that to give value to enum
26927 (FE_DIVBYZERO): Likewise.
26928 (FE_UNDERFLOW): Likewise.
26929 (FE_OVERFLOW): Likewise.
26930 (FE_INVALID): Likewise.
26931 (FE_INVALID_SNAN): Likewise.
26932 (FE_INVALID_ISI): Likewise.
26933 (FE_INVALID_IDI): Likewise.
26934 (FE_INVALID_ZDZ): Likewise.
26935 (FE_INVALID_IMZ): Likewise.
26936 (FE_INVALID_COMPARE): Likewise.
26937 (FE_INVALID_SOFTWARE): Likewise.
26938 (FE_INVALID_SQRT): Likewise.
26939 (FE_INVALID_INTEGER_CONVERSION): Likewise.
26940 (FE_TONEAREST): Likewise.
26941 (FE_TOWARDZERO): Likewise.
26942 (FE_UPWARD): Likewise.
26943 (FE_DOWNWARD): Likewise.
26944 * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
26945 (FE_DIVBYZERO): Likewise.
26946 (FE_OVERFLOW): Likewise.
26947 (FE_UNDERFLOW): Likewise.
26948 (FE_INEXACT): Likewise.
26949 (FE_TONEAREST): Likewise.
26950 (FE_DOWNWARD): Likewise.
26951 (FE_UPWARD): Likewise.
26952 (FE_TOWARDZERO): Likewise.
26953 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
26954 (FE_UNDERFLOW): Likewise.
26955 (FE_OVERFLOW): Likewise.
26956 (FE_DIVBYZERO): Likewise.
26957 (FE_INVALID): Likewise.
26958 (FE_TONEAREST): Likewise.
26959 (FE_TOWARDZERO): Likewise.
26960 * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
26961 (FE_OVERFLOW): Likewise.
26962 (FE_UNDERFLOW): Likewise.
26963 (FE_DIVBYZERO): Likewise.
26964 (FE_INEXACT): Likewise.
26965 (FE_TONEAREST): Likewise.
26966 (FE_TOWARDZERO): Likewise.
26967 (FE_UPWARD): Likewise.
26968 (FE_DOWNWARD): Likewise.
26969 * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
26970 (FE_DIVBYZERO): Likewise.
26971 (FE_OVERFLOW): Likewise.
26972 (FE_UNDERFLOW): Likewise.
26973 (FE_INEXACT): Likewise.
26974 (FE_TONEAREST): Likewise.
26975 (FE_DOWNWARD): Likewise.
26976 (FE_UPWARD): Likewise.
26977 (FE_TOWARDZERO): Likewise.
26979 2012-11-02 Chris Metcalf <cmetcalf@tilera.com>
26981 * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
26983 2012-11-03 Andreas Schwab <schwab@linux-m68k.org>
26985 * scripts/cross-test-ssh.sh (command): Use newlines to separate
26986 commands. Quote $PWD.
26987 (blacklist_exports): Don't use remove_newlines. Replace "declare
26989 (remove_newlines): Remove.
26991 2012-11-02 H.J. Lu <hongjiu.lu@intel.com>
26993 * stdlib/Makefile (headers): Add bits/stdlib-float.h.
26994 * stdlib/stdlib.h (atof): Moved to ...
26995 * include/bits/stdlib-float.h: Here. New file.
26996 * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
26997 * stdlib/bits/stdlib-float.h: New file.
26998 * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
27000 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
27003 2012-11-02 Joseph Myers <joseph@codesourcery.com>
27005 * conform/conformtest.pl (@headers): Add fenv.h.
27006 * conform/data/fenv.h-data: New file.
27007 * include/fenv.h [_ISOMAC]: Disable all contents of file except
27008 include of <math/fenv.h>.
27010 * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
27011 POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
27012 && !UNIX98]. Enables tests for XOPEN2K8.
27013 * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
27014 POSIX2008]: Likewise.
27016 * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
27017 (struct rusage): Do not expect type or its members.
27020 * math/math.h (FP_NAN): Define macro to integer constant usable in
27021 #if and use that to give value to enum constant.
27022 (FP_INFINITE): Likewise.
27023 (FP_ZERO): Likewise.
27024 (FP_SUBNORMAL): Likewise.
27025 (FP_NORMAL): Likewise.
27027 2012-11-02 Andreas Schwab <schwab@linux-m68k.org>
27029 * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
27030 * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
27033 2012-11-02 Roland McGrath <roland@hack.frob.com>
27035 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
27036 Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
27037 autoconf-time if not.
27038 * configure.in: Remove AC_PREREQ.
27040 2012-11-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
27042 * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
27043 __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
27044 of the internal implementation.
27046 2012-11-02 Joseph Myers <joseph@codesourcery.com>
27048 * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
27049 except include of <misc/sys/syslog.h>.
27051 2012-11-01 Andreas Schwab <schwab@linux-m68k.org>
27053 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
27054 function returns with a NULL context exit with zero.
27056 2012-11-01 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
27058 * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
27060 2012-11-01 H.J. Lu <hongjiu.lu@intel.com>
27062 * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
27063 (run_program_cmd): This.
27064 * localedata/tst-langinfo.sh (run_program_prefix): Removed.
27065 (tst_langinfo): New variable. Use it.
27067 2012-11-01 Sebastan Andrzej Siewior <bigeasy@linutronix.de>
27069 * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
27070 floating point opcodes.
27072 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
27074 * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
27077 * elf/dl-support.c: Unconditionally include "setup-vdso.h".
27079 * sysdeps/mach/hurd/powerpc: Remove directory.
27080 * sysdeps/mach/powerpc: Likewise.
27082 2012-11-01 Andreas Schwab <schwab@linux-m68k.org>
27084 * scripts/check-local-headers.sh: Ignore c++ headers.
27086 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
27088 * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
27089 __libc_cleanup_region_start argument.
27091 2012-11-01 Joseph Myers <joseph@codesourcery.com>
27095 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
27096 x * y using scaling, not as x * y + z.
27097 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
27098 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
27099 * math/libm-test.inc (fma_test): Add more tests.
27100 (fma_test_towardzero): Likewise.
27101 (fma_test_downward): Likewise.
27102 (fma_test_upward): Likewise.
27104 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
27106 * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
27108 2012-10-31 Joseph Myers <joseph@codesourcery.com>
27110 * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
27113 2012-10-31 Thomas Schwinge <thomas@codesourcery.com>
27115 * rt/tst-shm.c (worker): Correct checking for mmap failure.
27117 2012-10-31 Andreas Schwab <schwab@linux-m68k.org>
27119 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
27121 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
27124 2012-10-31 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
27126 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
27127 Fix the order of the list for glibc 2.17.
27128 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
27131 2012-10-31 Andreas Schwab <schwab@linux-m68k.org>
27133 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
27135 2012-10-31 Joseph Myers <joseph@codesourcery.com>
27138 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
27139 for low part of x being zero before using __atanl (y).
27140 * math/libm-test.inc (atan2_test): Add another test.
27142 * manual/install.texi (Configuring and compiling): Document
27143 general use of test-wrapper and test-wrapper-env.
27144 * INSTALL: Regenerated.
27146 * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
27147 (__fma): Do not extract and scale down low bits on after-rounding
27148 systems when result rounded to normal precision would have normal
27150 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
27151 (__fmal): Do not extract and scale down low bits on after-rounding
27152 systems when result rounded to normal precision would have normal
27154 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
27155 (__fmal): Do not extract and scale down low bits on after-rounding
27156 systems when result rounded to normal precision would have normal
27158 * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
27160 (fma_test): Add more tests.
27161 (fma_test_towardzero): Likewise.
27162 (fma_test_downward): Likewise.
27163 (fma_test_upward): Likewise.
27165 2012-10-30 H.J. Lu <hongjiu.lu@intel.com>
27167 * sysdeps/i386/tininess.h: Renamed to ...
27168 * sysdeps/x86/tininess.h: This.
27169 * sysdeps/x86_64/tininess.h: Removed.
27171 2012-10-30 Joseph Myers <joseph@codesourcery.com>
27173 * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
27174 input. Use $(build-program-cmd).
27175 ($(objpfx)tst-array1-static.out): Likewise.
27176 ($(objpfx)tst-array2.out): Likewise.
27177 ($(objpfx)tst-array3.out): Likewise.
27178 ($(objpfx)tst-array4.out): Likewise.
27179 ($(objpfx)tst-array5.out): Likewise.
27180 ($(objpfx)tst-array5-static.out): Likewise.
27182 2012-10-30 Chris Metcalf <cmetcalf@tilera.com>
27184 * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
27187 * nss/nsswitch.h (nss_interface_function): Provide new
27188 macro for use with NSS functions.
27189 * grp/initgroups.c: Use new macro.
27190 * nss/getXXbyYY.c: Likewise.
27191 * nss/getXXbyYY_r.c: Likewise.
27192 * nss/getXXent.c: Likewise.
27193 * nss/getXXent_r.c: Likewise.
27194 * sysdeps/posix/getaddrinfo.c: Likewise.
27196 2012-10-30 Andreas Jaeger <aj@suse.de>
27198 * po/ru.po: Update Russion translation from translation project.
27200 2012-10-30 Joseph Myers <joseph@codesourcery.com>
27204 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
27205 result and shift together with sticky bit instead of replicating
27206 round-to-nearest rounding.
27207 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
27208 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
27209 * math/libm-test.inc (fma_test): Add more tests. Do not permit
27210 missing underflow exceptions.
27211 (fma_test_towardzero): Add more tests.
27212 (fma_test_downward): Likewise.
27213 (fma_test_upward): Likewise.
27216 * sysdeps/generic/tininess.h: New file.
27217 * sysdeps/i386/tininess.h: Likewise.
27218 * sysdeps/sh/tininess.h: Likewise.
27219 * sysdeps/x86_64/tininess.h: Likewise.
27220 * stdlib/tst-strtod-underflow.c: Likewise.
27221 * stdlib/tst-tininess.c: Likewise.
27222 * stdlib/strtod_l.c: Include <tininess.h>.
27223 (round_and_return): Do not set errno for exact underflow cases.
27224 Force an underflow exception when setting errno for underflow.
27225 Determine underflow based on rounding to normal precision if
27226 TININESS_AFTER_ROUNDING.
27227 * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
27228 ERANGE for exact underflow cases.
27229 * stdlib/Makefile (tests): Add tst-tininess and
27230 tst-strtod-underflow.
27231 ($(objpfx)tst-tininess): Use $(link-libm).
27232 ($(objpfx)tst-strtod-underflow): Likewise.
27234 2012-10-30 Andreas Jaeger <aj@suse.de>
27237 * elf/Makefile (tests): Remove conditional for have-initfini-array
27238 since this is now always required and the variable does not exist
27240 (tests-static): Likewise.
27241 (modules-names): Likewise.
27243 * po/eo.po: Add Esperanto translation from translation project.
27245 * elf/tst-array1.c (fini_array): Make writeable so that it can be
27246 merged with constructor/destructor.
27247 (init_array): Likewise.
27248 * elf/tst-array2dep.c (fini_array): Likewise.
27249 (init_array): Likewise.
27251 2012-10-29 Mike Frysinger <vapier@gentoo.org>
27253 * manual/message.texi: Delete @cartouche tags.
27255 2012-10-29 Pino Toscano <toscano.pino@tiscali.it>
27257 * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
27259 * sysdeps/mach/hurd/fsync.c: Likewise.
27261 * sysdeps/pthread/aio_notify.c (__aio_notify_only)
27262 [_POSIX_REALTIME_SIGNALS]: Change condition to
27263 [_POSIX_REALTIME_SIGNALS > 0].
27265 2012-10-27 Andreas Jaeger <aj@suse.de>
27267 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
27268 [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
27269 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
27270 [__WORDSIZE != 64]: Likewise.
27272 2012-10-26 H.J. Lu <hongjiu.lu@intel.com>
27274 * iconvdata/tst-table.sh: Remove ${SHELL}.
27275 * iconvdata/tst-tables.sh: Likewise.
27277 2012-10-25 David S. Miller <davem@davemloft.net>
27279 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
27280 (__get_clockfreq_via_proc_openprom): Use strtoumax instead
27283 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
27285 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
27286 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
27287 * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
27290 2012-10-25 Roland McGrath <roland@hack.frob.com>
27292 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
27293 (__get_clockfreq_via_proc_openprom): Use __getdents instead of
27296 2012-10-25 Joseph Myers <joseph@codesourcery.com>
27297 Jim Blandy <jimb@codesourcery.com>
27299 * scripts/cross-test-ssh.sh: New file.
27300 * manual/install.texi (Configuring and compiling): Document use of
27302 * INSTALL: Regenerated.
27304 2012-10-25 Pino Toscano <toscano.pino@tiscali.it>
27306 * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
27309 2012-10-25 Joseph Myers <joseph@codesourcery.com>
27311 * Makeconfig (run-program-prefix): Fix comment.
27313 2012-10-24 Joseph Myers <joseph@codesourcery.com>
27314 Jim Blandy <jimb@codesourcery.com>
27316 * Makeconfig (test-wrapper): New variable,
27317 (test-wrapper-env): Likewise.
27318 [$(cross-compiling) = yes && $(test-wrapper) != ""]
27319 (run-built-tests): Define to yes.
27320 (run-program-prefix): Use $(test-wrapper).
27321 (built-program-cmd): Likewise.
27322 * Rules (make-test-out): Use $(test-wrapper-env) and
27323 $(host-built-program-cmd).
27324 * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
27325 ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
27327 ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
27328 $(test-wrapper-env) to tst-rtld-load-self.sh.
27329 ($(objpfx)order2.out): Use $(test-wrapper).
27330 ($(objpfx)tst-initorder.out): Likewise.
27331 ($(objpfx)tst-initorder2.out): Likewise.
27332 ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
27333 * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
27334 (test_wrapper_env): New variable. Use it to run ld.so.
27335 * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
27336 Use it to run ld.so.
27337 (test_wrapper_env): Likewise.
27338 * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
27339 $(test-wrapper) to run-iconv-test.sh.
27340 * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
27341 (ICONV): Use $test_wrapper.
27342 * posix/Makefile ($(objpfx)globtest.out): Pass
27343 $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
27344 globtest.sh, not $(run-program-prefix).
27345 * posix/globtest.sh (run_via_rtld_prefix): New variable.
27346 (test_wrapper): Likewise.
27347 (test_wrapper_env): Likewise. Use it to run globtest with HOME
27348 set together with run_via_rtld_prefix.
27349 (run_program_prefix): Define in terms of test_wrapper and
27350 run_via_rtld_prefix.
27352 2012-10-24 Roland McGrath <roland@hack.frob.com>
27354 * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
27355 * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
27359 * include/time.h: Remove librt_hidden_proto (clock_gettime).
27360 Declare __clock_getres, __clock_gettime, __clock_settime,
27361 __clock_nanosleep, and __clock_getcpuclockid.
27362 * rt/clock_gettime.c: Define __clock_gettime as an alias.
27363 Remove librt_hidden_def (clock_gettime).
27364 * sysdeps/unix/clock_gettime.c: Likewise.
27365 * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
27366 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
27367 * rt/clock_getres.c: Define __clock_getres as an alias.
27368 * sysdeps/posix/clock_getres.c: Likewise.
27369 * rt/clock_settime.c: Define __clock_settime as an alias.
27370 * sysdeps/unix/clock_settime.c: Likewise.
27371 * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
27372 * sysdeps/unix/clock_nanosleep.c: Likewise.
27373 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
27374 * rt/clock-compat.c: New file.
27375 * rt/Makefile (librt-routines): Add clock-compat and move
27376 $(clock-routines) to ...
27377 (routines): ... here, new variable.
27378 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
27379 Don't add get_clockfreq here.
27380 * rt/Versions (libc: GLIBC_2.17): New version set.
27381 Add clock_* symbols here.
27382 (libc: GLIBC_PRIVATE): New version set. Add __clock_* symbols here.
27383 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
27384 (GLIBC_2.17): Add clock_* symbols.
27385 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
27386 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
27387 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
27388 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
27390 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
27392 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
27393 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
27394 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
27395 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
27396 * NEWS: Mention the move.
27398 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
27399 Use __open, __read, __close rather than their public counterparts.
27400 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
27401 (__get_clockfreq_via_cpuinfo): Likewise.
27402 (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
27403 (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
27405 * config.h.in (HAVE_IFUNC): New #undef.
27406 * configure.in: Define it if libc_cv_ld_gnu_indirect_function
27408 * configure: Regenerated.
27410 2012-10-24 Mike Frysinger <vapier@gentoo.org>
27412 * configure.in: Move READELF check to start of file.
27413 (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
27414 libc_cv_asm_gnu_indirect_function in the process.
27415 * configure: Regenerated.
27417 2012-10-24 Mike Frysinger <vapier@gentoo.org>
27419 * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
27420 send the output to /dev/null.
27421 (libc_cv_cc_with_libunwind): Likewise.
27422 (libc_cv_as_noexecstack): Likewise.
27423 * configure: Regenerate.
27425 2012-10-24 Joseph Myers <joseph@codesourcery.com>
27427 * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
27429 * posix/globtest.sh (TMPDIR): Do not set.
27430 (testdir): Define using ${common_objpfx}posix not $TMPDIR.
27431 (testout): Likewise.
27433 2012-10-24 Andreas Jaeger <aj@suse.de>
27435 * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
27436 types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
27437 [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
27438 [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
27439 posix_fadvise64, posix_fallocate64.
27441 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
27442 (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
27443 (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
27445 (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
27447 (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
27449 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
27450 (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
27451 <bits/fcntl-linux.h>.
27452 (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
27454 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
27455 (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
27456 (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
27457 (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
27458 [__WORDSIZE != 64]: Likewise.
27460 2012-10-23 Joseph Myers <joseph@codesourcery.com>
27462 * Makeconfig (run-built-tests): New variable.
27463 * Rules [$(cross-compiling) = yes]: Change condition to
27464 [$(run-built-tests) = no].
27465 * catgets/Makefile [$(cross-compiling) != yes]: Change condition
27466 to [$(run-built-tests) = yes].
27467 * elf/Makefile [$(cross-compiling) = no]: Likewise
27468 * grp/Makefile [$(cross-compiling) = no]: Likewise.
27469 * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
27470 * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
27471 * intl/Makefile [$(cross-compiling) = no]: Likewise.
27472 * io/Makefile [$(cross-compiling) = no]: Likewise.
27473 * libio/Makefile [$(cross-compiling) = no]: Likewise.
27474 * malloc/Makefile [$(cross-compiling) = no]: Likewise.
27475 * misc/Makefile [$(cross-compiling) = no]: Likewise.
27476 * posix/Makefile [$(cross-compiling) = no]: Likewise.
27477 * resolv/Makefile [$(cross-compiling) = no]: Likewise.
27478 * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
27479 * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
27480 * string/Makefile [$(cross-compiling) = no]: Likewise.
27482 * posix/Makefile ($(objpfx)globtest.out): Pass
27483 $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
27484 $(rtld-installed-name).
27485 * posix/globtest.sh (elf_objpfx): Remove variable.
27486 (rtld_installed_name): Likewise.
27487 (library_path): Likewise.
27488 (run_program_prefix): New variable. Use for running globtest
27491 2012-10-23 Jim Blandy <jimb@codesourcery.com>
27492 Joseph Myers <joseph@codesourcery.com>
27494 * Makeconfig (host-built-program-cmd): New variable.
27495 * elf/Makefile (tst-stackguard1-ARGS): Use
27496 $(host-built-program-cmd).
27497 * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
27498 (tst-spawn-ARGS): Likewise.
27499 * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
27501 2012-10-23 Joseph Myers <joseph@codesourcery.com>
27502 Jim Blandy <jimb@codesourcery.com>
27504 * Makeconfig (run-via-rtld-prefix): New variable.
27505 (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
27506 (built-program-cmd): Likewise.
27508 2012-10-22 Andreas Jaeger <aj@suse.de>
27510 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
27511 __O_RSYNC if it exists, otherwise to O_SYNC.
27513 2012-10-22 Jim Blandy <jimb@codesourcery.com>
27514 Joseph Myers <joseph@codesourcery.com>
27516 * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
27518 * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
27520 * posix/tst-getconf.sh: Redirect getconf stdin in loop from
27523 2012-10-22 Andreas Jaeger <aj@suse.de>
27525 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
27527 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
27529 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
27530 bits/fcntl-linux.h.
27532 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
27533 (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
27535 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
27537 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
27540 2012-10-21 Jim Blandy <jimb@codesourcery.com>
27541 Joseph Myers <joseph@codesourcery.com>
27543 * config.make.in (NM): New variable.
27545 2012-10-21 Andreas Jaeger <aj@suse.de>
27547 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
27548 definitions and declarations that are provided by
27549 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
27551 2012-10-20 H.J. Lu <hongjiu.lu@intel.com>
27554 * elf/Makefile (tests-static): Add tst-leaks1-static.
27555 (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
27556 ($(objpfx)tst-leaks1-static): New rule.
27557 ($(objpfx)tst-leaks1-static-mem): Likewise.
27558 (tst-leaks1-static-ENV): New macro.
27559 * elf/dl-open.c (dl_open_worker): Check the main application
27560 only if SHARED is defined.
27561 * elf/tst-leaks1-static.c: New file.
27563 2012-10-20 Andreas Jaeger <aj@suse.de>
27565 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
27566 generic values for Linux.
27567 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
27568 and declarations that are provided by <bits/fcntl-linux.h> and
27569 include <bits/fcntl-linux.h>.
27570 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
27571 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
27573 2012-10-20 Roland McGrath <roland@hack.frob.com>
27575 * io/fcntl.h: Move include of <bits/types.h> to the top and
27576 include it unconditionally.
27578 2012-10-20 H.J. Lu <hongjiu.lu@intel.com>
27580 * wcsmbs/Makefile (tests-ifunc): New variable.
27581 (tests): Add $(tests-ifunc).
27582 * wcsmbs/test-wcschr-ifunc.c: New file.
27583 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
27584 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
27585 * wcsmbs/test-wcslen-ifunc.c: Likewise.
27586 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
27587 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
27589 * string/Makefile (tests-ifunc): New variable.
27590 (tests): Add $(tests-ifunc).
27591 * string/test-memccpy.c (TEST_NAME): New macro.
27592 * string/test-memchr.c (TEST_NAME): Likewise.
27593 * string/test-memcmp.c (TEST_NAME): Likewise.
27594 * string/test-memcpy.c (TEST_NAME): Likewise.
27595 * string/test-memmem.c (TEST_NAME): Likewise.
27596 * string/test-memmove.c (TEST_NAME): Likewise.
27597 * string/test-memset.c (TEST_NAME): Likewise.
27598 * string/test-rawmemchr.c (TEST_NAME): Likewise.
27599 * string/test-stpcpy.c (TEST_NAME): Likewise.
27600 * string/test-stpncpy.c (TEST_NAME): Likewise.
27601 * string/test-strcasecmp.c (TEST_NAME): Likewise.
27602 * string/test-strcasestr.c (TEST_NAME): Likewise.
27603 * string/test-strcat.c (TEST_NAME): Likewise.
27604 * string/test-strchr.c (TEST_NAME): Likewise.
27605 * string/test-strcmp.c(TEST_NAME): Likewise.
27606 * string/test-strcpy.c (TEST_NAME): Likewise.
27607 * string/test-strcspn.c (TEST_NAME): Likewise.
27608 * string/test-strlen.c (TEST_NAME): Likewise.
27609 * string/test-strncasecmp.c (TEST_NAME): Likewise.
27610 * string/test-strncmp.c (TEST_NAME): Likewise.
27611 * string/test-strncpy.c (TEST_NAME): Likewise.
27612 * string/test-strnlen.c (TEST_NAME): Likewise.
27613 * string/test-strpbrk.c (TEST_NAME): Likewise.
27614 * string/test-strrchr.c (TEST_NAME): Likewise.
27615 * string/test-strspn.c (TEST_NAME): Likewise.
27616 * string/test-strstr.c (TEST_NAME): Likewise.
27617 * string/test-bcopy-ifunc.c: New file.
27618 * string/test-bzero-ifunc.c: Likewise.
27619 * string/test-memccpy-ifunc.c: Likewise.
27620 * string/test-memchr-ifunc.c: Likewise.
27621 * string/test-memcmp-ifunc.c: Likewise.
27622 * string/test-memcpy-ifunc.c: Likewise.
27623 * string/test-memmem-ifunc.c: Likewise.
27624 * string/test-memmove-ifunc.c: Likewise.
27625 * string/test-mempcpy-ifunc.c: Likewise.
27626 * string/test-memset-ifunc.c: Likewise.
27627 * string/test-rawmemchr-ifunc.c: Likewise.
27628 * string/test-stpcpy-ifunc.c: Likewise.
27629 * string/test-stpncpy-ifunc.c: Likewise.
27630 * string/test-strcasecmp-ifunc.c: Likewise.
27631 * string/test-strcasestr-ifunc.c: Likewise.
27632 * string/test-strcat-ifunc.c: Likewise.
27633 * string/test-strchr-ifunc.c: Likewise.
27634 * string/test-strchrnul-ifunc.c: Likewise.
27635 * string/test-strcmp-ifunc.c: Likewise.
27636 * string/test-strcpy-ifunc.c: Likewise.
27637 * string/test-strcspn-ifunc.c: Likewise.
27638 * string/test-strlen-ifunc.c: Likewise.
27639 * string/test-strncasecmp-ifunc.c: Likewise.
27640 * string/test-strncat-ifunc.c: Likewise.
27641 * string/test-strncmp-ifunc.c: Likewise.
27642 * string/test-strncpy-ifunc.c: Likewise.
27643 * string/test-strnlen-ifunc.c: Likewise.
27644 * string/test-strpbrk-ifunc.c: Likewise.
27645 * string/test-strrchr-ifunc.c: Likewise.
27646 * string/test-strspn-ifunc.c: Likewise.
27647 * string/test-strstr-ifunc.c: Likewise.
27649 * debug/Makefile (tests-ifunc): New variable.
27650 (tests): Add $(tests-ifunc).
27651 * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
27652 * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
27653 * debug/test-stpcpy_chk-ifunc.c: New file.
27654 * debug/test-strcpy_chk-ifunc.c: Likewise.
27656 2012-10-20 Siddhesh Poyarekar <siddhesh@redhat.com>
27659 * elf/dl-load.c (open_verify): Retry read if the entire ELF
27660 header is not read in.
27662 2012-10-19 Joseph Myers <joseph@codesourcery.com>
27664 * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh. Pass
27665 script to $(SHELL) as $<. Pass $(common-objpfx) to script
27666 directly. Pass built executable to script as
27667 $(built-program-cmd).
27668 * io/ftwtest-sh (ldso): Remove variable. Run ftwtest directly as
27669 $testprogram without using LD_LIBRARY_PATH and $ldso.
27671 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
27672 $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
27673 $(rtld-installed-name).
27674 * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
27675 (rtld_installed_name): Likewise.
27676 (library_path): Likewise.
27677 (run_program_prefix): New variable. Use it to run tst_fgetgrent.
27678 * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
27679 $(run-program-prefix) to tst-tables.sh.
27680 * iconvdata/tst-table.sh (run_program_prefix): New variable. Use
27681 it to run tst-table-from and tst-table-to.
27682 * iconvdata/tst-tables.sh (run_program_prefix): New variable.
27683 Pass it to tst-table.sh.
27684 * intl/Makefile ($(objpfx)tst-gettext.out): Pass
27685 $(run-program-prefix) to tst-gettext.sh.
27686 ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
27688 ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
27690 * intl/tst-gettext.sh (run_program_prefix): New variable. Use it
27691 to run tst-gettext.
27692 * intl/tst-gettext2.sh (run_program_prefix): New variable. Use it
27693 to run tst-gettext2.
27694 * intl/tst-translit.sh (run_program_prefix): New variable. Use it
27695 to run tst-translit.
27696 * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
27697 $(run-program-prefix) to tst-mtrace.sh.
27698 * malloc/tst-mtrace.sh (run_program_prefix): New variable. Use it
27700 * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
27701 $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
27702 $(rtld-installed-name).
27703 * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
27704 (rtld_installed_name): Likewise.
27705 (run_program_prefix): New variable. Use it to run wordexp-test.
27707 * Makeconfig (ARCH): Remove all definitions.
27708 (machine): Likewise.
27709 [ARCH]: Remove conditional code.
27710 [!objdir]: Give error.
27711 [!objdir] (objpfx): Remove.
27712 [!objdir] (common-objpfx): Likewise.
27713 [!objdir] (common-objdir): Likewise.
27714 * configure.in (config_makefile): Remove. Hardcode Makefile in
27715 AC_CONFIG_FILES call.
27716 * configure: Regenerated.
27719 * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
27721 (testout): Likewise.
27723 * posix/Makefile ($(objpfx)tst-getconf.out): Pass
27724 $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
27725 $(rtld-installed-name).
27726 * posix/tst-getconf.sh (elf_objpfx): Remove variable.
27727 (rtld_installed_name): Likwise.
27728 (runit): Remove function.
27729 (run_getconf): New variable, Use it for running getconf binary.
27731 2012-10-18 H.J. Lu <hongjiu.lu@intel.com>
27734 * string/test-memmem.c (check_result): New function.
27735 (do_one_test): Use it.
27736 (check1): New function.
27737 (test_main): Use it.
27739 2012-10-18 Markus Trippelsdorf <markus@trippelsdorf.de>
27741 * math/Makefile: Comment on slow compilation of test-tgmath2.c.
27743 2012-10-18 Joseph Myers <joseph@codesourcery.com>
27745 * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
27746 (_G_LSEEK64): Likewise.
27747 (_G_MMAP64): Likewise.
27748 (_G_FSTAT64): Likewise.
27749 * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
27750 (_G_LSEEK64): Likewise.
27751 (_G_MMAP64): Likewise.
27752 (_G_FSTAT64): Likewise.
27753 * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
27754 unconditional. Call __mmap64 directly.
27755 (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
27756 (mmap_remap_check) [_G_LSEEK64]: Make code unconditional. Call
27757 __lseek64 directly.
27758 (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
27759 (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional. Call
27761 (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
27762 (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional. Call
27763 __lseek64 directly.
27764 (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
27765 (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional. Call
27766 __lseek64 directly.
27767 (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
27768 (_IO_file_seek) [_G_LSEEK64]: Make code unconditional. Call
27769 __lseek64 directly.
27770 (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
27771 (_IO_file_stat) [_G_FSTAT64]: Make code unconditional. Call
27772 __fxstat64 directly.
27773 (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
27774 * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
27776 (freopen64) [!_G_OPEN64]: Remove conditional code.
27777 * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
27779 (fseeko64) [!_G_LSEEK64]: Remove conditional code.
27780 * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
27782 (ftello64) [!_G_LSEEK64]: Remove conditional code.
27783 * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
27785 (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
27786 * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
27788 (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
27789 * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
27791 (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
27792 * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
27794 (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
27795 * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
27797 (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
27799 2012-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
27802 * manual/memory.texi (Malloc Tunable Parameters): Add note
27803 about free list pointers overwriting some perturb bytes.
27804 Wording suggested by Roland McGrath.
27806 2012-10-17 Joseph Myers <joseph@codesourcery.com>
27808 * math/libm-test.inc (gamma_test): Do not call feclearexcept.
27809 (lgamma_test): Likewise.
27810 (tgamma_test): Likewise.
27812 2012-10-16 Florian Weimer <fweimer@redhat.com>
27815 * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
27816 (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
27818 2012-10-16 Maxim Kuvyrkov <maxim@codesourcery.com>
27820 * NEWS: Mention BZ #14716.
27821 * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
27822 when removing AVAILABLE1_USES_J macro.
27824 2012-10-12 H.J. Lu <hongjiu.lu@intel.com>
27826 * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
27827 (__bswap_64): __uint64_t for unsigned 64-bit int.
27829 2012-10-12 Andreas Schwab <schwab@linux-m68k.org>
27831 * include/string.h (memmem): Declare libc hidden alias.
27832 * string/memmem.c (memmem): Define libc hidden alias.
27833 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
27834 __read, __close instead of open, read, close.
27836 2012-10-11 H.J. Lu <hongjiu.lu@intel.com>
27838 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
27839 * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
27841 * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
27842 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
27843 * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
27845 (__rawmemchr_sse2): Likewise.
27846 * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
27847 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
27848 (__strchr_sse2): Likewise.
27849 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
27850 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
27851 (__strcasecmp_sse2): Likewise.
27852 (__strncasecmp_sse2): Likewise.
27853 * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
27854 * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
27855 * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
27856 * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
27857 (__strrchr_sse2): Likewise.
27858 * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
27860 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
27861 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
27862 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
27863 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
27864 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
27865 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
27866 * sysdeps/x86_64/multiarch/memset.S: Likewise.
27867 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
27868 * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
27869 * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
27870 * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
27871 * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
27872 * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
27873 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
27874 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
27875 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
27876 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
27877 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
27878 * sysdeps/x86_64/multiarch/strlen.S: Likewise.
27879 * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
27880 * sysdeps/x86_64/multiarch/strncat.S: Likewise.
27881 * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
27882 * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
27883 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
27884 * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
27885 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
27886 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
27887 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
27888 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
27889 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
27891 * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
27893 * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
27894 * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
27895 * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
27896 * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
27898 * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
27900 * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
27901 * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
27902 * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
27903 * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
27905 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
27906 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
27907 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
27908 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
27909 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
27910 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
27911 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
27912 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
27913 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
27914 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
27915 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
27916 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
27917 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
27918 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
27919 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
27920 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
27921 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
27922 * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
27923 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
27924 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
27925 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
27926 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
27927 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
27928 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
27929 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
27930 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
27931 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
27932 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
27933 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
27934 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
27935 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
27936 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
27937 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
27938 * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
27939 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
27940 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
27941 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
27942 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
27943 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
27944 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
27945 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
27947 * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
27948 [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
27949 * include/ifunc-impl-list.h: New file.
27950 * misc/ifunc-impl-list.c: Likewise.
27951 * misc/Makefile (routines): Add ifunc-impl-list.
27952 * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
27953 * string/test-string.h: Include <ifunc-impl-list.h>.
27954 (func_list, func_count, impl_count, impl_array) [TEST_IFUNC &&
27955 TEST_NAME]: New variables.
27956 (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
27958 (test_init): Call __libc_ifunc_impl_list to initialize
27959 func_list if TEST_IFUNC and TEST_NAME are defined.
27961 * string/Makefile (strop-tests): Add bcopy and bzero.
27962 * string/test-bcopy.c: New file.
27963 * string/test-bzero.c: Likewise.
27964 * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
27966 * string/test-memset.c: Support bzero test if TEST_BZERO is
27968 * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
27970 * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
27972 * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
27975 2012-10-10 Joseph Myers <joseph@codesourcery.com>
27977 * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
27978 * configure: Regenerated.
27980 * Makeconfig (+link-static-before-libc): Don't include
27981 $(link-static-libc).
27983 * libio/libio.h (_IO_pos_t): Remove.
27985 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
27987 * NEWS: Add note about FIPS mode. Wording suggested by Roland
27990 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
27992 * crypt/crypt-entry.c: Include fips-private.h.
27993 (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
27994 * crypt/md5c-test.c (main): Tolerate disabled MD5.
27995 * sysdeps/unix/sysv/linux/fips-private.h: New file.
27996 * sysdeps/generic/fips-private.h: New file, dummy fallback.
27998 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
28000 * crypt/crypt-private.h: Include stdbool.h.
28001 (_ufc_setup_salt_r): Return bool.
28002 * crypt/crypt-entry.c: Include errno.h.
28003 (__crypt_r): Return NULL with EINVAL for bad salt.
28004 * crypt/crypt_util.c (bad_for_salt): New.
28005 (_ufc_setup_salt_r): Check that salt is long enough and within
28006 the specified alphabet.
28007 * crypt/badsalttest.c: New file.
28008 * crypt/Makefile (tests): Add it.
28009 ($(objpfx)badsalttest): New.
28011 2012-10-09 Maxim Kuvyrkov <maxim@codesourcery.com>
28013 * NEWS: Add entry for BZ #14602.
28015 2012-10-09 Joseph Myers <joseph@codesourcery.com>
28017 * math/gen-libm-test.pl (parse_args): Handle comparison macros as
28019 * math/libm-test.inc: Update comment listing what functions and
28021 (isgreater_test): New function.
28022 (isgreaterequal_test): Likewise.
28023 (isless_test): Likewise.
28024 (islessequal_test): Likewise.
28025 (islessgreater_test): Likewise.
28026 (isunordered_test): Likewise.
28027 (main): Call the new functions.
28029 2012-10-09 Roland McGrath <roland@hack.frob.com>
28031 * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
28032 _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
28033 AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
28034 * sysdeps/i386/configure: Regenerated.
28035 * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
28036 * sysdeps/mach/configure: Regenerated.
28037 * sysdeps/mach/hurd/configure: Regenerated.
28038 * sysdeps/powerpc/configure: Regenerated.
28039 * sysdeps/powerpc/powerpc32/configure: Regenerated.
28040 * sysdeps/powerpc/powerpc64/configure: Regenerated.
28041 * sysdeps/s390/s390-32/configure: Regenerated.
28042 * sysdeps/s390/s390-64/configure: Regenerated.
28043 * sysdeps/sh/configure: Regenerated.
28044 * sysdeps/sparc/configure: Regenerated.
28045 * sysdeps/unix/sysv/linux/configure: Regenerated.
28046 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
28047 * sysdeps/x86_64/configure: Regenerated.
28049 * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
28050 defined. Don't check if MAP is NULL.
28052 2012-10-09 Joseph Myers <joseph@codesourcery.com>
28054 * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
28055 (_G_stat64): Likewise.
28056 * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
28057 (_G_stat64): Likewise.
28058 * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
28059 instead of struct _G_stat64.
28060 * libio/fileops.c (mmap_remap_check): Likewise.
28061 (decide_maybe_mmap): Likewise.
28062 (_IO_new_file_seekoff): Likewise.
28063 (_IO_file_stat): Likewise.
28064 * libio/libio.h (_IO_off64_t): Define to __off64_t, not
28066 * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
28067 instead of struct _G_stat64.
28068 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
28070 2012-10-08 Maxim Kuvyrkov <maxim@codesourcery.com>
28073 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
28075 (CHECK_EOL): New macro.
28076 (two_way_short_needle): Check beginning of haystack for EOL. Use
28078 * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
28079 Replace with CHECK_EOL.
28080 * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
28081 Replace with CHECK_EOL.
28083 2012-10-08 Joseph Myers <joseph@codesourcery.com>
28085 * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
28087 * math/libm-test.inc: Update comment listing what functions and
28089 (finite_test): New function.
28090 (isinf_test): Likewise.
28091 (isnan_test): Likewise.
28092 (fpclassify_test): Test subnormal input.
28093 (isfinite_test): Likewise.
28094 (isnormal_test): Likewise.
28095 (main): Call the new functions.
28097 2012-10-08 Jonathan Nieder <jrnieder@gmail.com>
28100 * Makerules (%.dynsym): Force C locale when running
28101 $(OBJDUMP) --dynamic-syms.
28103 2012-10-08 Andreas Schwab <schwab@linux-m68k.org>
28105 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
28108 2012-10-06 David S. Miller <davem@davemloft.net>
28110 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
28111 upper 32-bits of the length value in %o2 since we use branch-on-register
28112 tests which consider the entire 64-bit register.
28114 2012-10-06 H.J. Lu <hongjiu.lu@intel.com>
28116 * string/test-strstr.c (check2): Add a test for page boundary.
28118 2012-10-05 David S. Miller <davem@davemloft.net>
28120 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
28121 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
28123 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
28125 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
28126 * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
28127 and bzero when HWCAP_SPARC_CRYPTO is present.
28129 2012-10-05 H.J. Lu <hongjiu.lu@intel.com>
28132 * string/test-strstr.c (check2): New function.
28133 (test_main): Call check2.
28135 * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
28137 * string/bug-strcasestr1.c (do_test): Moved to ...
28138 * string/test-strcasestr.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-strchr1.c (do_test): Moved to ...
28144 * string/test-strchr.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-strstr1.c (main): Moved to ...
28150 * string/test-strstr.c (check1): Here. New function.
28151 (do_one_test): Break out result checking code into ...
28152 (check_result): This. New function.
28153 (do_one_test): Call check_result.
28154 (test_main): Call check1.
28155 * string/bug-strcasestr1.c: Removed.
28156 * string/bug-strchr1.c: Likewise.
28157 * string/bug-strstr1.c: Likewise.
28159 * elf/Makefile (dl-routines): Add hwcaps.
28160 * elf/dl-support.c (_dl_important_hwcaps): Removed.
28161 * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
28162 (_dl_important_hwcaps): Moved to ...
28163 * elf/dl-hwcaps.c: Here. New file.
28164 * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
28167 * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
28168 if IS_IN_rtld isn't defined.
28170 * elf/dl-support.c (_dl_sysinfo_map): New.
28171 Include "get-dynamic-info.h" and "setup-vdso.h".
28172 (_dl_non_dynamic_init): Call setup_vdso.
28173 * elf/dynamic-link.h: Don't include <assert.h>.
28174 (elf_get_dynamic_info): Moved to ...
28175 * elf/get-dynamic-info.h: Here. New file.
28176 * elf/dynamic-link.h: Include "get-dynamic-info.h".
28177 * elf/rtld.c (dl_main): Break out vDSO setup code into ...
28178 * elf/setup-vdso.h: Here. New file.
28179 * elf/rtld.c: Include "setup-vdso.h".
28180 (dl_main): Call setup_vdso.
28182 2012-10-05 Joseph Myers <joseph@codesourcery.com>
28184 * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
28185 creal in comment listing functions tested. List finite, isinf,
28186 isnan, isless, islessequal, isgreater, isgreaterequal,
28187 islessgreater, isunordered, lgamma_r and pow10 as functions and
28188 macros not tested. Mention which functions not tested are aliases
28189 for other functions. Fix typo. Note that signs of NaNs are not
28192 * scripts/config.guess: Update from config.git.
28193 * scripts/config.sub: Likewise.
28195 2012-10-04 Roland McGrath <roland@hack.frob.com>
28197 * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
28198 * misc/madvise.c (madvise): Renamed to __madvise.
28199 Make madvise a weak alias.
28200 * include/sys/mman.h: Declare __madvise.
28201 Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
28202 * sysdeps/unix/syscalls.list
28203 (madvise): Make __madvise the strong name, and madvise a weak alias.
28204 * sysdeps/unix/sysv/linux/syscalls.list
28205 (madvise, mmap): Remove redundant entries.
28206 * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
28207 * malloc/malloc.c (mtrim): Likewise.
28208 * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
28210 2012-10-03 Roland McGrath <roland@hack.frob.com>
28212 * sysdeps/mach/hurd/dl-cache.c: File removed.
28213 * config.h.in (USE_LDCONFIG): New #undef.
28214 * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
28215 * configure: Regenerated.
28216 * elf/Makefile (dl-routines): Add dl-cache only under
28217 [$(use-ldconfig) = yes].
28218 * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
28219 cache on [USE_LDCONFIG].
28220 * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
28222 * elf/rtld.c (dl_main): Likewise.
28224 2012-10-03 Pino Toscano <toscano.pino@tiscali.it>
28226 * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
28227 _SC_LEVEL4_CACHE_LINESIZE.
28229 2012-10-03 Roland McGrath <roland@hack.frob.com>
28231 * sysdeps/unix/bsd/confstr.h: File removed.
28233 2012-10-02 Alexandre Oliva <aoliva@redhat.com>
28235 * scripts/check-local-headers.sh: Exclude sys/sdt.h and
28238 2012-10-02 Roland McGrath <roland@hack.frob.com>
28240 * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
28241 Make 'mapoff' field ElfW(Off) rather than off_t.
28243 2012-10-02 Dmitry V. Levin <ldv@altlinux.org>
28245 * nscd/Makefile: Remove nscd-cflags and all its users.
28246 (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
28247 (CFLAGS-nonlib): Add compiler flags for nscd modules.
28250 * malloc.c (malloc_printerr): Clarify error message.
28252 2012-10-02 H.J. Lu <hongjiu.lu@intel.com>
28255 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
28256 Set bit_FMA_Usable if FMA is supported.
28257 * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
28259 (bit_FMA4_Usable): Updated.
28260 (index_FMA_Usable): New macro.
28261 (CPUID_FMA): Likewise
28262 (HAS_FMA): Defined with bit_FMA_Usable.
28264 2012-10-01 Roland McGrath <roland@hack.frob.com>
28266 * bits/types.h (__swblk_t): Type removed.
28267 * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
28268 * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
28269 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
28270 (__SWBLK_T_TYPE): Likewise.
28271 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
28272 (__SWBLK_T_TYPE): Likewise.
28273 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
28274 (__SWBLK_T_TYPE): Likewise.
28275 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
28276 (__SWBLK_T_TYPE): Likewise.
28278 2012-10-01 Patsy Franklin <pfrankli@redhat.com>
28279 Honza Horak <hhorak@redhat.com>
28281 * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
28282 (xdr_mapname): Use YPMAXMAP as maxsize.
28283 (xdr_peername): Use YPMAXPEER as maxsize.
28284 (xdr_keydat): Use YPAXRECORD as maxsize.
28285 (xdr_valdat): Use YPMAXRECORD as maxsize.
28287 2012-10-01 Roland McGrath <roland@hack.frob.com>
28289 * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
28291 * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
28292 * csu/init-first.c: ... here.
28293 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
28294 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
28295 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
28296 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
28297 * sysdeps/i386/init-first.c: File removed.
28298 * sysdeps/sh/init-first.c: File removed.
28300 2012-10-01 Joseph Myers <joseph@codesourcery.com>
28303 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
28304 if x * y might underflow to zero and z is zero.
28305 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
28306 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
28307 * math/libm-test.inc (min_subnorm_value): New variable.
28308 (fma_test): Add more tests.
28309 (fma_test_towardzero): Likewise.
28310 (fma_test_downward): Likewise
28311 (fma_test_upward): Likewise.
28312 (initialize): Set min_subnorm_value.
28314 2012-09-29 Joseph Myers <joseph@codesourcery.com>
28317 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
28319 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
28320 mode for addition resulting in exact zero.
28321 * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
28322 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
28324 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
28325 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
28326 * math/libm-test.inc (fma_test): Add more tests.
28327 (fma_test_towardzero): New function.
28328 (fma_test_downward): Likewise.
28329 (fma_test_upward): Likewise.
28330 (main): Call the new functions.
28332 2012-09-28 David S. Miller <davem@davemloft.net>
28334 * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
28336 2012-09-28 Roland McGrath <roland@hack.frob.com>
28338 * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
28339 instead of SIGALRM.
28341 * sysdeps/gnu/_G_config.h: Moved to ...
28342 * sysdeps/unix/sysv/linux/_G_config.h: ... here.
28343 * sysdeps/mach/hurd/_G_config.h: Moved to ...
28344 * sysdeps/generic/_G_config.h: ... here.
28346 * io/open.c (__open): Renamed to __libc_open. Make __open an alias.
28348 * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
28350 * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
28351 Conditionalize target on [libnss_test1.so-version].
28353 * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
28355 * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
28356 (elfobjdir): Move out of conditionals.
28358 * nss/nsswitch.c (nss_new_service): Conditionalize definition and
28359 declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
28360 (__nss_lookup_function): Conditionalize label remove_from_tree on
28361 [!DO_STATIC_NSS || SHARED], matching its only use.
28363 2012-09-28 David S. Miller <davem@davemloft.net>
28365 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
28366 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
28368 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
28370 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
28371 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
28372 when HWCAP_SPARC_CRYPTO is present.
28374 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
28376 * io/tst-mknodat.c: Create a FIFO instead of a socket.
28378 2012-09-28 Andreas Schwab <schwab@linux-m68k.org>
28381 * stdio-common/vfprintf.c (process_string_arg): Revert
28384 2011-09-28 Jonathan Nieder <jrnieder@gmail.com>
28386 * stdio-common/Makefile (tst-sprintf-ENV): Set environment
28388 * stdio-common/tst-sprintf.c: Include <locale.h>
28389 (main): Test sprintf's handling of incomplete multibyte
28392 2012-09-28 H.J. Lu <hongjiu.lu@intel.com>
28394 * elf/dl-runtime.c (VERSYMIDX): Removed.
28395 * elf/dl-version.c (VERSYMIDX): Likewise.
28396 * elf/do-rel.h (VERSYMIDX): Likewise.
28397 (VALIDX): Likewise.
28398 * elf/dynamic-link.h (VERSYMIDX): Likewise.
28399 * elf/rtld.c (VALIDX): Likewise.
28400 (ADDRIDX): Likewise.
28401 * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
28402 * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
28403 * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
28404 * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
28405 (VALIDX): Likewise.
28406 (ADDRIDX): Likewise.
28408 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
28410 * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
28412 2012-09-28 Dmitry V. Levin <ldv@altlinux.org>
28415 * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
28417 * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
28418 addresses are in the same scope as 192.0.2/24.
28419 * posix/gai.conf: Document new scope table defaults.
28421 2012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
28424 * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
28425 for ftell. Compute offsets from write pointers instead.
28426 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
28428 2012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
28431 * libio/Makefile (tests): New test case tst-fseek.
28432 * libio/tst-fseek.c: New test case to verify that fseek/ftell
28433 combination works in wide mode.
28434 * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
28435 state when the external buffer state changes.
28437 2012-09-27 David S. Miller <davem@davemloft.net>
28440 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
28441 pass reloc->r_addend in as the 'high' argument to
28442 sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
28444 * sysdeps/sparc/fpu/libm-test-ulps: Update.
28446 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
28448 * rt/tst-aio2.c: Include <pthread.h>.
28449 * rt/tst-aio3.c: Likewise.
28451 2012-09-27 Steve Ellcey <sellcey@mips.com>
28453 * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
28455 2012-09-27 H.J. Lu <hongjiu.lu@intel.com>
28457 * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
28458 contents on [SHARED].
28460 2012-09-26 Marek Polacek <polacek@redhat.com>
28464 * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
28465 for C++ and GCC <4.3 as well as for non GCC compilers.
28467 2012-09-26 Markus Trippelsdorf <markus@trippelsdorf.de>
28469 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
28471 2012-09-25 Roland McGrath <roland@hack.frob.com>
28473 * Makefile.in (all, install): Declare with .PHONY.
28474 Reported by Michael Hope <michael.hope@linaro.org>.
28476 2012-09-25 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
28478 * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
28479 * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
28481 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
28483 (sydep_routines): Add the new and the internal functions.
28484 * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
28485 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
28486 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
28487 (GLIBC_2.17): Add the new function.
28488 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
28489 (GLIBC_2.17): Likewise.
28490 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
28491 (GLIBC_2.17): Likewise.
28492 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
28493 (GLIBC_2.17): Likewise.
28494 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
28496 2012-09-25 Alan Modra <amodra@gmail.com>
28498 * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
28499 Add release barrier before setting once_control to say
28500 initialisation is done. Add hints on lwarx. Use macro in
28502 (clear_once_control): Add release barrier.
28504 2012-09-25 Joseph Myers <joseph@codesourcery.com>
28507 * math/s_clog.c (__clog): Handle more values close to |z| = 1
28509 * math/s_clog10.c (__clog10): Likewise.
28510 * math/s_clog10f.c (__clog10f): Likewise.
28511 * math/s_clog10l.c (__clog10l): Likewise.
28512 * math/s_clogf.c (__clogf): Likewise.
28513 * math/s_clogl.c (__clogl): Likewise.
28514 * math/Makefile (libm-calls): Add x2y2m1.
28515 * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
28516 (__x2y2m1): Likewise.
28517 (__x2y2m1l): Likewise.
28518 * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
28519 * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
28520 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
28521 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
28522 * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
28523 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
28524 * math/libm-test.inc (clog_test, clog10_test): Add more tests.
28525 * sysdeps/i386/fpu/libm-test-ulps: Update.
28526 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28529 * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
28530 int as type of variable DEPTH.
28531 (glob): Use size_t instead of int as type of variables NEWCOUNT
28534 2012-09-25 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
28536 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
28537 Add s_sincosf-sse2.
28538 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
28539 * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
28540 * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
28541 macros for using routine as __sincosf_ia32.
28542 Use macro for function declaration and weak_alias.
28543 * sysdeps/i386/fpu/libm-test-ulps: Update.
28545 * sysdeps/x86_64/fpu/s_sincosf.S: New file.
28546 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
28548 * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
28549 subnormal argument.
28550 * math/s_cexpf.c (__cexpf): Likewise.
28551 * math/s_csinf.c (__csinf): Likewise.
28552 * math/s_csinhf.c (__csinhf): Likewise.
28553 * math/s_ctanf.c (__ctanf): Likewise.
28554 * math/s_ctanhf.c (__ctanhf): Likewise.
28555 * math/s_ccosh.c (__ccoshf): Likewise.
28556 * math/s_cexp.c (__cexpl): Likewise.
28557 * math/s_csin.c (__csin): Likewise.
28558 * math/s_csinh.c (__csinh): Likewise.
28559 * math/s_ctan.c (__ctan): Likewise.
28560 * math/s_ctanh.c (ctanh): Likewise.
28561 * math/s_ccoshl.c (__ccoshl): Likewise.
28562 * math/s_cexpl.c (__cexpl): Likewise.
28563 * math/s_csinl.c (__csinl): Likewise.
28564 * math/s_csinhl.c (__csinhl): Likewise.
28565 * math/s_ctanl.c (__ctanl): Likewise.
28566 * math/s_ctanhl.c (__ctanhl): Likewise.
28568 2012-09-25 Joseph Myers <joseph@codesourcery.com>
28570 * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
28571 (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
28572 (_IO_off_t): Define to __off_t, not _G_off_t.
28573 (_IO_pid_t): Define to __pid_t, not _G_pid_t.
28574 (_IO_uid_t): Define to __uid_t, not _G_uid_t.
28575 (_IO_wint_t): Define to wint_t, not _G_wint_t.
28576 * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
28577 type of __dummy and __dummy2 fields.
28578 * sysdeps/generic/_G_config.h (_G_size_t): Remove.
28579 (_G_ssize_t): Likewise.
28580 (_G_off_t): Likewise.
28581 (_G_pid_t): Likewise.
28582 (_G_uid_t): Likewise.
28583 (_G_wchar_t): Likewise.
28584 (_G_wint_t): Likewise.
28585 * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
28586 (_G_ssize_t): Likewise.
28587 (_G_off_t): Likewise.
28588 (_G_pid_t): Likewise.
28589 (_G_uid_t): Likewise.
28590 (_G_wchar_t): Likewise.
28591 (_G_wint_t): Likewise.
28592 * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
28593 (_G_ssize_t): Likewise.
28594 (_G_off_t): Likewise.
28595 (_G_pid_t): Likewise.
28596 (_G_uid_t): Likewise.
28597 (_G_wchar_t): Likewise.
28598 (_G_wint_t): Likewise.
28600 2012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
28602 * malloc/arena.c: Include malloc-sysdep.h.
28603 (shrink_heap): Use check_may_shrink_heap to decide if madvise
28604 is sufficient to shrink the heap or an unmap is needed.
28605 * sysdeps/generic/malloc-sysdep.h: New file. Define
28606 new function check_may_shrink_heap.
28607 * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file. Define
28608 new function check_may_shrink_heap.
28610 2012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
28612 * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
28615 2012-09-24 Dmitry V. Levin <ldv@altlinux.org>
28617 * catgets/test-gencat.sh: Add "set -e".
28618 * elf/tst-pathopt.sh: Likewise.
28619 * grp/tst_fgetgrent.sh: Likewise.
28620 * iconvdata/run-iconv-test.sh: Likewise.
28621 * intl/tst-gettext.sh: Likewise.
28622 * intl/tst-gettext2.sh: Likewise.
28623 * intl/tst-gettext4.sh: Likewise.
28624 * intl/tst-gettext6.sh: Likewise.
28625 * intl/tst-translit.sh: Likewise.
28626 * io/ftwtest-sh: Likewise.
28627 * libio/test-freopen.sh: Likewise.
28628 * malloc/tst-mtrace.sh: Likewise.
28629 * posix/globtest.sh: Likewise.
28630 * posix/tst-getconf.sh: Likewise.
28631 * posix/wordexp-tst.sh: Likewise.
28632 * stdio-common/tst-printf.sh: Likewise.
28633 * stdio-common/tst-unbputc.sh: Likewise.
28634 * stdlib/tst-fmtmsg.sh: Likewise.
28635 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
28636 * catgets/Makefile: Do not specify -e option when running
28637 testsuite shell scripts.
28638 * elf/Makefile: Likewise.
28639 * grp/Makefile: Likewise.
28640 * iconvdata/Makefile: Likewise.
28641 * intl/Makefile: Likewise.
28642 * io/Makefile: Likewise.
28643 * libio/Makefile: Likewise.
28644 * malloc/Makefile: Likewise.
28645 * posix/Makefile: Likewise.
28646 * stdio-common/Makefile: Likewise.
28647 * stdlib/Makefile: Likewise.
28648 * sysdeps/x86_64/Makefile: Likewise.
28650 * io/ftwtest-sh: Add copyright header.
28651 * posix/globtest.sh: Likewise.
28652 * posix/tst-getconf.sh: Likewise.
28653 * posix/wordexp-tst.sh: Likewise.
28654 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
28656 2012-09-24 H.J. Lu <hongjiu.lu@intel.com>
28659 * Makeconfig (+link): Defined as $(+link-static) if
28660 $(build-shared) isn't yes.
28661 (link-tests): Defined as $(+link-static-tests) if $(build-shared)
28663 (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
28665 * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
28668 * malloc/arena.c (heap_trim): Properly get fencepost and adjust
28669 new chunk size with MALLOC_ALIGN_MASK.
28671 2012-09-24 Joseph Myers <joseph@codesourcery.com>
28674 * stdio-common/printf_fphex.c: Include <stdbool.h> and
28676 (__printf_fphex): Determine rounding using get_rounding_mode and
28678 * stdio-common/tst-printf-round.c (struct hex_test): New
28680 (hex_tests): New variable.
28681 (test_hex_in_one_mode): New function.
28682 (do_test): Also run tests for hex float output.
28684 2012-09-21 Joseph Myers <joseph@codesourcery.com>
28686 * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
28687 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
28688 * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
28689 * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
28690 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
28691 * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
28692 * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
28693 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
28695 2012-09-20 Joseph Myers <joseph@codesourcery.com>
28697 * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
28698 * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
28699 * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
28700 * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
28702 2012-09-19 Dmitry V. Levin <ldv@altlinux.org>
28705 * elf/rtld.c (dl_main): Limit the check for self loading to normal
28707 * elf/tst-rtld-load-self.sh: New test.
28708 * elf/Makefile: Run it.
28710 2012-09-18 Joseph Myers <joseph@codesourcery.com>
28712 * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
28713 (tst-writev-ENV): Remove.
28714 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
28716 2012-09-17 Chris Metcalf <cmetcalf@tilera.com>
28718 * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
28720 2012-09-17 Joseph Myers <joseph@codesourcery.com>
28722 * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
28724 * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
28726 * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
28727 * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
28728 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
28731 2012-09-14 H.J. Lu <hongjiu.lu@intel.com>
28734 * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
28735 * config.make.in (have-cpp-asm-debuginfo): Removed.
28736 * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
28737 * configure: Regenerated.
28739 2012-09-14 Joseph Myers <joseph@codesourcery.com>
28742 * stdio-common/printf_fp.c: Include <stdbool.h> and
28744 (___printf_fp): Determine rounding using get_rounding_mode and
28746 * stdio-common/tst-printf-round.c: New file.
28747 * stdio-common/Makefile (tests): Add tst-printf-round.
28748 (link-libm): New variable.
28749 ($(objpfx)tst-printf-round): Depend in $(link-libm).
28751 2012-09-13 H.J. Lu <hongjiu.lu@intel.com>
28754 * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
28755 * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
28757 * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
28760 2012-09-13 Joseph Myers <joseph@codesourcery.com>
28762 * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
28763 * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
28764 * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
28765 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
28767 2012-09-12 Joseph Myers <joseph@codesourcery.com>
28770 * include/rounding-mode.h: New file.
28771 * sysdeps/generic/get-rounding-mode.h: Likewise.
28772 * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
28773 * stdlib/strtod_l.c: Include <rounding-mode.h>.
28774 (MAX_VALUE): New macro.
28775 (MIN_VALUE): Likewise.
28776 (overflow_value): New function.
28777 (underflow_value): Likewise.
28778 (round_and_return): Use overflow_value and underflow_value to
28779 determine return values in overflow and underflow cases. Use
28780 round_away to determine rounding depending on rounding mode.
28781 (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
28782 determine return values in overflow and underflow cases.
28783 * stdlib/tst-strtod-round.c: Include <fenv.h>.
28784 (struct test_results): New structure.
28785 (struct test): Use struct test_results to store expected results
28786 for all rounding modes.
28787 (TEST): Include expected results for all rounding modes.
28788 (test_in_one_mode): New function.
28789 (do_test): Use test_in_one_mode to compute and check results.
28790 Check results for all rounding modes.
28791 * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
28794 2012-12-09 Allan McRae <allan@archlinux.org>
28796 * sysdeps/i386/fpu/libm-test-ulps: Update
28798 2012-09-11 Joseph Myers <joseph@codesourcery.com>
28800 * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
28801 (_G_int32_t): Likewise.
28802 (_G_uint16_t): Likewise.
28803 (_G_uint32_t): Likewise.
28804 (_G_HAVE_BOOL): Likewise.
28805 (_G_HAVE_ATEXIT): Likewise.
28806 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
28807 (_G_HAVE_IO_FILE_OPEN): Likewise.
28808 * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
28809 (_G_int32_t): Likewise.
28810 (_G_uint16_t): Likewise.
28811 (_G_uint32_t): Likewise.
28812 (_G_HAVE_BOOL): Likewise.
28813 (_G_HAVE_ATEXIT): Likewise.
28814 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
28815 (_G_HAVE_IO_FILE_OPEN): Likewise.
28816 * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
28817 (_G_int32_t): Likewise.
28818 (_G_uint16_t): Likewise.
28819 (_G_uint32_t): Likewise.
28820 (_G_HAVE_BOOL): Likewise.
28821 (_G_HAVE_ATEXIT): Likewise.
28822 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
28823 (_G_HAVE_IO_FILE_OPEN): Likewise.
28825 2012-09-11 H.J. Lu <hongjiu.lu@intel.com>
28827 * csu/libc-tls.c: Update copyright years.
28829 2012-09-10 Joseph Myers <joseph@codesourcery.com>
28831 * libioP.h [_G_USING_THUNKS]: Make code unconditional.
28832 [!_G_USING_THUNKS]: Remove conditional code.
28833 * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
28834 * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
28836 * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
28837 [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
28838 * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
28839 (_G_VTABLE_LABEL_PREFIX): Likewise.
28840 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
28841 * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
28842 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
28843 (_G_VTABLE_LABEL_PREFIX): Likewise.
28844 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
28845 * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
28846 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
28847 (_G_VTABLE_LABEL_PREFIX): Likewise.
28848 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
28850 2012-09-10 H.J. Lu <hongjiu.lu@intel.com>
28852 * libio/Makefile: Include ../Makeconfig before tests.
28853 (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
28854 only if $(build-shared) is yes.
28856 * iconv/gconv_db.c: Update copyright years.
28858 2012-09-10 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
28860 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
28861 unwind info if defined PIC. Fix special cases description.
28862 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
28864 * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
28866 * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
28868 2012-09-07 H.J. Lu <hongjiu.lu@intel.com>
28870 * scripts/check-local-headers.sh: Add "shopt -s nullglob".
28872 * iconv/gconv_db.c (free_derivation): Check if deriv->steps
28875 * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
28876 (LDLIBS-tst-chk4): This.
28877 (LDFLAGS-tst-chk5): Renamed to ...
28878 (LDLIBS-tst-chk5): This.
28879 (LDFLAGS-tst-chk6): Renamed to ...
28880 (LDLIBS-tst-chk6): This.
28881 (LDFLAGS-tst-lfschk4): Renamed to ...
28882 (LDLIBS-tst-lfschk4): This.
28883 (LDFLAGS-tst-lfschk5): Renamed to ...
28884 (LDLIBS-tst-lfschk5): This.
28885 (LDFLAGS-tst-lfschk6): Renamed to ...
28886 (LDLIBS-tst-lfschk6): This.
28888 * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
28889 on $(common-objpfx)soversions.mk.
28891 2012-09-07 Joseph Myers <joseph@codesourcery.com>
28894 * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
28897 2012-09-07 Siddhesh Poyarekar <siddhesh@redhat.com>
28899 * malloc/arena.c (arena_get_retry): New function that gets
28900 another arena for the caller to try its request on.
28901 * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
28902 current arena cannot fulfill the request.
28903 (__libc_memalign): Likewise.
28904 (__libc_memalign): Likewise.
28905 (__libc_pvalloc): Likewise.
28906 (__libc_calloc): Likewise.
28908 2012-09-05 John Tobey <john.tobey@gmail.com>
28911 * manual/arith.texi (Operations on Complex): Fix description
28912 of carg branch cut.
28914 2012-09-06 Joseph Myers <joseph@codesourcery.com>
28917 * manual/socket.texi (Host Addresses): Use www.gnu.org as example
28921 * manual/memory.texi (Memory): Make order of menu items match
28924 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
28926 * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
28927 (_dl_initial_dtv): New. Defined if SHARED isn't defined.
28928 (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
28930 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
28932 * csu/libc-tls.c (static_dtv): Renamed to ...
28933 (_dl_static_dtv): This. Make it global.
28934 (_dl_initial_dtv): Removed.
28935 (__libc_setup_tls): Updated.
28936 * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
28937 (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
28940 2012-09-06 Petr Machata <pmachata@redhat.com>
28942 * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
28943 (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
28944 (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
28945 (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
28947 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
28950 * csu/libc-tls.c (_dl_initial_dtv): New variable.
28951 * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
28954 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
28957 * Makeconfig (link-static-before-libc): Replace $(+prector)
28959 (link-static-after-libc): Replace $(+postctor) with
28961 (link-bounded): Replace $(+prector)/$(+postctor) with
28962 $(+prectorT)/$(+postctorT).
28963 (+prectorT): New macro.
28964 (+postctorT): Likewise.
28966 2012-09-06 Joseph Myers <joseph@codesourcery.com>
28968 * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
28969 (round_str): Handle values above the maximum for IBM long double
28971 * stdlib/tst-strtod-round.c (tests): Regenerated.
28973 2012-09-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
28975 * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
28977 * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
28978 zarch_nohighgprs around the zarch optimized routines.
28979 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
28980 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
28981 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
28984 2012-09-05 David S. Miller <davem@davemloft.net>
28986 * sysdeps/sparc/fpu/libm-test-ulps: Update.
28988 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE)
28989 (HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
28990 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
28991 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
28994 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
28996 * malloc/arena.c: Fold copyright years.
28997 * malloc/mcheck.c, malloc/memusage.c: Likewise.
28999 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
29001 * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
29003 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
29005 * manual/contrib.texi (Contributors): Fix typo. Complete entry.
29007 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
29009 * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
29010 change internal state upon failure.
29012 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
29014 * malloc/mcheck.c (mcheck_check_all): Fix typo.
29015 * malloc/memusage.c (mmap): Likewise.
29016 (mmap64, mremap): Likewise. Adjust name in comment.
29018 2012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
29020 * libio/fileops.c: Fix typos in comments.
29021 * libio/oldfileops.c: Likewise.
29022 * libio/wfileops.c: Likewise.
29024 2012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
29027 * malloc/Makefile (tests): Add tst-malloc-usable test case.
29028 (tst-malloc-usable-ENV): Set environment for test case.
29029 * malloc/hooks.c (malloc_check_get_size): New function to get
29031 * malloc/malloc.c (musable): Use malloc_check_get_size.
29032 * malloc/tst-malloc-usable.c: New test case.
29034 2012-09-05 Andreas Schwab <schwab@linux-m68k.org>
29036 * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
29038 2012-09-05 Allan McRae <allan@archlinux.org>
29041 * configure.in (CXX_SYSINCLUDES): Use compiler output to
29042 determine header location.
29043 * configure: Regenerated.
29045 2012-09-05 Andreas Schwab <schwab@linux-m68k.org>
29047 * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
29049 * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
29050 LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
29052 (test): Regenerate.
29054 2012-09-04 David S. Miller <davem@davemloft.net>
29056 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
29057 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
29058 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
29060 2012-09-04 Florian Weimer <fweimer@redhat.com>
29062 * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
29065 * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
29067 2012-09-04 Joseph Myers <joseph@codesourcery.com>
29070 * libio/iogetdelim.c: Include <limits.h>.
29071 (_IO_getdelim): Avoid integer overflow in testing whether cur_len
29072 + len + 1 would overflow.
29074 2012-09-03 Andreas Jaeger <aj@suse.de>
29076 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
29077 * sysdeps/i386/fpu/libm-test-ulps: Update.
29079 2012-09-03 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
29081 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
29082 Add s_sinf-sse2, s_conf-sse2.
29084 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
29085 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
29086 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
29087 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
29089 * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
29090 for using routine as __sinf_ia32.
29091 Use macro for function declaration and weak_alias.
29092 * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
29093 for using routine as __cosf_ia32.
29094 Use macro for function declaration and weak_alias.
29096 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
29097 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
29099 * sysdeps/x86_64/fpu/s_sinf.S: New file.
29100 * sysdeps/x86_64/fpu/s_cosf.S: New file.
29101 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
29103 * math/libm-test.inc (cos_test): Add more test cases.
29104 (sin_test): Likewise.
29105 (sincos_test): Likewise.
29107 2012-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
29109 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
29110 (IFUNC_RESOLVE): Make pointers to the specialized implementations
29112 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
29114 2012-09-02 H.J. Lu <hongjiu.lu@intel.com>
29117 * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
29118 first element of the GOT.
29119 (elf_machine_load_address): Return the difference between
29120 the runtime address of _DYNAMIC and elf_machine_dynamic ().
29122 2012-09-01 Allan McRae <allan@archlinux.org>
29125 * configure.in (AWK): Require gawk version 3.0 or later.
29126 * configure: Regenerated.
29128 2012-09-01 Joseph Myers <joseph@codesourcery.com>
29130 * sysdeps/unix/sysv/linux/kernel-features.h
29131 (__ASSUME_POSIX_CPU_TIMERS): Remove.
29132 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
29133 [__NR_clock_getres]: Make code unconditional.
29134 [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
29135 (clock_getcpuclockid): Remove code left unreachable by removal of
29137 * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
29138 code unconditional.
29139 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
29140 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
29141 * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
29142 Make code unconditional.
29143 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
29144 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
29145 * sysdeps/unix/sysv/linux/clock_settime.c
29146 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
29148 [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
29149 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
29151 2012-08-29 H.J. Lu <hongjiu.lu@intel.com>
29154 * Makefile (install): Also pass LD_SO=$(ld.so-version) to
29155 scripts/test-installation.pl.
29157 * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
29158 and $ld_so_version if it is set.
29160 2012-08-29 Siddhesh Poyarekar <siddhesh@redhat.com>
29163 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
29164 failure if reading from procfs failed.
29165 * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
29167 2012-08-27 Joseph Myers <joseph@codesourcery.com>
29169 * sysdeps/unix/sysv/linux/kernel-features.h
29170 (__ASSUME_STAT64_SYSCALL): Remove all definitions.
29171 * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
29172 Remove conditional code.
29173 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
29174 * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
29175 Remove conditional code.
29176 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
29177 * sysdeps/unix/sysv/linux/i386/fxstat.c
29178 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
29179 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
29180 * sysdeps/unix/sysv/linux/i386/fxstatat.c
29181 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
29182 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
29183 * sysdeps/unix/sysv/linux/i386/lxstat.c
29184 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
29185 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
29186 * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
29187 Remove conditional code.
29188 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
29189 * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
29190 Remove conditional code.
29191 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
29192 * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
29193 <kernel-features.h>.
29194 [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
29196 * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
29197 Remove conditional code.
29198 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
29199 * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
29200 Remove conditional.
29202 2012-08-27 Mike Frysinger <vapier@gentoo.org>
29205 * NEWS: Add fixed bug number.
29207 2012-08-27 Joseph Myers <joseph@codesourcery.com>
29210 * stdlib/strtod_l.c (round_and_return): Return -0.0 for
29211 underflowing exponent in case of negative sign.
29212 * stdlib/tst-strtod-round-data: Add more tests.
29213 * stdlib/tst-strtod-round.c (tests): Regenerated.
29216 * stdlib/strtod_l.c (NDIG): Remove.
29217 (HEXNDIG): Likewise.
29218 (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
29219 smallest representable value.
29220 (____STRTOF_INTERNAL): Use all fractional decimal digits that may
29221 lie within an exact representation of 1/2 ulp of the result.
29222 * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
29224 (TENS_P9_IDX): Define unconditionally.
29225 (TENS_P9_SIZE): Likewise.
29226 (TENS_P10_IDX): Likewise.
29227 (TENS_P10_SIZE): Likewise.
29228 [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
29229 to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
29230 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
29231 entries for 10^2^13 and 10^2^14.
29232 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
29233 (TENS_P13_IDX): Define.
29234 (TENS_P13_SIZE): Likewise.
29235 (TENS_P14_IDX): Likewise.
29236 (TENS_P14_SIZE): Likewise.
29237 (_fpioconst_pow10): Change array size to
29238 FPIOCONST_POW10_ARRAY_SIZE. Make entries for 10^2^9 and 10^2^10
29240 (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
29241 1024]: Add entries for 10^2^13 and 10^2^14.
29242 [LAST_POW10 > _LAST_POW10]: Remove #error.
29243 * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
29244 (_fpioconst_pow10): Change array size to
29245 FPIOCONST_POW10_ARRAY_SIZE.
29246 * stdlib/gen-fpioconst.c: New file.
29247 * stdlib/gen-tst-strtod-round.c: Likewise.
29248 * stdlib/tst-strtod-round-data: Likewise.
29249 * stdlib/tst-strtod-round.c: Likewise.
29250 * stdlib/Makefile (tests): Add tst-strtod-round.
29253 * stdlib/strtod_l.c: Include <stdint.h>.
29254 (NDEBUG): Do not define.
29255 (round_and_return): Change EXPONENT parameter to type intmax_t.
29256 Rearrange calculations to avoid internal overflow possibilities.
29257 (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
29258 Rearrange calculations to avoid internal overflow possibilities.
29259 Assert that number fits inside MPNSIZE limbs.
29260 (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
29261 Change DIG_NO, INT_NO and LEAD_ZERO to type size_t. Rearrange
29262 calculations and add assertions to avoid internal overflow
29263 possibilities. Add casts to avoid signed/unsigned operations.
29264 * stdlib/tst-strtod-overflow.c: New file.
29265 * stdlib/Makefile (tests): Add tst-strtod-overflow.
29267 2012-08-25 Marek Polacek <polacek@redhat.com>
29269 * time/time.h: Fix some typos in comments.
29271 2012-08-23 Roland McGrath <roland@hack.frob.com>
29273 * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
29274 * posix/tst-rfc3484-2.c: Likewise.
29275 * posix/tst-rfc3484-3.c: Likewise.
29277 2012-08-23 Steve McIntyre <steve.mcintyre@linaro.org>
29279 * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
29280 (EF_ARM_ABI_FLOAT_HARD): Likewise.
29282 2012-08-23 Joseph Myers <joseph@codesourcery.com>
29284 * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
29285 #include of fxstatat64.c.
29287 2012-08-22 Roland McGrath <roland@hack.frob.com>
29289 * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
29290 * shadow/getspent_r.c: Likewise.
29291 * shadow/getspnam.c: Likewise.
29292 * shadow/getspnam_r.c: Likewise.
29293 * gshadow/getsgent.c: Likewise.
29294 * gshadow/getsgent_r.c: Likewise.
29295 * gshadow/getsgnam.c: Likewise.
29296 * gshadow/getsgnam_r.c: Likewise.
29297 * inet/getnetbyad.c: Likewise.
29298 * inet/getnetbyad_r.c: Likewise.
29299 * inet/getnetbynm.c: Likewise.
29300 * inet/getnetbynm_r.c: Likewise.
29301 * inet/getnetent.c: Likewise.
29302 * inet/getnetent_r.c: Likewise.
29303 * inet/getproto.c: Likewise.
29304 * inet/getproto_r.c: Likewise.
29305 * inet/getprtent.c: Likewise.
29306 * inet/getprtent_r.c: Likewise.
29307 * inet/getprtname.c: Likewise.
29308 * inet/getprtname_r.c: Likewise.
29309 * inet/getrpcbyname.c: Likewise.
29310 * inet/getrpcbyname_r.c: Likewise.
29311 * inet/getrpcbynumber.c: Likewise.
29312 * inet/getrpcbynumber_r.c: Likewise.
29313 * inet/getrpcent.c: Likewise.
29314 * inet/getrpcent_r.c: Likewise.
29315 * inet/getaliasent.c: Likewise.
29316 * inet/getaliasent_r.c: Likewise.
29317 * inet/getaliasname.c: Likewise.
29318 * inet/getaliasname_r.c: Likewise.
29319 * nscd/getgrgid_r.c: Likewise.
29320 * nscd/getgrnam_r.c: Likewise.
29321 * nscd/gethstbyad_r.c: Likewise.
29322 * nscd/gethstbynm3_r.c: Likewise.
29323 * nscd/getpwnam_r.c: Likewise.
29324 * nscd/getpwuid_r.c: Likewise.
29325 * nscd/getsrvbynm_r.c: Likewise.
29326 * nscd/getsrvbypt_r.c: Likewise.
29327 * nscd/gai.c: Likewise.
29329 * configure.in (build_nscd): New substituted variable, set
29330 by --disable-build-nscd and defaults to $use_nscd.
29331 * configure: Regenerated.
29332 * config.make.in (build-nscd): New substituted variable.
29333 * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
29334 Change conditional to require [$(build-nscd) = yes] as well.
29335 * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
29338 * configure.in (use_nscd): New substituted variable, set by
29339 --disable-nscd. If enabled, define USE_NSCD.
29340 * configure: Regenerated.
29341 * config.h.in: Add USE_NSCD.
29342 * config.make.in (use-nscd): New substituted variable.
29343 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
29344 (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
29345 (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
29346 * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
29347 (CFLAGS-getgrnam_r.c): Likewise.
29348 (CFLAGS-initgroups.c): Likewise.
29349 * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
29350 * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
29352 * inet/getnetgrent_r.c
29353 (nscd_setnetgrent): New function, broken out of ...
29354 (setnetgrent): ... here. Call it.
29355 (innetgr): Conditionalize nscd bits on [USE_NSCD].
29356 (nscd_getnetgrent): Conditionalize on [USE_NSCD].
29357 (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
29358 * nscd/Makefile (routines, aux): Move definitions after include of
29359 Makeconfig. Conditionalize on [$(use-nscd) != no].
29360 * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
29361 Conditionalize on [USE_NSCD].
29362 (is_nscd, nscd_init_cb): Likewise.
29363 (nss_load_library): Conditionalize init callback on [USE_NSCD].
29364 * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
29365 * nss/nss_db/db-init.c: Likewise.
29366 * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
29368 * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
29369 (make_request): Use it.
29370 (cache_valid_p): New function.
29371 (__check_pf): Use it.
29372 * NEWS: Add item for --disable-nscd.
29374 2012-08-22 Dmitry V. Levin <ldv@altlinux.org>
29376 * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
29377 to support sed >= 4.2.1-20-ga9bf076.
29378 * configure: Regenerated.
29380 2012-08-22 Roland McGrath <roland@hack.frob.com>
29382 * csu/libc-start.c (apply_irel): Move extern declarations inside here.
29383 Conditionalize whole body on [IREL].
29385 2012-08-22 Jeff Law <law@redhat.com>
29388 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
29389 if the family is PF_UNSPEC.
29391 2012-08-22 Mike Frysinger <vapier@gentoo.org>
29393 * Makerules (lib-version): Rename from V.
29394 (install-lib-nosubdir): Change V to lib-version.
29396 2012-08-22 Will Schmidt <will_schmidt@vnet.ibm.com>
29399 * powerpc32/power6/wcschr.c: New file.
29400 * powerpc32/power6/wcscpy.c: New file.
29401 * powerpc32/power6/wcsrchr.c: New file.
29402 * powerpc64/power6/wcschr.c: New file.
29403 * powerpc64/power6/wcscpy.c: New file.
29404 * powerpc64/power6/wcsrchr.c: New file.
29406 2012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
29408 * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
29409 (two_way_short_needle): Use it.
29410 * string/strstr.c (AVAILABLE1_USES_J): Define.
29411 * string/strcasestr.c: Likewise.
29413 * string/str-two-way.h (two_way_short_needle): Use pointers instead of
29415 * string/strcasestr.c (TOLOWER): Make side-effect safe.
29418 * NEWS: Add an entry.
29419 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
29420 define their defaults.
29421 (two_way_short_needle): Detect end-of-string on-the-fly.
29422 * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
29423 (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
29424 * string/bug-strcasestr1.c: New test.
29425 * string/Makefile: Run it.
29427 2012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
29430 * string/str-two-way.h (two_way_short_needle): Optimize matching of
29431 the first character.
29433 2012-08-21 Roland McGrath <roland@hack.frob.com>
29435 * csu/elf-init.c (__libc_csu_irel): Function removed.
29436 * csu/libc-start.c (apply_irel): New function.
29437 (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
29439 2012-08-21 Joseph Myers <joseph@codesourcery.com>
29441 * sysdeps/unix/sysv/linux/kernel-features.h
29442 (__ASSUME_FADVISE64_64_SYSCALL): Remove.
29443 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
29444 <kernel-features.h>.
29445 [__NR_fadvise64_64]: Make code unconditional.
29446 [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
29447 [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
29448 !__NR_fadvise64_64)]: Likewise.
29449 [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
29450 !__NR_fadvise64_64))]: Likewise.
29451 [__NR_fadvise64]: Make code unconditional.
29452 [!__NR_fadvise64]: Remove conditional code.
29453 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
29454 <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/powerpc/powerpc32/posix_fadvise64.c: Do
29460 not include <kernel-features.h>.
29461 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
29463 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
29465 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
29466 include <kernel-features.h>.
29467 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
29469 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
29472 2012-08-21 Will Schmidt <will_schmidt@vnet.ibm.com>
29474 * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
29475 slight instruction rearrangements per scrollpipe analysis.
29476 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
29478 2012-08-20 Roland McGrath <roland@hack.frob.com>
29480 * manual/syslog.texi (syslog; vsyslog, closelog):
29481 Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
29482 Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
29484 * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
29485 DSOCAPS to match condition on defining it.
29487 2012-08-20 Joseph Myers <joseph@codesourcery.com>
29489 * sysdeps/unix/sysv/linux/kernel-features.h
29490 (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
29491 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
29492 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
29493 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
29494 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
29495 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
29496 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
29497 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
29498 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
29499 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
29501 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
29502 __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
29504 * sysdeps/unix/sysv/linux/kernel-features.h
29505 (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
29506 * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
29508 [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
29509 * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
29510 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
29511 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
29512 * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
29513 Make code unconditional.
29514 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
29515 (__mmap64) [!__NR_mmap2]: Likewise.
29516 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
29517 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
29518 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
29519 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
29520 [__NR_mmap2]: Make code unconditional.
29521 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
29522 (__mmap64) [!__NR_mmap2]: Likewise.
29524 2012-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
29526 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
29528 2012-08-18 Andreas Jaeger <aj@suse.de>
29530 * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
29532 2012-08-18 Mike Frysinger <vapier@gentoo.org>
29534 * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
29535 * include/unistd.h (__have_sock_cloexec): Likewise.
29536 (__have_pipe2): Likewise.
29537 (__have_dup3): Likewise.
29539 2012-08-18 Mike Frysinger <vapier@gentoo.org>
29542 * include/unistd.h (__have_pipe2): Change define into an extern int.
29543 (__have_dup3): Likewise.
29544 * socket/have_sock_cloexec.c: Include fcntl.h.
29545 (__have_pipe2): New variable.
29546 (__have_dup3): Likewise.
29548 2012-08-17 Mike Frysinger <vapier@gentoo.org>
29550 * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
29552 2012-08-17 Marek Polacek <polacek@redhat.com>
29554 * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
29555 ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
29557 2012-08-17 Roland McGrath <roland@hack.frob.com>
29559 * configure.in: Add AC_SUBST for sysheaders.
29560 * configure: Regenerated.
29561 * config.make.in (sysheaders): New substituted variable.
29563 * sysdeps/unix/mkfifo.c: Moved ...
29564 * sysdeps/posix/mkfifo.c: ... here.
29565 * sysdeps/unix/mkfifoat.c: Moved ...
29566 * sysdeps/posix/mkfifoat.c: ... here.
29568 * sysdeps/unix/utime.c: Moved ...
29569 * sysdeps/posix/utime.c: ... here.
29571 * sysdeps/unix/time.c: Moved ...
29572 * sysdeps/posix/time.c: ... here.
29573 * sysdeps/unix/sysv/linux/time.c: Adjust #include.
29574 * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
29576 * sysdeps/unix/nice.c: Moved ...
29577 * sysdeps/posix/nice.c: ... here.
29579 * sysdeps/unix/alarm.c: Moved ...
29580 * sysdeps/posix/alarm.c: ... here.
29582 * intl/Makefile ($(codeset_mo)): Depend on the input file.
29584 2012-08-17 Jeff Law <law@redhat.com>
29586 * intl/Makefile (codeset_mo): New variable.
29587 ($(codeset_mo)): New target.
29588 (tst-codeset.out): Depend on that. Remove explicit rule.
29589 (tst-gettext3.out, tst-gettext5.out): Likewise.
29590 (LOCPATH-ENV, tst-codeset-ENV): New variables.
29591 (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
29592 * intl/tst-codeset.sh: Remove.
29593 * intl/tst-gettext3.sh: Likewise.
29594 * intl/tst-gettext5.sh: Likewise.
29596 2012-08-17 Roland McGrath <roland@hack.frob.com>
29598 * sysdeps/unix/inet/syscalls.list: File removed. Move contents into ...
29599 * sysdeps/unix/syscalls.list: ... here.
29601 * sysdeps/posix/getaddrinfo.c
29602 (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
29603 (gaiconf_init, gaiconf_reload): Use them.
29604 [!_STATBUF_ST_NSEC]
29605 (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
29606 Define using time_t rather than struct timespec.
29608 * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
29609 (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
29611 * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
29613 (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
29614 (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
29617 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
29618 __libc_cleanup_push argument.
29620 * bits/param.h: New file.
29621 * misc/sys/param.h: New file.
29622 * include/sys/param.h: New file.
29623 * misc/Makefile (headers): Add bits/param.h.
29624 * sysdeps/generic/sys/param.h: File removed.
29625 * sysdeps/unix/sysv/linux/bits/param.h: New file.
29626 * sysdeps/unix/sysv/linux/sys/param.h: File removed.
29627 * sysdeps/mach/hurd/bits/param.h: New file.
29628 * sysdeps/mach/hurd/sys/param.h: File removed.
29630 * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
29633 * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
29635 * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
29636 (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
29639 * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
29640 * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
29641 rather than -D_IO_MTSAFE_IO conditionally.
29642 * stdio-common/Makefile (CPPFLAGS): Likewise.
29643 * wcsmbs/Makefile (CPPFLAGS): Likewise.
29644 * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
29645 Use $(libio-mtsafe).
29646 * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
29647 of -D_IO_MTSAFE_IO.
29648 (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
29649 (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
29650 (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
29651 (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
29652 (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
29653 (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
29654 (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
29655 (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
29656 (CFLAGS-fread_u_chk.c): Likewise.
29657 (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
29658 (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
29659 (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
29660 (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
29661 * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
29662 * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
29663 * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
29664 * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
29665 * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
29667 * libio/Makefile: Test [$(libc-reentrant) = yes]
29668 instead of [$(filter %REENTRANT, $(defines)) nonempty].
29671 [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
29672 * sysdeps/pthread/configure: File removed.
29673 * sysdeps/pthread/Makeconfig: New file.
29674 * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
29675 * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
29677 2012-08-16 Gary Benson <gbenson@redhat.com>
29679 * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
29680 unmapping the first object in a namespace.
29682 2012-08-16 Roland McGrath <roland@hack.frob.com>
29684 * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
29685 (__internal_setnetgrent): ... this. Add internal_function to
29686 definition. Add libc_hidden_def.
29687 (setnetgrent): Update caller.
29688 (internal_endnetgrent): Renamed to ...
29689 (__internal_endnetgrent): ... this. Add internal_function to
29690 definition. Add libc_hidden_def.
29691 (endnetgrent): Update caller.
29692 (internal_getnetgrent_r): Renamed to ...
29693 (__internal_getnetgrent_r): ... this. Add internal_function to
29694 definition. Add libc_hidden_def.
29695 (__getnetgrent_r): Update caller.
29696 * inet/netgroup.h: Update declarations. Add libc_hidden_proto uses.
29698 2012-08-16 Joseph Myers <joseph@codesourcery.com>
29700 * stdlib/longlong.h: Update from GCC.
29702 2012-08-16 Roland McGrath <roland@hack.frob.com>
29704 * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
29705 on _QL, which is set by umul_ppmm but never used.
29706 * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
29707 variables, which are set by GMP macros but never used.
29708 * stdio-common/_itowa.c (_itowa): Likewise.
29709 * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
29710 * stdlib/mod_1.c (mpn_mod_1): Likewise.
29712 2012-08-16 Carlos O'Donell <carlos_odonell@mentor.com>
29714 * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
29715 struct La_sh_regs is not constant.
29716 * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
29717 <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
29718 and struct La_sparc64_regs are not constant.
29720 2012-08-16 Joseph Myers <joseph@codesourcery.com>
29722 * sysdeps/unix/sysv/linux/kernel-features.h
29723 (__ASSUME_POSIX_TIMERS): Remove.
29724 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
29725 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
29726 * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
29727 Make code unconditional.
29728 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
29729 * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
29730 Make code unconditional.
29731 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
29732 * sysdeps/unix/sysv/linux/clock_nanosleep.c
29733 [__ASSUME_POSIX_TIMERS]: Make code unconditional.
29734 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
29735 * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
29736 Make code unconditional.
29737 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
29738 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
29739 (__libc_missing_posix_timers): Remove.
29741 2012-08-15 Roland McGrath <roland@hack.frob.com>
29743 * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
29744 check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
29746 * bits/libc-lock.h (__rtld_lock_initialize): New macro.
29748 * elf/dl-sym.c: Include <stdlib.h>.
29750 * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
29751 constants, which avoids warnings in 32-bit builds.
29753 * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
29754 (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
29756 * misc/lseek.c: File moved to ...
29757 * io/lseek.c: ... here.
29759 * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
29761 * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
29762 shifting LEN more than 31 bits at once.
29764 2012-08-15 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
29767 * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
29768 segmentation fault for a case of two empty input strings.
29769 * string/test-strncasecmp.c (check1): Renamed to...
29770 (bz12205): ...this.
29771 (bz14195): Add new testcase for two empty input strings and N > 0.
29772 (test_main): Call new testcase, adapt for renamed function.
29774 2012-08-15 Andreas Jaeger <aj@suse.de>
29777 * crypt/md5test2.c: New test, based on test supplied by Serge
29778 Belyshev <belyshev@depni.sinp.msu.ru>.
29779 * crypt/Makefile (xtests): Add md5test-giant..
29780 * crypt/Makefile ($(objpfx)md5test-giant): Add.
29782 2012-08-15 Paul Eggert <eggert@cs.ucla.edu>
29785 * crypt/md5.c (md5_process_block): Don't assume the buffer
29786 length is less than 2**32.
29787 * crypt/sha512.c (sha512_process_block): Don't assume the buffer
29788 length is less than 2**64.
29790 2012-08-15 Roland McGrath <roland@hack.frob.com>
29792 * string/str-two-way.h: Include <sys/param.h>.
29793 (MAX): Macro removed.
29795 * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
29796 Move #define and #undef of memmove to just before and after
29797 including <string.h>.
29799 * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
29800 [!NOT_IN_libc]: Move #define and #undef of memmove to just before
29801 and after including <string.h>. Move declarations of
29802 __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
29803 to before #include "string/memmove.c".
29805 * include/dirent.h: Declare __getdirentries.
29807 * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
29808 using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
29810 2012-08-14 Mike Frysinger <vapier@gentoo.org>
29812 * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
29813 * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
29814 * sysdeps/i386/configure: Regenerated.
29815 * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
29816 STABS_CURRENT_FILE, and STABS_FUN.
29817 (END): Remove call to STABS_FUN_END.
29818 (STABS_CURRENT_FILE1): Delete.
29819 (STABS_CURRENT_FILE): Likewise.
29820 (STABS_FUN): Likewise.
29821 (STABS_FUN_END): Likewise.
29822 (STABS_FUN2): Likewise.
29823 * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
29824 * sysdeps/x86_64/configure: Regenerated.
29826 2012-08-14 Roland McGrath <roland@hack.frob.com>
29828 * elf/dl-open.c: Include <atomic.h>.
29829 * elf/dl-lookup.c: Likewise.
29831 2012-08-14 Joseph Myers <joseph@codesourcery.com>
29833 * sysdeps/unix/sysv/linux/kernel-features.h
29834 (__ASSUME_CLONE_THREAD_FLAGS): Remove.
29835 * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
29837 * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
29839 * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
29840 condition on __ASSUME_CLONE_THREAD_FLAGS.
29842 2012-08-14 Andreas Jaeger <aj@suse.de>
29844 * sysdeps/i386/fpu/libm-test-ulps: Update.
29846 2012-08-13 Maxim Kuvyrkov <maxim@codesourcery.com>
29848 * include/atomic.h (atomic_exchange_and_add): Split into ...
29849 (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
29852 2012-08-13 Markus Trippelsdorf <markus@trippelsdorf.de>
29854 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
29856 2012-08-13 Jeff Law <law@redhat.com>
29858 * manual/stdio.texi (snprintf): Clarify handling of the trailing
29859 null byte in the output string.
29861 2012-08-10 Joseph Myers <joseph@codesourcery.com>
29863 * sysdeps/unix/sysv/linux/kernel-features.h
29864 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
29865 [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
29866 (__ASSUME_ARG_MAX_STACK_BASED): Define.
29867 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
29868 [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
29869 !__ASSUME_ARG_MAX_STACK_BASED. Compare version with
29870 __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
29872 2012-08-09 Jeff Law <law@redhat.com>
29875 * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
29876 When avoid_arena is set, don't retry in the that arena. Pick the
29877 next one, whatever it might be.
29878 (arena_get2): New parameter avoid_arena, pass through to reused_arena.
29879 (arena_lock): Pass in new parameter to arena_get2.
29880 * malloc/malloc.c (__libc_memalign): Pass in new parameter to
29882 (__libc_malloc): Unify retrying after main arena failure with
29883 __libc_memalign version.
29884 (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
29886 2012-08-09 H.J. Lu <hongjiu.lu@intel.com>
29889 * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
29890 to __redirect_strstr.
29891 (__strstr_sse42): Use typeof __redirect_strstr.
29892 (__strstr_ia32): Likewise.
29893 (__libc_strstr): New prototype.
29894 (strstr): Renamed to ...
29895 (__libc_strstr): This.
29896 (strstr): New strong alias of __libc_strstr.
29897 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
29898 * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
29901 (__libc_time): New prototype.
29902 (time_ifunc): Replace time with __libc_time.
29903 (time): New strong alias and hidden definition of __libc_time.
29904 (__GI_time): Remove strong alias.
29905 * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
29906 Include <stddef.h>.
29907 (memmove): Redefined to __redirect_memmove.
29908 (__memmove_sse2): Use typeof __redirect_memmove.
29909 (__memmove_ssse3): Likewise.
29910 (__memmove_ssse3_back): Likewise.
29911 (__libc_memmove): New prototype.
29912 (memmove): Renamed to ...
29913 (__libc_memmove): This.
29914 (memmove): New strong alias of __libc_memmove.
29916 2012-08-08 Mark Salter <msalter@redhat.com>
29919 (R_MN10300_TLS_GD): Define.
29920 (R_MN10300_TLS_LD): Likewise.
29921 (R_MN10300_TLS_LDO): Likewise.
29922 (R_MN10300_TLS_GOTIE): Likewise.
29923 (R_MN10300_TLS_IE): Likewise.
29924 (R_MN10300_TLS_LE): Likewise.
29925 (R_MN10300_TLS_DTPMOD): Likewise.
29926 (R_MN10300_TLS_DTPOFF): Likewise.
29927 (R_MN10300_TLS_TPOFF): Likewise.
29928 (R_MN10300_SYM_DIFF): Likewise.
29929 (R_MN10300_ALIGN): Likewise.
29930 (R_MN10300_NUM): Update.
29932 2012-08-08 Joseph Myers <joseph@codesourcery.com>
29934 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
29937 2012-08-08 Roland McGrath <roland@hack.frob.com>
29939 * sysdeps/posix/fdopendir.c: Include <stddef.h>.
29941 * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
29942 sysdeps/unix -> sysdeps/posix move.
29943 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
29945 2012-08-07 Allan McRae <allan@archlinux.org>
29948 * sunrpc/rpc_main.c (SVR4_CPP): Remove.
29949 (SUNOS_CPP): Likewise.
29950 (find_cpp): Fall back to selecting system cpp when /lib/cpp is
29952 (open_input): Call CPP using execvp.
29954 2012-08-07 Joseph Myers <joseph@codesourcery.com>
29956 * sysdeps/unix/sysv/linux/kernel-features.h
29957 (__ASSUME_PROT_GROWSUPDOWN): Remove.
29958 (__ASSUME_NO_CLONE_DETACHED): Likewise.
29959 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
29960 (__ASSUME_WAITID_SYSCALL): Likewise.
29961 * sysdeps/unix/sysv/linux/dl-execstack.c
29962 (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
29963 code unconditional.
29964 (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
29966 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
29967 [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
29968 (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
29970 * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
29972 [__ASSUME_WAITID_SYSCALL]: Likewise.
29973 [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
29975 2012-08-07 Roland McGrath <roland@hack.frob.com>
29977 * sysdeps/unix/closedir.c: Renamed to ...
29978 * sysdeps/posix/closedir.c: ... here.
29979 * sysdeps/unix/dirfd.c: Renamed to ...
29980 * sysdeps/posix/dirfd.c: ... here.
29981 * sysdeps/unix/dirstream.h: Renamed to ...
29982 * sysdeps/posix/dirstream.h: ... here.
29983 * sysdeps/unix/fdopendir.c: Renamed to ...
29984 * sysdeps/posix/fdopendir.c: ... here.
29985 * sysdeps/unix/opendir.c: Renamed to ...
29986 * sysdeps/posix/opendir.c: ... here.
29987 * sysdeps/unix/readdir.c: Renamed to ...
29988 * sysdeps/posix/readdir.c: ... here.
29989 * sysdeps/unix/readdir_r.c: Renamed to ...
29990 * sysdeps/posix/readdir_r.c: ... here.
29991 * sysdeps/unix/rewinddir.c: Renamed to ...
29992 * sysdeps/posix/rewinddir.c: ... here.
29993 * sysdeps/unix/seekdir.c: Renamed to ...
29994 * sysdeps/posix/seekdir.c: ... here.
29995 * sysdeps/unix/telldir.c: Renamed to ...
29996 * sysdeps/posix/telldir.c: ... here.
29997 * sysdeps/unix/sysv/linux/opendir.c: Update #include.
29998 * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
29999 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
30000 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
30002 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
30003 * bits/fcntl.h: ... here.
30005 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
30007 (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
30008 [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
30009 (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
30010 (struct flock): Move l_start, l_len to the beginning.
30011 Use __pid_t for l_pid.
30012 [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
30013 [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
30014 [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
30015 (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
30016 [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
30017 [__USE_LARGEFILE64] (struct flock64): New type.
30018 (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
30020 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
30021 * bits/dirent.h: ... here.
30023 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
30024 [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
30026 2012-08-07 Joseph Myers <joseph@codesourcery.com>
30028 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
30029 Change from 2.6.0 to 2.6.16.
30030 * sysdeps/unix/sysv/linux/configure: Regenerated.
30031 * sysdeps/unix/sysv/linux/kernel-features.h
30032 (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
30033 (__ASSUME_TGKILL): Define conditional on architectures, not kernel
30035 (__ASSUME_UTIMES): Likewise.
30036 (__ASSUME_CLONE_STOPPED): Remove.
30037 (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
30038 architectures, not kernel version.
30039 (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
30040 (__ASSUME_NO_CLONE_DETACHED): Likewise.
30041 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
30042 (__ASSUME_WAITID_SYSCALL): Likewise.
30043 [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
30044 condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
30045 * README: State 2.6.16 as minimum Linux kernel version. Do not
30046 refer to older versions.
30048 2012-08-06 Roland McGrath <roland@hack.frob.com>
30050 * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
30051 Define alphasort64 as an alias.
30052 * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
30053 Define versionsort64 as an alias.
30054 * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
30055 Define scandir64 as an alias.
30056 * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
30057 Define scandirat64 as an alias.
30058 * dirent/alphasort64.c (alphasort64):
30059 Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
30060 * dirent/versionsort64.c: Likewise.
30061 * dirent/scandir64.c: Likewise.
30062 * dirent/scandirat64.c: Likewise.
30063 * sysdeps/wordsize-64/alphasort.c: File removed.
30064 * sysdeps/wordsize-64/alphasort64.c: File removed.
30065 * sysdeps/wordsize-64/scandir.c: File removed.
30066 * sysdeps/wordsize-64/scandir64.c: File removed.
30067 * sysdeps/wordsize-64/scandirat.c: File removed.
30068 * sysdeps/wordsize-64/scandirat64.c: File removed.
30069 * sysdeps/wordsize-64/versionsort.c: File removed.
30070 * sysdeps/wordsize-64/versionsort64.c: File removed.
30071 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
30072 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
30073 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
30074 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
30075 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
30076 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
30077 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
30078 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
30080 * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
30081 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
30082 [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
30083 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
30084 [defined __arch64__ || defined __sparcv9]
30085 (__INO_T_MATCHES_INO64_T): New macro.
30086 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
30087 [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
30088 * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
30089 * sysdeps/unix/sysv/linux/bits/dirent.h
30090 [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
30091 (_DIRENT_MATCHES_DIRENT64): New macro.
30093 * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
30094 Define lockf64 as an alias.
30095 * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
30096 Define fseeko64 as an alias.
30097 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
30098 Define ftello64 as an alias.
30099 * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
30100 Define _IO_fgetpos64 and fgetpos64 as aliases.
30101 * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
30102 Define _IO_fsetpos64 and fsetpos64 as aliases.
30103 * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
30104 Conditionalize body on this.
30105 * libio/fseeko64.c: Likewise.
30106 * libio/ftello64.c: Likewise.
30107 * libio/iofgetpos64.c: Likewise.
30108 * libio/iofsetpos64.c: Likewise.
30109 * sysdeps/wordsize-64/lockf.c: File removed.
30110 * sysdeps/wordsize-64/lockf64.c: File removed.
30111 * sysdeps/wordsize-64/fseeko.c: File removed.
30112 * sysdeps/wordsize-64/fseeko64.c: File removed.
30113 * sysdeps/wordsize-64/ftello.c: File removed.
30114 * sysdeps/wordsize-64/ftello64.c: File removed.
30115 * sysdeps/wordsize-64/iofgetpos.c: File removed.
30116 * sysdeps/wordsize-64/iofgetpos64.c: File removed.
30117 * sysdeps/wordsize-64/iofsetpos.c: File removed.
30118 * sysdeps/wordsize-64/iofsetpos64.c: File removed.
30119 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
30120 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
30121 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
30122 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
30123 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
30124 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
30125 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
30126 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
30127 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
30128 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
30130 * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
30131 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
30132 [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
30133 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
30134 [defined __arch64__ || defined __sparcv9]
30135 (__OFF_T_MATCHES_OFF64_T): New macro.
30136 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
30137 [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
30138 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
30139 (__OFF_T_MATCHES_OFF64_T): New macro.
30141 2012-08-06 H.J. Lu <hongjiu.lu@intel.com>
30143 * stdlib/secure-getenv.c (__secure_getenv): Replace
30144 GLIBC_2_16 with GLIBC_2_17.
30146 2012-08-06 H.J. Lu <hongjiu.lu@intel.com>
30148 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
30149 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
30151 2012-08-03 David S. Miller <davem@davemloft.net>
30153 * sysdeps/sparc/fpu/libm-test-ulps: Update.
30155 2012-08-03 Joseph Myers <joseph@codesourcery.com>
30157 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
30159 (__ASSUME_CORRECT_SI_PID): Likewise.
30160 (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
30161 (__ASSUME_TMPFS_NAME): Likewise.
30162 * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
30163 [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
30164 * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
30165 (HAVE_AUX_SECURE): Make definition unconditional.
30166 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
30167 [!__ASSUME_TMPFS_NAME]: Remove conditional code.
30169 2012-08-03 Roland McGrath <roland@hack.frob.com>
30171 * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
30172 * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
30173 * sysdeps/mach/hurd/eloop-threshold.h: New file.
30174 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
30175 __eloop_threshold instead of SYMLOOP_MAX.
30177 * sysdeps/generic/eloop-threshold.h: New file.
30178 * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
30180 * elf/chroot_canon.c (chroot_canon): Likewise.
30182 2012-08-03 Joseph Myers <joseph@codesourcery.com>
30185 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
30186 Change to 2.6.0 everywhere.
30187 * sysdeps/unix/sysv/linux/configure: Regenerated.
30188 * sysdeps/unix/sysv/linux/kernel-features.h
30189 (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
30190 (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
30192 (__ASSUME_POSIX_TIMERS): Define unconditionally.
30193 (__ASSUME_FUTEX_REQUEUE): Remove.
30194 (__ASSUME_STATFS64): Define unconditionally.
30195 (__ASSUME_AT_SECURE): Likewise.
30196 (__ASSUME_CORRECT_SI_PID): Likewise.
30197 (__ASSUME_TGKILL): Define without depending on kernel version for
30199 (__ASSUME_UTIMES): Likewise.
30200 (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
30202 (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
30203 (__ASSUME_TMPFS_NAME): Likewise.
30204 * README: Update reference to Linux kernel versions.
30206 2012-08-02 Marek Polacek <polacek@redhat.com>
30209 * configure.in (libc_cv_asm_type_prefix): Remove test. Replace
30210 libc_cv_asm_type_prefix with %.
30211 * configure: Regenerated.
30212 * include/libc-symbols.h: Remove comment about
30213 ASM_TYPE_DIRECTIVE_PREFIX. Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
30214 (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
30215 (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
30216 (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
30217 (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
30218 * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
30219 [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
30220 [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
30221 * elf/tst-unique2mod1.c: Likewise.
30222 * elf/tst-unique1mod2.c: Likewise.
30223 * elf/tst-unique1mod1.c: Likewise.
30224 * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
30225 * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
30226 Replace ASM_TYPE_DIRECTIVE with .type.
30227 * sysdeps/s390/s390-64/sysdep.h: Likewise.
30228 * sysdeps/i386/sysdep.h: Likewise.
30229 * sysdeps/x86_64/sysdep.h: Likewise.
30230 * sysdeps/sh/sysdep.h: Likewise.
30231 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
30232 Do not define ASM_TYPE_DIRECTIVE.
30233 * sysdeps/powerpc/sysdep.h: Likewise.
30234 * sysdeps/powerpc/powerpc32/sysdep.h:
30235 Replace ASM_TYPE_DIRECTIVE with .type.
30236 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
30237 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
30238 * sysdeps/i386/fpu/e_powf.S: Likewise.
30239 * sysdeps/i386/fpu/e_expl.S: Likewise.
30240 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
30241 * sysdeps/i386/fpu/e_acosh.S: Likewise.
30242 * sysdeps/i386/fpu/e_pow.S: Likewise.
30243 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
30244 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
30245 * sysdeps/i386/fpu/s_expm1.S: Likewise.
30246 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
30247 * sysdeps/i386/fpu/e_log2.S: Likewise.
30248 * sysdeps/i386/fpu/e_log2l.S: Likewise.
30249 * sysdeps/i386/fpu/e_scalb.S: Likewise.
30250 * sysdeps/i386/fpu/e_powl.S: Likewise.
30251 * sysdeps/i386/fpu/e_log10f.S: Likewise.
30252 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
30253 * sysdeps/i386/fpu/e_logl.S: Likewise.
30254 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
30255 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
30256 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
30257 * sysdeps/i386/fpu/e_log2f.S: Likewise.
30258 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
30259 * sysdeps/i386/fpu/e_log.S: Likewise.
30260 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
30261 * sysdeps/i386/fpu/e_logf.S: Likewise.
30262 * sysdeps/i386/fpu/e_log10l.S: Likewise.
30263 * sysdeps/i386/fpu/e_atanh.S: Likewise.
30264 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
30265 * sysdeps/i386/fpu/e_log10.S: Likewise.
30266 * sysdeps/i386/fpu/s_frexp.S: Likewise.
30267 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
30268 * sysdeps/i386/fpu/s_asinh.S: Likewise.
30269 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
30270 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
30271 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
30272 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
30273 * sysdeps/i386/i686/strtok.S: Likewise.
30274 * sysdeps/i386/i386-mcount.S: Likewise.
30275 * sysdeps/i386/strtok.S: Likewise.
30276 * sysdeps/x86_64/fpu/e_expl.S: Likewise.
30277 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
30278 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
30279 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
30280 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
30281 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
30282 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
30283 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
30284 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
30285 * sysdeps/x86_64/_mcount.S: Likewise.
30286 * sysdeps/x86_64/strtok.S: Likewise.
30287 * sysdeps/sh/_mcount.S: Likewise.
30289 2012-08-01 Roland McGrath <roland@hack.frob.com>
30291 * libio/iofopen.c: Include <fcntl.h>.
30292 [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
30293 (_IO_fopen64, fopen64): Define as aliases.
30294 * libio/iofopen64.c: Include <fcntl.h>.
30295 [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
30296 Conditionalize body on this.
30297 * sysdeps/wordsize-64/iofopen.c: File removed.
30298 * sysdeps/wordsize-64/iofopen64.c: File removed.
30300 2012-08-01 Marek Polacek <polacek@redhat.com>
30302 * libc/Makeconfig: Use elf in place of binfmt-subdir.
30303 Use dlfcn directly instead of a variable.
30304 (binfmt-subdir): Do not define.
30307 2012-08-01 Joseph Myers <joseph@codesourcery.com>
30309 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
30310 Remove all definitions.
30311 * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
30312 <kernel-features.h>.
30313 [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
30314 (miss_F_GETOWN_EX): Remove all definitions.
30315 [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
30317 [!__ASSUME_FCNTL64]: Remove conditional code.
30318 [__ASSUME_FCNTL64]: Make code unconditional.
30319 * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
30320 <kernel-features.h>.
30321 [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
30322 (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
30323 (lockf64) [__NR_fcntl64]: Make code unconditional.
30324 (lockf64) [__ASSUME_FCNTL64]: Likewise.
30326 * sysdeps/unix/sysv/linux/kernel-features.h
30327 (__ASSUME_VFORK_SYSCALL): Remove all definitions.
30328 * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
30329 Make code unconditional.
30330 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
30331 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
30332 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
30333 [__NR_vfork]: Make code unconditional.
30334 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
30335 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
30336 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
30337 [__NR_vfork]: Make code unconditional.
30338 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
30339 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
30341 2012-08-01 Roland McGrath <roland@hack.frob.com>
30343 * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
30344 (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
30346 * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
30347 Define mkstemp64 as an alias.
30348 * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
30349 Define mkstemps64 as an alias.
30350 * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
30351 Define mkostemp64 as an alias.
30352 * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
30353 Define mkostemps64 as an alias.
30354 * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
30355 Conditionalize body on this.
30356 * misc/mkostemp64.c: Likewise.
30357 * misc/mkostemps64.c: Likewise.
30358 * misc/mkstemps64.c: Likewise.
30359 * sysdeps/wordsize-64/mkstemp64.c: File removed.
30360 * sysdeps/wordsize-64/mkostemp64.c: File removed.
30361 * sysdeps/wordsize-64/mkostemp.c: File removed.
30362 * sysdeps/wordsize-64/mkstemp.c: File removed.
30363 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
30364 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
30365 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
30366 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
30369 * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
30370 * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
30371 * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
30372 * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
30374 * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
30375 compat_symbol macros from <shlib-compat.h> rather than the underlying
30376 default_symbol_version and symbol_version macros, so that DEFAULT
30377 lines in shlib-versions are respected.
30378 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
30380 2012-08-01 Florian Weimer <fweimer@redhat.com>
30382 * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
30383 Declare with warn_unused_result.
30384 (setgid, setregid, setegid, setresgid): Likewise.
30385 * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
30387 * WUR-REPORT: Remove set*id functions.
30389 2012-07-31 Pino Toscano <toscano.pino@tiscali.it>
30391 * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
30393 2012-07-31 Roland McGrath <roland@hack.frob.com>
30396 * include/sys/socket.h (__libc_accept, __libc_accept4):
30397 Add attribute_hidden.
30398 * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
30400 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
30402 * inet/getnetgrent_r.c (setup): Likewise.
30404 * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
30406 2012-07-31 David S. Miller <davem@davemloft.net>
30408 * sysdeps/sparc/fpu/libm-test-ulps: Update.
30410 2012-07-31 Joseph Myers <joseph@codesourcery.com>
30413 * math/s_clog.c (__clog): Use __log1p if larger part has absolute
30414 value between 1.0 and 2.0 and smaller part has absolute value less
30416 * math/s_clog10.c (__clog10): Likewise.
30417 * math/s_clog10f.c (__clog10f): Likewise.
30418 * math/s_clog10l.c (__clog10l): Likewise.
30419 * math/s_clogf.c (__clogf): Likewise.
30420 * math/s_clogl.c (__clogl): Likewise.
30421 * math/libm-test.inc (clog_test): Add more tests.
30422 (clog10_test): Likewise.
30423 * sysdeps/i386/fpu/libm-test-ulps: Update.
30424 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30426 2012-07-31 Florian Weimer <fweimer@redhat.com>
30428 * stdlib/tst-secure-getenv.c: Use printf for error reporting.
30429 Exit with zero in case no suitable GID is found, and write a
30430 message to standard error.
30432 2012-07-30 Roland McGrath <roland@hack.frob.com>
30434 * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
30436 (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
30437 (MAXPATHLEN): Removed.
30438 (NOGROUP, NODEV): New macros.
30439 (setbit, clrbit, isset, isclr): New macros.
30440 (howmany, roundup, powerof2): New macros.
30441 (DEV_BSIZE): New macro.
30443 * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
30444 * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
30446 * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
30447 definition on [!__NO_LONG_DOUBLE_MATH].
30449 * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
30450 PTR_MANGLE and PTR_DEMANGLE.
30452 * socket/accept4.c (accept4): Rename to __libc_accept4.
30453 Define accept4 as a weak alias.
30455 * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
30456 on [_DIRENT_HAVE_D_TYPE].
30457 * io/ftw.c (ftw_dir): Likewise.
30459 * io/xmknod.c (__xmknod): Don't check PATH for being null.
30461 * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
30463 * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
30464 Use the BSD numbers rather than the arbitrary ones we had.
30465 (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
30466 (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
30467 (SIGXCPU, SIGXFSZ): New macros.
30470 * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
30471 initializer on [_LIBC_REENTRANT].
30473 * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
30474 definitions inside [_POSIX_MAPPED_FILES].
30476 * posix/regex.c: Include <sys/param.h> for MIN/MAX.
30478 * dirent/opendir.c: Include <fcntl.h>.
30480 * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
30481 (__libc_getspecific): Likewise.
30482 (__libc_key_create): Likewise.
30484 * stdio-common/tmpfile64.c: Include <fcntl.h> first.
30485 [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
30486 * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
30487 (tmpfile64): Define as alias.
30488 * sysdeps/wordsize-64/tmpfile.c: File removed.
30489 * sysdeps/wordsize-64/tmpfile64.c: File removed.
30490 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
30491 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
30493 * stdio-common/vfscanf.c: Include <stdbool.h>.
30494 * nss/makedb.c: Likewise.
30495 * stdio-common/_i18n_number.h: Likewise.
30496 * argp/argp-help.c: Likewise.
30497 * posix/wordexp.c: Likewise.
30498 * sysdeps/posix/spawni.c: Likewise.
30499 * nss/nss_files/files-initgroups.c: Likewise.
30500 * stdio-common/reg-modifier.c: Include <stdlib.h>.
30501 * nss/nss_files/files-initgroups.c: Likewise.
30502 * nss/nss_db/db-netgrp.c: Likewise.
30503 * nss/nss_db/db-initgroups.c: Likewise.
30504 * io/fchmodat.c: Include <sys/stat.h>.
30506 * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
30507 __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
30509 * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
30512 * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
30513 Add multiple inclusion protection.
30515 2012-07-27 David S. Miller <davem@davemloft.net>
30517 * sysdeps/sparc/fpu/libm-test-ulps: Update.
30519 2012-07-27 Gary Benson <gbenson@redhat.com>
30522 * elf/rtld.c: Include <stap-probe.h>.
30523 (dl_main): Added static probes "init_start" and "init_complete".
30524 * elf/dl-load.c: Include <stap-probe.h>.
30525 (lose): Take new parameter "nsid".
30526 Added static probe "map_failed".
30527 (_dl_map_object_from_fd): Pass namespace id to lose.
30528 Added static probe "map_start".
30529 (open_verify): Pass namespace id to lose.
30530 * elf/dl-open.c: Include <stap-probe.h>.
30531 (dl_open_worker) Added static probes "map_complete", "reloc_start"
30532 and "reloc_complete".
30533 * elf/dl-close.c: Include <stap-probe.h>.
30534 (_dl_close_worker): Added static probes "unmap_start" and
30536 * elf/rtld-debugger-interface.txt: New file documenting the above.
30538 2012-07-26 Roland McGrath <roland@hack.frob.com>
30540 * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
30541 rather than a string variable.
30542 * sunrpc/rpc_main.c (h_output): Likewise.
30543 * sunrpc/rpc_svcout.c (write_real_program): Likewise.
30545 2012-07-26 Pino Toscano <toscano.pino@tiscali.it>
30547 * inet/check_native.c: New file.
30549 2012-07-26 Joseph Myers <joseph@codesourcery.com>
30552 * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
30553 if larger part has absolute value 1.0.
30554 * math/s_clog10.c (__clog10): Likewise.
30555 * math/s_clog10f.c (__clog10f): Likewise.
30556 * math/s_clog10l.c (__clog10l): Likewise.
30557 * math/s_clogf.c (__clogf): Likewise.
30558 * math/s_clogl.c (__clogl): Likewise.
30559 * math/libm-test.inc (clog_test): Add more tests.
30560 (clog10_test): Likewise.
30561 * sysdeps/i386/fpu/libm-test-ulps: Update.
30562 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30564 * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
30565 (pltexit): Likewise.
30566 (La_regs): Likewise.
30567 (La_retval): Likewise.
30568 (int_retval): Likewise.
30569 Update #error for removed macros to refer only to definitions in
30571 * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
30573 (pltexit): Likewise.
30574 (La_regs): Likewise.
30575 (La_retval): Likewise.
30576 (int_retval): Likewise.
30577 * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
30579 (pltexit): Likewise.
30580 (La_regs): Likewise.
30581 (La_retval): Likewise.
30582 (int_retval): Likewise.
30583 * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
30585 (pltexit): Likewise.
30586 (La_regs): Likewise.
30587 (La_retval): Likewise.
30588 (int_retval): Likewise.
30589 * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
30591 (pltexit): Likewise.
30592 (La_regs): Likewise.
30593 (La_retval): Likewise.
30594 (int_retval): Likewise.
30595 * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
30597 (pltexit): Likewise.
30598 (La_regs): Likewise.
30599 (La_retval): Likewise.
30600 (int_retval): Likewise.
30601 * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
30603 (pltexit): Likewise.
30604 (La_regs): Likewise.
30605 (La_retval): Likewise.
30606 (int_retval): Likewise.
30607 * sysdeps/generic/tst-audit.h: Update comment to refer only to
30608 macro definitions in tst-audit.h.
30609 * sysdeps/i386/tst-audit.h: New file.
30610 * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
30611 * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
30612 * sysdeps/s390/s390-32/tst-audit.h: Likewise.
30613 * sysdeps/s390/s390-64/tst-audit.h: Likewise.
30614 * sysdeps/sh/tst-audit.h: Likewise.
30615 * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
30616 * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
30617 * sysdeps/x86_64/tst-audit.h: Likewise.
30619 2012-07-26 Andreas Jaeger <aj@suse.de>
30621 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
30624 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
30625 new value PTRACE_EVENT_SECCOMP from Linux 3.5.
30626 (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
30628 * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
30629 * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
30630 * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
30632 * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
30635 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
30637 (si_call_addr, si_syscall, si_arch): Define new macro.
30638 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
30640 (si_call_addr, si_syscall, si_arch): Define new marcro.
30641 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
30643 (si_call_addr, si_syscall, si_arch): Define new macro.
30644 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
30646 (si_call_addr, si_syscall, si_arch): Define new macro.
30648 2012-07-25 Joseph Myers <joseph@codesourcery.com>
30651 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
30652 Change to 2.4.21 where previously 2.4.1.
30653 * sysdeps/unix/sysv/linux/configure: Regenerated.
30654 * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
30655 __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
30656 Linux kernel version.
30657 (__ASSUME_STD_AUXV): Remove.
30658 [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
30660 [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
30661 (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
30662 (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
30663 (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
30664 (__ASSUME_NETLINK_SUPPORT): Likewise.
30665 * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
30666 (__no_netlink_support): Remove conditional definition.
30667 * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
30669 (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
30670 [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
30671 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
30672 (if_nameindex_ioctl): Remove.
30673 (if_nameindex_netlink): Do not handle __no_netlink_support.
30674 (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
30676 * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
30677 Remove conditional code.
30678 (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
30680 (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
30682 [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
30683 [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
30684 * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
30686 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
30687 [!__ASSUME_STD_AUXV]: Remove conditional code.
30688 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
30689 [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
30690 [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
30691 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
30692 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
30693 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
30695 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
30696 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
30697 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
30698 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
30700 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
30701 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
30702 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
30704 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
30705 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
30707 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
30708 (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
30709 code unconditional.
30710 (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
30712 (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
30714 (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
30716 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
30717 (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
30719 (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
30721 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
30722 (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
30723 code unconditional.
30724 (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
30726 (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
30728 (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
30730 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
30731 (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
30732 code unconditional.
30733 (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
30735 (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
30737 (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
30740 2012-07-25 Andreas Schwab <schwab@linux-m68k.org>
30742 * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
30743 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
30744 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
30745 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
30746 * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
30747 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
30748 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
30749 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
30750 * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
30751 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
30752 * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
30753 * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
30754 * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
30755 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
30756 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
30757 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
30758 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
30759 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
30760 * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
30761 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
30762 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
30763 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
30764 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
30766 2012-07-25 Florian Weimer <fweimer@redhat.com>
30768 * Versions.def: Add GLIBC_2.17.
30769 * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
30770 * include/stdlib.h: Rename __secure_getenv to secure_getenv.
30771 Introduce __libc_secure_getenv.
30772 * stdlib/Versions (2.17): Add secure_getenv
30773 (GLIBC_PRIVATE): Add __libc_secure_getenv.
30774 * stdlib/secure-getenv.c: Rename __secure_getenv to
30775 __libc_secure_getenv. Add secure_getenv alias. Add compatibility
30776 symbol __secure_getenv for GLIBC_2.0.
30777 * stdlib/tst-secure-getenv.c: New.
30778 * stdlib/Makefile (tests): Add testcase.
30779 * manual/startup.texi (Environment Access): Document
30781 * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
30782 __libc_secure_getenv.
30783 * inet/ruserpass.c (ruserpass): Likewise.
30784 * malloc/mtrace.c (mtrace): Likewise.
30785 * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
30786 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
30787 * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
30788 * sysdeps/posix/tempname.c: Likewise. Evaluate
30789 HAVE_SECURE_GETENV.
30790 * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
30791 __secure_getenv to __libc_secure_getenv.
30792 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
30793 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
30795 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
30797 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
30798 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
30799 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
30800 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
30801 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
30802 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
30803 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
30805 2012-07-25 Joseph Myers <joseph@codesourcery.com>
30807 * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
30808 (struct La_i86_retval): Likewise.
30809 (struct La_x86_64_regs): Likewise.
30810 (struct La_x86_64_retval): Likewise.
30811 (struct La_x32_regs): Likewise.
30812 (struct La_x32_retval): Likewise.
30813 (struct La_ppc32_regs): Likewise.
30814 (struct La_ppc32_retval): Likewise.
30815 (struct La_ppc64_regs): Likewise.
30816 (struct La_ppc64_retval): Likewise.
30817 (struct La_sh_regs): Likewise.
30818 (struct La_sh_retval): Likewise.
30819 (struct La_s390_32_regs): Likewise.
30820 (struct La_s390_32_retval): Likewise.
30821 (struct La_s390_64_regs): Likewise.
30822 (struct La_s390_64_retval): Likewise.
30823 (struct La_sparc32_regs): Likewise.
30824 (struct La_sparc32_retval): Likewise.
30825 (struct La_sparc64_regs): Likewise.
30826 (struct La_sparc64_retval): Likewise.
30827 (struct audit_ifaces): Remove architecture-specific pltenter and
30829 * sysdeps/i386/ldsodefs.h: New file.
30830 * sysdeps/powerpc/ldsodefs.h: Likewise.
30831 * sysdeps/s390/ldsodefs.h: Likewise.
30832 * sysdeps/sh/ldsodefs.h: Likewise.
30833 * sysdeps/sparc/ldsodefs.h: Likewise.
30834 * sysdeps/x86_64/ldsodefs.h: Likewise.
30836 2012-07-25 Marek Polacek <polacek@redhat.com>
30839 * math/libm-test.inc (yn_test): Add another test.
30840 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
30841 to ERANGE when the result is +-Inf.
30842 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
30843 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
30844 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
30845 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
30847 2012-07-24 Joseph Myers <joseph@codesourcery.com>
30849 * conform/data/time.h-data (NULL): Use macro-constant. Require
30851 (CLOCKS_PER_SEC): Use macro instead of constant. Specify type as
30853 [ISO11] (TIME_UTC): Use macro-int-constant. Require value > 0.
30855 2012-07-23 Thomas Schwinge <thomas@codesourcery.com>
30857 * configure.in <sysdeps resolving>: Correct printing
30859 * configure: Regenerate.
30861 2012-07-22 Thomas Schwinge <thomas@codesourcery.com>
30863 * math/w_ilogb.c: Include <limits.h>.
30864 * math/w_ilogbl.c: Likewise.
30866 2012-07-20 Joseph Myers <joseph@codesourcery.com>
30868 * manual/lang.texi (__va_copy): Document primarily as ISO C99
30869 va_copy. Document allowing for unavailable va_copy only as
30870 pre-C99 compatibility.
30871 * manual/string.texi (Copying and Concatenation): Use va_copy
30872 instead of __va_copy in concat example.
30874 2012-07-20 Pino Toscano <toscano.pino@tiscali.it>
30876 * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
30877 (__sendto): Use create_address_port. Initialize APORT and deallocate
30880 * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
30881 with O_NOLINK passed to __file_name_lookup.
30883 * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
30884 with O_NOLINK passed to __file_name_lookup.
30886 * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
30887 negative N or less than NGIDS.
30889 * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
30890 type to string_t. Set ERANGE as errno and return it if NAME is not big
30891 enough. Use memcpy instead of strncpy.
30893 2012-07-20 Joseph Myers <joseph@codesourcery.com>
30895 * elf/Makefile (check-data): Remove.
30896 (localplt.data): New vpath directive.
30897 ($(objpfx)check-localplt.out): Use localplt.data from vpath
30898 instead of $(check-data).
30899 * scripts/data/localplt-generic.data: Move to ...
30900 * sysdeps/generic/localplt.data: ... here.
30901 * scripts/data/localplt-i386-linux-gnu.data: Move to ...
30902 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
30903 * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
30904 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
30906 * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
30907 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
30909 * scripts/data/localplt-s390-linux-gnu.data: Move to ...
30910 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
30912 * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
30913 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
30915 * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
30916 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
30918 * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
30919 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
30922 2012-07-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30924 * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
30925 PPC32 and PPC64 files.
30926 * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
30927 * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
30929 2012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
30931 * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
30932 __makecontext_ret to ...
30933 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
30934 ... here and call exit if uc_link is NULL. New file.
30935 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
30936 __makecontext_ret.S.
30937 * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
30938 __makecontext_ret to ...
30939 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
30940 ... here and call exit if uc_link is NULL. New file.
30941 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
30942 __makecontext_ret.S.
30944 2012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
30946 * elf/elf.h (R_390_IRELATIVE): New definition.
30947 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
30948 resolver function for IFUNC symbols. Support R_390_IRELATIVE.
30949 (elf_machine_lazy_rel): Support R_390_IRELATIVE.
30950 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
30951 (elf_machine_lazy_rel): Likewise.
30952 * sysdeps/s390/dl-irel.h: New file.
30953 * sysdeps/s390/s390-64/memcpy.S: New asm code.
30954 * sysdeps/s390/s390-64/memset.S: New asm code.
30955 * sysdeps/s390/s390-64/memcmp.S: New asm code.
30956 * sysdeps/s390/s390-64/multiarch/memset.S: New file.
30957 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
30958 * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
30959 * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
30960 * sysdeps/s390/s390-64/multiarch/Makefile: New file.
30961 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
30962 * sysdeps/s390/s390-32/multiarch/Makefile: New file.
30963 * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
30964 * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
30965 * sysdeps/s390/s390-32/multiarch/memset.S: New file.
30966 * sysdeps/s390/s390-32/memcpy.S: New asm code.
30967 * sysdeps/s390/s390-32/memset.S: New asm code.
30968 * sysdeps/s390/s390-32/memcmp.S: New asm code.
30970 2012-07-17 Marek Polacek <polacek@redhat.com>
30973 * sysdeps/s390/s390-32/configure.in: Remove TLS check.
30974 * sysdeps/s390/s390-64/configure.in: Likewise.
30975 * sysdeps/sparc/configure.in: Likewise.
30976 * sysdeps/powerpc/powerpc32/configure.in: Likewise.
30977 * sysdeps/powerpc/powerpc64/configure.in: Likewise.
30978 * sysdeps/i386/configure.in: Likewise.
30979 * sysdeps/x86_64/configure.in: Likewise.
30980 * sysdeps/sh/configure.in: Likewise.
30981 * sysdeps/s390/s390-32/configure: Regenerated.
30982 * sysdeps/s390/s390-64/configure: Likewise.
30983 * sysdeps/x86_64/configure: Likewise.
30984 * sysdeps/sh/configure: Likewise.
30985 * sysdeps/powerpc/powerpc64/configure: Likewise.
30986 * sysdeps/powerpc/powerpc32/configure: Likewise.
30987 * sysdeps/sparc/configure: Likwise.
30988 * sysdeps/i386/configure: Likewise.
30990 * elf/dl-open.c: Comment fixes.
30992 2012-07-17 Joseph Myers <joseph@codesourcery.com>
30994 * Makefile [CXX] (check-data): Remove.
30995 [CXX] (c++-types.data): New vpath directive.
30996 [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
30997 vpath. Do not allow for C++ type data being missing.
30998 * scripts/data/c++-types-alpha-linux-gnu.data: Move to
30999 ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
31000 * scripts/data/c++-types-ia64-linux-gnu.data: Move to
31001 ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
31002 * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
31003 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
31004 * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
31005 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
31007 * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
31008 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
31010 * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
31011 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
31013 * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
31014 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
31016 * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
31017 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
31019 * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
31020 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
31022 * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
31023 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
31025 * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
31026 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
31028 * elf/tls-macros.h (TLS_LE): Move architecture-specific
31029 definitions to architecture-specific files.
31030 (TLS_IE): Likewise.
31031 (TLS_LD): Likewise.
31032 (TLS_GD): Likewise.
31033 * sysdeps/i386/tls-macros.h: New file.
31034 * sysdeps/powerpc/tls-macros.h: Likewise.
31035 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
31036 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
31037 * sysdeps/sh/tls-macros.h: Likewise.
31038 * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
31039 * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
31040 * sysdeps/x86_64/tls-macros.h: Likewise.
31042 2012-07-17 Thomas Schwinge <thomas@codesourcery.com>
31044 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
31045 zero value for regular exit case.
31047 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
31048 (__start_context): Preserve zero value for regular exit case.
31050 2012-07-17 Thomas Schwinge <thomas@codesourcery.com>
31051 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
31053 * manual/setjmp.texi (setcontext): Clarify normal process
31054 termination when uc_link is the null pointer.
31055 * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
31058 2012-07-16 Andreas Schwab <schwab@linux-m68k.org>
31060 * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
31061 preprocessor. Test for each exception mask separately.
31063 2012-07-16 Andreas Jaeger <aj@suse.de>
31065 * po/ru.po: Update from translation team.
31067 2012-07-15 Joseph Myers <joseph@codesourcery.com>
31069 * conform/data/string.h-data (NULL): Use macro-constant. Require
31071 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
31072 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
31073 (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
31074 (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
31075 [ISO || ISO99 || ISO11] (*_t): Do not allow.
31077 2012-07-13 Andreas Jaeger <aj@suse.de>
31079 * po/fr.po: Update from translation team.
31081 2012-07-12 Marek Polacek <polacek@redhat.com>
31084 * math/libm-test.inc (yn_test): Add test for BZ #14173.
31085 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
31088 2012-07-12 Joseph Myers <joseph@codesourcery.com>
31091 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
31092 Change to 2.4.1 where previously 2.4.0.
31093 * sysdeps/unix/sysv/linux/configure: Regenerated.
31094 * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
31095 (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
31097 [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
31098 (__ASSUME_AT_CLKTCK): Remove.
31099 (__ASSUME_AT_PAGESIZE): Likewise.
31100 (__ASSUME_AT_XID): Likewise.
31101 (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
31102 [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
31103 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
31105 (HAVE_AUX_PAGESIZE): Likewise.
31106 * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
31107 [__ASSUME_AT_CLKTCK]: Make code unconditional.
31108 [!__ASSUME_AT_CLKTCK]: Remove conditional code.
31110 2012-07-12 Jeroen van Bemmel <jvb127@gmail.com>
31113 * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
31114 the temporary buffer used to invoke __gethostbyname2_r,
31115 __gethostbyaddr_r and gethostbyname4_r to make room for struct
31116 host_data / struct gaih_addrtuple.
31117 * resolv/nss_dns/dns-host.c (global scope): Move definition of
31118 implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
31119 header file nss/nsswitch.h.
31120 * nss/nsswitch.h (global scope): Add definition of implementation
31121 constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
31122 resolv/nss_dns/dns-host.c).
31124 2012-07-11 Andreas Jaeger <aj@suse.de>
31126 * po/fr.po: Update from translation team.
31128 * po/sv.po: Update from translation team
31129 * po/fr.po: Another update from translation team.
31131 2012-07-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31133 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
31134 for subnormals or multiply small sinh result by itself.
31135 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
31136 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
31138 2012-07-11 David S. Miller <davem@davemloft.net>
31140 * sysdeps/sparc/fpu/libm-test-ulps: Update.
31142 2012-07-10 Andreas Schwab <schwab@linux-m68k.org>
31145 * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
31146 (INTERNAL_MARK): Shift it here.
31148 2012-07-10 Marek Polacek <polacek@redhat.com>
31151 * configure.in (libc_cv_asm_global_directive): Remove test. Replace
31152 libc_cv_asm_global_directive with .globl.
31153 * configure: Regenerated.
31154 * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
31156 * sysdeps/i386/configure: Regenerated.
31157 * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
31159 * sysdeps/x86_64/configure: Regenerated.
31160 * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
31161 * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
31162 * elf/tst-unique2mod2.c: Likewise.
31163 * elf/tst-unique2mod1.c: Likewise.
31164 * elf/tst-unique1mod2.c: Likewise.
31165 * elf/tst-unique1mod1.c: Likewise.
31166 * sysdeps/s390/s390-32/sysdep.h: Likewise.
31167 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
31168 * sysdeps/s390/s390-64/sysdep.h: Likewise.
31169 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
31170 * sysdeps/mach/sysdep.h: Likewise.
31171 * sysdeps/i386/sysdep.h: Likewise.
31172 * sysdeps/i386/i386-mcount.S: Likewise.
31173 * sysdeps/x86_64/_mcount.S: Likewise.
31174 * sysdeps/x86_64/sysdep.h: Likewise.
31175 * sysdeps/sh/_mcount.S: Likewise.
31176 * sysdeps/sh/sysdep.h: Likewise.
31177 * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
31178 * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
31179 * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
31180 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
31181 * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
31182 * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
31183 * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
31184 * locale/localeinfo.h: Likewise.
31185 (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
31186 (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
31188 2012-07-09 Roland McGrath <roland@hack.frob.com>
31191 * manual/charset.texi (Extended Char Intro): Word use fix, "operating
31193 * manual/message.texi (The Uniforum approach): Likewise.
31194 * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
31195 (glibc iconv Implementation): Likewise.
31197 2012-07-09 Joseph Myers <joseph@codesourcery.com>
31200 * math/s_clog.c (__clog): Avoid scaling a value down where that
31201 could result in underflow.
31202 * math/s_clog10.c (__clog10): Likewise.
31203 * math/s_clog10f.c (__clog10f): Likewise.
31204 * math/s_clog10l.c (__clog10l): Likewise.
31205 * math/s_clogf.c (__clogf): Likewise.
31206 * math/s_clogl.c (__clogl): Likewise.
31207 * math/libm-test.inc (clog_test): Add more tests.
31208 (clog10_test): Likewise.
31209 * sysdeps/i386/fpu/libm-test-ulps: Update.
31210 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31212 2012-07-06 Andreas Schwab <schwab@linux-m68k.org>
31215 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
31216 by 7 not 8 to examine high bit of fractional part.
31219 * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
31220 for call to __mcount_internal.
31221 * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
31222 (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
31223 * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
31225 2012-07-06 Joseph Myers <joseph@codesourcery.com>
31228 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
31229 approximation for values within 0x1p-13f of an odd multiple of
31231 * math/libm-test.inc (tan_test): Do not allow spurious underflow
31232 exception. Add more tests.
31233 * sysdeps/i386/fpu/libm-test-ulps: Update.
31236 * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
31237 inputs and return -1 for them. Do not check for +Inf in case not
31238 reachable for +Inf.
31239 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
31240 * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
31241 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
31242 and return -1 for them. Do not check for +Inf in case not
31243 reachable for +Inf.
31244 * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
31246 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
31247 and return -1 for them. Do not check for +Inf in case not
31248 reachable for +Inf.
31249 * math/libm-test.inc (expm1_test): Add more tests. Do not allow
31250 spurious underflow.
31251 * sysdeps/i386/fpu/libm-test-ulps: Update.
31252 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31254 2012-07-06 Mike Frysinger <vapier@gentoo.org>
31256 * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
31258 2012-07-05 Joseph Myers <joseph@codesourcery.com>
31262 * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
31263 could result in spurious underflow. Scale down values above
31264 DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
31265 * math/s_csqrtf.c (__csqrtf): Likewise.
31266 * math/s_csqrtl.c (__csqrtl): Likewise.
31267 * math/libm-test.inc (csqrt_test): Add more tests. Do not allow
31268 spurious underflow.
31269 * sysdeps/i386/fpu/libm-test-ulps: Update.
31270 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31272 2012-07-04 Andreas Schwab <schwab@linux-m68k.org>
31274 * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
31276 * catgets/xopen-msg.awk: New file.
31277 * catgets/xopen-msg.sed: Removed.
31279 * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
31281 * intl/po2test.awk: New file.
31282 * intl/po2test.sed: Removed.
31284 2012-07-04 Joseph Myers <joseph@codesourcery.com>
31287 * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
31288 or multiply small sinh result by itself.
31289 * math/s_ctanf.c (__ctanf): Likewise.
31290 * math/s_ctanh.c (__ctanh): Likewise.
31291 * math/s_ctanhf.c (__ctanhf): Likewise.
31292 * math/s_ctanhl.c (__ctanhl): Likewise.
31293 * math/s_ctanl.c (__ctanl): Likewise.
31294 * math/libm-test.inc (ctan_test_tonearest): New function.
31295 (ctan_test_towardzero): Likewise.
31296 (ctan_test_downward): Likewise.
31297 (ctan_test_upward): Likewise.
31298 (ctanh_test_tonearest): Likewise.
31299 (ctanh_test_towardzero): Likewise.
31300 (ctanh_test_downward): Likewise.
31301 (ctanh_test_upward): Likewise.
31302 (main): Call these new functions.
31303 * sysdeps/i386/fpu/libm-test-ulps: Update.
31304 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31306 2012-07-03 Mike Frysinger <vapier@gentoo.org>
31308 * .gitignore: Delete /ports entry.
31310 2012-07-03 Andreas Jaeger <aj@suse.de>
31312 * po/bg.po: Update from translation team.
31313 * po/cs.po: Likewise.
31314 * po/de.po: Likewise.
31315 * po/hr.po: Likewise.
31316 * po/nl.pl: Likewise.
31317 * po/pl.po: Likewise.
31318 * po/vi.po: Likewise.
31320 2012-07-03 Joseph Myers <joseph@codesourcery.com>
31322 * Makeconfig [!+link] (+link-before-libc): New variable.
31323 [!+link] (+link-after-libc): Likewise.
31324 [!+link] (+link-tests): Likewise.
31325 [!+link] (+link): Define in terms of $(+link-before-libc) and
31326 $(+link-after-libc).
31327 [!+link-static] (+link-static-before-libc): New variable.
31328 [!+link-static] (+link-static-after-libc): Likewise.
31329 [!+link-static] (+link-static-tests): Likewise.
31330 [!+link-static] (+link-static): Define in terms of
31331 $(+link-static-before-libc) and $(+link-static-after-libc).
31332 [build-shared] (link-libc-before-gnulib): New variable.
31333 [build-shared] (link-libc-tests): Likewise.
31334 [build-shared] (link-libc): Define in terms of
31335 $(link-libc-before-gnulib).
31336 [!build-shared] (link-libc-tests): New variable.
31337 (link-libc-static-tests): New variable.
31338 [!gnulib] (gnulib-arch): New variable.
31339 [!gnulib] (gnulib-tests): Likewise.
31340 [!gnulib] (static-gnulib-arch): Likewise.
31341 [!gnulib] (static-gnulib-tests): Likewise.
31342 [!gnulib] (gnulib): Use $(gnulib-arch). Do not use $(libgcc_eh).
31343 Define with "=" instead of ":=".
31344 [!gnulib] (static-gnulib): Use $(static-gnulib-arch). Do not use
31345 -lgcc_eh $(libunwind). Define with "=" instead of ":=".
31346 * Rules (binaries-all-notests): New variable.
31347 (binaries-all-tests): Likewise.
31348 (binaries-static-notests): Likewise.
31349 (binaries-static-tests): Likewise.
31350 (binaries-all): Define using $(binaries-all-notests) and
31351 $(binaries-all-tests).
31352 (binaries-static): Define using $(binaries-static-notests) and
31353 $(binaries-static-tests).
31354 (binaries-shared-tests): New variable.
31355 (binaries-shared-notests): Likewise.
31356 (binaries-shared): Remove variable.
31357 ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
31358 ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
31359 ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
31360 ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
31361 ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
31362 ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
31363 * elf/Makefile (sln-modules): New variable.
31364 (extra-objs): Add $(sln-modules:=.o).
31365 (ldconfig-modules): Add static-stubs.
31366 ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
31367 * elf/static-stubs.c: New file.
31370 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
31371 by 7 not 8 to examine high bit of fractional part. Use volatile
31372 variables when splitting into final array of floats if
31373 __FLT_EVAL_METHOD__ != 0.
31374 * math/libm-test.inc (cos_test): Add another test.
31375 (sin_test): Likewise.
31376 * sysdeps/i386/fpu/libm-test-ulps: Update.
31379 * math/libm-test.inc (cosh_test): Add more tests.
31381 * version.h (RELEASE): Set to "development".
31382 (VERSION): Set to "2.16.90".
31384 2012-06-30 Carlos O'Donell <carlos_odonell@mentor.com>
31386 * NEWS: Update copyright. Remove last-updated date.
31387 Mention math library bug fixes and timezone data changes.
31388 * README: Mention GNU/Hurd, x32, and HPPA support status.
31390 2012-06-28 Thomas Schwinge <thomas@codesourcery.com>
31392 * manual/contrib.texi (Contributors): Sort alphabetically by last name.
31394 2012-06-27 Andreas Jaeger <aj@suse.de>
31396 * manual/contrib.texi (Contributors): Add Samuel Thibault.
31398 2012-06-25 Andreas Jaeger <aj@suse.de>
31400 * sysdeps/s390/fpu/libm-test-ulps: Update.
31402 2012-06-23 Andreas Schwab <schwab@linux-m68k.org>
31403 Thomas Schwinge <thomas@codesourcery.com>
31405 * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
31406 * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
31407 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
31410 2012-06-23 Thomas Schwinge <thomas@codesourcery.com>
31412 * sysdeps/mach/start.c: Remove file.
31413 * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
31414 * sysdeps/i386/init-first.c: Fix comment regarding start.S.
31415 * sysdeps/sh/init-first.c: Likewise.
31417 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
31418 registers for frame unwinding purposes, add CFI directives.
31419 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
31420 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
31421 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
31424 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
31425 __fortify_fail returning.
31426 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
31428 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
31429 sysdeps/sh/____longjmp_chk.S.
31430 * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
31431 on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
31432 * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
31433 (gen-as-const-headers): Append sigaltstack-offsets.sym.
31435 * sysdeps/sh/abort-instr.h: New file.
31436 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
31437 process in case exit returns.
31439 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
31440 initialize the GOT register before use.
31442 * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
31443 calculation of ARGC > 4.
31445 * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
31446 meaningful names to some local labels.
31448 2012-06-22 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
31449 Kaz Kojima <kkojima@rr.iij4u.or.jp>
31451 * sysdeps/unix/sysv/linux/sh/bits/atomic.h
31452 (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
31453 (__arch_compare_and_exchange_val_16_acq): Likewise.
31454 (__arch_compare_and_exchange_val_32_acq): Likewise.
31455 (atomic_exchange_and_add): Fix gUSA sequence.
31456 (atomic_add): Likewise.
31457 (atomic_add_negative): Likewise.
31458 (atomic_add_zero): Likewise.
31459 (atomic_bit_test_set): Likewise.
31461 2012-06-22 Andreas Schwab <schwab@redhat.com>
31464 * include/link.h (struct link_map): Add l_free_initfini.
31465 * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
31467 * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
31468 * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
31469 * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
31472 2012-06-22 Carlos O'Donell <carlos_odonell@mentor.com>
31474 * configure.in: Use AC_LANG_SOURCE.
31475 * configure: Regenerate.
31477 2012-06-22 Roland McGrath <roland@hack.frob.com>
31479 * configure.in (libc_cv_localstatedir): New substituted variable.
31480 * configure: Regenerated.
31481 * config.make.in (localstatedir): New variable, substituted from
31482 libc_cv_localstatedir.
31483 * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
31484 * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
31485 ${prefix}/var to /var when we change ${prefix}/etc to /etc.
31486 * sysdeps/gnu/configure: Regenerated.
31488 2012-06-21 Jeff Law <law@redhat.com>
31491 * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
31492 free. Simplify list management for _LIBC case.
31494 2012-06-21 Joseph Myers <joseph@codesourcery.com>
31497 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
31498 Clear sign bit of 64-bit integer value before comparing against
31501 * sysdeps/mach/configure: Regenerated.
31503 2012-06-21 H.J. Lu <hongjiu.lu@intel.com>
31506 * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
31508 2012-06-21 Jeff Law <law@redhat.com>
31511 * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection. Use
31512 uint16_t for elements in the "seen" array to avoid char overflows.
31513 * elf/dl-fini.c (_dl_sort_fini): Likewise.
31514 * elf/dl-open.c (dl_open_worker): Likewise.
31516 2012-06-21 Carlos O'Donell <carlos_odonell@mentor.com>
31518 * scripts/list-sources.sh: Scan PORTS for translations.
31519 * po/libc.pot: Regenerated.
31521 2012-06-21 Andreas Jaeger <aj@suse.de>
31524 * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
31526 * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
31527 * bits/byteswap-16.h (__bswap_16): Likewise.
31528 * bits/byteswap.h (__bswap_constant_16): Likewise.
31530 2012-06-18 H.J. Lu <hongjiu.lu@intel.com>
31533 * sysdeps/i386/fpu_control.h: Removed.
31534 * sysdeps/x86_64/fpu_control.h: Moved to ...
31535 * sysdeps/x86/fpu_control.h: Here.
31537 * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
31538 (_FPU_SETCW): Likewise.
31540 2012-06-15 H.J. Lu <hongjiu.lu@intel.com>
31543 * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
31544 * sysdeps/x86/fpu/bits/mathinline.h: This.
31545 * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
31549 * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
31550 functions if __x86_64__ is defined.
31552 2012-06-15 Chung-Lin Tang <cltang@codesourcery.com>
31554 * string/endian.h: Add !__ASSEMBLER__ condition for including
31555 conversion interfaces.
31557 2012-06-15 Joseph Myers <joseph@codesourcery.com>
31560 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
31561 of ABS(x) in calculating zero to negative powers other than odd
31563 * math/libm-test.inc (pow_test): Add more tests.
31565 2012-06-15 Andreas Jaeger <aj@suse.de>
31567 * manual/contrib.texi (Contributors): Update entry of Liubov
31568 Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
31571 2012-06-15 Cyril Hrubis <metan@ucw.cz>
31573 * string/string.h: Add __wur to GNU version of strerror_r.
31575 2012-06-14 H.J. Lu <hongjiu.lu@intel.com>
31578 * string/Makefile (tests): Add tst-strtok_r.
31579 * string/tst-strtok_r.c: New file.
31580 * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
31581 RAX_LP/RDX_LP on SAVE_PTR.
31583 2012-06-14 Roland McGrath <roland@hack.frob.com>
31585 * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
31587 2012-06-14 Joseph Myers <joseph@codesourcery.com>
31589 * libm_test.inc (csqrt_test): Allow more spurious underflow
31591 (j0_test): Likewise.
31592 (j1_test): Likewise.
31593 (y0_test): Likewise.
31594 (y1_test): Likewise.
31596 2012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
31598 * po/Makefile (libc.pot): Use UTF-8 charset.
31600 2012-06-13 Paul Pluzhnikov <ppluzhnikov@google.com>
31603 Suppress sign-conversion warning from FD_SET.
31604 See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
31605 * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
31606 not unsigned long int.
31607 * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
31609 2012-06-12 H.J. Lu <hongjiu.lu@intel.com>
31613 * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
31614 __extern_always_inline instead of __extern_inline.
31615 (__signbitf): Support __SSE2_MATH__ and C++ namespace.
31616 (__signbit): Likewise.
31617 (__signbitl): Support C++ namespace.
31618 (lrintf): New inline function.
31620 (llrintf): Likewise.
31621 (llrint): Likewise.
31631 (floorf): Likewise.
31632 (nearbyint): Likewise.
31633 (nearbyintf): Likewise.
31635 2012-06-12 Thomas Schwinge <thomas@codesourcery.com>
31637 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
31638 non-default versions.
31640 2012-06-11 Roland McGrath <roland@hack.frob.com>
31643 * manual/argp.texi (Argp): Reword argp_parse description slightly.
31645 2012-06-09 Thomas Schwinge <thomas@codesourcery.com>
31647 * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
31648 (FE_UPWARD, FE_DOWNWARD): Don't define.
31649 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
31650 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
31652 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
31654 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
31655 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
31657 2012-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
31659 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
31660 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
31661 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
31662 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
31664 2012-06-06 H.J. Lu <hongjiu.lu@intel.com>
31667 * sysdeps/i386/fpu/bits/fenv.h: Removed.
31668 * sysdeps/i386/fpu/Implies: New file.
31669 * sysdeps/x86_64/fpu/Implies: Likewise.
31670 * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
31671 * sysdeps/x86/fpu/bits/fenv.h: This.
31673 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
31676 2012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
31679 * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
31680 character 0xffff that matches the last element of the
31683 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31685 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
31688 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31690 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
31691 values higher than 25.6283.
31693 2012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31695 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
31696 subnormal exponent extraction and add some __builtin_expect.
31697 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
31698 Fix for subnormal mantissa calculation.
31700 2012-06-04 Mike Frysinger <vapier@gentoo.org>
31702 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
31703 cpu2 is -1 and errno is not ENOSYS.
31705 2012-06-04 H.J. Lu <hongjiu.lu@intel.com>
31708 * sysdeps/i386/i486/bits/string.h: Renamed to ...
31709 * sysdeps/x86/bits/string.h: This.
31710 * sysdeps/x86_64/bits/string.h: Removed.
31712 * sysdeps/i386/i486/bits/string.h: Define inline functions only
31713 if not compiling for x86-64, but compiling for >= i486.
31715 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
31716 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
31718 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
31719 New macro from Linux kernel 3.4.0.
31720 (FP_XSTATE_MAGIC2): Likewise.
31721 (FP_XSTATE_MAGIC2_SIZE): Likewise.
31722 (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
31723 (struct _fpx_sw_bytes): New struct.
31724 (struct _xsave_hdr): Likewise.
31725 (struct _ymmh_state): Likewise.
31726 (struct _xstate): Likewise.
31728 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
31729 * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
31730 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
31731 * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
31732 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
31733 * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
31735 * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
31736 * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
31737 * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
31738 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
31739 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
31740 * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
31742 2012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
31745 * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
31746 * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
31747 (sysdep_headers): Include sys/platform/ppc.h.
31748 * sysdeps/powerpc/test-gettimebase.c: Test for
31749 __ppc_get_timebase() to catch future ISA opcode/insn changes.
31750 * manual/Makefile (appendices): Include platform.texi.
31751 * manual/contrib.texi (Contributors): Update @node pointers.
31752 * manual/maint.texi (Maintenance): Likewise.
31753 (Platform): New node.
31754 * manual/platform.texi: New file. Document the new features.
31756 2012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
31757 Jakub Jelinek <jakub@redhat.com>
31760 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
31761 where __builtin_expect is unavailable.
31763 2012-06-03 David S. Miller <davem@davemloft.net>
31765 * stdlib/longlong.h: Updated from GCC.
31767 2012-06-02 Andreas Schwab <schwab@linux-m68k.org>
31770 * sysdeps/powerpc/powerpc32/mcount.c: New file.
31771 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
31773 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
31774 (GLIBC_2.16): Likewise.
31776 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
31778 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
31780 2012-06-01 Joseph Myers <joseph@codesourcery.com>
31782 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
31783 (default-abi): New variable.
31784 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
31785 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
31787 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
31789 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
31791 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
31794 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
31795 definition. Document in comment.
31797 2012-06-01 David S. Miller <davem@davemloft.net>
31799 * stdlib/longlong.h: Updated from GCC.
31801 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
31804 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
31805 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
31806 sys/debugreg.h sys/io.h here.
31807 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
31808 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
31810 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
31811 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
31812 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
31813 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
31814 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
31815 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
31817 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
31818 Define only if __x86_64__ is defined.
31820 2012-06-01 Joseph Myers <joseph@codesourcery.com>
31823 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
31824 Use int64_t for variable i.
31825 * math/libm-test.inc (fmod_test): Add more tests.
31827 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
31828 z computation is not scheduled after fetestexcept.
31829 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
31830 Use math_force_eval instead of asm to ensure calculation scheduled
31831 before exception test.
31832 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
31833 Ensure a1 + u.d computation is not scheduled after fetestexcept.
31835 2012-06-01 Aurelien Jarno <aurelien@aurel32.net>
31837 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
31838 computation is not scheduled after fetestexcept.
31840 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
31843 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
31844 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
31846 2012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31848 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
31849 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
31851 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
31854 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
31856 (__WCHAR_MIN): Support __WORDSIZE == 64.
31857 (__WCHAR_MAX): Likewise.
31859 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
31860 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
31863 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
31864 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
31867 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
31868 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
31870 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
31871 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
31873 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
31874 Defined to 1 if __x86_64__ isn't defined.
31875 (_STAT_VER_LINUX_OLD): New.
31876 (st_atime): Remove duplicate.
31877 (st_mtime): Likewise.
31878 (st_ctime): Likewise.
31880 2012-05-31 David S. Miller <davem@davemloft.net>
31882 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
31885 2012-06-01 Andreas Schwab <schwab@linux-m68k.org>
31887 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
31891 * elf/dl-reloc.c: Include <_itoa.h>.
31892 (_dl_reloc_bad_type): Remove use of INTUSE.
31893 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
31894 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
31895 * stdio-common/psiginfo.c (psiginfo): Likewise.
31896 * stdio-common/psignal.c (psignal): Likewise.
31897 * string/strsignal.c (strsignal): Likewise.
31898 * include/signal.h (_sys_siglist): Declare hidden proto.
31899 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
31900 INTVARDEF with libc_hidden_data_def.
31901 * stdio-common/itoa-udigits.c: Likewise.
31902 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
31903 (_itoa_lower_digits_internal): Remove declaration.
31904 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
31905 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
31906 (_sys_sigabbrev_internal): Remove aliases.
31907 (_sys_siglist): Define hidden alias.
31909 2012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
31911 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
31914 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
31917 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
31918 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
31920 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
31921 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
31922 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
31923 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
31924 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
31925 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
31927 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
31928 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
31929 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
31931 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
31939 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
31940 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
31941 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
31943 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
31944 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
31945 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
31946 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
31947 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
31948 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
31950 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
31951 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
31953 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
31954 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
31956 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
31957 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
31958 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
31960 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
31961 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
31963 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
31965 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
31966 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
31967 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
31969 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
31971 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
31973 2012-05-31 Joseph Myers <joseph@codesourcery.com>
31975 * math/math.h (M_El): Use two more decimal places.
31976 (M_LOG2El): Likewise.
31977 (M_LOG10El): Likewise.
31978 (M_LN2l): Likewise.
31979 (M_LN10l): Likewise.
31981 (M_PI_2l): Likewise.
31982 (M_PI_4l): Likewise.
31983 (M_1_PIl): Likewise.
31984 (M_2_PIl): Likewise.
31985 (M_2_SQRTPIl): Likewise.
31986 (M_SQRT2l): Likewise.
31987 (M_SQRT1_2l): Likewise.
31989 2012-05-31 David S. Miller <davem@davemloft.net>
31991 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
31992 values between float registers.
31993 * sysdeps/sparc/sparc64/memset.S: Likewise.
31994 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
31996 2012-05-31 Mike Frysinger <vapier@gentoo.org>
31998 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
31999 -D_FORTIFY_SOURCE=1.
32000 (CPPFLAGS-tst-longjmp_chk.c): Define.
32001 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
32002 (CPPFLAGS-tst-longjmp_chk2.c): Define.
32003 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
32004 CFLAGS-tst-wchar-h.c.
32006 2012-05-31 Marek Polacek <polacek@redhat.com>
32009 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
32010 __endmntent_internal): Remove declaration.
32011 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
32012 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
32013 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
32015 2012-05-30 David S. Miller <davem@davemloft.net>
32017 * sysdeps/sparc/sparc32/soft-fp/q_util.c
32018 (___Q_simulate_exceptions): Use real FP ops rather than writing
32020 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
32023 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
32026 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
32027 * sysdeps/x86/bits/xtitypes.h: This.
32029 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
32030 * sysdeps/x86/bits/wordsize.h: This.
32032 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
32033 * sysdeps/x86/bits/huge_vall.h: This.
32035 * sysdeps/i386/bits/select.h: Removed.
32036 * sysdeps/x86_64/bits/select.h: Renamed to ...
32037 * sysdeps/x86/bits/select.h: This.
32039 * sysdeps/i386/bits/setjmp.h: Removed.
32040 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
32041 * sysdeps/x86/bits/setjmp.h: This.
32043 * sysdeps/i386/bits/mathdef.h: Removed.
32044 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
32045 * sysdeps/x86/bits/mathdef.h: This.
32047 2012-05-30 Andreas Schwab <schwab@linux-m68k.org>
32050 * include/sys/socket.h (__connect_internal)
32051 (__libc_sa_len_internal): Remove declaration.
32052 (__connect, __libc_sa_len): Declare hidden_proto.
32053 (SA_LEN): Remove use of INTUSE.
32054 * socket/connect.c: Add libc_hidden_def.
32055 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
32056 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
32057 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
32059 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
32060 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
32061 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
32062 of adding _internal alias.
32064 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
32067 * sysdeps/i386/bits/link.h: Removed.
32068 * sysdeps/i386/bits/linkmap.h: Likewise.
32069 * sysdeps/x86_64/bits/link.h: Renamed to ...
32070 * sysdeps/x86/bits/link.h: This.
32071 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
32072 * sysdeps/x86/bits/linkmap.h: This.
32074 * sysdeps/i386/bits/endian.h: Removed.
32075 * sysdeps/x86_64/bits/endian.h: Renamed to ...
32076 * sysdeps/x86/bits/endian.h: This.
32078 * sysdeps/i386/bits/byteswap.h: Removed.
32079 * sysdeps/i386/bits/byteswap-16.h: Likewise.
32080 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
32081 * sysdeps/x86/bits/byteswap.h: This.
32082 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
32083 * sysdeps/x86/bits/byteswap-16.h: This.
32084 * sysdeps/i386/Implies: Add x86.
32085 * sysdeps/x86_64/Implies: Likewise.
32087 2012-05-30 David S. Miller <davem@davemloft.net>
32089 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
32090 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
32091 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
32092 (FP_TRAPPING_EXCEPTIONS): Define.
32093 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
32094 (FP_TRAPPING_EXCEPTIONS): Define.
32095 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
32096 subnormals only when inexact has been signalled or underflow
32097 exceptions are enabled.
32098 (_FP_PACK_CANONICAL): Likewise.
32100 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
32103 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
32104 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
32106 2012-05-30 Richard Henderson <rth@twiddle.net>
32108 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
32109 with #ifndef NOT_IN_libc.
32111 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
32112 marked to avoid plt entry.
32114 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
32117 * Makeconfig (default-abi): New macro.
32118 (abi-includes): Likewise.
32119 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
32120 $(abi-$(default-abi)-lib-soname) for soname if defined.
32121 ($(common-objpfx)gnu/lib-names.stmp): Generate from
32123 * Makefile (installed-stubs): Likewise.
32124 * include/stubs-biarch.h: Removed.
32125 * scripts/lib-names.awk: Only handle one library at a time.
32126 * scripts/soversions.awk: Remove WORDSIZE support.
32127 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
32129 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
32131 (syscall-list-default-condition): Likewise.
32132 (syscall-list-default-condition): Likewise.
32133 (syscall-list-includes): Likewise.
32134 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
32135 syscall-list-* with abi-*. Handle undefined abi-variants.
32136 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
32137 * sysdeps/unix/sysv/linux/i386/Implies: New file.
32138 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
32139 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
32140 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
32141 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
32143 (syscall-list-32-options): Likewise.
32144 (syscall-list-32-condition): Likewise.
32145 (syscall-list-64-options): Likewise.
32146 (syscall-list-64-condition): Likewise.
32147 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
32149 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
32152 (abi-64-ld-soname): New macro.
32153 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
32154 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
32157 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
32158 * sysdeps/x86_64/x32/shlib-versions: Likewise.
32160 2012-05-30 Joseph Myers <joseph@codesourcery.com>
32162 * sysdeps/unix/sysv/linux/kernel-features.h
32163 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
32164 * sysdeps/unix/sysv/linux/ftruncate64.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/truncate64.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/ftruncate64.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.
32182 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
32183 include <kernel-features.h>.
32184 [!__NR_ftruncate64]: Remove conditional code.
32185 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
32186 [__NR_ftruncate64]: Make code unconditional.
32187 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
32189 * configure.in (libc_cv_fpie): Weaken to a compile test using
32190 LIBC_TRY_CC_OPTION.
32191 * configure: Regenerated.
32193 2012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
32195 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
32196 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
32197 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
32198 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
32200 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
32201 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
32202 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
32203 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
32204 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
32205 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
32208 2012-05-27 David S. Miller <davem@davemloft.net>
32210 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
32212 (__Q_simulate_exceptions): Return void. Change to simulate
32213 exceptions by writing into the %fsr.
32214 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
32215 (__Qp_handle_exceptions): Likewise.
32217 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
32218 __Qp_handle_exceptions.
32219 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
32220 __Qp_handle_exceptions.
32221 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
32222 as unused and give dummy FP_RND_NEAREST initializer.
32223 (FP_INHIBIT_RESULTS): Define.
32224 (___Q_simulate_exceptions): Update declaration.
32225 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
32227 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
32228 as unused and give dummy FP_RND_NEAREST initializer.
32229 (__Qp_handle_exceptions): Update declaration.
32230 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
32233 2012-05-27 Thomas Schwinge <thomas@codesourcery.com>
32235 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
32236 the temporary FPU control word.
32237 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
32238 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
32239 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
32240 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
32241 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
32242 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
32243 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
32244 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
32245 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
32246 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
32247 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
32249 2012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
32251 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
32254 2012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
32256 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
32257 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
32258 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
32259 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
32261 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
32262 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
32265 2012-05-27 Ulrich Drepper <drepper@gmail.com>
32267 * po/h.po: Update from translation team.
32269 2012-05-26 Andreas Schwab <schwab@linux-m68k.org>
32271 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
32273 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
32274 handling of denormals.
32275 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
32276 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
32277 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
32278 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
32279 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
32280 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
32281 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
32284 2012-05-26 Marek Polacek <polacek@redhat.com>
32287 * math/libm-test.inc (fma_test): Don't always expect underflow
32290 2012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
32293 * elf/tst-execstack.c: Include stackinfo.h.
32294 (do_test): Adjust test case to ensure that pthread_getattr_np
32295 behaviour remains the same after marking stack executable.
32297 2012-05-25 Joseph Myers <joseph@codesourcery.com>
32299 * sysdeps/unix/sysv/linux/kernel-features.h
32300 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
32301 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
32303 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
32304 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
32305 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
32307 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
32308 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
32310 2012-05-25 H.J. Lu <hongjiu.lu@intel.com>
32312 * configure.in: Define the default includes to being none.
32313 * configure: Regenerated.
32315 2012-05-25 Roland McGrath <roland@hack.frob.com>
32317 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
32318 * sysdeps/x86_64/setjmp.S: Likewise.
32319 * sysdeps/i386/bsd-setjmp.S: Likewise.
32320 * sysdeps/i386/bsd-_setjmp.S: Likewise.
32321 * sysdeps/i386/setjmp.S: Likewise.
32322 * sysdeps/i386/__longjmp.S: Likewise.
32323 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
32324 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
32326 * include/stap-probe.h: New file.
32327 * configure.in: Handle --enable-systemtap.
32328 * configure: Regenerated.
32329 * config.h.in (USE_STAP_PROBE): New #undef.
32330 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
32331 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
32332 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
32334 2012-05-25 Joseph Myers <joseph@codesourcery.com>
32337 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
32338 to 2.4.0 where earlier.
32339 * sysdeps/unix/sysv/linux/configure: Regenerated.
32340 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
32341 <kernel-features.h>.
32342 [__ASSUME_32BITUIDS]: Make code unconditional.
32343 [!__ASSUME_32BITUIDS]: Remove conditional code.
32344 * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
32345 <kernel-features.h>.
32346 [__ASSUME_32BITUIDS]: Make code unconditional.
32347 [!__ASSUME_32BITUIDS]: Remove conditional code.
32348 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
32349 [__ASSUME_32BITUIDS]: Make code unconditional.
32350 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
32351 * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
32352 <kernel-features.h>.
32353 [__ASSUME_32BITUIDS]: Make code unconditional.
32354 [!__ASSUME_32BITUIDS]: Remove conditional code.
32355 * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
32356 <kernel-features.h>.
32357 [__ASSUME_32BITUIDS]: Make code unconditional.
32358 [!__ASSUME_32BITUIDS]: Remove conditional code.
32359 * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
32360 <kernel-features.h>.
32361 [__ASSUME_32BITUIDS]: Make code unconditional.
32362 [!__ASSUME_32BITUIDS]: Remove conditional code.
32363 * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
32364 <kernel-features.h>.
32365 [__ASSUME_32BITUIDS]: Make code unconditional.
32366 [!__ASSUME_32BITUIDS]: Remove conditional code.
32367 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
32368 <kernel-features.h>.
32369 [__ASSUME_32BITUIDS]: Make code unconditional.
32370 [!__ASSUME_32BITUIDS]: Remove conditional code.
32371 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
32372 <kernel-features.h>.
32373 [__ASSUME_32BITUIDS]: Make code unconditional.
32374 [!__ASSUME_32BITUIDS]: Remove conditional code.
32375 * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
32376 <kernel-features.h>.
32377 [__ASSUME_32BITUIDS]: Make code unconditional.
32378 [!__ASSUME_32BITUIDS]: Remove conditional code.
32379 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
32380 <kernel-features.h>.
32381 [__ASSUME_32BITUIDS]: Make code unconditional.
32382 [!__ASSUME_32BITUIDS]: Remove conditional code.
32383 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
32384 <kernel-features.h>.
32385 [__ASSUME_32BITUIDS]: Make code unconditional.
32386 [!__ASSUME_32BITUIDS]: Remove conditional code.
32387 * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
32388 <kernel-features.h>.
32389 [__ASSUME_32BITUIDS]: Make code unconditional.
32390 [!__ASSUME_32BITUIDS]: Remove conditional code.
32391 * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
32392 <kernel-features.h>.
32393 [__NR_setresgid] (__setresgid): Do not declare.
32394 [__ASSUME_32BITUIDS]: Make code unconditional.
32395 [!__ASSUME_32BITUIDS]: Remove conditional code.
32396 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
32397 <kernel-features.h>.
32398 [__NR_setresuid] (__setresuid): Do not declare.
32399 [__ASSUME_32BITUIDS]: Make code unconditional.
32400 [!__ASSUME_32BITUIDS]: Remove conditional code.
32401 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
32402 <kernel-features.h>.
32403 [__ASSUME_32BITUIDS]: Make code unconditional.
32404 [!__ASSUME_32BITUIDS]: Remove conditional code.
32405 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
32406 <kernel-features.h>.
32407 [__ASSUME_32BITUIDS]: Make code unconditional.
32408 [!__ASSUME_32BITUIDS]: Remove conditional code.
32409 * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
32410 <kernel-features.h>.
32411 [__ASSUME_32BITUIDS]: Make code unconditional.
32412 [!__ASSUME_32BITUIDS]: Remove conditional code.
32413 * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
32414 <kernel-features.h>.
32415 [__ASSUME_32BITUIDS]: Make code unconditional.
32416 [!__ASSUME_32BITUIDS]: Remove conditional code.
32417 * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
32418 <kernel-features.h>.
32419 [__ASSUME_32BITUIDS]: Make code unconditional.
32420 [!__ASSUME_32BITUIDS]: Remove conditional code.
32421 * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
32422 <kernel-features.h>.
32423 [__ASSUME_32BITUIDS]: Make code unconditional.
32424 [!__ASSUME_32BITUIDS]: Remove conditional code.
32425 * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
32426 <kernel-features.h>.
32427 [__ASSUME_32BITUIDS]: Make code unconditional.
32428 [!__ASSUME_32BITUIDS]: Remove conditional code.
32429 * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
32430 <kernel-features.h>.
32431 [__ASSUME_32BITUIDS]: Make code unconditional.
32432 [!__ASSUME_32BITUIDS]: Remove conditional code.
32433 * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
32434 <kernel-features.h>.
32435 [__ASSUME_32BITUIDS]: Make code unconditional.
32436 [!__ASSUME_32BITUIDS]: Remove conditional code.
32437 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
32438 <kernel-features.h>.
32439 [__ASSUME_32BITUIDS]: Make code unconditional.
32440 [!__ASSUME_32BITUIDS]: Remove conditional code.
32441 * sysdeps/unix/sysv/linux/kernel-features.h
32442 (__ASSUME_SETRESUID_SYSCALL): Remove.
32443 (__ASSUME_SETRESGID_SYSCALL): Likewise.
32444 (__ASSUME_32BITUIDS): Likewise.
32445 (__ASSUME_LDT_WORKS): Likewise.
32446 (__ASSUME_O_DIRECTORY): Likewise.
32447 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
32448 architecture but not kernel version.
32449 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
32450 (__ASSUME_MMAP2_SYSCALL): Likewise.
32451 (__ASSUME_STAT64_SYSCALL): Likewise.
32452 (__ASSUME_IPC64): Likewise.
32453 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
32454 <kernel-features.h>.
32455 [__ASSUME_32BITUIDS]: Make code unconditional.
32456 [!__ASSUME_32BITUIDS]: Remove conditional code.
32457 * sysdeps/unix/sysv/linux/opendir.c: Do not include
32458 <kernel-features.h>.
32459 [__ASSUME_O_DIRECTORY]: Make code unconditional.
32460 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
32461 132096]: Remove conditional code.
32462 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
32463 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
32464 <kernel-features.h>.
32465 [__ASSUME_32BITUIDS]: Make code unconditional.
32466 [!__ASSUME_32BITUIDS]: Remove conditional code.
32467 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
32468 <kernel-features.h>.
32469 [__ASSUME_32BITUIDS]: Make code unconditional.
32470 [!__ASSUME_32BITUIDS]: Remove conditional code.
32471 * sysdeps/unix/sysv/linux/setegid.c: Do not include
32472 <kernel-features.h>.
32473 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
32475 (__setresgid): Do not declare.
32476 [__ASSUME_32BITUIDS]: Make code unconditional.
32477 [!__ASSUME_32BITUIDS]: Remove conditional code.
32478 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
32479 <kernel-features.h>.
32480 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
32482 (__setresuid): Do not declare.
32483 [__ASSUME_32BITUIDS]: Make code unconditional.
32484 [!__ASSUME_32BITUIDS]: Remove conditional code.
32485 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
32486 <kernel-features.h>.
32487 [__ASSUME_32BITUIDS]: Make code unconditional.
32488 [!__ASSUME_32BITUIDS]: Remove conditional code.
32489 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
32490 <kernel-features.h>.
32491 [__ASSUME_32BITUIDS]: Make code unconditional.
32492 [!__ASSUME_32BITUIDS]: Remove conditional code.
32494 2012-05-25 Richard Henderson <rth@twiddle.net>
32496 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
32497 dl_hwcap to ifunc resolver.
32498 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
32500 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
32501 dl_hwcap to ifunc resolver.
32502 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
32504 2012-05-24 Joseph Myers <joseph@codesourcery.com>
32507 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
32508 for |x| <= 2**-26, not 2**-57.
32509 * math/libm-test.inc (acos_test): Do not allow spurious underflow
32512 2012-05-24 Jeff Law <law@redhat.com>
32514 * stdio-common/Makefile (tests): Add bug25.
32515 * stdio-common/bug25.c: New test.
32517 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
32520 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
32521 multiple of MALLOC_ALIGNMENT in size.
32522 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
32524 2012-05-24 Joseph Myers <joseph@codesourcery.com>
32526 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
32528 (FILENAME_MAX): Use macro-int-constant.
32529 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
32530 (_IOFBF): Use macro-int-constant.
32531 (_IOLBF): Likewise.
32532 (_IONBF): Likewise.
32533 (SEEK_CUR): Likewise.
32534 (SEEK_END): Likewise.
32535 (SEEK_SET): Likewise.
32536 (TMP_MAX): Likewise.
32537 (EOF): Use macro-int-constant. Require < 0.
32538 (NULL): Use macro-constant. Require == 0.
32539 (stdin): Require type to be FILE *.
32540 (stdout): Likewise.
32541 (stderr): Likewise.
32542 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
32543 macro-int-constant.
32544 (EXIT_SUCCESS): Likewise.
32545 (NULL): Use macro-constant. Require == 0.
32546 (RAND_MAX): Use macro-int-constant.
32547 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
32548 [C99-based standards] (strtof): Require function.
32549 [C99-based standards] (strtold): Likewise.
32550 [C99-based standards] (strtoll): Likewise.
32551 [C99-based standards] (strtoull): Likewise.
32552 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
32553 [ISO || ISO99 || ISO11] (limits.h): Likewise.
32554 [ISO || ISO99 || ISO11] (math.h): Likewise.
32555 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
32556 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
32557 [ISO || ISO99 || ISO11] (*_t): Do not allow.
32559 2012-05-24 Andreas Schwab <schwab@linux-m68k.org>
32562 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
32563 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
32564 * intl/dgettext.c (DCGETTEXT): Likewise.
32565 * intl/gettext.c (DCGETTEXT): Likewise.
32566 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
32567 * posix/regex_internal.h (gettext): Likewise.
32568 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
32569 Remove declaration.
32570 * include/argz.h (__argz_count_internal)
32571 (__argz_stringify_internal): Remove declaration.
32572 (__argz_count, __argz_stringify): Declare hidden proto.
32573 * intl/dcgettext.c: Remove use of INTDEF.
32574 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
32575 * string/argz-stringify.c: Likewise.
32576 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
32577 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
32578 Declare hidden proto.
32579 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
32580 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
32581 Declare hidden proto.
32582 * include/stdio.h (__asprintf_internal): Don't declare.
32583 (__asprintf): Don't define as macro. Declare hidden proto.
32584 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
32585 (__fsetlocking): Declare hidden proto.
32586 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
32587 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
32589 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
32590 (_IO_setlinebuf): Remove use of INTUSE.
32591 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
32592 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
32593 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
32594 Remove declaration.
32595 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
32596 (_IO_do_flush): Remove use of INTUSE.
32597 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
32598 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
32599 (_IO_adjust_column, _IO_least_wmarker)
32600 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
32601 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
32602 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
32603 (_IO_default_doallocate, _IO_wdefault_doallocate)
32604 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
32605 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
32606 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
32607 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
32608 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
32609 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
32610 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
32611 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
32612 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
32613 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
32614 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
32615 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
32616 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
32618 (_IO_flush_all_internal, _IO_adjust_column_internal)
32619 (_IO_default_uflow_internal, _IO_default_finish_internal)
32620 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
32621 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
32622 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
32623 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
32624 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
32625 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
32626 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
32627 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
32628 (_IO_file_close_internal, _IO_file_close_it_internal)
32629 (_IO_file_underflow_internal, _IO_file_overflow_internal)
32630 (_IO_file_init_internal, _IO_file_attach_internal)
32631 (_IO_file_fopen_internal, _IO_file_read_internal)
32632 (_IO_file_sync_internal, _IO_file_seek_internal)
32633 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
32634 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
32635 (_IO_str_underflow_internal, _IO_str_overflow_internal)
32636 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
32637 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
32638 (_IO_list_all_internal, _IO_link_in_internal)
32639 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
32640 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
32641 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
32642 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
32643 (_IO_do_write_internal, _IO_padn_internal)
32644 (_IO_getline_info_internal, _IO_getline_internal)
32645 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
32646 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
32647 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
32648 (_IO_vfscanf_internal, _IO_vfprintf_internal)
32649 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
32650 (_IO_init_internal, _IO_un_link_internal): Don't declare.
32651 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
32652 with libc_hidden_ver, remove use of INTUSE.
32653 * libio/genops.c: Likewise.
32654 * libio/freopen.c: Likewise.
32655 * libio/freopen64.c: Likewise.
32656 * libio/iofclose.c: Likewise.
32657 * libio/iofdopen.c: Likewise.
32658 * libio/iofflush.c: Likewise.
32659 * libio/iofflush_u.c: Likewise.
32660 * libio/iofgets.c: Likewise.
32661 * libio/iofgets_u.c: Likewise.
32662 * libio/iofopen.c: Likewise.
32663 * libio/iofopncook.c: Likewise.
32664 * libio/iofread.c: Likewise.
32665 * libio/iofread_u.c: Likewise.
32666 * libio/ioftell.c: Likewise.
32667 * libio/iofwrite.c: Likewise.
32668 * libio/iogetline.c: Likewise.
32669 * libio/iogets.c: Likewise.
32670 * libio/iogetwline.c: Likewise.
32671 * libio/iopadn.c: Likewise.
32672 * libio/iopopen.c: Likewise.
32673 * libio/ioseekoff.c: Likewise.
32674 * libio/ioseekpos.c: Likewise.
32675 * libio/iosetbuffer.c: Likewise.
32676 * libio/iosetvbuf.c: Likewise.
32677 * libio/ioungetc.c: Likewise.
32678 * libio/ioungetwc.c: Likewise.
32679 * libio/iovdprintf.c: Likewise.
32680 * libio/iovsprintf.c: Likewise.
32681 * libio/iovsscanf.c: Likewise.
32682 * libio/memstream.c: Likewise.
32683 * libio/obprintf.c: Likewise.
32684 * libio/oldfileops.c: Likewise.
32685 * libio/oldiofclose.c: Likewise.
32686 * libio/oldiofdopen.c: Likewise.
32687 * libio/oldiofopen.c: Likewise.
32688 * libio/oldiopopen.c: Likewise.
32689 * libio/oldstdfiles.c: Likewise.
32690 * libio/putc.c: Likewise.
32691 * libio/setbuf.c: Likewise.
32692 * libio/setlinebuf.c: Likewise.
32693 * libio/stdfiles.c: Likewise.
32694 * libio/strops.c: Likewise.
32695 * libio/vasprintf.c: Likewise.
32696 * libio/vscanf.c: Likewise.
32697 * libio/vsnprintf.c: Likewise.
32698 * libio/vswprintf.c: Likewise.
32699 * libio/wfiledoalloc.c: Likewise.
32700 * libio/wfileops.c: Likewise.
32701 * libio/wgenops.c: Likewise.
32702 * libio/wmemstream.c: Likewise.
32703 * libio/wstrops.c: Likewise.
32704 * libio/__fpurge.c: Likewise.
32705 * libio/__fsetlocking.c: Likewise.
32706 * assert/assert.c: Likewise.
32707 * debug/fgets_chk.c: Likewise.
32708 * debug/fgets_u_chk.c: Likewise.
32709 * debug/fread_chk.c: Likewise.
32710 * debug/fread_u_chk.c: Likewise.
32711 * debug/gets_chk.c: Likewise.
32712 * debug/obprintf_chk.c: Likewise.
32713 * debug/vasprintf_chk.c: Likewise.
32714 * debug/vdprintf_chk.c: Likewise.
32715 * debug/vsnprintf_chk.c: Likewise.
32716 * debug/vsprintf_chk.c: Likewise.
32717 * malloc/mtrace.c: Likewise.
32718 * misc/error.c: Likewise.
32719 * misc/syslog.c: Likewise.
32720 * stdio-common/asprintf.c: Likewise.
32721 * stdio-common/fxprintf.c: Likewise.
32722 * stdio-common/getw.c: Likewise.
32723 * stdio-common/isoc99_fscanf.c: Likewise.
32724 * stdio-common/isoc99_scanf.c: Likewise.
32725 * stdio-common/isoc99_vfscanf.c: Likewise.
32726 * stdio-common/isoc99_vscanf.c: Likewise.
32727 * stdio-common/isoc99_vsscanf.c: Likewise.
32728 * stdio-common/printf-prs.c: Likewise.
32729 * stdio-common/printf_fp.c: Likewise.
32730 * stdio-common/printf_fphex.c: Likewise.
32731 * stdio-common/printf_size.c: Likewise.
32732 * stdio-common/putw.c: Likewise.
32733 * stdio-common/scanf.c: Likewise.
32734 * stdio-common/sprintf.c: Likewise.
32735 * stdio-common/tmpfile.c: Likewise.
32736 * stdio-common/vfprintf.c: Likewise.
32737 * stdio-common/vfscanf.c: Likewise.
32738 * stdlib/strfmon_l.c: Likewise.
32739 * sunrpc/openchild.c: Likewise.
32740 * sunrpc/xdr_stdio.c: Likewise.
32741 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
32742 * sysdeps/mach/hurd/tmpfile.c: Likewise.
32744 2012-05-24 Roland McGrath <roland@hack.frob.com>
32746 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
32748 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
32749 in the third column, to generate for the shared library an IFUNC
32750 that uses _dl_vdso_vsym.
32751 * Makerules (COMPILE.c, compile-stdin.c): New variables.
32752 * Makeconfig (object-suffixes-noshared): New variable.
32754 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
32755 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
32756 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
32757 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
32760 * include/sys/time.h (__gettimeofday): Remove macro.
32761 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
32762 * time/gettimeofday.c (__gettimeofday): Remove #undef.
32764 (__gettimeofday): Add libc_hidden_def.
32765 (gettimeofday): Add libc_hidden_weak.
32766 * sysdeps/mach/gettimeofday.c: Likewise.
32767 * sysdeps/posix/gettimeofday.c: Likewise.
32768 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
32769 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
32770 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
32771 (__gettimeofday_internal): Remove strong_alias.
32772 (__gettimeofday): Add libc_hidden_def.
32773 (gettimeofday): Add libc_hidden_weak.
32774 * sysdeps/unix/syscalls.list (gettimeofday):
32775 Remove __gettimeofday_internal alias.
32777 2012-05-24 Daniel Jacobowitz <drow@false.org>
32778 H.J. Lu <hongjiu.lu@intel.com>
32781 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
32782 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
32783 (largebin_index_32_big): New.
32784 (largebin_index): Use it for 16-byte alignment.
32785 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
32786 correction with front_misalign.
32788 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
32790 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
32791 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
32793 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
32795 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
32797 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
32799 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
32801 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
32803 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
32805 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
32807 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
32809 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
32811 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
32813 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
32816 * scripts/data/c++-types-x32-linux-gnu.data: New file.
32817 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
32819 2012-05-24 Joseph Myers <joseph@codesourcery.com>
32823 * math/libm-test.inc (exp_test): Add test from bug 14036.
32824 (pow_test): Add test from bug 10846.
32826 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
32828 (special_function): Do not include flags in test name.
32829 (parse_args): Likewise.
32830 * sysdeps/i386/fpu/libm-test-ulps: Update.
32831 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
32832 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
32833 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
32834 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32836 * math/gen-libm-test.pl (%beautify): Add entries for underflow
32838 * math/libm-test.inc ("Philosophy"): Update comment about
32840 (UNDERFLOW_EXCEPTION): New macro.
32841 (UNDERFLOW_EXCEPTION_OK): Likewise.
32842 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
32843 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
32844 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
32845 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
32846 (INVALID_EXCEPTION_OK): Update value.
32847 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
32848 (OVERFLOW_EXCEPTION_OK): Likewise.
32849 (IGNORE_ZERO_INF_SIGN): Likewise.
32850 (test_exceptions): Handle underflow exceptions.
32851 (acos_test): Update for underflow exception expectations.
32852 (cexp_test): Likewise.
32853 (clog_test): Likewise.
32854 (clog10_test): Likewise.
32855 (csqrt_test): Likewise.
32856 (ctan_test): Likewise.
32857 (ctanh_test): Likewise.
32858 (exp_test): Likewise.
32859 (exp10_test): Likewise.
32860 (exp2_test): Likewise.
32861 (expm1_test): Likewise.
32862 (fma_test): Likewise.
32863 (j0_test): Likewise.
32864 (jn_test): Likewise.
32865 (nexttoward_test): Likewise.
32866 (pow_test): Likewise.
32867 (scalbn_test): Likewise.
32868 (scalbln_test): Likewise.
32869 (tan_test): Likewise.
32870 (y1_test): Likewise.
32871 * sysdeps/i386/fpu/libm-test-ulps: Update.
32872 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32874 2012-05-23 David S. Miller <davem@davemloft.net>
32876 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
32877 (__libc_sigaction): Remove unused local variables.
32879 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
32881 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
32883 2012-05-23 Paul Eggert <eggert@cs.ucla.edu>
32885 mktime: avoid signed integer overflow
32886 * time/mktime.c (__mktime_internal): Do not mishandle the case
32887 where diff == INT_MIN.
32889 mktime: simplify computation of average
32890 * time/mktime.c (ranged_convert): Use new time_t_avg function
32891 instead of rolling our own (probably-slower) code.
32893 mktime: do not assume signed right shift propagates sign bit
32894 * time/mktime.c (isdst_differ): New static function.
32895 (__mktime_internal): No need to normalize tm_isdst now.
32896 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
32899 mktime: merge another wrapv change from gnulib
32900 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
32901 from some compilers.
32903 mktime: remove incorrect attempt at unusual arithmetics
32904 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
32905 The code didn't really work on such machines anyway.
32906 (TYPE_MINIMUM): Assume two's complement.
32907 (twos_complement_arithmetic): Verify that long_int and time_t
32908 are two's complement (or unsigned, in the latter case).
32910 mktime: check signed shifts on long_int and time_t, too
32911 * time/mktime.c (SHR): Check that shifts work as desired
32912 on the types long_int and time_t too, as SHR is used on
32915 mktime: do not assume 'long' is wide enough
32916 * time/mktime.c (verify): Move decl up.
32917 (long_int): New type.
32918 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
32919 to remove assumption in the code that 'long' is wide enough to
32920 store year values. This assumption is not true on x32 and on
32921 some non-glibc platforms.
32923 mktime: merge wrapv change from gnulib
32924 * time/mktime.c (WRAPV): New macro.
32925 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
32926 (guess_time_tm, __mktime_internal): Do not assume that signed
32927 integer overflow wraps around; modern compilers generate code
32928 where this assumption is no longer valid.
32930 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
32932 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
32933 Replace "jmp L(pseudo_end)" with "ret".
32934 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
32937 2012-05-23 Andreas Jaeger <aj@suse.de>
32939 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
32940 * sysdeps/unix/sysv/linux/poll.c: Remove file.
32942 2012-05-23 Andreas Jaeger <aj@suse.de>
32943 Maximilian Attems <max@stro.at>
32945 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
32948 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
32950 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
32951 code so that pseudo_end is just ret and the stack pointer is
32952 correct also for static library in error case.
32954 2012-05-23 Joseph Myers <joseph@codesourcery.com>
32956 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
32957 move to syscalls.list.
32958 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
32959 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
32960 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
32961 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
32963 * manual/install.texi (Running make install): Do not mention Linux
32964 kernel version for which pt_chown is not needed.
32965 (Linux): Do not mention problems with nscd with 2.0 kernels.
32966 * INSTALL: Regenerated.
32968 2012-05-23 Andreas Jaeger <aj@suse.de>
32970 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
32971 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
32973 * sysdeps/unix/sysv/linux/s390/bits/mman.h
32974 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
32975 * sysdeps/unix/sysv/linux/sh/bits/mman.h
32976 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
32977 * sysdeps/unix/sysv/linux/i386/bits/mman.h
32978 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
32979 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
32980 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
32981 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
32982 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
32983 * sysdeps/unix/sysv/linux/bits/in.h
32984 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
32986 2012-05-22 Roland McGrath <roland@hack.frob.com>
32988 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
32989 (PREPARE_VERSION): Just use assert instead, it will be elided
32990 under [NDEBUG] anyway.
32992 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
32994 * sysdeps/unix/sysv/linux/Makefile: Include
32995 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
32996 (sysdep_routines): Remove sysctl.
32997 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
32998 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
32999 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
33000 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
33001 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
33003 2012-05-22 Andreas Jaeger <aj@suse.de>
33005 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
33006 that pseudo_end is just ret and the stack pointer is correct also
33007 for static library in error case.
33009 2012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
33012 * nss/nsswitch.c (defconfig_entries): New variable.
33013 (__nss_database_lookup): Don't leak defconfig entries.
33014 (nss_parse_service_list): Don't leak on error paths.
33015 (free_database_entries): New function.
33016 (free_defconfig): New function.
33017 (free_mem): Move common code to free_database_entries.
33019 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
33021 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
33023 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
33025 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
33026 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
33027 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
33029 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
33030 (INTERNAL_SYSCALL_TYPES): Likewise.
33031 (LOAD_ARGS_TYPES_[1-6]): Likewise.
33032 (LOAD_REGS_TYPES_[1-6]): Likewise.
33033 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
33034 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
33036 2012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
33038 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
33039 copysignl for GLIBC_2_0.
33040 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
33041 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
33042 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
33043 logbl for GLIBC_2_0.
33044 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
33045 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
33047 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
33049 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
33050 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
33052 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
33055 * time/mktime.c: Update copyright years.
33057 2012-05-22 Paul Eggert <eggert@cs.ucla.edu>
33059 mktime: merge comment-quoting-style change from gnulib
33060 * time/mktime.c: Quote 'like this' in comments.
33061 The GNU coding standards suggest that we no longer quote `like this',
33062 as "`" and "'" are typically rendered asymmetrically nowadays.
33063 The typical gnulib style is to quote 'like this' when quoting
33064 code, and "like this" when quoting English.
33066 * time/mktime.c (compile-command): Add "-I.".
33068 mktime: merge mktime-internal.h change from gnulib
33069 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
33071 mktime: merge time_r change from gnulib
33072 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
33074 mktime: merge DEBUG change from gnulib
33075 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
33076 case system <time.h> has a #define.
33078 mktime: merge <sys/types.h> change from gnulib
33079 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
33080 since <time.t> is now guaranteed to define time_t.
33082 mktime: merge HAVE_CONFIG_H change from gnulib
33083 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
33085 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
33087 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
33090 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
33092 (struct rusage): Use anonymous union to pad each field to
33095 2012-05-21 David S. Miller <davem@davemloft.net>
33097 * Makefules (o-iterator): Remove .s cases.
33098 (compile-command.s): Delete.
33099 (COMPILE.s): Delete.
33100 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
33102 2012-05-21 Joseph Myers <joseph@codesourcery.com>
33104 * configure.in (libc_cv_predef_stack_protector): Only consider
33105 "foobar" and "__stack_chk_fail" lines in libc_undefs.
33106 * configure: Regenerated.
33108 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
33110 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
33111 New macro. Use R*LP on int and pointer.
33112 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
33113 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
33114 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
33115 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
33117 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
33118 [__WORDSIZE_TIME64_COMPAT32] instead of
33119 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
33120 (struct utmp): Likewise.
33121 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
33122 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
33124 (__WORDSIZE_TIME64_COMPAT32): This.
33125 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
33126 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
33127 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
33128 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
33129 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
33130 (__WORDSIZE_TIME64_COMPAT32): New macro.
33132 2012-05-21 Andreas Jaeger <aj@suse.de>
33134 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
33135 only if [SHARED]. Add prototype for __wcschr_ia32.
33137 2012-05-21 Roland McGrath <roland@hack.frob.com>
33139 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
33140 of %rbp unmolested in the jmp_buf while mangling the low bits.
33141 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
33142 unmolested high bits of %rbp while demangling the low bits.
33143 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
33145 2012-05-21 Andreas Jaeger <aj@suse.de>
33147 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
33148 * sunrpc/svc_simple.c: Use it for registerrpc.
33149 * sunrpc/xcrypt.c: Use it for passwd2des.
33151 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
33153 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
33155 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
33156 Don't define if [__SYSCALL_WORDSIZE != 32].
33157 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
33160 2012-05-21 Bruno Haible <bruno@clisp.org>
33161 Andreas Jaeger <aj@suse.de>
33163 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
33164 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
33165 inptr and inend for must_buffer_ch.
33166 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
33167 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
33168 * stdio-common/Makefile (tests): Remove bug15.
33169 (bug15-ENV): Remove macro.
33170 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
33173 2012-05-19 Andreas Jaeger <aj@suse.de>
33174 Roland McGrath <roland@hack.frob.com>
33176 * manual/contrib.texi: Completely rewritten. It contains now an
33177 alphabetical list of contributors and their contributions.
33179 2012-05-21 Richard Henderson <rth@twiddle.net>
33181 * misc/getauxval.c (__getauxval): Use unsigned long int.
33182 * misc/sys/auxv.h: Include <sys/cdefs.h>.
33183 (getauxval): Use unsigned long int.
33185 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
33187 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
33189 2012-05-21 Roland McGrath <roland@hack.frob.com>
33191 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
33192 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
33193 __alignof__ (long double).
33195 2012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
33197 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
33199 2012-05-20 Richard Henderson <rth@twiddle.net>
33201 * misc/getauxval.c: New file.
33202 * misc/sys/auxv.h: New file.
33203 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
33204 (routines): Add getauxval.
33205 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
33206 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
33207 * elf/dl-sysdep.c (_dl_auxv): Remove.
33208 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
33209 * elf/dl-support.c (_dl_auxv): New variable.
33210 (_dl_aux_init): Initialize it.
33211 * manual/startup.texi (Auxiliary Vector): New node.
33212 * sysdeps/generic/bits/hwcap.h: New file.
33213 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
33214 * sysdeps/powerpc/sysdep.h: ... here. Include it.
33215 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
33216 * sysdeps/sparc/sysdep.h: ... here. Include it.
33217 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
33218 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
33219 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
33221 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
33222 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
33223 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
33224 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
33225 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
33226 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
33227 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
33228 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
33230 2012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
33232 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
33234 2012-05-19 David S. Miller <davem@davemloft.net>
33236 * sysdeps/sparc/fpu/libm-test-ulps: Update.
33238 2012-05-19 Joseph Myers <joseph@codesourcery.com>
33241 * math/s_ccosh.c: Include <float.h>
33242 (__ccosh): Avoid internal overflow calculating sinh and cosh
33243 values before multiplying by sin and cos values.
33244 * math/s_ccoshf.c: Likewise.
33245 * math/s_ccoshl.c: Likewise.
33246 * math/s_csin.c: Likewise.
33247 * math/s_csinf.c: Likewise.
33248 * math/s_csinl.c: Likewise.
33249 * math/s_csinh.c: Likewise.
33250 * math/s_csinhf.c: Likewise.
33251 * math/s_csinhl.c: Likewise.
33252 * math/libm-test.inc (ccos_test): Add more tests.
33253 (ccosh_test): Likewise.
33254 (csin_test): Likewise.
33255 (csinh_test): Likewise.
33256 * sysdeps/i386/fpu/libm-test-ulps: Update.
33257 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33259 2012-05-19 H.J. Lu <hongjiu.lu@intel.com>
33261 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
33262 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
33264 * sysdeps/x86_64/x32/_itoa.h: Add comment.
33266 2012-05-19 Joseph Myers <joseph@codesourcery.com>
33268 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
33269 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
33270 * sysdeps/powerpc/soft-fp/Versions: Likewise.
33271 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
33272 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
33273 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
33274 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
33275 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
33276 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
33277 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
33278 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
33279 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
33280 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
33281 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
33282 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
33283 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
33284 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
33285 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
33286 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
33287 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
33288 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
33289 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
33290 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
33291 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
33292 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
33293 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
33294 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
33295 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
33296 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
33297 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
33298 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
33300 2012-05-18 Andreas Jaeger <aj@suse.de>
33302 * csu/.gitignore: Delete.
33304 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
33306 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
33307 (timex): Use __syscall_slong_t.
33309 2012-05-18 Andreas Jaeger <aj@suse.de>
33310 Carlos O'Donell <carlos_odonell@mentor.com>
33312 * manual/install.texi (Configuring and compiling): Update
33313 description about files modified in the source directory.
33314 * INSTALL: Regenerated.
33316 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
33318 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
33319 value. Use "or" to set return value to -1.
33320 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
33321 negate return value.
33323 2012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
33325 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c)
33326 (CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
33327 failure if the compiler has Graphite support disabled.
33328 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
33330 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c)
33331 (CFLAGS-memmove.c): Likewise.
33332 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
33335 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
33337 * sysdeps/x86_64/x32/_itoa.h: New file.
33339 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
33340 getdents system call only if kernel and user dirents have the
33341 same d_ino and d_off.
33343 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
33344 LLONG_MAX != LONG_MAX.
33345 (_itoa_word): Use _ITOA_WORD_TYPE on value.
33346 (_fitoa_word): Likewise.
33348 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
33350 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
33351 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
33352 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
33354 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
33355 include <bits/wordsize.h>. Check __x86_64__ instead of
33357 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
33358 if __x86_64__ is defined. Use anonymous union on fpstate.
33360 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
33363 2012-05-18 Andreas Schwab <schwab@linux-m68k.org>
33365 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
33366 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
33367 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
33368 Refer to _rtld_local_ro instead of _rtld_global_ro.
33369 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
33371 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
33373 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
33375 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
33376 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
33377 of _rtld_global, and rtld_progname instead of _dl_argv[0].
33379 * sysdeps/powerpc/powerpc32/dl-machine.c
33380 (__elf_machine_runtime_setup) [PROF]: Don't reference
33383 2012-05-18 Andreas Jaeger <aj@suse.de>
33385 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
33386 function only available for GCCs before 3.4 since GCC 3.4
33387 introduced a builtin.
33389 (llrintf): Likewise.
33390 (llrint): Likewise.
33397 (nearbyint): Likewise.
33398 (nearbyintf): Likewise.
33402 (floorf): Likewise.
33404 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
33406 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
33407 on both fields and cast pointer to __syscall_ulong_t.
33409 * bits/types.h (__fsword_t): New type.
33410 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
33411 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
33412 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
33413 (__FSWORD_T_TYPE): Likewise.
33414 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
33415 (__FSWORD_T_TYPE): Likewise.
33416 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
33417 (__FSWORD_T_TYPE): Likewise.
33418 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
33419 (__FSWORD_T_TYPE): Likewise.
33420 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
33421 __SWORD_TYPE with __fsword_t.
33422 (statfs64): Likewise.
33424 2012-05-17 David S. Miller <davem@davemloft.net>
33426 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
33428 2012-05-17 Andreas Jaeger <aj@suse.de>
33430 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
33433 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
33435 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
33437 2012-05-17 Andreas Jaeger <aj@suse.de>
33439 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
33442 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
33444 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
33446 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
33448 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
33449 * sysdeps/x86_64/tst-mallocalign1.c: New file.
33451 2012-05-17 Andreas Jaeger <aj@suse.de>
33452 Carlos O'Donell <carlos_odonell@mentor.com>
33455 * sysdeps/x86_64/multiarch/init-arch.h
33456 (bit_YMM_Usable): Rename to...
33457 (bit_AVX_Usable): ... this.
33458 (bit_FMA4_Usable): New macro.
33459 (bit_XMM_state): New macro.
33460 (bit_YMM_state): New macro.
33461 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
33462 [__ASSEMBLER__] (index_AVX_Usable): ... this.
33463 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
33464 (CPUID_OSXSAVE): New macro.
33465 (CPUID_AVX): New macro.
33466 (CPUID_FMA4): New macro.
33467 (index_YMM_Usable): Rename to...
33468 (index_AVX_Usable): ... this.
33469 (HAS_AVX): Use HAS_ARCH_FEATURE.
33470 (HAS_FMA4): Likewise.
33471 (HAS_YMM_USABLE): Remove.
33472 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
33473 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
33475 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
33476 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
33477 * sysdeps/x86_64/multiarch/Makefile: Likewise.
33478 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
33479 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
33481 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
33483 * math/libm-test.c: Support platforms without multiple rounding modes.
33484 * math/bug-nextafter.c: Support platforms without FP exceptions.
33485 * math/bug-nexttoward.c: Likewise.
33486 * math/test-fenv.c: Likewise.
33487 * math/test-misc.c: Likewise.
33488 * stdlib/bug-getcontext.c: Likewise.
33490 2012-05-17 Andreas Jaeger <aj@suse.de>
33492 * manual/examples/search.c (critter_cmp): Change signature to
33494 * manual/string.texi (Collation Functions): Likewise.
33496 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
33498 * bits/types.h: Fold copyright years.
33499 * bits/typesizes.h: Likewise.
33500 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
33501 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
33502 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
33503 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
33504 * time/time.h: Likewise.
33506 2012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
33509 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
33510 in instead of returning them. Return void.
33511 (__libc_mallinfo): Accumulate over all arenas.
33512 (__malloc_stats): Adjust for change in int_mallinfo interface.
33514 2012-05-16 Roland McGrath <roland@hack.frob.com>
33517 * configure.in (NM): Add AC_CHECK_TOOL for it.
33518 (libc_extra_cflags): New substituted variable.
33519 Check for -fstack-protector being used implicitly.
33520 * configure: Regenerated.
33521 * config.make.in (config-extra-cflags): New variable,
33522 gets @libc_extra_cflags@.
33523 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
33526 * configure.in: Check for _FORTIFY_SOURCE being predefined.
33527 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
33528 * configure: Regenerated.
33529 * config.make.in (CPPUNDEFS): New substituted variable.
33530 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
33531 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
33532 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
33534 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
33536 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
33537 (mq_attr): Use __syscall_slong_t.
33539 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
33541 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
33542 Check __x86_64__ instead of __WORDSIZE.
33543 (_STAT_VER_LINUX): Likewise.
33544 (stat): Check __x86_64__ instead of __WORDSIZE. Use
33545 __syscall_ulong_t and __syscall_slong_t.
33546 (stat64): Likewise.
33548 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
33550 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
33552 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
33554 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
33556 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
33558 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
33561 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
33562 include <bits/wordsize.h>. Check __x86_64__ instead of
33564 (greg_t): Use "__extension__ long long int" if __x86_64__ is
33566 (mcontext_t): Replace "unsigned long" with "unsigned long long".
33568 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
33569 include <bits/wordsize.h>. Check __x86_64__ instead of
33571 (user_regs_struct): Use "__extension__ unsigned long long"
33572 instead of "unsigned long" if __x86_64__ is defined.
33573 (user): Likewise. Pad after pointer field if __ILP32__ is
33576 2012-05-16 Joseph Myers <joseph@codesourcery.com>
33578 * configure.in (makeinfo): Require version 4.5 or later. Allow
33580 * configure: Regenerated.
33581 * manual/install.texi (texinfo): Increase version requirement to
33583 * INSTALL: Regenerated.
33585 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
33587 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
33589 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
33591 * sysdeps/x86_64/x32/ffs.c: New file.
33593 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
33595 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
33596 defined. Use __syscall_ulong_t.
33597 (shminfo): Use __syscall_ulong_t.
33598 (shm_info): Likewise.
33600 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
33603 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
33605 (msgqnum_t): Use __syscall_ulong_t.
33606 (msglen_t): Likewise.
33607 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
33610 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
33611 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
33613 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
33615 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
33616 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
33618 * sysvipc/sys/msg.h (msgbuf): Replace long int with
33621 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
33622 include <bits/wordsize.h>. Check __x86_64__ instead of
33625 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
33626 "unsigned long long int" if __x86_64__ is defined.
33627 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
33629 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
33630 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
33631 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
33633 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
33635 (GET_PC): Cast to uintptr_t first.
33636 (GET_FRAME): Likewise.
33637 (GET_STACK): Likewise.
33639 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
33640 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
33641 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
33642 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
33643 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
33644 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
33645 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
33646 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
33647 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
33648 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
33649 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
33650 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
33651 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
33652 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
33653 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
33654 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
33655 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
33656 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
33657 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
33658 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
33659 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
33660 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
33661 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
33662 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
33663 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
33664 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
33665 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
33666 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
33667 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
33669 2012-05-16 Andreas Schwab <schwab@linux-m68k.org>
33671 * Makerules (+depfiles): Also collect depfiles from .oS in
33673 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
33674 .oS, $(libnldbl-routines)).
33676 * Makerules (native-compile-mkdep-flags): Define.
33677 * sunrpc/Makefile (extra-objs): Add $(addprefix
33678 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
33679 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
33680 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
33681 calling $(make-target-directory).
33683 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
33685 * bits/types.h (__snseconds_t): Removed.
33686 * time/time.h (struct timespec): Replace __snseconds_t with
33688 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
33689 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
33691 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
33692 (__SNSECONDS_T_TYPE): Likewise.
33693 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
33694 (__SNSECONDS_T_TYPE): Likewise.
33695 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
33696 (__SNSECONDS_T_TYPE): Likewise.
33698 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
33700 * sysdeps/mach/hurd/bits/typesizes.h
33701 (__SYSCALL_SLONG_TYPE): New macro.
33702 (__SYSCALL_ULONG_TYPE): Likewise.
33704 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
33706 * bits/types.h (__syscall_slong_t): New type.
33707 (__syscall_ulong_t): Likewise.
33709 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
33710 (__SYSCALL_ULONG_TYPE): Likewise.
33711 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
33712 (__SYSCALL_SLONG_TYPE): Likewise.
33713 (__SYSCALL_ULONG_TYPE): Likewise.
33714 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
33715 (__SYSCALL_SLONG_TYPE): Likewise.
33716 (__SYSCALL_ULONG_TYPE): Likewise.
33717 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
33718 (__SYSCALL_SLONG_TYPE): Likewise.
33719 (__SYSCALL_ULONG_TYPE): Likewise.
33721 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
33723 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
33724 Add sigaltstack-offsets.sym.
33725 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
33726 <sigaltstack-offsets.h>.
33727 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
33728 longjmp_msg pointer.
33729 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
33730 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
33732 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
33734 2012-05-15 Joseph Myers <joseph@codesourcery.com>
33736 * elf/stackguard-macros.h: Remove file.
33737 * sysdeps/generic/stackguard-macros.h: New file.
33738 * sysdeps/i386/stackguard-macros.h: Likewise.
33739 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
33740 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
33741 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
33742 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
33743 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
33744 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
33745 * sysdeps/x86_64/stackguard-macros.h: Likewise.
33746 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
33747 <elf/stackguard-macros.h>.
33750 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
33751 __aligned__ in attribute.
33752 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
33753 (gregset_t): Likewise.
33755 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
33757 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
33758 * sysdeps/x86_64/64/Implies-after: Here. New file.
33759 * sysdeps/x86_64/x32/Implies-after: New file.
33761 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
33763 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
33764 and access return value for _dl_profile_fixup. Use R10_LP to
33767 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
33769 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
33771 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
33773 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
33774 * sysdeps/x86_64/x32/sysdep.h: New file.
33776 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
33778 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
33779 * sysdeps/x86_64/setjmp.S: Likewise.
33781 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
33783 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
33784 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
33785 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
33786 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
33787 remove unused global constant.
33789 2012-05-15 Chris Metcalf <cmetcalf@tilera.com>
33791 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
33792 include of <not-cancel.h>.
33794 2012-05-15 Roland McGrath <roland@hack.frob.com>
33796 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
33798 2012-05-15 Jeff Law <law@redhat.com>
33799 Andreas Jaeger <aj@suse.de>
33802 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
33804 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
33805 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
33806 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
33807 code changing __hst_map_handle.map.
33809 2012-05-15 Roland McGrath <roland@hack.frob.com>
33811 * configure.in (sysnames): Look for Implies-before and Implies-after
33813 * configure: Regenerated.
33815 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
33817 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
33818 8-byte data alignment with LP_SIZE alignment.
33820 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
33822 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
33825 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
33827 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
33829 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
33831 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
33832 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
33833 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
33835 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
33837 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
33839 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
33840 (stackinfo_sub_sp): Likewise.
33842 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
33844 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
33847 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
33849 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
33852 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
33854 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
33857 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
33859 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
33861 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
33863 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
33864 into R11_LP and load __x86_64_shared_cache_size_half into
33867 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
33869 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
33872 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
33874 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
33876 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
33878 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
33880 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
33881 powerpc32/power7/fpu/s_logb.c via #include.
33882 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
33883 powerpc32/power7/fpu/s_logbf.c via #include.
33884 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
33885 powerpc32/power7/fpu/s_logbl.c via #include.
33887 2012-05-15 Joseph Myers <joseph@codesourcery.com>
33889 * README.libm: Remove file.
33891 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
33893 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
33894 count for x32. Use R*_LP and omit operand-size suffix.
33896 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
33898 * shlib-versions: Move x86_64-.*-linux.* entries to ...
33899 * sysdeps/x86_64/64/shlib-versions: Here. New file.
33900 * sysdeps/x86_64/x32/shlib-versions: New file.
33902 2012-05-14 Roland McGrath <roland@hack.frob.com>
33904 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
33905 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
33906 Use _dl_fatal_printf instead.
33908 2012-05-14 Joseph Myers <joseph@codesourcery.com>
33910 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
33911 set if not set by the user. Do not allow for being unset.
33912 * sysdeps/unix/sysv/linux/configure: Regenerated.
33914 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
33916 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
33917 the `q' suffix from lea and replace .quad with ASM_ADDR.
33919 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
33921 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
33922 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
33924 (PTR_DEMANGLE): Likewise.
33926 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
33928 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
33930 (ASM_ADDR): Likewise.
33931 (RAX_LP): Likewise.
33932 (RBP_LP): Likewise.
33933 (RBX_LP): Likewise.
33934 (RCX_LP): Likewise.
33935 (RDI_LP): Likewise.
33936 (RSI_LP): Likewise.
33937 (RSP_LP): Likewise.
33940 (R10_LP): Likewise.
33941 (R10_LP): Likewise.
33942 (R11_LP): Likewise.
33943 (R12_LP): Likewise.
33944 (R13_LP): Likewise.
33945 (R14_LP): Likewise.
33946 (R15_LP): Likewise.
33948 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
33950 * sysdeps/x86_64/x32/dl-machine.h: New file.
33952 2012-05-14 Andreas Jaeger <aj@suse.de>
33954 * manual/Makefile (subdir): Remove export of subdir.
33955 (all): Remove target.
33956 (.PHONY): Remove all from list.
33957 (mkinstalldirs): Remove.
33958 (.PHONY): Remove installdirs from list.
33959 ($(inst_infodir)/libc.info): Use make-target-directory.
33960 (installdirs): Remove.
33961 (subdir_%): Remove.
33962 (glibc-targets): Remove.
33965 ($(objpfx)stubs ../po/manual.pot): Remove.
33966 ($(objpfx)stamp%): Remove.
33967 (make-target-directory): Remove.
33968 (subdir_install): Remove.
33969 (routines): Remove.
33976 * manual/.gitignore: Remove, it's not needed anymore.
33977 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
33979 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
33981 (texis): Renamed to $(objpfx)texis.
33982 (texis-path): New, contains path to generated files.
33983 (chapters.%): Use texis-path for complete path, add extra argument
33985 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
33986 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
33987 (summary,texi, stamp-summary): Use complete path of
33988 files. Generate files in build dir.
33989 (dir-add.texi): Build in build dir.
33990 (libm-err.texi,stamp-libm-err): Likewise.
33991 (version.texi, stamp-version): Likewise.
33992 (.%c.texi): Likewise.
33993 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
33994 (mostlyclean): Remove target.
33995 (realclean): Remove target.
33996 (generated): Add new variable with contents from mostlyclean and
33997 realclean, remove entries duplicated in common-mostlyclean, add
33998 stamp-libm-err and stamp-version.
33999 (generated-dirs): Add libc directory.
34000 ($(inst_infodir)/libc.info): Install files from build dir.
34002 * manual/install.texi (Configuring and compiling): Adjust since
34003 the info files are not part of the tar ball anymore.
34005 2012-05-14 Andreas Jaeger <aj@suse.de>
34007 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
34010 2012-05-14 Joseph Myers <joseph@codesourcery.com>
34013 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
34014 to 2.2.0 where earlier.
34015 * sysdeps/unix/sysv/linux/configure: Regenerated.
34016 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
34017 Remove conditional code.
34018 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
34019 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
34020 Remove conditional code.
34021 [!__NR_lchown]: Likewise.
34022 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
34023 [__NR_lchown]: Likewise.
34024 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
34025 comment referencing __ASSUME_LCHOWN_SYSCALL.
34026 * sysdeps/unix/sysv/linux/i386/sigaction.c
34027 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
34028 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
34029 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
34030 Remove conditional code.
34031 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
34032 (__protocol_available): Remove #if 0 code.
34033 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
34035 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
34036 * sysdeps/unix/sysv/linux/kernel-features.h
34037 (__ASSUME_GETCWD_SYSCALL): Don't define.
34038 (__ASSUME_REALTIME_SIGNALS): Likewise.
34039 (__ASSUME_PREAD_SYSCALL): Likewise.
34040 (__ASSUME_PWRITE_SYSCALL): Likewise.
34041 (__ASSUME_POLL_SYSCALL): Likewise.
34042 (__ASSUME_LCHOWN_SYSCALL): Likewise.
34043 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
34045 (__ASSUME_SIOCGIFNAME): Don't define.
34046 (__ASSUME_MSG_NOSIGNAL): Likewise.
34047 (__ASSUME_SENDFILE): Define unconditionally.
34048 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
34049 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
34051 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
34052 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
34053 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
34054 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
34055 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
34056 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
34057 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
34058 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
34059 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
34060 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
34061 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
34062 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
34063 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
34064 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
34065 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
34066 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
34067 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
34068 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
34069 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
34070 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
34071 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
34072 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
34073 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
34074 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
34075 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
34076 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
34077 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
34078 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
34079 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
34080 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
34081 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
34082 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
34083 Remove conditional code.
34084 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
34085 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
34086 Remove conditional code.
34087 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
34088 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
34089 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
34090 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
34091 Remove conditional code.
34092 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
34093 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
34094 Remove conditional code.
34095 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
34096 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
34097 Remove conditional code.
34098 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
34099 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
34100 Remove conditional code.
34101 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
34102 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
34103 Remove conditional code.
34104 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
34105 * sysdeps/unix/sysv/linux/sh/pwrite64.c
34106 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
34107 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
34108 * sysdeps/unix/sysv/linux/sigaction.c
34109 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
34110 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
34111 * sysdeps/unix/sysv/linux/sigpending.c
34112 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
34113 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
34114 * sysdeps/unix/sysv/linux/sigprocmask.c
34115 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
34116 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
34117 * sysdeps/unix/sysv/linux/sigsuspend.c
34118 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
34119 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
34120 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
34121 (__libc_missing_rt_sigs): Remove.
34122 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
34123 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
34124 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
34125 Remove conditional code.
34126 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
34127 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
34129 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
34130 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
34131 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
34132 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
34134 2012-05-14 Andreas Jaeger <aj@suse.de>
34136 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
34137 it's not used in glibc.
34138 (__coshm1): Likewise.
34139 (__acosh1p): Likewise.
34142 * manual/string.texi (Copying and Concatenation): Add missing
34143 variable in concat example.
34144 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
34146 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
34149 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
34150 __builtin_clzl with __builtin_clzll.
34152 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
34155 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
34158 2012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
34160 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
34161 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
34162 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
34163 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
34165 2012-05-14 Mike Frysinger <vapier@gentoo.org>
34167 * NEWS: Update ia64 info.
34169 2012-05-12 Andreas Schwab <schwab@linux-m68k.org>
34171 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
34174 2012-05-12 Thomas Schwinge <thomas@codesourcery.com>
34176 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
34177 * sysdeps/unix/syscalls.list (dup3): Likewise.
34178 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
34179 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
34181 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
34183 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
34184 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
34186 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
34188 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
34190 (TLS_IE): Use mov/add instead of movq/addq to load thread
34192 (TLS_GD_PREFIX): New.
34195 2012-05-11 David S. Miller <davem@davemloft.net>
34197 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
34198 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
34199 (_FPU_SETCW): Likewise.
34201 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
34203 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
34204 is 32-byte aligned.
34206 2012-05-11 Andreas Schwab <schwab@linux-m68k.org>
34209 * iconvdata/gb18030.c: Update tables.
34210 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
34211 characters specially.
34212 (BODY for TO_LOOP): Add encoding of missing ranges.
34214 2012-05-11 Thomas Schwinge <thomas@codesourcery.com>
34217 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
34218 * sysdeps/mach/hurd/dup3.c: Likewise.
34219 * sysdeps/mach/hurd/readlinkat.c: Likewise.
34220 * sysdeps/powerpc/memmove.c:: Likewise.
34222 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
34224 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
34225 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
34227 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
34229 * elf/elf.h (R_X86_64_RELATIVE64): New.
34230 (R_X86_64_NUM): Updated.
34231 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
34232 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
34233 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
34234 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
34235 tst-quad1pie tst-quad2pie
34236 (modules-names): Add tst-quadmod1 tst-quadmod2.
34237 ($(objpfx)tst-quad1): New dependency.
34238 ($(objpfx)tst-quad2): Likewise.
34239 ($(objpfx)tst-quad1pie): Likewise.
34240 ($(objpfx)tst-quad2pie): Likewise.
34241 * sysdeps/x86_64/tst-quad1.c: New file.
34242 * sysdeps/x86_64/tst-quad1pie.c: New file.
34243 * sysdeps/x86_64/tst-quad2.c: Likewise.
34244 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
34245 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
34246 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
34247 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
34248 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
34250 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
34252 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
34253 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
34254 * streams/stropts.h (t_scalar_t): Define type.
34256 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
34257 (_PATH_PRESERVE): Set to "/var/lib".
34258 (_PATH_RWHODIR): Set to "/var/spool/rwho".
34260 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
34263 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
34264 if __dir_mkfile succeeded.
34266 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
34267 checking for _hurd_dtablesize. Unlock it right after having
34268 finished _hurd_dtable allocation.
34270 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
34272 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
34273 * sysdeps/mach/hurd/configure: Regenerated.
34274 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
34275 special-casing to...
34276 * sysdeps/gnu/configure.in: ... this new file.
34277 * sysdeps/unix/sysv/linux/configure: Regenerated.
34278 * sysdeps/gnu/configure: New generated file.
34280 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
34281 for Linux: use nsec instead of usec, as well as:
34282 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
34283 members of type struct timespec.
34284 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
34286 (struct stat64): Likewise.
34287 (_STATBUF_ST_NSEC): New macro.
34288 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
34290 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
34291 __strtoul_internal rather than strtoul.
34293 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
34295 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
34298 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
34300 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
34301 which preserves existing values.
34302 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
34304 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
34306 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
34307 TIMEOUT values. Return EINVAL for NFDS values either negative or
34308 greater than FD_SETSIZE.
34310 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
34312 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
34313 allocated, call __vm_protect to finish enabling the existing space, and
34314 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
34315 allocate the remainder.
34317 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
34319 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
34320 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
34322 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
34324 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
34325 sysdeps/mach/hurd/readlink.c.
34327 * posix/tst-sysconf.c (posix_options): Only use
34328 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
34329 _POSIX_SYNCHRONIZED_IO when they are defined
34330 * sysdeps/mach/hurd/bits/posix_opt.h:
34331 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
34332 (_XOPEN_REALTIME): Undefine macro.
34333 (_XOPEN_REALTIME_THREADS): Undefine macro.
34334 (_XOPEN_SHM): Undefine macro.
34335 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
34337 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
34339 (_POSIX_ASYNC_IO): Undefine macro.
34340 (_POSIX_PRIORITIZED_IO): Undefine macro.
34341 (_POSIX_SPIN_LOCKS): Define macro to -1.
34343 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
34344 SA_NODEFER, SA_RESETHAND.
34345 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
34346 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
34349 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
34351 * elf/Makefile (pldd-modules): Define unconditionally.
34353 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
34355 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
34357 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
34359 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
34360 Return ENOENT when name is empty.
34361 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
34363 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
34365 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
34367 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
34369 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
34371 Fix mlock in all cases except non-readable pages.
34372 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
34373 instead of VM_PROT_ALL as parameter to __vm_wire function.
34375 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
34376 (__mkdir): When path is `/', just fail with EEXIST.
34377 * sysdeps/mach/hurd/mkdirat.c: Likewise.
34379 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
34381 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
34382 <sys/uio.h> (for writev).
34383 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
34384 and <sys/param.h> (for MIN).
34386 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
34388 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
34389 REQUESTED_TIME. Properly set the remaining time and return EINTR
34392 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
34394 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
34395 Depend on against $(link-rpcuserlibs).
34397 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
34399 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
34400 (__libc_stack_end): Do not use attribute_relro.
34401 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
34402 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
34403 to libthread-provided value.
34404 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
34407 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
34410 * bits/libc-lock.h (__libc_once_get): New macro.
34411 * sysdeps/mach/bits/libc-lock.h: Likewise.
34412 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
34413 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
34414 instead of using implementation details.
34416 * libio/fileops.c: Unconditionally include <kernel-features.h>.
34417 * libio/freopen.c: Likewise.
34418 * libio/freopen64.c: Likewise.
34419 * misc/syslog.c: Likewise.
34420 * nscd/connections.c: Likewise.
34421 * nscd/netgroupcache.c: Likewise.
34422 * sysdeps/posix/getcwd.c: Likewise.
34424 2012-05-10 Roland McGrath <roland@hack.frob.com>
34426 * math/w_ilogbf.c: Add #include <limits.h>.
34428 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
34430 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
34431 path instead of returning without unlocking.
34433 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
34434 immediate-write ioctls.
34435 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
34437 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
34439 * sysdeps/mach/hurd/i386/init-first.c (init): Use
34440 __builtin_frame_address instead of making assumptions about the
34441 location of the return address relative to DATA. Force early load of
34442 the return address.
34443 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
34444 __builtin_frame_address.
34447 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
34448 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
34449 implement dup3 and do some further code clean-ups.
34450 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
34451 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
34453 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
34455 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
34457 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
34458 HURD_CRITICAL_END around holding _hurd_dtable_lock.
34459 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
34460 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
34461 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
34464 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
34465 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
34466 when handler == SIG_ERR, not when handler != SIG_ERR.
34468 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
34470 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
34471 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
34474 accept4 for GNU Hurd.
34475 * include/sys/socket.h (__libc_accept4): New prototype.
34476 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
34477 to implement __libc_accept4.
34478 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
34480 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
34482 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
34483 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
34484 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
34485 signal-defines.sym.
34487 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
34489 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
34491 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
34493 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
34494 assertion on O_CLOEXEC flag.
34495 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
34496 * hurd/intern-fd.c: Likewise.
34497 * hurd/port2fd.c: Likewise.
34499 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
34502 * bits/in.h (IPV6_PKTINFO): Define new macro.
34503 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
34505 2012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
34510 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
34511 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
34512 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
34513 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
34514 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
34515 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
34516 * math/libm-test.inc (logb_test) : Additional logb tests.
34518 2012-05-09 Andreas Schwab <schwab@linux-m68k.org>
34519 Andreas Jaeger <aj@suse.de>
34521 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
34522 * configure: Regenerated.
34523 * config.h.in (LINK_OBSOLETE_RPC): New macro.
34524 * config.make.in (link-obsolete-rpc): New substituted variable.
34525 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
34526 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
34527 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
34528 (shared-only-routines): Don't set it under [link-obsolete-rpc],
34529 so that libc.a contains the symbols.
34530 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
34531 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
34532 * sunrpc/auth_none.c: Likewise.
34533 * sunrpc/auth_unix.c: Likewise.
34534 * sunrpc/authdes_prot.c: Likewise.
34535 * sunrpc/authuxprot.c: Likewise.
34536 * sunrpc/clnt_gen.c: Likewise.
34537 * sunrpc/clnt_perr.c: Likewise.
34538 * sunrpc/clnt_raw.c: Likewise.
34539 * sunrpc/clnt_simp.c: Likewise.
34540 * sunrpc/clnt_tcp.c: Likewise.
34541 * sunrpc/clnt_udp.c: Likewise.
34542 * sunrpc/clnt_unix.c: Likewise.
34543 * sunrpc/des_crypt.c: Likewise.
34544 * sunrpc/des_soft.c: Likewise.
34545 * sunrpc/get_myaddr.c: Likewise.
34546 * sunrpc/key_call.c: Likewise.
34547 * sunrpc/key_prot.c: Likewise.
34548 * sunrpc/netname.c: Likewise.
34549 * sunrpc/pm_getmaps.c: Likewise.
34550 * sunrpc/pm_getport.c: Likewise.
34551 * sunrpc/pmap_clnt.c: Likewise.
34552 * sunrpc/pmap_prot.c: Likewise.
34553 * sunrpc/pmap_prot2.c: Likewise.
34554 * sunrpc/pmap_rmt.c: Likewise.
34555 * sunrpc/publickey.c: Likewise.
34556 * sunrpc/rpc_cmsg.c: Likewise.
34557 * sunrpc/rpc_common.c: Likewise.
34558 * sunrpc/rpc_dtable.c: Likewise.
34559 * sunrpc/rpc_prot.c: Likewise.
34560 * sunrpc/rpc_thread.c: Likewise.
34561 * sunrpc/rtime.c: Likewise.
34562 * sunrpc/svc.c: Likewise.
34563 * sunrpc/svc_auth.c: Likewise.
34564 * sunrpc/svc_raw.c: Likewise.
34565 * sunrpc/svc_run.c: Likewise.
34566 * sunrpc/svc_tcp.c: Likewise.
34567 * sunrpc/svc_udp.c: Likewise.
34568 * sunrpc/svc_unix.c: Likewise.
34569 * sunrpc/svcauth_des.c: Likewise.
34570 * sunrpc/xcrypt.c: Likewise.
34571 * sunrpc/xdr.c: Likewise.
34572 * sunrpc/xdr_array.c: Likewise.
34573 * sunrpc/xdr_float.c: Likewise.
34574 * sunrpc/xdr_intXX_t.c: Likewise.
34575 * sunrpc/xdr_mem.c: Likewise.
34576 * sunrpc/xdr_rec.c: Likewise.
34577 * sunrpc/xdr_ref.c: Likewise.
34578 * sunrpc/xdr_sizeof.c: Likewise.
34579 * sunrpc/xdr_stdio.c: Likewise.
34581 2012-05-10 Roland McGrath <roland@hack.frob.com>
34583 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
34584 change. Update copyright years.
34586 2012-05-10 Joseph Myers <joseph@codesourcery.com>
34588 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
34590 2012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
34591 Joseph Myers <joseph@codesourcery.com>
34592 Paul Pluzhnikov <ppluzhnikov@google.com>
34595 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
34597 [cross-compiling] (extra-libs): Likewise.
34598 [cross-compiling] (extra-libs-others): Likewise.
34599 [cross-compiling] (librpcsvc-routines): Likewise.
34600 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
34601 [cross-compiling] (omit-deps): Likewise.
34602 (sunrpc-CPPFLAGS): New variable.
34603 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
34604 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
34605 (cross-rpcgen-objs): New variable.
34606 (extra-objs): Append $(cross-rpcgen-objs).
34607 ($(cross-rpcgen-objs)): New rule.
34608 ($(objpfx)cross-rpcgen): Likewise.
34609 (rpcgen-cmd): Define to use $(built-program-file). Expand
34611 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
34612 ($(objpfx)x%.stmp): Likewise.
34613 * sunrpc/proto.h [IS_IN_build] (_): Define.
34614 [IS_IN_build] (_libc_intl_domainname): Likewise.
34616 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
34618 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
34619 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
34620 and R_X86_64_TPOFF64.
34622 2012-05-10 Joseph Myers <joseph@codesourcery.com>
34624 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
34625 sysdeps/unix/sysv/syscalls.list.
34628 * sysdeps/unix/sysv/syscalls.list: Remove file.
34630 2012-05-10 Paul Eggert <eggert@cs.ucla.edu>
34633 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
34634 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
34635 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
34636 (__LC_IDENTIFICATION): Make these macros useful in #if
34637 expressions, as required by C99.
34639 2012-05-10 Andreas Schwab <schwab@linux-m68k.org>
34641 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
34642 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
34645 2012-05-09 H.J. Lu <hongjiu.lu@intel.com>
34647 * stdlib/longlong.h: Updated from GCC.
34649 2012-05-09 Andreas Jaeger <aj@suse.de>
34651 * nscd/nscd.c (run_modes): Make named enum, reorder so that
34652 default is first entry.
34653 (run_mode): Set type.
34654 (main): Remove informal message about syslog.
34655 (options): Fix typo.
34658 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
34661 (llrintf): Likewise.
34662 (llrint): Likewise.
34665 (nearbyint): Likewise.
34666 (nearbyintf): Likewise.
34668 2012-05-09 Andreas Jaeger <aj@suse.de>
34669 Pedro Alves <palves@redhat.com>
34671 * nscd/nscd.c (run_mode): Use enum.
34672 (main): Cleanup coding style issue.
34674 2012-05-09 Alexandre Oliva <aoliva@redhat.com>
34675 Andreas Jaeger <aj@suse.de>
34677 * nscd/nscd.c (go_background): Replaced with...
34678 (run_mode): ... this.
34679 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
34680 (options): Add -F --foreground.
34681 (main): Implement it.
34682 (parse_opt): Parse it.
34684 2012-05-09 Andreas Jaeger <aj@suse.de>
34687 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
34688 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
34689 -Wconversion warning.
34690 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
34693 2012-05-09 Joseph Myers <joseph@codesourcery.com>
34695 * conform/data/locale.h-data (NULL): Use macro-constant. Require
34697 (LC_ALL): Use macro-int-constant.
34698 (LC_COLLATE): Likewise.
34699 (LC_CTYPE): Likewise.
34700 (LC_MESSAGES): Likewise.
34701 (LC_MONETARY): Likewise.
34702 (LC_NUMERIC): Likewise.
34703 (LC_TIME): Likewise.
34704 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
34705 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
34706 [ISO || ISO99 || ISO11] (*_t): Do not allow.
34707 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
34709 [C99-based standards] (float_t): Expect type.
34710 [C99-based standards] (double_t): Expect type.
34711 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
34713 [C99-based standards] (HUGE_VALL): Likewise.
34714 [C99-based standards] (INFINITY): Likewise.
34715 [C99-based standards] (NAN): Likewise.
34716 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
34717 [C99-based standards] (FP_NAN): Likewise.
34718 [C99-based standards] (FP_NORMAL): Likewise.
34719 [C99-based standards] (FP_SUBNORMAL): Likewise.
34720 [C99-based standards] (FP_ZERO): Likewise.
34721 [C99-based standards] (FP_FAST_FMA): Use
34722 optional-macro-int-constant. Specify type. Require == 1.
34723 [C99-based standards] (FP_FAST_FMAF): Likewise.
34724 [C99-based standards] (FP_FAST_FMAL): Likewise.
34725 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
34726 [C99-based standards] (FP_ILOGBNAN): Likewise.
34727 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
34729 [C99-based standards] (MATH_ERREXCEPT): Likewise.
34730 [C99-based standards] (math_errhandling): Specify type.
34731 [ISO99 || ISO11] (signgam): Do not allow.
34732 [non-C99-based standards] (copysignf): Do not allow.
34733 [non-C99-based standards] (exp2f): Likewise.
34734 [non-C99-based standards] (log2f): Likewise.
34735 [non-C99-based standards] (modff): Allow.
34736 [non-C99-based standards] (erff): Do not allow.
34737 [non-C99-based standards] (erfcf): Likewise.
34738 [non-C99-based standards] (gammaf): Likewise.
34739 [non-C99-based standards] (hypotf): Likewise.
34740 [non-C99-based standards] (j0f): Likewise.
34741 [non-C99-based standards] (j1f): Likewise.
34742 [non-C99-based standards] (jnf): Likewise.
34743 [non-C99-based standards] (lgammaf): Likewise.
34744 [non-C99-based standards] (tgammaf): Likewise.
34745 [non-C99-based standards] (y0f): Likewise.
34746 [non-C99-based standards] (y1f): Likewise.
34747 [non-C99-based standards] (ynf): Likewise.
34748 [non-C99-based standards] (isnanf): Likewise.
34749 [non-C99-based standards] (acoshf): Likewise.
34750 [non-C99-based standards] (asinhf): Likewise.
34751 [non-C99-based standards] (atanhf): Likewise.
34752 [non-C99-based standards] (cbrtf): Likewise.
34753 [non-C99-based standards] (expm1f): Likewise.
34754 [non-C99-based standards] (ilogbf): Likewise.
34755 [non-C99-based standards] (log1pf): Likewise.
34756 [non-C99-based standards] (logbf): Likewise.
34757 [non-C99-based standards] (nextafterf): Likewise.
34758 [non-C99-based standards] (remainderf): Likewise.
34759 [non-C99-based standards] (rintf): Likewise.
34760 [non-C99-based standards] (scalbf): Likewise.
34761 [non-C99-based standards] (copysignl): Likewise.
34762 [non-C99-based standards] (exp2l): Likewise.
34763 [non-C99-based standards] (log2l): Likewise.
34764 [non-C99-based standards] (modfl): Allow.
34765 [non-C99-based standards] (erfl): Do not allow.
34766 [non-C99-based standards] (erfcl): Likewise.
34767 [non-C99-based standards] (gammal): Likewise.
34768 [non-C99-based standards] (hypotl): Likewise.
34769 [non-C99-based standards] (j0l): Likewise.
34770 [non-C99-based standards] (j1l): Likewise.
34771 [non-C99-based standards] (jnl): Likewise.
34772 [non-C99-based standards] (lgammal): Likewise.
34773 [non-C99-based standards] (tgammal): Likewise.
34774 [non-C99-based standards] (y0l): Likewise.
34775 [non-C99-based standards] (y1l): Likewise.
34776 [non-C99-based standards] (ynl): Likewise.
34777 [non-C99-based standards] (isnanl): Likewise.
34778 [non-C99-based standards] (acoshl): Likewise.
34779 [non-C99-based standards] (asinhl): Likewise.
34780 [non-C99-based standards] (atanhl): Likewise.
34781 [non-C99-based standards] (cbrtl): Likewise.
34782 [non-C99-based standards] (expm1l): Likewise.
34783 [non-C99-based standards] (ilogbl): Likewise.
34784 [non-C99-based standards] (log1pl): Likewise.
34785 [non-C99-based standards] (logbl): Likewise.
34786 [non-C99-based standards] (nextafterl): Likewise.
34787 [non-C99-based standards] (remainderl): Likewise.
34788 [non-C99-based standards] (rintl): Likewise.
34789 [non-C99-based standards] (scalbl): Likewise.
34790 [ISO || ISO99 || ISO11] (*_t): Do not allow.
34791 [non-C99-based standards] (FP_*): Do not allow.
34792 [C99-based standards] (FP_*): Change to
34793 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
34794 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
34796 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
34797 (SIG_ERR): Likewise.
34798 [X/Open-based standards] (SIG_HOLD): Likewise.
34799 (SIG_IGN): Likewise.
34800 (SIGABRT): Use macro-int-constant. Specify type. Require
34802 (SIGFPE): Likewise.
34803 (SIGILL): Likewise.
34804 (SIGINT): Likewise.
34805 (SIGSEGV): Likewise.
34806 (SIGTER): Likewise.
34807 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
34808 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
34809 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
34810 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
34811 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
34812 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
34813 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
34814 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
34815 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
34816 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
34817 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
34818 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
34819 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
34820 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
34821 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
34822 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
34823 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
34824 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
34825 [X/Open-based standards] (SIGTRAP): Likewise.
34826 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
34827 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
34828 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
34829 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
34830 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
34833 2012-05-08 Ian Wienand <ianw@vmware.com>
34836 * time/tzset.c (__tzset_parse_tz): Update default rules for
34837 daylight time changes in the Energy Policy Act of 2005.
34839 2012-05-09 Andreas Jaeger <aj@suse.de>
34842 * elf/ldconfig.c (parse_conf): Change string to make clear that
34843 ldconfig only issued a warning if ld.so.conf does not exist.
34845 2012-05-08 David S. Miller <davem@davemloft.net>
34847 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
34848 movxtod instead of popping the value on the stack.
34850 * sysdeps/sparc/fpu/libm-test-ulps: Update.
34852 2012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
34854 * config.h.in: Add HAVE_ARM_PCS_VFP.
34856 2012-05-08 Roland Mc Grath <roland@hack.frob.com>
34859 * include/features.h: Warn if user requests __FORTIFY_SOURCE
34860 checking but the checks are disabled for any reason.
34862 2012-05-08 H.J. Lu <hongjiu.lu@intel.com>
34864 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
34865 and ELF64_R_TYPE with ELFW(R_TYPE).
34867 2012-05-08 Joseph Myers <joseph@codesourcery.com>
34869 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
34870 (ulimit): Likewise.
34872 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
34873 (settimeofday): Likewise.
34875 2012-05-08 Mike Frysinger <vapier@gentoo.org>
34877 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
34878 a struct th_u2 inside the union, and move tu_block/tu_code into
34879 a new th_u3 union of tu_block/tu_code inside of that. Move
34880 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
34881 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
34882 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
34883 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
34884 (th_stuff): Change to th_u1.tu_stuff.
34886 (th_msg): Change to th_u1.th_u2.tu_data.
34888 2012-05-07 David S. Miller <davem@davemloft.net>
34890 * sysdeps/sparc/fpu/libm-test-ulps: Update.
34893 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
34894 (SETUP_PIC_REG): Use it.
34895 (SETUP_PIC_REG_LEAF): Use it.
34897 2012-05-07 Joseph Myers <joseph@codesourcery.com>
34901 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
34903 (EXPL_FINITE): Likewise.
34904 (FLDLOG): Likewise.
34905 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
34906 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
34908 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
34910 (EXPL_FINITE): Likewise.
34911 (FLDLOG): Likewise.
34912 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
34913 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
34915 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
34916 test of -max_value argument for long double.
34917 * sysdeps/i386/fpu/libm-test-ulps: Update.
34918 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34920 2012-05-06 David S. Miller <davem@davemloft.net>
34922 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
34923 quad soft-float symbols whose references which are compiler
34925 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
34927 2012-05-06 Joseph Myers <joseph@codesourcery.com>
34931 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
34933 (EXPL_FINITE): Likewise.
34934 (FLDLOG): Likewise.
34937 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
34938 Adjust comments for base varying.
34939 (__expl_finite): Change alias to EXPL_FINITE.
34940 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
34942 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
34943 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
34944 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
34945 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
34946 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
34948 (EXPL_FINITE): Likewise.
34949 (FLDLOG): Likewise.
34952 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
34953 Adjust comments for base varying.
34954 (__expl_finite): Change alias to EXPL_FINITE.
34955 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
34957 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
34960 * math/libm-test.inc (check_float_internal): Correct ulp
34961 calculation for subnormal expected results.
34963 2012-05-06 Andreas Jaeger <aj@suse.de>
34965 * Makeconfig (+math-flags): New, set to -frounding-math.
34966 (+cflags): Add +math-flags so that all of glibc gets compiled with
34969 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
34971 2012-05-05 Joseph Myers <joseph@codesourcery.com>
34973 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
34979 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
34980 (__ieee754_expl): Allow for and saturate large arguments.
34981 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
34982 (u_threshold): Likewise.
34983 (__exp): Call __ieee754_exp before checking for overflow and
34985 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
34986 (u_threshold): Likewise.
34987 (__expf): Call __ieee754_expf before checking for overflow and
34989 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
34990 (u_threshold): Likewise.
34991 (__expl): Call __ieee754_expl before checking for overflow and
34993 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
34994 (__ieee754_expl): Allow for and saturate large arguments.
34995 * math/libm-test.inc (exp_test): Add another test. Do not allow
34996 missing overflow exception on overflow.
34997 (expm1_test): Do not allow missing overflow exception on overflow.
34999 * sysdeps/i386/fpu/e_expl.c: Move to ...
35000 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
35001 rather than using inline asm.
35002 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
35003 * sysdeps/x86_64/fpu/e_expl.S: Copy from
35004 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
35006 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
35009 (signal): Likewise.
35013 2012-05-04 Joseph Myers <joseph@codesourcery.com>
35015 * sysdeps/unix/syscalls.list (adjtime): Add entry from
35016 sysdeps/unix/common/syscalls.list.
35017 (fchmod): Likewise.
35018 (fchown): Likewise.
35019 (ftruncate): Likewise.
35020 (getrusage): Likewise.
35021 (gettimeofday): Likewise.
35022 (setpgid): Likewise.
35023 (setregid): Likewise.
35024 (setreuid): Likewise.
35025 (sigaction): Likewise.
35026 (truncate): Likewise.
35027 (vhangup): Likewise.
35028 * sysdeps/unix/common/syscalls.list: Remove file.
35029 * sysdeps/unix/bsd/Implies: Don't include unix/common.
35030 * sysdeps/unix/sysv/linux/Implies: Likewise.
35032 2012-05-04 H.J. Lu <hongjiu.lu@intel.com>
35034 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
35035 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
35036 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
35038 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
35040 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
35042 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
35043 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
35045 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
35046 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
35048 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
35049 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
35051 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
35052 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
35054 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
35055 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
35057 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
35058 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
35060 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
35062 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
35064 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
35066 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
35068 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
35069 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
35071 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
35073 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
35075 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
35077 2012-05-04 Joseph Myers <joseph@codesourcery.com>
35079 * sysdeps/unix/common/bits/dirent.h: Remove file.
35080 * sysdeps/unix/common/bits/fcntl.h: Likewise.
35082 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
35083 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
35084 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
35085 * sysdeps/unix/bsd/isatty.c: Likewise.
35086 * sysdeps/unix/bsd/tcdrain.c: Likewise.
35087 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
35088 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
35090 2012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
35093 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
35094 long double comparison inaccuracies.
35095 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
35096 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
35098 2012-05-04 Andreas Schwab <schwab@linux-m68k.org>
35100 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
35101 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
35103 2012-05-04 Joseph Myers <joseph@codesourcery.com>
35106 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
35107 nonzero digits before rounding a hex value.
35108 * stdlib/tst-strtod.c (tests): Add another test.
35110 2012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
35112 * sysdeps/s390/fpu/libm-test-ulps: Update.
35114 2012-05-03 Andreas Jaeger <aj@suse.de>
35116 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
35117 does not get optimized out.
35118 (malloc_opt_barrier): New.
35120 2012-05-03 Andreas Jaeger <aj@suse.de>
35121 Roland McGrath <roland@hack.frob.com>
35123 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
35124 intermediate file deletion.
35125 (generated): Add .symlist files.
35127 2012-05-03 Joseph Myers <joseph@codesourcery.com>
35130 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
35131 Redirect under this condition.
35132 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
35133 [__USE_GNU] (__dprintf_chk): Not under this condition.
35134 [__USE_GNU] (__vdprintf_chk): Likewise.
35135 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
35136 under this condition.
35137 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
35138 [__USE_XOPEN2K8] (dprintf): Define under this condition.
35139 [__USE_XOPEN2K8] (vdprintf): Likewise.
35140 [__USE_GNU] (__dprintf_chk): Not under this condition.
35141 [__USE_GNU] (__vdprintf_chk): Likewise.
35142 [__USE_GNU] (dprintf): Likewise.
35143 [__USE_GNU] (vdprintf): Likewise.
35145 2012-05-03 Roland McGrath <roland@hack.frob.com>
35147 * elf/Makefile (common-generated): Set this instead of generated for
35148 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
35149 $(all-built-dso)-derived lists.
35151 2012-05-03 Andreas Jaeger <aj@suse.de>
35153 * sysdeps/i386/fpu/libm-test-ulps: Update.
35156 * FAQ.in: Likewise.
35157 * scripts/gen-FAQ.pl: Likewise.
35158 * manual/install.texi (Installation): Point to online location of
35160 * Makefile (files-for-dist): Remove FAQ.
35163 2012-05-02 Allan McRae <allan@archlinux.org>
35165 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
35166 (LDFLAGS-reldepmod5.so): Likewise.
35167 (LDFLAGS-reldep6mod1.so): Likewise.
35168 (LDFLAGS-reldep6mod4.so): Likewise.
35169 (LDFLAGS-reldep8mod3.so): Likewise.
35170 (LDFLAGS-unload4mod1.so): Likewise.
35171 (LDFLAGS-unload4mod2.so): Likewise.
35172 (LDFLAGS-tst-initorder): Likewise.
35173 (LDFLAGS-tst-initordera2.so): Likewise.
35174 (LDFLAGS-tst-initordera3.so): Likewise.
35175 (LDFLAGS-tst-initordera4.so): Likewise.
35176 (LDFLAGS-tst-initorderb2.so): Likewise.
35177 (LDFLAGS-noload): Likewise.
35178 (LDFLAGS-next): Likewise.
35179 (LDFLAGS-order2mod1.so): Likewise.
35180 (LDFLAGS-order2mod2.so): Likewise.
35181 (LDFLAGS-tst-initorder2): Likewise.
35182 (LDFLAGS-tst-initorder2a.so): Likewise.
35183 (LDFLAGS-tst-initorder2b.so): Likewise.
35184 (LDFLAGS-tst-initorder2c.so): Likewise.
35185 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
35187 2012-05-02 David S. Miller <davem@davemloft.net>
35189 * sysdeps/sparc/fpu/libm-test-ulps: Update.
35191 2012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
35194 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
35196 2012-05-02 Andreas Jaeger <aj@suse.de>
35198 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
35199 since we manipulate rounding mode.
35200 (CPPFLAGS-test-idouble.c): Likewise.
35201 (CPPFLAGS-test-ifloat.c): Likewise.
35202 (CFLAGS-test-ldouble.c): Likewise.
35203 (CFLAGS-test-double.c): Likewise.
35204 (CFLAGS-test-float.c): Likewise.
35205 (CFLAGS-test-misc.c): Likewise.
35206 (CFLAGS-test-test-fenv.c): Likewise.
35208 2012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
35212 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
35213 comparisons to determine direction to adjust input.
35215 2012-05-01 Roland McGrath <roland@hack.frob.com>
35217 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
35218 output to the target.
35220 * scripts/localplt.awk: New file.
35221 * elf/Makefile ($(objpfx)check-localplt): Target removed.
35222 (check-localplt-CFLAGS): Variable removed.
35223 ($(all-built-dso:=.jmprel)): New static pattern rule.
35224 (generated): Add those targets.
35225 (localplt-built-dso): New variable.
35226 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
35228 * elf/check-localplt.c: File removed.
35230 * scripts/check-execstack.awk: New file.
35231 * elf/Makefile ($(objpfx)check-execstack): Target removed.
35232 (check-execstack-CFLAGS): Variable removed.
35233 ($(objpfx)check-execstack.h): Target removed.
35234 ($(objpfx)execstack-default): New target.
35235 (generated): Add that instead of check-execstack.h.
35236 ($(all-built-dso:=.phdr)): New static pattern rule.
35237 (generated): Add those targets.
35238 * elf/check-execstack.c: File removed.
35240 * scripts/check-textrel.awk: New file.
35241 * elf/Makefile ($(objpfx)check-textrel): Target removed.
35242 (check-textrel-CFLAGS): Variable removed.
35243 (all-built-dso): Use := to define.o
35244 ($(all-built-dso:=.dyn)): New static pattern rule.
35245 (generated): Add those targets.
35246 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
35247 * config.make.in (READELF): New substituted variable.
35248 * elf/check-textrel.c: File removed.
35250 2012-05-01 Joseph Myers <joseph@codesourcery.com>
35252 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
35254 * conform/data/ctype.h-data [C99-based standards] (isblank):
35256 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
35257 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
35258 [ISO || ISO99 || ISO11] (*_t): Do not allow.
35259 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
35260 Specify type. Require positive value.
35261 (EILSEQ): Likewise.
35262 (ERANGE): Likewise.
35263 [ISO || POSIX] (EILSEQ): Do not expect.
35264 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
35265 Specify type. Require positive value.
35266 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
35267 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
35268 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
35269 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
35270 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
35271 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
35272 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
35273 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
35274 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
35275 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
35276 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
35277 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
35278 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
35279 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
35280 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
35281 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
35282 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
35283 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
35284 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
35285 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
35286 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
35287 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
35288 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
35289 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
35290 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
35291 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
35292 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
35293 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
35294 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
35295 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
35296 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
35297 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
35298 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
35299 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
35300 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
35301 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
35302 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
35303 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
35304 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
35305 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
35306 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
35307 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
35308 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
35309 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
35310 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
35311 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
35312 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
35313 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
35314 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
35315 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
35316 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
35317 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
35318 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
35319 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
35320 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
35321 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
35322 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
35323 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
35324 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
35325 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
35326 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
35327 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
35328 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
35329 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
35330 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
35331 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
35332 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
35333 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
35334 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
35335 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
35336 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
35337 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
35338 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
35339 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
35340 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
35341 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
35342 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
35344 (FLT_ROUNDS): Expect as macro, not constant.
35345 (FLT_MANT_DIG): Use macro-int-constant.
35346 (DBL_MANT_DIG): Likewise.
35347 (LDBL_MANT_DIG): Likewise.
35348 (FLT_DIG): Likewise.
35349 (DBL_DIG): Likewise.
35350 (LDBL_DIG): Likewise.
35351 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
35352 (DBL_MIN_EXP): Likewise.
35353 (LDBL_MIN_EXP): Likewise.
35354 (FLT_MAX_EXP): Use macro-int-constant.
35355 (DBL_MAX_EXP): Likewise.
35356 (LDBL_MAX_EXP): Likewise.
35357 (FLT_MAX_10_EXP): Likewise.
35358 (DBL_MAX_10_EXP): Likewise.
35359 (LDBL_MAX_10_EXP): Likewise.
35360 (FLT_MAX): Use macro-constant.
35361 (DBL_MAX): Likewise.
35362 (LDBL_MAX): Likewise.
35363 (FLT_EPSILON): Use macro-constant. Give upper bound.
35364 (DBL_EPSILON): Likewise.
35365 (LDBL_EPSILON): Likewise.
35366 (FLT_MIN): Likewise.
35367 (DBL_MIN): Likewise.
35368 (LDBL_MIN): Likewise.
35369 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
35370 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
35371 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
35372 [ISO11] (FLT_HAS_SUBNORM): Likewise.
35373 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
35374 [ISO11] (DBL_DECIMAL_DIG): Likewise.
35375 [ISO11] (FLT_DECIMAL_DIG): Likewise.
35376 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
35377 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
35378 [ISO11] (FLT_TRUE_MIN): Likewise.
35379 [ISO11] (LDBL_TRUE_MIN): Likewise.
35380 [ISO || ISO99 || ISO11] (*_t): Do not allow.
35381 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
35382 (SCHAR_MIN): Use macro-int-constant. Specify type.
35383 (SCHAR_MAX): Likewise.
35384 (UCHAR_MAX): Likewise.
35385 (CHAR_MIN): Likewise.
35386 (CHAR_MAX): Likewise.
35387 (MB_LEN_MAX): Use macro-int-constant.
35388 (SHRT_MIN): Use macro-int-constant. Specify type.
35389 (SHRT_MAX): Likewise.
35390 (USHRT_MAX): Likewise.
35391 (INT_MAX): Likewise.
35392 (INT_MIN): Use macro-int-constant. Specify type. Make upper
35394 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
35396 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
35398 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
35399 bound negative. Suffix upper bound with "L".
35400 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
35402 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
35404 [C99-based standards] (LLONG_MAX): Likewise.
35405 [C99-based standards] (ULLONG_MAX): Likewise.
35406 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
35408 [ISO11] (max_align_t): Require type.
35409 [ISO || ISO99 || ISO11] (*_t): Do not allow.
35411 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
35412 from $CFLAGS, without defining away __attribute__ calls.
35413 (checknamespace): Use $CFLAGS_namespace.
35415 * conform/conformtest.pl (@keywords): Only include C99 keywords
35416 for standards based on C99 or C11.
35418 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
35420 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
35423 * conform/conformtest.pl: Handle "macro-int-constant" and test for
35424 usability of symbols in #if.
35426 * conform/conformtest.pl: If macro or constant types start
35427 "promoted:", expect the symbol to be of the following type
35428 promoted by the integer promotions.
35430 * conform/conformtest.pl: Parse all "constant" and "macro" lines
35431 in one place. Also handle "macro-constant".
35433 * conform/conformtest.pl: Only accept expected macro values with
35434 "==". Parse all "macro" lines in one place.
35435 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
35437 * conform/conformtest.pl: Handle braced types on "constant" lines
35438 instead of handling "typed-constant".
35439 * conform/data/signal.h-data: Use "constant" instead of
35442 * conform/conformtest.pl: Handle "optional-" at start of lines in
35443 one place rather than duplicating several cases. Handle each
35444 format of "macro" line with initial "optional-".
35446 * conform/conformtest.pl: Only accept expected constant or
35447 optional-constant values with "==". Parse all "constant" lines in
35448 one place. Parse all "optional-constant" lines in one place.
35449 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
35450 * conform/data/fmtmsg.h-data: Likewise.
35451 * conform/data/netinet/in.h-data: Likewise.
35452 * conform/data/tar.h-data: Likewise.
35453 * conform/data/limits.h-data: Use "==" form on "constant" and
35454 "optional-constant" lines.
35456 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
35457 Use -std=c99 for XOPEN2K.
35458 (@knownproblems): Remove.
35459 (newtoken): Don't check %isknown.
35461 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
35462 Do not expect macro.
35463 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
35464 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
35465 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
35466 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
35467 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
35468 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
35469 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
35470 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
35471 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
35472 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
35473 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
35474 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
35475 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
35476 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
35477 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
35478 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
35479 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
35480 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
35481 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
35482 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
35483 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
35484 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
35485 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
35486 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
35487 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
35488 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
35489 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
35490 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
35491 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
35492 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
35493 [XPG3] (acosh): Likewise.
35494 [XPG3] (asinh): Likewise.
35495 [XPG3] (atanh): Likewise.
35496 [XPG3] (cbrt): Likewise.
35497 [XPG3] (expm1): Likewise.
35498 [XPG3] (ilogb): Likewise.
35499 [XPG3] (log1p): Likewise.
35500 [XPG3] (logb): Likewise.
35501 [XPG3] (nextafter): Likewise.
35502 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
35503 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
35504 [XPG3] (remainder): Likewise.
35505 [XPG3] (rint): Likewise.
35506 [XPG3 || XPG4 || UNIX98] (round): Likewise.
35507 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
35508 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
35509 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
35510 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
35511 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
35512 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
35513 [UNIX98 || XOPEN2K] (scalb): Expect.
35514 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
35515 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
35516 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
35517 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
35518 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
35519 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
35520 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
35521 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
35522 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
35523 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
35524 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
35525 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
35526 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
35527 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
35528 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
35529 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
35530 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
35531 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
35532 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
35533 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
35534 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
35535 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
35536 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
35537 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
35538 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
35539 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
35540 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
35541 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
35542 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
35543 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
35544 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
35545 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
35546 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
35547 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
35548 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
35549 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
35550 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
35551 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
35552 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
35553 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
35554 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
35555 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
35556 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
35557 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
35558 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
35559 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
35560 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
35561 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
35562 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
35563 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
35564 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
35565 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
35566 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
35567 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
35568 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
35569 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
35570 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
35571 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
35572 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
35573 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
35574 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
35575 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
35576 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
35577 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
35578 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
35579 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
35580 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
35581 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
35582 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
35583 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
35584 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
35585 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
35586 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
35587 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
35588 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
35589 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
35590 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
35591 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
35592 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
35593 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
35594 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
35595 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
35596 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
35597 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
35598 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
35599 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
35600 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
35601 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
35602 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
35603 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
35604 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
35605 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
35606 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
35607 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
35608 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
35609 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
35610 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
35611 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
35612 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
35613 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
35614 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
35615 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
35616 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
35617 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
35618 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
35619 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
35620 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
35621 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
35622 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
35623 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
35624 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
35625 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
35626 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
35627 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
35628 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
35629 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
35630 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
35631 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
35632 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
35633 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
35634 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
35635 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
35636 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
35637 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
35638 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
35639 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
35640 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
35641 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
35642 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
35643 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
35644 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
35645 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
35646 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
35647 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
35648 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
35649 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
35650 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
35652 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
35653 _XOPEN_SOURCE_EXTENDED for XPG4.
35655 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
35657 * Makeconfig (localtime): Remove variable.
35658 (inst_localtime-file): Likewise.
35660 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
35662 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
35664 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
35666 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
35668 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
35670 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
35672 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
35674 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
35676 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
35678 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
35681 2012-05-01 Joseph Myers <joseph@codesourcery.com>
35685 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
35686 comparisons to determine direction to adjust input.
35687 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
35688 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
35689 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
35691 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
35693 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
35695 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
35696 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
35698 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
35700 * math/libm-test.inc (nexttoward_test): Add more tests.
35702 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
35705 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
35706 in version GLIBC_2.1, not GLIBC_2.0.
35707 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
35710 2012-04-30 Joseph Myers <joseph@codesourcery.com>
35713 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
35715 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
35716 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
35717 * math/libm-test.inc (acos_test): Add more tests.
35718 (asin_test): Likewise.
35719 * sysdeps/i386/fpu/libm-test-ulps: Update.
35720 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35723 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
35725 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
35726 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
35727 * math/libm-test.inc (acos_test_tonearest): New function.
35728 (acos_test_towardzero): Likewise.
35729 (acos_test_downward): Likewise.
35730 (acos_test_upward): Likewise.
35731 (asin_test_tonearest): Likewise.
35732 (asin_test_towardzero): Likewise.
35733 (asin_test_downward): Likewise.
35734 (asin_test_upward): Likewise.
35735 (main): Call the new functions.
35736 * sysdeps/i386/fpu/libm-test-ulps: Update.
35737 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
35741 * math/e_exp10.c: Include <float.h>.
35742 (__ieee754_exp10): Handle underflow here rather than multiplying
35743 large negative argument by M_LN10.
35744 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
35746 * math/e_exp10l.c: Include <float.h>.
35747 (__ieee754_exp10l): Handle underflow here rather than multiplying
35748 large negative argument by M_LN10l.
35749 * math/libm-test.inc (exp10_test): Add another test. Do not allow
35750 spurious overflow exception on underflow.
35752 2012-04-29 Marek Polacek <polacek@redhat.com>
35754 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
35755 (__fortify_function): New macro.
35756 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
35757 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
35758 __extern_always_inline.
35759 * libio/bits/stdio2.h: Likewise.
35760 * libio/bits/stdio.h: Likewise.
35761 * string/string.h: Likewise.
35762 * string/bits/string3.h: Likewise.
35763 * include/stdio.h: Likewise.
35764 * stdlib/bits/stdlib.h: Likewise.
35765 * stdlib/stdlib.h: Likewise.
35766 * rt/bits/mqueue2.h: Likewise.
35767 * rt/mqueue.h: Likewise.
35768 * posix/bits/unistd.h: Likewise.
35769 * posix/unistd.h: Likewise.
35770 * io/bits/poll2.h: Likewise.
35771 * io/bits/fcntl2.h: Likewise.
35772 * io/fcntl.h: Likewise.
35773 * io/sys/poll.h: Likewise.
35774 * misc/bits/syslog.h: Likewise.
35775 * misc/bits/syslog-ldbl.h: Likewise.
35776 * misc/sys/syslog.h: Likewise.
35777 * socket/bits/socket2.h: Likewise.
35778 * socket/sys/socket.h: Likewise.
35779 * debug/tst-chk1.c: Likewise.
35780 * wcsmbs/bits/wchar2.h: Likewise.
35781 * wcsmbs/bits/wchar-ldbl.h: Likewise.
35782 * wcsmbs/wchar.h: Likewise.
35784 2012-04-29 Andreas Jaeger <aj@suse.de>
35786 * Makerules (tests): Remove enable-check-abi protection.
35787 (check-abi-warn): Remove.
35788 (check-abi-%): Remove check-abi-warn usage.
35790 * configure.in: Remove check-abi configure option.
35791 * configure: Regenerated.
35792 * config.make.in (enable-check-abi): Remove.
35794 2012-04-28 Andreas Schwab <schwab@linux-m68k.org>
35797 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
35798 double functions to double *_finite functions.
35801 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
35802 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
35804 * stdio-common/Makefile (tests): Add tst-sprintf3.
35805 * stdio-common/tst-sprintf3.c: New file.
35807 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
35808 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
35810 2012-04-28 Joseph Myers <joseph@codesourcery.com>
35812 * conform/conformtest.pl: Remove duplicate typed-constant
35815 2012-04-28 David S. Miller <davem@davemloft.net>
35817 * Makerules (%.abilist): Add vpath on sysdep_dirs.
35818 (check-abi-%): Remove AWK script prerequisite and explicit
35820 (check-abi): Rewrite to just diff the symlist with the abilist.
35821 (config-tls, config-abi-config): Delete, no longer used.
35822 (update-abi-%): Remove AWK script and explicit abilist directory.
35823 (update-abi): Rewrite to simply compare and conditionally copy the
35824 symlist and the sysdep abilist file. Remove update-abi-config
35826 * abilist/ld.abilist: Remove.
35827 * abilist/libBrokenLocale.abilist: Remove.
35828 * abilist/libanl.abilist: Remove.
35829 * abilist/libcrypt.abilist: Remove.
35830 * abilist/libdl.abilist: Remove.
35831 * abilist/librt.abilist: Remove.
35832 * abilist/libthread_db.abilist: Remove.
35833 * abilist/libutil.abilist: Remove.
35834 * scripts/extract-abilist.awk: Remove.
35835 * scripts/merge-abilist.awk: Remove.
35836 * sysdeps/generic/libcidn.abilist: New file.
35837 * sysdeps/generic/libnss_compat.abilist: New file.
35838 * sysdeps/generic/libnss_db.abilist: New file.
35839 * sysdeps/generic/libnss_dns.abilist: New file.
35840 * sysdeps/generic/libnss_files.abilist: New file.
35841 * sysdeps/generic/libnss_hesiod.abilist: New file.
35842 * sysdeps/generic/libnss_nis.abilist: New file.
35843 * sysdeps/generic/libnss_nisplus.abilist: New file.
35844 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
35845 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
35846 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
35848 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
35849 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
35850 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
35851 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
35852 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
35853 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
35854 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
35855 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
35856 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
35858 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
35859 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
35860 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
35861 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
35863 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
35864 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
35865 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
35866 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
35867 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
35868 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
35870 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
35871 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
35872 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
35874 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
35875 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
35877 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
35879 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
35881 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
35883 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
35885 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
35887 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
35889 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
35891 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
35893 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
35895 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
35897 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
35899 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
35901 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
35903 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
35905 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
35907 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
35909 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
35911 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
35913 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
35915 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
35917 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
35919 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
35921 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
35923 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
35925 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
35927 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
35928 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
35930 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
35932 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
35934 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
35936 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
35938 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
35940 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
35942 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
35944 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
35946 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
35948 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
35950 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
35952 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
35953 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
35955 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
35957 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
35959 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
35961 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
35963 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
35965 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
35967 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
35969 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
35971 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
35973 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
35975 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
35977 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
35978 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
35979 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
35981 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
35982 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
35983 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
35984 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
35985 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
35986 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
35987 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
35988 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
35989 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
35990 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
35991 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
35992 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
35994 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
35996 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
35998 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
36000 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
36002 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
36004 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
36006 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
36008 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
36010 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
36012 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
36014 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
36016 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
36017 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
36019 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
36021 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
36023 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
36025 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
36027 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
36029 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
36031 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
36033 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
36035 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
36037 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
36039 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
36042 2012-04-28 Joseph Myers <joseph@codesourcery.com>
36044 * conform/conformtest.pl: Fix typo in handling typed-constant from
36047 2012-04-27 Joseph Myers <joseph@codesourcery.com>
36049 * README: Cut down references to pre-2.6 Linux kernels and
36050 Linuxthreads. Update lists of configurations in libc and ports
36051 and sort alphabetically. Say "or newer" with Linux kernel version
36054 * config.h.in [IS_IN_build]: Allow compiling without optimization.
36056 2012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
36059 * math/libm-test.inc (logb_test_downward): New test to expose
36060 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
36063 2012-04-27 Joseph Myers <joseph@codesourcery.com>
36066 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
36068 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
36069 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
36071 2012-04-26 Joseph Myers <joseph@codesourcery.com>
36073 * sysdeps/unix/i386/brk.S: Remove file.
36074 * sysdeps/unix/i386/dl-brk.S: Likewise.
36075 * sysdeps/unix/i386/pipe.S: Likewise.
36076 * sysdeps/unix/i386/sigreturn.S: Likewise.
36077 * sysdeps/unix/i386/syscall.S: Likewise.
36078 * sysdeps/unix/i386/vfork.S: Likewise.
36079 * sysdeps/unix/i386/wait.S: Likewise.
36081 * sysdeps/unix/common/tcsendbrk.c: Move to ...
36082 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
36084 * configure.in (arm*-none*): Do not allow without
36085 --enable-hacker-mode.
36086 (netbsd*): Remove case setting base_os.
36087 (386bsd*): Likewise.
36088 (freebsd*): Likewise.
36091 (sunos*): Likewise.
36092 (ultrix*): Likewise.
36093 (newsos*): Likewise.
36094 (dynix*): Likewise.
36100 (minix*): Likewise.
36101 (irix4*): Likewise.
36102 (irix6*): Likewise.
36103 (solaris[2-9]*): Likewise.
36105 * configure: Regenerated.
36107 2012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
36110 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
36111 overflow or cancellation in calculating denominator.
36112 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
36113 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
36114 down expression to avoid unexpected rounding in newer GCCs.
36115 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
36117 2012-04-26 David S. Miller <davem@davemloft.net>
36119 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
36120 long-double compat symbols.
36121 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
36122 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
36123 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
36124 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
36125 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
36126 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
36127 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
36128 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
36129 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
36130 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
36131 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
36132 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
36133 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
36135 2012-04-25 David S. Miller <davem@davemloft.net>
36137 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
36138 HWCAP_* values only after the memory barriers have been defined.
36139 (atomic_full_barrier): Define.
36140 (atomic_read_barrier): Define.
36141 (atomic_write_barrier): Define.
36143 2012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
36145 * shlib-versions: Add libgcc_s version information.
36146 * sysdeps/generic/libgcc_s.h: Remove.
36147 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
36149 * sysdeps/gnu/unwind-resume.c: Likewise.
36150 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
36152 2012-04-25 David S. Miller <davem@davemloft.net>
36154 * sysdeps/unix/sparc/brk.S: Delete.
36155 * sysdeps/unix/sparc/dl-brk.S: Delete.
36156 * sysdeps/unix/sparc/pipe.S: Delete.
36157 * sysdeps/unix/sparc/sysdep.S: Delete.
36158 * sysdeps/unix/sparc/sysdep.h: Delete.
36159 * sysdeps/unix/sparc/vfork.S: Delete.
36160 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG)
36161 (SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
36162 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO)
36163 (ret_ERRVAL, r0, r1, MOVE): Define.
36164 (JUMPTARGET): Remove.
36165 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
36166 sysdeps/unix/sparc/sysdep.h
36167 (ENTRY, END): Remove.
36168 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
36170 2012-04-25 Joseph Myers <joseph@codesourcery.com>
36172 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
36173 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
36176 * timezone/README: Update upstream location and email address for
36178 * timezone/zdump.c: Update from tzcode 2012b.
36179 * timezone/zic.c: Likewise.
36181 * configure.in (libc_cv_as_needed): Remove test.
36182 * configure: Regenerated.
36183 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
36184 conditional definition.
36185 [$(have-as-needed) != yes] (no-as-needed): Likewise.
36186 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
36187 * config.make.in (have-as-needed): Remove variable.
36189 2012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
36190 Paul Pluzhnikov <ppluzhnikov@google.com>
36192 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
36195 2012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
36197 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
36198 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
36199 * sysdeps/sh/strlen.S: Likewise.
36201 2012-04-24 Joseph Myers <joseph@codesourcery.com>
36203 * sysdeps/unix/fork.S: Remove file.
36204 * sysdeps/unix/i386/fork.S: Likewise.
36205 * sysdeps/unix/sparc/fork.S: Likewise.
36207 * sysdeps/unix/system.c: Remove file.
36208 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
36210 * sysdeps/unix/getegid.S: Remove file.
36211 * sysdeps/unix/geteuid.S: Likewise.
36213 2012-04-24 Roland McGrath <roland@hack.frob.com>
36215 * scripts/check-localplt.awk: New file.
36216 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
36218 * scripts/data/localplt-generic.data: Add a comment.
36220 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
36221 NODE when __dir_mkfile failed.
36222 * sysdeps/mach/hurd/symlinkat.c: Likewise.
36223 Reported by Ludovic Courtès <ludo@gnu.org>.
36225 2012-04-24 Andreas Jaeger <aj@suse.de>
36227 * Makerules (common-clean): Also remove gen-as-const-headers
36230 2012-04-24 Joseph Myers <joseph@codesourcery.com>
36232 * Makerules (native-compile): Do not change working directory for
36233 build. Use $(OUTPUT_OPTION) in command.
36234 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
36236 2012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
36239 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
36240 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
36241 * math/libm-test.inc (floor_test): Add more tests.
36242 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
36244 2012-04-24 Joseph Myers <joseph@codesourcery.com>
36246 * sysdeps/unix/getdents.c: Remove file.
36247 * sysdeps/unix/sysv/getdents.c: Likewise.
36248 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
36250 * sysdeps/unix/syscalls.list (madvise): Add syscall from
36251 sysdeps/unix/mman/syscalls.list.
36253 (mprotect): Likewise.
36255 (munmap): Likewise.
36256 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
36257 * sysdeps/unix/mman/syscalls.list: Remove.
36258 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
36260 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
36261 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
36262 * configure: Regenerated.
36263 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
36264 $(libgcc_s_suffix).
36265 * config.make.in (libgcc_s_suffix): Remove variable.
36267 2012-04-23 Joseph Myers <joseph@codesourcery.com>
36269 * sysdeps/unix/sysv/gethostname.c: Move to ...
36270 * sysdeps/posix/gethostname.c: ... here.
36272 * sysdeps/unix/execve.S: Remove file.
36274 * sysdeps/unix/_exit.S: Remove file.
36276 2012-04-23 Andreas Jaeger <aj@suse.de>
36279 * manual/Makefile: Remove make dist support, there's no
36280 need for a stand-alone documentation tar ball.
36281 (TEXI2DVI): Define always, it's not in Makeconfig.
36284 (edition): Removed.
36285 (glibc-doc-$(edition).tar): Removed
36289 (ETAGS): Remove, it's in Makeconfig.
36290 (move-if-change): Remove, it's in Makeconfig.
36292 2012-04-23 Paul Eggert <eggert@cs.ucla.edu>
36295 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
36296 (strtod, strtof, strtold, strtol, strtoul, strtoq)
36297 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
36298 (strtod_l, strtof_l, strtold_l): Remove __wur.
36299 It is not necessarily an error to ignore strtol's return value.
36300 One can reliably look at the stored endptr to decide whether
36301 the number had valid syntax.
36303 2012-04-21 Andreas Jaeger <aj@suse.de>
36306 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
36308 2012-04-21 Joseph Myers <joseph@codesourcery.com>
36310 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
36311 * sysdeps/unix/sysv/Versions: Remove file.
36313 2012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
36316 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
36318 2012-04-21 Nick Alcock <nick.alcock@oracle.com>
36321 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
36322 version from __vm86.
36324 2012-04-20 Joseph Myers <joseph@codesourcery.com>
36326 * sysdeps/unix/common/lxstat.c: Remove file.
36327 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
36329 * sysdeps/unix/sysv/Makefile: Remove file.
36331 * sysdeps/unix/sysv/direct.h: Remove file.
36333 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
36334 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
36335 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
36336 * sysdeps/unix/sysv/bits/signum.h: Likewise.
36337 * sysdeps/unix/sysv/bits/stat.h: Likewise.
36338 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
36339 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
36341 * sysdeps/unix/sysv/setrlimit.c: Remove file.
36343 * sysdeps/unix/xmknod.c: Remove file.
36344 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
36346 * sysdeps/unix/sysv/settimeofday.c: Remove file.
36348 * sysdeps/unix/sysv/i386/time.S: Remove file.
36350 * sysdeps/unix/fxstat.c: Remove file.
36351 * sysdeps/unix/xstat.c: Likewise.
36352 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
36354 * sysdeps/unix/sysv/sigaction.c: Remove file.
36356 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
36357 (sysdep_headers): Remove variable.
36358 [termio.h not in sysdep_headers] (generated): Likewise.
36359 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
36360 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
36361 * sysdeps/unix/sysv/tcdrain.c: Likewise.
36362 * sysdeps/unix/sysv/tcflow.c: Likewise.
36363 * sysdeps/unix/sysv/tcflush.c: Likewise.
36364 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
36365 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
36366 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
36367 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
36368 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
36370 * sysdeps/unix/siglist.c: Remove file.
36372 * sysdeps/unix/getppid.S: Remove file.
36374 * sysdeps/unix/mkdir.c: Remove file.
36375 * sysdeps/unix/rmdir.c: Likewise.
36377 2012-04-19 Andreas Schwab <schwab@linux-m68k.org>
36379 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
36381 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
36382 errlist-compat value.
36384 2012-04-18 David S. Miller <davem@davemloft.net>
36386 * sysdeps/generic/memcopy.h (reg_char): Delete.
36387 * debug/strcat_chk.c: Use char, not reg_char.
36388 * debug/strcpy_chk.c: Likewise.
36389 * debug/strncat_chk.c: Likewise.
36390 * debug/strncpy_chk.c: Likewise.
36391 * string/memchr.c: Likewise.
36392 * string/memrchr.c: Likewise.
36393 * string/rawmemchr.c: Likewise.
36394 * string/strcat.c: Likewise.
36395 * string/strchr.c: Likewise.
36396 * string/strchrnul.c: Likewise.
36397 * string/strcmp.c: Likewise.
36398 * string/strcpy.c: Likewise.
36399 * string/strncat.c: Likewise.
36400 * string/strncmp.c: Likewise.
36401 * string/strncpy.c: Likewise.
36403 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
36405 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
36406 __builtin_memcopy is called when src and dest ranges are known to not
36409 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
36411 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
36412 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
36413 fwd_align_merge macro call.
36414 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
36415 bwd_align_merge macro call.
36416 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
36418 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
36420 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
36421 bwd_align_merge macros.
36422 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
36423 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
36424 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
36426 2012-04-18 David S. Miller <davem@davemloft.net>
36428 * sysdeps/sparc/sparc64/memcopy.h: Delete.
36430 2012-04-18 Andreas Jaeger <aj@suse.de>
36433 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
36434 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
36435 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
36437 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
36438 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
36439 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
36441 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
36442 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
36443 Adjust for changed ldbl-128 files.
36445 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
36446 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
36447 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
36449 2012-04-17 David S. Miller <davem@davemloft.net>
36451 * sysdeps/sparc/sparc32/memcopy.h: Delete.
36453 2012-04-17 Andreas Schwab <schwab@linux-m68k.org>
36455 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
36456 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
36457 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
36458 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
36459 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
36460 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
36462 2012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
36465 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
36466 * math/libm-test.inc: Add ilogb errno and exception tests.
36467 * math/w_ilogb.c: New file: ilogb wrapper.
36468 * math/w_ilogbf.c: New file: ilogbf wrapper.
36469 * math/w_ilogbl.c: New file: ilogbl wrapper.
36470 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
36471 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
36472 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
36473 exception being thrown with 0.0 as argument.
36474 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
36475 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
36476 exception being thrown with 0.0 as argument.
36477 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
36478 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
36479 exception being thrown with 0.0 as argument.
36480 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
36481 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
36482 exception being thrown with 0.0 as argument.
36483 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
36484 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
36485 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
36486 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
36487 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
36488 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
36489 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
36490 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
36491 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
36493 2012-04-17 Petr Baudis <pasky@ucw.cz>
36495 * include/sys/uio.h: Change __vector to __iovec to avoid clash
36498 2012-04-16 Marek Polacek <polacek@redhat.com>
36500 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
36502 2012-04-16 Marek Polacek <polacek@redhat.com>
36504 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
36505 operands of fdivp instruction.
36507 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
36509 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
36510 * elf/tst-auditmod3b.c: Likewise.
36511 * elf/tst-auditmod4b.c: Likewise.
36512 * elf/tst-auditmod5b.c: Likewise.
36513 * elf/tst-auditmod6b.c: Likewise.
36514 * elf/tst-auditmod6c.c: Likewise.
36515 * elf/tst-auditmod7b.c: Likewise.
36516 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
36517 * sysdeps/x86_64/preconfigure.in: Likewise.
36518 * sysdeps/x86_64/preconfigure: Regenerated.
36520 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
36522 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
36525 2012-04-13 Antoine Balestrat <merkil33@gmail.com>
36527 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
36528 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
36530 2012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
36533 * locale/iso-639.def: Fix gl language name. Spotted by
36536 2012-04-12 Roland McGrath <roland@hack.frob.com>
36539 * libio/libio.h (__io_write_fn): Update comment.
36541 2012-04-12 Petr Baudis <pasky@ucw.cz>
36544 * stdio.texi (Hook Functions): The user provided writer function
36545 is not allowed to return -1.
36547 2012-04-11 David S. Miller <davem@davemloft.net>
36549 * sysdeps/sparc/fpu/libm-test-ulps: Update.
36551 2012-04-11 Mike Frysinger <vapier@gentoo.org>
36553 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
36554 Add a leading slash to rtkaio.
36556 2012-04-11 Jim Meyering <meyering@redhat.com>
36559 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
36560 It is not necessarily an error to ignore fwrite's return
36561 value. One can reliably use ferror to test for errors after
36564 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
36566 * bits/types.h (__snseconds_t): New type.
36567 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
36569 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
36570 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
36571 (__SNSECONDS_T_TYPE): Likewise.
36572 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
36573 (__SNSECONDS_T_TYPE): Likewise.
36574 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
36575 (__SNSECONDS_T_TYPE): Likewise.
36577 2012-04-10 Andreas Jaeger <aj@suse.de>
36580 * manual/time.texi (Processor Time): Return type of times is
36581 elapsed real time since an arbitrary point in the past.
36582 (CPU Time): Move CLK_TCK from here...
36583 (Processor Time): ...to here. Correct description.
36584 * manual/conf.texi (Constants for Sysconf): Correct description of
36587 2012-04-10 David S. Miller <davem@davemloft.net>
36590 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
36591 where the is a gap between DT_REL(A) and DT_JMPREL.
36593 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
36595 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
36596 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
36597 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
36599 2012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
36601 * elf/dl-support.c (_dl_inhibit_cache): New variable.
36602 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
36603 (dl_main): Handle --inhibit-cache.
36604 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
36606 * elf/dl-load.c (_dl_map_object): Use it.
36607 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
36609 2012-04-09 Joseph Myers <joseph@codesourcery.com>
36612 * sysdeps/i386/fpu/e_powl.S (p78): New object.
36613 (__ieee754_powl): Saturate large exponents rather than testing for
36614 overflow of y*log2(x).
36615 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
36616 * math/libm-test.inc (pow_test): Do not permit spurious overflow
36620 * math/s_ctan.c: Include <float.h>.
36621 (__ctan): Avoid internal overflow or cancellation in calculating
36623 * math/s_ctanf.c: Likewise.
36624 * math/s_ctanl.c: Likewise.
36625 * math/s_ctanh.c: Likewise.
36626 * math/s_ctanhf.c: Likewise.
36627 * math/s_ctanhl.c: Likewise.
36628 * math/libm-test.inc (ctan_test): Add more tests.
36629 (ctanh_test): Likewise.
36630 * sysdeps/i386/fpu/libm-test-ulps: Update.
36631 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36633 2012-04-09 Andreas Jaeger <aj@suse.de>
36636 * manual/filesys.texi (Directory Entries): Mention that d_namlen
36637 is an optional BSD extension.
36640 * manual/stdio.texi (Opening Streams): Document additional fopen
36643 2012-04-09 Roland McGrath <roland@hack.frob.com>
36645 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
36646 %eax without telling the compiler.
36648 2012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
36651 * manual/install.texi: Use sourceware.org.
36653 2012-04-09 Joseph Myers <joseph@codesourcery.com>
36656 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
36657 (__ieee754_pow): Generate overflow and underflow using huge*huge
36658 and tiny*tiny rather than just returning constant infinity or zero
36659 for large exponents.
36660 * math/libm-test.inc (pow_test): Require overflow exceptions for
36661 applicable cases of large exponents.
36664 * sysdeps/i386/fpu/e_pow.S (p10): New object.
36665 (__ieee754_pow): Use iterative multiplication algorithm only for
36666 integer exponents with absolute value below 1024. Check for odd
36667 integer exponents when using algorithm for real exponents.
36668 * math/libm-test.inc (pow_test): Add more tests.
36669 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
36671 2012-04-08 Joseph Myers <joseph@codesourcery.com>
36674 * math/libm-test.inc (exp_test): Do not allow overflow exception
36677 2012-04-08 Aurelien Jarno <aurelien@aurel32.net>
36680 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
36681 instead of __kernel_standard_f.
36683 2012-04-08 Mike Frysinger <vapier@gentoo.org>
36685 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
36686 * sysdeps/x86_64/memset_chk.S: Likewise.
36688 2012-04-08 Andreas Jaeger <aj@suse.de>
36691 * manual/startup.texi (Environment Access): Describe return value
36692 for putenv and setenv.
36695 * manual/filesys.texi (Directory Entries): Add description for
36699 * manual/filesys.texi (Directory Entries): Clarify that it's file
36700 system not operating system in the description of DT_UNKNOWN.
36703 * manual/syslog.texi (closelog): Fix reference, it's openlog.
36705 2012-04-08 Stephen Compall <s11@member.fsf.org>
36708 * manual/llio.texi (Opening and Closing Files): Add cross
36709 reference to explain mode argument.
36711 2012-04-07 Mike Frysinger <vapier@gentoo.org>
36713 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
36714 * sysdeps/x86_64/memset_chk.S: Likewise.
36716 2012-04-07 David S. Miller <davem@davemloft.net>
36718 * elf/elf.h (R_SPARC_WDISP10): Define.
36719 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
36721 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
36722 R_SPARC_SIZE64 and R_SPARC_H34.
36724 2012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
36726 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
36727 conditions and remove no longer applicable assertion.
36729 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
36731 * bits/byteswap.h: Include <features.h>.
36732 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
36733 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
36735 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
36737 * bits/byteswap.h (__bswap_16): Removed.
36738 Include <bits/byteswap-16.h> to get __bswap_16.
36739 * sysdeps/i386/bits/byteswap.h: Likewise.
36740 * sysdeps/s390/bits/byteswap.h: Likewise.
36741 * sysdeps/x86_64/bits/byteswap.h: Likewise.
36742 * bits/byteswap-16.h: New file.
36743 * sysdeps/i386/bits/byteswap-16.h: Likewise.
36744 * sysdeps/s390/bits/byteswap-16.h: Likewise.
36745 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
36746 * string/Makefile (headers): Add bits/byteswap-16.h.
36748 2012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
36751 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
36753 * nss/Makefile (tests-static, tests): Add tst-nss-static.
36754 * nss/tst-nss-static.c: New.
36756 2012-04-06 Robert Millan <rmh@gnu.org>
36759 * manual/llio.texi (File Position Primitive): lseek
36760 refers to WHENCE when it really means OFFSET.
36762 2012-04-06 Andreas Jaeger <aj@suse.de>
36764 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
36765 strncmp declarations.
36767 * abilist/libc.abilist: Add __poll and __ppoll.
36769 2012-04-05 David S. Miller <davem@davemloft.net>
36771 * scripts/check-local-headers.sh: Accept a host triplet in the
36772 path matched by the exclude regexp.
36774 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
36776 * sysdeps/powerpc/powerpc32/dl-machine.h
36777 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
36778 * sysdeps/s390/s390-32/dl-machine.h
36779 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
36780 * sysdeps/sparc/sparc32/dl-machine.h
36781 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
36782 * sysdeps/sparc/sparc64/dl-machine.h
36783 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
36785 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
36787 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
36788 undefined symbol errors.
36790 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
36793 2012-04-05 Michael Matz <matz@suse.de>
36796 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
36798 2012-04-05 Andreas Jaeger <aj@suse.de>
36801 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
36804 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
36806 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
36807 which ROUND is no valid rounding mode.
36809 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
36811 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
36813 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
36815 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
36817 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
36818 an exception using FPU order intentionally.
36820 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
36822 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
36823 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
36824 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
36825 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
36827 2012-04-05 Simon Josefsson <simon@josefsson.org>
36830 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
36831 EINVAL when BUFLEN is too smal.
36833 2012-04-05 Thomas Schwinge <thomas@codesourcery.com>
36836 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
36837 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
36839 2012-04-03 Andreas Jaeger <aj@suse.de>
36842 * manual/setjmp.texi (System V contexts): Fix sentence.
36845 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
36846 New macro for this case.
36847 [!__GNUC__] (__bswap_64): New inline function for this case.
36848 * sysdeps/x86_64/bits/byteswap.h: Likewise.
36849 * bits/byteswap.h: Likewise.
36850 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
36851 ull, guard with __GLIBC_HAVE_LONG_LONG.
36853 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
36854 __GLIBC_HAVE_LONG_LONG.
36856 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
36857 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
36859 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
36862 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
36863 inptr and inend, rather than using last_ch.
36865 2012-04-02 David S. Miller <davem@davemloft.net>
36867 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
36868 * stdio-common/printf-parse.h (read_int): Change return type to
36869 'int', return -1 on INT_MAX overflow.
36870 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
36871 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
36872 overflows INT_MAX. Check for overflow of in-format-string precision
36873 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
36874 SIZE_MAX not INT_MAX for integer overflow test.
36875 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
36876 skip the construct in the format string but do not record anything.
36877 * stdio-common/bug22.c: Adjust to test both width/prevision
36878 INT_MAX overflow as well as total length INT_MAX overflow. Check
36879 explicitly for proper errno values.
36881 2012-04-02 Thomas Schwinge <thomas@codesourcery.com>
36883 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
36885 * string/test-strcmp.c [! WIDE]: Likewise.
36886 * time/tst-mktime2.c: Likewise for INT_MAX.
36887 * string/test-string.h: #include <sys/param.h> for MIN.
36889 * csu/init-first.c (__libc_init_first): Call __ctype_init.
36890 * sysdeps/i386/init-first.c (init): Likewise.
36891 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
36892 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
36893 * sysdeps/sh/init-first.c (init): Likewise.
36895 2012-04-01 Ulrich Drepper <drepper@gmail.com>
36897 * po/ru.po: Update from translation team.
36898 * po/vi.po: Likewise.
36900 2012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
36902 * resolv/nss_dns/dns-host.c: Merge copyright years.
36904 2012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
36906 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
36907 Optimize memcpy with prefetch if
36908 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
36909 src, dst pointers have unequal 16 byte alignments.
36911 2012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
36914 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
36915 from a CNAME entry and return the minimum ttl for the query.
36916 (gaih_getanswer_slice): Likewise.
36918 2012-03-30 Jeff Law <law@redhat.com>
36920 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
36922 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
36923 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
36925 * resolv/nss_dns/dns-host.c: Update copyright year.
36927 2012-03-30 Ulrich Drepper <drepper@gmail.com>
36929 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
36930 requests to save a system call. Fix check that all bytes are sent.
36932 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
36933 comments for sendmmsg.
36935 2012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
36938 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
36939 with only 1 character between 0x0041 and 0x01b0.
36940 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
36941 * wcsmbs/tst-mbsnrtowcs.c: New file.
36943 2012-03-29 David S. Miller <davem@davemloft.net>
36945 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
36946 small copies by hand.
36948 2012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
36951 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss)
36952 (_nss_compat_initgroups_dyn): Fall back to malloc/free for large
36955 2012-03-28 David S. Miller <davem@davemloft.net>
36957 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
36958 that branches into memcpy.
36959 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
36960 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
36961 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
36962 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
36963 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
36965 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
36966 implementation too.
36967 * sysdeps/sparc/mempcpy.S: New file.
36969 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
36970 the IFUNC routine in the libc case.
36971 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
36973 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
36974 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
36975 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
36976 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
36977 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
36978 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
36979 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
36980 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
36982 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
36983 loop to 256 bytes instead of 64 bytes and fix test signedness.
36985 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
36986 * sysdeps/sparc/sparc32/Makefile: rather than here...
36987 * sysdeps/sparc/sparc64/Makefile: and here.
36989 2012-03-28 Ulrich Drepper <drepper@gmail.com>
36991 * malloc/mallocbug.c: Avoid warnings about unused variables.
36993 2012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
36996 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
36997 in the right place. Discard and retry query if response is
36998 larger than input buffer size.
37000 2012-03-28 Joseph Myers <joseph@codesourcery.com>
37005 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
37006 x for large integer exponent.
37007 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
37008 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
37009 sign of result as needed afterwards.
37010 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
37011 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
37012 result for underflowing pow the same as for overflow.
37013 (__kernel_standard_l): Handle powl overflow and underflow here
37014 rather than calling __kernel_standard.
37015 * math/libm-test.inc (pow_test): Add more tests.
37030 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
37031 * sysdeps/ieee754/k_standard.c: Include <float.h>.
37032 (__kernel_standard_l): New function.
37033 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
37035 * math/w_acosl.c (__acosl): Likewise.
37036 * math/w_asinl.c (__asinl): Likewise.
37037 * math/w_atan2l.c (__atan2l): Likewise.
37038 * math/w_atanhl.c (__atanhl): Likewise.
37039 * math/w_coshl.c (__coshl): Likewise.
37040 * math/w_exp10l.c (__exp10l): Likewise.
37041 * math/w_exp2l.c (__exp2l): Likewise.
37042 * math/w_fmodl.c (__fmodl): Likewise.
37043 * math/w_hypotl.c (__hypotl): Likewise.
37044 * math/w_j0l.c (__j0l, __y0l): Likewise.
37045 * math/w_j1l.c (__j1l, __y1l): Likewise.
37046 * math/w_jnl.c (__jnl, __ynl): Likewise.
37047 * math/w_lgammal.c (__lgammal): Likewise.
37048 * math/w_log10l.c (__log10l): Likewise.
37049 * math/w_log2l.c (__log2l): Likewise.
37050 * math/w_logl.c (__logl): Likewise.
37051 * math/w_powl.c (__powl): Likewise.
37052 * math/w_remainderl.c (__remainderl): Likewise.
37053 * math/w_scalbl.c (sysv_scalbl): Likewise.
37054 * math/w_sinhl.c (__sinhl): Likewise.
37055 * math/w_sqrtl.c (__sqrtl): Likewise.
37056 * math/w_tgammal.c (__tgammal): Likewise.
37057 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
37058 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
37059 * math/libm-test.inc (acos_test): Add more tests.
37060 (acosh_test): Likewise.
37061 (asin_test): Likewise.
37062 (atanh_test): Likewise.
37063 (exp_test): Likewise.
37064 (exp10_test): Likewise.
37065 (exp2_test): Likewise.
37066 (expm1_test): Likewise.
37067 (lgamma_test): Likewise.
37068 (log_test): Likewise.
37069 (log10_test): Likewise.
37070 (log1p_test): Likewise.
37071 (log2_test): Likewise.
37072 (pow_test): Do not allow some spurious overflow exceptions.
37073 (sqrt_test): Add more tests.
37074 (tgamma_test): Likewise.
37075 (y0_test): Likewise.
37076 (y1_test): Likewise.
37077 (yn_test): Likewise.
37079 2012-03-27 Anton Blanchard <anton@samba.org>
37081 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
37083 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
37084 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
37085 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
37087 2012-03-27 David S. Miller <davem@davemloft.net>
37089 * conform/Makefile: Run run-conformtest.sh using $(BASH).
37091 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
37092 have-as-vis3 check.
37094 2012-03-27 Andreas Jaeger <aj@suse.de>
37096 * sysdeps/x86_64/elf/configure.in: Moved to ...
37097 * sysdeps/x86_64/configure.in: ... here.
37098 * sysdeps/x86_64/elf/start.S: Moved to ...
37099 * sysdeps/x86_64/start.S: ... here.
37100 * sysdeps/x86_64/elf/configure: Delete.
37102 * sysdeps/x86_64/configure.in: Merge contents from
37103 sysdeps/i386/configure.in (without i686 check).
37105 * sysdeps/i386/elf/Versions: Merge into ...
37106 * sysdeps/i386/Versions: ... this.
37107 * sysdeps/i386/elf/Versions: Delete file.
37108 * sysdeps/i386/elf/start.S: Moved to ...
37109 * sysdeps/i386/start.S: ...here.
37110 * sysdeps/i386/elf/configure.in: Merge into...
37111 * sysdeps/i386/configure.in: ...here.
37112 * sysdeps/i386/elf/configure.in: Delete file.
37113 * sysdeps/i386/elf/configure: Delete file.
37115 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
37116 * debug/backtracesyms.c: ... here.
37117 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
37118 * debug/backtracesymsfd.c: ... here.
37119 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
37120 * sysdeps/generic/ifunc-sel.h: ... here.
37122 * sysdeps/unix/i386/start.c: Delete file.
37123 * sysdeps/unix/sparc/start.c: Delete file.
37124 * sysdeps/unix/start.c: Delete file.
37126 * sysdeps/sh/elf/configure.in: Moved to ...
37127 * sysdeps/sh/configure.in: ... here.
37128 * sysdeps/sh/elf/start.S: Moved to ...
37129 * sysdeps/sh/start.S: ... here.
37130 * sysdeps/sh/elf/configure: Delete file.
37132 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
37133 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
37134 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
37135 * sysdeps/powerpc/powerpc64/entry.h: ... here.
37136 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
37137 * sysdeps/powerpc/powerpc64/start.S: here.
37138 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
37139 * sysdeps/powerpc/powerpc64/Makefile: ... this.
37140 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
37141 * sysdeps/powerpc/powerpc64/configure.in: ... this.
37142 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
37144 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
37145 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
37146 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
37147 * sysdeps/powerpc/powerpc32/start.S: ... here.
37148 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
37149 * sysdeps/powerpc/powerpc32/configure.in: ... this.
37150 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
37152 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
37153 * sysdeps/powerpc/ifunc-sel.h: ... here.
37154 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
37155 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
37157 * sysdeps/sparc/elf/configure.in: Moved to ...
37158 * sysdeps/sparc/configure.in: ... here.
37159 * sysdeps/sparc/elf/configure: Delete file.
37160 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
37161 * sysdeps/sparc/sparc32/start.S: ... here.
37162 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
37163 * sysdeps/sparc/sparc64/start.S: ... here.
37164 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
37165 * sysdeps/sparc/sparc32/Makefile: ... this.
37166 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
37167 * sysdeps/sparc/sparc64/Makefile: ... this.
37169 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
37170 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
37171 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
37172 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
37173 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
37174 * sysdeps/s390/s390-32/setjmp.S: ... here.
37175 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
37176 * sysdeps/s390/s390-32/configure.in: ... here.
37177 * sysdeps/s390/s390-32/elf/configure: Delete file.
37178 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
37179 * sysdeps/s390/s390-32/start.S: ... here.
37181 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
37182 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
37183 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
37184 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
37185 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
37186 * sysdeps/s390/s390-64/setjmp.S: ... here.
37187 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
37188 * sysdeps/s390/s390-64/configure.in: ... here
37189 * sysdeps/s390/s390-64/elf/configure: Delete file.
37190 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
37191 * sysdeps/s390/s390-64/start.S: ... here.
37192 * sysdeps/s390/s390-64/elf/configure: Delete.
37194 * configure.in: Remove support for elf directories in sysdeps.
37196 * configure: Regenerated.
37197 * sysdeps/i386/configure: Regenerated.
37198 * sysdeps/powerpc/powerpc32/configure: Regenerated.
37199 * sysdeps/powerpc/powerpc64/configure: Regenerated.
37200 * sysdeps/s390/s390-32/configure: Regenerated.
37201 * sysdeps/s390/s390-64/configure: Regenerated.
37202 * sysdeps/sh/configure: Regenerated.
37203 * sysdeps/sparc/configure: Regenerated.
37204 * sysdeps/x86_64/configure: Regenerated.
37206 2012-03-26 Andreas Schwab <schwab@linux-m68k.org>
37208 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
37210 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
37211 denormal result into account.
37213 2012-03-25 Roland McGrath <roland@hack.frob.com>
37215 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
37216 Reported by Allan McRae <allan@archlinux.org>.
37218 2012-03-23 Jeff Law <law@redhat.com>
37220 * nss/getnssent.c (__nss_getent): Fix typo.
37222 2012-03-23 David S. Miller <davem@davemloft.net>
37224 * sysdeps/sparc/fpu/libm-test-ulps: Update.
37226 2012-03-23 H.J. Lu <hongjiu.lu@intel.com>
37228 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
37229 to pad to uint64_t for each field.
37230 (dl_tls_index): Replace unsigned long with uint64_t.
37232 2012-03-23 Daniel Jacobowitz <dmj@google.com>
37233 Paul Pluzhnikov <ppluzhnikov@google.com>
37236 * grp/Makefile (otherlibs): Don't set it.
37237 * inet/Makefile (otherlibs): Likewise.
37238 * login/Makefile (otherlibs): Likewise.
37239 * nscd/Makefile (otherlibs): Likewise.
37240 * posix/Makefile (otherlibs): Likewise.
37241 * pwd/Makefile (otherlibs): Likewise.
37242 * rt/Makefile (otherlibs): Likewise.
37243 * sunrpc/Makefile (otherlibs): Likewise.
37244 * nss/Makefile (otherlibs): Likewise.
37245 Add libnss_files to routines and static-only-routines.
37246 ($(objpfx)getent): Remove rule.
37247 * resolv/Makefile: Add libnss_dns and libresolv to routines and
37248 static-only-routines.
37250 2012-03-22 Joseph Myers <joseph@codesourcery.com>
37253 * math/s_cexp.c: Include <float.h>.
37254 (__cexp): Handle exp result overflowing not necessarily
37255 overflowing both real and imaginary parts of result.
37256 * math/s_cexpf.c: Likewise.
37257 * math/s_cexpl.c: Likewise.
37258 * math/libm-test.inc (cexp_test): Add more tests.
37259 * sysdeps/i386/fpu/libm-test-ulps: Update.
37260 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37262 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
37264 * include/link.h (ELFW): New macro.
37265 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
37266 Replace ELF64_R_TYPE with ELFW(R_TYPE).
37268 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
37270 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
37273 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
37275 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
37277 (struct La_x32_retval): Likewise.
37279 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
37281 * sysdeps/x86_64/preconfigure.in: New file.
37282 * sysdeps/x86_64/preconfigure: New generated file.
37284 2012-03-22 Joseph Myers <joseph@codesourcery.com>
37287 * math/e_exp2l.c: Include <float.h>.
37288 (__ieee754_exp2l): Handle overflow and underflow cases
37289 separately. Only pass fractional part of argument to
37291 * math/libm-test.inc (exp2_test): Add more tests.
37293 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
37294 negating x to take absolute value.
37295 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
37297 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
37298 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
37300 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
37301 computing low part if x was negated.
37302 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
37304 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
37306 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
37307 la_x32_gnu_pltexit.
37308 (pltexit): Cast int_retval to ptrdiff_t.
37309 * elf/tst-auditmod3b.c: Likewise.
37310 * elf/tst-auditmod4b.c: Likewise.
37311 * elf/tst-auditmod5b.c: Likewise.
37312 * elf/tst-auditmod6b.c: Likewise.
37313 * elf/tst-auditmod6c.c: Likewise.
37314 * elf/tst-auditmod7b.c: Likewise.
37316 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
37317 and x32_gnu_pltexit.
37319 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
37320 __ELF_NATIVE_CLASS.
37321 (La_x32_regs): New macro.
37322 (La_x32_retval): Likewise.
37323 (la_x32_gnu_pltenter): New function prototype.
37324 (la_x32_gnu_pltexit): Likewise.
37326 2012-03-21 Andreas Schwab <schwab@linux-m68k.org>
37328 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
37331 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
37333 * configure.in (libc_cv_cc_nofma): Check for option to disable
37334 generation of FMA instructions.
37335 * configure: Regenerate.
37336 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
37337 * sysdeps/ieee754/dbl-64/Makefile: New file.
37338 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
37339 Remove brandred-fma4.
37340 (CFLAGS-brandred-fma4.c): Remove.
37341 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
37342 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
37344 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
37347 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
37349 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
37350 LLONG_MAX != LONG_MAX.
37351 (_itoa_word): Use _ITOA_WORD_TYPE on value.
37352 (_fitoa_word): Likewise.
37353 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
37354 LLONG_MAX != LONG_MAX.
37355 * stdio-common/_itowa.h: Include <_itoa.h>.
37356 (_itowa_word): Use _ITOA_WORD_TYPE on value.
37357 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
37358 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
37359 only if not defined.
37360 (_ITOA_WORD_TYPE): Likewise.
37361 (_itoa_word): Use _ITOA_WORD_TYPE on value.
37362 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
37364 2012-03-21 David S. Miller <davem@davemloft.net>
37366 * sysdeps/sparc/fpu/libm-test-ulps: Update.
37368 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
37370 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
37371 of x86_64 when setting libc_cv_slibdir, libdir and
37373 * sysdeps/unix/sysv/linux/configure: Regenerated.
37375 2012-03-21 Joseph Myers <joseph@codesourcery.com>
37377 * manual/lang.texi (Old Varargs): Remove section.
37378 (How Variadic): Update menu.
37379 (va_start): Do not mention varargs.h.
37381 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
37382 Joseph Myers <joseph@codesourcery.com>
37384 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
37386 * configure: Regenerated.
37388 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
37390 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
37391 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
37394 2012-03-21 Joseph Myers <joseph@codesourcery.com>
37397 * Makefile (files-for-dist): Remove NOTES.
37398 (NOTES): Remove rule.
37399 * README: Don't refer to NOTES.
37400 * manual/creature.texi: Don't include macros.texi.
37401 * manual/intro.texi (creature.texi): Remove comment referring to
37404 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
37405 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
37406 * configure: Regenerated.
37407 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
37408 LIBC_TRY_CC_OPTION.
37409 (libc_cv_as_i686): Likewise.
37410 (libc_cv_cc_avx): Likewise.
37411 (libc_cv_cc_sse2avx): Likewise.
37412 (libc_cv_cc_fma4): Likewise.
37413 (libc_cv_cc_novzeroupper): Likewise.
37414 * sysdeps/i386/configure: Regenerated.
37417 * sysdeps/i386/fpu/s_cexp.S: Remove.
37418 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
37419 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
37420 * math/libm-test.inc (cexp_test): Add more tests.
37421 * sysdeps/i386/fpu/libm-test-ulps: Update.
37422 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37424 2012-03-21 Allan McRae <allan@archlinux.org>
37426 * timezone/Makefile: Do not install iso3166.tab and zone.tab
37428 2012-03-21 Joseph Myers <joseph@codesourcery.com>
37431 * math/w_exp2.c: Do not include <float.h>.
37432 (o_threshold, u_threshold): Remove.
37433 (__exp2): Calculate result before checking finiteness and calling
37435 * math/w_exp2f.c: Likewise.
37436 * math/w_exp2l.c: Likewise.
37437 * math/libm-test.inc (exp2_test): Require overflow exception for
37441 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
37442 range of signed 64-bit integers before using fistpll. Remove
37443 checks for whether integers fit in mantissa bits.
37444 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
37445 the range of signed 32-bit integers before using fistpl. Remove
37446 checks for whether integers fit in mantissa bits.
37447 * sysdeps/i386/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 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
37452 divide-by-zero is raised for zero to large negative powers.
37453 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
37454 (__ieee754_powl): Test for y outside the range of signed 64-bit
37455 integers before using fistpll. Reduce 64-bit values to 63-bit
37457 * math/libm-test.inc (pow_test): Add more tests.
37459 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
37461 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
37462 <stdio-common/_itoa.h>.
37463 * debug/segfault.c: Likewise.
37464 * elf/dl-cache.c: Likewise.
37465 * elf/dl-minimal.c: Likewise.
37466 * elf/dl-misc.c: Likewise.
37467 * elf/dl-sysdep.c: Likewise.
37468 * elf/dl-version.c: Likewise.
37469 * elf/rtld.c: Likewise.
37470 * hurd/hurdsock.c: Likewise.
37471 * hurd/lookup-retry.c: Likewise.
37472 * malloc/malloc.c: Likewise.
37473 * malloc/mtrace.c: Likewise.
37474 * nscd/nscd_getgr_r.c: Likewise.
37475 * nscd/nscd_getpw_r.c: Likewise.
37476 * nscd/nscd_getserv_r.c: Likewise.
37477 * posix/getopt_init.c: Likewise.
37478 * posix/wordexp.c: Likewise.
37479 * stdio-common/_itoa.c: Likewise.
37480 * stdio-common/printf_fphex.c: Likewise.
37481 * stdio-common/vfprintf.c: Likewise.
37482 * string/_strerror.c: Likewise.
37483 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
37484 * sysdeps/i386/i686/hp-timing.h: Likewise.
37485 * sysdeps/mach/_strerror.c: Likewise.
37486 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
37487 * sysdeps/mach/hurd/sethostid.c: Likewise.
37488 * sysdeps/mach/hurd/xmknodat.c: Likewise.
37489 * sysdeps/mach/xpg-strerror.c: Likewise.
37490 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
37491 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
37492 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
37493 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
37494 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
37495 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
37496 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
37497 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
37498 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
37499 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
37500 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
37501 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
37502 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
37503 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
37504 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
37505 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
37506 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
37507 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
37508 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
37509 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
37510 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
37512 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
37514 * stdio-common/_itoa.h: Moved to ...
37515 * sysdeps/generic/_itoa.h: Here.
37517 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
37519 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
37520 instead of "_itoa.h" and "_itowa.h".
37521 * stdio-common/vfprintf.: Likewise.
37523 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
37525 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
37527 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
37528 (__signbit): Likwise.
37529 (llrintf): Likwise.
37532 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
37534 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
37537 2012-03-20 Joseph Myers <joseph@codesourcery.com>
37539 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
37540 OVERFLOW_EXCEPTION_OK.
37541 * math/libm-test.inc ("Philosophy"): Update comment about
37543 (OVERFLOW_EXCEPTION): Define.
37544 (OVERFLOW_EXCEPTION_OK): Likewise.
37545 (INVALID_EXCEPTION_OK): Renumber.
37546 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
37547 (IGNORE_ZERO_INF_SIGN): Likewise.
37548 (test_exceptions): Handle FE_OVERFLOW.
37549 (exp10_test): Expect overflow exceptions.
37550 (exp2_test): Likewise.
37551 (expm1_test): Likewise.
37552 (nextafter_test): Likewise.
37553 (pow_test): Likewise.
37554 (scalbn_test): Likewise.
37555 (scalbln_test): Likewise.
37557 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
37559 * sysdeps/x86_64/bits/atomic.h
37560 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
37562 (atomic_exchange_acq): Likewise.
37563 (__arch_exchange_and_add_body): Likewise.
37564 (__arch_add_body): Likewise.
37565 (atomic_add_negative): Likewise.
37566 (atomic_add_zero): Likewise.
37568 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
37570 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
37571 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
37573 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
37575 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
37576 Check __x86_64__ instead of __WORDSIZE.
37578 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
37580 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
37582 2012-03-19 David S. Miller <davem@davemloft.net>
37584 * sysdeps/sparc/fpu/libm-test-ulps: Update.
37586 * sysdeps/sparc/fpu/fenv_private.h: New file.
37587 * sysdeps/sparc/fpu/math_private.h: Use it.
37588 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
37590 (libc_feholdexcept_setround, libc_feholdexcept_setroundf)
37591 (libc_feholdexcept_setroundl): Remove.
37592 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
37594 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
37595 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
37597 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
37599 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
37600 int64_t instead of long int.
37601 (INSERT_WORDS64): Likwise.
37603 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
37605 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
37606 _Unwind_GetCFA return to _Unwind_Ptr first.
37608 2012-03-19 Joseph Myers <joseph@codesourcery.com>
37611 * math/s_clog.c: Include <float.h>.
37612 (__clog): Scale large or subnormal inputs.
37613 * math/s_clogf.c: Likewise.
37614 * math/s_clogl.c: Likewise.
37615 * math/s_clog10.c: Include <float.h>.
37616 (M_LOG10_2): Define.
37617 (__clog10): Scale large or subnormal inputs.
37618 * math/s_clog10f.c: Likewise.
37619 * math/s_clog10l.c: Likewise.
37620 * math/libm-test.inc (clog_test): Add more tests.
37621 (clog10_test): Likewise.
37622 * sysdeps/i386/fpu/libm-test-ulps: Update.
37623 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37626 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
37628 * math/libm-test.inc (atan2_test): Add another test.
37630 * Makerules (common-objdir-compile): Remove.
37631 * sysdeps/unix/Makefile (config-generated): Do not add
37632 $(unix-generated) to variable.
37633 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
37634 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
37636 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
37638 [generic bits/local_lim.h] (before-compile): Do not append to
37640 [generic bits/local_lim.h] (common-generated): Likewise.
37641 [generic sys/param.h] (before-compile): Do not append to variable.
37642 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
37643 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
37644 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
37645 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
37647 [generic sys/param.h] (sys/param.h-includes): Remove variable.
37648 [generic sys/param.h] (sys/param.h-includes): Remove rule.
37649 [generic sys/param.h] ($(addprefix
37650 $(common-objpfx),$(sys/param.h-includes))): Likewise.
37651 [generic sys/param.h] (common-generated): Do not append to
37653 [generic sys/param.h] (sysdep_headers): Likewise.
37654 [generic bits/errno.h] (before-compile): Do not append to
37656 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
37658 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
37659 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
37660 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
37661 [generic bits/errno.h] (common-generated): Do not append to
37663 [generic bits/ioctls.h] (before-compile): Do not append to
37665 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
37667 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
37668 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
37669 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
37671 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
37672 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
37673 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
37674 [generic bits/ioctls.h] (common-generated): Do not append to
37676 [generic sys/syscall.h] (syscall.h): Remove variable.
37677 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
37679 [generic sys/syscall.h] (before-compile): Do not append to
37681 [generic sys/syscall.h] (common-generated): Likewise.
37682 * sysdeps/unix/errnos-tmpl.c: Remove file.
37683 * sysdeps/unix/errnos.awk: Likewise.
37684 * sysdeps/unix/ioctls-tmpl.c: Likewise.
37685 * sysdeps/unix/ioctls.awk: Likewise.
37686 * sysdeps/unix/mk-local_lim.c: Likewise.
37687 * sysdeps/unix/snarf-ioctls: Likewise.
37689 2012-03-19 Richard Henderson <rth@twiddle.net>
37691 * sysdeps/i386/fpu/fenv_private.h: New file.
37692 * sysdeps/i386/fpu/math_private.h: Use it.
37693 (math_opt_barrier, math_force_eval): Remove.
37694 (libc_feholdexcept_setround_53bit): Remove.
37695 (libc_feupdateenv_53bit): Remove.
37696 * sysdeps/x86_64/fpu/math_private.h: Likewise.
37697 (math_opt_barrier, math_force_eval): Remove.
37698 (libc_feholdexcept): Remove.
37699 (libc_feholdexcept_setround): Remove.
37700 (libc_fetestexcept, libc_fesetenv): Remove.
37701 (libc_feupdateenv_test): Remove.
37702 (libc_feupdateenv, libc_feholdsetround): Remove.
37703 (libc_feresetround): Remove.
37705 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
37706 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
37708 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
37709 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
37710 (libc_feupdateenv_testl): New.
37711 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
37712 (libc_feupdateenv_testf): New.
37713 (libc_feupdateenv): Use libc_feupdateenv_test.
37714 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
37715 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
37717 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
37718 (libc_feholdsetroundf, libc_feholdsetroundl): New.
37719 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
37720 (libc_feresetround_noex): New.
37721 (libc_feresetround_noexf): New.
37722 (libc_feresetround_noexl): New.
37723 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
37724 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
37725 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
37726 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
37728 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
37729 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
37731 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
37732 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
37733 SET_RESTORE_ROUND_NOEX.
37734 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
37735 SET_RESTORE_ROUND_NOEXF.
37736 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
37737 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
37738 (libc_feholdsetroundf): New.
37739 (libc_feresetround, libc_feresetroundf): New.
37741 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
37742 (libc_feholdexcept_setround_53bit): Convert from macro to function.
37743 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
37745 * sysdeps/generic/math_private.h: Include <fenv.h>.
37746 (default_libc_feholdexcept): New.
37747 (default_libc_feholdexcept_setround): New.
37748 (default_libc_fesetenv, default_libc_feupdateenv): New.
37749 (libc_feholdexcept): Only define if undefined.
37750 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
37751 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
37752 (libc_feholdexcept_setroundl): Likewise.
37753 (libc_feholdexcept_setround_53bit): Likewise.
37754 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
37755 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
37756 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
37757 (libc_feupdateenv_53bit): Likewise.
37758 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
37759 (libc_feholdexcept): Convert from macro to inline function.
37760 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
37761 (libc_fesetenv, libc_feupdateenv): Likewise.
37763 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
37764 not previously defined.
37765 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
37766 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
37767 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
37768 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
37769 * sysdeps/ieee754/flt-32/math_private.h: New file.
37770 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
37771 math_private.h below SET_FLOAT_WORD.
37772 (__isnan, __isinf_ns, __finite): Remove.
37773 (__isnanf, __isinf_nsf, __finitef): Remove.
37775 2012-03-18 Andreas Schwab <schwab@linux-m68k.org>
37777 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
37779 2012-03-17 David S. Miller <davem@davemloft.net>
37782 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
37785 2012-03-16 David S. Miller <davem@davemloft.net>
37787 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
37791 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
37793 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
37794 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
37795 sysdep_routines when subdir is sysvipc.
37796 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
37797 __getshmlba helper.
37799 * sysdeps/sparc/fpu/libm-test/ulps: Update.
37801 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
37803 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
37806 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
37808 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
37809 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
37810 (__lround): Renamed to ...
37811 (__llround): This. Replace long int with long long int.
37812 Define lround functions as aliases of llround functions.
37813 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
37815 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
37817 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
37818 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
37819 adresses to uintptr_t. Replace "long int" and "unsigned long
37820 int" with "greg_t" on va_arg.
37822 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
37824 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
37825 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
37827 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
37828 Move e_machine check before EI_CLASS check. Handle x32
37829 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
37830 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
37831 SKIP_EM_IA_64 and include
37832 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
37834 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
37835 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
37836 (add_system_dir): New macro.
37838 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
37839 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
37841 2012-03-16 Joseph Myers <joseph@codesourcery.com>
37852 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
37854 * math/w_j0f.c (j0f): Likewise.
37856 * math/w_j0l.c (__j0l): Likewise.
37858 * math/w_j1.c (j1): Likewise.
37860 * math/w_j1f.c (j1f): Likewise.
37862 * math/w_j1l.c (__j1l): Likewise.
37864 * math/w_jn.c (jn): Likewise.
37866 * math/w_jnf.c (jnf): Likewise.
37868 * math/w_jnl.c (__jnl): Likewise.
37870 * math/libm-test.inc (j0_test): Add more tests.
37871 (j1_test): Likewise.
37872 (jn_test): Likewise. Add trailing semicolon to existing test.
37873 (y0_test): Likewise.
37874 (y1_test): Likewise.
37875 * sysdeps/i386/fpu/libm-test-ulps: Update.
37876 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37880 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
37881 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
37882 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
37883 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
37884 (__tanl): Set errno for infinite argument.
37885 * sysdeps/i386/fpu/mptan.c: Remove.
37886 * sysdeps/i386/fpu/s_tan.S: Likewise.
37887 * sysdeps/i386/fpu/s_tanl.S: Likewise.
37888 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
37889 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
37890 * math/libm-test.inc (tan_test): Add more tests and enable more
37891 tests for double and long double.
37892 * sysdeps/i386/fpu/libm-test-ulps: Update.
37893 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37895 2012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
37897 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
37898 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
37900 2012-03-16 Roland McGrath <roland@hack.frob.com>
37902 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
37903 * configure.in: Use it for both main tree and add-ons.
37904 * configure: Regenerated.
37906 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
37908 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
37910 2012-03-16 Joseph Myers <joseph@codesourcery.com>
37912 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
37916 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
37917 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
37918 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
37919 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
37920 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
37922 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
37923 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
37924 != 0 for prec == 2.
37925 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
37926 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
37927 * sysdeps/i386/fpu/s_cosl.S: Likewise.
37928 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
37929 * sysdeps/i386/fpu/s_sinl.S: Likewise.
37930 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
37931 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
37932 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
37933 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
37934 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
37935 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
37936 * math/libm-test.inc (cos_test): Add more tests and enable more
37937 tests for long double.
37938 (sin_test): Likewise.
37939 (sincos_test): Likewise.
37940 * sysdeps/i386/fpu/libm-test-ulps: Update.
37941 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37943 2012-03-16 David S. Miller <davem@davemloft.net>
37945 * sysdeps/sparc/fpu/math_private.h: New file.
37947 2012-03-15 David S. Miller <davem@davemloft.net>
37949 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
37951 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
37952 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
37954 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
37955 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
37956 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
37957 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
37958 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
37959 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
37961 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
37963 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
37964 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
37966 * sysdeps/sparc/sparc-ifunc.h: New file.
37967 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
37969 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
37970 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
37972 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
37974 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
37975 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
37976 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
37977 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
37979 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
37980 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
37981 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
37982 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
37983 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
37985 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
37987 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
37988 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
37989 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
37990 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
37991 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
37992 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
37993 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
37994 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
37995 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
37996 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
37997 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
37998 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
37999 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
38000 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
38001 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
38002 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
38003 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
38004 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
38005 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
38006 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
38007 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
38008 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
38009 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
38010 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
38012 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
38014 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
38016 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
38018 2012-03-15 Andreas Jaeger <aj@suse.de>
38021 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
38022 ieee754/flt-32 implementation for sin, cos and sincos.
38023 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
38024 * sysdeps/i386/fpu/s_cosf.S: Likewise.
38025 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
38026 * sysdeps/i386/fpu/s_sinf.S: Likewise.
38027 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
38028 ieee754/flt-32 implementation for tan.
38030 * math/libm-test.inc (cos_test): Enable some large input tests for
38032 (sin_test): Likewise.
38033 (sincos_test): Likewise.
38034 (tan_test): Add tests for large input.
38036 * sysdeps/i386/fpu/libm-test-ulps: Update.
38038 2012-03-15 Andreas Jaeger <aj@suse.de>
38041 * math/libm-test.inc (cos_test): Add more test cases.
38042 (sin_test): Likewise.
38043 (sincos_test): Likewise.
38045 2012-03-15 Andreas Jaeger <aj@suse.de>
38048 * math/libm-test.inc (cos_test): Add a test case for large input
38050 (sin_test): Likewise.
38051 (sincos_test): Likewise.
38053 2012-03-15 Andreas Jaeger <aj@suse.de>
38054 Joseph Myers <joseph@codesourcery.com>
38057 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
38058 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
38059 * sysdeps/i386/fpu/branred.c: Likewise.
38060 * sysdeps/i386/fpu/dosincos.c: Likewise.
38061 * sysdeps/i386/fpu/mpa.c: Likewise.
38062 * sysdeps/i386/fpu/s_cos.S: Likewise.
38063 * sysdeps/i386/fpu/s_sin.S: Likewise.
38064 * sysdeps/i386/fpu/s_sincos.S: Likewise.
38065 * sysdeps/i386/fpu/sincos32.c: Likewise.
38067 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
38069 (libc_feupdateenv_53bit): Define.
38070 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
38072 (libc_feupdateenv_53bit): Define.
38074 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
38075 53 bit (without extend i386 double precision).
38077 * math/libm-test.inc (sincos_test): Add tests for large input.
38081 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
38083 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
38085 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
38087 2012-03-15 David S. Miller <davem@davemloft.net>
38089 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
38090 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
38091 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
38092 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
38093 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
38094 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
38095 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
38096 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
38097 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
38098 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
38099 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
38100 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
38101 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
38102 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
38103 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
38104 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
38106 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
38107 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
38109 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
38110 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
38112 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
38113 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
38115 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
38116 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
38117 fmin/fmax sysdep routines.
38118 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
38120 2012-03-14 David S. Miller <davem@davemloft.net>
38122 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
38123 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
38124 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
38125 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
38126 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
38127 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
38128 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
38129 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
38130 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
38131 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
38132 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
38133 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
38134 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
38135 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
38136 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
38137 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
38138 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
38139 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
38140 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
38141 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
38142 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
38143 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
38144 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
38145 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
38146 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
38147 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
38148 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
38149 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
38150 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
38152 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
38154 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
38155 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
38157 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
38158 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
38160 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
38161 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
38163 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
38164 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
38166 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
38167 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
38169 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
38171 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
38173 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
38175 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
38177 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
38179 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
38181 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
38182 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
38184 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
38185 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
38187 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
38188 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
38190 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
38191 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
38194 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
38197 * sysdeps/sparc/fpu/libm-test-ulps: Update.
38199 * sysdeps/sparc/configure.in: New file.
38200 * sysdeps/sparc/configure: Generate.
38201 * configure.in (libc_cv_sparc_as_vis3): Substitute.
38202 * configure: Regenerate.
38203 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
38204 * config.make.in (have-as-vis3): New.
38205 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
38206 available use -Av9d instead of -Av9a.
38207 * sysdeps/sparc/sparc64/Makefile: Likewise.
38208 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
38209 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
38211 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
38213 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
38215 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
38217 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
38218 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
38219 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
38220 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
38221 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
38223 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
38224 fzeros/fnegs to load 0x80000000 into a float register instead of
38226 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
38228 2012-03-14 Joseph Myers <joseph@codesourcery.com>
38230 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
38232 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
38233 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
38234 ($(inst_includedir)/bits/syscall.h): Remove rule.
38235 ($(objpfx)bits/syscall.d): Include instead of
38236 $(objpfx)syscall-list.d.
38237 (generated): Change syscall-list.h and syscall-list.d to
38238 bits/syscall.h and bits/syscall.d.
38240 2012-03-14 Roland McGrath <roland@hack.frob.com>
38243 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
38245 2012-03-14 Joseph Myers <joseph@codesourcery.com>
38248 * math/s_csqrt.c: Include <float.h>.
38249 (__csqrt): Scale large or subnormal inputs.
38250 * math/s_csqrtf.c: Likewise.
38251 * math/s_csqrtl.c: Likewise.
38252 * math/libm-test.inc (csqrt_test): Add more tests.
38253 * sysdeps/i386/fpu/libm-test-ulps: Update.
38254 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38257 * math/libm-test.inc (hypot_test): Add more tests.
38259 2012-03-13 David S. Miller <davem@davemloft.net>
38262 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
38263 double-precision for the calculation instead of scaling.
38265 2012-03-13 Joseph Myers <joseph@codesourcery.com>
38267 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
38268 manipulate bits before adding and subtracting TWO52[sx].
38269 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
38270 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
38272 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
38274 2012-03-13 David S. Miller <davem@davemloft.net>
38276 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
38277 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
38278 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
38279 rtld-global-offsets.h
38280 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
38282 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
38285 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
38287 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
38288 'err' in the ifdef scope in which it is actually used.
38290 * nss/nss_db/db-init.c: Include string.h
38292 2012-03-12 David S. Miller <davem@davemloft.net>
38294 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
38295 masking out of the most significant byte of random value used.
38296 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
38297 Fix coding style in previous change.
38299 * sysdeps/unix/sysv/linux/kernel-features.h
38300 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
38301 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
38303 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
38306 2012-03-11 David S. Miller <davem@davemloft.net>
38308 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
38309 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
38310 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
38311 for 'resultvar' otherwise things get truncated on 64-bit.
38313 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
38314 Fix masking out of the most significant byte of random value used.
38316 * sysdeps/sparc/fpu/libm-test-ulps: Update.
38318 2012-03-10 Andreas Schwab <schwab@linux-m68k.org>
38320 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
38322 2012-03-09 David S. Miller <davem@davemloft.net>
38324 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
38325 variables with appropriate CPP guards.
38326 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr
38327 from the frame pointer, not the stack pointer. Correct layout
38328 comments. Fix test on resulting framesize and the management of
38329 the outregs buffer for pltexit. Preserve floating point return
38330 values across _dl_call_pltexit call.
38331 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
38332 framesize and the management of the outregs buffer for pltexit.
38333 Preserve floating point return values across _dl_call_pltexit
38335 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter)
38336 (la_sparc64_gnu_pltenter, la_sparc32_gnu_pltexit)
38337 (la_sparc64_gnu_pltexit): New functions.
38338 (print_exit): Fix format string for return register value.
38340 2012-03-10 Joseph Myers <joseph@codesourcery.com>
38342 * sunrpc/Makefile (others): Add rpcgen.
38343 ($(objpfx)rpcgen): Remove special build rule and dependency on
38345 * sunrpc/rpcgen.c: New file.
38347 2012-03-09 Paul Eggert <eggert@cs.ucla.edu>
38350 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
38351 * stdio-common/bug-vfprintf-nargs.c: Likewise.
38352 * sysdeps/i386/crti.S: Likewise.
38353 * sysdeps/i386/crtn.S: Likewise.
38354 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
38355 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
38356 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
38357 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
38358 * sysdeps/sh/crti.S: Likewise.
38359 * sysdeps/sh/crtn.S: Likewise.
38360 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
38363 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
38365 * locale/programs/locfile-kw.gperf: Likewise.
38366 * locale/programs/charmap-kw.h: Regenerated.
38367 * locale/programs/locfile-kw.h: Likewise.
38370 * intl/plural.y: Replace FSF snail mail address with URL.
38371 * intl/plural.c: Regenerated.
38373 2012-03-09 Richard Henderson <rth@twiddle.net>
38375 * include/math_private.h: Remove file.
38376 * math/math_private.h: Move file ...
38377 * sysdeps/generic/math_private.h: ... here.
38379 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
38380 * sysdeps/powerpc/fpu/math_private.h: Likewise.
38381 * sysdeps/x86_64/fpu/math_private.h: Likewise.
38383 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
38384 and <math_private.h>.
38385 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
38386 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
38387 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
38388 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
38389 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
38390 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
38391 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
38392 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
38393 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
38394 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
38395 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
38396 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
38397 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
38398 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
38399 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
38400 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
38401 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
38402 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
38403 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
38404 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
38405 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
38406 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
38407 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
38408 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
38409 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
38410 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
38411 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
38412 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
38413 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
38414 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
38415 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
38416 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
38417 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
38418 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
38419 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
38420 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
38421 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
38422 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
38423 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
38424 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
38425 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
38426 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
38427 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
38428 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
38429 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
38430 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
38431 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
38432 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
38433 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
38434 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
38435 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
38436 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
38437 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
38438 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
38439 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
38440 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
38441 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
38442 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
38443 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
38444 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
38445 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
38446 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
38447 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
38448 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
38449 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
38450 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
38451 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
38452 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
38453 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
38454 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
38455 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
38456 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
38457 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
38458 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
38459 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
38460 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
38461 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
38462 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
38463 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
38464 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
38465 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
38466 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
38467 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
38468 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
38469 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
38470 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
38471 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
38472 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
38473 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
38474 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
38475 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
38476 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
38477 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
38478 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
38479 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
38480 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
38481 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
38482 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
38483 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
38484 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
38485 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
38486 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
38487 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
38488 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
38489 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
38490 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
38491 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
38492 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
38493 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
38494 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
38495 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
38496 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
38497 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
38498 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
38499 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
38500 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
38501 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
38502 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
38503 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
38504 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
38505 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
38506 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
38507 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
38508 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
38509 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
38510 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
38511 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
38512 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
38513 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
38514 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
38515 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
38516 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
38517 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
38518 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
38519 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
38520 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
38521 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
38522 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
38523 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
38524 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
38525 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
38526 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
38527 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
38528 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
38529 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
38530 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
38531 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
38532 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
38533 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
38534 * sysdeps/ieee754/k_standard.c: Likewise.
38535 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
38536 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
38537 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
38538 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
38539 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
38540 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
38541 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
38542 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
38543 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
38544 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
38545 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
38546 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
38547 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
38548 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
38549 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
38550 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
38551 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
38552 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
38553 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
38554 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
38555 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
38556 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
38557 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
38558 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
38559 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
38560 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
38561 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
38562 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
38563 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
38564 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
38565 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
38566 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
38567 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
38568 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
38569 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
38570 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
38571 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
38572 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
38573 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
38574 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
38575 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
38576 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
38577 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
38578 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
38579 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
38580 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
38581 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
38582 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
38583 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
38584 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
38585 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
38586 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
38587 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
38588 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
38589 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
38590 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
38591 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
38592 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
38593 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
38594 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
38595 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
38596 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
38597 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
38598 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
38599 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
38600 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
38601 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
38602 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
38603 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
38604 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
38605 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
38606 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
38607 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
38608 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
38609 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
38610 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
38611 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
38612 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
38613 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
38614 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
38615 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
38616 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
38617 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
38618 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
38619 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
38620 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
38621 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
38622 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
38623 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
38624 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
38625 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
38626 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
38627 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
38628 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
38629 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
38630 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
38631 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
38632 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
38633 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
38634 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
38635 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
38636 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
38637 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
38638 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
38639 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
38640 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
38641 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
38642 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
38643 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
38644 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
38645 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
38646 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
38647 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
38648 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
38649 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
38650 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
38651 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
38652 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
38653 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
38654 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
38655 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
38656 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
38657 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
38658 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
38659 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
38660 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
38661 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
38662 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
38663 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
38664 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
38665 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
38666 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
38667 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
38668 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
38669 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
38670 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
38671 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
38672 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
38673 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
38674 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
38675 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
38676 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
38677 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
38678 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
38679 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
38680 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
38681 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
38682 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
38683 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
38684 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
38685 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
38686 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
38687 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
38688 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
38689 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
38690 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
38691 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
38692 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
38693 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
38694 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
38695 * sysdeps/ieee754/s_lib_version.c: Likewise.
38696 * sysdeps/ieee754/s_matherr.c: Likewise.
38697 * sysdeps/ieee754/s_signgam.c: Likewise.
38698 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
38699 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
38700 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
38701 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
38702 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
38703 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
38704 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
38705 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
38706 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
38707 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
38708 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
38709 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
38710 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
38711 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
38712 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
38713 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
38714 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
38715 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
38716 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
38717 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
38718 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
38720 2012-03-09 Joseph Myers <joseph@codesourcery.com>
38722 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
38723 * sunrpc/rpc_main.c: Likewise.
38724 * sunrpc/rpc_svcout.c: Likewise.
38726 2012-03-09 David S. Miller <davem@davemloft.net>
38728 * include/math_private.h: New file.
38730 2012-03-09 Joseph Myers <joseph@codesourcery.com>
38732 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
38733 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
38734 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
38735 from <bits/socket_type.h>.
38736 (enum __socket_type): Don't define here.
38737 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
38738 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
38739 bits/socket_type.h.
38742 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
38743 checking __USE_GNU.
38745 * Makerules ($(inst_includedir)/%.h): New rule.
38746 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
38747 (install-others): Remove variable setting.
38748 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
38750 2012-03-08 Richard Henderson <rth@twiddle.net>
38752 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
38753 from macro to inline function; merge with the
38754 !__LIBC_INTERNAL_MATH_INLINES version.
38755 (__ieee754_sqrtf): Likewise.
38757 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
38758 to inline function.
38759 (__rintf, __floor, __floorf): Likewise.
38761 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
38762 macro to inline function.
38763 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
38765 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
38766 not <math/math_private.h>.
38768 2012-03-08 David S. Miller <davem@davemloft.net>
38770 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
38772 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
38774 2012-03-08 Thomas Schwinge <thomas@codesourcery.com>
38776 * resolv/gai_misc.c (handle_requests): Fix struct timespec
38778 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
38779 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
38781 2012-03-08 Ulrich Drepper <drepper@gmail.com>
38783 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
38784 be defined individually, they must be defined as a block. Define
38785 S for printing a string instead of hidint the different by using a
38786 macro for adding the 'l'.
38787 * stdio-common/tst-fphex-wide.c: Adjust.
38789 2012-03-07 Marek Polacek <polacek@redhat.com>
38791 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
38793 2012-03-08 Marek Polacek <polacek@redhat.com>
38796 * stdio-common/Makefile (tests): Add tst-fphex-wide.
38797 * stdio-common/tst-fphex.c: Define a few macros to make the
38798 test reusable. Use them.
38799 * stdio-common/tst-fphex-wide.c: New file.
38801 2012-03-08 Joseph Myers <joseph@codesourcery.com>
38804 * manual/macros.texi (gnusystems): New macro.
38805 (nongnusystems): Likewise.
38806 (gnulinuxhurdsystems): Likewise.
38807 (gnuhurdsystems): Likewise..
38808 (gnulinuxsystems): Likewise.
38809 * manual/charset.texi: Use new macros or @theglibc{} to refer to
38810 variants of the GNU system, not "GNU system".
38811 * manual/conf.texi: Likewise.
38812 * manual/errno.texi: Likewise. Update example of errno macro
38814 * manual/filesys.texi: Likewise.
38815 (getumask): Document as specific to GNU/Hurd.
38816 * manual/install.texi: Likewise. Reword some references to
38818 * manual/intro.texi: Likewise.
38819 * manual/io.texi: Likewise.
38820 (File Name Portability): Detail which constraints are inapplicable
38821 to all GNU systems and which are only inapplicable to GNU/Hurd.
38822 * manual/job.texi: Likewise.
38823 * manual/llio.texi: Likewise.
38824 (O_NOCTTY): Document as present on GNU/Linux.
38825 * manual/maint.texi: Likewise.
38826 * manual/memory.texi: Likewise.
38827 * manual/pattern.texi: Likewise.
38828 * manual/pipe.texi: Likewise.
38829 * manual/process.texi: Likewise.
38830 * manual/resource.texi: Likewise.
38831 (RUSAGE_CHILDREN): Remove statement about specifying a particular
38833 * manual/setjmp.texi: Likewise.
38834 * manual/signal.texi: Likewise.
38835 * manual/startup.texi: Likewise.
38836 * manual/stdio.texi: Likewise.
38837 * manual/terminal.texi: Likewise.
38838 (ONLCR): Document as POSIX.
38839 (OXTABS): Document availability on GNU/Linux as XTABS.
38840 (ONOEOT): Document availability separately from other bits.
38841 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
38842 * manual/time.texi: Likewise.
38843 * manual/users.texi: Likewise.
38844 * INSTALL: Regenerated.
38845 * sysdeps/gnu/errlist.c: Regenerated.
38847 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
38848 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
38849 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
38851 * configure: Regenerated.
38853 2012-03-07 Joseph Myers <joseph@codesourcery.com>
38855 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
38856 default includes instead of AC_HEADER_CHECK.
38857 * sysdeps/i386/configure: Regenerated.
38860 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
38861 * math/s_cacoshf.c (__cacoshf): Likewise.
38862 * math/s_cacoshl.c (__cacoshl): Likewise.
38863 * math/s_casinh.c (__casinh): Set signs of result from argument.
38864 * math/s_casinhf.c (__casinhf): Likewise.
38865 * math/s_casinhl.c (__casinhl): Likewise.
38866 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
38867 (casinh_test): Add more tests.
38868 * sysdeps/i386/fpu/libm-test-ulps: Update.
38869 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38871 2012-03-07 Ulrich Drepper <drepper@gmail.com>
38873 * po/zh_TW.po: Update from translation team.
38875 * login/Makefile (distribute): Remove variable.
38876 * catgets/Makefile: Likewise.
38877 * mach/Makefile: Likewise.
38878 * malloc/Makefile: Likewise.
38879 * misc/Makefile: Likewise.
38880 * iconv/Makefile: Likewise.
38881 * nscd/Makefile: Likewise.
38882 * hurd/Makefile: Likewise.
38883 * manual/Makefile: Likewise.
38884 * locale/Makefile: Likewise.
38885 * intl/Makefile: Likewise.
38886 * conform/Makefile: Likewise.
38887 * nss/Makefile: Likewise.
38888 * time/Makefile: Likewise.
38889 * soft-fp/Makefile: Likewise.
38890 * dirent/Makefile: Likewise.
38891 * gmon/Makefile: Likewise.
38892 * po/Makefile: Likewise.
38893 * rt/Makefile: Likewise.
38894 * socket/Makefile: Likewise.
38895 * math/Makefile: Likewise.
38896 * signal/Makefile: Likewise.
38897 * debug/Makefile: Likewise.
38898 * elf/Makefile: Likewise.
38899 * timezone/Makefile: Likewise.
38900 * stdlib/Makefile: Likewise.
38901 * iconvdata/Makefile: Likewise.
38902 * sunrpc/Makefile: Likewise.
38903 * io/Makefile: Likewise.
38904 * argp/Makefile: Likewise.
38905 * inet/Makefile: Likewise.
38906 * hesiod/Makefile: Likewise.
38907 * grp/Makefile: Likewise.
38908 * csu/Makefile: Likewise.
38909 * wctype/Makefile: Likewise.
38910 * crypt/Makefile: Likewise.
38911 * libio/Makefile: Likewise.
38912 * string/Makefile: Likewise.
38913 * nis/Makefile: Likewise.
38914 * resolv/Makefile: Likewise.
38915 * stdio-common/Makefile: Likewise.
38916 * wcsmbs/Makefile: Likewise.
38917 * dlfcn/Makefile: Likewise.
38918 * posix/Makefile: Likewise.
38921 * timezone/Makefile: Don't install timezone files, just the programs
38924 2012-03-06 Ulrich Drepper <drepper@gmail.com>
38926 * nss/databases.def: Add missing gshadow entry.
38928 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
38930 2012-03-06 Marek Polacek <polacek@redhat.com>
38933 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
38934 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
38935 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
38936 * stdio-common/tst-long-dbl-fphex.c: New file.
38938 2012-03-06 David S. Miller <davem@davemloft.net>
38940 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
38941 (set_obp_int): New function.
38942 (get_obp_int): New function.
38943 (__get_clockfreq_via_dev_openprom): Likewise.
38944 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
38945 Avoid unused variable warnings on 'val' and use builtin_expect.
38946 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
38948 (INLINE_CLONE_SYSCALL): Likewise.
38950 2012-03-05 David S. Miller <davem@davemloft.net>
38952 * sysdeps/sparc/fpu/libm-test-ulps: Update.
38954 2012-03-05 Andreas Schwab <schwab@linux-m68k.org>
38956 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
38958 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
38959 only for |x| >= 40.
38960 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
38962 2012-03-05 H.J. Lu <hongjiu.lu@intel.com>
38964 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
38965 Replace gettimeofday with __vdso_gettimeofday.
38967 * sysdeps/unix/sysv/linux/x86_64/init-first.c
38968 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
38969 __vdso_clock_gettime and __vdso_getcpu.
38971 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
38972 time with __vdso_time.
38974 2012-03-05 Joseph Myers <joseph@codesourcery.com>
38976 * manual/lang.texi (size_t): Note types to which size_t may be
38977 equivalent with the GNU C Library, but do not describe when
38978 differences between them are significant.
38980 2012-03-05 Andreas Jaeger <aj@suse.de>
38982 * sysdeps/i386/fpu/libm-test-ulps: Update.
38984 2012-03-05 Joseph Myers <joseph@codesourcery.com>
38987 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
38988 (__ieee754_pow): Save and restore rounding mode and use
38989 round-to-nearest for main computations.
38990 * math/libm-test.inc (pow_test_tonearest): New function.
38991 (pow_test_towardzero): Likewise.
38992 (pow_test_downward): Likewise.
38993 (pow_test_upward): Likewise.
38994 (main): Call the new functions.
38995 * sysdeps/i386/fpu/libm-test-ulps: Update.
38996 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38999 * math/libm-test.inc (cosh_test_tonearest): New function.
39000 (cosh_test_towardzero): Likewise.
39001 (cosh_test_downward): Likewise.
39002 (cosh_test_upward): Likewise.
39003 (sinh_test_tonearest): Likewise.
39004 (sinh_test_towardzero): Likewise.
39005 (sinh_test_downward): Likewise.
39006 (sinh_test_upward): Likewise.
39007 (main): Call the new functions.
39008 * sysdeps/i386/fpu/libm-test-ulps: Update.
39009 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39011 2012-03-05 Tom de Vries <tom@codesourcery.com>
39013 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
39014 default stack guard is set in last bytes.
39015 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
39017 2012-03-05 Kees Cook <keescook@chromium.org>
39019 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
39022 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
39023 possibly allocate from heap instead of stack.
39024 * stdio-common/bug-vfprintf-nargs.c: New file.
39025 * stdio-common/Makefile (tests): Add nargs overflow test.
39027 2012-03-03 Andreas Schwab <schwab@linux-m68k.org>
39029 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
39031 2012-03-03 Marek Polacek <polacek@redhat.com>
39033 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
39034 * math/math_private.h: Likewise.
39035 * stdlib/tst-strtod.c: Likewise.
39036 * sysdeps/i386/i486/bits/atomic.h: Likewise.
39037 * sysdeps/x86_64/bits/atomic.h: Likewise.
39039 2012-03-02 David S. Miller <davem@davemloft.net>
39041 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
39042 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
39043 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
39044 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
39045 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
39046 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
39047 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
39048 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
39050 2012-03-02 Roland McGrath <roland@hack.frob.com>
39053 * manual/examples/README: New file, says the example source files
39054 can be used under GPL>=2.
39055 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
39056 line containing just "*/".
39057 * manual/examples/add.c: Add copyright header (GPL>=2).
39058 * manual/examples/argp-ex1.c: Likewise.
39059 * manual/examples/argp-ex2.c: Likewise.
39060 * manual/examples/argp-ex3.c: Likewise.
39061 * manual/examples/argp-ex4.c: Likewise.
39062 * manual/examples/atexit.c: Likewise.
39063 * manual/examples/db.c: Likewise.
39064 * manual/examples/dir.c: Likewise.
39065 * manual/examples/dir2.c: Likewise.
39066 * manual/examples/execinfo.c: Likewise.
39067 * manual/examples/filecli.c: Likewise.
39068 * manual/examples/filesrv.c: Likewise.
39069 * manual/examples/fmtmsgexpl.c: Likewise.
39070 * manual/examples/genpass.c: Likewise.
39071 * manual/examples/inetcli.c: Likewise.
39072 * manual/examples/inetsrv.c: Likewise.
39073 * manual/examples/isockad.c: Likewise.
39074 * manual/examples/longopt.c: Likewise.
39075 * manual/examples/memopen.c: Likewise.
39076 * manual/examples/memstrm.c: Likewise.
39077 * manual/examples/mkfsock.c: Likewise.
39078 * manual/examples/mkisock.c: Likewise.
39079 * manual/examples/mygetpass.c: Likewise.
39080 * manual/examples/pipe.c: Likewise.
39081 * manual/examples/popen.c: Likewise.
39082 * manual/examples/rprintf.c: Likewise.
39083 * manual/examples/search.c: Likewise.
39084 * manual/examples/select.c: Likewise.
39085 * manual/examples/setjmp.c: Likewise.
39086 * manual/examples/sigh1.c: Likewise.
39087 * manual/examples/sigusr.c: Likewise.
39088 * manual/examples/stpcpy.c: Likewise.
39089 * manual/examples/strdupa.c: Likewise.
39090 * manual/examples/strftim.c: Likewise.
39091 * manual/examples/strncat.c: Likewise.
39092 * manual/examples/subopt.c: Likewise.
39093 * manual/examples/swapcontext.c: Likewise.
39094 * manual/examples/termios.c: Likewise.
39095 * manual/examples/testopt.c: Likewise.
39096 * manual/examples/testpass.c: Likewise.
39097 * manual/examples/timeval_subtract.c: Likewise.
39100 * manual/time.texi (Elapsed Time): Move timeval_subtract example
39102 * manual/timeval_subtract.c.texi: ... here, new file.
39104 2012-03-02 David S. Miller <davem@davemloft.net>
39106 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
39108 2012-03-02 Joseph Myers <joseph@codesourcery.com>
39111 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
39112 (__sin): Save and restore rounding mode and use round-to-nearest
39113 for all computations.
39114 (__cos): Save and restore rounding mode and use round-to-nearest
39115 for all computations.
39116 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
39118 (tan): Save and restore rounding mode and use round-to-nearest for
39120 * math/libm-test.inc (cos_test_tonearest): New function.
39121 (cos_test_towardzero): Likewise.
39122 (cos_test_downward): Likewise.
39123 (cos_test_upward): Likewise.
39124 (sin_test_tonearest): Likewise.
39125 (sin_test_towardzero): Likewise.
39126 (sin_test_downward): Likewise.
39127 (sin_test_upward): Likewise.
39128 (tan_test_tonearest): Likewise.
39129 (tan_test_towardzero): Likewise.
39130 (tan_test_downward): Likewise.
39131 (tan_test_upward): Likewise.
39132 (main): Call the new functions.
39133 * sysdeps/i386/fpu/libm-test-ulps: Update.
39134 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39137 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
39138 small n, then large n, before computing and testing k+n.
39139 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
39140 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
39142 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
39144 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
39145 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
39146 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
39147 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
39148 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
39149 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
39150 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
39151 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
39152 * math/libm-test.inc (scalbn_test): Add more tests.
39153 (scalbln_test): Likewise.
39155 * manual/filesys.texi (mode_t): Describe constraints on size and
39156 signedness, not exact equivalence to a particular type.
39158 (ino64_t): Likewise.
39160 (nlink_t): Likewise.
39161 (blkcnt_t): Likewise.
39162 (blkcnt64_t): Likewise.
39163 * manual/llio.texi (off_t): Likewise.
39166 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
39167 (__ieee754_exp): Save and restore rounding mode and use
39168 round-to-nearest for all computations.
39169 * math/libm-test.inc (exp_test_tonearest): New function.
39170 (exp_test_towardzero): Likewise.
39171 (exp_test_downward): Likewise.
39172 (exp_test_upward): Likewise.
39173 (main): Call the new functions.
39174 * sysdeps/i386/fpu/libm-test-ulps: Update.
39175 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39177 2012-03-01 Chris Demetriou <cgd@google.com>
39179 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
39180 have predictable order.
39182 2012-03-01 David S. Miller <davem@davemloft.net>
39184 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
39186 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
39187 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
39188 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
39189 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
39191 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
39192 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
39193 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
39194 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
39195 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
39196 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
39197 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
39198 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
39199 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
39201 * sysdeps/sparc/fpu/libm-test-ulps: Update.
39203 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
39204 * sysdeps/sparc/fpu/libm-test-ulps: to here.
39205 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
39207 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
39208 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
39209 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
39210 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
39211 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
39212 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
39213 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
39214 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
39215 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
39216 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
39217 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
39218 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
39219 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
39220 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
39221 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
39222 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
39223 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
39224 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
39225 * sysdeps/sparc/elf/configure: Regenerated.
39227 2012-03-01 Joseph Myers <joseph@codesourcery.com>
39229 * configure.in (AS, LD): Require binutils 2.20 or later.
39230 * configure: Regenerated.
39231 * manual/install.texi (Tools for Compilation): Give binutils 2.20
39232 as required minimum version.
39233 * INSTALL: Regenerated.
39237 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
39238 before squaring exponent.
39239 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
39240 bottom long double and 27 bits of top long double before squaring
39242 * math/libm-test.inc (erfc_test): Add more tests.
39243 * sysdeps/i386/fpu/libm-test-ulps: Update.
39244 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
39245 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39247 2012-03-01 Kai Tietz <ktietz@redhat.com>
39249 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
39250 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
39251 containing bit-fields.
39252 * soft-fp/extended.h (_FP_UNION_E): Likewise.
39253 * soft-fp/single.h (_FP_UNION_S): Likewise.
39254 * soft-fp/double.h (_FP_UNION_D): Likewise.
39256 2012-02-29 Joseph Myers <joseph@codesourcery.com>
39259 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
39260 not include ../strcmp.S.
39261 [USE_AS_STRNCASECMP_L]: Likewise.
39262 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
39263 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
39264 * sysdeps/i386/i686/multiarch/strncase_l-c.c
39265 (__strncasecmp_l_ia32): Define as alias to
39266 __strncasecmp_l_nonascii.
39269 * math/libm-test.inc (expm1_test): Add test for bug 5794.
39270 * sysdeps/i386/fpu/libm-test-ulps: Update.
39271 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39273 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
39274 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39276 2012-02-29 Jeff Law <law@redhat.com>
39278 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
39279 out of bounds read.
39281 2012-02-29 Marek Polacek <polacek@redhat.com>
39284 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
39285 * elf/Makefile: Add rules to run tst-unused-dep.out.
39287 2012-02-28 David S. Miller <davem@davemloft.net>
39289 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
39290 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
39291 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
39292 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
39293 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
39294 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
39296 2012-02-29 Joseph Myers <joseph@codesourcery.com>
39298 * math/libm-test.inc (llround_test): Move one test from
39299 lround_test. Use TEST_f_L in moved test.
39300 (lround_test): Move misplaced test to llround_test. Add testcase
39303 2012-02-28 Ulrich Drepper <drepper@gmail.com>
39305 * sysdeps/x86_64/fpu/e_expf.S: New file.
39306 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
39308 2012-02-28 Stanislav Brabec <sbrabec@suse.cz>
39311 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
39312 of remain_len that may cause incomplete multi-byte character and
39314 * posix/bug-regex33.c: New file.
39315 * posix/Makefile (tests): Add bug-regex33.
39317 2012-02-28 Joseph Myers <joseph@codesourcery.com>
39319 * manual/macros.texi: New file.
39320 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
39321 * manual/libc.texinfo: Include macros.texi.
39322 * manual/creatute.texi: Likewise.
39323 * manual/install.texi: Likewise.
39324 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
39325 @glibcadj{} in references to the GNU C Library.
39326 * manual/charset.texi: Likewise.
39327 * manual/conf.texi: Likewise.
39328 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
39329 when not using those macros.
39330 * manual/creature.texi: Likewise.
39331 * manual/crypt.texi: Likewise.
39332 * manual/errno.texi: Likewise.
39333 * manual/filesys.texi: Likewise.
39334 * manual/header.texi: Likewise.
39335 * manual/install.texi: Likewise.
39336 * manual/intro.texi: Likewise.
39337 * manual/io.texi: Likewise.
39338 * manual/job.texi: Likewise.
39339 * manual/lang.texi: Likewise.
39340 * manual/libc.texiinfo: Likewise.
39341 * manual/llio.texi: Likewise.
39342 * manual/locale.texi: Likewise.
39343 * manual/maint.texi: Likewise.
39344 * manual/math.texi: Likewise.
39345 * manual/memory.texi: Likewise.
39346 * manual/message.texi: Likewise.
39347 * manual/nss.texi: Likewise.
39348 * manual/pattern.texi: Likewise.
39349 * manual/process.texi: Likewise.
39350 * manual/resource.texi: Likewise.
39351 * manual/search.texi: Likewise.
39352 * manual/setjmp.texi: Likewise.
39353 * manual/signal.texi: Likewise.
39354 * manual/socket.texi: Likewise.
39355 * manual/startup.texi: Likewise.
39356 * manual/stdio.texi: Likewise.
39357 * manual/string.texi: Likewise.
39358 * manual/sysinfo.texi: Likewise.
39359 * manual/syslog.texi: Likewise.
39360 * manual/terminal.texi: Likewise.
39361 * manual/time.texi: Likewise.
39362 * manual/users.texi: Likewise.
39363 * INSTALL: Regenerated.
39364 * NOTES: Regenerated.
39365 * sysdeps/gnu/errlist.c: Regenerated.
39367 2012-02-28 Andreas Schwab <schwab@linux-m68k.org>
39369 * include/dirent.h: Include <dirstream.h> before
39372 2012-02-28 David S. Miller <davem@davemloft.net>
39374 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
39375 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
39376 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
39377 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
39379 2012-02-27 David S. Miller <davem@davemloft.net>
39381 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
39382 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
39383 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
39384 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
39386 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
39387 frame pointer instead of stack pointer relative arg slot.
39388 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
39389 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
39390 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
39392 2012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
39395 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
39397 2012-02-27 David S. Miller <davem@davemloft.net>
39399 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
39400 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
39401 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
39402 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
39403 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
39404 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
39405 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
39406 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
39408 2012-02-27 Joseph Myers <joseph@codesourcery.com>
39410 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
39411 later. Allow versions 5-9.
39412 * configure: Regenerated.
39413 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
39414 required minimum version and 4.6 as recommended version. Do not
39415 mention bugs in GCC 2.7 and 2.8.
39416 * INSTALL: Regenerated.
39418 2012-02-27 David S. Miller <davem@davemloft.net>
39420 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
39421 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
39422 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
39423 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
39424 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
39425 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
39426 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
39427 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
39429 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
39430 manipulate bits before adding and subtracting TWO112[sx].
39431 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
39433 2012-02-27 Roland McGrath <roland@hack.frob.com>
39436 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
39437 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
39438 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
39439 being in POSIX, because they are in 1003.1-2008.
39441 * rt/tst-aio.c: Include <fcntl.h>.
39442 * rt/tst-aio7.c: Likewise.
39443 * rt/tst-aio64.c: Likewise.
39445 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
39447 2012-02-27 Joseph Myers <joseph@codesourcery.com>
39449 * manual/install.texi (--with-headers): Describe headers as
39450 interface headers, not private headers.
39451 (Specific advice for GNU/Linux systems): Describe use of headers
39452 from "make headers_install", not private headers from older
39454 * INSTALL: Regenerated.
39455 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
39457 * sysdeps/unix/sysv/linux/configure: Regenerated.
39459 * manual/llio.texi (fclean): Remove documentation.
39461 * manual/Makefile (libc-texi-generated): New variable. Include
39463 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
39464 $(libc-texi-generated), not duplicated list of files.
39465 (version.texi, stamp-version): New rules.
39466 (realclean): Remove $(libc-texi-generated), not individual files
39467 from that list. Do not remove dir-add.texinfo.
39468 * manual/libc.texinfo: Comment out uses of edition numbers and
39469 references to printed manual. Remove last-updated dates.
39470 (EDITION): Comment out.
39472 (VERSION, UPDATED): Remove.
39473 (version.texi): Include.
39475 2012-02-27 Andreas Schwab <schwab@linux-m68k.org>
39477 * sysdeps/posix/spawni.c: Include <signal.h>.
39478 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
39479 * sysdeps/pthread/aio_fsync.c: Likewise.
39481 2012-02-26 Ulrich Drepper <drepper@gmail.com>
39483 * conform/Makefile (tests): Run only when not cross-compiling and
39484 when fast-check is not defined.
39486 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
39487 * conform/data/limits.h-data: Fixes for POSIX2008.
39488 * conform/run-conformtest.sh: Run all tests.
39489 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
39491 * include/bits/dlfcn.h: Likewise.
39492 * include/langinfo.h: Likewise.
39493 * include/monetary.h: Likewise.
39494 * include/sys/poll.h: Likewise.
39496 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
39498 * posix/spawn.h: Define __need_sigset_t.
39499 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
39500 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
39501 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
39502 to get sigevent_t only.
39503 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
39504 only for __USE_GNU.
39505 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
39506 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
39507 process_vm_writev only for __USE_GNU.
39508 * termios/termios.h: Declare tcgetsid also for POSIX2008.
39510 * conform/Makefile: For now ignore errors from run-conformtest.
39511 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
39512 POSIX to avoid namespace pollution. Don't prepend headers.
39513 * conform/data/aio.h-data: Fixes for POSIX testing.
39514 * conform/data/fcntl.h-data: Likewise.
39515 * conform/data/glob.h-data: Likewise.
39516 * conform/data/grp.h-data: Likewise.
39517 * conform/data/pthread.h-data: Likewise.
39518 * conform/data/pwd.h-data: Likewise.
39519 * conform/data/signal.h-data: Likewise.
39520 * conform/data/spawn.h-data: Likewise.
39521 * conform/data/stdio.h-data: Likewise.
39522 * conform/data/stdlib.h-data: Likewise.
39523 * conform/data/stropts.h-data: Likewise.
39524 * conform/data/sys/mman.h-data: Likewise.
39525 * conform/data/sys/stat.h-data: Likewise.
39526 * conform/data/sys/types.h-data: Likewise.
39527 * conform/data/sys/wait.h-data: Likewise.
39528 * conform/data/time.h-data: Likewise.
39529 * conform/data/unistd.h-data: Likewise.
39530 * conform/data/utime.h-data: Likewise.
39532 * io/sys/stat.h: fchmod was always in POSIX.
39533 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
39534 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
39535 * rt/aio.h: Define __need_timespec before including <time.h>.
39536 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
39537 struct. Add forward declaration of pthread_attr_t and use it in
39539 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
39540 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
39541 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
39542 always remove CLK_TCK definition.
39544 2012-02-26 Andreas Schwab <schwab@linux-m68k.org>
39546 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
39548 2012-02-25 Ulrich Drepper <drepper@gmail.com>
39550 * conform/run-conformtest.sh: New file.
39551 * conform/Makefile: Run run-conformtest for tests.
39552 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
39555 * conform/data/uchar.h-data: New file.
39556 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
39557 * conform/data/arpa/inet.h-data: Likewise.
39558 * conform/data/assert.h-data: Likewise.
39559 * conform/data/complex.h-data: Likewise.
39560 * conform/data/cpio.h-data: Likewise.
39561 * conform/data/ctype.h-data: Likewise.
39562 * conform/data/dirent.h-data: Likewise.
39563 * conform/data/dlfcn.h-data: Likewise.
39564 * conform/data/errno.h-data: Likewise.
39565 * conform/data/fcntl.h-data: Likewise.
39566 * conform/data/float.h-data: Likewise.
39567 * conform/data/fmtmsg.h-data: Likewise.
39568 * conform/data/fnmatch.h-data: Likewise.
39569 * conform/data/ftw.h-data: Likewise.
39570 * conform/data/glob.h-data: Likewise.
39571 * conform/data/grp.h-data: Likewise.
39572 * conform/data/iconv.h-data: Likewise.
39573 * conform/data/inttypes.h-data: Likewise.
39574 * conform/data/langinfo.h-data: Likewise.
39575 * conform/data/libgen.h-data: Likewise.
39576 * conform/data/limits.h-data: Likewise.
39577 * conform/data/locale.h-data: Likewise.
39578 * conform/data/math.h-data: Likewise.
39579 * conform/data/monetary.h-data: Likewise.
39580 * conform/data/mqueue.h-data: Likewise.
39581 * conform/data/ndbm.h-data: Likewise.
39582 * conform/data/net/if.h-data: Likewise.
39583 * conform/data/netdb.h-data: Likewise.
39584 * conform/data/netinet/in.h-data: Likewise.
39585 * conform/data/nl_types.h-data: Likewise.
39586 * conform/data/poll.h-data: Likewise.
39587 * conform/data/pthread.h-data: Likewise.
39588 * conform/data/pwd.h-data: Likewise.
39589 * conform/data/regex.h-data: Likewise.
39590 * conform/data/sched.h-data: Likewise.
39591 * conform/data/search.h-data: Likewise.
39592 * conform/data/semaphore.h-data: Likewise.
39593 * conform/data/setjmp.h-data: Likewise.
39594 * conform/data/signal.h-data: Likewise.
39595 * conform/data/spawn.h-data: Likewise.
39596 * conform/data/stdarg.h-data: Likewise.
39597 * conform/data/stdio.h-data: Likewise.
39598 * conform/data/stdlib.h-data: Likewise.
39599 * conform/data/string.h-data: Likewise.
39600 * conform/data/strings.h-data: Likewise.
39601 * conform/data/stropts.h-data: Likewise.
39602 * conform/data/sys/ipc.h-data: Likewise.
39603 * conform/data/sys/mman.h-data: Likewise.
39604 * conform/data/sys/msg.h-data: Likewise.
39605 * conform/data/sys/resource.h-data: Likewise.
39606 * conform/data/sys/select.h-data: Likewise.
39607 * conform/data/sys/sem.h-data: Likewise.
39608 * conform/data/sys/shm.h-data: Likewise.
39609 * conform/data/sys/socket.h-data: Likewise.
39610 * conform/data/sys/stat.h-data: Likewise.
39611 * conform/data/sys/statvfs.h-data: Likewise.
39612 * conform/data/sys/time.h-data: Likewise.
39613 * conform/data/sys/timeb.h-data: Likewise.
39614 * conform/data/sys/times.h-data: Likewise.
39615 * conform/data/sys/types.h-data: Likewise.
39616 * conform/data/sys/uio.h-data: Likewise.
39617 * conform/data/sys/un.h-data: Likewise.
39618 * conform/data/sys/utsname.h-data: Likewise.
39619 * conform/data/sys/wait.h-data: Likewise.
39620 * conform/data/syslog.h-data: Likewise.
39621 * conform/data/tar.h-data: Likewise.
39622 * conform/data/termios.h-data: Likewise.
39623 * conform/data/utime.h-data: Likewise.
39624 * conform/data/utmpx.h-data: Likewise.
39625 * conform/data/varargs.h-data: Likewise.
39626 * conform/data/wchar.h-data: Likewise.
39627 * conform/data/wctype.h-data: Likewise.
39628 * conform/data/wordexp.h-data: Likewise.
39630 * include/stropts.h: New file.
39631 * include/uchar.h: New file.
39632 * include/aio.h: Changes to allow conformtest.pl to use the headers.
39633 * include/assert.h: Likewise.
39634 * include/ctype.h: Likewise.
39635 * include/dirent.h: Likewise.
39636 * include/dlfcn.h: Likewise.
39637 * include/fcntl.h: Likewise.
39638 * include/fnmatch.h: Likewise.
39639 * include/glob.h: Likewise.
39640 * include/grp.h: Likewise.
39641 * include/libio.h: Likewise.
39642 * include/locale.h: Likewise.
39643 * include/math.h: Likewise.
39644 * include/net/if.h: Likewise.
39645 * include/netdb.h: Likewise.
39646 * include/netinet/in.h: Likewise.
39647 * include/pthread.h: Likewise.
39648 * include/pwd.h: Likewise.
39649 * include/regex.h: Likewise.
39650 * include/sched.h: Likewise.
39651 * include/search.h: Likewise.
39652 * include/setjmp.h: Likewise.
39653 * include/signal.h: Likewise.
39654 * include/stdio.h: Likewise.
39655 * include/stdlib.h: Likewise.
39656 * include/string.h: Likewise.
39657 * include/sys/cdefs.h: Likewise.
39658 * include/sys/mman.h: Likewise.
39659 * include/sys/msg.h: Likewise.
39660 * include/sys/resource.h: Likewise.
39661 * include/sys/select.h: Likewise.
39662 * include/sys/socket.h: Likewise.
39663 * include/sys/stat.h: Likewise.
39664 * include/sys/statvfs.h: Likewise.
39665 * include/sys/time.h: Likewise.
39666 * include/sys/times.h: Likewise.
39667 * include/sys/uio.h: Likewise.
39668 * include/sys/utsname.h: Likewise.
39669 * include/sys/wait.h: Likewise.
39670 * include/termios.h: Likewise.
39671 * include/time.h: Likewise.
39672 * include/ulimit.h: Likewise.
39673 * include/unistd.h: Likewise.
39674 * include/utime.h: Likewise.
39675 * include/wchar.h: Likewise.
39676 * include/wctype.h: Likewise.
39677 * include/wordexp.h: Likewise.
39679 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
39681 * time/time.h: TIME_UTC must be a macro.
39682 Make timespec_get available for ISO C11 only as well.
39684 2012-02-24 Ulrich Drepper <drepper@gmail.com>
39686 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
39687 Reported by Peng Haitao <penght@cn.fujitsu.com>.
39689 2012-02-24 Joseph Myers <joseph@codesourcery.com>
39691 * configure.in: Use -o not -a in test for unsupported multi-arch.
39693 2012-02-24 Joseph Myers <joseph@codesourcery.com>
39695 * manual/texinfo.tex: Update to version 2012-01-19.16.
39697 2012-02-24 Joseph Myers <joseph@codesourcery.com>
39699 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
39701 2012-02-24 Roland McGrath <roland@hack.frob.com>
39704 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
39705 * manual/fdl-1.3.texi: New file.
39706 * manual/fdl-1.1.texi: File removed.
39709 * manual/libc.texinfo (FDL_VERSION): New @set.
39710 Use it for mention of FDL in cover text.
39711 (Documentation License): Use it in @include file name.
39713 2012-02-22 Joseph Myers <joseph@codesourcery.com>
39714 Roland McGrath <roland@hack.frob.com>
39717 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN)
39718 (not LONG_LONG_MAX and LONG_LONG_MIN.
39719 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
39720 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
39722 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
39724 2012-02-22 Joseph Myers <joseph@codesourcery.com>
39728 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
39729 manipulate bits before adding and subtracting TWO23[sx].
39730 * math/libm-test.inc (nearbyint_test): Add more tests.
39732 2012-02-22 Joseph Myers <joseph@codesourcery.com>
39735 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
39736 bits before adding and subtracting TWO23[sx].
39737 * math/libm-test.inc (rint_test): Add more tests.
39738 (rint_test_tonearest): Likewise.
39739 (rint_test_towardzero): Likewise.
39740 (rint_test_downward): Likewise.
39741 (rint_test_upward: Likewise.
39743 2012-02-22 Joseph Myers <joseph@codesourcery.com>
39746 * include/stdc-predef.h: New file. Extracted from features.h.
39747 * include/features.h: Include stdc-predef.h.
39748 * Makefile (headers): Add stdc-predef.h.
39749 * CONFORMANCE (Compiler limitations): Update.
39751 2012-02-22 Joseph Myers <joseph@codesourcery.com>
39753 * manual/libc.texinfo (VERSION, UPDATED): Revert.
39755 2012-02-21 David S. Miller <davem@davemloft.net>
39757 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
39758 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
39760 2012-02-20 David S. Miller <davem@davemloft.net>
39762 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
39763 using a normal save/restore sequence, rather than allocating a
39764 dummy stack frame just to store a frame pointer and restore.
39765 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
39767 2012-02-21 Joseph Myers <joseph@codesourcery.com>
39769 * manual/install.texi: Fix stray word in line-wrapped comment.
39771 2012-02-20 David S. Miller <davem@davemloft.net>
39773 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
39774 both binutils and gcc support GOTDATA.
39776 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
39777 "rd %pc" in the PIC register setup sequences.
39779 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
39780 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
39781 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
39782 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
39783 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
39784 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
39785 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
39786 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
39787 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
39788 (SYSCALL_ERROR_HANDLER): Likewise.
39789 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
39790 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
39791 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
39792 (SYSCALL_ERROR_HANDLER): Likewise.
39794 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
39795 (HAVE_GCC_GOTDATA): New.
39796 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
39797 relocation support in both binutils and gcc.
39798 * sysdeps/sparc/elf/configure: Regenerate.
39800 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
39801 * sysdeps/sparc/sparc32/elf/configure: Delete.
39802 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
39803 * sysdeps/sparc/sparc64/elf/configure: Delete.
39804 * sysdeps/sparc/elf/configure.in: New file.
39805 * sysdeps/sparc/elf/configure: Generate.
39807 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
39808 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
39809 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
39810 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
39811 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
39813 2012-02-21 Joseph Myers <joseph@codesourcery.com>
39815 * manual/install.texi: Do not mention specific glibc version
39817 * manual/libc.texinfo (VERSION, UPDATED): Update.
39818 (@copying): Use @copyright{} and range of years.
39820 2012-02-21 Joseph Myers <joseph@codesourcery.com>
39823 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
39824 [crti.S not in sysdirs] (generated): Do not append.
39825 [crti.S not in sysdirs] (omit-deps): Likewise.
39826 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
39827 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
39828 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
39829 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
39830 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
39832 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
39833 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
39834 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
39835 * csu/defs.awk: Remove file.
39836 * sysdeps/generic/initfini.c: Likewise.
39837 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
39839 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
39842 2012-02-20 Joseph Myers <joseph@codesourcery.com>
39844 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
39845 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
39846 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
39847 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
39848 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
39849 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
39851 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
39852 (__EPOLL_PACKED): Define to empty if not defined by
39854 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
39855 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
39858 2012-02-20 Joseph Myers <joseph@codesourcery.com>
39860 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
39861 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
39862 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
39863 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
39865 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
39866 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
39869 2012-02-20 Joseph Myers <joseph@codesourcery.com>
39871 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
39873 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
39874 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
39875 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
39876 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39878 2012-02-20 Aurelien Jarno <aurelien@aurel32.net>
39880 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
39881 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
39883 2012-02-19 Andreas Schwab <schwab@linux-m68k.org>
39885 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
39886 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
39888 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
39890 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
39893 2012-02-19 Aurelien Jarno <aurelien@aurel32.net>
39895 * math/w_acos.c: Use non-signaling floating-point comparisons.
39896 * math/w_acosf.c: Likewise.
39897 * math/w_acosh.c: Likewise.
39898 * math/w_acoshf.c: Likewise.
39899 * math/w_acoshl.c: Likewise.
39900 * math/w_acosl.c: Likewise.
39901 * math/w_asin.c: Likewise.
39902 * math/w_asinf.c: Likewise.
39903 * math/w_asinl.c: Likewise.
39904 * math/w_atanh.c: Likewise.
39905 * math/w_atanhf.c: Likewise.
39906 * math/w_atanhl.c: Likewise.
39907 * math/w_exp2.c: Likewise.
39908 * math/w_exp2f.c: Likewise.
39909 * math/w_exp2l.c: Likewise.
39910 * math/w_j0.c: Likewise.
39911 * math/w_j0f.c: Likewise.
39912 * math/w_j0l.c: Likewise.
39913 * math/w_j1.c: Likewise.
39914 * math/w_j1f.c: Likewise.
39915 * math/w_j1l.c: Likewise.
39916 * math/w_jn.c: Likewise.
39917 * math/w_jnf.c: Likewise.
39918 * math/w_log.c: Likewise.
39919 * math/w_log10.c: Likewise.
39920 * math/w_log10f.c: Likewise.
39921 * math/w_log10l.c: Likewise.
39922 * math/w_log2.c: Likewise.
39923 * math/w_log2f.c: Likewise.
39924 * math/w_log2l.c: Likewise.
39925 * math/w_logf.c: Likewise.
39926 * math/w_logl.c: Likewise.
39927 * math/w_sqrt.c: Likewise.
39928 * math/w_sqrtf.c: Likewise.
39929 * math/w_sqrtl.c: Likewise.
39930 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
39931 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
39932 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
39933 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
39934 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
39936 2012-02-19 Joseph Myers <joseph@codesourcery.com>
39939 * manual/string.texi (strnlen): Use correct parameter name in
39940 equivalent expression.
39942 2012-02-19 Joseph Myers <joseph@codesourcery.com>
39945 * manual/users.texi (seteuid): Consistently use neweuid for
39948 2012-02-19 Joseph Myers <joseph@codesourcery.com>
39951 * manual/nss.texi (Services in the NSS configuration): Correct
39952 list of services in example configuration file.
39954 2012-02-19 Nick Bowler <nbowler@draconx.ca>
39957 * manual/arith.texi: Remove statements about negative zero
39958 behaving identically to zero.
39960 2012-02-18 Joseph Myers <joseph@codesourcery.com>
39963 * manual/install.texi: Do not document upgrading from libc5.
39965 2012-02-18 Joseph Myers <joseph@codesourcery.com>
39968 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
39970 2012-02-18 David S. Miller <davem@davemloft.net>
39972 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
39973 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
39974 %o7 across the call.
39975 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
39977 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
39978 SETUP_PIC_REG_LEAF.
39979 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
39980 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
39981 * sysdeps/sparc/crtn.S: Likewise.
39983 2012-02-17 Ulrich Drepper <drepper@gmail.com>
39985 * aout/Makefile: Remove.
39987 2012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
39990 * manual/examples/argp-ex1.c (main): Format definition in GNU
39992 * manual/examples/argp-ex2.c (main): Likewise.
39993 * manual/examples/argp-ex3.c (main): Likewise.
39994 * manual/examples/argp-ex4.c (main): Likewise.
39995 * manual/examples/longopt.c (main): Use new-style prototype
39997 * manual/examples/strncat.c (main): Specify return type and use
39998 (void) for arguments.
39999 * manual/examples/subopt.c (main): Use char **argv argument.
40001 2012-02-17 Joseph Myers <joseph@codesourcery.com>
40004 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
40007 2012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
40010 * manual/string.texi (strchr): Change when strchrnul is
40013 2012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
40016 * manual/locale.texi (setlocale): Document LOCPATH.
40018 2012-02-17 Joseph Myers <joseph@codesourcery.com>
40021 * manual/process.texi (execle): Move @dots{} before last argument.
40023 2012-02-17 Paul Bolle <pebolle@tiscali.nl>
40026 * manual/charset.texi (Generic Charset Conversion): Fix typo
40027 (LC_TYPE -> LC_CTYPE).
40029 2012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
40032 * manual/arith.texi (scalbn): Use @var{} on parameter names.
40033 (scalbnf): Likewise.
40034 (scalbnl): Likewise.
40035 (scalbln): Likewise.
40036 (scalblnf): Likewise.
40037 (scalblnl): Likewise.
40038 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
40039 (vwarnx): Likewise.
40042 * manual/filesys.texi (telldir): Use braces around return type.
40043 * manual/llio.texi (mmap): Add space after comma.
40044 (mmap64): Likewise.
40045 * manual/math.texi (jn): Use @var{} on parameter names.
40051 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
40053 * manual/resource.texi (ulimit): Use @dots{} instead of literal
40055 (sched_get_priority_min): Remove semicolon on @deftypefun line.
40056 (sched_get_priority_max): Likewise.
40057 * manual/signal.texi (sigvec): Add space after comma.
40058 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
40060 (if_indextoname): Likewise.
40061 (if_freenameindex): Likewise.
40062 (sendto): Use ',' instead of '.' in prototype.
40063 * manual/startup.texi (syscall): Use @dots{} instead of literal
40065 * manual/stdio.texi (__fpending): Separate initial words of
40066 paragraph from @deftypefun line.
40067 * manual/syslog.texi (syslog): Use @dots{} instead of literal
40069 (vsyslog): Use @var{} on parameter names.
40070 * manual/terminal.texi (stty): Use @var{} on parameter names.
40071 * manual/users.texi (getutmp): Use @var{} on parameter names.
40072 (getutmpx): Likewise.
40074 2012-02-17 Joseph Myers <joseph@codesourcery.com>
40077 * manual/stdio.texi (fopen): Fix typos in description of
40080 2012-02-17 Aurelien Jarno <aurelien@aurel32.net>
40083 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
40084 get clock_id definition.
40086 2012-02-17 Thomas Schwinge <thomas@schwinge.name>
40089 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
40090 (madvise): Cast every argument to void on its own.
40092 2012-02-17 Joseph Myers <joseph@codesourcery.com>
40095 * manual/startup.texi (Exit Status): Fix typo.
40097 2012-02-17 Joseph Myers <joseph@codesourcery.com>
40100 * manual/examples/argp-ex1.c: Include <stdlib.h>.
40101 * manual/examples/argp-ex2.c: Likewise.
40102 * manual/examples/argp-ex3.c: Likewise.
40104 2012-02-16 Richard Henderson <rth@redhat.com>
40106 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
40107 * sysdeps/s390/s390-32/initfini.c: Remove.
40108 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
40109 * sysdeps/s390/s390-64/initfini.c: Remove.
40111 2012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
40113 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
40114 compiler output for sysdeps/generic/initfini.c.
40115 * sysdeps/sh/elf/initfini.c: Remove file.
40117 2012-02-16 David S. Miller <davem@davemloft.net>
40120 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
40122 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
40123 * sysdeps/sparc/crti.S: New file.
40124 * sysdeps/sparc/crtn.S: New file.
40125 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
40126 * sysdeps/sparc/sparc64/Makefile: Likewise.
40128 2012-02-15 Mike Frysinger <vapier@gentoo.org>
40131 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
40133 2012-02-15 Roland McGrath <roland@hack.frob.com>
40136 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
40138 * mach/devstream.c (cookie_io_functions_t): Macro removed.
40139 (write, read, close): Likewise.
40140 Patch by Aurelien Jarno <aurelien@aurel32.net>.
40142 2012-02-15 Joseph Myers <joseph@codesourcery.com>
40144 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
40145 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
40146 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
40147 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
40149 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
40150 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
40153 2012-02-14 Marek Polacek <polacek@redhat.com>
40155 * sysdeps/x86_64/crti.S: New file.
40156 * sysdeps/x86_64/crtn.S: New file.
40157 * sysdeps/x86_64/elf/initfini.c: Remove file.
40159 2012-02-13 Joseph Myers <joseph@codesourcery.com>
40161 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
40162 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
40163 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
40164 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
40166 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
40167 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
40170 2012-02-13 Joseph Myers <joseph@codesourcery.com>
40172 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
40173 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
40174 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
40175 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
40177 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
40178 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
40181 2012-02-10 Thomas Schwinge <thomas@codesourcery.com>
40183 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
40184 __feraiseexcept instead of feraiseexcept.
40186 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
40187 nanosleep invocations.
40188 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
40189 strings, and add error checking for a nanosleep invocations.
40191 2012-02-09 Paul Eggert <eggert@cs.ucla.edu>
40193 Replace FSF snail mail address with URLs, as per GNU coding standards.
40194 Most of the snail mail addresses were wrong anyway, and omitting
40195 them makes the source code easier to maintain. Almost all of the
40196 changes are to license notices and to locale LC_IDENTIFICATION
40197 addresses, except for this one:
40198 * manual/libc.texinfo: In "Published by", give the FSF's URL,
40199 not its snail mail address.
40201 2012-02-09 Richard Henderson <rth@twiddle.net>
40203 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
40204 of kernel-features.h.
40206 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
40208 2012-02-08 Marek Polacek <polacek@redhat.com>
40210 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
40211 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
40212 * sysdeps/gnu/_G_config.h: Likewise.
40213 * sysdeps/generic/_G_config.h: Likewise.
40215 2012-02-08 Andreas Schwab <schwab@linux-m68k.org>
40217 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
40219 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40221 * sysdeps/powerpc/powerpc32/crti.S: New file.
40222 * sysdeps/powerpc/powerpc32/crtn.S: New file.
40223 * sysdeps/powerpc/powerpc64/crti.S: New file.
40224 * sysdeps/powerpc/powerpc64/crtn.S: New file.
40226 * Makeconfig (have-initfini): Don't set.
40227 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
40228 * configure.in (nopic_initfini): Don't substitute.
40229 * config.h.in (HAVE_INITFINI): Don't #undef.
40230 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
40231 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
40233 2012-02-08 Joseph Myers <joseph@codesourcery.com>
40235 Support crti.S and crtn.S provided directly by architectures.
40236 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
40237 [crti.S in sysdirs] (omit-deps): Likewise.
40238 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
40239 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
40240 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
40241 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
40242 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
40243 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
40244 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
40245 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
40246 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
40247 compiler output for sysdeps/generic/initfini.c.
40248 * sysdeps/i386/elf/Makefile: Remove file.
40249 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
40251 2012-02-07 Marek Polacek <polacek@redhat.com>
40253 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
40254 * sysdeps/gnu/_G_config.h: Likewise.
40255 * sysdeps/mach/hurd/_G_config.h: Likewise.
40257 2012-02-07 Marek Polacek <polacek@redhat.com>
40259 * math/Makefile (tests): Add tst-CMPLX2.
40260 * math/tst-CMPLX2.c: New file.
40262 2012-02-07 Andreas Schwab <schwab@linux-m68k.org>
40264 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
40266 * math/libm-test.inc (jn_test): Add missing L suffix.
40268 2012-02-06 Marek Polacek <polacek@redhat.com>
40270 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
40271 * sysdeps/i386/fpu/e_powf.S: Likewise.
40272 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
40273 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
40274 * sysdeps/i386/fpu/e_acosh.S: Likewise.
40275 * sysdeps/i386/fpu/e_pow.S: Likewise.
40276 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
40277 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
40278 * sysdeps/i386/fpu/s_expm1.S: Likewise.
40279 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
40280 * sysdeps/i386/fpu/e_log2.S: Likewise.
40281 * sysdeps/i386/fpu/e_log2l.S: Likewise.
40282 * sysdeps/i386/fpu/e_scalb.S: Likewise.
40283 * sysdeps/i386/fpu/e_powl.S: Likewise.
40284 * sysdeps/i386/fpu/s_log1p.S: Likewise.
40285 * sysdeps/i386/fpu/e_log10f.S: Likewise.
40286 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
40287 * sysdeps/i386/fpu/e_logl.S: Likewise.
40288 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
40289 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
40290 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
40291 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
40292 * sysdeps/i386/fpu/e_log2f.S: Likewise.
40293 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
40294 * sysdeps/i386/fpu/e_log.S: Likewise.
40295 * sysdeps/i386/fpu/s_cexp.S: Likewise.
40296 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
40297 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
40298 * sysdeps/i386/fpu/e_logf.S: Likewise.
40299 * sysdeps/i386/fpu/e_log10l.S: Likewise.
40300 * sysdeps/i386/fpu/e_atanh.S: Likewise.
40301 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
40302 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
40303 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
40304 * sysdeps/i386/fpu/e_log10.S: Likewise.
40305 * sysdeps/i386/fpu/s_frexp.S: Likewise.
40306 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
40307 * sysdeps/i386/fpu/s_asinh.S: Likewise.
40308 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
40309 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
40310 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
40311 * sysdeps/i386/asm-syntax.h: Likewise.
40312 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
40313 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
40314 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
40315 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
40316 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
40317 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
40318 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
40319 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
40320 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
40321 * sysdeps/powerpc/sysdep.h: Likewise.
40322 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
40323 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
40325 2012-02-06 Joseph Myers <joseph@codesourcery.com>
40328 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
40330 2012-02-06 Joseph Myers <joseph@codesourcery.com>
40332 * sysdeps/i386/sysdep.h: Include <features.h>.
40333 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
40336 2012-02-05 Joseph Myers <joseph@codesourcery.com>
40338 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
40340 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
40343 2012-02-03 Joseph Myers <joseph@codesourcery.com>
40345 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
40346 (SETUP_PIC_REG): Use GET_PC_THUNK.
40347 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
40350 2012-02-03 Joseph Myers <joseph@codesourcery.com>
40352 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
40353 for non-PIC compilation.
40354 (SETUP_PIC_REG): Add .p2align directive.
40355 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
40356 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
40357 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
40358 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
40359 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
40360 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
40361 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
40362 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
40363 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
40364 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
40365 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
40366 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
40367 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
40368 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
40369 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
40370 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
40371 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
40372 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
40373 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
40374 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
40375 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
40376 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
40377 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
40378 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
40379 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
40380 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
40381 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
40382 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
40383 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
40384 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
40385 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
40386 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
40387 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
40388 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
40389 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
40390 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
40391 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
40392 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
40393 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
40394 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
40395 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
40397 2012-02-03 Joseph Myers <joseph@codesourcery.com>
40399 * math/tst-CMPLX.c: Include <stdio.h>.
40401 2012-01-31 Joseph Myers <joseph@codesourcery.com>
40403 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
40405 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
40406 * sysdeps/sparc/bits/mathdef.h: Likewise.
40408 2012-01-31 Marek Polacek <polacek@redhat.com>
40410 * libio/libio.h: Don't define _PARAMS.
40411 * locale/programs/config.h: Don't define PARAMS.
40412 * stdlib/strtol_l.c: Likewise.
40413 (__strtol_l): Remove PARAMS from the prototype.
40415 2012-01-31 Ulrich Drepper <drepper@gmail.com>
40417 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
40418 names. Just use the correct names. Remove unnecessary wrapper
40420 * malloc/arena.c: Likewise.
40421 * malloc/hooks.c: Likewise.
40423 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
40424 ARENA_TEST says not to. Simplify test for creation of a new arena.
40425 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
40427 2012-01-30 Ulrich Drepper <drepper@gmail.com>
40429 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
40431 (update_get_addr): New function.
40432 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
40433 GET_ADDR_MODULE parameter.
40435 2012-01-30 Joseph Myers <joseph@codesourcery.com>
40437 * crypt/cert.c: Remove __STDC__ conditionals.
40438 * crypt/crypt-entry.c: Likewise.
40439 * crypt/crypt_util.c: Likewise.
40440 * libio/filedoalloc.c: Likewise.
40441 * libio/fileops.c: Likewise.
40442 * libio/genops.c: Likewise.
40443 * libio/iofclose.c: Likewise.
40444 * libio/iofdopen.c: Likewise.
40445 * libio/iofopen.c: Likewise.
40446 * libio/iofopen64.c: Likewise.
40447 * libio/iogetdelim.c: Likewise.
40448 * libio/iopopen.c: Likewise.
40449 * libio/obprintf.c: Likewise.
40450 * libio/oldfileops.c: Likewise.
40451 * libio/oldiofclose.c: Likewise.
40452 * libio/oldiofdopen.c: Likewise.
40453 * libio/oldiofopen.c: Likewise.
40454 * libio/oldiopopen.c: Likewise.
40455 * libio/wfiledoalloc.c: Likewise.
40456 * libio/wgenops.c: Likewise.
40457 * locale/programs/xmalloc.c: Likewise.
40458 * misc/syslog.c: Likewise.
40459 * stdio-common/xbug.c: Likewise.
40460 * string/memchr.c: Likewise.
40461 * string/memcmp.c: Likewise.
40462 * string/memrchr.c: Likewise.
40463 * string/rawmemchr.c: Likewise.
40464 * sysdeps/posix/getcwd.c: Likewise.
40465 * time/strftime_l.c: Likewise.
40467 2012-01-30 Joseph Myers <joseph@codesourcery.com>
40469 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
40470 * config.make.in (config-cflags-sse2avx): Define.
40471 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
40474 2012-01-29 Chris Metcalf <cmetcalf@tilera.com>
40476 * scripts/config.guess: Update from upstream config git repository.
40477 * scripts/config.sub: Likewise.
40479 2012-01-28 Chris Metcalf <cmetcalf@tilera.com>
40481 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
40483 (R_TILEPRO_*, R_TILEGX_*): New macros.
40485 * scripts/firstversions.awk: Fix bug in version range handling.
40487 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
40489 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
40491 * include/sys/epoll.h: New file.
40492 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
40495 2012-01-28 Ulrich Drepper <drepper@gmail.com>
40497 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
40498 Avoid unnecessary __WORDSIZE == 64 test.
40499 (fmaxf): Use VEX format if possible.
40504 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
40505 * math/math_private.h: Remove libc_fegetround* and
40507 * sysdeps/i386/configure.in: Check for -msse2avx.
40508 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
40509 also if SSE2AVX is defined.
40510 Remove libc_fegetround* and libc_fesetround*.
40511 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
40512 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
40513 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
40515 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
40516 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
40517 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
40518 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
40519 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
40521 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
40523 2012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
40525 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
40527 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
40529 2012-01-27 Ulrich Drepper <drepper@gmail.com>
40532 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
40534 * Makeconfig (libm): Define.
40535 * elf/Makefile: Add rules to build and run tst-relsort1.
40536 * elf/tst-relsort1.c: New file.
40537 * elf/tst-relsort1mod1.c: New file.
40538 * elf/tst-relsort1mod2.c: New file.
40540 2012-01-27 Joseph Myers <joseph@codesourcery.com>
40542 * math/s_ldexp.c: Remove __STDC__ conditionals.
40543 * math/s_ldexpf.c: Likewise.
40544 * math/s_ldexpl.c: Likewise.
40545 * math/s_nextafter.c: Likewise.
40546 * math/s_nexttowardf.c: Likewise.
40547 * math/s_significand.c: Likewise.
40548 * math/s_significandf.c: Likewise.
40549 * math/s_significandl.c: Likewise.
40550 * math/w_jnl.c: Likewise.
40551 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
40552 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
40553 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
40554 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
40555 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
40556 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
40557 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
40558 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
40559 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
40560 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
40561 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
40562 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
40563 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
40564 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
40565 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
40566 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
40567 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
40568 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
40569 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
40570 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
40571 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
40572 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
40573 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
40574 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
40575 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
40576 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
40577 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
40578 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
40579 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
40580 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
40581 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
40582 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
40583 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
40584 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
40585 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
40586 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
40587 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
40588 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
40589 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
40590 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
40591 * sysdeps/ieee754/k_standard.c: Likewise.
40592 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
40593 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
40594 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
40595 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
40596 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
40597 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
40598 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
40599 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
40600 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
40601 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
40602 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
40603 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
40604 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
40605 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
40606 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
40607 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
40608 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
40609 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
40610 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
40611 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
40612 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
40613 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
40614 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
40615 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
40616 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
40617 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
40618 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
40619 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
40620 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
40621 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
40622 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
40623 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
40624 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
40625 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
40626 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
40627 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
40628 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
40629 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
40630 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
40631 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
40632 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
40633 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
40634 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
40635 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
40636 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
40637 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
40638 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
40639 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
40640 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
40641 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
40642 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
40643 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
40644 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
40645 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
40646 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
40647 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
40648 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
40649 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
40650 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
40651 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
40652 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
40653 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
40654 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
40655 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
40656 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
40657 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
40658 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
40659 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
40660 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
40661 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
40662 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
40663 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
40664 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
40665 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
40666 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
40667 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
40668 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
40669 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
40670 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
40671 * sysdeps/ieee754/s_matherr.c: Likewise.
40672 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
40673 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
40674 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
40675 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
40677 2012-01-26 Joseph Myers <joseph@codesourcery.com>
40679 * crypt/md5.h: Remove __STDC__ conditionals.
40680 * libio/libioP.h: Likewise.
40681 * locale/programs/config.h: Likewise.
40682 * sysdeps/generic/sysdep.h: Likewise.
40683 * sysdeps/i386/asm-syntax.h: Likewise.
40684 * sysdeps/s390/asm-syntax.h: Likewise.
40685 * sysdeps/unix/sysdep.h: Likewise.
40686 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
40687 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
40689 2012-01-26 Joseph Myers <joseph@codesourcery.com>
40691 * libio/libio.h: Remove __STDC__ conditionals.
40692 * malloc/obstack.h: Likewise.
40693 * math/complex.h: Likewise.
40694 * math/math.h: Likewise.
40695 * sysdeps/generic/_G_config.h: Likewise.
40696 * sysdeps/gnu/_G_config.h: Likewise.
40697 * sysdeps/mach/hurd/_G_config.h: Likewise.
40698 * sysdeps/powerpc/bits/mathdef.h: Likewise.
40699 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
40700 * sysdeps/sparc/bits/mathdef.h: Likewise.
40702 2012-01-26 Ulrich Drepper <drepper@gmail.com>
40705 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
40706 Clean up HAS_* macros.
40707 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
40708 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
40710 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
40712 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
40713 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
40714 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
40715 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
40716 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
40718 2012-01-25 Joseph Myers <joseph@codesourcery.com>
40720 * elf/tst-unique3.cc (gets): Remove declaration.
40721 * elf/tst-unique3lib.cc (gets): Likewise.
40722 * elf/tst-unique3lib2.cc (gets): Likewise.
40723 * elf/tst-unique4.cc (gets): Likewise.
40725 2012-01-24 Ulrich Drepper <drepper@gmail.com>
40727 * include/stdio.h: Add C++ protection. Add gets declarations and
40729 * debug/tst-chk1.c: Don't declare gets here.
40730 * stdio-common/tst-gets.c: Likewise.
40732 2012-01-24 Joseph Myers <joseph@codesourcery.com>
40734 * posix/glob: Remove directory.
40736 2012-01-24 Joseph Myers <joseph@codesourcery.com>
40738 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
40740 2012-01-22 Pino Toscano <toscano.pino@tiscali.it>
40742 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
40743 of the non-standard EPFNOSUPPORT.
40745 2011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
40747 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
40748 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
40749 ANYWHERE set to 1 only on KERN_NO_SPACE error.
40751 2012-01-21 Ulrich Drepper <drepper@gmail.com>
40753 * wcsmbs/uchar.h: Test __STDC_VERSION__.
40755 2012-01-20 Ulrich Drepper <drepper@gmail.com>
40757 * nscd/aicache.c (addhstaiX): Do not cache negative results of
40759 * nscd/grpcache.c (cache_addgr): Likewise.
40760 * nscd/hstcache.c (cache_addhst): Likewise.
40761 * nscd/initgrcache.c (addinitgroupsX): Likewise.
40762 * nscd/pwdcache.c (cache_addpw): Likewise.
40763 * nscd/servicescache.c (cache_addserv): Likewise.
40765 2012-01-16 Ulrich Drepper <drepper@gmail.com>
40767 * malloc/malloc.c: Various cleanups.
40768 * malloc/hooks.c: Likewise.
40770 * stdlib/Makefile (tests): Add bug-fmtmsg1.
40771 * stdlib/bug-fmtmsg1.c: New file.
40773 * stdlib/fmtmsg.c (init): Add missing unlock.
40774 Patch by Peng Haitao <penght@cn.fujitsu.com>.
40776 2012-01-12 Marek Polacek <polacek@redhat.com>
40778 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
40781 2012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
40783 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
40784 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
40785 macro to ensure uniqueness of label name.
40786 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
40787 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
40789 2012-01-11 Ulrich Drepper <drepper@gmail.com>
40791 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
40793 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
40794 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
40795 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
40796 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
40798 2012-01-10 Ulrich Drepper <drepper@gmail.com>
40800 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
40802 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
40803 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
40804 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
40806 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
40808 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
40809 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
40810 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
40811 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
40813 * math/bits/math-finite.h: Add ldexp support.
40815 2012-01-10 Marek Polacek <polacek@redhat.com>
40817 * locale/programs/localedef.h (show_archive_content): Add noreturn
40820 2012-01-09 Ulrich Drepper <drepper@gmail.com>
40822 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
40824 2012-01-08 Ulrich Drepper <drepper@gmail.com>
40826 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
40828 * io/Makefile (headers): Add bits/poll2.h.
40830 2011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
40832 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
40833 typo #include statement.
40835 2012-01-08 Ulrich Drepper <drepper@gmail.com>
40837 * include/sys/cdefs.h: Define __attribute_alloc_size.
40838 * catgets/gencat.c: Add alloc_size attribute and apply consistently
40839 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
40840 * elf/pldd.c: Likewise.
40841 * iconv/iconv_charmap.c: Likewise.
40842 * iconv/iconvconfig.c: Likewise.
40843 * iconv/strtab.c: Likewise.
40844 * locale/programs/locale.c: Likewise.
40845 * locale/programs/localedef.h: Likewise.
40846 * locale/programs/simple-hash.c: Likewise.
40847 * nscd/nscd.h: Likewise.
40848 * nss/makedb.c: Likewise.
40849 * sysdeps/generic/ldconfig.h: Likewise.
40850 * locale/programs/localedef.c: Remove xmalloc prototype.
40851 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
40853 2012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
40855 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
40858 2012-01-08 Ulrich Drepper <drepper@gmail.com>
40860 * math/Makefile (tests): Add tst-CMPLX.
40861 * math/tst-CMPLX.c: New file.
40863 * math/complex.h (CMPLXL): Fix typo.
40865 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
40866 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
40868 * debug/tst-chk1.c: Add poll and ppoll tests.
40869 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
40870 * include/sys/poll.h: Add hidden proto for ppoll.
40871 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
40872 * sysdeps/mach/hurd/ppoll.c: Likewise.
40873 * io/ppoll.c: Likewise.
40874 * debug/poll_chk.c: New file.
40875 * debug/ppoll_chk.c: New file.
40876 * include/bits/poll2.h: New file.
40877 * io/bits/poll2.h: New file.
40880 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
40882 * configure.in: static is always set to yes. Remove.
40883 * config.make.in: Don't set build-static.
40884 * Makeconfig: Remove use of build-static.
40885 * dlfcn/Makefile: Likewise.
40886 * elf/Makefile: Likewise.
40887 * math/Makefile: Likewise.
40888 * misc/Makefile: Likewise.
40889 * nptl/Makefile: Likewise.
40890 * sysdeps/mach/hurd/Makefile: Likewise.
40892 * configure.in: PWD_P is not used anymore.
40893 * config.make.in: Remove PWD_P entry.
40895 * configure.in: Remove last remnants of RANLIB.
40896 No need to check for signed size_t anymore.
40897 Don't set libc_commonpagesize and libc_relro_required here for Alpha
40899 Remove __builtin_expect test because we require at least gcc 3.4.
40900 * aclocal.m4: Likewise.
40902 * wcsmbs/mbrtoc16.c: Implement using towc function.
40903 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
40904 * wcsmbs/wcsmbsload.c: Likewise.
40905 * iconv/gconv_simple.c: Likewise.
40906 * iconv/gconv_int.h: Likewise.
40907 * iconv/gconv_builtin.h: Likewise.
40908 * iconv/iconv_prog.c: Remove CHAR16 handling.
40910 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
40912 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
40914 * configure.in: Remove --with-elf and --enable-bounded options.
40915 Dont set base_machine for ia64. More non-ELF conditions removed.
40916 Remove testing and setting of leading underscore information.
40917 * config.make.in (build-bounded): Set to no.
40918 * config.h.in: Remove NO_UNDERSCORES entry.
40919 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
40921 * csu/start.c: Remove !NO_UNDERSCORE code.
40922 * locale/localeinfo.h: Likewise.
40923 * sysdeps/generic/machine-gmon.h: Likewise.
40924 * sysdeps/generic/sysdep.h: Likewise.
40925 * sysdeps/i386/sysdep.h: Likewise.
40926 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
40927 * sysdeps/mach/sysdep.h: Likewise.
40928 * sysdeps/s390/s390-32/sysdep.h: Likewise.
40929 * sysdeps/s390/s390-64/sysdep.h: Likewise.
40930 * sysdeps/sh/sysdep.h: Likewise.
40931 * sysdeps/sparc/sparc32/alloca.S: Likewise.
40932 * sysdeps/unix/i386/sysdep.S: Likewise.
40933 * sysdeps/unix/sparc/start.c: Likewise.
40934 * sysdeps/unix/sparc/sysdep.S: Likewise.
40935 * sysdeps/unix/sparc/sysdep.h: Likewise.
40936 * sysdeps/unix/start.c: Likewise.
40937 * sysdeps/unix/x86_64/sysdep.S: Likewise.
40938 * sysdeps/x86_64/sysdep.h: Likewise.
40940 2012-01-07 Ulrich Drepper <drepper@gmail.com>
40943 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
40945 * argp/argp-fmtstream.h: Use const instead __const.
40946 * argp/argp.h: Likewise.
40947 * assert/assert.h: Likewise.
40948 * bits/fenv.h: Likewise.
40949 * bits/sched.h: Likewise.
40950 * bits/sigset.h: Likewise.
40951 * bits/sigthread.h: Likewise.
40952 * catgets/nl_types.h: Likewise.
40953 * conform/data/pthread.h-data: Likewise.
40954 * crypt/crypt-private.h: Likewise.
40955 * crypt/crypt.h: Likewise.
40956 * crypt/crypt_util.c: Likewise.
40957 * ctype/ctype.h: Likewise.
40958 * debug/execinfo.h: Likewise.
40959 * debug/mbsnrtowcs_chk.c: Likewise.
40960 * debug/mbsrtowcs_chk.c: Likewise.
40961 * debug/wcsnrtombs_chk.c: Likewise.
40962 * debug/wcsrtombs_chk.c: Likewise.
40963 * debug/wcstombs_chk.c: Likewise.
40964 * dirent/dirent.h: Likewise.
40965 * dlfcn/dlfcn.h: Likewise.
40966 * elf/neededtest4.c: Likewise.
40967 * grp/grp.h: Likewise.
40968 * gshadow/gshadow.h: Likewise.
40969 * iconv/gconv.h: Likewise.
40970 * iconv/gconv_int.h: Likewise.
40971 * iconv/gconv_simple.c: Likewise.
40972 * iconv/iconv.h: Likewise.
40973 * iconv/loop.c: Likewise.
40974 * iconv/skeleton.c: Likewise.
40975 * include/aio.h: Likewise.
40976 * include/aliases.h: Likewise.
40977 * include/argz.h: Likewise.
40978 * include/arpa/inet.h: Likewise.
40979 * include/assert.h: Likewise.
40980 * include/dirent.h: Likewise.
40981 * include/dlfcn.h: Likewise.
40982 * include/execinfo.h: Likewise.
40983 * include/fcntl.h: Likewise.
40984 * include/fenv.h: Likewise.
40985 * include/glob.h: Likewise.
40986 * include/grp.h: Likewise.
40987 * include/libintl.h: Likewise.
40988 * include/mntent.h: Likewise.
40989 * include/netdb.h: Likewise.
40990 * include/pwd.h: Likewise.
40991 * include/rpc/netdb.h: Likewise.
40992 * include/sched.h: Likewise.
40993 * include/search.h: Likewise.
40994 * include/shadow.h: Likewise.
40995 * include/signal.h: Likewise.
40996 * include/stdio.h: Likewise.
40997 * include/stdlib.h: Likewise.
40998 * include/string.h: Likewise.
40999 * include/sys/socket.h: Likewise.
41000 * include/sys/stat.h: Likewise.
41001 * include/sys/statfs.h: Likewise.
41002 * include/sys/statvfs.h: Likewise.
41003 * include/sys/syslog.h: Likewise.
41004 * include/sys/time.h: Likewise.
41005 * include/sys/uio.h: Likewise.
41006 * include/time.h: Likewise.
41007 * include/unistd.h: Likewise.
41008 * include/utmp.h: Likewise.
41009 * include/wchar.h: Likewise.
41010 * include/wctype.h: Likewise.
41011 * inet/aliases.h: Likewise.
41012 * inet/arpa/inet.h: Likewise.
41013 * inet/netinet/ether.h: Likewise.
41014 * inet/netinet/in.h: Likewise.
41015 * intl/libintl.h: Likewise.
41016 * io/bits/fcntl2.h: Likewise.
41017 * io/fcntl.h: Likewise.
41018 * io/ftw.h: Likewise.
41019 * io/sys/poll.h: Likewise.
41020 * io/sys/stat.h: Likewise.
41021 * io/sys/statfs.h: Likewise.
41022 * io/sys/statvfs.h: Likewise.
41023 * io/utime.h: Likewise.
41024 * libio/bits/stdio.h: Likewise.
41025 * libio/bits/stdio2.h: Likewise.
41026 * libio/libio.h: Likewise.
41027 * libio/libioP.h: Likewise.
41028 * libio/stdio.h: Likewise.
41029 * locale/lc-ctype.c: Likewise.
41030 * locale/locale.h: Likewise.
41031 * login/utmp.h: Likewise.
41032 * malloc/arena.c: Likewise.
41033 * malloc/malloc.c: Likewise.
41034 * malloc/malloc.h: Likewise.
41035 * malloc/mcheck.c: Likewise.
41036 * malloc/mtrace.c: Likewise.
41037 * math/bits/mathcalls.h: Likewise.
41038 * math/fenv.h: Likewise.
41039 * math/math_private.h: Likewise.
41040 * misc/bits/error.h: Likewise.
41041 * misc/bits/syslog.h: Likewise.
41042 * misc/err.h: Likewise.
41043 * misc/error.h: Likewise.
41044 * misc/fstab.h: Likewise.
41045 * misc/mntent.h: Likewise.
41046 * misc/regexp.h: Likewise.
41047 * misc/search.h: Likewise.
41048 * misc/sgtty.h: Likewise.
41049 * misc/sys/mman.h: Likewise.
41050 * misc/sys/syslog.h: Likewise.
41051 * misc/sys/uio.h: Likewise.
41052 * misc/sys/xattr.h: Likewise.
41053 * misc/ttyent.h: Likewise.
41054 * nis/rpcsvc/ypclnt.h: Likewise.
41055 * nss/nss.h: Likewise.
41056 * posix/bits/unistd.h: Likewise.
41057 * posix/fnmatch.h: Likewise.
41058 * posix/glob.h: Likewise.
41059 * posix/sched.h: Likewise.
41060 * posix/spawn.h: Likewise.
41061 * posix/sys/wait.h: Likewise.
41062 * posix/unistd.h: Likewise.
41063 * posix/wordexp.h: Likewise.
41064 * pwd/pwd.h: Likewise.
41065 * resolv/netdb.h: Likewise.
41066 * resource/sys/resource.h: Likewise.
41067 * rt/aio.h: Likewise.
41068 * rt/bits/mqueue2.h: Likewise.
41069 * rt/mqueue.h: Likewise.
41070 * shadow/shadow.h: Likewise.
41071 * signal/signal.h: Likewise.
41072 * socket/send.c: Likewise.
41073 * socket/sendto.c: Likewise.
41074 * socket/sys/socket.h: Likewise.
41075 * stdio-common/printf.h: Likewise.
41076 * stdlib/bits/stdlib.h: Likewise.
41077 * stdlib/fmtmsg.h: Likewise.
41078 * stdlib/monetary.h: Likewise.
41079 * stdlib/stdlib.h: Likewise.
41080 * stdlib/ucontext.h: Likewise.
41081 * streams/stropts.h: Likewise.
41082 * string/argz.h: Likewise.
41083 * string/bits/string2.h: Likewise.
41084 * string/string.h: Likewise.
41085 * string/strings.h: Likewise.
41086 * sunrpc/rpc/auth.h: Likewise.
41087 * sunrpc/rpc/auth_des.h: Likewise.
41088 * sunrpc/rpc/clnt.h: Likewise.
41089 * sunrpc/rpc/netdb.h: Likewise.
41090 * sunrpc/rpc/pmap_clnt.h: Likewise.
41091 * sunrpc/rpc/xdr.h: Likewise.
41092 * sysdeps/generic/inttypes.h: Likewise.
41093 * sysdeps/generic/net/if.h: Likewise.
41094 * sysdeps/generic/sys/swap.h: Likewise.
41095 * sysdeps/gnu/net/if.h: Likewise.
41096 * sysdeps/gnu/utmpx.h: Likewise.
41097 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
41098 * sysdeps/i386/i486/bits/string.h: Likewise.
41099 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
41100 * sysdeps/s390/bits/string.h: Likewise.
41101 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
41102 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
41103 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
41104 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
41105 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
41106 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
41107 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
41108 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
41109 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
41110 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
41111 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
41112 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
41113 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
41114 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
41115 * sysdeps/unix/sysv/linux/readv.c: Likewise.
41116 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
41117 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
41118 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
41119 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
41120 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
41121 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
41122 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
41123 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
41124 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
41125 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
41126 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
41127 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
41128 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
41129 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
41130 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
41131 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
41132 * sysvipc/sys/ipc.h: Likewise.
41133 * sysvipc/sys/msg.h: Likewise.
41134 * sysvipc/sys/sem.h: Likewise.
41135 * sysvipc/sys/shm.h: Likewise.
41136 * termios/termios.h: Likewise.
41137 * time/sys/time.h: Likewise.
41138 * time/time.h: Likewise.
41139 * wcsmbs/bits/wchar2.h: Likewise.
41140 * wcsmbs/uchar.h: Likewise.
41141 * wcsmbs/wchar.h: Likewise.
41142 * wctype/wctype.h: Likewise.
41145 * Makeconfig: Remove all but ELF support including AIX support.
41146 * Makerules: Likewise.
41147 * config.h.in: Likewise.
41148 * config.make.in: Likewise.
41149 * configure: Likewise.
41150 * configure.in: Likewise.
41151 * csu/Makefile: Likewise.
41152 * csu/version.c: Likewise.
41153 * debug/Makefile: Likewise.
41154 * dlfcn/Makefile: Likewise.
41155 * elf/Makefile: Likewise.
41156 * extra-lib.mk: Likewise.
41157 * iconv/Makefile: Likewise.
41158 * include/libc-symbols.h: Likewise.
41159 * include/shlib-compat.h: Likewise.
41160 * resolv/Makefile: Likewise.
41161 * resolv/res_libc.c: Likewise.
41162 * rt/Makefile: Likewise.
41163 * sysdeps/i386/asm-syntax.h: Likewise.
41164 * sysdeps/i386/sysdep.h: Likewise.
41165 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
41166 * sysdeps/mach/sysdep.h: Likewise.
41167 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
41168 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
41169 * sysdeps/s390/asm-syntax.h: Likewise.
41170 * sysdeps/s390/s390-32/sysdep.h: Likewise.
41171 * sysdeps/s390/s390-64/sysdep.h: Likewise.
41172 * sysdeps/sh/sysdep.h: Likewise.
41173 * sysdeps/unix/sparc/sysdep.h: Likewise.
41174 * sysdeps/wordsize-32/divdi3.c: Likewise.
41175 * sysdeps/x86_64/sysdep.h: Likewise.
41177 * argp/Versions: Remove _argp_unlock_xxx.
41180 * abilist/ld.abilist: Update. Adjust for removal of tls option.
41181 * abilist/libBrokenLocale.abilist: Likewise.
41182 * abilist/libanl.abilist: Likewise.
41183 * abilist/libc.abilist: Likewise.
41184 * abilist/libcrypt.abilist: Likewise.
41185 * abilist/libdl.abilist: Likewise.
41186 * abilist/libm.abilist: Likewise.
41187 * abilist/libnsl.abilist: Likewise.
41188 * abilist/libpthread.abilist: Likewise.
41189 * abilist/libresolv.abilist: Likewise.
41190 * abilist/librt.abilist: Likewise.
41191 * abilist/libthread_db.abilist: Likewise.
41192 * abilist/libutil.abilist: Likewise.
41193 * abilist/libnss_db.abilist: New file.
41195 * scripts/abilist.awk: Add support for indirect functions.
41197 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
41199 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
41201 * shlib-versions: Remove entries for ports architectures.
41203 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
41205 * elf/stackguard-macros.h: Remove support for IA-64.
41206 * elf/tst-auditmod1.c: Likewise.
41207 * sysdeps/generic/ldsodefs.h: Likewise.
41209 * sysdeps/unix/sysv/linux/configure.in: Ports should define
41210 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
41214 * configure.in: Remove --enable-omitfp support.
41216 * config.make.in: Likewise.
41217 * Makeconfig: Likewise.
41218 * manual/install.texi: Likewise.
41220 In case anyone cares, the IA-64 architecture could move to ports.
41221 * sysdeps/ia64/*: Removed.
41222 * sysdeps/unix/sysv/linux/ia64/*: Removed.
41223 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
41226 * configure.in: Remove entries for unsupported architectures.
41229 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
41230 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
41232 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
41233 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
41234 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
41235 fall back to using wcrtomb.
41236 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
41237 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
41239 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
41240 * wcsmbs/tst-c16c32-1.c: New file.
41242 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
41245 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
41247 * elf/tst-unique3.cc: Add explicit declaration of gets.
41248 * elf/tst-unique3lib.cc: Likewise.
41249 * elf/tst-unique3lib2.cc: Likewise.
41250 * elf/tst-unique4.cc: Likewise.
41252 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
41254 2012-01-06 Joseph Myers <joseph@codesourcery.com>
41257 * assert/assert.h (static_assert): Don't define for C++.
41258 * libio/stdio.h (gets): Do declare for C++ <= C++11.
41259 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
41261 2012-01-03 Ulrich Drepper <drepper@gmail.com>
41263 * iconv/loop.c (single loop): Fix assertion in storing of
41266 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
41268 2012-01-01 Ulrich Drepper <drepper@gmail.com>
41270 * posix/getconf.c: Update copyright year.
41271 * nss/getent.c: Likewise.
41272 * nss/makedb.c: Likewise.
41273 * iconv/iconvconfig.c: Likewise.
41274 * iconv/iconv_prog.c: Likewise.
41275 * elf/ldconfig.c: Likewise.
41276 * elf/pldd.c: Likewise.
41277 * elf/sotruss.ksh: Likewise.
41278 * catgets/gencat.c: Likewise.
41279 * csu/version.c: Likewise.
41280 * elf/ldd.bash.in: Likewise.
41281 * elf/sprof.c (print_version): Likewise.
41282 * locale/programs/locale.c: Likewise.
41283 * locale/programs/localedef.c: Likewise.
41284 * login/programs/pt_chown.c: Likewise.
41285 * nscd/nscd.c (print_version): Likewise.
41286 * debug/xtrace.sh: Likewise.
41287 * malloc/memusage.sh: Likewise.
41288 * malloc/mtrace.pl: Likewise.
41289 * debug/catchsegv.sh: Likewise.
41291 2011-12-30 Jakub Jelinek <jakub@redhat.com>
41293 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
41296 2011-12-24 Ulrich Drepper <drepper@gmail.com>
41299 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
41300 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
41302 * iconv/gconv_int.h: Likewise.
41303 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
41304 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
41305 from libc for GLIBC_2.16.
41306 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
41307 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
41308 * wcsmbs/uchar.h: Really define mbstate_t.
41309 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
41310 * wcsmbs/c16rtomb.c: New file.
41311 * wcsmbs/mbrtoc16.c: New file.
41312 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
41313 for C/POSIX locale.
41314 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
41315 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
41317 * wcsmbs/wchar.h: Add missing __restrict.
41319 2011-12-23 Ulrich Drepper <drepper@gmail.com>
41322 * time/Makefile (routines): Add timespec_get.
41323 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
41324 * time/time.h: Define TIME_UTC and declare timespec_get. Define
41325 timespec for ISO C11.
41326 * time/timespec_get.c: New file.
41327 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
41328 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
41331 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
41332 * stdlib/stdlib.h: Declare aligned_alloc.
41333 * Versions.def: Add GLIBC_2.16 for libc.
41334 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
41337 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
41340 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
41344 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
41347 * assert/assert.h (static_assert): Define.
41349 * version.h: Update for 2.16 development version.
41352 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
41355 * version.h (RELEASE): Bump for 2.15 release.
41356 * include/features.h (__GLIBC_MINOR__): Bump to 15.
41358 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
41359 Patch by Marek Polacek <mpolacek@redhat.com>.
41361 * bits/byteswap.h: Protect long long constants with __extension__.
41362 * sysdeps/i386/bits/byteswap.h: Likewise.
41363 * sysdeps/ia64/bits/byteswap.h: Likewise.
41364 * sysdeps/s390/bits/byteswap.h: Likewise.
41365 * sysdeps/x86_64/bits/byteswap.h: Likewise.
41367 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
41370 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
41371 destination buffer.
41372 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
41374 2011-12-23 Marek Polacek <polacek@redhat.com>
41376 * elf/dl-addr.c (determine_info): Add inline keyword.
41377 * elf/tst-auditmod4b.c (check_avx): Likewise.
41378 * elf/tst-auditmod6b.c (check_avx): Likewise.
41379 * elf/tst-auditmod6c.c (check_avx): Likewise.
41380 * elf/tst-auditmod7b.c (check_avx): Likewise.
41382 2011-12-23 Ulrich Drepper <drepper@gmail.com>
41384 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
41387 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
41390 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
41391 processing for last bytes.
41393 2011-08-06 Bruno Haible <bruno@clisp.org>
41396 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
41397 U+0385, not to U+1FEE.
41400 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
41401 entry for U+00A5 U+0301.
41403 2011-12-22 Ulrich Drepper <drepper@gmail.com>
41406 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
41407 buffer for the output is too small.
41409 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
41413 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
41414 SSE flags if possible.
41416 2011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
41419 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
41420 processing for last bytes.
41422 2011-12-22 Joseph Myers <joseph@codesourcery.com>
41424 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
41425 (syscall-list-default-options, syscall-list-default-condition)
41426 (syscall-list-includes): Define.
41427 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
41428 list of ABIs and options and #if conditions for each ABI. Do not
41429 handle common syscalls between ABIs specially.
41430 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
41432 (syscall-list-variants, syscall-list-32bit-options)
41433 (syscall-list-32bit-condition, syscall-list-64bit-options)
41434 (syscall-list-64bit-condition): Define.
41435 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
41436 (syscall-list-variants, syscall-list-32bit-options)
41437 (syscall-list-32bit-condition, syscall-list-64bit-options)
41438 (syscall-list-64bit-condition): Define.
41439 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
41441 (syscall-list-variants, syscall-list-32bit-options)
41442 (syscall-list-32bit-condition, syscall-list-64bit-options)
41443 (syscall-list-64bit-condition): Define.
41444 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
41446 (syscall-list-variants, syscall-list-32bit-options)
41447 (syscall-list-32bit-condition, syscall-list-64bit-options)
41448 (syscall-list-64bit-condition): Define.
41450 2011-12-22 Ulrich Drepper <drepper@gmail.com>
41452 * locale/iso-639.def: Add brx entry.
41455 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
41456 Proposed by Mariusz_Cukr <marcukr@op.pl>.
41458 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
41459 __feraiseexcept_renamed.
41461 2011-12-21 Ulrich Drepper <drepper@gmail.com>
41464 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
41465 EPOLLET with unsigned values.
41466 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
41467 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
41469 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
41470 to large cancellation.
41471 * math/s_cacoshf.c: Likewise.
41472 * math/s_cacoshl.c: Likewise.
41474 2011-11-18 Richard B. Kreckel <kreckel@ginac.de>
41478 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
41479 * math/s_cacoshf.c: Likewise.
41480 * math/s_cacoshl.c: Likewise.
41482 2011-12-21 Ulrich Drepper <drepper@gmail.com>
41485 * iconv/gconv.h: Define __GCONV_SWAP.
41486 * iconvdata/unicode.c: The swap bit must be stored in __flags.
41487 * iconvdata/utf-16.c: Likewise.
41488 * iconvdata/utf-32.c: Likewise.
41490 2011-12-21 Andreas Schwab <schwab@linux-m68k.org>
41493 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
41494 numerator after shifting it by one limb.
41496 2011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
41498 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
41499 under [__USE_EXTERN_INLINES].
41501 2011-12-17 Ulrich Drepper <drepper@gmail.com>
41504 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
41506 2011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
41508 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
41509 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
41511 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
41512 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
41513 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
41514 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
41515 for strncasecmp/strncasecmp_l compilation.
41516 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
41517 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
41519 2011-12-08 Marek Polacek <mpolacek@redhat.com>
41522 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
41525 2011-12-17 Ulrich Drepper <drepper@gmail.com>
41528 * time/tzfile.c (__tzfile_read): Check values from file header.
41530 2011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
41532 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
41533 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
41534 * powerpc/powerpc32/dl-start.S: Likewise.
41535 * powerpc/powerpc32/elf/start.S: Likewise.
41536 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
41537 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
41538 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
41539 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
41540 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
41541 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
41542 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
41543 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
41544 * powerpc/powerpc32/fpu/s_round.S: Likewise.
41545 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
41546 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
41547 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
41548 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
41549 * powerpc/powerpc32/memset.S: Likewise.
41550 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
41551 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
41552 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
41553 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
41554 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
41555 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
41556 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
41557 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
41558 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
41559 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
41560 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
41561 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
41562 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
41564 2011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
41566 * math/libm-test.inc: Added more nearbyint tests.
41567 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
41568 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
41569 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
41570 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
41572 2011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
41574 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
41577 2011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
41579 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
41580 Add wcscpy-ssse3 wcscpy-c.
41581 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
41582 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
41583 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
41584 * sysdeps/x86_64/wcschr.S: New file.
41585 * sysdeps/x86_64/wcsrchr.S: New file.
41586 * string/test-strcmp.c: Remove checking of wcscmp function for
41588 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
41589 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
41590 wcsrchr-sse2 wcsrchr-c.
41591 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
41592 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
41593 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
41594 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
41595 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
41596 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
41597 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
41598 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
41599 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
41600 * wcsmbc/wcschr.c (WCSCHR): New macro.
41602 2011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
41604 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
41605 * wcsmbs/test-wcsrchr.c: New file.
41606 * string/test-strrchr.c: Add wcsrchr support.
41608 * wcsmbs/test-wcscpy.c: New file.
41609 * string/test-strcpy.c: Add wcscpy support.
41612 2011-12-10 Ulrich Drepper <drepper@gmail.com>
41614 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
41617 2011-12-06 Andreas Schwab <schwab@linux-m68k.org>
41620 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
41622 2011-12-04 Ulrich Drepper <drepper@gmail.com>
41624 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
41625 Minor optimizations.
41627 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
41628 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
41629 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
41631 2011-12-03 Ulrich Drepper <drepper@gmail.com>
41633 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
41634 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
41635 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
41636 for gcc to avoid warnings.
41637 * inet/Makefile (tests): Add tst-checks.
41638 * inet/tst-checks.c: New file.
41640 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
41643 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
41646 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
41647 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
41649 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
41651 2011-12-02 Ulrich Drepper <drepper@gmail.com>
41653 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
41656 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
41658 2011-11-29 Joseph Myers <joseph@codesourcery.com>
41660 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
41661 conditional on GCC version.
41662 (__arch_compare_and_exchange_val_8_acq)
41663 (__arch_compare_and_exchange_val_16_acq)
41664 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
41665 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
41666 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
41668 2011-12-02 Joseph Myers <joseph@codesourcery.com>
41670 * sysdeps/sh/backtrace.c: New file.
41672 2011-12-02 Andreas Schwab <schwab@redhat.com>
41674 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
41677 2011-12-01 Andreas Schwab <schwab@redhat.com>
41679 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
41680 falling back to utime.
41682 2011-11-30 Andreas Schwab <schwab@redhat.com>
41684 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
41685 expectations for float.
41687 2011-11-29 Andreas Schwab <schwab@redhat.com>
41689 * locale/weight.h (findidx): Add parameter len.
41690 * locale/weightwc.h (findidx): Likewise.
41691 * posix/fnmatch_loop.c (FCT): Adjust caller.
41692 * posix/regcomp.c (build_equiv_class): Likewise.
41693 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
41694 * posix/regexec.c (check_node_accept_bytes): Likewise.
41695 * string/strcoll_l.c (STRCOLL): Likewise.
41696 * string/strxfrm_l.c (STRXFRM): Likewise.
41698 2011-11-17 Ulrich Drepper <drepper@gmail.com>
41700 * Makefile.in: Remove CVSOPT handling.
41701 * configure.in: Remove use of AC_REVISION.
41702 * iconvdata/Makefile (distribute): No need to filter out CVS.
41703 * scripts/list-sources.sh: Remove CVS, subversion and monotone
41706 2011-11-16 Andreas Schwab <schwab@redhat.com>
41708 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
41709 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
41710 [USE_AS_STRNCASECMP_L]: Likewise.
41711 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
41712 NO_TLS_DIRECT_SEG_REFS.
41713 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
41714 Fix argument offsets for non-PIC.
41715 [USE_AS_STRNCASECMP_L]: Likewise.
41716 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
41717 NO_TLS_DIRECT_SEG_REFS.
41719 2011-11-15 Ulrich Drepper <drepper@gmail.com>
41721 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
41723 * locale/loadlocale.c (_nl_load_locale): Likewise.
41725 2011-11-15 Andreas Schwab <schwab@redhat.com>
41727 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
41728 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
41729 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
41730 (SYSCALL_GETTIME): Set errno on error.
41732 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
41733 count references to noai6ai_cached.
41735 2011-11-15 Ulrich Drepper <drepper@gmail.com>
41737 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
41739 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
41740 FD_CLOEXEC for /proc/self/maps.
41742 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
41743 FD_CLOEXEC for /proc/meminfo.
41745 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
41748 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
41749 FD_CLOEXEC for given file.
41751 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
41753 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
41754 FD_CLOEXEC for /etc/hosts.
41755 (_gethtent): Likewise.
41757 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
41759 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
41760 cancellation and set FD_CLOEXEC for /etc/netgroup.
41762 * nss/nss_files/files-key.c (search): Don't allow cancellation when
41763 reading /etc/publickey.
41765 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
41766 allow cancellation when reading /etc/group.
41768 * nss/nss_files/files-alias.c (internal_setent): Don't allow
41770 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
41772 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
41773 when using data file.
41775 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
41777 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
41778 (write_nis_obj): Use "c" and "e" in fopen.
41780 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
41782 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
41784 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
41786 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
41788 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
41791 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
41793 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
41795 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
41797 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
41798 file parsing and set FD_CLOEXEC.
41800 2011-11-14 Ulrich Drepper <drepper@gmail.com>
41802 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
41804 2011-11-14 Andreas Schwab <schwab@redhat.com>
41806 * malloc/arena.c (arena_get2): Don't call reused_arena when
41807 _int_new_arena failed.
41809 2011-11-14 Ulrich Drepper <drepper@gmail.com>
41811 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
41812 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
41813 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
41814 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
41815 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
41816 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
41817 to compile strcasecmp and strncasecmp.
41818 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
41819 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
41821 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
41823 2011-11-13 Ulrich Drepper <drepper@gmail.com>
41825 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
41826 locale-defines.sym to gen-as-const-headers.
41827 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
41828 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
41829 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
41830 to compile strcasecmp and strncasecmp.
41831 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
41832 strcasecmp_l and strncasecmp_l.
41833 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
41834 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
41835 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
41836 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
41837 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
41838 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
41839 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
41840 * sysdeps/i386/i686/multiarch/strncase.S: New file.
41841 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
41842 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
41843 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
41845 2011-11-12 Ulrich Drepper <drepper@gmail.com>
41847 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
41848 result of SYSDEP_GETTIME_CPU to retval.
41849 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
41850 parameter list to macro. Remove trailing semicolon. Adjust users.
41852 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
41855 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
41857 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
41859 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
41860 from unused variable.
41862 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
41864 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
41867 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
41870 * sunrpc/rpc_prot.c (rejected): Fix case value.
41872 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
41873 unsigned long long int to avoid warnings in shift.
41875 * posix/regex_internal.c (re_string_reconstruct): Actually use result
41877 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
41880 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
41881 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
41882 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
41884 * nis/nis_table.c (nis_list): Use variable of correct type for
41885 result of __follow_path call.
41887 2011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
41889 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
41890 of math functions ceil, trunc, floor, round, and sqrt, when
41891 avaliable on the platform.
41892 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
41894 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
41895 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
41896 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
41898 2011-10-30 Marek Polacek <mpolacek@redhat.com>
41900 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
41901 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
41903 2011-11-11 Roland McGrath <roland@hack.frob.com>
41905 * include/unistd.h: Fix __readlink return type.
41906 Reported by Chris Metcalf <cmetcalf@tilera.com>.
41908 2011-11-11 Ulrich Drepper <drepper@gmail.com>
41910 * stdlib/ucontext.h: Undo last change for makecontext.
41912 2011-11-11 Andreas Schwab <schwab@redhat.com>
41914 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
41916 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
41917 * setjmp/setjmp.h: Mark functions as non-leaf.
41918 * setjmp/bits/setjmp2.h: Likewise.
41919 * stdlib/ucontext.h: Likewise.
41921 2011-11-10 Andreas Schwab <schwab@redhat.com>
41923 * malloc/arena.c (_int_new_arena): Don't increment narenas.
41924 (reused_arena): Don't check arena limit.
41925 (arena_get2): Atomically check arena limit.
41927 2011-11-08 Ulrich Drepper <drepper@gmail.com>
41929 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
41930 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
41932 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
41935 2011-11-07 Andreas Schwab <schwab@redhat.com>
41937 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
41938 handler when locking.
41940 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
41941 Fix size of allocated buffer.
41943 2011-11-04 Andreas Schwab <schwab@redhat.com>
41946 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
41947 declarations for long double functions.
41948 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
41950 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
41952 2011-11-03 Andreas Schwab <schwab@redhat.com>
41954 * nscd/nscd.c (main): Don't start AVC thread until credentials are
41957 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
41960 2011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
41962 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
41964 2011-11-01 Andreas Schwab <schwab@linux-m68k.org>
41966 * include/alloca.h (stackinfo_alloca_round): Define.
41967 (extend_alloca): Use it.
41968 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
41969 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
41972 * scripts/check-local-headers.sh: Ignore libaudit.h.
41974 * nscd/Makefile (extra-objs): Make recursively expanded.
41976 2011-11-01 Ulrich Drepper <drepper@gmail.com>
41978 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
41979 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
41981 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
41982 * posix/tst-rfc3484-2.c: Likewise.
41983 * posix/tst-rfc3484-3.c: Likewise.
41985 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
41987 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
41989 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
41990 process_vm_writev from libc using GLIBC_2.15 version.
41992 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
41994 2011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
41996 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
41999 2011-10-31 Ulrich Drepper <drepper@gmail.com>
42002 * nss/getent.c (initgroups_keys): Show error message in case no group
42005 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
42006 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
42007 __bump_nl_timestamp.
42008 * nscd/connections (nscd_init): When host database is served open
42009 netlink socket and request notification about configuration changes.
42010 (main_loop_poll): Track netlink file descriptor and bump timestamp
42011 in case data becomes available.
42012 (main_loop_epoll): Likewise.
42013 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
42014 (database_pers_head): Add extra_data fileds.
42015 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
42016 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
42017 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
42019 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
42020 in6ai data, call __free_in6ai.
42021 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
42022 Add -DHAVE_NETLINK.
42023 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
42024 interface information. Reuse previous data if netlink timestamp
42026 (__bump_nl_timestamp): New function.
42027 (__free_in6ai): New function.
42029 2011-10-30 Ulrich Drepper <drepper@gmail.com>
42031 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
42032 close_not_cancel_no_status here.
42033 (__check_pf): Reorganize code a bit to not call close twice if OOM.
42035 2011-10-29 Ulrich Drepper <drepper@gmail.com>
42038 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
42041 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
42042 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
42043 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
42045 2011-07-03 Andreas Jaeger <aj@suse.de>
42048 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
42049 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
42050 * math/libm-test.inc (sin_test): Add test case.
42052 2011-10-29 Ulrich Drepper <drepper@gmail.com>
42055 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
42056 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
42058 * elf/chroot_canon.c (chroot_canon): Cleanups.
42060 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
42063 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
42064 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
42066 * string/test-strchr.c: Make usable for strchrnul testing.
42067 * string/test-strchrnul.c: New file.
42068 * string/Makefile (strop-tests): Add strchrnul.
42070 * po/it.po: Update from translation team.
42071 * po/es.po: Likewise.
42073 2011-10-28 Ulrich Drepper <drepper@gmail.com>
42075 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
42076 the three constants needed as parameters. Drop the others.
42077 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
42078 __m128i_strloadu_tolower.
42079 Create and initialize variable zero and use it in all the places
42080 where _mm_setzero_si128 was used.
42082 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
42083 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
42084 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
42085 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
42087 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
42088 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
42089 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
42090 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
42091 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
42092 __mpranred, __mptan.
42093 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
42094 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
42095 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
42096 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
42097 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
42098 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
42099 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
42100 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
42101 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
42103 2011-10-28 Andreas Schwab <schwab@redhat.com>
42105 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
42106 redefine if SHARED.
42107 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
42109 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
42110 wide char related routines to wcsmbs subdir.
42112 2011-10-27 Andreas Schwab <schwab@redhat.com>
42115 * misc/sys/cdefs.h (__THROWNL): Define.
42116 * posix/unistd.h: Use __THREADNL instead of __THREAD
42117 for memory synchronization functions.
42119 2011-10-26 Roland McGrath <roland@hack.frob.com>
42122 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
42124 * manual/stdio.texi (Obstack Streams): Node removed.
42126 2011-10-26 Andreas Schwab <schwab@redhat.com>
42128 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
42129 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
42130 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
42132 * math/math_private.h (math_force_eval): Allow non-addressable
42134 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
42136 2011-10-25 Ulrich Drepper <drepper@gmail.com>
42138 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
42139 file is not needed.
42141 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
42142 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
42143 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
42144 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
42145 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
42146 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
42147 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
42148 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
42150 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
42151 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
42152 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
42153 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
42154 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
42155 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
42156 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
42157 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
42158 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
42159 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
42160 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
42161 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
42162 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
42163 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
42164 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
42165 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
42166 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
42167 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
42168 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
42170 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
42171 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
42173 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
42174 place. Use VEX encoding when compiling for AVX.
42176 2011-10-25 Andreas Schwab <schwab@redhat.com>
42178 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
42179 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
42181 * string/test-strchr.c (do_test): Don't generate NUL bytes.
42183 2011-10-25 Ulrich Drepper <drepper@gmail.com>
42185 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
42186 useless if() expression.
42187 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
42188 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
42189 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
42190 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
42191 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
42192 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
42193 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
42194 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
42195 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
42196 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
42197 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
42198 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
42199 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
42200 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
42201 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
42202 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
42203 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
42204 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
42205 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
42207 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
42209 2011-10-25 Andreas Schwab <schwab@redhat.com>
42211 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
42213 * elf/dl-fini.c (_dl_sort_fini): Likewise.
42215 2011-10-25 Ulrich Drepper <drepper@gmail.com>
42217 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
42218 .text section. Avoid duplicate constants.
42219 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
42220 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
42221 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
42222 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
42223 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
42224 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
42225 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
42226 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
42227 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
42228 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
42229 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
42230 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
42231 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
42232 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
42233 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
42234 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
42235 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
42236 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
42237 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
42238 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
42239 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
42240 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
42241 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
42242 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
42243 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
42244 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
42245 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
42246 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
42247 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
42248 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
42249 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
42250 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
42251 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
42252 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
42253 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
42254 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
42255 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
42256 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
42257 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
42258 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
42259 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
42260 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
42261 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
42262 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
42263 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
42265 2011-10-24 Ulrich Drepper <drepper@gmail.com>
42267 * sysdeps/x86_64/dla.h: Move to ...
42268 * sysdeps/x86_64/fpu/dla.h: ...here.
42269 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
42270 situations. Use __builtin_fma only for gcc 4.6 and up.
42272 * config.make.in: Add have-mfma4 entry.
42273 * configure.in: Substitute libc_cv_cc_fma4.
42274 * math/Makefile (dbl-only-routines): Add sincostab.
42275 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
42276 Use __sincostab not sincos.
42277 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
42279 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
42280 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
42281 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
42282 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
42284 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
42285 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
42286 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
42287 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
42289 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
42290 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
42292 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
42293 define aliases when function name is a macro.
42294 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
42295 sysdeps/ieee754/dbl-64/sincos.tbl.
42296 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
42297 fma4-enabled routines.
42298 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
42299 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
42300 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
42301 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
42302 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
42303 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
42304 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
42305 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
42306 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
42307 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
42308 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
42309 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
42310 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
42311 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
42312 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
42313 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
42314 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
42315 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
42316 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
42317 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
42318 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
42319 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
42320 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
42321 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
42322 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
42323 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
42324 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
42325 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
42326 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
42327 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
42329 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
42331 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
42332 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
42333 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
42334 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
42335 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
42336 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
42337 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
42338 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
42340 2011-10-24 Andreas Schwab <schwab@redhat.com>
42342 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
42344 2011-10-23 Ulrich Drepper <drepper@gmail.com>
42346 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
42348 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
42350 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
42352 * string/strnlen.c: Don't define STRNLEN, reverse logic.
42353 Remove unused variable magic_bits.
42354 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
42356 * string/strnlen.c: Define and use STRNLEN macro.
42357 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
42358 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
42359 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
42360 * wcsmbs/wcslen.c: Define and use WCSLEN.
42361 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
42362 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
42363 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
42364 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
42365 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
42366 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
42367 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
42369 2011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
42371 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
42372 strnlen-sse2-no-bsf.
42373 Rename strlen-no-bsf to strlen-sse2-no-bsf.
42374 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
42375 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
42376 Add strnlen support.
42377 (USE_AS_STRNLEN): New macro.
42378 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
42379 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
42380 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
42381 * sysdeps/x86_64/wcslen.S: New file.
42383 2011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
42385 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
42386 XMM-moves are used for copying on small sizes.
42388 2011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
42390 * wcsmbs/Makefile (strop-tests): Add wcschr.
42391 * wcsmbs/test-wcschr.c: New file.
42392 * string/test-strchr.c: Update.
42393 Add wcschr support.
42396 2011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
42398 * wcsmbs/Makefile (strop-tests): Add wcslen.
42399 * wcsmbs/test-wcslen.c: New file.
42400 * string/test-strlen.c: Update.
42401 Add wcslen support.
42404 2011-10-23 Ulrich Drepper <drepper@gmail.com>
42406 * po/it.po: Update from translation team.
42408 2011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
42410 * sysdeps/x86_64/wcscmp.S: Update.
42411 Fix wrong comparison semantics.
42412 wcscmp shall use signed comparison not unsigned.
42413 Don't use substraction to avoid overflow bug.
42414 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
42415 * wcsmbc/wcscmp.c: Likewise.
42416 * string/test-strcmp.c: Likewise.
42417 Add new tests to check cases with negative values.
42419 2011-10-23 Ulrich Drepper <drepper@gmail.com>
42421 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
42422 * sysdeps/x86_64/dla.h: ...here. New file.
42423 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
42424 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
42425 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
42426 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
42427 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
42428 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
42429 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
42430 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
42431 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
42433 2011-10-23 Andreas Schwab <schwab@linux-m68k.org>
42435 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
42436 __ynl_finite aliases.
42438 2011-10-22 Ulrich Drepper <drepper@gmail.com>
42440 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
42442 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
42444 [DLA_FMA] (EMULV): Use DLA_FMA.
42445 [DLA_FMA] (MUL12): Use EMULV.
42446 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
42447 that are not needed.
42448 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
42449 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
42450 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
42451 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
42452 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
42453 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
42454 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
42456 2011-10-22 Andreas Schwab <schwab@linux-m68k.org>
42458 * math/s_nan.c: Undef __nan.
42459 * math/s_nanf.c: Undef __nanf.
42460 * math/s_nanl.c: Undef __nanl.
42461 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
42464 2011-10-22 Ulrich Drepper <drepper@gmail.com>
42466 * math/s_catan.c: Add branch predictions.
42467 * math/s_catanf.c: Likewise.
42468 * math/s_catanh.c: Likewise.
42469 * math/s_catanhf.c: Likewise.
42470 * math/s_catanhl.c: Likewise.
42471 * math/s_catanl.c: Likewise.
42472 * math/s_cexp.c: Likewise.
42473 * math/s_cexpf.c: Likewise.
42474 * math/s_cexpl.c: Likewise.
42475 * math/s_clog.c: Likewise.
42476 * math/s_clog10.c: Likewise.
42477 * math/s_clog10f.c: Likewise.
42478 * math/s_clog10l.c: Likewise.
42479 * math/s_clogf.c: Likewise.
42480 * math/s_clogl.c: Likewise.
42481 * math/s_csqrt.c: Likewise.
42482 * math/s_csqrtf.c: Likewise.
42483 * math/s_csqrtl.c: Likewise.
42484 * math/s_ctanf.c: Likewise.
42485 * math/s_ctanh.c: Likewise.
42486 * math/s_ctanhf.c: Likewise.
42487 * math/s_ctanhl.c: Likewise.
42488 * math/s_ctanl.c: Likewise.
42490 * math/math_private.h: Define __nan, __nanf, __nanl.
42491 * math/s_cacosh.c: Include <math_private.h>.
42492 * math/s_cacoshl.c: Likewise.
42493 * math/s_casinh.c: Likewise.
42494 * math/s_casinhf.c: Likewise.
42495 * math/s_casinhl.c: Likewise.
42496 * math/s_ccos.c: Rely entire on ccosh.
42497 * math/s_ccosf.c: Rely entire on ccoshf.
42498 * math/s_ccosl.c: Rely entirely on ccoshl.
42499 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
42500 Remove tests for FE_INVALID.
42501 * math/s_ccoshf.c: Likewise.
42502 * math/s_ccoshl.c: Likewise.
42503 * math/s_csin.c: Likewise.
42504 * math/s_csinf.c: Likewise.
42505 * math/s_csinh.c Likewise.
42506 * math/s_csinhf.c: Likewise.
42507 * math/s_csinhl.c: Likewise.
42508 * math/s_csinl.c: Likewise.
42509 * math/s_ctan.c: Likewise.
42510 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
42511 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
42512 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
42514 2011-10-21 Ulrich Drepper <drepper@gmail.com>
42516 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
42517 compilation problems.
42519 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
42522 2011-10-20 Ulrich Drepper <drepper@gmail.com>
42524 * sysdeps/i386/configure.in: Test for -mfma4 option.
42525 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
42526 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
42527 COMMON_CPUID_INDEX_80000001.
42528 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
42529 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
42530 use it if FMA3 is not supported.
42531 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
42533 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
42534 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
42536 2011-10-20 Andreas Schwab <schwab@redhat.com>
42539 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
42540 it would create a cycle with a link time dependency.
42542 2011-10-19 Ulrich Drepper <drepper@gmail.com>
42544 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
42546 * string/Makefile (strop-tests): Add rawmemchr.
42547 * string/test-rawmemchr.c: New file.
42549 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
42550 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
42551 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
42552 when compiling str{,n}casecmp and when AVX is available. Hook up
42553 new optimized code in initializers.
42555 2011-10-19 Andreas Schwab <schwab@redhat.com>
42557 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
42558 __feraiseexcept instead of feraiseexcept.
42560 2011-10-18 Ulrich Drepper <drepper@gmail.com>
42562 * math/math_private.h: Define defaults for libc_fetestexcept and
42564 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
42565 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
42566 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
42567 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
42568 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
42569 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
42570 libc_fetestexcept and libc_feupdateenv.
42572 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
42573 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
42574 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
42575 * sysdeps/x86_64/fpu/math_private.h: Define special version of
42576 libc_feholdexcept_setround.
42578 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
42579 Add s_nearbyint-c and s_nearbyintf-c.
42580 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
42581 nearbyintf inlines.
42582 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
42583 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
42584 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
42585 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
42587 * math/math_private.h: Define defaults for libc_fegetround,
42588 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
42589 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
42590 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
42591 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
42592 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
42593 standard functions.
42594 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
42595 Remove comments and hacks for old compiler versions.
42596 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
42597 libc_fegetround, libc_fesetround, libc_feholdexcept, and
42598 libc_feholdexceptl.
42600 2011-10-18 Andreas Schwab <schwab@redhat.com>
42602 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
42603 (__feraiseexcept_renamed): Add __NTH.
42604 (feraiseexcept): Add __NTH. Rename local variables to fix
42605 namespace violations.
42607 2011-10-17 Ulrich Drepper <drepper@gmail.com>
42609 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
42611 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
42613 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
42614 recently added interfaces.
42615 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
42617 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
42618 about macro parameter expansion.
42620 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
42621 __NO_MATH_INLINES is defined. Cleanups.
42623 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
42624 and __floorf is target has SSE4.1.
42625 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
42626 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
42627 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
42628 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
42630 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
42632 (floorf): Likewise.
42634 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
42636 2011-10-17 Andreas Schwab <schwab@redhat.com>
42638 * misc/sys/cdefs.h: Fix last change.
42640 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
42643 2011-10-16 Ulrich Drepper <drepper@gmail.com>
42645 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
42647 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
42648 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
42649 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
42650 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
42651 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
42652 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
42653 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
42654 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
42655 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
42656 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
42657 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
42658 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
42659 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
42660 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
42661 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
42662 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
42663 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
42664 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
42665 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
42666 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
42667 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
42668 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
42670 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
42671 ceil, ceilf, floor, floorf.
42673 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
42674 Perform IRELATIVE relocations last.
42676 * elf/do-rel.h: Add another parameter nrelative, replacing the
42677 local variable with the same name. Change name of the function
42678 to end in Rel or Rela (uppercase).
42679 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
42680 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
42681 elf_dynamic_do_##reloc function.
42683 2011-10-15 Ulrich Drepper <drepper@gmail.com>
42685 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
42686 is sufficient, at least on modern CPUs.
42688 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
42690 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
42691 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
42693 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
42695 * math/bits/math-finite.h: Add entries for exp.
42696 * math/e_expl.c: Add __*_finite alias.
42697 * sysdeps/i386/fpu/e_exp.S: Likewise.
42698 * sysdeps/i386/fpu/e_expf.S: Likewise.
42699 * sysdeps/i386/fpu/e_expl.c: Likewise.
42700 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
42701 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
42702 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
42703 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
42704 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
42705 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
42706 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
42708 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
42709 is sufficient, at least on modern CPUs.
42711 * ctype/ctype-info.c (__ctype_init): Define.
42712 * include/ctype.h (__ctype_init): Declare.
42713 (__ctype_b_loc): The variable is always initialized.
42714 (__ctype_toupper_loc): Likewise.
42715 (__ctype_tolower_loc): Likewise.
42716 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
42717 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
42719 2011-10-15 Andreas Schwab <schwab@linux-m68k.org>
42721 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
42723 * configure.in: Also look in $cxxmachine/include for C++ system
42726 2011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
42728 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
42729 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
42730 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
42731 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
42732 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
42733 (USE_AS_WMEMCMP): New macro.
42735 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
42736 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
42737 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
42738 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
42739 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
42740 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
42741 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
42742 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
42743 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
42744 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
42745 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
42746 (USE_AS_WMEMCMP): New macro.
42747 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
42748 * sysdeps/string/test-memcmp.c: Update.
42749 Fix simple_wmemcmp.
42751 * wcsmbs/wmemcmp.c: Update.
42752 (WMEMCMP): New macro.
42755 2011-10-12 Andreas Jaeger <aj@suse.de>
42758 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
42760 2011-10-15 Ulrich Drepper <drepper@gmail.com>
42762 * libio/iofwide.c (do_length): Avoid warning.
42764 * ctype/ctype.h (__isctype_f): Add missing __THROW.
42766 2011-10-14 Ulrich Drepper <drepper@gmail.com>
42768 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
42770 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
42771 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
42772 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
42773 * sysdeps/i386/i686/fpu/e_log.S: New file.
42774 * sysdeps/i386/i686/fpu/e_logf.S: New file.
42775 * sysdeps/i386/i686/fpu/e_logl.S: New file.
42777 * ctype/ctype.h: Add support for inlined isXXX functions when
42778 compiling C++ code.
42780 2011-10-14 Andreas Schwab <schwab@redhat.com>
42782 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
42784 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
42786 2011-10-13 Roland McGrath <roland@hack.frob.com>
42789 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
42791 2011-10-13 Andreas Schwab <schwab@redhat.com>
42793 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
42794 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
42797 * sysdeps/x86_64/memrchr.S: Check for zero size.
42799 * string/stratcliff.c: Add memrchr tests.
42801 2011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
42803 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
42804 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
42805 rawmemchr-sse2 rawmemchr-sse2-bsf.
42806 * sysdeps/i386/i686/multiarch/memchr.S: New file.
42807 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
42808 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
42809 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
42810 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
42811 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
42812 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
42813 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
42814 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
42815 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
42816 * string/memrchr.c (MEMRCHR): New macro.
42818 2011-10-12 Ulrich Drepper <drepper@gmail.com>
42820 Add integration with gcc's -ffinite-math-only and optimize wrapper
42822 * Versions.def: Define GLIBC_2.15 version for libm.
42823 * math/Makefile (headers): Add bits/math-finite.h.
42824 * math/bits/math-finite.h: New file.
42825 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
42826 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
42827 * math/e_acoshl.c: Add __*_finite alias.
42828 * math/e_acosl.c: Likewise.
42829 * math/e_asinl.c: Likewise.
42830 * math/e_atan2l.c: Likewise.
42831 * math/e_atanhl.c: Likewise.
42832 * math/e_coshl.c: Likewise.
42833 * math/e_exp10.c: Likewise.
42834 * math/e_exp10f.c: Likewise.
42835 * math/e_exp10l.c: Likewise.
42836 * math/e_exp2l.c: Likewise.
42837 * math/e_fmodl.c: Likewise.
42838 * math/e_gammal_r.c: Likewise.
42839 * math/e_hypotl.c: Likewise.
42840 * math/e_j0l.c: Likewise.
42841 * math/e_j1l.c: Likewise.
42842 * math/e_jnl.c: Likewise.
42843 * math/e_lgammal_r.c: Likewise.
42844 * math/e_log10l.c: Likewise.
42845 * math/e_log2l.c: Likewise.
42846 * math/e_logl.c: Likewise.
42847 * math/e_powl.c: Likewise.
42848 * math/e_sinhl.c: Likewise.
42849 * math/e_sqrtl.c: Likewise.
42850 * math/e_scalb.c: Completely rewritten and optimized.
42851 * math/e_scalbf.c: Likewise.
42852 * math/e_scalbl.c: Likewise.
42853 * math/w_acos.c: Likewise.
42854 * math/w_acosf.c: Likewise.
42855 * math/w_acosl.c: Likewise.
42856 * math/w_acosh.c: Likewise.
42857 * math/w_acoshf.c: Likewise.
42858 * math/w_acoshl.c: Likewise.
42859 * math/w_asin.c: Likewise.
42860 * math/w_asinf.c: Likewise.
42861 * math/w_asinl.c: Likewise.
42862 * math/w_atan2.c: Likewise.
42863 * math/w_atan2f.c: Likewise.
42864 * math/w_atan2l.c: Likewise.
42865 * math/w_atanh.c: Likewise.
42866 * math/w_atanhf.c: Likewise.
42867 * math/w_atanhl.c: Likewise.
42868 * math/w_exp10.c: Likewise.
42869 * math/w_exp10f.c: Likewise.
42870 * math/w_exp10l.c: Likewise.
42871 * math/w_fmod.c: Likewise.
42872 * math/w_fmodf.c: Likewise.
42873 * math/w_fmodl.c: Likewise.
42874 * math/w_j0.c: Likewise.
42875 * math/w_j0f.c: Likewise.
42876 * math/w_j0l.c: Likewise.
42877 * math/w_j1.c: Likewise.
42878 * math/w_j1f.c: Likewise.
42879 * math/w_j1l.c: Likewise.
42880 * math/w_jn.c: Likewise.
42881 * math/w_jnf.c: Likewise.
42882 * math/w_log.c: Likewise.
42883 * math/w_logf.c: Likewise.
42884 * math/w_logl.c: Likewise.
42885 * math/w_log10.c: Likewise.
42886 * math/w_log10f.c: Likewise.
42887 * math/w_log10l.c: Likewise.
42888 * math/w_log2.c: Likewise.
42889 * math/w_log2f.c: Likewise.
42890 * math/w_log2l.c: Likewise.
42891 * math/w_pow.c: Likewise.
42892 * math/w_powf.c: Likewise.
42893 * math/w_powl.c: Likewise.
42894 * math/w_remainder.c: Likewise.
42895 * math/w_remainderf.c: Likewise.
42896 * math/w_remainderl.c: Likewise.
42897 * math/w_scalb.c: Likewise.
42898 * math/w_scalbf.c: Likewise.
42899 * math/w_scalbl.c: Likewise.
42900 * math/w_sqrt.c: Likewise.
42901 * math/w_sqrtf.c: Likewise.
42902 * math/w_sqrtl.c: Likewise.
42903 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
42904 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
42906 * math/math_private.h: Declare __kernel_standard_f.
42907 * math/w_cosh.c: Remove cruft and optimize a bit.
42908 * math/w_coshf.c: Likewise.
42909 * math/w_coshl.c: Likewise.
42910 * math/w_exp2.c: Likewise.
42911 * math/w_exp2f.c: Likewise.
42912 * math/w_exp2l.c: Likewise.
42913 * math/w_hypot.c: Likewise.
42914 * math/w_hypotf.c: Likewise.
42915 * math/w_hypotl.c: Likewise.
42916 * math/w_lgamma.c: Likewise.
42917 * math/w_lgamma_r.c: Likewise.
42918 * math/w_lgammaf.c: Likewise.
42919 * math/w_lgammaf_r.c: Likewise.
42920 * math/w_lgammal.c: Likewise.
42921 * math/w_lgammal_r.c: Likewise.
42922 * math/w_sinh.c: Likewise.
42923 * math/w_sinhf.c: Likewise.
42924 * math/w_sinhl.c: Likewise.
42925 * math/w_tgamma.c: Likewise.
42926 * math/w_tgammaf.c: Likewise.
42927 * math/w_tgammal.c: Likewise.
42928 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
42929 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
42930 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
42931 Minor optimizations. Pretty printing. Remove cruft.
42932 * sysdeps/i386/fpu/e_acosf.S: Likewise.
42933 * sysdeps/i386/fpu/e_acosh.S: Likewise.
42934 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
42935 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
42936 * sysdeps/i386/fpu/e_acosl.c: Likewise.
42937 * sysdeps/i386/fpu/e_asin.S: Likewise.
42938 * sysdeps/i386/fpu/e_asinf.S: Likewise.
42939 * sysdeps/i386/fpu/e_atan2.S: Likewise.
42940 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
42941 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
42942 * sysdeps/i386/fpu/e_atanh.S: Likewise.
42943 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
42944 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
42945 * sysdeps/i386/fpu/e_exp10.S: Likewise.
42946 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
42947 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
42948 * sysdeps/i386/fpu/e_exp2.S: Likewise.
42949 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
42950 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
42951 * sysdeps/i386/fpu/e_fmod.S: Likewise.
42952 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
42953 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
42954 * sysdeps/i386/fpu/e_hypot.S: Likewise.
42955 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
42956 * sysdeps/i386/fpu/e_log.S: Likewise.
42957 * sysdeps/i386/fpu/e_log10.S: Likewise.
42958 * sysdeps/i386/fpu/e_log10f.S: Likewise.
42959 * sysdeps/i386/fpu/e_log10l.S: Likewise.
42960 * sysdeps/i386/fpu/e_log2.S: Likewise.
42961 * sysdeps/i386/fpu/e_log2f.S: Likewise.
42962 * sysdeps/i386/fpu/e_log2l.S: Likewise.
42963 * sysdeps/i386/fpu/e_logf.S: Likewise.
42964 * sysdeps/i386/fpu/e_logl.S: Likewise.
42965 * sysdeps/i386/fpu/e_pow.S: Likewise.
42966 * sysdeps/i386/fpu/e_powf.S: Likewise.
42967 * sysdeps/i386/fpu/e_powl.S: Likewise.
42968 * sysdeps/i386/fpu/e_remainder.S: Likewise.
42969 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
42970 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
42971 * sysdeps/i386/fpu/e_scalb.S: Likewise.
42972 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
42973 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
42974 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
42975 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
42976 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
42977 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
42978 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
42979 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
42980 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
42981 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
42982 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
42983 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
42984 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
42985 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
42986 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
42987 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
42988 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
42989 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
42990 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
42991 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
42992 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
42993 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
42994 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
42995 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
42996 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
42997 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
42998 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
42999 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
43000 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
43001 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
43002 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
43003 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
43004 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
43005 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
43006 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
43007 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
43008 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
43009 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
43010 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
43011 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
43012 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
43013 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
43014 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
43015 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
43016 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
43017 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
43018 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
43019 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
43020 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
43021 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
43022 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
43023 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
43024 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
43025 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
43026 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
43027 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
43028 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
43029 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
43030 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
43031 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
43032 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
43033 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
43034 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
43035 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
43036 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
43037 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
43038 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
43039 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
43040 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
43041 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
43042 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
43043 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
43044 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
43045 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
43046 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
43047 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
43048 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
43049 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
43050 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
43051 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
43052 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
43053 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
43054 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
43055 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
43056 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
43057 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
43058 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
43059 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
43060 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
43061 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
43062 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
43063 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
43064 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
43065 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
43066 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
43067 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
43068 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
43069 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
43070 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
43071 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
43072 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
43073 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
43074 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
43075 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
43076 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
43077 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
43078 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
43079 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
43080 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
43081 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
43082 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
43083 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
43084 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
43085 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
43086 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
43087 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
43088 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
43089 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
43090 (__isnanf): Likewise.
43091 (__isinf_ns): Likewise.
43092 (__isinf_nsf): Likewise.
43093 (__finite): Likewise.
43094 (__finitef): Likewise.
43095 (__ieee754_sqrt): Define as macro.
43096 (__ieee754_sqrtf): Define as macro.
43097 (__ieee754_sqrtl): Define as macro.
43098 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
43100 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
43101 __FINITE_MATH_ONLY__ consistent.
43102 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
43104 2011-10-10 Andreas Schwab <schwab@linux-m68k.org>
43106 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
43109 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
43111 2011-10-09 Ulrich Drepper <drepper@gmail.com>
43113 * po/ja.po: Update from translation team.
43115 2011-10-08 Roland McGrath <roland@hack.frob.com>
43117 * locale/programs/locarchive.c (prepare_address_space): New function.
43118 (create_archive, enlarge_archive, open_archive): Use it.
43120 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
43121 inside [SHARED], where it is used.
43123 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
43125 * nss/getent.c (netgroup_keys): Remove unused variable.
43126 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
43128 2011-10-08 Ulrich Drepper <drepper@gmail.com>
43130 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
43131 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
43132 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
43133 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
43134 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
43135 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
43136 * math/Makefile (libm-calls): Add s_isinf_ns.
43137 * math/divtc3.c: Use __isinf_nsl instead of isinf.
43138 * math/multc3.c: Likewise.
43139 * math/s_casin.c: Likewise.
43140 * math/s_casinf.c: Likewise.
43141 * math/s_casinl.c: Likewise.
43142 * math/s_ccos.c: Likewise.
43143 * math/s_ccosf.c: Likewise.
43144 * math/s_ccosl.c: Likewise.
43145 * math/s_ctan.c: Likewise.
43146 * math/s_ctanf.c: Likewise.
43147 * math/s_ctanh.c: Likewise.
43148 * math/s_ctanhf.c: Likewise.
43149 * math/s_ctanhl.c: Likewise.
43150 * math/s_ctanl.c: Likewise.
43151 * math/w_fmod.c: Likewise.
43152 * math/w_fmodf.c: Likewise.
43153 * math/w_fmodl.c: Likewise.
43154 * math/w_remainder.c: Likewise.
43155 * math/w_remainderf.c: Likewise.
43156 * math/w_remainderl.c: Likewise.
43157 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
43158 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
43159 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
43160 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
43161 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
43162 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
43163 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
43164 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
43166 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
43168 * stdio-common/printf_fphex.c: Likewise.
43169 * stdio-common/printf_size.c: Likewise.
43171 * math/e_exp10.c: Include math_private.h using <...> not "...".
43172 * math/e_exp10f.c: Likewise.
43173 * math/e_exp10l.c: Likewise.
43174 * math/e_exp2l.c: Likewise.
43175 * math/e_j0l.c: Likewise.
43176 * math/e_j1l.c: Likewise.
43177 * math/e_jnl.c: Likewise.
43178 * math/e_lgammal_r.c: Likewise.
43179 * math/e_rem_pio2l.c: Likewise.
43180 * math/e_scalb.c: Likewise.
43181 * math/e_scalbf.c: Likewise.
43182 * math/e_scalbl.c: Likewise.
43183 * math/k_cosl.c: Likewise.
43184 * math/k_sinl.c: Likewise.
43185 * math/k_tanl.c: Likewise.
43186 * math/s_cacoshf.c: Likewise.
43187 * math/s_catan.c: Likewise.
43188 * math/s_catanf.c: Likewise.
43189 * math/s_catanh.c: Likewise.
43190 * math/s_catanhf.c: Likewise.
43191 * math/s_catanhl.c: Likewise.
43192 * math/s_catanl.c: Likewise.
43193 * math/s_ccosh.c: Likewise.
43194 * math/s_ccoshf.c: Likewise.
43195 * math/s_ccoshl.c: Likewise.
43196 * math/s_cexp.c: Likewise.
43197 * math/s_cexpf.c: Likewise.
43198 * math/s_cexpl.c: Likewise.
43199 * math/s_clog.c: Likewise.
43200 * math/s_clog10.c: Likewise.
43201 * math/s_clog10f.c: Likewise.
43202 * math/s_clog10l.c: Likewise.
43203 * math/s_clogf.c: Likewise.
43204 * math/s_clogl.c: Likewise.
43205 * math/s_csin.c: Likewise.
43206 * math/s_csinf.c: Likewise.
43207 * math/s_csinh.c: Likewise.
43208 * math/s_csinhf.c: Likewise.
43209 * math/s_csinhl.c: Likewise.
43210 * math/s_csinl.c: Likewise.
43211 * math/s_csqrt.c: Likewise.
43212 * math/s_csqrtf.c: Likewise.
43213 * math/s_csqrtl.c: Likewise.
43214 * math/s_ctan.c: Likewise.
43215 * math/s_ctanf.c: Likewise.
43216 * math/s_ctanh.c: Likewise.
43217 * math/s_ctanhf.c: Likewise.
43218 * math/s_ctanhl.c: Likewise.
43219 * math/s_ctanl.c: Likewise.
43220 * math/s_ldexp.c: Likewise.
43221 * math/s_ldexpf.c: Likewise.
43222 * math/s_ldexpl.c: Likewise.
43223 * math/s_significand.c: Likewise.
43224 * math/s_significandf.c: Likewise.
43225 * math/s_significandl.c: Likewise.
43226 * math/w_acos.c: Likewise.
43227 * math/w_acosf.c: Likewise.
43228 * math/w_acosh.c: Likewise.
43229 * math/w_acoshf.c: Likewise.
43230 * math/w_acoshl.c: Likewise.
43231 * math/w_acosl.c: Likewise.
43232 * math/w_asin.c: Likewise.
43233 * math/w_asinf.c: Likewise.
43234 * math/w_asinl.c: Likewise.
43235 * math/w_atan2.c: Likewise.
43236 * math/w_atan2f.c: Likewise.
43237 * math/w_atan2l.c: Likewise.
43238 * math/w_atanh.c: Likewise.
43239 * math/w_atanhf.c: Likewise.
43240 * math/w_atanhl.c: Likewise.
43241 * math/w_cosh.c: Likewise.
43242 * math/w_coshf.c: Likewise.
43243 * math/w_coshl.c: Likewise.
43244 * math/w_dremf.c: Likewise.
43245 * math/w_exp10.c: Likewise.
43246 * math/w_exp10f.c: Likewise.
43247 * math/w_exp10l.c: Likewise.
43248 * math/w_exp2.c: Likewise.
43249 * math/w_exp2f.c: Likewise.
43250 * math/w_fmod.c: Likewise.
43251 * math/w_fmodf.c: Likewise.
43252 * math/w_fmodl.c: Likewise.
43253 * math/w_hypot.c: Likewise.
43254 * math/w_hypotf.c: Likewise.
43255 * math/w_hypotl.c: Likewise.
43256 * math/w_j0.c: Likewise.
43257 * math/w_j0f.c: Likewise.
43258 * math/w_j0l.c: Likewise.
43259 * math/w_j1.c: Likewise.
43260 * math/w_j1f.c: Likewise.
43261 * math/w_j1l.c: Likewise.
43262 * math/w_jn.c: Likewise.
43263 * math/w_jnf.c: Likewise.
43264 * math/w_jnl.c: Likewise.
43265 * math/w_lgamma.c: Likewise.
43266 * math/w_lgamma_r.c: Likewise.
43267 * math/w_lgammaf.c: Likewise.
43268 * math/w_lgammaf_r.c: Likewise.
43269 * math/w_lgammal.c: Likewise.
43270 * math/w_lgammal_r.c: Likewise.
43271 * math/w_log.c: Likewise.
43272 * math/w_log10.c: Likewise.
43273 * math/w_log10f.c: Likewise.
43274 * math/w_log10l.c: Likewise.
43275 * math/w_log2.c: Likewise.
43276 * math/w_log2f.c: Likewise.
43277 * math/w_log2l.c: Likewise.
43278 * math/w_logf.c: Likewise.
43279 * math/w_logl.c: Likewise.
43280 * math/w_pow.c: Likewise.
43281 * math/w_powf.c: Likewise.
43282 * math/w_powl.c: Likewise.
43283 * math/w_remainder.c: Likewise.
43284 * math/w_remainderf.c: Likewise.
43285 * math/w_remainderl.c: Likewise.
43286 * math/w_scalb.c: Likewise.
43287 * math/w_scalbf.c: Likewise.
43288 * math/w_scalbl.c: Likewise.
43289 * math/w_sinh.c: Likewise.
43290 * math/w_sinhf.c: Likewise.
43291 * math/w_sinhl.c: Likewise.
43292 * math/w_sqrt.c: Likewise.
43293 * math/w_sqrtf.c: Likewise.
43294 * math/w_sqrtl.c: Likewise.
43295 * math/w_tgamma.c: Likewise.
43296 * math/w_tgammaf.c: Likewise.
43297 * math/w_tgammal.c: Likewise.
43299 * po/ja.po: Update from translation team.
43301 2011-09-29 Andreas Jaeger <aj@suse.de>
43304 * sunrpc/netname.c (netname2host): Fix logic.
43308 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
43310 * math/w_remainder.c (__remainder): Likewise.
43311 * math/w_remainderf.c (__remainderf): Likewise.
43312 * math/libm-test.inc (remainder_test): Add test cases.
43314 2011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
43316 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
43319 2011-10-07 Ulrich Drepper <drepper@gmail.com>
43321 * string/test-memcmp.c: Avoid unncessary #defines.
43322 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
43324 2011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
43326 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
43327 Use new sse2 version for core i3 - i7 as it's faster
43328 than sse42 version.
43329 (bit_Prefer_PMINUB_for_stringop): New.
43330 * sysdeps/x86_64/rawmemchr.S: Update.
43331 Replace with faster SSE2 version.
43332 * sysdeps/x86_64/memrchr.S: New file.
43333 * sysdeps/x86_64/memchr.S: Update.
43334 Replace with faster SSE2 version.
43336 2011-09-12 Marek Polacek <mpolacek@redhat.com>
43338 * elf/dl-load.c (lose): Add cast to avoid warning.
43340 2011-10-07 Ulrich Drepper <drepper@gmail.com>
43342 * po/ca.po: Update from translation team.
43344 * inet/getnetgrent_r.c: Hook up nscd.
43345 * nscd/Makefile (routines): Add nscd_netgroup.
43346 (nscd-modules): Add netgroupcache.
43347 (CFLAGS-netgroupcache.c): Define.
43348 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
43349 (cache_search): Add const to second parameter.
43350 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
43352 (dbs): Add netgrdb entry.
43353 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
43354 (verify_persistent_db): Handle netgrdb.
43355 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
43356 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
43358 (netgroup_response_header): Define.
43359 (innetgroup_response_header): Define.
43360 (datahead): Add netgroup_response_header and innetgroup_response_header
43362 * nscd/nscd.conf: Add entries for netgroup cache.
43363 * nscd/nscd.h (dbtype): Add netgrdb.
43364 (_PATH_NSCD_NETGROUP_DB): Define.
43365 (netgroup_iov_disabled): Declare.
43366 (xmalloc, xcalloc, xrealloc): Move declarations here.
43367 (cache_search): Adjust prototype.
43368 Add netgroup-related prototypes.
43369 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
43370 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
43371 (__nscd_innetgr): Declare.
43372 * nscd/selinux.c (perms): Use access_vector_t as element type and
43373 add netgroup-related initializers.
43374 * nscd/netgroupcache.c: New file.
43375 * nscd/nscd_netgroup.c: New file.
43376 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
43377 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
43378 For four parameters use innetgr.
43379 * nss/nss_files/files-init.c: Add definition and callback for netgr.
43380 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
43381 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
43382 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
43384 * nscd/connections.c (register_traced_file): Don't register file
43385 for disabled databases.
43387 2011-10-06 Ulrich Drepper <drepper@gmail.com>
43389 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
43391 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
43392 from tree and freeing node.
43394 2011-09-25 Jiri Olsa <jolsa@redhat.com>
43396 * nss/nsswitch.c (__nss_database_lookup): Handle
43397 nss_parse_service_list out of memory case.
43399 2011-09-15 Jiri Olsa <jolsa@redhat.com>
43401 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
43402 out of memory case.
43404 2011-10-04 Andreas Schwab <schwab@redhat.com>
43406 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
43407 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
43409 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
43410 elf_machine_rela, elf_machine_lazy_rel.
43411 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
43412 (ELF_DYNAMIC_DO_REL): Likewise.
43413 (ELF_DYNAMIC_DO_RELA): Likewise.
43414 (ELF_DYNAMIC_RELOCATE): Likewise.
43415 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
43416 to ELF_DYNAMIC_DO_REL.
43417 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
43418 (dl_main): In trace mode always set __RTLD_NOIFUNC.
43419 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
43421 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
43422 skip_ifunc, don't call ifunc function if non-zero.
43423 (elf_machine_rela): Likewise.
43424 (elf_machine_lazy_rel): Likewise.
43425 (elf_machine_lazy_rela): Likewise.
43426 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
43427 (elf_machine_lazy_rel): Likewise.
43428 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
43430 (elf_machine_lazy_rel): Likewise.
43431 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
43433 (elf_machine_lazy_rel): Likewise.
43434 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
43435 (elf_machine_lazy_rel): Likewise.
43436 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
43437 (elf_machine_lazy_rel): Likewise.
43438 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
43439 (elf_machine_lazy_rel): Likewise.
43440 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
43441 (elf_machine_lazy_rel): Likewise.
43442 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
43443 (elf_machine_lazy_rel): Likewise.
43444 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
43445 (elf_machine_lazy_rel): Likewise.
43447 2011-09-28 Ulrich Drepper <drepper@gmail.com>
43449 * nss/nss_files/files-init.c (_nss_files_init): Use static
43450 initialization for all the *_traced_file variables.
43452 2011-09-28 Andreas Schwab <schwab@redhat.com>
43454 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
43456 2011-09-27 Roland McGrath <roland@hack.frob.com>
43459 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
43461 2011-09-27 Andreas Schwab <schwab@redhat.com>
43463 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
43464 Reread the line before reparsing it.
43466 2011-09-26 Andreas Schwab <schwab@redhat.com>
43468 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
43470 2011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
43471 Maxim Kuvyrkov <maxim@codesourcery.com>
43472 Joseph Myers <joseph@codesourcery.com>
43474 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
43475 if needed for __stack_chk_guard.
43477 2011-09-19 Roland McGrath <roland@hack.frob.com>
43479 * sysdeps/posix/spawni.c (script_execute): Always define it.
43480 It will be optimized away if unused.
43481 (maybe_script_execute): New function.
43482 (__spawni): Call it.
43484 * Makerules: Don't include tls.make.
43485 (config-tls): Always set to thread.
43486 * tls.make.c: File removed.
43488 2011-09-19 Mike Frysinger <vapier@gentoo.org>
43490 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
43491 * config.make.in (CPPFLAGS-config): New substituted variable.
43493 2011-09-15 Ulrich Drepper <drepper@gmail.com>
43495 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
43498 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
43499 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
43501 2011-09-15 Roland McGrath <roland@hack.frob.com>
43503 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
43504 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
43505 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
43506 (CALL_FAIL): Likewise.
43507 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
43508 (CALL_FAIL): Macro removed.
43509 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
43511 2011-09-15 Ulrich Drepper <drepper@gmail.com>
43513 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
43514 for __FINITE_MATH_ONLY__ == 1.
43516 2011-09-15 Andreas Schwab <schwab@redhat.com>
43518 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
43519 __ieee754_sqrt instead of sqrt.
43520 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
43521 __ieee754_sqrtf instead of sqrtf.
43522 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
43523 __floorf instead of floorf.
43524 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
43525 __floorf, __truncf instead of floorf, truncf.
43527 2011-09-14 Ulrich Drepper <drepper@gmail.com>
43529 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
43531 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
43532 __extern_always_inline.
43533 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
43536 2011-09-14 Andreas Schwab <schwab@redhat.com>
43538 * elf/rtld.c (dl_main): Also relocate in dependency order when
43539 doing symbol dependency testing.
43541 2011-09-13 Andreas Schwab <schwab@linux-m68k.org>
43543 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
43544 Always define `refsym'.
43546 2011-09-13 Andreas Schwab <schwab@redhat.com>
43548 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
43549 (__FD_ELT): Renamed from __FDELT.
43550 * misc/bits/select2.h (__FD_ELT): Likewise.
43551 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
43552 __FD_MASK instead of __FDELT, __FDMASK.
43553 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
43555 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
43558 * elf/Makefile (gen-ldd): Fix pattern.
43560 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
43561 (init_tls): Likewise.
43563 2011-09-12 Ulrich Drepper <drepper@gmail.com>
43565 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
43567 2011-09-12 Andreas Schwab <schwab@redhat.com>
43569 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
43570 `struct cmsghdr *' instead of `void *'.
43571 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
43574 2011-09-11 Andreas Schwab <schwab@linux-m68k.org>
43576 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
43578 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
43579 ldd_rewrite_script.
43581 2011-09-11 Ulrich Drepper <drepper@gmail.com>
43583 * configure.in: Remove --with-tls option.
43584 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
43585 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
43586 out in case it is missing.
43587 * sysdeps/ia64/elf/configure.in: Likewise.
43588 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
43589 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
43590 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
43591 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
43592 * sysdeps/sh/elf/configure.in: Likewise.
43593 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
43594 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
43595 * sysdeps/x86_64/elf/configure.in: Likewise.
43596 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
43597 * sysdeps/mach/hurd/tls.h: Likewise.
43600 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
43603 * configure.in: Fix use of AC_INIT.
43605 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
43607 2011-09-10 Ulrich Drepper <drepper@gmail.com>
43609 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
43611 * malloc/hooks.c: Likewise.
43614 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
43615 variables statically.
43616 (narenas): Initialize.
43617 (list_lock): Initialize.
43618 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
43619 initializtion of main_arena and list_lock. Small cleanups.
43620 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
43621 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
43622 Add initializers to main_arena and mp_.
43623 (malloc_state): Remove pagesize member. Change all users to use
43626 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
43627 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
43628 is always initialized.
43630 * malloc/malloc.c: Removed unused configurations and dead code.
43631 * malloc/arena.c: Likewise.
43632 * malloc/hooks.c: Likewise.
43633 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
43635 * include/tls.h: Removed. USE___THREAD must always be defined.
43636 * bits/libc-tsd.h: Don't handle !USE___THREAD.
43637 * elf/dl-libc.c: Likewise.
43638 * elf/dl-tsd.c: Likewise.
43639 * include/errno.h: Likewise.
43640 * include/netdb.h: Likewise.
43641 * include/resolv.h: Likewise.
43642 * inet/herrno-loc.c: Likewise.
43643 * inet/herrno.c: Likewise.
43644 * malloc/arena.c: Likewise.
43645 * malloc/hooks.c: Likewise.
43646 * malloc/malloc.c: Likewise.
43647 * resolv/res-state.c: Likewise.
43648 * resolv/res_libc.c: Likewise.
43649 * sysdeps/i386/dl-machine.h: Likewise.
43650 * sysdeps/ia64/dl-machine.h: Likewise.
43651 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
43652 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
43653 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
43654 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
43655 * sysdeps/sh/dl-machine.h: Likewise.
43656 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
43657 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
43658 * sysdeps/unix/i386/sysdep.S: Likewise.
43659 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
43660 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
43661 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
43662 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
43663 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
43664 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
43665 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
43666 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
43667 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
43668 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
43669 * sysdeps/unix/x86_64/sysdep.S: Likewise.
43670 * sysdeps/x86_64/dl-machine.h: Likewise.
43671 * tls.make.c: Likewise.
43673 * configure.in: Remove --with-__thread option. Make tests for
43674 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
43675 tls_model attribute fail if no support is available. Remove
43677 * Makeconfig: Adjust for dropped configure option. All features are
43679 * Makerules: Likewise.
43680 * Versions.def: Likewise.
43681 * argp/argp-fmtstream.c: Likewise.
43682 * argp/argp-fmtstream.h: Likewise.
43683 * argp/argp-help.c: Likewise.
43684 * assert/assert.c: Likewise.
43685 * config.h.in: Likewise.
43686 * config.make.in: Likewise.
43687 * configure: Likewise.
43688 * configure.in: Likewise.
43689 * csu/Versions: Likewise.
43690 * csu/init.c: Likewise.
43691 * elf/tst-audit2.c: Likewise.
43692 * elf/tst-tls10.c: Likewise.
43693 * elf/tst-tls10.h: Likewise.
43694 * elf/tst-tls11.c: Likewise.
43695 * elf/tst-tls12.c: Likewise.
43696 * elf/tst-tls14.c: Likewise.
43697 * elf/tst-tlsmod11.c: Likewise.
43698 * elf/tst-tlsmod12.c: Likewise.
43699 * elf/tst-tlsmod13.c: Likewise.
43700 * elf/tst-tlsmod13a.c: Likewise.
43701 * elf/tst-tlsmod14a.c: Likewise.
43702 * elf/tst-tlsmod15b.c: Likewise.
43703 * elf/tst-tlsmod16a.c: Likewise.
43704 * elf/tst-tlsmod16b.c: Likewise.
43705 * elf/tst-tlsmod7.c: Likewise.
43706 * elf/tst-tlsmod8.c: Likewise.
43707 * elf/tst-tlsmod9.c: Likewise.
43708 * gmon/gmon.c: Likewise.
43709 * grp/fgetgrent_r.c: Likewise.
43710 * grp/putgrent.c: Likewise.
43711 * hurd/fopenport.c: Likewise.
43712 * include/libc-symbols.h: Likewise.
43713 * include/tls.h: Likewise.
43714 * intl/gettextP.h: Likewise.
43715 * intl/loadinfo.h: Likewise.
43716 * locale/global-locale.c: Likewise.
43717 * locale/localeinfo.h: Likewise.
43718 * mach/devstream.c: Likewise.
43719 * malloc/arena.c: Likewise.
43720 * malloc/set-freeres.c: Likewise.
43721 * misc/err.c: Likewise.
43722 * misc/getttyent.c: Likewise.
43723 * misc/mntent_r.c: Likewise.
43724 * posix/getopt.c: Likewise.
43725 * posix/wordexp.c: Likewise.
43726 * pwd/fgetpwent_r.c: Likewise.
43727 * resolv/Versions: Likewise.
43728 * resolv/res_hconf.c: Likewise.
43729 * shadow/fgetspent_r.c: Likewise.
43730 * shadow/putspent.c: Likewise.
43731 * stdio-common/printf_fphex.c: Likewise.
43732 * stdio-common/tmpfile.c: Likewise.
43733 * stdlib/abort.c: Likewise.
43734 * stdlib/fmtmsg.c: Likewise.
43735 * sunrpc/auth_unix.c: Likewise.
43736 * sunrpc/clnt_perr.c: Likewise.
43737 * sunrpc/clnt_tcp.c: Likewise.
43738 * sunrpc/clnt_udp.c: Likewise.
43739 * sunrpc/clnt_unix.c: Likewise.
43740 * sunrpc/openchild.c: Likewise.
43741 * sunrpc/svc_simple.c: Likewise.
43742 * sunrpc/svc_tcp.c: Likewise.
43743 * sunrpc/svc_udp.c: Likewise.
43744 * sunrpc/svc_unix.c: Likewise.
43745 * sunrpc/xdr.c: Likewise.
43746 * sunrpc/xdr_array.c: Likewise.
43747 * sunrpc/xdr_rec.c: Likewise.
43748 * sunrpc/xdr_ref.c: Likewise.
43749 * sunrpc/xdr_stdio.c: Likewise.
43751 2011-09-09 Ulrich Drepper <drepper@gmail.com>
43753 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
43755 2011-07-03 Andreas Jaeger <aj@suse.de>
43757 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
43758 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
43759 regenerate with gen-libm-tests.pl.
43761 2010-05-12 Petr Baudis <pasky@suse.cz>
43764 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
43765 around j0() zero points by switching to j1().
43766 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
43767 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
43768 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
43769 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
43771 2011-09-09 Ulrich Drepper <drepper@gmail.com>
43773 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
43775 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
43777 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
43778 Patch in part by Pavel Roskin <proski@gnu.org>.
43781 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
43783 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
43784 Free memory block if necessary.
43787 * libio/genops.c (INTDEF): For string streams the _lock pointer can
43788 be NULL. Don't lock in this case.
43790 2011-09-09 Roland McGrath <roland@hack.frob.com>
43792 * elf/elf.h (ELFOSABI_GNU): New macro.
43793 (ELFOSABI_LINUX): Define to that.
43795 2011-07-29 Denis Zaitceff <zaitceff@gmail.com>
43797 * string/strncat.c (strncat): Undef the symbol in case it has been
43798 defined in bits/string.h.
43800 2011-09-09 Ulrich Drepper <drepper@gmail.com>
43802 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
43804 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
43807 2011-08-17 Andreas Jaeger <aj@suse.de>
43809 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
43811 2011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
43812 Ian Lance Taylor <iant@google.com>
43814 * math/libm-test.inc (lround_test): New testcase.
43815 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
43817 2011-09-08 Ulrich Drepper <drepper@gmail.com>
43819 * Makefile: Remove support for automatic cvs check-ins.
43820 * Makerules: Likewise.
43821 * config.make.in: Likewise.
43822 * configure.in: Likewise.
43823 * intl/Makefile: Likewise.
43824 * locale/Makefile: Likewise.
43825 * po/Makefile: Likewise.
43826 * posix/Makefile: Likewise.
43827 * sysdeps/gnu/Makefile: Likewise.
43828 * sysdeps/mach/hurd/Makefile: Likewise.
43829 * sysdeps/sparc/sparc32/Makefile: Likewise.
43832 * posix/Makefile (bug-regex32-ENV): Define.
43833 Patch by John Stanley <jpsinthemix@verizon.net>.
43835 * misc/Makefile (headers): Add bits/select2.h.
43836 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
43837 * misc/bits/select2.h: New file.
43838 * include/bits/select2.h: New file.
43839 * debug/Makefile (routines): Add fdelt_chk.
43840 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
43841 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
43843 * debug/fdelt_chk.c: New file.
43845 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
43846 * wcsmbs/test-wmemcmp.c: Likewise.
43847 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
43848 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
43850 2011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
43852 * string/Makefile (strop-tests): Add memcmp.
43853 * string/test-wmemcmp.c: New file.
43854 * string/test-memcmp.c: Add wmemcmp support.
43856 2011-09-08 Roland McGrath <roland@hack.frob.com>
43859 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
43862 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
43863 garbage value in a __mach_port_mod_refs call in the cases of the
43864 task-self and thread-self ports.
43866 2011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
43868 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
43870 2011-09-08 Andreas Schwab <schwab@redhat.com>
43872 * elf/dl-load.c (lose): Check for non-null L.
43874 2011-09-07 Ulrich Drepper <drepper@gmail.com>
43876 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
43878 * elf/dl-libc.c (dlerror_run): Pass back error code from
43882 * elf/dl-load.c (lose): Free l_origin if it is valid.
43884 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
43886 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
43887 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
43888 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
43889 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
43890 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
43891 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
43893 2011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
43895 * sysdeps/powerpc/fpu/e_hypot.c: New file.
43896 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
43897 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
43898 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
43899 * sysdeps/powerpc/fpu/k_cosf.c: New file.
43900 * sysdeps/powerpc/fpu/k_sinf.c: New file.
43901 * sysdeps/powerpc/fpu/s_cosf.c: New file.
43902 * sysdeps/powerpc/fpu/s_sinf.c: New file.
43903 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
43904 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
43906 2011-08-15 Alan Modra <amodra@gmail.com>
43909 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
43910 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
43911 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
43912 ppc_mcount to static-only-routines.
43913 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
43915 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
43916 __mcount_internal with usual JUMPTARGET. Remove useless nop.
43918 2011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
43920 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
43921 for finite and infinity parameters.
43923 2011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
43925 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
43926 and add nop instructions for throughput optimization.
43927 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
43929 2011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
43931 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
43932 aligned copy for power7 with vector-scalar instructions.
43933 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
43935 2011-07-24 H.J. Lu <hongjiu.lu@intel.com>
43937 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
43940 2011-09-07 Andreas Schwab <schwab@redhat.com>
43943 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
43946 2011-09-07 Ulrich Drepper <drepper@gmail.com>
43948 * sysdeps/unix/sysv/linux/x86_64/init-first.c
43949 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
43950 syscall wrapper around clock_gettime in __vdso_clock_gettime.
43951 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
43954 2011-09-06 Ulrich Drepper <drepper@gmail.com>
43956 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
43957 Forgot to demangle the pointer.
43959 * sysdeps/i386/sysdep.h: Define atom_text_section.
43960 * sysdeps/x86_64/sysdep.h: Likewise.
43961 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
43962 section with atom_text_section.
43963 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
43964 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
43965 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
43966 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
43967 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
43969 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
43970 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
43971 already be defined. Change to take two parameters and don't assign
43972 result to variable. Adjust all users.
43973 Define INTERNAL_GETTIME if not already defined.
43974 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
43976 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
43977 HAVE_CLOCK_GETTIME_VSYSCALL.
43978 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
43980 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
43981 gettimeofday vsyscall, just use time.
43983 2011-09-06 Andreas Schwab <schwab@redhat.com>
43985 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
43988 2011-09-06 Ulrich Drepper <drepper@gmail.com>
43990 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
43992 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
43994 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
43995 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
43996 syscall if possible.
43998 2011-09-05 Ulrich Drepper <drepper@gmail.com>
44000 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
44001 e_ident. Don't pass to find_mapsXX.
44002 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
44004 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
44006 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
44007 strchr-sse2-no-bsf strrchr-sse2-no-bsf
44008 * sysdeps/x86_64/multiarch/strchr.S: Update.
44009 Check bit_slow_BSF bit.
44010 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
44011 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
44012 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
44014 2011-09-05 Ulrich Drepper <drepper@gmail.com>
44017 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
44019 (tryshell): Define.
44020 (__spawni): Change last parameter to be flag. Test
44021 SPAWN_XFLAGS_USE_PATH flag to use path or not.
44022 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
44023 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
44024 * posix/spawni.c: Likewise.
44025 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
44026 * posix/spawnp.c: Likewise. Change normal version to use
44027 SPAWN_XFLAGS_USE_PATH.
44028 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
44029 SPAWN_XFLAGS_TRY_SHELL.
44032 * posix/glob.h: Remove gcc 1.x support.
44035 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
44037 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
44039 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
44040 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
44042 * sysdeps/i386/i686/multiarch/strchr.S: New file.
44043 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
44044 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
44045 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
44046 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
44047 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
44049 2011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
44051 * sysdeps/x86_64/wcscmp.S: New file.
44053 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
44054 wcscmp-c wcscmp-sse2
44055 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
44056 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
44057 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
44058 * wcsmbs/wcscmp.c: Allow renaming.
44060 2011-09-05 David S. Miller <davem@davemloft.net>
44062 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
44063 stack slot, rather than the struct return pointer slot.
44064 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
44065 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
44066 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
44067 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
44069 2011-09-05 Ulrich Drepper <drepper@gmail.com>
44071 * po/ja.po: Update from translation team.
44074 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
44075 kernel in 64-bit binaries.
44077 2011-09-01 David S. Miller <davem@davemloft.net>
44079 * elf/elf.h (HWCAP_SPARC_*): Move to..
44080 * sysdeps/sparc/sysdep.h: this new file and add new values.
44081 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
44082 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
44083 _DL_HWCAP_COUNT to 24.
44084 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
44086 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
44087 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
44088 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
44089 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
44090 instead of magic constants.
44091 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
44093 2011-08-31 David S. Miller <davem@davemloft.net>
44095 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
44096 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
44097 Reimplement to do errno handling inline.
44098 (SYSCALL_ERROR_HANDLER): New macro.
44099 (__SYSCALL_STRING): Do not do errno handling in asm.
44100 (__CLONE_SYSCALL_STRING): Delete.
44101 (__INTERNAL_SYSCALL_STRING): Delete.
44102 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
44103 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
44104 (PSEUDO): Reimplement to do errno handling inline.
44105 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
44106 (SYSCALL_ERROR_HANDLER): New macro.
44107 (__SYSCALL_STRING): Do not do errno handling in asm.
44108 (__CLONE_SYSCALL_STRING): Delete.
44109 (__INTERNAL_SYSCALL_STRING): Delete.
44110 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
44111 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
44113 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
44114 (inline_syscall*): Add 'err' argument.
44115 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
44116 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
44117 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
44118 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
44120 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
44121 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
44123 2011-08-30 Andreas Schwab <schwab@redhat.com>
44125 * elf/rtld.c (dl_main): Relocate objects in dependency order.
44127 2011-08-29 Jiri Olsa <jolsa@redhat.com>
44129 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
44132 2011-08-24 David S. Miller <davem@davemloft.net>
44134 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
44136 2011-08-24 Andreas Schwab <schwab@redhat.com>
44138 * elf/Makefile: Add rules to build and run unload8 test.
44139 * elf/unload8.c: New file.
44140 * elf/unload8mod1.c: New file.
44141 * elf/unload8mod1x.c: New file.
44142 * elf/unload8mod2.c: New file.
44143 * elf/unload8mod3.c: New file.
44145 * elf/dl-close.c (_dl_close_worker): Reset private search list if
44148 2011-08-23 David S. Miller <davem@davemloft.net>
44150 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
44151 subtract stack bias.
44152 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
44153 %sp not %fp in calculations.
44154 (_JMPBUF_UNWINDS_ADJ): Likewise.
44156 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
44157 (aio_suspend): Call it to force an exception region around the
44158 AIO_MISC_WAIT() invocation.
44160 2011-08-23 Andreas Schwab <schwab@redhat.com>
44162 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
44165 2011-07-04 Aurelien Jarno <aurelien@aurel32.net>
44167 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
44169 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
44170 and <dl-machine.h>.
44171 (Elf64_FuncDesc): Remove.
44173 2011-08-22 David S. Miller <davem@davemloft.net>
44175 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
44176 sigaltstack check, add missing cfi directives.
44177 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
44178 missing cfi directives, and sigaltstack handling.
44180 2011-08-16 Andreas Schwab <schwab@redhat.com>
44183 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
44184 object is seen twice.
44185 * elf/dl-fini.c (_dl_sort_fini): Likewise.
44187 * elf/Makefile (distribute): Add tst-initorder2.c.
44188 (tests): Add tst-initorder2.
44189 (modules-names): Add tst-initorder2a tst-initorder2b
44190 tst-initorder2c tst-initorder2d. Add rules to build them.
44191 ($(objpfx)tst-initorder2.out): New rule.
44192 * elf/tst-initorder2.c: New file.
44193 * elf/tst-initorder2.exp: New file.
44195 2011-08-22 Andreas Schwab <schwab@redhat.com>
44197 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
44199 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
44200 dependencies back to end of function.
44202 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
44203 $(elfobjdir)/ld.so.
44205 2011-08-21 Ulrich Drepper <drepper@gmail.com>
44207 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
44208 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
44209 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
44210 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
44211 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
44212 of __vdso_gettimeofday.
44213 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
44214 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
44216 (_libc_vdso_platform_setup): Remove initialization of
44217 __vdso_gettimeofday and __vdso_time.
44219 2011-08-20 Ulrich Drepper <drepper@gmail.com>
44221 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
44222 and fgetc_unlocked.
44223 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
44226 * elf/dl-open.c (add_to_global): Report additions to the global scope
44227 for LD_DEBUG=scopes.
44228 (dl_open_worker): Also print scope of newly loaded dependencies.
44229 (_dl_show_scope): Indicate if there is no scope.
44232 * stdio-common/Makefile (tests): Add bug24.
44233 * stdio-common/bug24.c: New file.
44235 2011-08-19 Andreas Jaeger <aj@suse.de>
44238 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
44239 non-existant file when using close-on-exec mode.
44241 2011-08-20 Ulrich Drepper <drepper@gmail.com>
44243 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
44244 the very first instruction.
44246 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
44247 the CFI state in the end.
44248 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
44249 inclusion of dl-trampoline.h.
44250 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
44252 2011-08-19 Andreas Schwab <schwab@redhat.com>
44254 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
44255 expectations for long double.
44257 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
44258 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
44260 2011-08-14 David S. Miller <davem@davemloft.net>
44262 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
44263 artificual limit depends upon the system page size.
44265 2011-08-17 Ulrich Drepper <drepper@gmail.com>
44267 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
44268 * resolv/Makefile: Define CFLAGS-libresolv.
44270 2011-08-17 Andreas Schwab <schwab@redhat.com>
44272 * nss/makedb.c (compute_tables): Make variables used in nested
44275 2011-08-17 Ulrich Drepper <drepper@gmail.com>
44277 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
44278 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
44279 if buffer was too small.
44281 * elf/pldd.c (main): Attach to all threads in the process.
44282 Rewrite /proc handling to use *at functions.
44284 2011-08-16 Ulrich Drepper <drepper@gmail.com>
44286 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
44287 specifies first scope to show.
44288 (dl_open_worker): Update callers. Move printing scope of new
44289 object to before the relocation.
44290 * elf/rtld.c (dl_main): Update _dl_show_scope call.
44291 * sysdeps/generic/ldsodefs.h: Update declaration.
44293 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
44294 string for the scope number.
44296 2011-08-14 Ulrich Drepper <drepper@gmail.com>
44298 * nscd/servicescache.c (cache_addserv): Make sure written is always
44301 2011-08-14 Roland McGrath <roland@hack.frob.com>
44303 * sysdeps/i386/i486/bits/atomic.h
44304 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
44305 statement expression, so as to suppress "set but not used" warning.
44306 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
44308 * string/strncat.c (STRNCAT): Use prototype definition.
44310 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
44311 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
44313 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
44314 (localedef-modules): Add localedef.
44315 (locale-modules): Add locale.
44317 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
44318 * elf/rtld.c (dl_main): Invert order of assignment in last change,
44319 to avoid a warning.
44321 2011-08-14 David S. Miller <davem@davemloft.net>
44323 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
44324 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
44326 2011-08-13 Ulrich Drepper <drepper@gmail.com>
44328 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
44329 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
44330 * elf/rtld.c (dl_main): Set l_name of vDSO.
44331 Call _dl_show_scope when DL_DEBUG_SCOPES.
44332 (process_dl_debug): Recognize scopes flag and also set it for all.
44333 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
44334 Declare _dl_show_scope.
44336 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
44337 (do_dlopen): Pass caller_dlopen to dl_open.
44338 (__libc_dlopen_mode): Initialize caller_dlopen.
44340 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
44341 of libc. Make tolower call locale-independent. Optimize a bit by
44342 using isdigit instead of isalnum.
44343 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
44345 2011-08-12 Ulrich Drepper <drepper@gmail.com>
44347 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
44348 was a dependency or dynamically loaded.
44350 2011-08-11 Ulrich Drepper <drepper@gmail.com>
44352 * intl/l10nflist.c: Allow architecture-specific pop function.
44353 * sysdeps/x86_64/l10nflist.c: New file.
44355 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
44358 2011-08-10 Andreas Schwab <schwab@redhat.com>
44360 * include/dirent.h: Add libc_hidden_proto for scandirat and
44361 scandirat64. Don't declare __scandirat64.
44362 * dirent/scandirat.c: Add libc_hidden_def.
44363 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
44364 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
44366 2011-08-10 David S. Miller <davem@davemloft.net>
44368 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
44370 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
44371 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
44372 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
44374 2011-08-09 Ulrich Drepper <drepper@gmail.com>
44376 * Versions.def [libc]: Add GLIBC_2.15.
44377 * dirent/Makefile (routines): Add scandirat and scandirat64.
44378 * dirent/Versions [libc]: Export scandirat and scandirat64 for
44380 * dirent/dirent.h: Declare scandirat and scandirat64.
44381 * dirent/scandirat.c: New file.
44382 * dirent/scandirat64.c: New file.
44383 * sysdeps/wordsize-64/scandirat.c: New file.
44384 * sysdeps/wordsize-64/scandirat64.c: New file.
44385 * dirent/opendir.c: Define opendirat.
44386 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
44388 * dirent/scandir64.c: Adjust for scandir.c change.
44389 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
44390 __scandirat64, and __scandir_cancel_handler.
44391 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
44392 additional parameter and use openat instead of open (outside of ld.so).
44393 Add new __opendir as wrapper around __opendirat.
44394 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
44395 here without requiring old scandirat implementation.
44397 2011-08-08 Ulrich Drepper <drepper@gmail.com>
44399 * dirent/scandir.c (cancel_handler): Renamed to
44400 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
44401 defined. Adjust users.
44402 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
44403 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
44405 2011-08-04 Ulrich Drepper <drepper@gmail.com>
44407 * string/test-string.h (IMPL): Use __STRING to expand name and then
44410 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
44413 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
44415 * string/Makefile: Update.
44416 (strop-tests): Append strncat.
44417 * string/test-wcscmp.c: New file.
44418 New comprehensive test for wcscmp.
44419 * string/test-strcmp.c: Update.
44420 (WIDE): New define.
44422 2011-07-22 Andreas Schwab <schwab@redhat.com>
44424 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
44427 2011-07-26 Andreas Schwab <schwab@redhat.com>
44429 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
44430 encoding to ACE if AI_IDN.
44432 2011-08-01 Jakub Jelinek <jakub@redhat.com>
44434 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
44435 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
44437 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
44439 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
44440 Fix overflow bug in strncat.
44441 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
44443 * string/test-strncat.c: Update.
44444 Add new tests for checking overflow bugs.
44446 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
44448 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
44449 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
44450 * sysdeps/i386/i686/multiarch/strcat.S: New file.
44451 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
44452 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
44453 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
44454 * sysdeps/i386/i686/multiarch/strncat.S: New file.
44455 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
44456 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
44458 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
44459 (USE_AS_STRCAT): Define.
44460 Add strcat and strncat support.
44461 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
44463 2011-07-25 Andreas Schwab <schwab@redhat.com>
44465 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
44466 __n bigger than INT_MAX+1.
44467 (__strncmp_g): Likewise.
44469 2011-07-23 Ulrich Drepper <drepper@gmail.com>
44471 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
44472 * libio/stido.h: Likewise.
44474 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
44476 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
44479 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
44480 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
44481 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
44482 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
44483 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
44486 * scripts/test-installation.pl: Don't expect libnss_test1 to be
44489 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
44491 (_dl_x86_64_save_sse): Likewise.
44493 2011-07-22 Ulrich Drepper <drepper@gmail.com>
44495 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
44497 (_dl_x86_64_save_sse): Likewise.
44499 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
44501 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
44503 2011-07-21 Andreas Schwab <schwab@redhat.com>
44505 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
44507 (_dl_x86_64_save_sse): Use correct AVX check.
44509 2011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
44511 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
44512 bug in strncpy/strncat.
44513 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
44515 2011-07-21 Ulrich Drepper <drepper@gmail.com>
44517 * string/tester.c (test_strcat): Add tests for different alignments
44518 of source and destination.
44519 (test_strncat): Likewise.
44521 2011-07-20 Ulrich Drepper <drepper@gmail.com>
44524 * posix/glob.c (glob): Check passed in values before using them in
44525 expressions to avoid some overflows.
44526 (glob_in_dir): Likewise.
44529 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
44530 check for AVX enablement so that we don't crash with old kernels and
44532 * elf/tst-audit4.c: Add same checks here.
44533 * elf/tst-audit6.c: Likewise.
44535 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
44537 2011-07-09 Andreas Schwab <schwab@linux-m68k.org>
44539 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
44541 2011-07-20 Ulrich Drepper <drepper@gmail.com>
44543 * po/cs.po: Update from translation team.
44544 * po/bg.po: Likewise.
44546 2011-07-12 Marek Polacek <mpolacek@redhat.com>
44548 * misc/sys/cdefs.h: Add support for const attribute.
44549 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
44550 to gnu_dev_{major,minor,makedev} functions.
44552 2011-07-20 Marek Polacek <mpolacek@redhat.com>
44554 * intl/dcigettext.c (get_output_charset): Add missing bracket.
44556 2011-07-20 Andreas Schwab <schwab@redhat.com>
44558 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
44561 2011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
44563 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
44564 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
44565 register in order to avoid conflicts with the soft frame pointer
44566 being held in r11 when necessary.
44567 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
44568 (INTERNAL_VSYSCALL_NCS): Likewise.
44570 2011-07-14 Marek Polacek <mpolacek@redhat.com>
44572 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
44573 * elf/dl-fini.c (_dl_fini): Adjust caller.
44574 * elf/dl-close.c (_dl_close_worker): Likewise.
44575 * sysdeps/generic/ldsodefs.h: Adjust declaration.
44577 2011-07-15 Marek Polacek <mpolacek@redhat.com>
44579 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
44580 "aux_cache->nlibs < 0".
44582 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
44583 in the reload-count case.
44585 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
44587 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
44588 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
44589 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
44590 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
44591 * sysdeps/x86_64/multiarch/strcat.S: New file.
44592 * sysdeps/x86_64/multiarch/strncat.S: New file.
44593 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
44594 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
44595 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
44596 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
44597 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
44598 (USE_AS_STRCAT): Define.
44599 Add strcat and strncat support.
44600 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
44601 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
44602 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
44603 * string/strncat.c: Update.
44604 (USE_AS_STRNCAT): Define.
44605 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
44606 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
44608 * sysdeps/x86_64/multiarch/init-arch.h
44609 (bit_Prefer_PMINUB_for_stringop): New.
44610 (index_Prefer_PMINUB_for_stringop): Likewise.
44611 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
44612 bit_Prefer_PMINUB_for_stringop.
44614 2011-07-19 Ulrich Drepper <drepper@gmail.com>
44616 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
44618 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
44619 of casting of buffer.
44620 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
44621 buffer32 and buffer64.
44622 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
44623 writes instead of casting of buffer.
44624 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
44626 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
44629 2011-07-19 Andreas Schwab <schwab@redhat.com>
44631 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
44633 2011-07-19 Ulrich Drepper <drepper@gmail.com>
44635 * nscd/nscd.c (termination_handler): Don't do anything for a database
44636 if it has not yet been initialized.
44638 2011-07-18 Ulrich Drepper <drepper@gmail.com>
44640 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
44642 2011-07-15 Marek Polacek <mpolacek@redhat.com>
44644 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
44646 2011-07-18 Ulrich Drepper <drepper@gmail.com>
44648 * po/nl.po: Update from translation team.
44649 * po/sv.po: Likewise.
44651 2011-07-16 Roland McGrath <roland@hack.frob.com>
44653 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
44654 now disallowed by GCC.
44656 * configure.in (use-default-link): Default to yes if a test -shared
44657 link meets our qualifications.
44658 * configure: Regenerated.
44660 * config.make.in (output-format): New variable.
44661 * configure.in: Check for ld --print-output-format support.
44662 * configure: Regenerated.
44663 * Makerules ($(common-objpfx)format.lds)
44664 [$(output-format) != unknown]: Just use $(output-format),
44665 instead of the linker-script munging.
44667 2011-07-14 Roland McGrath <roland@hack.frob.com>
44669 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
44670 of $(common-objpfx)shlib.lds.
44671 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
44673 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
44674 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
44676 * configure.in (-z relro check): Adjust test code to add a large
44677 writable data section after it.
44678 * configure: Regenerated.
44680 2011-07-11 Roland McGrath <roland@hack.frob.com>
44682 * configure.in (-z relro check): Fix test code to make the variable
44684 * configure: Regenerated.
44686 2011-07-11 Ulrich Drepper <drepper@gmail.com>
44688 * nscd/nscd.h (struct traced_file): Define.
44689 (struct database_dyn): Remove inotify_descr, reset_res, and filename
44690 elements. Add traced_files.
44691 (inotify_fd): Declare.
44692 (register_traced_file): Declare.
44693 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
44694 (inotify_fd): Export.
44695 (resolv_conf_descr): Remove.
44696 (nscd_init): Move inotify descriptor creation to main.
44697 Don't register files for notification here.
44698 (register_traced_file): New function.
44699 (invalidate_cache): Don't use reset_res to determine whether to call
44700 res_init, go through the list of registered files.
44701 (main_loop_poll): The inotify descriptors are now stored in the
44702 structures for the traced files.
44703 (main_loop_epoll): Likewise
44704 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
44705 to __nss_disable_nscd.
44706 * nscd/cache.c (prune_cache): There is no single inotify descriptor
44707 for a database anymore. Check the records for all the registered
44709 * nss/Makefile (libnss_files-routines): Add files-init.
44710 (libnss_db-routines): Add db-init.
44711 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
44712 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
44713 * nss/nss_db/db-init.c: New file.
44714 * nss/nss_files/files-init.c: New file.
44715 * nss/nsswitch.c (nss_load_library): New function. Broken out of
44716 __nss_lookup_function.
44717 (__nss_lookup_function): Call nss_load_library.
44718 (nss_load_all_libraries): New function.
44719 (__nss_disable_nscd): Take parameter with callback function for files
44720 to register. Set is_nscd. Load all the DSOs for the NSS modules
44721 used for the cached services.
44722 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
44723 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
44724 options for features to all the files in nscd.
44726 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
44728 2011-07-10 Roland McGrath <roland@hack.frob.com>
44730 * csu/elf-init.c (__libc_csu_init): Comment typo.
44732 2011-07-09 Ulrich Drepper <drepper@gmail.com>
44734 * po/pl.po: Update from translation team.
44735 * po/ja.po: Likewise.
44736 * po/ru.po: Likewise.
44737 * po/ko.po: Likewise.
44738 * po/fr.po: Likewise.
44740 2011-07-09 Roland McGrath <roland@hack.frob.com>
44742 * configure.in (.ctors/.dtors header and trailer check):
44743 Use an empirical test on a built program.
44744 * configure: Regenerated.
44746 * configure.in (-z relro check): Use an empirical test on a built DSO.
44747 Detect, but do not require, on ia64.
44748 * configure: Regenerated.
44750 * configure.in (READELF): Find it with AC_CHECK_TOOL.
44751 Update tests that use readelf to use $READELF instead.
44752 * configure: Regenerated.
44754 2011-07-08 Ulrich Drepper <drepper@gmail.com>
44756 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
44757 if the result is not used.
44759 2011-07-05 Andreas Jaeger <aj@suse.de>
44762 * stdlib/tst-strtod.c: Add testcase.
44764 2011-07-07 Ulrich Drepper <drepper@gmail.com>
44766 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
44767 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
44768 The latter has a higher limit. Take additional parameter to pass to
44770 (__pathconf): Pass file to __statfs_link_max.
44771 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
44773 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
44777 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
44778 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
44780 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
44781 (__statfs_filesize_max): Likewise.
44782 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
44784 2011-07-05 Andreas Jaeger <aj@suse.de>
44786 * resolv/res_comp.c (dn_skipname): Remove unused variable.
44788 2011-07-06 Marek Polacek <mpolacek@redhat.com>
44790 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
44792 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
44795 2011-07-04 H.J. Lu <hongjiu.lu@intel.com>
44797 * Makefile (strop-tests): Add strncat.
44798 * string/test-strncat.c: New file.
44800 2011-06-30 Marek Polacek <mpolacek@redhat.com>
44802 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
44804 2011-06-21 Andreas Jaeger <aj@suse.de>
44806 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
44807 Copy rule from iconvdata/Makefile.
44809 2011-07-06 Ulrich Drepper <drepper@gmail.com>
44812 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
44813 but no long options are defined, just return 'W'.
44815 2011-06-22 Marek Polacek <mpolacek@redhat.com>
44818 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
44820 2011-07-06 Ulrich Drepper <drepper@gmail.com>
44822 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
44824 (innetgr): Likewise.
44826 2011-07-05 Roland McGrath <roland@hack.frob.com>
44828 * config.make.in (install_root): Default to $(DESTDIR).
44830 2011-07-05 Ulrich Drepper <drepper@gmail.com>
44832 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
44834 2011-07-02 Roland McGrath <roland@hack.frob.com>
44836 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
44838 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
44839 containing directory rather than embedding absolute directory names.
44841 * scripts/check-local-headers.sh: Rewritten using awk.
44842 Match by word, not by line. Print error messages for matches.
44843 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
44845 * Makerules [shlib-lds-flags empty]:
44846 ($(common-objpfx)libc_pic.opts): New target.
44847 ($(common-objpfx)libc_pic.os.clean): New target.
44848 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
44850 * config.make.in (OBJCOPY): New variable.
44851 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
44852 * configure: Regenerated.
44854 * config.make.in (use-default-link): New variable.
44855 * configure.in (use_default_link): Grok --with-default-link to set it.
44856 * configure: Regenerated.
44857 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
44858 (shlib-lds, shlib-lds-flags): Define to empty.
44860 * Makerules (shlib-lds): New variable.
44861 (shlib-lds-flags): New variable.
44862 (build-shlib, build-moduile, build-module-asneeded): Use it.
44863 ($(common-objpfx)libc.so): Use $(shlib-lds).
44864 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
44865 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
44867 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
44868 DT_FLAGS/DT_FLAGS_1 with zero flags.
44870 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
44871 linker script munging.
44873 2011-07-02 Ulrich Drepper <drepper@gmail.com>
44875 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
44877 * crypt/sha512.c (sha512_process_block): Perform total addition using
44878 128-bit if possible.
44879 (__sha512_finish_ctx): Likewise.
44880 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
44882 * crypt/sha256.c (SWAP64): Define.
44883 (sha256_process_block): Perform total addition using 64-bit if
44885 (__sha256_finish_ctx): Likewise.
44887 2011-07-01 Ulrich Drepper <drepper@gmail.com>
44889 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
44890 * nscd/initgrcache.c (addinitgroupsX): Likewise.
44891 * nscd/hstcache.c (cache_addhst): Likewise.
44892 * nscd/grpcache.c (cache_addgr): Likewise.
44893 * nscd/aicache.c (addhstaiX): Likewise
44894 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
44896 2011-07-01 Thorsten Kukuk <kukuk@suse.de>
44898 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
44899 * nscd/initgrcache.c (addinitgroupsX): Likewise.
44900 * nscd/hstcache.c (cache_addhst): Likewise.
44901 * nscd/grpcache.c (cache_addgr): Likewise.
44902 * nscd/aicache.c (addhstaiX): Likewise
44904 2011-07-01 Andreas Schwab <schwab@redhat.com>
44906 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
44907 domain only when needed.
44909 2011-06-30 Andreas Schwab <schwab@redhat.com>
44911 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
44912 is always restored.
44914 2011-06-29 Ulrich Drepper <drepper@gmail.com>
44916 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
44917 are re-adding the entry.
44918 * nscd/servicescache.c (cache_addserv): Likewise.
44920 2011-06-30 Aurelien Jarno <aurelien@aurel32.net>
44922 * sysdeps/generic/dl-irel.h: fix protection against multiple
44924 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
44926 2011-06-28 Ulrich Drepper <drepper@gmail.com>
44929 * malloc/memusage.sh: Fix quoting in message.
44930 * debug/xtrace.sh: Likewise.
44932 * configure.in: Remove support for --experimental-malloc option, make
44934 * config.make.in: Likewise.
44935 * malloc/Makefile: Likewise.
44937 2011-06-27 Andreas Schwab <schwab@redhat.com>
44939 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
44940 two-byte characters.
44942 2011-06-27 Roland McGrath <roland@hack.frob.com>
44944 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
44945 AC_CACHE_CHECK invocation.
44946 * configure: Regenerated.
44948 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
44950 2011-06-27 Ulrich Drepper <drepper@gmail.com>
44953 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
44954 bit from old_res_options.
44956 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
44958 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
44959 value type for setfct.
44961 2011-06-23 H.J. Lu <hongjiu.lu@intel.com>
44963 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
44964 __gettimeofday instead of gettimeofday.
44966 2011-06-26 Ulrich Drepper <drepper@gmail.com>
44968 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
44970 2011-06-24 H.J. Lu <hongjiu.lu@intel.com>
44972 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
44974 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
44977 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
44979 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
44980 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
44981 strcpy-sse2-unaligned strncpy-sse2-unaligned
44982 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
44983 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
44984 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
44985 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
44986 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
44987 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
44988 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
44989 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
44990 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
44991 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
44992 (STRCPY): Support SSE2 and SSSE3 versions.
44994 2011-06-24 Ulrich Drepper <drepper@gmail.com>
44997 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
44998 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
44999 kernels which artificially limit size of requests.
45001 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
45003 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
45004 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
45005 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
45006 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
45007 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
45008 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
45009 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
45010 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
45011 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
45012 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
45013 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
45014 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
45015 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
45016 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
45017 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
45018 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
45019 Enable unaligned load optimization for Intel Core i3, i5 and i7
45021 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
45023 (index_Fast_Unaligned_Load): Define.
45024 (HAS_FAST_UNALIGNED_LOAD): Define.
45026 2011-06-23 Marek Polacek <mpolacek@redhat.com>
45028 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
45030 2011-06-22 Ulrich Drepper <drepper@gmail.com>
45033 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
45034 until it is clear that the information is realy needed.
45035 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
45037 2011-06-22 Andreas Schwab <schwab@redhat.com>
45039 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
45041 2011-06-22 Ulrich Drepper <drepper@gmail.com>
45043 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
45044 /sys/devices/system/cpu/online if it is usable.
45046 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
45047 reading the information from the /proc filesystem to once a second.
45049 2011-06-21 Andreas Jaeger <aj@suse.de>
45051 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
45052 NULL after inclusion of kernel headers.
45054 2011-06-21 Ulrich Drepper <drepper@gmail.com>
45056 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
45057 calls to internal_setent.
45060 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
45061 addresses using gethostbyname4_r ignore IPv4 addresses.
45063 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
45064 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
45066 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
45068 2011-06-20 David S. Miller <davem@davemloft.net>
45070 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
45072 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
45074 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
45075 (elf_irel): Use it.
45076 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
45077 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
45078 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
45079 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
45080 * sysdeps/x86_64/dl-irel.h: Likewise.
45082 * elf/dl-runtime.c: Use elf_ifunc_invoke.
45083 * elf/dl-sym.c: Likewise.
45085 2011-06-15 Ulrich Drepper <drepper@gmail.com>
45087 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
45088 need to dereference resplen2.
45090 2011-06-14 Andreas Schwab <schwab@redhat.com>
45092 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
45094 2011-06-15 Ulrich Drepper <drepper@gmail.com>
45096 * Makeconfig: Define vardbdir and inst_vardbdir.
45097 * nss/Makefile: Add rules to install db-Makefile.
45099 * nss/nss_db/db-XXX.c: Cleanup.
45101 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
45102 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
45104 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
45105 * nss/makedb.c: Implement -g option to specify that value strings
45106 are generated and should not be added to table iterated over for
45108 * nss/nss_db/db-initgroups.c: New file.
45110 * nss/getent.c: Add support for initgroups lookups through getgrouplist
45113 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
45114 (internal_getgrouplist): Adjust to name change.
45115 Update use_initgroups_entry if this is not the first call.
45116 * nss/databases.def: Add initgroups entry.
45118 * nss/makedb.c (compute_tables): Check result of multiple hash table
45119 sizes to minimize maximum chain length.
45121 2011-06-14 Ulrich Drepper <drepper@gmail.com>
45123 * Versions.def: Add entry for libnss_db.
45124 * shlib-versions: Likewise.
45125 * nss/Makefile: Add rules to build libnss_db.
45126 * nss/Versions: Add libnss_db information. Organize libnss_files
45128 * nss/db-Makefile: Add gshadow support. Change rules for the new
45129 makedb progra. Some minor improvements to generate smaller files.
45130 * nss/nss_db/nss_db.h: Move NSS database header data structures to
45132 * nss/makedb.c: ...here.
45133 Improve database format to be smaller and require less memory at
45135 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
45137 * nss/nss_db/db-netgrp.c: Likewise.
45138 * nss/nss_db/db-open.c: Likewise.
45139 * nss/nss_files/flies-XXX.x: Adjust comments.
45140 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
45141 * nss/nss_files/files-grp.c: Likewise.
45142 * nss/nss_files/files-hosts.c: Likewise.
45143 * nss/nss_files/files-network.c: Likewise.
45144 * nss/nss_files/files-proto.c: Likewise.
45145 * nss/nss_files/files-pwd.c: Likewise.
45146 * nss/nss_files/files-rpc.c: Likewise.
45147 * nss/nss_files/files-service.c: Likewise.
45148 * nss/nss_files/files-sgrp.c: Likewise.
45149 * nss/nss_files/files-spwd.c: Likewise.
45150 * nss/nss_db/db-alias.c: Removed.
45151 * nss/nss_db/dummy-db.h: Removed.
45153 2011-06-02 Ulrich Drepper <drepper@gmail.com>
45155 * nss/makedb.c: Rewritten to not use database library.
45156 * nss/Makefile: Update to build new makedb program.
45158 2011-06-14 Andreas Jaeger <aj@suse.de>
45160 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
45161 memset declaration.
45163 2011-06-10 Andreas Schwab <schwab@redhat.com>
45165 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
45168 2011-06-10 Roland McGrath <roland@hack.frob.com>
45170 * Makerules (shlib.lds): Fail if the linker script comes out empty.
45171 * elf/Makefile ($(objpfx)ld.so): Likewise.
45173 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
45174 Don't list ld.so twice in dependencies.
45176 * posix/bug-regex31.c: Include <stdlib.h>.
45178 * nscd/hstcache.c (cache_addhst): Remove unused variable.
45180 * nis/nss_compat/compat-spwd.c
45181 (getspent_next_nss_netgr): Remove unused variable.
45182 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
45184 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
45185 nonmembers" output to use the right array.
45187 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
45189 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
45191 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
45192 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
45193 * catgets/gencat.c (read_input_file): Likewise.
45194 * locale/programs/locarchive.c (enlarge_archive): Likewise.
45196 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
45197 variable definition inside #if's controlling its use.
45199 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
45201 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
45203 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
45205 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
45208 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
45210 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
45211 * configure: Regenerated.
45213 * Makerules: Revert last change.
45214 * elf/Makefile: Likewise.
45216 2011-06-09 Roland McGrath <roland@hack.frob.com>
45218 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
45219 * elf/Makefile ($(objpfx)librtld.os): Likewise.
45220 (reloc-link): Likewise.
45222 2011-06-09 Ulrich Drepper <drepper@gmail.com>
45224 * elf/Makefile: Add rules to build pldd.
45225 * elf/pldd.c: New file.
45226 * elf/pldd-xx.c: New file.
45228 2011-06-07 Ulrich Drepper <drepper@gmail.com>
45230 * version.h: Update for 2.15 development version.
45232 2011-06-07 David S. Miller <davem@davemloft.net>
45234 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
45236 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
45237 elf_machine_lazy_rel): Likewise.
45238 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
45239 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
45240 elf_machine_lazy_rel): Likewise.
45241 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
45242 dl_hwcap via passed in argument.
45243 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
45246 2011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
45248 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
45250 2011-06-06 Roland McGrath <roland@hack.frob.com>
45253 * manual/fdl-1.1.texi: New file, verbatim from:
45254 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
45255 * manual/lgpl-2.1.texi: New file, verbatim from:
45256 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
45257 * manual/Makefile (licenses): New variable, list those new file names.
45259 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
45261 * manual/fdl.texi: File removed.
45262 * manual/lesser.texi: File removed.
45263 * manual/libc.texinfo (Copying, Documentation License):
45264 Use new @include file names, put @appendix directive before @include.
45266 2011-06-04 Jakub Jelinek <jakub@redhat.com>
45269 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
45270 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
45271 (mq_open): Add __NTH.
45273 2011-06-02 H.J. Lu <hongjiu.lu@intel.com>
45275 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
45276 Assume Intel Core i3/i5/i7 processor if AVX is available.
45278 2011-05-31 Ulrich Drepper <drepper@gmail.com>
45280 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
45283 2011-05-31 Andreas Schwab <schwab@redhat.com>
45285 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
45286 memory. Use alloca_account. Fix memory leak when retrying.
45288 2011-05-31 Ulrich Drepper <drepper@gmail.com>
45290 * version.h (RELEASE): Bump for 2.14 release.
45291 * include/features.h (__GLIBC_MINOR__): Bump to 14.
45293 * config.make.in (RANLIB): Remove entry.
45295 2011-05-30 Ulrich Drepper <drepper@gmail.com>
45297 * po/Makefile (po-sed-cmd): Add ksh to extensions.
45298 (libc.pot): Work around missing support for .ksh extension in xgettext.
45301 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
45302 if both request failed.
45303 (send_dg): In case of server errors clear resplen or *resplen2.
45306 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
45307 when there are multiple maps.
45308 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
45309 (_dl_fini): Remove test here.
45311 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
45313 2011-05-29 Ulrich Drepper <drepper@gmail.com>
45316 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
45317 bit from old_res_options.
45318 (gaih_inet): Likewise.
45321 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
45324 * resolv/res_init.c (res_setoptions): Make the code more compact.
45327 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
45331 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
45333 * malloc/malloc.h: Mark malloc hook variables as deprecated.
45336 * malloc/malloc.h: Declare malloc hook variables as volatile.
45338 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
45342 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
45343 raise in the comment.
45344 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
45345 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
45346 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
45348 2011-05-28 Ulrich Drepper <drepper@gmail.com>
45351 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
45352 grow the buffers more if it already has to be sufficient.
45353 (build_wcs_upper_buffer): Likewise.
45354 * posix/regexec.c (check_matching): Likewise.
45355 (clean_state_log_if_needed): Likewise.
45356 (extend_buffers): Don't enlarge buffers beyond size of the input
45358 Patches mostly by Emil Wojak <emil@wojak.eu>.
45359 * posix/bug-regex32.c: New file.
45360 * posix/Makefile (tests): Add bug-regex32.
45362 * locale/findlocale.c (_nl_find_locale): Return right away if
45363 _nl_explode_name failed.
45364 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
45366 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
45368 * debug/xtrace.sh: Unify messages.
45369 * malloc/memusage.sh: Likewise.
45372 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
45373 time symbol from vDSO. Substitute with vsyscall if not available.
45374 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
45377 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
45378 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
45379 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
45380 Add sendmmsg and internal_sendmmsg.
45381 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
45382 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
45383 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
45385 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
45386 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
45387 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
45389 2011-05-27 Ulrich Drepper <drepper@gmail.com>
45392 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
45393 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
45395 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
45399 * iconvdata/Makefile (tests): Add bug-iconv9.
45400 * iconvdata/bug-iconv9.c: New file.
45402 2011-05-27 Andreas Schwab <schwab@redhat.com>
45405 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
45407 2011-05-25 Jakub Jelinek <jakub@redhat.com>
45409 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
45410 (struct user_regs_struct): Change intcs field back to cs.
45412 2011-05-25 Ulrich Drepper <drepper@gmail.com>
45414 * po/ja.po: Update from translation team.
45416 2011-05-23 Ulrich Drepper <drepper@gmail.com>
45419 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
45420 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
45422 2011-05-20 Andreas Schwab <schwab@redhat.com>
45424 * stdlib/longlong.h: Update from GCC.
45426 2011-05-23 Andreas Schwab <schwab@redhat.com>
45428 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
45430 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
45431 Add parameter name.
45432 (__sysconf): Pass it down.
45434 2011-05-22 Ulrich Drepper <drepper@gmail.com>
45437 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
45439 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
45440 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
45441 add in in __libc_use_alloca calls. Adjust callers.
45442 (glob): Use malloc in some situations.
45444 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
45445 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
45448 2011-05-21 Ulrich Drepper <drepper@gmail.com>
45450 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
45451 and CLOCK_BOOTTIME_ALARM.
45454 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
45457 * string/_strerror.c (__strerror_r): Print negative errors as signed
45461 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
45462 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
45463 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
45465 * configure.in: Fix typo in redirection and correct removal of test
45466 files in two cases.
45469 * locale/setlocale.c (new_composite_name): Fix test to check for
45470 identical name of all categories.
45473 * libio/filedoalloc.c (local_isatty): New function.
45474 (_IO_file_doallocate): Use local_isatty.
45475 * stdio-common/perror.c (perror): In case a new stream is used
45476 forward the stream error.
45477 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
45480 2011-05-20 Ulrich Drepper <drepper@gmail.com>
45483 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
45485 * include/alloca.h (extend_alloca_account): Define.
45488 * posix/regex.h: Fix comments with documentation of user-accessible
45489 fields after compilation and describe correct free'ing of pattern
45490 after re_compile_pattern.
45491 Patch by Reuben Thomas <rrt@sc3d.org>.
45493 2011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
45495 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
45496 and -mno-altivec to prevent the compiler from using Altivec and/or
45497 VSX instructions when the corresponding registers are not available.
45499 2011-05-19 Andreas Schwab <schwab@redhat.com>
45501 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
45503 2011-05-19 Ulrich Drepper <drepper@gmail.com>
45505 * libio/freopen.c (freopen): Use __dup2, not dup2.
45506 * libio/freopen64.c (freopen64): Likewise.
45508 2011-05-17 H.J. Lu <hongjiu.lu@intel.com>
45511 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
45512 * math/Makefile (tests): Add test-powl.
45513 (CFLAGS-test-powl.c): Define.
45514 * math/test-powl.c: New file.
45516 2011-05-16 H.J. Lu <hongjiu.lu@intel.com>
45518 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
45520 2011-05-17 Ulrich Drepper <drepper@gmail.com>
45523 * iconvdata/gb18030.c: Update to GB18020-2005.
45525 2011-05-16 Ulrich Drepper <drepper@gmail.com>
45527 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
45528 RE_SYNTAX_POSIX_AWK): Update to match recent development.
45529 Patch by Aharon Robbins <arnold@skeeve.com>.
45532 * stdlib/putenv.c (putenv): Don't always create copy of the variable
45536 * misc/pselect.c (__pselect): Handle timeout value errors hidden
45537 through underflows.
45540 * misc/error.c (error_at_line): Ensure file_name and old_file_name
45541 point to strings before performing equality test for error_one_per_line
45545 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
45548 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
45549 (struct user_fpregs_struct): Avoid __uint*_t types.
45552 * malloc/mtrace.c (tr_where): Add additional parameter to point to
45553 symbol info. Use it instead of calling _dl_addr locally.
45554 (lock_and_info): New function.
45555 (tr_freehook): Call lock_and_info and pass symbol info as additional
45556 parameter to tr_where.
45557 (tr_mallochook): Likewise.
45558 (tr_reallochook): Likewise.
45559 (tr_memalignhook): Likewise.
45561 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
45562 used and couldn't be at all thread-safe.
45564 2011-05-15 Ulrich Drepper <drepper@gmail.com>
45566 * libio/freopen.c (freopen): Don't close old file descriptor
45567 before the new one is opened. Instead dup the new file descriptor
45568 to the old one after the new stream is created.
45569 * libio/freopen64.c (freopen64): Likewise.
45570 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
45571 * libio/fileops.c (_IO_new_file_close_it): Handle new
45572 _IO_FLAGS2_NOCLOSE flag.
45573 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
45574 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
45575 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
45576 _IO_FLAGS2_NOCLOSE flag.
45577 * include/unistd.h: Add hidden_proto for dup3.
45578 Define __have_dup3.
45579 * io/dup3.c: Define hidden symbol.
45580 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
45583 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
45584 when an incomplete long option is used.
45585 * posix/tst-getopt_long1.c: New file.
45586 * posix/Makefile (tests): Add tst-getopt_long1.
45589 * scripts/config.guess: Update from autoconf-2.68.
45590 * scripts/config.sub: Likewise.
45593 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
45595 (has_cpuclock): ...this. New function.
45596 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
45597 macro here based on has_cpuclock code.
45600 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
45601 First byte (not low byte) is now always NUL.
45602 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
45604 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
45605 Use non-cancelable interfaces.
45608 * locale/iso-639.def: Add entry for Sorani.
45611 * include/stdlib.h: Move include protection to the right place.
45612 Define abort_msg_s. Declare __abort_msg with it.
45613 * stdlib/abort.c (__abort_msg): Adjust type.
45614 * assert/assert.c (__assert_fail_base): New function. Majority
45615 of code from __assert_fail. Allocate memory for __abort_msg with
45617 (__assert_fail): Now call __assert_fail_base.
45618 * assert/assert-perr.c: Remove bulk of implementation. Use
45619 __assert_fail_base.
45620 * include/assert.hL Declare __assert_fail_base.
45621 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
45623 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
45625 2011-05-14 Ulrich Drepper <drepper@gmail.com>
45629 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
45630 until all modules are registered in the DTV.
45631 * elf/Makefile: Add rules to build and run tst-tls19.
45632 * elf/tst-tls19.c: New file.
45633 * elf/tst-tls19mod1.c: New file.
45634 * elf/tst-tls19mod2.c: New file.
45635 * elf/tst-tls19mod3.c: New file.
45636 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
45639 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
45643 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
45644 two-byte sequence errors.
45645 * iconvdata/Makefile (tests): Add bug-iconv8.
45646 * iconvdata/bug-iconv8.c: New file.
45649 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
45652 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
45655 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
45656 (dummy_getcfa): New function.
45657 (init): Get _Unwind_GetCFA address, use dummy if not found.
45658 (backtrace_helper): In recursion check, also check whether CFA changes.
45659 (__backtrace): Completely initialize arg.
45661 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
45662 storing incomplete byte sequence in state object. Avoid testing for
45663 guaranteed too small input if we know there is enough data available.
45665 2011-05-11 Andreas Schwab <schwab@redhat.com>
45667 * Makeconfig (+link-pie): Indent.
45668 * Rules (binaries-pie): Define if $(have-fpie) and
45670 (binaries-shared): Also filter out $(binaries-pie).
45671 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
45672 * nscd/Makefile (others-pie): Add nscd.
45673 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
45674 ($(objpfx)nscd): Remove command override.
45675 * login/Makefile (others-pie): Add pt_chown.
45676 ($(objpfx)pt_chown): Remove command override.
45677 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
45678 remove command overrides.
45680 2011-05-13 Ulrich Drepper <drepper@gmail.com>
45682 * libio/tst_putwc.c: Fix error messages.
45685 * libio/fileops.c (_IO_new_file_close_it): Always flush when
45686 currently writing and seek to current position when not.
45687 * libio/Makefile (tests): Add bug-fclose1.
45688 * libio/bug-fclose1.c: New file.
45690 2011-05-12 Ulrich Drepper <drepper@gmail.com>
45693 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
45694 don't set DF_1_NODELETE here.
45695 (do_lookup_x): When entering new entry test for copy relocation
45696 and if necessary set DF_1_NODELETE flag.
45697 * elf/tst-unique4.cc: New file.
45698 * elf/tst-unique4.h: New file.
45699 * elf/tst-unique4lib.cc: New file.
45700 * elf/Makefile: Add rules to build and run tst-unique4.
45701 Patch by Piotr Bury <pbury@goahead.com>.
45703 2011-05-11 Ulrich Drepper <drepper@gmail.com>
45706 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
45709 * misc/mntent_r.c (addmntent): Flush the stream after the output
45712 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
45713 (is_trusted_path_normalize): Skip initial colon. Append slash
45714 to empty buffer. Duplicate is_trusted_path code but allow
45715 constructed patch to be prefix.
45716 (is_dst): Allow $ORIGIN followed by /.
45717 (_dl_dst_substitute): Correct clearing of check_for_trusted.
45718 Correct testing of result of is_trusted_path_normalize
45719 (decompose_rpath): Fix warning.
45721 2011-05-10 Ulrich Drepper <drepper@gmail.com>
45724 * grp/initgroups.c (internal_getgrouplist): When we found the service
45725 list through the initgroups entry in nsswitch.conf do not always
45726 continue on a successful lookup. Don't always use the
45727 __nss_group_database value if it is set.
45728 * nss/nsswitch.conf (initgroups): Change action for successful db
45729 lookup to continue for compatibility.
45731 2011-05-09 Ulrich Drepper <drepper@gmail.com>
45734 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
45736 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
45738 * iconvdata/tst-tables.sh: Likewise.
45739 * iconvdata/cp770.c: New file.
45740 * iconvdata/cp771.c: New file.
45741 * iconvdata/cp772.c: New file.
45742 * iconvdata/cp773.c: New file.
45743 * iconvdata/cp774.c: New file.
45744 * iconvdata/testdata/CP770: New file.
45745 * iconvdata/testdata/CP770..UTF8: New file.
45746 * iconvdata/testdata/CP771: New file.
45747 * iconvdata/testdata/CP771..UTF8: New file.
45748 * iconvdata/testdata/CP772: New file.
45749 * iconvdata/testdata/CP772..UTF8: New file.
45750 * iconvdata/testdata/CP773: New file.
45751 * iconvdata/testdata/CP773..UTF8: New file.
45752 * iconvdata/testdata/CP774: New file.
45753 * iconvdata/testdata/CP774..UTF8: New file.
45755 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
45757 * iconvdata/gen-8bit-gap.sh: Likewise.
45758 * iconvdata/gen-8bit.sh: Likewise.
45760 * locale/iso-639.def: Add ary entry.
45763 * locale/C-translit.h.in: Add U20A1 transliteration.
45766 * locale/iso-639.def: Add wae entry.
45767 Patch by Kevin Bortis <bortis@translate-wae.ch>.
45770 * locale/programs/localedef.c (construct_output_path): Use ssize_t
45774 * locale/C-translit.h.in: Add entry for U20B9.
45775 Patch by pravin.d.s@gmail.com.
45777 2011-05-08 Ulrich Drepper <drepper@gmail.com>
45780 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
45781 ENAMETOOLONG use generic getcwd.
45782 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
45783 in rtld. Use *stat64.
45784 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
45785 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
45786 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
45787 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
45788 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
45789 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
45790 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
45791 __fstatat64 macros.
45792 * include/dirent.h: Add libc_hidden_proto for rewinddir.
45793 * dirent/rewinddir.c: Add libc_hidden_def.
45794 * sysdeps/mach/hurd/rewinddir.c: Likewise.
45795 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
45797 * include/dirent.h (__alloc_dir): Add flags parameter.
45798 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
45799 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
45801 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
45802 from fdopendir if O_CLOEXEC is already set.
45804 2011-03-15 Alan Modra <amodra@gmail.com>
45806 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
45807 l_tls_firstbyte_offset non-zero. Save padding offset in
45808 l_tls_firstbyte_offset for later use.
45809 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
45810 freeing static tls block.
45812 2011-03-05 Jonathan Nieder <jrnieder@gmail.com>
45814 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
45815 where #ifdef was intended. The intent is to prevent ARG_MAX from
45816 being defined by the kernel headers.
45818 2011-05-07 Ulrich Drepper <drepper@gmail.com>
45821 * resolv/resolv.h: Define RES_NOTLDQUERY.
45822 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
45823 no-tld-query and set RES_NOTLDQUERY.
45824 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
45825 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
45826 modern BIND to search name as TLD unless forbidden.
45828 2011-05-07 Petr Baudis <pasky@suse.cz>
45829 Ulrich Drepper <drepper@gmail.com>
45832 * elf/dl-load.c (fillin_rpath): Move trusted path check...
45833 (is_trusted_path): ...to here.
45834 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
45835 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
45836 using is_trusted_path_normalize() in setuid scripts.
45838 2011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
45840 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
45841 __BEGIN/__END_DECLS.
45843 2011-05-06 Ulrich Drepper <drepper@gmail.com>
45845 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
45846 NSS_STATUS_NOTFOUND if no record was found.
45848 2011-05-05 Andreas Schwab <schwab@redhat.com>
45850 * sunrpc/Makefile (headers): Add rpc/netdb.h.
45851 (headers-not-in-tirpc): Remove rpc/netdb.h
45852 * resolv/netdb.h: Revert last change.
45854 2011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
45856 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
45857 circular dependency between libgcc.a and libc.a.
45859 2011-05-05 Andreas Schwab <schwab@redhat.com>
45861 * resolv/netdb.h: Don't include <rpc/netdb.h>.
45862 * nis/Makefile: Don't install rpcsvc/*.
45863 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
45864 instead of <rpc/types.h>.
45865 (MAXHOSTNAMELEN): Define.
45867 2011-05-03 Andreas Schwab <schwab@redhat.com>
45869 * elf/ldconfig.c (add_dir): Don't crash on empty path.
45871 2011-04-28 Maciej Babinski <mbabinski@google.com>
45874 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
45875 gethostbyname4_r when IPv6 results are possible.
45877 2011-05-02 Ulrich Drepper <drepper@gmail.com>
45880 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
45881 _PC_PIPE_BUF handling.
45883 2011-04-30 Bruno Haible <bruno@clisp.org>
45886 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
45887 * resolv/netdb.h (getnameinfo): Change type of flags parameter
45889 * inet/getnameinfo.c (getnameinfo): Likewise.
45891 2011-04-29 Ulrich Drepper <drepper@gmail.com>
45893 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
45894 to groups setting in database lookup.
45895 * nss/nsswitch.conf: Add initgroups entry.
45897 2011-04-22 Ulrich Drepper <drepper@gmail.com>
45900 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
45902 Patch by Eric Blake <eblake@redhat.com>.
45904 2011-04-20 H.J. Lu <hongjiu.lu@intel.com>
45906 * sunrpc/Makefile (need-export-routines): Add svc_run.
45907 (routines): Remove svc_run.
45908 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
45909 * sunrpc/clnt_perr.c (clnt_perrno): Export.
45910 * sunrpc/svc_run.c (svc_run): Likewise.
45911 * sunrpc/svc_udp.c (svcudp_create): Likewise.
45913 2011-04-21 Ulrich Drepper <drepper@gmail.com>
45915 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
45916 problem in reallocation in last patch.
45918 2011-04-20 Ulrich Drepper <drepper@gmail.com>
45920 * sunrpc/Makefile: Move inclusion of Rules.
45922 2011-04-19 Ulrich Drepper <drepper@gmail.com>
45924 * nss/nss_files/files-initgroups.c: New file.
45925 * nss/Makefile (libnss_files-routines): Add files-initgroups.
45926 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
45927 _nss_files_initgroups_dyn.
45929 2011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
45931 * elf/elf.h (R_ARM_IRELATIVE): Define.
45933 2011-04-19 Ulrich Drepper <drepper@gmail.com>
45935 * po/ru.po: Update from translation team.
45937 2011-04-17 Ulrich Drepper <drepper@gmail.com>
45939 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
45942 2011-02-06 Mike Frysinger <vapier@gentoo.org>
45945 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
45946 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
45947 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
45948 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
45949 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
45951 2011-03-28 Andreas Schwab <schwab@linux-m68k.org>
45953 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
45955 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
45956 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
45957 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
45959 2011-04-17 Ulrich Drepper <drepper@gmail.com>
45962 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
45964 * stdlib/bug-getcontext.c: New file.
45965 * stdlib/Makefile: Add rules to build and run bug-getcontext.
45967 2011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
45969 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
45970 instructions into .machine "z9-109".
45971 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
45972 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
45974 2011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
45976 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
45977 between environment variables and auxiliary vector.
45979 2011-04-16 Ulrich Drepper <drepper@gmail.com>
45981 * Makefile: Add rules to build linkobj/libc.so.
45982 * include/libc-symbols.h: Define libc_hidden_nolink.
45983 * include/rpc/auth.h: Mark functions which are to be hidden.
45984 * include/rpc/auth_des.h: Likewise.
45985 * include/rpc/auth_unix.h: Likewise.
45986 * include/rpc/clnt.h: Likewise.
45987 * include/rpc/des_crypt.h: Likewise.
45988 * include/rpc/key_prot.h: Likewise.
45989 * include/rpc/pmap_clnt.h: Likewise.
45990 * include/rpc/pmap_prot.h: Likewise.
45991 * include/rpc/pmap_rmt.h: Likewise.
45992 * include/rpc/rpc_msg.h: Likewise.
45993 * include/rpc/svc.h: Likewise.
45994 * include/rpc/svc_auth.h: Likewise.
45995 * include/rpc/xdr.h: Likewise.
45996 * nis/Makefile: Link all DSOs against linkobj/libc.so.
45997 * nss/Makefile: Likewise.
45998 * sunrpc/Makefile: Don't install headers. Build library with normal
45999 entry points. Don't build rpcinfo. Link RPC tests appropriately.
46000 * sunrpc/auth_des.c: Hide exported symbols by default, export some
46001 for the compat linking library. Remove use of INTDEF/INTUSE.
46002 * sunrpc/auth_none.c: Likewise.
46003 * sunrpc/auth_unix.c: Likewise.
46004 * sunrpc/authdes_prot.c: Likewise.
46005 * sunrpc/authuxprot.c: Likewise.
46006 * sunrpc/clnt_gen.c: Likewise.
46007 * sunrpc/clnt_perr.c: Likewise.
46008 * sunrpc/clnt_raw.c: Likewise.
46009 * sunrpc/clnt_simp.c: Likewise.
46010 * sunrpc/clnt_tcp.c: Likewise.
46011 * sunrpc/clnt_udp.c: Likewise.
46012 * sunrpc/clnt_unix.c: Likewise.
46013 * sunrpc/des_crypt.c: Likewise.
46014 * sunrpc/des_soft.c: Likewise.
46015 * sunrpc/get_myaddr.c: Likewise.
46016 * sunrpc/key_call.c: Likewise.
46017 * sunrpc/key_prot.c: Likewise.
46018 * sunrpc/netname.c: Likewise.
46019 * sunrpc/pm_getmaps.c: Likewise.
46020 * sunrpc/pm_getport.c: Likewise.
46021 * sunrpc/pmap_clnt.c: Likewise.
46022 * sunrpc/pmap_prot.c: Likewise.
46023 * sunrpc/pmap_prot2.c: Likewise.
46024 * sunrpc/pmap_rmt.c: Likewise.
46025 * sunrpc/publickey.c: Likewise.
46026 * sunrpc/rpc_cmsg.c: Likewise.
46027 * sunrpc/rpc_common.c: Likewise.
46028 * sunrpc/rpc_dtable.c: Likewise.
46029 * sunrpc/rpc_prot.c: Likewise.
46030 * sunrpc/rpc_thread.c: Likewise.
46031 * sunrpc/rtime.c: Likewise.
46032 * sunrpc/svc.c: Likewise.
46033 * sunrpc/svc_auth.c: Likewise.
46034 * sunrpc/svc_authux.c: Likewise.
46035 * sunrpc/svc_raw.c: Likewise.
46036 * sunrpc/svc_run.c: Likewise.
46037 * sunrpc/svc_simple.c: Likewise.
46038 * sunrpc/svc_tcp.c: Likewise.
46039 * sunrpc/svc_udp.c: Likewise.
46040 * sunrpc/svc_unix.c: Likewise.
46041 * sunrpc/svcauth_des.c: Likewise.
46042 * sunrpc/xcrypt.c: Likewise.
46043 * sunrpc/xdr.c: Likewise.
46044 * sunrpc/xdr_array.c: Likewise.
46045 * sunrpc/xdr_float.c: Likewise.
46046 * sunrpc/xdr_intXX_t.c: Likewise.
46047 * sunrpc/xdr_mem.c: Likewise.
46048 * sunrpc/xdr_rec.c: Likewise.
46049 * sunrpc/xdr_ref.c: Likewise.
46050 * sunrpc/xdr_sizeof.c: Likewise.
46051 * sunrpc/xdr_stdio.c: Likewise.
46053 2011-04-10 Ulrich Drepper <drepper@gmail.com>
46056 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
46057 * sysdeps/ia64/dl-tls.h: Likewise.
46058 * sysdeps/powerpc/dl-tls.h: Likewise.
46059 * sysdeps/s390/dl-tls.h: Likewise.
46060 * sysdeps/sh/dl-tls.h: Likewise.
46061 * sysdeps/sparc/dl-tls.h: Likewise.
46062 * sysdeps/x86_64/dl-tls.h: Likewise.
46063 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
46065 2011-03-14 Andreas Schwab <schwab@redhat.com>
46067 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
46068 rpath element also skip the following colon.
46069 (expand_dynamic_string_token): Add is_path parameter and pass
46070 down to DL_DST_REQUIRED and _dl_dst_substitute.
46071 (decompose_rpath): Call expand_dynamic_string_token with
46072 non-zero is_path. Ignore empty rpaths.
46073 (_dl_map_object_from_fd): Call expand_dynamic_string_token
46076 2011-04-08 Andreas Schwab <schwab@linux-m68k.org>
46078 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
46081 2011-04-09 Ulrich Drepper <drepper@gmail.com>
46084 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
46085 Patch by Filipe David Manana <fdmanana@apache.org>.
46087 2011-04-07 Andreas Schwab <schwab@redhat.com>
46089 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
46090 Maintain aligned stack.
46091 (CHECK_RSP): Remove unused macro.
46093 2011-04-03 Ulrich Drepper <drepper@gmail.com>
46095 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
46096 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
46098 2011-04-02 Ulrich Drepper <drepper@gmail.com>
46100 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
46102 * include/features.h: Mention __USE_XOPEN2K8 in comment.
46104 2011-03-26 H.J. Lu <hongjiu.lu@intel.com>
46107 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
46108 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
46109 * sysdeps/x86_64/memmove.c: New file.
46110 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
46111 (memcpy): Renamed to ...
46112 (__new_memcpy): This.
46113 (memcpy): Provide GLIBC_2_14 memcpy.
46114 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
46115 (memcpy): Provide GLIBC_2_2_5 memcpy.
46117 2011-04-01 Ulrich Drepper <drepper@gmail.com>
46120 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
46122 2011-03-30 Andreas Schwab <schwab@redhat.com>
46124 * misc/syncfs.c: New file.
46125 * misc/Makefile (routines): Add syncfs.
46126 * posix/unistd.h: Declare syncfs.
46127 * sysdeps/unix/syscalls.list: Add syncfs.
46129 2011-04-01 Andreas Schwab <schwab@redhat.com>
46131 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
46133 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
46134 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
46135 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
46136 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
46137 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
46138 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
46139 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
46141 2011-04-01 Ulrich Drepper <drepper@gmail.com>
46143 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
46144 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
46145 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
46146 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
46147 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
46148 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
46149 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
46151 * io/Makefile: Compile fallocate.c, fallocate64.c, and
46152 sync_file_range.c with -fexceptions.
46153 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
46154 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
46155 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
46156 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
46157 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
46158 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
46159 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
46160 sync_file_range as cancellation point
46161 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
46162 now a wrapper around __call_sync_file_range with cancellation handling.
46163 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
46164 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
46165 function name to __call_sync_file_range.
46166 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
46167 Add call_sync_file_range.
46169 2011-04-01 Andreas Schwab <schwab@redhat.com>
46171 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
46174 2011-04-01 Ulrich Drepper <drepper@gmail.com>
46176 * iconv/iconv.h: Fix typo in comment.
46177 * io/fcntl.h: Likewise.
46178 * libio/stdio.h: Likewise.
46179 * posix/spawn.h: Likewise.
46180 * posix/unistd.h: Likewise.
46181 * stdlib/stdlib.h: Likewise.
46182 * time/time.h: Likewise.
46183 * wcsmbs/wchar.h: Likewise.
46185 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
46186 open_by_handle): Add.
46187 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
46188 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
46189 Augment a few comments.
46190 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
46191 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
46192 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
46193 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
46194 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
46195 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
46198 * io/fcntl.h (AT_EMPTY_PATH): Define.
46200 2011-03-30 Ulrich Drepper <drepper@gmail.com>
46202 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
46203 * sysdeps/unix/sysv/linux/bits/time.h: New file.
46204 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
46206 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
46207 * Versions.def: Add GLIBC_2.14.
46208 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
46211 2011-03-22 Ulrich Drepper <drepper@gmail.com>
46213 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
46215 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
46217 2011-03-20 H.J. Lu <hongjiu.lu@intel.com>
46220 * string/test-strncmp.c (do_page_test): New function.
46221 (check2): Likewise.
46222 (test_main): Call check2.
46223 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
46225 2011-03-20 Ulrich Drepper <drepper@gmail.com>
46228 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
46229 Handle cache information in CPU leaf 4.
46230 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
46232 2011-03-18 Ulrich Drepper <drepper@gmail.com>
46235 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
46236 character representation.
46237 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
46239 2011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
46241 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
46242 END(__isnan) to END(__isnanf) to match function entry point/label
46243 EALIGN(__isnanf,...).
46245 2011-03-10 Jakub Jelinek <jakub@redhat.com>
46247 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
46249 2011-03-10 Ulrich Drepper <drepper@gmail.com>
46252 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
46253 copy from the symbol referenced in the relocation to initialize the
46255 Patch by Piotr Bury <pbury@goahead.com>.
46256 * elf/Makefile: Add rules to build and tst-unique3.
46257 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
46258 * elf/tst-unique3.cc: New file.
46259 * elf/tst-unique3.h: New file.
46260 * elf/tst-unique3lib.cc: New file.
46261 * elf/tst-unique3lib2.cc: New file.
46263 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
46265 2011-03-10 Mike Frysinger <vapier@gentoo.org>
46267 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
46268 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
46271 2011-03-06 Ulrich Drepper <drepper@gmail.com>
46273 * elf/dl-load.c (_dl_map_object): If we are looking for the first
46274 to-be-loaded object along a path to loader is ld.so.
46276 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
46277 Ulrich Drepper <drepper@gmail.com>
46279 * sysdeps/x86_64/memset.S: After aligning destination, code
46280 branches to different locations depending on the value of
46281 misalignment, when multiarch is enabled. Fix this.
46283 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
46285 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
46286 Set _x86_64_preferred_memory_instruction for AMD processsors.
46287 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
46288 Set bit_Prefer_SSE_for_memop for AMD processors.
46290 2011-03-04 Ulrich Drepper <drepper@gmail.com>
46292 * libio/fmemopen.c (fmemopen): Optimize a bit.
46294 2011-03-03 Andreas Schwab <schwab@redhat.com>
46296 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
46298 2011-03-03 Roland McGrath <roland@redhat.com>
46300 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
46302 2011-02-28 Aurelien Jarno <aurelien@aurel32.net>
46304 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
46305 __bzero_ultra1 instead of __memset_ultra1.
46307 2011-02-23 Andreas Schwab <schwab@redhat.com>
46308 Ulrich Drepper <drepper@gmail.com>
46311 * include/link.h (struct link_map): Add l_orig_initfini.
46312 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
46313 returning unsuccessfully.
46314 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
46315 close of a file loaded at startup, restore the original l_initfini
46317 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
46318 list, store the pointer.
46319 * elf/Makefile ($(objpfx)noload-mem): New rule.
46320 (noload-ENV): Define.
46321 (tests): Add $(objpfx)noload-mem.
46322 * elf/noload.c: Include <memcheck.h>.
46323 (main): Call mtrace. Close all opened handles.
46325 2011-02-17 Andreas Schwab <schwab@redhat.com>
46328 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
46329 dependencies are missing.
46331 2011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
46333 Fix __if_freereq crash: Unlike the generic version which uses free,
46335 * sysdeps/mach/hurd/ifreq.h: New file.
46337 2011-01-27 Petr Baudis <pasky@suse.cz>
46338 Ulrich Drepper <drepper@gmail.com>
46341 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
46342 to extend_alloca().
46343 * stdio-common/bug23.c: New file.
46344 * stdio-common/Makefile (tests): Add bug23.
46346 2010-09-28 Andreas Schwab <schwab@redhat.com>
46347 Ulrich Drepper <drepper@gmail.com>
46350 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
46351 before performing relro protection. At old place add assertion
46352 to make sure nothing changed.
46354 2011-02-17 Nathan Sidwell <nathan@codesourcery.com>
46355 Glauber de Oliveira Costa <glommer@gmail.com>
46357 * elf/elf.h: Add new ARM TLS relocs.
46359 2011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
46361 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
46362 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
46364 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
46366 * sysdeps/wordsize-64/tst-writev.c: New file.
46368 2011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
46370 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
46371 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
46372 insns in _dl_start to prevent a TOC reference before relocs are
46375 2011-02-15 Ulrich Drepper <drepper@gmail.com>
46378 * Makeconfig: Remove RANLIB definition.
46379 * Makerules: Don't use RANLIB.
46380 * aclocal.m4: Remove ranlib test.
46381 * configure.in: No need to check for ranlib.
46382 * elf/rtld-Rules: Don't use RANLIB.
46384 2011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
46386 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
46388 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
46389 inclusion protection macro.
46391 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
46392 SIGRTMIN and SIGRTMAX and print information in that case only when
46393 SIGRTMIN is defined.
46395 2011-02-11 Jakub Jelinek <jakub@redhat.com>
46397 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
46398 arginfo fn returning -1.
46400 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
46401 and thousands string is zero terminated.
46403 2011-02-03 Andreas Schwab <schwab@redhat.com>
46405 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
46406 sysdeps/unix/sysv/linux/bits/socket.h.
46408 2011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
46410 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
46411 (__CPU_COUNT): Remove old macros.
46412 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
46413 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
46414 (__CPU_ALLOC, __CPU_FREE): Add macros.
46415 (__sched_cpualloc, __sched_cpufree): Add declarations.
46417 2011-02-05 Ulrich Drepper <drepper@gmail.com>
46419 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
46420 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
46421 * nscd/aicache.c (addhstaiX): Return timeout of added value.
46422 (readdhstai): Return value of addhstaiX call.
46423 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
46424 (addgrbyX): Return value returned by cache_addgr.
46425 (readdgrbyname): Return value returned by addgrbyX.
46426 (readdgrbygid): Likewise.
46427 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
46428 (addpwbyX): Return value returned by cache_addpw.
46429 (readdpwbyname): Return value returned by addhstbyX.
46430 (readdpwbyuid): Likewise.
46431 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
46432 (addservbyX): Return value returned by cache_addserv.
46433 (readdservbyname): Return value returned by addservbyX:
46434 (readdservbyport): Likewise.
46435 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
46436 (addhstbyX): Return value returned by cache_addhst.
46437 (readdhstbyname): Return value returned by addhstbyX.
46438 (readdhstbyaddr): Likewise.
46439 (readdhstbynamev6): Likewise.
46440 (readdhstbyaddrv6): Likewise.
46441 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
46442 (readdinitgroups): Return value returned by addinitgroupsX.
46443 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
46444 (prune_cache): Keep track of timeout value of re-added entries.
46445 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
46446 * nscd/nscd.h: Adjust prototypes of readd* functions.
46448 2011-02-04 Roland McGrath <roland@redhat.com>
46450 * nis/nis_server.c (nis_servstate): Use the right name for 0.
46451 (nis_stats): Likewise.
46452 * nis/nis_modify.c (nis_modify): Likewise.
46453 * nis/nis_remove.c (nis_remove): Likewise.
46454 * nis/nis_add.c (nis_add): Likewise.
46456 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
46458 * posix/fnmatch_loop.c: Add some consts.
46460 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
46462 2011-02-02 H.J. Lu <hongjiu.lu@intel.com>
46465 * config.make.in (config-cflags-novzeroupper): Define.
46466 * configure.in: Substitute libc_cv_cc_novzeroupper.
46467 * elf/Makefile (AVX-CFLAGS): Define.
46468 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
46469 (CFLAGS-tst-auditmod4a.c): Likewise.
46470 (CFLAGS-tst-auditmod4b.c): Likewise.
46471 (CFLAGS-tst-auditmod6b.c): Likewise.
46472 (CFLAGS-tst-auditmod6c.c): Likewise.
46473 (CFLAGS-tst-auditmod7b.c): Likewise.
46474 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
46476 2011-02-02 Ulrich Drepper <drepper@gmail.com>
46478 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
46479 function to the callback.
46480 Patch partly by Jiri Olsa <jolsa@redhat.com>.
46482 2011-02-02 Andreas Schwab <schwab@redhat.com>
46484 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
46487 2011-01-19 Ulrich Drepper <drepper@gmail.com>
46490 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
46492 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
46494 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
46497 * elf/Makefile: Add rules to build and run new test.
46498 * elf/tst-initorder.c: New file.
46499 * elf/tst-initorder.exp: New file.
46500 * elf/tst-initordera1.c: New file.
46501 * elf/tst-initordera2.c: New file.
46502 * elf/tst-initordera3.c: New file.
46503 * elf/tst-initordera4.c: New file.
46504 * elf/tst-initorderb1.c: New file.
46505 * elf/tst-initorderb2.c: New file.
46506 * elf/tst-order-a1.c: New file.
46507 * elf/tst-order-a2.c: New file.
46508 * elf/tst-order-a3.c: New file.
46509 * elf/tst-order-a4.c: New file.
46510 * elf/tst-order-b1.c: New file.
46511 * elf/tst-order-b2.c: New file.
46512 * elf/tst-order-main.c: New file.
46513 New test case by George Gensure <werkt0@gmail.com>.
46515 2010-10-01 Andreas Schwab <schwab@redhat.com>
46517 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
46518 decoding ACE if AI_CANONIDN.
46520 2011-01-18 Ulrich Drepper <drepper@gmail.com>
46522 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
46524 2011-01-17 Ulrich Drepper <drepper@gmail.com>
46526 * version.h (RELEASE): Bump for 2.13 release.
46527 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
46529 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
46531 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
46533 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
46534 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
46535 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
46536 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
46537 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
46538 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
46540 * posix/getconf.c: Update copyright year.
46541 * catgets/gencat.c: Likewise.
46542 * csu/version.c: Likewise.
46543 * debug/catchsegv.sh: Likewise.
46544 * debug/xtrace.sh: Likewise.
46545 * elf/ldconfig.c: Likewise.
46546 * elf/ldd.bash.in: Likewise.
46547 * elf/sprof.c (print_version): Likewise.
46548 * iconv/iconv_prog.c: Likewise.
46549 * iconv/iconvconfig.c: Likewise.
46550 * locale/programs/locale.c: Likewise.
46551 * locale/programs/localedef.c: Likewise.
46552 * malloc/memusage.sh: Likewise.
46553 * malloc/mtrace.pl: Likewise.
46554 * nscd/nscd.c (print_version): Likewise.
46555 * nss/getent.c: Likewise.
46557 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
46558 PF_CAIF, and PF_ALG.
46559 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
46561 2011-01-16 Andreas Schwab <schwab@linux-m68k.org>
46563 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
46564 (modules-names): Use them.
46565 (ifunc-test-modules, ifunc-pie-tests): Define.
46566 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
46567 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
46568 (test-extras): Likewise.
46569 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
46570 $(compile-command.c).
46571 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
46572 (all-built-dso): Define.
46573 (check-textrel.out, check-execstack.out): Depend on it.
46575 * configure.in: Don't override --enable-multi-arch.
46577 2011-01-15 Ulrich Drepper <drepper@gmail.com>
46580 * nscd/hstcache.c (tryagain): Define.
46581 (cache_addhst): Return tryagain not notfound for temporary errors.
46582 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
46585 2011-01-14 Ulrich Drepper <drepper@gmail.com>
46588 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
46589 to make the syscall.
46590 * sysdeps/unix/sysv/linux/setgroups.c: New file.
46593 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
46594 and fall back to matching as normal character if the string ends before
46595 the matching ']' is found. This is what POSIX requires.
46596 * posix/testfnm.c: Adjust test result.
46597 * posix/globtest.sh: Adjust test result. Add new test.
46598 * posix/tst-fnmatch.input: Likewise.
46599 * posix/tst-fnmatch2.c: Add new test.
46601 2010-12-28 Andreas Schwab <schwab@linux-m68k.org>
46603 * elf/Makefile (check-execstack): Revert last change. Depend on
46605 (check-execstack.h): New target.
46606 (generated): Add check-execstack.h.
46607 * elf/check-execstack.c: Include "check-execstack.h".
46608 (main): Revert last change.
46609 (handle_file): Return zero if GNU_STACK is absent and
46610 DEFAULT_STACK_PERMS doesn't include PF_X.
46612 2011-01-13 Ulrich Drepper <drepper@gmail.com>
46614 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
46615 in child fails because the descriptor is already closed.
46616 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
46617 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
46618 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
46621 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
46625 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
46626 temporary buffer used to handle multi lookups locally.
46627 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
46629 2011-01-12 Ulrich Drepper <drepper@gmail.com>
46631 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
46634 2011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
46636 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
46637 alignment for SSE2.
46639 2011-01-12 Ulrich Drepper <drepper@gmail.com>
46642 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
46643 characters. When rounding increased number of integer digits recompute
46645 * stdio-common/tst-grouping.c: New file.
46646 * stdio-common/Makefile: Add rules to build and run tst-grouping.
46648 2011-01-09 Ulrich Drepper <drepper@gmail.com>
46650 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
46651 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
46653 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
46655 * bits/select.h: Likewise.
46657 2011-01-08 Ulrich Drepper <drepper@gmail.com>
46659 * po/ja.po: Update from translation team.
46661 2011-01-04 David S. Miller <davem@sunset.davemloft.net>
46664 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
46665 implementation just like for lxstat, fxstatat, et al.
46667 2010-12-27 Jim Meyering <meyering@redhat.com>
46670 * posix/regexec.c (build_trtable): Return failure indication upon
46671 calloc failure. Otherwise, re_search_internal could infloop on OOM.
46673 2010-12-25 Ulrich Drepper <drepper@gmail.com>
46676 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
46677 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
46678 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
46679 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
46682 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
46685 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
46686 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
46688 2010-12-15 H.J. Lu <hongjiu.lu@intel.com>
46690 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
46691 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
46692 script has SORT_BY_INIT_PRIORITY.
46693 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
46694 NO_CTORS_DTORS_SECTIONS is defined.
46695 * elf/soinit.c: Likewise.
46696 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
46697 NO_CTORS_DTORS_SECTIONS is defined.
46698 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
46699 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
46700 * sysdeps/sh/init-first.c: Likewise.
46701 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
46703 2010-12-24 Ulrich Drepper <drepper@gmail.com>
46705 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
46706 always use the slow path.
46708 2010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
46710 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
46711 similar rule which adds the sysdep directories to the header search in
46712 order to pick up the correct platform stackinfo.h.
46713 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
46714 perform test if it is, otherwise return successfully without testing.
46715 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
46716 DEFAULT_STACK_PERMS define in stackinfo.h.
46717 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
46718 defined in stackinfo.h.
46719 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
46720 DEFAULT_STACK_PERMS defined in stackinfo.h.
46721 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
46722 * sysdeps/ia64/stackinfo.h: Likewise.
46723 * sysdeps/s390/stackinfo.h: Likewise.
46724 * sysdeps/sh/stackinfo.h: Likewise.
46725 * sysdeps/sparc/stackinfo.h: Likewise.
46726 * sysdeps/x86_64/stackinfo.h: Likewise.
46727 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
46728 PF_X for powerpc64. Retain PF_X for powerpc32.
46730 2010-12-19 Ulrich Drepper <drepper@gmail.com>
46732 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
46734 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
46735 GETDENTS_64BIT_ALIGNED.
46737 2010-12-14 Ulrich Drepper <dreper@gmail.com>
46739 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
46741 2010-12-10 Andreas Schwab <schwab@redhat.com>
46743 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
46746 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
46747 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
46749 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
46750 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
46752 2010-12-09 Ulrich Drepper <drepper@gmail.com>
46755 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
46758 2010-12-09 Jakub Jelinek <jakub@redhat.com>
46760 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
46762 2010-12-03 Ulrich Drepper <drepper@gmail.com>
46764 * po/it.po: Update from translation team.
46766 2010-12-01 H.J. Lu <hongjiu.lu@intel.com>
46768 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
46771 2010-11-30 Ulrich Drepper <drepper@gmail.com>
46773 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
46775 2010-11-24 Andreas Schwab <schwab@redhat.com>
46777 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
46779 (gaih_getanswer_slice): Likewise.
46781 2010-10-20 Jakub Jelinek <jakub@redhat.com>
46783 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
46785 2010-05-31 Petr Baudis <pasky@suse.cz>
46788 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
46789 silently even in the chroot mode.
46791 2010-11-22 Ulrich Drepper <drepper@gmail.com>
46793 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
46794 last patch a bit. Pretty printing
46796 2010-05-31 Petr Baudis <pasky@suse.cz>
46799 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
46800 initialization of skip_initgroups_dyn.
46802 2010-11-19 Ulrich Drepper <drepper@gmail.com>
46804 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
46805 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
46807 2010-11-16 Ulrich Drepper <drepper@gmail.com>
46809 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
46811 2010-11-11 Andreas Schwab <schwab@redhat.com>
46813 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
46814 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
46815 (tst-fnmatch-ENV): Set MALLOC_TRACE.
46816 ($(objpfx)tst-fnmatch-mem): New rule.
46817 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
46818 * posix/tst-fnmatch.c (main): Call mtrace.
46820 2010-11-11 H.J. Lu <hongjiu.lu@intel.com>
46822 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
46823 Support Intel processor model 6 and model 0x2c.
46825 2010-11-10 Luis Machado <luisgpm@br.ibm.com>
46827 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
46830 2010-11-09 H.J. Lu <hongjiu.lu@intel.com>
46833 * string/test-strncasecmp.c (check_result): New function.
46834 (do_one_test): Use it.
46835 (check1): New function.
46836 (test_main): Use it.
46837 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
46838 Support strcasecmp and strncasecmp.
46840 2010-11-08 Ulrich Drepper <drepper@gmail.com>
46843 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
46844 * sysdeps/x86_64/bits/byteswap.h: Likewise.
46846 2010-11-07 H.J. Lu <hongjiu.lu@intel.com>
46848 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
46850 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
46852 * sysdeps/x86_64/multiarch/bzero.S: New file.
46853 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
46854 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
46855 * sysdeps/x86_64/multiarch/memset.S: New file.
46856 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
46857 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
46858 Set bit_Prefer_SSE_for_memop for Intel processors.
46859 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
46861 (index_Prefer_SSE_for_memop): Define.
46862 (HAS_PREFER_SSE_FOR_MEMOP): Define.
46864 2010-11-04 Luis Machado <luisgpm@br.ibm.com>
46866 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
46867 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
46869 2010-11-03 H.J. Lu <hongjiu.lu@intel.com>
46872 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
46873 (__x86_64_raw_data_cache_size_half): Likewise.
46874 (__x86_64_raw_shared_cache_size): Likewise.
46875 (__x86_64_raw_shared_cache_size_half): Likewise.
46877 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
46878 (__x86_64_raw_data_cache_size_half): Likewise.
46879 (__x86_64_raw_shared_cache_size): Likewise.
46880 (__x86_64_raw_shared_cache_size_half): Likewise.
46881 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
46882 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
46883 and __x86_64_raw_shared_cache_size_half. Round
46884 __x86_64_data_cache_size_half, __x86_64_data_cache_size
46885 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
46886 to multiple of 256 bytes.
46888 2010-11-03 Ulrich Drepper <drepper@gmail.com>
46891 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
46892 of inacessible symlinks. Verify result of symlink before returning it.
46893 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
46894 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
46896 2010-10-28 Erich Ritz <erichritz@gmail.com>
46898 * math/math.h (isinf): Fix typo in comment.
46900 2010-11-01 Ulrich Drepper <drepper@gmail.com>
46902 * po/da.po: Update from translation team.
46904 2010-10-26 Ulrich Drepper <drepper@gmail.com>
46906 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
46907 is added to the list.
46909 2010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
46910 Ulrich Drepper <drepper@gmail.com>
46912 * elf/dl-object.c (_dl_new_object): Don't append the new object to
46913 the global list here. Move code to...
46914 (_dl_add_to_namespace_list): ...here. New function.
46915 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
46916 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
46917 * elf/dl-load.c (lose): Don't remove the element from the list.
46918 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
46919 (_dl_map_object): Likewise.
46921 2010-10-25 Ulrich Drepper <drepper@gmail.com>
46924 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
46925 into all bytes of SSE register.
46926 Patch by Richard Li <richardpku@gmail.com>.
46928 2010-10-24 Ulrich Drepper <drepper@gmail.com>
46931 * malloc/malloc.c (_int_free): Fill correct number of bytes when
46934 2010-10-20 Michael B. Brutman <brutman@us.ibm.com>
46936 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
46937 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
46938 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
46939 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
46940 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
46942 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
46944 2010-10-22 Andreas Schwab <schwab@redhat.com>
46946 * include/dlfcn.h (__RTLD_SECURE): Define.
46947 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
46948 mode & __RTLD_SECURE instead.
46949 (open_path): Rename preloaded parameter to secure.
46950 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
46951 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
46952 * elf/dl-deps.c (openaux): Likewise.
46953 * elf/rtld.c (struct map_args): Remove is_preloaded.
46954 (map_doit): Don't use it.
46955 (dl_main): Likewise.
46956 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
46957 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
46959 2010-09-09 Andreas Schwab <schwab@redhat.com>
46961 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
46962 (sysd-rules-targets): Remove duplicates.
46963 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
46964 rtld-%.$o dependency.
46966 2010-10-18 Andreas Schwab <schwab@redhat.com>
46968 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
46969 _dl_map_object do it.
46971 2010-10-19 Ulrich Drepper <drepper@gmail.com>
46973 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
46974 fast fma builtins, define the macros in the C99 standard.
46975 (FP_FAST_FMAF): Likewise.
46976 (FP_FAST_FMAL): Likewise.
46977 * sysdeps/x86_64/bits/mathdef.h: Likewise.
46979 * bits/mathdef.h: Update copyright year.
46980 * sysdeps/powerpc/bits/mathdef.h: Likewise.
46982 2010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
46984 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
46985 builtins, define the macros in the C99 standard.
46986 (FP_FAST_FMAF): Likewise.
46987 (FP_FAST_FMAL): Likewise.
46988 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
46990 (FP_FAST_FMAF): Likewise.
46992 2010-10-15 Jakub Jelinek <jakub@redhat.com>
46995 * math/libm-test.inc (fma_test): Some new testcases.
46996 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
46997 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
46998 y and infinite z. Do multiplication by C already in long double.
46999 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
47000 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
47001 y and infinite z. Do bitwise or of inexact bit into u.d.
47002 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
47003 * sysdeps/i386/fpu/s_fmaf.S: Removed.
47004 * sysdeps/i386/fpu/s_fma.S: Removed.
47005 * sysdeps/i386/fpu/s_fmal.S: Removed.
47007 2010-10-16 Jakub Jelinek <jakub@redhat.com>
47010 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
47011 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
47012 computation is not scheduled after fetestexcept. Fix value
47013 of minimum denormal long double.
47015 2010-10-14 Jakub Jelinek <jakub@redhat.com>
47018 * math/libm-test.inc (fma_test): Add some more tests.
47019 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
47022 2010-10-15 Andreas Schwab <schwab@redhat.com>
47024 * scripts/data/localplt-s390-linux-gnu.data: New file.
47025 * scripts/data/localplt-s390x-linux-gnu.data: New file.
47027 2010-10-13 Jakub Jelinek <jakub@redhat.com>
47030 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
47031 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
47033 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
47035 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
47036 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
47037 if one of x and y is very large and the other is subnormal.
47038 * sysdeps/s390/fpu/s_fmaf.c: New file.
47039 * sysdeps/s390/fpu/s_fma.c: New file.
47040 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
47041 * sysdeps/powerpc/fpu/s_fma.S: New file.
47042 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
47043 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
47044 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
47046 2010-10-12 Jakub Jelinek <jakub@redhat.com>
47049 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
47051 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
47052 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
47053 * sysdeps/i386/i686/multiarch/s_fma.c: Include
47054 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
47055 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
47056 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
47057 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
47059 2010-10-12 Ulrich Drepper <drepper@redhat.com>
47062 * posix/regcomp.c (parse_branch): One more memory leak plugged.
47063 * posix/bug-regex31.input: Add test case.
47065 2010-10-11 Ulrich Drepper <drepper@gmail.com>
47067 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
47068 * posix/bug-regex31.input: New file.
47071 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
47072 (parse_sub_exp): Fix last change, use postorder.
47074 * posix/bug-regex31.c: New file.
47075 * posix/Makefile: Add rules to build and run bug-regex31.
47077 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
47080 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
47083 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
47084 to have entries in sys_siglist.
47087 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
47090 2010-10-07 Jakub Jelinek <jakub@redhat.com>
47093 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
47094 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
47095 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
47096 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
47097 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
47098 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
47099 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
47100 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
47101 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
47102 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
47103 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
47104 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
47105 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
47106 * math/ftestexcept.c (fetestexcept): Likewise.
47107 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
47108 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
47109 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
47110 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
47111 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
47112 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
47113 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
47115 2010-10-11 Ulrich Drepper <drepper@gmail.com>
47118 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
47121 2010-10-06 Ulrich Drepper <drepper@gmail.com>
47123 * string/bug-strstr1.c: New file.
47124 * string/Makefile: Add rules to build and run bug-strstr1.
47126 2010-10-05 Eric Blake <eblake@redhat.com>
47129 * string/str-two-way.h (two_way_long_needle): Always clear memory
47130 when skipping input due to the shift table.
47132 2010-10-03 Ulrich Drepper <drepper@gmail.com>
47135 * malloc/mcheck.c: Handle large requests.
47138 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
47139 for strncmp and strncasecmp.
47140 * string/stratcliff.c: Add tests for strcmp and strncmp.
47141 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
47143 2010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
47145 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
47148 2010-09-30 Andreas Jaeger <aj@suse.de>
47150 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
47151 (CGROUP_SUPER_MAGIC): Define.
47152 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
47153 Handle btrfs and cgroup file systems.
47154 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
47157 2010-09-27 Luis Machado <luisgpm@br.ibm.com>
47159 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
47160 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
47162 2010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
47165 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
47166 trying to locate the ELF header.
47168 2010-09-27 Andreas Schwab <schwab@redhat.com>
47171 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
47172 Mask out sign-bit copies when constructing f_fsid.
47174 2010-09-24 Petr Baudis <pasky@suse.cz>
47176 * debug/stack_chk_fail_local.c: Add missing licence exception.
47177 * debug/warning-nop.c: Likewise.
47179 2010-09-15 Joseph Myers <joseph@codesourcery.com>
47181 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
47182 implementing getdents64 using getdents syscall, set d_type if
47183 __ASSUME_GETDENTS32_D_TYPE.
47185 2010-09-16 Andreas Schwab <schwab@redhat.com>
47187 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
47188 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
47190 2010-09-21 Ulrich Drepper <drepper@redhat.com>
47193 * posix/unistd.h: Undo change of feature selection for ftruncate from
47196 2010-09-20 Ulrich Drepper <drepper@redhat.com>
47198 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
47201 2010-09-20 Andreas Schwab <schwab@redhat.com>
47203 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
47205 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
47207 2010-09-14 Andreas Schwab <schwab@redhat.com>
47209 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
47210 variables after CHECK_SP call.
47211 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
47213 2010-09-13 Andreas Schwab <schwab@redhat.com>
47214 Ulrich Drepper <drepper@redhat.com>
47216 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
47217 re-relocationg ld.so.
47218 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
47219 _dl_init_paths call.
47220 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
47223 2010-09-14 Ulrich Drepper <drepper@redhat.com>
47225 * resolv/res_init.c (__res_vinit): Count the default server we added.
47227 2010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
47228 Ulrich Drepper <drepper@redhat.com>
47231 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
47232 (____longjmp_chk): Use %ebx for saving value across system call.
47235 2010-09-06 Andreas Schwab <schwab@redhat.com>
47237 * manual/Makefile: Don't mix pattern rules with normal rules.
47239 2010-09-05 Andreas Schwab <schwab@linux-m68k.org>
47241 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
47243 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
47244 * libio/iofopncook.c (_IO_cookie_init): Likewise.
47245 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
47246 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
47247 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
47250 2010-09-04 Ulrich Drepper <drepper@redhat.com>
47253 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
47254 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
47256 2010-09-02 Ulrich Drepper <drepper@redhat.com>
47258 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
47259 * sysdeps/x86_64/addmul_1.S: Likewise.
47260 * sysdeps/x86_64/lshift.S: Likewise.
47261 * sysdeps/x86_64/mul_1.S: Likewise.
47262 * sysdeps/x86_64/rshift.S: Likewise.
47263 * sysdeps/x86_64/sub_n.S: Likewise.
47264 * sysdeps/x86_64/submul_1.S: Likewise.
47266 2010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
47268 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
47269 Define __sched_param instead of SCHED_* and sched_param when
47270 <bits/sched.h> is included with __need_schedparam defined.
47271 * bits/sched.h [__need_schedparam]
47272 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
47273 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
47274 (__defined_schedparam): Define to 1.
47275 (__sched_param): New structure, identical to sched_param.
47276 (__need_schedparam): Undefine.
47278 2010-08-31 Mike Frysinger <vapier@gentoo.org>
47280 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
47281 (epoll_create1): Declare.
47283 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
47285 2010-08-31 Andreas Schwab <schwab@redhat.com>
47288 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
47289 shifting retval into place.
47291 2010-09-01 Ulrich Drepper <drepper@redhat.com>
47293 * nis/rpcsvc/nis.h: Update copyright notice.
47294 * nis/rpcsvc/nis.x: Likewise.
47295 * nis/rpcsvc/nis_callback.h: Likewise.
47296 * nis/rpcsvc/nis_callback.x: Likewise.
47297 * nis/rpcsvc/nis_object.x: Likewise.
47298 * nis/rpcsvc/nis_tags.h: Likewise.
47299 * nis/rpcsvc/yp.h: Likewise.
47300 * nis/rpcsvc/yp.x: Likewise.
47301 * nis/rpcsvc/ypupd.h: Likewise.
47302 * nis/yp_xdr.c: Likewise.
47303 * nis/ypupdate_xdr.c: Likewise.
47305 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
47306 mainly the body of pmap_getport. Add parameters to specify timeouts.
47307 (pmap_getport): Use __libc_rpc_getport.
47308 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
47309 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
47310 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
47312 2010-08-31 Andreas Schwab <schwab@linux-m68k.org>
47314 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
47317 2010-08-27 Roland McGrath <roland@redhat.com>
47319 * sysdeps/i386/i686/multiarch/Makefile
47320 (CFLAGS-varshift.c): New variable.
47322 2010-08-27 Ulrich Drepper <drepper@redhat.com>
47324 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
47325 * sysdeps/i386/i686/multiarch/varshift.c: New file.
47327 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
47329 * sysdeps/x86_64/strlen.S: Minimal code improvement.
47331 2010-08-26 H.J. Lu <hongjiu.lu@intel.com>
47333 * sysdeps/x86_64/strlen.S: Unroll the loop.
47334 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
47335 strlen-sse2 strlen-sse2-bsf.
47336 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
47337 __strlen_no_bsf if bit_Slow_BSF is set.
47338 (__strlen_sse42): Removed.
47339 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
47340 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
47342 2010-08-25 Roland McGrath <roland@redhat.com>
47344 * sysdeps/x86_64/multiarch/varshift.S: File removed.
47345 * sysdeps/x86_64/multiarch/varshift.c: New file.
47346 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
47347 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
47348 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
47349 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
47351 2010-08-25 H.J. Lu <hongjiu.lu@intel.com>
47353 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
47354 strlen-sse2 strlen-sse2-bsf.
47355 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
47356 __strlen_sse2_bsf if bit_Slow_BSF is unset.
47357 (__strlen_sse2): Removed.
47358 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
47359 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
47360 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
47361 bit_Slow_BSF for Atom.
47362 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
47363 (index_Slow_BSF): Define.
47364 (HAS_SLOW_BSF): Define.
47366 2010-08-25 Ulrich Drepper <drepper@redhat.com>
47369 * resolv/res_init.c (__res_vinit): When no server address at all
47370 is given default to loopback.
47372 2010-08-24 Roland McGrath <roland@redhat.com>
47374 * configure.in: Remove config-name.h generation.
47375 * configure: Regenerated.
47376 * config-name.in: File removed.
47377 * scripts/config-uname.sh: New file.
47378 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
47379 ($(objdir)config-name.h): New target.
47381 * sunrpc/rpc_parse.h: Avoid nested comment.
47383 2010-08-24 Richard Henderson <rth@redhat.com>
47384 Ulrich Drepper <drepper@redhat.com>
47385 H.J. Lu <hongjiu.lu@intel.com>
47387 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
47388 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
47389 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
47390 Replace _mm_srli_si128 with __m128i_shift_right. Replace
47391 _mm_alignr_epi8 with _mm_loadu_si128.
47392 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
47393 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
47394 (__m128i_shift_right): Removed.
47395 * sysdeps/i386/i686/multiarch/varshift.h: New file.
47396 * sysdeps/i386/i686/multiarch/varshift.S: New file.
47397 * sysdeps/x86_64/multiarch/varshift.h: New file.
47398 * sysdeps/x86_64/multiarch/varshift.S: New file.
47400 2010-08-21 Mike Frysinger <vapier@gentoo.org>
47402 * configure.in: Move assembler checks to before sysdep dir checking.
47404 2010-08-20 Petr Baudis <pasky@suse.cz>
47406 * LICENSES: Sync the sunrpc license.
47408 2010-08-19 Ulrich Drepper <drepper@redhat.com>
47410 * sunrpc/auth_des.c: Update copyright notice once again.
47411 * sunrpc/auth_none.c: Likewise.
47412 * sunrpc/auth_unix.c: Likewise.
47413 * sunrpc/authdes_prot.c: Likewise.
47414 * sunrpc/authuxprot.c: Likewise.
47415 * sunrpc/bindrsvprt.c: Likewise.
47416 * sunrpc/clnt_gen.c: Likewise.
47417 * sunrpc/clnt_perr.c: Likewise.
47418 * sunrpc/clnt_raw.c: Likewise.
47419 * sunrpc/clnt_simp.c: Likewise.
47420 * sunrpc/clnt_tcp.c: Likewise.
47421 * sunrpc/clnt_udp.c: Likewise.
47422 * sunrpc/clnt_unix.c: Likewise.
47423 * sunrpc/des_crypt.c: Likewise.
47424 * sunrpc/des_soft.c: Likewise.
47425 * sunrpc/get_myaddr.c: Likewise.
47426 * sunrpc/getrpcport.c: Likewise.
47427 * sunrpc/key_call.c: Likewise.
47428 * sunrpc/key_prot.c: Likewise.
47429 * sunrpc/openchild.c: Likewise.
47430 * sunrpc/pm_getmaps.c: Likewise.
47431 * sunrpc/pm_getport.c: Likewise.
47432 * sunrpc/pmap_clnt.c: Likewise.
47433 * sunrpc/pmap_prot.c: Likewise.
47434 * sunrpc/pmap_prot2.c: Likewise.
47435 * sunrpc/pmap_rmt.c: Likewise.
47436 * sunrpc/rpc/auth.h: Likewise.
47437 * sunrpc/rpc/auth_unix.h: Likewise.
47438 * sunrpc/rpc/clnt.h: Likewise.
47439 * sunrpc/rpc/des_crypt.h: Likewise.
47440 * sunrpc/rpc/key_prot.h: Likewise.
47441 * sunrpc/rpc/netdb.h: Likewise.
47442 * sunrpc/rpc/pmap_clnt.h: Likewise.
47443 * sunrpc/rpc/pmap_prot.h: Likewise.
47444 * sunrpc/rpc/pmap_rmt.h: Likewise.
47445 * sunrpc/rpc/rpc.h: Likewise.
47446 * sunrpc/rpc/rpc_des.h: Likewise.
47447 * sunrpc/rpc/rpc_msg.h: Likewise.
47448 * sunrpc/rpc/svc.h: Likewise.
47449 * sunrpc/rpc/svc_auth.h: Likewise.
47450 * sunrpc/rpc/types.h: Likewise.
47451 * sunrpc/rpc/xdr.h: Likewise.
47452 * sunrpc/rpc_clntout.c: Likewise.
47453 * sunrpc/rpc_cmsg.c: Likewise.
47454 * sunrpc/rpc_common.c: Likewise.
47455 * sunrpc/rpc_cout.c: Likewise.
47456 * sunrpc/rpc_dtable.c: Likewise.
47457 * sunrpc/rpc_hout.c: Likewise.
47458 * sunrpc/rpc_main.c: Likewise.
47459 * sunrpc/rpc_parse.c: Likewise.
47460 * sunrpc/rpc_parse.h: Likewise.
47461 * sunrpc/rpc_prot.c: Likewise.
47462 * sunrpc/rpc_sample.c: Likewise.
47463 * sunrpc/rpc_scan.c: Likewise.
47464 * sunrpc/rpc_scan.h: Likewise.
47465 * sunrpc/rpc_svcout.c: Likewise.
47466 * sunrpc/rpc_tblout.c: Likewise.
47467 * sunrpc/rpc_util.c: Likewise.
47468 * sunrpc/rpc_util.h: Likewise.
47469 * sunrpc/rpcinfo.c: Likewise.
47470 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
47471 * sunrpc/rpcsvc/key_prot.x: Likewise.
47472 * sunrpc/rpcsvc/klm_prot.x: Likewise.
47473 * sunrpc/rpcsvc/mount.x: Likewise.
47474 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
47475 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
47476 * sunrpc/rpcsvc/rex.x: Likewise.
47477 * sunrpc/rpcsvc/rstat.x: Likewise.
47478 * sunrpc/rpcsvc/rusers.x: Likewise.
47479 * sunrpc/rpcsvc/sm_inter.x: Likewise.
47480 * sunrpc/rpcsvc/spray.x: Likewise.
47481 * sunrpc/rpcsvc/yppasswd.x: Likewise.
47482 * sunrpc/rtime.c: Likewise.
47483 * sunrpc/svc.c: Likewise.
47484 * sunrpc/svc_auth.c: Likewise.
47485 * sunrpc/svc_authux.c: Likewise.
47486 * sunrpc/svc_raw.c: Likewise.
47487 * sunrpc/svc_run.c: Likewise.
47488 * sunrpc/svc_simple.c: Likewise.
47489 * sunrpc/svc_tcp.c: Likewise.
47490 * sunrpc/svc_udp.c: Likewise.
47491 * sunrpc/svc_unix.c: Likewise.
47492 * sunrpc/svcauth_des.c: Likewise.
47493 * sunrpc/xcrypt.c: Likewise.
47494 * sunrpc/xdr.c: Likewise.
47495 * sunrpc/xdr_array.c: Likewise.
47496 * sunrpc/xdr_float.c: Likewise.
47497 * sunrpc/xdr_mem.c: Likewise.
47498 * sunrpc/xdr_rec.c: Likewise.
47499 * sunrpc/xdr_ref.c: Likewise.
47500 * sunrpc/xdr_sizeof.c: Likewise.
47501 * sunrpc/xdr_stdio.c: Likewise.
47503 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
47506 2010-08-19 Andreas Schwab <schwab@redhat.com>
47508 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
47510 2010-08-19 Luis Machado <luisgpm@br.ibm.com>
47512 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
47513 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
47514 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
47515 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
47516 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
47517 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
47518 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
47519 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
47520 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
47521 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
47522 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
47523 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
47524 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
47525 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
47527 2010-07-26 Anton Blanchard <anton@samba.org>
47529 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
47530 * malloc/arena.c (heap_trim): Likewise.
47532 2010-08-16 Ulrich Drepper <drepper@redhat.com>
47534 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
47536 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
47537 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
47539 2010-08-12 H.J. Lu <hongjiu.lu@intel.com>
47541 * sysdeps/i386/elf/Makefile: New file.
47543 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
47545 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
47546 from fanotify_init.
47547 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
47548 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
47550 2010-08-15 Ulrich Drepper <drepper@redhat.com>
47552 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
47554 * sysdeps/multiarch/strcmp.S: Likewise.
47556 2010-08-14 Ulrich Drepper <drepper@redhat.com>
47558 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
47559 strncase_l-nonascii.
47560 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
47561 Add strncase_l-ssse3.
47562 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
47563 * sysdeps/x86_64/strcmp.S: Likewise.
47564 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
47565 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
47566 * sysdeps/x86_64/strncase.S: New file.
47567 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
47568 * sysdeps/x86_64/strncase_l.S: New file.
47569 * string/Makefile (strop-tests): Add strncasecmp.
47570 * string/test-strncasecmp.c: New file.
47572 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
47575 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
47576 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
47578 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
47580 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
47582 2010-08-12 Ulrich Drepper <drepper@redhat.com>
47584 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
47585 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
47586 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
47588 2010-05-01 Alan Modra <amodra@gmail.com>
47590 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
47591 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
47592 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
47593 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
47594 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
47595 tidying. Don't tail-call __sigjmp_save for static lib.
47596 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
47598 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
47599 (CALL_MCOUNT): Add eh info, and nop after bl.
47600 (TAIL_CALL_SYSCALL_ERROR): New macro.
47601 (PSEUDO_RET): Use it.
47602 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
47603 Correct save location of integer regs and cr.
47604 (_dl_profile_resolve): Correct cr save location. Delete nops
47605 after bl when SHARED. Reduce cfi size a little by better
47606 placement of cfi directives.
47607 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
47608 make a stack frame. Instead use parm save area as a temp.
47609 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
47610 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
47611 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
47612 Don't make a stack frame for parent, use parm save area.
47613 Increase child stack frame to 112 bytes. Don't save unused reg,
47614 and adjust reg usage. Set up cfi on error recovery and
47615 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
47616 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
47617 (__makecontext): Add dummy nop after jump to exit.
47618 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
47619 Use correct parm save area and cr save, reduce stack frame.
47620 Correct cfi for possible PSEUDO_RET frame setup.
47621 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
47622 Branch to local label emitted by PSEUDO_RET rather than
47625 2010-08-12 Andreas Schwab <schwab@redhat.com>
47628 * locale/programs/locale.c (print_assignment): New function.
47629 (show_locale_vars): Use it.
47631 2010-08-11 Ulrich Drepper <drepper@redhat.com>
47633 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
47635 (struct statfs64): Likewise.
47636 (_STATFS_F_FLAGS): Define.
47637 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
47638 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
47639 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
47640 (ST_VALID): Define locally.
47641 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
47642 __statvfs_getflags, use the provided value.
47643 * sysdeps/unix/sysv/linux/kernel-features.h: Define
47644 __ASSUME_STATFS_F_FLAGS.
47646 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
47648 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
47649 Add sys/fanotify.h.
47650 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
47651 fanotify_mask for GLIBC_2.13.
47652 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
47653 fanotify_init and fanotify_mark.
47654 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
47655 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
47657 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
47659 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
47660 prlimit64 for GLIBC_2.13.
47661 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
47663 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
47665 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
47666 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
47667 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
47668 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
47669 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
47671 * sysdeps/unix/sysv/linux/prlimit.c: New file.
47674 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
47675 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
47677 * nss/Makefile: Add rules to build and run tst-nss-test1.
47678 * shlib-versions: Add entry for libnss_test1.
47679 * nss/nss_test1.c: New file.
47680 * nss/tst-nss-test1.c: New file.
47682 * nss/nsswitch.c (__nss_database_custom): Define new variable.
47683 (__nss_configure_lookup): Set appropriate entry in
47684 __nss_configure_lookup to true.
47685 * nss/nsswitch.h: Define enum with indeces of databases in
47686 databases and __nss_database_custom arrays. Declare
47687 __nss_database_custom.
47688 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
47689 to avoid using nscd when custom rules are installed.
47690 * nss/getXXbyYY_r.c: Likewise.
47691 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
47693 * nss/nss_files/files-parse.c: Whitespace fixes.
47695 2010-08-09 Ulrich Drepper <drepper@redhat.com>
47698 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
47699 * posix/fnmatch_loop.c: Likewise.
47701 2010-07-17 Andi Kleen <ak@linux.intel.com>
47703 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
47704 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
47705 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
47706 * Versions.def [GLIBC_2.13]: Add.
47708 2010-08-06 Ulrich Drepper <drepper@redhat.com>
47710 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
47711 Also fail if tpwd after pwuid call is NULL.
47713 2010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
47715 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
47716 when converting to ms.
47718 2010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
47720 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
47721 EOPNOTSUPP errors with ENOTTY.
47722 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
47723 EOPNOTSUPP errors with ENOTTY.
47725 2010-07-31 Ulrich Drepper <drepper@redhat.com>
47727 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
47728 Add strcasecmp_l-ssse3.
47729 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
47731 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
47732 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
47733 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
47735 2010-07-30 Ulrich Drepper <drepper@redhat.com>
47737 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
47739 * string/Makefile (strop-tests): Add strcasecmp.
47740 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
47741 strcasecmp_l-nonascii.
47742 (gen-as-const-headers): Add locale-defines.sym.
47743 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
47744 * sysdeps/x86_64/strcasecmp.S: New file.
47745 * sysdeps/x86_64/strcasecmp_l.S: New file.
47746 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
47747 * sysdeps/x86_64/locale-defines.sym: New file.
47748 * string/test-strcasecmp.c: New file.
47750 * string/test-strcasestr.c: Test both ends of the range of characters.
47751 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
47753 2010-07-29 Roland McGrath <roland@redhat.com>
47756 * manual/locale.texi (Yes-or-No Questions): Fix example code.
47758 2010-07-27 Ulrich Drepper <drepper@redhat.com>
47760 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
47763 2010-07-27 Andreas Schwab <schwab@redhat.com>
47765 * manual/memory.texi (Malloc Tunable Parameters): Document
47768 2010-07-26 Roland McGrath <roland@redhat.com>
47771 * configure.in (-fgnu89-inline check): Set and substitute
47772 gnu89_inline, not libc_cv_gnu89_inline.
47773 * configure: Regenerated.
47774 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
47776 2010-07-26 Ulrich Drepper <drepper@redhat.com>
47778 * string/test-strnlen.c: New file.
47779 * string/Makefile (strop-tests): Add strnlen.
47780 * string/tester.c (test_strnlen): Add a few more test cases.
47781 * string/tst-strlen.c: Better error reporting.
47783 * sysdeps/x86_64/strnlen.S: New file.
47785 2010-07-24 Ulrich Drepper <drepper@redhat.com>
47787 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
47788 lower-latency instructions.
47790 2010-07-23 Ulrich Drepper <drepper@redhat.com>
47792 * string/test-strcasestr.c: New file.
47793 * string/test-strstr.c: New file.
47794 * string/Makefile (strop-tests): Add strstr and strcasestr.
47795 * string/str-two-way.h: Don't undefine MAX.
47796 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
47798 2010-07-21 Andreas Schwab <schwab@redhat.com>
47800 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
47801 strcasestr-nonascii.
47802 (CFLAGS-strcasestr-nonascii.c): Define.
47803 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
47804 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
47805 Remove unused attribute.
47807 2010-07-20 Roland McGrath <roland@redhat.com>
47809 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
47810 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
47811 ld.so.cache was broken. With it, there is no way to disable dsocaps
47812 like LD_HWCAP_MASK can disable hwcaps.
47814 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
47816 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
47818 2010-07-16 Ulrich Drepper <drepper@redhat.com>
47820 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
47821 call in strcasestr.
47822 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
47823 __strcasestr_sse42_nonascii.
47824 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
47825 strcasestr-nonascii.c.
47826 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
47828 2010-06-15 Luis Machado <luisgpm@br.ibm.com>
47830 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
47831 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
47832 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
47833 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
47835 2010-07-09 Ulrich Drepper <drepper@redhat.com>
47837 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
47840 2010-07-06 Andreas Schwab <schwab@redhat.com>
47843 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
47846 2010-07-06 Ulrich Drepper <drepper@redhat.com>
47848 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
47849 _PC_PIPE_BUF using F_GETPIPE_SZ.
47851 2010-07-05 Roland McGrath <roland@redhat.com>
47853 * manual/arith.texi (Rounding Functions): Fix rint description
47854 implicit in round description.
47856 2010-07-02 Ulrich Drepper <drepper@redhat.com>
47858 * elf/Makefile: Fix linking for a few tests to make recent linker
47861 2010-06-30 Andreas Schwab <schwab@redhat.com>
47863 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
47864 $(common-objpfx)libc_nonshared.a.
47866 2010-06-21 Luis Machado <luisgpm@br.ibm.com>
47868 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
47869 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
47870 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
47871 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
47872 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
47873 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
47874 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
47875 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
47876 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
47877 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
47878 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
47879 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
47880 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
47881 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
47882 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
47883 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
47884 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
47885 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
47886 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
47887 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
47888 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
47889 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
47890 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
47891 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
47892 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
47893 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
47894 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
47895 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
47896 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
47897 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
47898 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
47899 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
47900 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
47901 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
47902 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
47903 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
47904 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
47905 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
47906 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
47907 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
47908 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
47909 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
47910 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
47911 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
47912 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
47913 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
47914 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
47915 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
47917 2010-06-25 H.J. Lu <hongjiu.lu@intel.com>
47919 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
47920 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
47921 * string/memmove.c (memmove): Renamed to ...
47922 (MEMMOVE): ...this. Default to memmove.
47923 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
47924 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
47926 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
47927 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
47928 mempcpy-ssse3-back memmove-ssse3-back.
47929 * sysdeps/x86_64/multiarch/bcopy.S: New file .
47930 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
47931 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
47932 * sysdeps/x86_64/multiarch/memcpy.S: New file.
47933 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
47934 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
47935 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
47936 * sysdeps/x86_64/multiarch/memmove.c: New file.
47937 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
47938 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
47939 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
47940 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
47941 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
47942 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
47944 (index_Fast_Copy_Backward): Define.
47945 (HAS_ARCH_FEATURE): Define.
47946 (HAS_FAST_REP_STRING): Define.
47947 (HAS_FAST_COPY_BACKWARD): Define.
47949 2010-06-21 Andreas Schwab <schwab@redhat.com>
47951 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
47952 Restore proper fallback handling.
47954 2010-06-19 Ulrich Drepper <drepper@redhat.com>
47957 * posix/group_member.c (__group_member): Correct checking loop.
47959 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
47960 OOM in getpwuid_r correctly. Return error number when the caller
47961 should return, otherwise -1.
47962 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
47963 call returning > 0 value.
47964 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
47966 2010-06-07 Andreas Schwab <schwab@redhat.com>
47968 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
47969 libc_nonshared.a from targets in modules-names.
47971 2010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
47973 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
47976 2010-06-10 Luis Machado <luisgpm@br.ibm.com>
47978 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
47979 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
47980 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
47981 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
47983 2010-06-02 Andreas Schwab <schwab@redhat.com>
47985 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
47987 2010-06-14 Ulrich Drepper <drepper@redhat.com>
47989 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
47991 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
47992 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
47993 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
47994 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
47995 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
47996 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
47998 2010-06-14 Roland McGrath <roland@redhat.com>
48000 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
48002 2010-06-07 Jakub Jelinek <jakub@redhat.com>
48004 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
48005 __REDIRECT followed by __THROW.
48006 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
48007 * posix/getopt.h (getopt): Likewise.
48009 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
48011 * hurd/lookup-at.c (__file_name_lookup_at): Accept
48012 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
48013 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
48015 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
48016 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
48018 2010-05-28 Luis Machado <luisgpm@br.ibm.com>
48020 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
48022 2010-05-26 H.J. Lu <hongjiu.lu@intel.com>
48025 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
48026 Properly check family and model.
48028 2010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
48030 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
48032 2010-05-24 Luis Machado <luisgpm@br.ibm.com>
48034 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
48036 2010-05-21 Ulrich Drepper <drepper@redhat.com>
48038 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
48041 2010-05-19 Andreas Schwab <schwab@redhat.com>
48043 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
48046 2010-05-21 Andreas Schwab <schwab@redhat.com>
48048 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
48049 and internal_recvmmsg.
48050 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
48051 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
48052 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
48053 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
48055 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
48056 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
48057 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
48059 2010-05-20 Andreas Schwab <schwab@redhat.com>
48061 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
48063 2010-05-17 Luis Machado <luisgpm@br.ibm.com>
48065 POWER7 optimizations.
48066 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
48067 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
48069 2010-05-19 Ulrich Drepper <drepper@redhat.com>
48071 * version.h: Update for 2.13 development version.
48073 2010-05-12 Andrew Stubbs <ams@codesourcery.com>
48075 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
48076 exceptions. Return 0.
48078 2010-05-07 Roland McGrath <roland@redhat.com>
48080 * elf/ldconfig.c (main): Add a const.
48082 2010-05-06 Ulrich Drepper <drepper@redhat.com>
48084 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
48085 (args_options): Add no-idn option.
48086 (ahosts_keys_int): Add idn_flags to ai_flags.
48087 (parse_option): Handle 'i' option to clear idn_flags.
48089 * malloc/malloc.c (_int_free): Possible race in the most recently
48090 added check. Only act on the data if no current modification
48093 See ChangeLog.17 for earlier changes.