1 2014-06-26 Joseph Myers <joseph@codesourcery.com>
3 * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h
4 [__PIC__] (PSEUDO): Use name of _nocancel entry point in
5 corresponding .cpsetup call.
7 2014-06-26 Roland McGrath <roland@hack.frob.com>
9 * sysdeps/unix/sysv/linux/arm/libc-aeabi_read_tp.S: Moved ...
10 * sysdeps/arm/libc-aeabi_read_tp.S: ... here.
11 * sysdeps/arm/Makefile [$(subdir) = csu]
12 (aeabi_routines): Add aeabi_read_tp and libc-aeabi_read_tp here.
13 (static-only-routines): Add aeabi_read_tp here.
14 (shared-only-routines): Add libc-aeabi_read_tp here.
15 (CFLAGS-libc-start.c): Add -fexceptions here.
16 * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = csu]
17 (sysdep_routines, static-only-routines, shared-only-routines):
18 Don't add to these here.
19 (CFLAGS-libc-start.c): Likewise.
21 * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: Moved ...
22 * sysdeps/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
23 * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: Moved ...
24 * sysdeps/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
25 * sysdeps/arm/Makefile [$(subdir) = rt]
26 (librt-sysdep_routines, librt-shared-only-routines):
27 Append rt-aeabi_unwind_cpp_pr1 here.
28 * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = rt]
29 (librt-sysdep_routines, librt-shared-only-routines): Don't do it here.
30 * sysdeps/arm/nptl/Makefile [$(subdir) = nptl]
31 (libpthread-sysdep_routines, libpthread-shared-only-routines):
32 Append nptl-aeabi_unwind_cpp_pr1 here.
33 (tests): Filter out tst-cleanupx4 here.
34 * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = nptl]
35 (libpthread-sysdep_routines, libpthread-shared-only-routines, tests):
38 2014-06-26 Joseph Myers <joseph@codesourcery.com>
40 * scripts/list-sources.sh: Do not handle ports specially.
42 2014-06-26 Roland McGrath <roland@hack.frob.com>
44 * sysdeps/arm/fesetenv.c: Include <fpu_control.h>.
45 * sysdeps/arm/feupdateenv.c: Likewise.
47 * posix/spawn_faction_addopen.c: Include <stdlib.h> for free decl.
49 2014-06-26 Joseph Myers <joseph@codesourcery.com>
51 * manual/texinfo.tex: Update to version 2014-05-05.10 with
52 trailing whitespace removed.
53 * scripts/config.guess: Update to version 2014-03-23.
54 * scripts/config.sub: Update to version 2014-05-01
55 * scripts/install-sh: Update to version 2013-12-25.23.
56 * scripts/move-if-change: Update from gnulib.
58 2014-06-26 Siddhesh Poyarekar <siddhesh@redhat.com>
60 * debug/memmove_chk.c: Remove pagecopy.h include.
62 2014-06-26 Paul Eggert <eggert@cs.ucla.edu>
64 * time/mktime.c (leapyear): Remove inline keyword. The code is now
65 identical to gnulib mktime.
67 2014-06-26 Joseph Myers <joseph@codesourcery.com>
69 * configure.ac: Do not test for machine being rs6000. Do not test
71 * configure: Regenerated.
73 * configure.ac (libc_cv_asm_cfi_directives): Remove configure
75 * configure: Regenerated.
76 * config.h.in (HAVE_ASM_CFI_DIRECTIVES): Remove macro undefine.
77 * sysdeps/arm/configure.ac (libc_cv_asm_cfi_directive_sections):
78 Remove configure test.
79 * sysdeps/arm/configure: Regenerated.
80 * sysdeps/nptl/configure.ac: Do not check
81 libc_cv_asm_cfi_directives.
82 * sysdeps/nptl/configure: Regenerated.
83 * sysdeps/x86_64/nptl/configure.ac: Remove file.
84 * sysdeps/x86_64/nptl/configure: Remove generated file.
85 * b/sysdeps/generic/sysdep.h [HAVE_ASM_CFI_DIRECTIVES]: Make code
87 [!HAVE_ASM_CFI_DIRECTIVES]: Remove conditional code.
89 2014-06-26 Siddhesh Poyarekar <siddhesh@redhat.com>
91 * posix/fnmatch.c: Define WIDE_CHAR_VERSION.
92 * posix/fnmatch_loop.c: Undefine WIDE_CHAR_VERSION.
93 (FCT): Check value of WIDE_CHAR_VERSION instead of checking if
96 * elf/dl-runtime.c: Check for value of ELF_MACHINE_NO_RELA
97 instead of whether it is defined.
98 * sysdeps/aarch64/dl-machine.h: Define ELF_MACHINE_NO_RELA.
99 * sysdeps/hppa/dl-machine.h: Likewise.
100 * sysdeps/ia64/dl-machine.h: Likewise.
101 * sysdeps/m68k/dl-machine.h: Likewise.
102 * sysdeps/microblaze/dl-machine.h: Likewise.
103 * sysdeps/mips/dl-machine.: Likewise.
104 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
105 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
106 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
107 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
108 * sysdeps/sh/dl-machine.h: Likewise.
109 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
110 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
111 * sysdeps/tile/dl-machine.h: Likewise.
112 * sysdeps/x86_64/dl-machine.h: Likewise.
114 * nscd/connections.c (enum usekey) [SEPARATE_KEY]: Remove
116 (verify_persistent_db): Likewise.
118 2014-06-26 Roland McGrath <roland@hack.frob.com>
120 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data: Moved ...
121 * sysdeps/unix/sysv/linux/s390/s390-32/c++-types.data: ... here.
122 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Moved ...
123 * sysdeps/unix/sysv/linux/s390/s390-32/ld.abilist: ... here.
124 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
126 * sysdeps/unix/sysv/linux/s390/s390-32/libBrokenLocale.abilist:
128 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: Moved ...
129 * sysdeps/unix/sysv/linux/s390/libanl.abilist: ... here.
130 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist:
131 Identical file removed.
132 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Moved ...
133 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: ... here.
134 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: Moved ...
135 * sysdeps/unix/sysv/linux/s390/s390-32/libcrypt.abilist: ... here.
136 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: Moved ...
137 * sysdeps/unix/sysv/linux/s390/s390-32/libdl.abilist: ... here.
138 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Moved ...
139 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: ... here.
140 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: Moved ...
141 * sysdeps/unix/sysv/linux/s390/s390-32/libnsl.abilist: ... here.
142 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
144 * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist: ... here.
145 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: Moved ...
146 * sysdeps/unix/sysv/linux/s390/s390-32/libresolv.abilist: ... here.
147 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Moved ...
148 * sysdeps/unix/sysv/linux/s390/s390-32/librt.abilist: ... here.
149 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
151 * sysdeps/unix/sysv/linux/s390/s390-32/libthread_db.abilist: ... here.
152 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Moved ...
153 * sysdeps/unix/sysv/linux/s390/s390-32/libutil.abilist: ... here.
154 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data: Moved ...
155 * sysdeps/unix/sysv/linux/s390/localplt.data: ... here.
156 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
157 Identical file removed.
158 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data: Moved ...
159 * sysdeps/unix/sysv/linux/s390/s390-64/c++-types.data: ... here.
160 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Moved ...
161 * sysdeps/unix/sysv/linux/s390/s390-64/ld.abilist: ... here.
162 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
164 * sysdeps/unix/sysv/linux/s390/s390-64/libBrokenLocale.abilist:
166 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Moved ...
167 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: ... here.
168 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: Moved ...
169 * sysdeps/unix/sysv/linux/s390/s390-64/libcrypt.abilist: ... here.
170 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: Moved ...
171 * sysdeps/unix/sysv/linux/s390/s390-64/libdl.abilist: ... here.
172 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Moved ...
173 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: ... here.
174 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: Moved ...
175 * sysdeps/unix/sysv/linux/s390/s390-64/libnsl.abilist: ... here.
176 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
178 * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist: ... here.
179 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist:
181 * sysdeps/unix/sysv/linux/s390/s390-64/libresolv.abilist: ... here.
182 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: Moved ...
183 * sysdeps/unix/sysv/linux/s390/s390-64/librt.abilist: ... here.
184 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
186 * sysdeps/unix/sysv/linux/s390/s390-64/libthread_db.abilist: ... here.
187 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: Moved ...
188 * sysdeps/unix/sysv/linux/s390/s390-64/libutil.abilist: ... here.
190 * nptl/sysdeps/unix/sysv/linux/s390/Makefile: File removed, contents
192 * sysdeps/unix/sysv/linux/s390/Makefile [$(subdir) = nptl]: ... here.
193 * sysdeps/unix/sysv/linux/s390/Versions
194 (libpthread: GLIBC_2.19): New version set.
195 * nptl/sysdeps/unix/sysv/linux/s390/Versions: File removed.
196 * sysdeps/unix/sysv/linux/s390/s390-64/Versions
197 (librt: GLIBC_2.3.3): New version set.
198 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/Versions: File removed.
199 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: Moved ...
200 * sysdeps/unix/sysv/linux/s390/elision-conf.c: ... here.
201 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Moved ...
202 * sysdeps/unix/sysv/linux/s390/elision-conf.h: ... here.
203 * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Moved ...
204 * sysdeps/unix/sysv/linux/s390/elision-lock.c: ... here.
205 * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Moved ...
206 * sysdeps/unix/sysv/linux/s390/elision-timed.c: ... here.
207 * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Moved ...
208 * sysdeps/unix/sysv/linux/s390/elision-trylock.c: ... here.
209 * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Moved ...
210 * sysdeps/unix/sysv/linux/s390/elision-unlock.c: ... here.
211 * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Moved ...
212 * sysdeps/unix/sysv/linux/s390/force-elision.h: ... here.
213 * nptl/sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Moved ...
214 * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: ... here.
215 * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h: Moved ...
216 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: ... here.
217 * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: Moved ...
218 * sysdeps/unix/sysv/linux/s390/pt-longjmp.c: ... here.
219 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: Moved ...
220 * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: ... here.
221 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: Moved ...
222 * sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: ... here.
223 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: Moved ...
224 * sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: ... here.
225 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: Moved ...
226 * sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: ... here.
227 * nptl/sysdeps/unix/sysv/linux/s390/pthread_once.c: Moved ...
228 * sysdeps/unix/sysv/linux/s390/pthread_once.c: ... here.
229 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Moved ...
230 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: ... here.
231 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Moved ...
232 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: ... here.
233 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Moved ...
234 * sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: ... here.
235 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Moved ...
236 * sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: ... here.
237 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Moved ...
238 * sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: ... here.
239 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Moved ...
240 * sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: ... here.
241 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Moved ...
242 * sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: ... here.
244 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Moved ...
245 * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: ... here.
246 (__libc_vfork): Define the function under this name.
247 [!NOT_IN_libc] (__vfork): Make this an alias.
248 [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
249 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Moved ...
250 * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: ... here.
251 (__libc_vfork): Define the function under this name.
252 [!NOT_IN_libc] (__vfork): Make this an alias.
253 [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
254 * sysdeps/unix/sysv/linux/s390/pt-vfork.S: New file.
255 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: File removed.
256 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: File removed.
257 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Remove vfork.
258 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
260 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Deconditionalize the
261 code that was previously under [RESET_PID].
262 * sysdeps/unix/sysv/linux/s390/s390-64/clone.S: Likewise.
263 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/clone.S: File removed.
264 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/clone.S: File removed.
266 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h: Moved ...
267 * sysdeps/aarch64/nptl/bits/pthreadtypes.h: ... here.
268 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/semaphore.h: Moved ...
269 * sysdeps/aarch64/nptl/bits/semaphore.h: ... here.
270 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/local_lim.h: Moved ...
271 * sysdeps/unix/sysv/linux/aarch64/bits/local_lim.h: ... here.
272 * sysdeps/unix/sysv/linux/aarch64/nptl/c++-types.data: Moved ...
273 * sysdeps/unix/sysv/linux/aarch64/c++-types.data: ... here.
274 * sysdeps/unix/sysv/linux/aarch64/nptl/ld.abilist: Moved ...
275 * sysdeps/unix/sysv/linux/aarch64/ld.abilist: ... here.
276 * sysdeps/unix/sysv/linux/aarch64/nptl/libBrokenLocale.abilist:
278 * sysdeps/unix/sysv/linux/aarch64/libBrokenLocale.abilist: ... here.
279 * sysdeps/unix/sysv/linux/aarch64/nptl/libanl.abilist: Moved ...
280 * sysdeps/unix/sysv/linux/aarch64/libanl.abilist: ... here.
281 * sysdeps/unix/sysv/linux/aarch64/nptl/libc.abilist: Moved ...
282 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: ... here.
283 * sysdeps/unix/sysv/linux/aarch64/nptl/libcrypt.abilist: Moved ...
284 * sysdeps/unix/sysv/linux/aarch64/libcrypt.abilist: ... here.
285 * sysdeps/unix/sysv/linux/aarch64/nptl/libdl.abilist: Moved ...
286 * sysdeps/unix/sysv/linux/aarch64/libdl.abilist: ... here.
287 * sysdeps/unix/sysv/linux/aarch64/nptl/libm.abilist: Moved ...
288 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: ... here.
289 * sysdeps/unix/sysv/linux/aarch64/nptl/libnsl.abilist: Moved ...
290 * sysdeps/unix/sysv/linux/aarch64/libnsl.abilist: ... here.
291 * sysdeps/unix/sysv/linux/aarch64/nptl/libpthread.abilist: Moved ...
292 * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist: ... here.
293 * sysdeps/unix/sysv/linux/aarch64/nptl/libresolv.abilist: Moved ...
294 * sysdeps/unix/sysv/linux/aarch64/libresolv.abilist: ... here.
295 * sysdeps/unix/sysv/linux/aarch64/nptl/librt.abilist: Moved ...
296 * sysdeps/unix/sysv/linux/aarch64/librt.abilist: ... here.
297 * sysdeps/unix/sysv/linux/aarch64/nptl/libthread_db.abilist: Moved ...
298 * sysdeps/unix/sysv/linux/aarch64/libthread_db.abilist: ... here.
299 * sysdeps/unix/sysv/linux/aarch64/nptl/libutil.abilist: Moved ...
300 * sysdeps/unix/sysv/linux/aarch64/libutil.abilist: ... here.
301 * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data: Moved ...
302 * sysdeps/unix/sysv/linux/aarch64/localplt.data: ... here.
303 * sysdeps/unix/sysv/linux/aarch64/nptl/lowlevellock.h: Moved ...
304 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: ... here.
305 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Moved ...
306 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: ... here.
308 2014-06-25 Roland McGrath <roland@hack.frob.com>
310 * sysdeps/unix/sysv/linux/mips/clone.S: Deconditionalize the code
311 that was previously under [RESET_PID].
312 * sysdeps/unix/sysv/linux/mips/nptl/clone.S: File removed.
314 2014-06-25 Joseph Myers <joseph@codesourcery.com>
316 * sysdeps/unix/sysv/linux/dl-opendir.c (__ASSUME_O_CLOEXEC): Do
317 not undefine and redefine.
318 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs)
319 [O_CLOEXEC]: Make code unconditional.
320 (__get_nprocs) [!O_CLOEXEC]: Remove conditional code.
321 * sysdeps/unix/sysv/linux/shm_open.c: Do not include
323 [O_CLOEXEC && !__ASSUME_O_CLOEXEC] (have_o_cloexec): Remove
324 conditional variable definition.
325 (shm_open) [O_CLOEXEC]: Make code unconditional.
326 (shm_open) [!O_CLOEXEC || !__ASSUME_O_CLOEXEC]: Remove conditional
329 * configure.ac (USE_REGPARMS): Don't define here.
330 * configure: Regenerated.
331 * sysdeps/i386/configure.ac (USE_REGPARMS): Define here.
332 * sysdeps/i386/configure: Regenerated.
334 * nptl/createthread.c: Don't include kernel-features.h.
335 * nptl/pthread_cancel.c: Likewise.
336 * nptl/pthread_condattr_setclock.c: Likewise.
337 * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Likewise.
338 * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Likewise.
339 * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Likewise.
340 * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Likewise.
341 * nptl/sysdeps/unix/sysv/linux/raise.c: Likewise.
342 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: Likewise.
343 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
344 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: Likewise.
345 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
346 * nptl/sysdeps/unix/sysv/linux/timer_create.c: Likewise.
347 * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Likewise.
348 * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Likewise.
349 * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Likewise.
350 * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Likewise.
351 * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Likewise.
352 * nscd/gai.c: Likewise.
353 * nss/nss_db/db-open.c: Likewise.
354 * sysdeps/generic/ldsodefs.h: Likewise.
355 * sysdeps/sh/nptl/tls.h: Likewise.
356 * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
357 * sysdeps/unix/sysv/linux/aarch64/sigcontextinfo.h: Likewise.
358 * sysdeps/unix/sysv/linux/aarch64/vfork.S: Likewise.
359 * sysdeps/unix/sysv/linux/adjtime.c: Likewise.
360 * sysdeps/unix/sysv/linux/alpha/xstatconv.h: Likewise.
361 * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
362 * sysdeps/unix/sysv/linux/arm/sigcontextinfo.h: Likewise.
363 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
364 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
365 * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
366 * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
367 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
368 * sysdeps/unix/sysv/linux/clock_settime.c: Likewise.
369 * sysdeps/unix/sysv/linux/dl-execstack.c: Likewise.
370 * sysdeps/unix/sysv/linux/dl-osinfo.h: Likewise.
371 * sysdeps/unix/sysv/linux/dl-sysdep.c: Likewise.
372 * sysdeps/unix/sysv/linux/generic/futimesat.c: Likewise.
373 * sysdeps/unix/sysv/linux/generic/poll.c: Likewise.
374 * sysdeps/unix/sysv/linux/generic/wordsize-32/fcntl.c: Likewise.
375 * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat.c: Likewise.
376 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c: Likewise.
377 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c: Likewise.
378 * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c: Likewise.
379 * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c: Likewise.
380 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c: Likewise.
381 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c: Likewise.
382 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c: Likewise.
383 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev64.c: Likewise.
384 * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
385 * sysdeps/unix/sysv/linux/getpagesize.c: Likewise.
386 * sysdeps/unix/sysv/linux/getsysstats.c: Likewise.
387 * sysdeps/unix/sysv/linux/i386/fxstat.c: Likewise.
388 * sysdeps/unix/sysv/linux/i386/lxstat.c: Likewise.
389 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
390 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
391 * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
392 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
393 * sysdeps/unix/sysv/linux/i386/xstat.c: Likewise.
394 * sysdeps/unix/sysv/linux/ia64/system.c: Likewise.
395 * sysdeps/unix/sysv/linux/if_index.c: Likewise.
396 * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
397 * sysdeps/unix/sysv/linux/ifreq.c: Likewise.
398 * sysdeps/unix/sysv/linux/ldsodefs.h: Likewise.
399 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
400 * sysdeps/unix/sysv/linux/m68k/vfork.S: Likewise.
401 * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Likewise.
402 * sysdeps/unix/sysv/linux/mips/mips32/accept4.c: Likewise.
403 * sysdeps/unix/sysv/linux/mips/mips32/recvmmsg.c: Likewise.
404 * sysdeps/unix/sysv/linux/mips/mips32/sendmmsg.c: Likewise.
405 * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
406 * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
407 * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
408 * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
409 * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
410 * sysdeps/unix/sysv/linux/mmap64.c: Likewise.
411 * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
412 * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
413 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c: Likewise.
414 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
415 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c: Likewise.
416 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c: Likewise.
417 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Likewise.
418 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Likewise.
419 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Likewise.
420 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Likewise.
421 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Likewise.
422 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
423 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
424 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Likewise.
425 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c: Likewise.
426 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c: Likewise.
427 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S: Likewise.
428 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
429 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
430 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
431 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
432 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
433 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S: Likewise.
434 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S: Likewise.
435 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Likewise.
436 * sysdeps/unix/sysv/linux/pread.c: Likewise.
437 * sysdeps/unix/sysv/linux/pread64.c: Likewise.
438 * sysdeps/unix/sysv/linux/prof-freq.c: Likewise.
439 * sysdeps/unix/sysv/linux/pwrite.c: Likewise.
440 * sysdeps/unix/sysv/linux/pwrite64.c: Likewise.
441 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S: Likewise.
442 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S: Likewise.
443 * sysdeps/unix/sysv/linux/s390/system.c: Likewise.
444 * sysdeps/unix/sysv/linux/sh/pread.c: Likewise.
445 * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
446 * sysdeps/unix/sysv/linux/sh/pwrite.c: Likewise.
447 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.
448 * sysdeps/unix/sysv/linux/sigaction.c: Likewise.
449 * sysdeps/unix/sysv/linux/sigpending.c: Likewise.
450 * sysdeps/unix/sysv/linux/sigprocmask.c: Likewise.
451 * sysdeps/unix/sysv/linux/sigsuspend.c: Likewise.
452 * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
453 * sysdeps/unix/sysv/linux/sparc/system.c: Likewise.
454 * sysdeps/unix/sysv/linux/syslog.c: Likewise.
455 * sysdeps/unix/sysv/linux/system.c: Likewise.
456 * sysdeps/unix/sysv/linux/testrtsig.h: Likewise.
457 * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
458 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
459 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
460 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
461 * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
462 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
464 * configure.ac (libc_cv_c_asmcr0_bug): Remove configure test.
465 * configure: Regenerated.
466 * config.h.in (BROKEN_PPC_ASM_CR0): Remove macro.
468 * configure.ac (base_machine): Do not set specially for particular
470 * configure: Regenerated.
471 * sysdeps/powerpc/preconfigure: Move machine and base_machine
472 settings from configure.ac.
473 * sysdeps/i386/preconfigure: New file.
474 * sysdeps/s390/preconfigure: Likewise.
475 * sysdeps/sh/preconfigure: Likewise.
476 * sysdeps/sparc/preconfigure: Likewise.
478 2014-06-25 Roland McGrath <roland@hack.frob.com>
480 * sysdeps/sparc/sparc64/nptl/cpu_relax.S: Moved ...
481 * sysdeps/sparc/sparc64/cpu_relax.S: ... here.
482 * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: Moved ...
483 * sysdeps/sparc/sparc64/pthread_spin_init.c: ... here.
484 * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: Moved ...
485 * sysdeps/sparc/sparc64/pthread_spin_lock.S: ... here.
486 * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: Moved ...
487 * sysdeps/sparc/sparc64/pthread_spin_trylock.S: ... here.
488 * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: Moved ...
489 * sysdeps/sparc/sparc64/pthread_spin_unlock.S: ... here.
490 * sysdeps/sparc/sparc64/nptl/pthreaddef.h: Moved ...
491 * sysdeps/sparc/sparc64/pthreaddef.h: ... here.
492 * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: Update #include.
493 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Likewise.
494 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Likewise.
495 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Likewise.
496 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Likewise.
497 * sysdeps/sparc/sparc64/nptl/Makefile: File removed, its contents ...
498 * sysdeps/sparc/sparc64/Makefile: ... appended here.
500 * sysdeps/sparc/sparc32/nptl/lowlevellock.c: Moved ...
501 * sysdeps/sparc/sparc32/lowlevellock.c: ... here.
502 * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Moved ...
503 * sysdeps/sparc/sparc32/pthread_barrier_wait.c: ... here.
504 * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: Moved ...
505 * sysdeps/sparc/sparc32/pthread_spin_lock.S: ... here.
506 * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: Moved ...
507 * sysdeps/sparc/sparc32/pthread_spin_trylock.S: ... here.
508 * sysdeps/sparc/sparc32/nptl/pthreaddef.h: Moved ...
509 * sysdeps/sparc/sparc32/pthreaddef.h: ... here.
510 * sysdeps/sparc/sparc32/nptl/sem_post.c: Moved ...
511 * sysdeps/sparc/sparc32/sem_post.c: ... here.
512 * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Moved ...
513 * sysdeps/sparc/sparc32/sem_timedwait.c: ... here.
514 * sysdeps/sparc/sparc32/nptl/sem_trywait.c: Moved ...
515 * sysdeps/sparc/sparc32/sem_trywait.c: ... here.
516 * sysdeps/sparc/sparc32/nptl/sem_wait.c: Moved ...
517 * sysdeps/sparc/sparc32/sem_wait.c: ... here.
518 * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: Moved ...
519 * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: ... here.
520 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: Moved ...
521 * sysdeps/sparc/sparc32/sparcv9/pthread_barrier_wait.c: ... here.
522 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: Moved ...
523 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: ... here.
524 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: Moved ...
525 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: ... here.
526 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: Moved ...
527 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: ... here.
528 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Moved ...
529 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: ... here.
530 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: Moved ...
531 * sysdeps/sparc/sparc32/sparcv9/sem_post.c: ... here.
532 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: Moved ...
533 * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: ... here.
534 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: Moved ...
535 * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: ... here.
536 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: Moved ...
537 * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: ... here.
539 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data: Moved ...
540 * sysdeps/unix/sysv/linux/sparc/sparc32/c++-types.data: ... here.
541 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: Moved ...
542 * sysdeps/unix/sysv/linux/sparc/sparc32/ld.abilist: ... here.
543 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
545 * sysdeps/unix/sysv/linux/sparc/sparc32/libBrokenLocale.abilist:
547 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: Moved ...
548 * sysdeps/unix/sysv/linux/sparc/sparc32/libanl.abilist: ... here.
549 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Moved ...
550 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: ... here.
551 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist:
553 * sysdeps/unix/sysv/linux/sparc/sparc32/libcrypt.abilist: ... here.
554 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: Moved ...
555 * sysdeps/unix/sysv/linux/sparc/sparc32/libdl.abilist: ... here.
556 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: Moved ...
557 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: ... here.
558 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: Moved ...
559 * sysdeps/unix/sysv/linux/sparc/sparc32/libnsl.abilist: ... here.
560 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
562 * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist: ... here.
563 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
565 * sysdeps/unix/sysv/linux/sparc/sparc32/libresolv.abilist: ... here.
566 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: Moved ...
567 * sysdeps/unix/sysv/linux/sparc/sparc32/librt.abilist: ... here.
568 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
570 * sysdeps/unix/sysv/linux/sparc/sparc32/libthread_db.abilist: ... here.
571 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: Moved ...
572 * sysdeps/unix/sysv/linux/sparc/sparc32/libutil.abilist: ... here.
573 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data: Moved ...
574 * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: ... here.
575 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data: Moved ...
576 * sysdeps/unix/sysv/linux/sparc/sparc64/c++-types.data: ... here.
577 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: Moved ...
578 * sysdeps/unix/sysv/linux/sparc/sparc64/ld.abilist: ... here.
579 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
581 * sysdeps/unix/sysv/linux/sparc/sparc64/libBrokenLocale.abilist:
583 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: Moved ...
584 * sysdeps/unix/sysv/linux/sparc/sparc64/libanl.abilist: ... here.
585 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Moved ...
586 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: ... here.
587 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist:
589 * sysdeps/unix/sysv/linux/sparc/sparc64/libcrypt.abilist: ... here.
590 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: Moved ...
591 * sysdeps/unix/sysv/linux/sparc/sparc64/libdl.abilist: ... here.
592 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: Moved ...
593 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: ... here.
594 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: Moved ...
595 * sysdeps/unix/sysv/linux/sparc/sparc64/libnsl.abilist: ... here.
596 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
598 * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist: ... here.
599 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
601 * sysdeps/unix/sysv/linux/sparc/sparc64/libresolv.abilist: ... here.
602 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: Moved ...
603 * sysdeps/unix/sysv/linux/sparc/sparc64/librt.abilist: ... here.
604 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
606 * sysdeps/unix/sysv/linux/sparc/sparc64/libthread_db.abilist: ... here.
607 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: Moved ...
608 * sysdeps/unix/sysv/linux/sparc/sparc64/libutil.abilist: ... here.
609 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data: Moved ...
610 * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: ... here.
612 2014-06-25 Joseph Myers <joseph@codesourcery.com>
614 * timezone/checktab.awk: Update from tzcode 2014e.
615 * timezone/private.h: Likewise.
616 * timezone/tzfile.h: Likewise.
617 * timezone/zdump.c: Likewise.
618 * timezone/zic.c: Likewise.
620 * sysdeps/unix/sysv/linux/kernel-features.h
621 (__ASSUME_XFS_RESTRICTED_CHOWN): Remove macro.
622 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_chown_restricted)
623 [__ASSUME_XFS_RESTRICTED_CHOWN]: Make code unconditional.
624 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
625 Remove conditional code.
627 2014-06-25 Will Newton <will.newton@linaro.org>
629 * sysdeps/unix/sysv/linux/arm/dl-procinfo.c
630 (_dl_arm_cap_flags): Add HWCAP2 values.
631 * sysdeps/unix/sysv/linux/arm/dl-procinfo.h
632 (_DL_HWCAP_COUNT): Increase to 37.
633 (_DL_HWCAP_LAST): New define.
634 (_DL_HWCAP2_LAST): New define.
635 (_dl_procinfo): Add support for printing
637 (_dl_string_hwcap): Use _dl_hwcap_string.
639 2014-06-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
641 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
643 2014-06-25 Joseph Myers <joseph@codesourcery.com>
645 * README: Do not mention ports directory.
647 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMENSAT):
649 * sysdeps/unix/sysv/linux/futimes.c: Do not include
651 [__NR_utimensat && !__ASSUME_UTIMENSAT] (miss_utimensat): Remove
652 conditional variable definition.
653 (__futimes): Update comment.
654 (__futimes) [__ASSUME_UTIMENSAT]: Make code unconditional.
655 (__futimes) [!__ASSUME_UTIMENSAT]: Remove conditional code.
658 * sysdeps/ieee754/dbl-64/e_exp10.c (__ieee754_exp10): Return 1 for
659 arguments close to 0.
660 * sysdeps/ieee754/ldbl-128/e_exp10l.c (__ieee754_exp10l):
662 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c (__ieee754_exp10l):
664 * math/auto-libm-test-in: Add more tests of exp10.
665 * math/auto-libm-test-out: Regenerated.
666 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
668 * sysdeps/unix/sysv/linux/kernel-features.h
669 (__ASSUME_COMPLETE_READV_WRITEV): Remove macro.
670 * sysdeps/unix/sysv/linux/readv.c: Do not include
672 [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
673 [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
674 (__libc_readv) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
676 (__libc_readv) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
678 * sysdeps/unix/sysv/linux/writev.c: Do not include
680 [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
681 [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
682 (__libc_writev) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
684 (__libc_writev) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
687 2014-06-25 Will Newton <will.newton@linaro.org>
689 * sysdeps/posix/tempname.c: Merge from gnulib, cosmetic
690 comment changes throughout the file. Remove checks
691 for HAVE_*_H definitions that are not required.
692 (__gen_tempname): Call abort if an unknown kind value is
695 2014-06-25 Andreas Schwab <schwab@suse.de>
698 * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Add compat symbols for
699 scalbln, scalblnf, scalblnl in libc.
701 2014-06-25 Siddhesh Poyarekar <siddhesh@redhat.com>
704 * sysdeps/i386/fpu/s_scalbn.S: Add compat symbol for libc.so.
705 * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
706 * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
708 2014-06-24 Roland McGrath <roland@hack.frob.com>
710 * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: Moved ...
711 * sysdeps/i386/i486/pthread_spin_trylock.S: ... here.
712 * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: Moved ...
713 * sysdeps/i386/i586/pthread_spin_trylock.S: ... here.
715 * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: Moved ...
716 * sysdeps/i386/i686/pthread_spin_trylock.S: ... here.
718 * sysdeps/x86_64/64/nptl/shlib-versions: Moved ...
719 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: ... here.
720 * sysdeps/x86_64/x32/nptl/shlib-versions: Moved ...
721 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: ... here.
722 * sysdeps/x86/nptl/bits/pthreadtypes.h: Moved ...
723 * sysdeps/x86/bits/pthreadtypes.h: ... here.
724 * sysdeps/x86/nptl/bits/semaphore.h: Moved ...
725 * sysdeps/x86/bits/semaphore.h: ... here.
726 * sysdeps/x86/nptl/elide.h: Moved ...
727 * sysdeps/x86/elide.h: ... here.
728 * sysdeps/x86_64/nptl/Implies: File removed.
729 * sysdeps/i386/nptl/Implies: File removed.
731 2014-06-24 Joseph Myers <joseph@codesourcery.com>
734 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Just
735 return the argument for normal arguments with exponent below -64.
736 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
738 * math/auto-libm-test-in: Add another test of expm1.
739 * math/auto-libm-test-out: Regenerated.
742 * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfl): Return 1 without
743 calling __erfcl for arguments at least 16.
744 * math/auto-libm-test-in: Add more tests of erf.
745 * math/auto-libm-test-out: Regenerated.
747 * sysdeps/unix/sysv/linux/configure.ac: Remove cases for
748 individual architectures.
749 * sysdeps/unix/sysv/linux/configure: Regenerated.
750 * sysdeps/unix/sysv/linux/i386/configure.ac: New file.
751 * sysdeps/unix/sysv/linux/i386/configure: New generated file.
752 * sysdeps/unix/sysv/linux/powerpc/configure.ac
753 (ldd_rewrite_script): Define variable.
754 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
755 * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure.ac: New
757 * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure: New
759 * sysdeps/unix/sysv/linux/s390/configure.ac: New file.
760 * sysdeps/unix/sysv/linux/s390/configure: New generated file.
761 * sysdeps/unix/sysv/linux/sh/configure.ac: New file.
762 * sysdeps/unix/sysv/linux/sh/configure: New generated file.
763 * sysdeps/unix/sysv/linux/sparc/configure.ac: New file.
764 * sysdeps/unix/sysv/linux/sparc/configure: New generated file.
765 * sysdeps/unix/sysv/linux/x86_64/configure.ac: New file.
766 * sysdeps/unix/sysv/linux/x86_64/configure: New generated file.
768 2014-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
771 * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_mutex_t):
772 Rename member __data.d to __data.__elision_data.
774 2014-06-24 Wilco <wdijkstr@arm.com>
776 * NEWS: Add 16918 to fixed bug list.
778 2014-06-24 Wilco <wdijkstr@arm.com>
780 * sysdeps/arm/fesetenv.c (fesetenv): Optimize implementation.
782 2014-06-24 Wilco <wdijkstr@arm.com>
784 * sysdeps/arm/fpu_control.h (_FPU_MASK_RM): Define.
785 * sysdeps/arm/fenv_private.h (libc_fesetround_vfp)
786 (libc_feholdexcept_setround_vfp) (libc_feholdsetround_vfp)
787 (libc_feresetround_vfp) (libc_feholdsetround_vfp_ctx)
788 (libc_feresetround_vfp_ctx): Use _FPU_MASK_RM.
789 * sysdeps/arm/fesetround.c (fesetround): Use _FPU_MASK_RM.
790 * sysdeps/arm/get-rounding-mode.h (get_rounding_mode):
793 2014-06-24 Wilco <wdijkstr@arm.com>
795 * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Remove unused include.
797 2014-06-24 Wilco <wdijkstr@arm.com>
799 * sysdeps/arm/feholdexcpt.c (feholdexcept): Remove space.
800 * sysdeps/arm/fesetenv.c (fesetenv): Remove space.
801 * sysdeps/arm/fesetround.c (fesetround): Remove space.
802 * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Remove space.
804 2014-06-24 Wilco <wdijkstr@arm.com>
807 * sysdeps/arm/feupdateenv.c (feupdateenv):
808 Rewrite to reduce FPSCR accesses and fix return value.
810 2014-06-24 Wilco <wdijkstr@arm.com>
812 * sysdeps/arm/fclrexcpt.c (feclearexcept):
813 Optimize to avoid unnecessary FPSCR writes.
814 * sysdeps/arm/fedisblxcpt.c (fedisableexcept): Likewise.
815 * sysdeps/arm/feenablxcpt.c (feenableexcept): Likewise.
816 * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Likewise.
817 * sysdeps/arm/setfpucw.c (__setfpucw): Likewise.
819 2014-06-24 Wilco <wdijkstr@arm.com>
821 * sysdeps/arm/fegetround.c (fegetround): Call get_rounding_mode.
822 * sysdeps/arm/feholdexcpt.c (feholdexcept): Call libc_feholdexcept_vfp.
823 * sysdeps/arm/fesetround.c (fesetround): Call libc_fesetround_vfp.
824 * sysdeps/arm/fgetexcptflg.c (fegetexceptflag):
825 Call libc_fetestexcept_vfp.
826 * sysdeps/arm/ftestexcept.c (fetestexcept): Call libc_fetestexcept_vfp.
827 * sysdeps/arm/fenv_private.h: Move libc_*_vfp functions outside of
828 __SOFTFP__ ifdef so that they can be built for softfp.
830 2014-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
832 * sysdeps/x86/nptl/elide.h (elision_adapt): Make first
833 argument type signed char.
835 * Makerules (check-abi): Dump diff of symlist if the test
838 2014-06-23 Roland McGrath <roland@hack.frob.com>
840 * sysdeps/generic/get-rounding-mode.h: Include <stdlib.h> before
843 * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
844 Remove unused variable ST.
846 2014-06-23 Joseph Myers <joseph@codesourcery.com>
850 * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Check for
851 small arguments before calling __expm1.
852 * sysdeps/ieee754/flt-32/e_coshf.c (__ieee754_coshf): Check for
853 small arguments before calling __expm1f.
854 * sysdeps/ieee754/ldbl-128/e_coshl.c (__ieee754_coshl): Check for
855 small arguments before calling __expm1l.
856 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
858 * sysdeps/ieee754/ldbl-96/e_coshl.c (__ieee754_coshl): Likewise.
859 * math/auto-libm-test-in: Add more cosh tests. Do not allow
860 spurious underflow for some cosh tests.
861 * math/auto-libm-test-out: Regenerated.
862 * sysdeps/i386/fpu/libm-test-ulps: Update.
865 * sysdeps/ieee754/dbl-64/e_j1.c: Include <errno.h>.
866 (__ieee754_y1): Set errno if return value overflows.
867 * sysdeps/ieee754/flt-32/e_j1f.c: Include <errno.h>.
868 (__ieee754_y1f): Set errno if return value overflows.
869 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <errno.h>.
870 (__ieee754_y1l): Set errno if return value overflows.
871 * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <errno.h>.
872 (__ieee754_y1l): Set errno if return value overflows.
873 * math/auto-libm-test-in: Add more tests of y0, y1 and yn.
874 * math/auto-libm-test-out: Regenerated.
876 * math/gen-auto-libm-tests.c: Document use of
877 ignore-zero-inf-sign.
878 (input_flag_type): Add value flag_ignore_zero_inf_sign.
879 (input_flags): Add ignore-zero-inf-sign.
880 (output_for_one_input_case): Handle flag_ignore_zero_inf_sign.
881 * math/gen-libm-test.pl (generate_testfile): Handle
882 ignore-zero-inf-sign.
883 * math/auto-libm-test-in: Mark some cpow tests with
884 ignore-zero-inf-sign and some with xfail-rounding.
885 * math/auto-libm-test-out: Regenerated.
886 * math/libm-test.inc (cpow_test): Use ALL_RM_TEST.
887 * sysdeps/i386/fpu/libm-test-ulps: Update.
888 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
891 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Ensure possibly
892 overflowing or underflowing operations take place with sign of
894 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
895 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
896 * sysdeps/ieee754/dbl-64/e_pow.c: Include <math.h>.
897 (__ieee754_pow): Recompute overflowing and underflowing results in
898 original rounding mode.
899 * sysdeps/x86/fpu/powl_helper.c: Include <stdbool.h>.
900 (__powl_helper): Allow negative argument X and scale negated value
901 as needed. Avoid passing value outside [-1, 1] to f2xm1.
902 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Ensure possibly
903 overflowing or underflowing operations take place with sign of
905 * sysdeps/x86_64/fpu/multiarch/e_pow.c [HAVE_FMA4_SUPPORT]:
907 * math/auto-libm-test-in: Add more tests of pow.
908 * math/auto-libm-test-out: Regenerated.
909 * math/libm-test.inc (pow_test): Use ALL_RM_TEST.
910 (pow_tonearest_test_data): Remove.
911 (pow_test_tonearest): Likewise.
912 (pow_towardzero_test_data): Likewise.
913 (pow_test_towardzero): Likewise.
914 (pow_downward_test_data): Likewise.
915 (pow_test_downward): Likewise.
916 (pow_upward_test_data): Likewise.
917 (pow_test_upward): Likewise.
918 (main): Don't call removed functions.
919 * sysdeps/i386/fpu/libm-test-ulps: Update.
920 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
922 2014-06-23 Roland McGrath <roland@hack.frob.com>
924 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/c++-types.data:
926 * sysdeps/unix/sysv/linux/powerpc/powerpc32/c++-types.data: ... here.
927 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
929 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: ... here.
930 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
932 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: ... here.
933 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
935 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data: ... here.
936 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
938 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
940 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libBrokenLocale.abilist:
942 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libanl.abilist:
944 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libcrypt.abilist:
946 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libdl.abilist:
948 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libnsl.abilist:
950 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
952 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libresolv.abilist:
954 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
956 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libthread_db.abilist:
958 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libutil.abilist:
960 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/ld.abilist:
962 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: ... here.
963 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libBrokenLocale.abilist:
965 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libBrokenLocale.abilist:
967 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libanl.abilist:
969 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libanl.abilist: ... here.
970 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libcrypt.abilist:
972 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libcrypt.abilist: ... here.
973 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libdl.abilist:
975 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libdl.abilist: ... here.
976 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libnsl.abilist:
978 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libnsl.abilist: ... here.
979 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libpthread.abilist:
981 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist: ... here.
982 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libresolv.abilist:
984 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libresolv.abilist: ... here.
985 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/librt.abilist:
987 * sysdeps/unix/sysv/linux/powerpc/powerpc32/librt.abilist: ... here.
988 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libthread_db.abilist: Moved ...
989 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libthread_db.abilist:
991 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libutil.abilist:
993 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libutil.abilist: ... here.
994 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
996 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
998 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libm.abilist:
1000 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
1002 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
1004 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
1006 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
1008 * sysdeps/unix/sysv/linux/powerpc/powerpc64/c++-types.data: ... here.
1009 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
1011 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: ... here.
1012 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: Moved ...
1013 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: ... here.
1014 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
1016 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale-le.abilist:
1018 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
1020 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale.abilist:
1022 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
1024 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl-le.abilist: ... here.
1025 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
1027 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl.abilist: ... here.
1028 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
1030 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: ... here.
1031 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
1033 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: ... here.
1034 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
1036 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt-le.abilist:
1038 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
1040 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt.abilist: ... here.
1041 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
1043 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl-le.abilist: ... here.
1044 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
1046 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl.abilist: ... here.
1047 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
1049 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: ... here.
1050 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: Moved ...
1051 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: ... here.
1052 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
1054 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl-le.abilist: ... here.
1055 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
1057 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl.abilist: ... here.
1058 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
1060 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread-le.abilist:
1062 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
1064 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread.abilist:
1066 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
1068 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv-le.abilist:
1070 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
1072 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv.abilist: ... here.
1073 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
1075 * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt-le.abilist: ... here.
1076 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
1078 * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt.abilist: ... here.
1079 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
1081 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db-le.abilist:
1083 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
1085 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db.abilist:
1087 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
1089 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil-le.abilist:
1091 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
1093 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil.abilist: ... here.
1094 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
1096 * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: ... here.
1098 2014-06-23 Will Newton <will.newton@linaro.org>
1099 Wilco <wdijkstr@arm.com>
1101 * sysdeps/generic/math_private.h: Add generic HAVE_RM_CTX
1102 implementation. Include get-rounding-mode.h.
1103 [!HAVE_RM_CTX]: Define HAVE_RM_CTX to zero.
1104 [!libc_feholdsetround_noex_ctx]: Define
1105 libc_feholdsetround_noex_ctx.
1106 [!libc_feholdsetround_noexf_ctx]: Define
1107 libc_feholdsetround_noexf_ctx.
1108 [!libc_feholdsetround_noexl_ctx]: Define
1109 libc_feholdsetround_noexl_ctx.
1110 (libc_feholdsetround_ctx): New function.
1111 (libc_feresetround_ctx): New function.
1112 (libc_feholdsetround_noex_ctx): New function.
1113 (libc_feresetround_noex_ctx): New function.
1115 2014-06-23 Roland McGrath <roland@hack.frob.com>
1117 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h: Moved ...
1118 * sysdeps/mips/nptl/bits/pthreadtypes.h: ... here.
1119 * sysdeps/unix/sysv/linux/mips/nptl/bits/semaphore.h: Moved ...
1120 * sysdeps/mips/nptl/bits/semaphore.h: ... here.
1121 * sysdeps/unix/sysv/linux/mips/nptl/bits/local_lim.h: Moved ...
1122 * sysdeps/unix/sysv/linux/mips/bits/local_lim.h: ... here.
1124 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h: Moved ...
1125 * sysdeps/m68k/nptl/bits/pthreadtypes.h: ... here.
1126 * sysdeps/unix/sysv/linux/m68k/nptl/bits/semaphore.h: Moved ...
1127 * sysdeps/m68k/nptl/bits/semaphore.h: ... here.
1128 * sysdeps/unix/sysv/linux/m68k/nptl/c++-types.data: Moved ...
1129 * sysdeps/unix/sysv/linux/m68k/c++-types.data: ... here.
1130 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/bits/atomic.h: Moved ...
1131 * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: ... here.
1132 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/ld.abilist: Moved ...
1133 * sysdeps/unix/sysv/linux/m68k/coldfire/ld.abilist: ... here.
1134 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libBrokenLocale.abilist:
1136 * sysdeps/unix/sysv/linux/m68k/coldfire/libBrokenLocale.abilist:
1138 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libanl.abilist: Moved ...
1139 * sysdeps/unix/sysv/linux/m68k/coldfire/libanl.abilist: ... here.
1140 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libc.abilist: Moved ...
1141 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: ... here.
1142 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libcrypt.abilist:
1144 * sysdeps/unix/sysv/linux/m68k/coldfire/libcrypt.abilist: ... here.
1145 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libdl.abilist: Moved ...
1146 * sysdeps/unix/sysv/linux/m68k/coldfire/libdl.abilist: ... here.
1147 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libm.abilist: Moved ...
1148 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: ... here.
1149 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libnsl.abilist: Moved ...
1150 * sysdeps/unix/sysv/linux/m68k/coldfire/libnsl.abilist: ... here.
1151 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libpthread.abilist:
1153 * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist: ... here.
1154 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libresolv.abilist:
1156 * sysdeps/unix/sysv/linux/m68k/coldfire/libresolv.abilist: ... here.
1157 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/librt.abilist: Moved ...
1158 * sysdeps/unix/sysv/linux/m68k/coldfire/librt.abilist: ... here.
1159 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libthread_db.abilist:
1161 * sysdeps/unix/sysv/linux/m68k/coldfire/libthread_db.abilist: ... here.
1162 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libutil.abilist: Moved ...
1163 * sysdeps/unix/sysv/linux/m68k/coldfire/libutil.abilist: ... here.
1164 * sysdeps/unix/sysv/linux/m68k/nptl/localplt.data: Moved ...
1165 * sysdeps/unix/sysv/linux/m68k/localplt.data: ... here.
1166 * sysdeps/unix/sysv/linux/m68k/nptl/lowlevellock.h: Moved ...
1167 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: ... here.
1168 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/ld.abilist: Moved ...
1169 * sysdeps/unix/sysv/linux/m68k/m680x0/ld.abilist: ... here.
1170 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libBrokenLocale.abilist:
1172 * sysdeps/unix/sysv/linux/m68k/m680x0/libBrokenLocale.abilist:
1174 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libanl.abilist: Moved ...
1175 * sysdeps/unix/sysv/linux/m68k/m680x0/libanl.abilist: ... here.
1176 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libc.abilist: Moved ...
1177 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: ... here.
1178 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libcrypt.abilist: Moved ...
1179 * sysdeps/unix/sysv/linux/m68k/m680x0/libcrypt.abilist: ... here.
1180 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libdl.abilist: Moved ...
1181 * sysdeps/unix/sysv/linux/m68k/m680x0/libdl.abilist: ... here.
1182 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libm.abilist: Moved ...
1183 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: ... here.
1184 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libnsl.abilist: Moved ...
1185 * sysdeps/unix/sysv/linux/m68k/m680x0/libnsl.abilist: ... here.
1186 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libpthread.abilist:
1188 * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist: ... here.
1189 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libresolv.abilist: Moved ...
1190 * sysdeps/unix/sysv/linux/m68k/m680x0/libresolv.abilist: ... here.
1191 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/librt.abilist: Moved ...
1192 * sysdeps/unix/sysv/linux/m68k/m680x0/librt.abilist: ... here.
1193 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libthread_db.abilist:
1195 * sysdeps/unix/sysv/linux/m68k/m680x0/libthread_db.abilist: ... here.
1196 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libutil.abilist: Moved ...
1197 * sysdeps/unix/sysv/linux/m68k/m680x0/libutil.abilist: ... here.
1198 * sysdeps/unix/sysv/linux/m68k/nptl/sysdep-cancel.h: Moved ...
1199 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: ... here.
1201 * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: Moved ...
1202 * sysdeps/unix/sysv/linux/sh/c++-types.data: ... here.
1203 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: Moved ...
1204 * sysdeps/unix/sysv/linux/sh/ld.abilist: ... here.
1205 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: Moved ...
1206 * sysdeps/unix/sysv/linux/sh/libBrokenLocale.abilist: ... here.
1207 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: Moved ...
1208 * sysdeps/unix/sysv/linux/sh/libanl.abilist: ... here.
1209 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Moved ...
1210 * sysdeps/unix/sysv/linux/sh/libc.abilist: ... here.
1211 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: Moved ...
1212 * sysdeps/unix/sysv/linux/sh/libcrypt.abilist: ... here.
1213 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: Moved ...
1214 * sysdeps/unix/sysv/linux/sh/libdl.abilist: ... here.
1215 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Moved ...
1216 * sysdeps/unix/sysv/linux/sh/libm.abilist: ... here.
1217 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: Moved ...
1218 * sysdeps/unix/sysv/linux/sh/libnsl.abilist: ... here.
1219 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: Moved ...
1220 * sysdeps/unix/sysv/linux/sh/libpthread.abilist: ... here.
1221 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: Moved ...
1222 * sysdeps/unix/sysv/linux/sh/libresolv.abilist: ... here.
1223 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Moved ...
1224 * sysdeps/unix/sysv/linux/sh/librt.abilist: ... here.
1225 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: Moved ...
1226 * sysdeps/unix/sysv/linux/sh/libthread_db.abilist: ... here.
1227 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: Moved ...
1228 * sysdeps/unix/sysv/linux/sh/libutil.abilist: ... here.
1230 2014-06-23 Joseph Myers <joseph@codesourcery.com>
1232 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
1233 (FALLOC_FL_COLLAPSE_RANGE): New macro.
1234 [__USE_GNU] (FALLOC_FL_ZERO_RANGE): Likewise.
1235 * sysdeps/unix/sysv/linux/bits/in.h (IP_PMTUDISC_OMIT): Likewise.
1236 (IPV6_PMTUDISC_INTERFACE): Likewise.
1237 (IPV6_PMTUDISC_OMIT): Likewise.
1239 2014-06-23 Andreas Schwab <schwab@suse.de>
1241 * nptl/sysdeps/unix/sysv/linux/mq_notify.c (init_mq_netlink):
1242 Remove unused errout label.
1244 2014-06-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1246 * sysdeps/powerpc/bits/hwcap.h [PPC_FEATURE2_HAS_VEC_CRYPTO]: New
1247 macro: hardware supports Vector Crypto instructions.
1249 2014-06-23 Will Newton <will.newton@linaro.org>
1251 * elf/dl-lookup.c: Use __glibc_unlikely and __glibc_likely
1252 rather than __builtin_expect.
1254 * elf/dl-lookup.c (undefined_msg): Remove variable.
1255 (_dl_lookup_symbol_x): Replace undefined_msg with string
1258 * elf/dl-lookup.c (do_lookup_unique): New function.
1259 (do_lookup_x): Move STB_GNU_UNIQUE handling code
1260 to a separate function.
1262 2014-06-23 Andreas Schwab <schwab@suse.de>
1265 * nss/nss_files/files-XXX.c (get_contents): Store overflow marker
1266 before reading the next line.
1268 2014-06-23 Will Newton <will.newton@linaro.org>
1270 * test-skeleton.c (signal_handler): Use printf and %m
1271 rather than perror. Use printf rather than fprintf to
1272 stderr. Use puts rather than fputs to stderr.
1275 2014-06-22 Ludovic Courtès <ludo@gnu.org>
1277 * nscd/nscd.c (thread_info_t): Remove typedef.
1278 (thread_info): Remove variable.
1280 2014-06-21 Allan McRae <allan@archlinux.org>
1282 * NEWS: Mention CVE-2014-4043.
1284 2014-06-20 Roland McGrath <roland@hack.frob.com>
1286 * nptl/sysdeps/unix/sysv/linux/smp.h: Moved ...
1287 * nptl/smp.h: ... here.
1289 * nptl/sysdeps/unix/sysv/linux/rtld-lowlevel.h: File removed.
1291 * include/libc-symbols.h (HAVE_CONFIG_H, STDC_HEADERS): New macros.
1292 * catgets/Makefile (catgets-CPPFLAGS): Remove -DHAVE_CONFIG_H.
1293 * locale/Makefile (CPPFLAGS-locale-programs): Likewise.
1294 * stdlib/strtol_l.c [_LIBC] (STDC_HEADERS): Don't define it.
1296 * nptl/allocatestack.c: Include <stack-aliasing.h>.
1297 * nptl/stack-aliasing.h: New file.
1298 * sysdeps/i386/i686/stack-aliasing.h: New file.
1299 * sysdeps/i386/i686/nptl/Makefile: File removed.
1300 * sysdeps/x86_64/stack-aliasing.h: New file.
1301 * sysdeps/x86_64/nptl/Makefile
1302 (CFLAGS-pthread_create.c): Variable removed.
1304 * nptl/sysdeps/unix/sysv/linux/bits/local_lim.h: Moved ...
1305 * sysdeps/unix/sysv/linux/bits/local_lim.h: ... here, replacing the
1307 * nptl/sysdeps/unix/sysv/linux/bits/posix_opt.h: Moved ...
1308 * sysdeps/unix/sysv/linux/bits/posix_opt.h: ... here, replacing the
1311 2014-06-21 Joseph Myers <joseph@codesourcery.com>
1313 * sysdeps/unix/sysv/linux/arm/kernel-features.h
1314 (__ASSUME_SIGFRAME_V2): Remove macro.
1315 * sysdeps/unix/sysv/linux/arm/sigrestorer.S: Update comment.
1316 [!__ASSUME_SIGFRAME_V2]: Remove conditional code.
1317 (__default_sa_restorer_v2): Rename to __default_sa_restorer.
1318 (__default_rt_sa_restorer_v2): Rename to __default_rt_sa_restorer.
1319 * sysdeps/unix/sysv/linux/arm/sigaction.c (__default_sa_restorer):
1320 Declare as function. Remove conditional macro definitions.
1321 (__default_rt_sa_restorer): Likewise.
1322 (__default_sa_restorer_v1): Remove declaration.
1323 (__default_sa_restorer_v2): Likewise.
1324 (__default_rt_sa_restorer_v1): Likewise.
1325 (__default_rt_sa_restorer_v2): Likewise.
1326 * sysdeps/unix/sysv/linux/arm/Versions (GLIBC_PRIVATE): Remove
1327 __default_sa_restorer_v1, __default_rt_sa_restorer_v1,
1328 __default_sa_restorer_v2 and __default_rt_sa_restorer_v2.
1330 2014-06-20 Roland McGrath <roland@hack.frob.com>
1332 * sysdeps/unix/sysv/linux/sparc/Makefile [$(subdir) = nptl]
1333 (libpthread-routines): Add sysdep.
1334 * nptl/sysdeps/unix/sysv/linux/sparc/Makefile: File removed.
1335 * sysdeps/unix/sysv/linux/sparc/Versions
1336 (libpthread: GLIBC_2.3.3): New version set.
1337 * nptl/sysdeps/unix/sysv/linux/sparc/Versions: File removed.
1338 * nptl/sysdeps/unix/sysv/linux/sparc/aio_cancel.c: Moved ...
1339 * sysdeps/unix/sysv/linux/sparc/aio_cancel.c: ... here.
1340 * nptl/sysdeps/unix/sysv/linux/sparc/internaltypes.h: Moved ...
1341 * sysdeps/sparc/nptl/internaltypes.h: ... here. Use #include_next.
1342 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_destroy.c:
1344 * sysdeps/sparc/nptl/pthread_barrier_destroy.c: ... here.
1345 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_init.c: Moved ...
1346 * sysdeps/sparc/nptl/pthread_barrier_init.c: ... here.
1347 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_wait.c: Moved ...
1348 * sysdeps/sparc/nptl/pthread_barrier_wait.c: ... here.
1349 * nptl/sysdeps/unix/sysv/linux/sparc/sem_init.c: Moved ...
1350 * sysdeps/sparc/nptl/sem_init.c: ... here.
1351 * nptl/sysdeps/unix/sysv/linux/sparc/sem_post.c: Moved ...
1352 * sysdeps/sparc/nptl/sem_post.c: ... here.
1353 * nptl/sysdeps/unix/sysv/linux/sparc/sem_timedwait.c: Moved ...
1354 * sysdeps/sparc/nptl/sem_timedwait.c: ... here.
1355 * nptl/sysdeps/unix/sysv/linux/sparc/sem_wait.c: Moved ...
1356 * sysdeps/sparc/nptl/sem_wait.c: ... here.
1357 * nptl/sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Moved ...
1358 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: ... here.
1359 * sysdeps/sparc/sparc32/sparcv9/Makefile [$(subdir) = nptl]
1360 (libpthread-routines): Add cpu_relax.
1361 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/Makefile:
1363 * sysdeps/unix/sysv/linux/sparc/sparc64/Versions
1364 (librt: GLIBC_2.3.3): New version set.
1365 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Versions: File removed.
1366 * sysdeps/sparc/sparc64/nptl/Makefile: New file.
1367 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile [$(subdir) = nptl]
1368 (CFLAGS-pause.c, CFLAGS-sigsuspend.c): New variables.
1369 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Makefile: File removed.
1370 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/lowlevellock.c: Moved ...
1371 * sysdeps/sparc/sparc32/nptl/lowlevellock.c: ... here.
1372 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pthread_barrier_wait.c:
1374 * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: ... here.
1375 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_post.c: Moved ...
1376 * sysdeps/sparc/sparc32/nptl/sem_post.c: ... here.
1377 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_timedwait.c: Moved ...
1378 * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: ... here.
1379 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_trywait.c: Moved ...
1380 * sysdeps/sparc/sparc32/nptl/sem_trywait.c: ... here.
1381 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_wait.c: Moved ...
1382 * sysdeps/sparc/sparc32/nptl/sem_wait.c: ... here.
1383 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/cpu_relax.S:
1385 * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: ... here.
1387 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/pthread_barrier_wait.c:
1389 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: ... here.
1391 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_post.c:
1393 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: ... here.
1395 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_timedwait.c:
1397 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: ... here.
1399 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_trywait.c:
1401 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: ... here.
1403 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_wait.c:
1405 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: ... here.
1407 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/cpu_relax.S: Moved ...
1408 * sysdeps/sparc/sparc64/nptl/cpu_relax.S: ... here.
1409 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Moved ...
1410 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: ... here.
1411 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Moved ...
1412 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: ... here.
1413 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: Moved ...
1414 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: ... here.
1415 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: Moved ...
1416 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: ... here.
1417 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
1419 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c: ... here.
1420 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: Moved ...
1421 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: ... here.
1422 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: Moved ...
1423 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: ... here.
1425 2014-06-20 Joseph Myers <joseph@codesourcery.com>
1427 * nptl/pthread_cond_wait.c: Include <kernel-features.h>.
1428 * nptl/pthread_rwlock_timedrdlock.c: Likewise.
1429 * nptl/pthread_rwlock_timedwrlock.c: Likewise.
1430 * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Likewise.
1431 * nscd/nscd.c: Likewise.
1432 * sysdeps/i386/nptl/tcb-offsets.sym: Likewise.
1433 * sysdeps/powerpc/nptl/tcb-offsets.sym: Likewise.
1434 * sysdeps/sh/nptl/tcb-offsets.sym: Likewise.
1435 * sysdeps/x86_64/nptl/tcb-offsets.sym: Likewise.
1437 * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Do not include
1438 <kernel-features.h>.
1439 (init_mq_netlink): Remove conditional have_sock_cloexec
1440 definitions. Remove code conditional on have_sock_cloexec < 0.
1441 (init_mq_netlink) [!SOCK_CLOEXEC]: Remove conditional code.
1442 (init_mq_netlink) [!__ASSUME_SOCK_CLOEXEC]: Likewise.
1443 * sysdeps/unix/sysv/linux/opensock.c: Do not include
1444 <kernel-features.h>.
1445 (__opensock) [SOCK_CLOEXEC]: Make code unconditional.
1446 (__opensock) [!__ASSUME_SOCK_CLOEXEC]: Remove conditional code.
1448 2014-06-20 H.J. Lu <hongjiu.lu@intel.com>
1450 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
1451 Add tests for memset_chk and memset.
1453 * sysdeps/x86_64/multiarch/init-arch.h (HAS_AVX2): Defined
1456 2014-06-20 Maciej W. Rozycki <macro@codesourcery.com>
1459 * elf/tst-dl-iter-static.c: New file.
1460 * elf/Makefile (tests-static): Add tst-dl-iter-static.
1462 * stdlib/tst-qsort2.c (main): Fix off-by-one argc interpretation
1465 2014-06-20 Joseph Myers <joseph@codesourcery.com>
1467 * sysdeps/unix/sysv/linux/kernel-features.h
1468 (__ASSUME_F_GETOWN_EX): Remove macro.
1469 * sysdeps/unix/sysv/linux/fcntl.c: Do not include
1470 <kernel-features.h>.
1471 (miss_F_GETOWN_EX): Remove variable or macro.
1472 (do_fcntl): Do not check miss_F_GETOWN_EX.
1473 (do_fcntl) [!__ASSUME_F_GETOWN_EX]: Remove conditional code.
1475 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_RANDOM):
1477 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard)
1478 [!__ASSUME_AT_RANDOM]: Remove conditional code.
1479 (_dl_setup_pointer_guard) [!__ASSUME_AT_RANDOM]: Likewise.
1481 * sysdeps/unix/sysv/linux/kernel-features.h
1482 (__ASSUME_ADJ_OFFSET_SS_READ): Remove macro.
1483 * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME)
1484 [ADJ_OFFSET_SS_READ]: Make code unconditional.
1485 (ADJTIME) [!ADJ_OFFSET_SS_READ]: Remove conditional code.
1487 2014-06-20 Maciej W. Rozycki <macro@codesourcery.com>
1490 * sysdeps/arm/dl-machine.h (elf_machine_rel) <R_ARM_TLS_DESC>:
1491 Fix calculation of the symbol's value.
1492 * sysdeps/arm/tst-armtlsdescloc.c: New file.
1493 * sysdeps/arm/tst-armtlsdesclocmod.c: New file.
1494 * sysdeps/arm/tst-armtlsdescextnow.c: New file.
1495 * sysdeps/arm/tst-armtlsdescextlazymod.c: New file.
1496 * sysdeps/arm/tst-armtlsdescextlazy.c: New file.
1497 * sysdeps/arm/tst-armtlsdescextnowmod.c: New file.
1498 * sysdeps/arm/Makefile (tests): Add `tst-armtlsdesc',
1499 `tst-armtlsdescextnow' and `tst-armtlsdescextlazy'.
1500 (modules-names): Add `tst-armtlsdescmod',
1501 `tst-armtlsdescextlazymod' and `tst-armtlsdescextnowmod'.
1502 (CPPFLAGS-tst-armtlsdescextnowmod.c): New variable.
1503 (CPPFLAGS-tst-armtlsdescextlazymod.c): Likewise.
1504 (CFLAGS-tst-armtlsdesclocmod.c): Likewise.
1505 (CFLAGS-tst-armtlsdescextnowmod.c): Likewise.
1506 (CFLAGS-tst-armtlsdescextlazymod.c): Likewise.
1507 (LDFLAGS-tst-armtlsdescextnowmod.so): Likewise.
1508 ($(objpfx)tst-armtlsdescloc): New dependency.
1509 ($(objpfx)tst-armtlsdescextnow): Likewise.
1510 ($(objpfx)tst-armtlsdescextlazy): Likewise.
1511 * sysdeps/arm/configure.ac: Add a check for tools' GNU descriptor
1513 * sysdeps/arm/configure: Regenerate.
1515 2014-06-20 Joseph Myers <joseph@codesourcery.com>
1517 * include/fcntl.h (__atfct_seterrno): Remove prototype.
1518 (__atfct_seterrno_2): Likewise.
1519 * sysdeps/unix/sysv/linux/alpha/dl-fxstatat64.c: Do not include
1520 <kernel-features.h>.
1521 (__ASSUME_ATFCTS): Do not undefine and redefine.
1522 * sysdeps/unix/sysv/linux/alpha/fxstatat.c [__ASSUME_ATFCTS]
1523 (__have_atfcts): Remove conditional definition.
1524 (__fxstatat([__NR_fstatat64]: Make code unconditional.
1525 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code and code
1526 unreachable if [__ASSUME_ATFCTS].
1527 * sysdeps/unix/sysv/linux/dl-fxstatat64.c (__ASSUME_ATFCTS): Do
1528 not undefine and redefine.
1529 * sysdeps/unix/sysv/linux/faccessat.c: Do not include
1530 <kernel-features.h>.
1531 (faccessat) [__NR_faccessat]: Make code unconditional.
1532 (faccessat) [!__ASSUME_ATFCTS]: Remove conditional code.
1533 * sysdeps/unix/sysv/linux/fchmodat.c: Do not include
1534 <kernel-features.h>.
1535 (fchmodat) [__NR_fchmodat]: Make code unconditional.
1536 (fchmodat) [!__ASSUME_ATFCTS]: Remove conditional code.
1537 * sysdeps/unix/sysv/linux/fchownat.c: Do not include
1538 <kernel-features.h>.
1539 (fchownat) [__NR_fchownat]: Make code unconditional.
1540 (fchownat) [!__ASSUME_ATFCTS]: Remove conditional code.
1541 * sysdeps/unix/sysv/linux/futimesat.c: Do not include
1542 <kernel-features.h>.
1543 (futimesat) [__NR_futimesat]: Make code unconditional.
1544 (futimesat) [!__ASSUME_ATFCTS]: Remove conditional code.
1545 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
1546 <kernel-features.h>.
1547 (__fxstatat) [__NR_newfstatat]: Make code unconditional.
1548 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
1549 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
1550 <kernel-features.h>.
1551 (__fxstatat64) [__NR_fstatat64]: Make code unconditional.
1552 (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
1553 * sysdeps/unix/sysv/linux/i386/fchownat.c: Remove file.
1554 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
1555 <kernel-features.h>.
1556 (__fxstatat) [__NR_fstatat64]: Make code unconditional.
1557 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
1558 * sysdeps/unix/sysv/linux/linkat.c: Do not include
1559 <kernel-features.h>.
1560 (linkat) [__NR_linkat]: Make code unconditional.
1561 (linkat) [!__ASSUME_ATFCTS]: Remove conditional code.
1562 * sysdeps/unix/sysv/linux/m68k/fchownat.c: Remove file.
1563 * sysdeps/unix/sysv/linux/mips/mips64/fxstatat64.c: Do not include
1564 <kernel-features.h>.
1565 (__fxstatat64) [__NR_newfstatat]: Make code unconditional.
1566 (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
1567 * sysdeps/unix/sysv/linux/mkdirat.c: Do not include
1568 <kernel-features.h>.
1569 (mkdirat) [__NR_mkdirat]: Make code unconditional.
1570 (mkdirat) [!__ASSUME_ATFCTS]: Remove conditional code.
1571 * sysdeps/unix/sysv/linux/openat.c: Do not include
1572 <kernel-features.h>.
1573 [!__ASSUME_ATFCTS] (__atfct_seterrno): Remove function.
1574 [!__ASSUME_ATFCTS] (__have_atfcts): Remove variable.
1575 (OPENAT_NOT_CANCEL) [__NR_openat]: Make code unconditional.
1576 (OPENAT_NOT_CANCEL) [!__ASSUME_ATFCTS]: Remove conditional code.
1577 * sysdeps/unix/sysv/linux/powerpc/fchownat.c: Remove file.
1578 * sysdeps/unix/sysv/linux/readlinkat.c: Do not include
1579 <kernel-features.h>.
1580 (readlinkat) [__NR_readlinkat]: Make code unconditional.
1581 (readlinkat) [!__ASSUME_ATFCTS]: Remove conditional code. Return
1582 result of INLINE_SYSCALL directly, not via int variable.
1583 * sysdeps/unix/sysv/linux/renameat.c: Do not include
1584 <kernel-features.h>.
1585 [!__ASSUME_ATFCTS] (__atfct_seterrno_2): Remove function.
1586 (renameat) [__NR_renameat]: Make code unconditional.
1587 (renameat) [!__ASSUME_ATFCTS]: Remove conditional code.
1588 * sysdeps/unix/sysv/linux/s390/s390-32/fchownat.c: Remove file.
1589 * sysdeps/unix/sysv/linux/sh/fchownat.c: Remove file.
1590 * sysdeps/unix/sysv/linux/sparc/sparc32/fchownat.c: Remove file.
1591 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c
1592 (__ASSUME_ATFCTS): Do not undefine and redefine.
1593 * sysdeps/unix/sysv/linux/symlinkat.c: Do not include
1594 <kernel-features.h>.
1595 (symlinkat) [__NR_symlinkat]: Make code unconditional.
1596 (symlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
1597 * sysdeps/unix/sysv/linux/unlinkat.c: Do not include
1598 <kernel-features.h>.
1599 (unlinkat) [__NR_unlinkat]: Make code unconditional.
1600 (unlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
1601 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c
1602 (__ASSUME_ATFCTS): Do not undefine and redefine.
1603 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
1604 <kernel-features.h>.
1605 (__fxstatat) [__NR_newfstatat]: Make code unconditional.
1606 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
1607 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
1608 <kernel-features.h>.
1609 (__xmknodat) [__NR_mknodat]: Make code unconditional.
1610 (__xmknodat) [!__ASSUME_ATFCTS]: Remove conditional code.
1612 2014-06-20 H.J. Lu <hongjiu.lu@intel.com>
1614 * sysdeps/x86_64/multiarch/rtld-strlen.S: Removed.
1616 2014-06-20 Andreas Schwab <schwab@linux-m68k.org>
1619 * posix/regcomp.c (parse_reg_exp): Deallocate partially
1620 constructed tree before returning error.
1621 * posix/bug-regexp36.c: Expand test case.
1623 2014-06-20 Stefan Liebler <stli@linux.vnet.ibm.com>
1626 * math/libm-test.inc (scalbln_test_date):
1627 Add errno expectations.
1628 * math/w_scalblnf.c: New File.
1629 Add wrapper which checks for setting errno to ERANGE.
1630 Add weak_alias for corresponding scalbln function.
1631 * math/w_scalbln.c: Likewise.
1632 * math/w_scalblnl.c: Likewise.
1633 * math/Makefile (libm-calls): Add w_scalbln.
1634 * sysdeps/ieee754/flt-32/s_scalblnf.c:
1635 Remove weak_alias for corresponding scalbln function.
1636 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
1637 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
1638 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
1639 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
1640 * sysdeps/sparc/sparc64/soft-fp/s_scalblnl.c: Likewise.
1641 * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
1642 * sysdeps/i386/fpu/s_scalbn.S: Likewise.
1643 * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
1644 * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Likewise.
1645 * sysdeps/ieee754/ldbl-64-128/s_scalblnl.c:
1646 Remove long_double_symbol for scalblnl function in libm, libc.
1647 * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: New File.
1648 Add wrapper which checks for setting errno to ERANGE.
1649 Add long_double_symbol for scalblnl function in libm, libc.
1650 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c:
1651 Remove long_double_symbol for scalblnl in libm.
1652 * sysdeps/ieee754/ldbl-128ibm/w_scalblnl.c: New File.
1653 Add wrapper which checks for setting errno to ERANGE.
1654 Add long_double_symbol for scalblnl function in libm.
1655 * sysdeps/ia64/fpu/w_scalblnf.c: New File.
1656 Do not use wrapper because of own implementation.
1658 2014-06-19 H.J. Lu <hongjiu.lu@intel.com>
1660 * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Use
1661 3 bytes for __pad1 for x32.
1662 (__PTHREAD_RWLOCK_ELISION_EXTRA): Likewise.
1664 2014-06-19 Ling Ma <ling.ml@alibaba-inc.com>
1665 H.J. Lu <hongjiu.lu@intel.com>
1667 * sysdeps/x86_64/multiarch/Makefile: Add memset-avx2.
1668 * sysdeps/x86_64/multiarch/memset-avx2.S: New file.
1669 * sysdeps/x86_64/multiarch/memset.S: Likewise.
1670 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
1671 * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise.
1673 2014-06-19 Andreas Schwab <schwab@linux-m68k.org>
1676 * posix/regcomp.c (parse_expression): Deallocate partially
1677 constructed tree before returning error.
1678 * posix/Makefile.c (tests): Add bug-regex36.
1679 (generated): Add bug-regex36.mtrace.
1680 (tests-special): Add $(objpfx)bug-regex36-mem.out
1681 (bug-regex36-ENV): New variable.
1682 ($(objpfx)bug-regex36-mem.out): New rule.
1683 * posix/bug-regex36.c: New file.
1685 2014-06-19 Will Newton <will.newton@linaro.org>
1687 * malloc/malloc.c (systrim): If extra is zero then return
1690 2014-06-19 Siddhesh Poyarekar <siddhesh@redhat.com>
1692 * benchtests/Makefile ($(objpfx)bench-%.c): Remove $(.).
1694 2014-06-19 Richard Earnshaw <rearnsha@arm.com>
1696 * sysdeps/aarch64/strchr.S: New file.
1698 2014-06-18 Joseph Myers <joseph@codesourcery.com>
1701 * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Do not subtract 1
1702 from arguments -2 or below.
1703 * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
1704 * sysdeps/x86_64/fpu/e_logl.S (__ieee754_logl): Likewise.
1706 2014-06-18 Andreas Schwab <schwab@suse.de>
1709 * posix/fnmatch_loop.c (FCT): Rerrange loop for skipping over rest
1710 of a bracket expr not to run off the end of the string.
1711 * posix/Makefile (tests): Add tst-fnmatch3.
1712 * posix/tst-fnmatch3.c: New file.
1714 2014-06-18 Joseph Myers <joseph@codesourcery.com>
1716 * elf/Makefile ($(objpfx)tst-unused-dep.out): Use $(rtld-prefix).
1717 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
1718 [$(cross-compiling) = no]: Likewise.
1719 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
1720 [$(cross-compiling) = no]: Likewise.
1722 2014-16-17 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
1725 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Consider the low
1726 double, adjusted for any remainder from the high double.
1727 * math/libm-test.inc (nearbyint): Add tests.
1730 2014-06-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1732 * nptl/sysdeps/powerpc/Makefile: Moved ...
1733 * sysdeps/powerpc/nptl/Makefile: ... here.
1734 * nptl/sysdeps/powerpc/pthread_spin_lock.c: Moved ...
1735 * sysdeps/powerpc/nptl/pthread_spin_lock.c: .. here.
1736 * nptl/sysdeps/powerpc/pthread_spin_trylock.c: Moved ...
1737 * sysdeps/powerpc/nptl/pthread_spin_trylock.c: ... here.
1738 * nptl/sysdeps/powerpc/pthreaddef.h: Moved ...
1739 * sysdeps/powerpc/nptl/pthreaddef.h: ... here.
1740 * nptl/sysdeps/powerpc/tcb-offsets.sym: Moved ...
1741 * sysdeps/powerpc/nptl/tcb-offsets.sym: ... here.
1742 * nptl/sysdeps/powerpc/tls.h: Moved ...
1743 * sysdeps/powerpc/nptl/tls.h: ... here.
1745 2014-06-16 Joseph Myers <joseph@codesourcery.com>
1748 * sysdeps/i386/fpu/s_ceil.S (__ceil): Add CFI.
1749 * sysdeps/i386/fpu/s_ceilf.S (__ceilf): Likewise.
1750 * sysdeps/i386/fpu/s_ceill.S (__ceill): Likewise.
1751 * sysdeps/i386/fpu/s_floor.S (__floor): Likewise.
1752 * sysdeps/i386/fpu/s_floorf.S (__floorf): Likewise.
1753 * sysdeps/i386/fpu/s_floorl.S (__floorl): Likewise.
1754 * sysdeps/i386/fpu/s_trunc.S (__trunc): Likewise.
1755 * sysdeps/i386/fpu/s_truncf.S (__truncf): Likewise.
1756 * sysdeps/i386/fpu/s_truncl.S (__truncl): Likewise.
1758 2014-06-17 Andreas Schwab <schwab@linux-m68k.org>
1760 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
1762 2014-06-16 Andreas Schwab <schwab@linux-m68k.org>
1764 * sysdeps/m68k/m680x0/bits/huge_vall.h: Fix missing space after
1767 * scripts/cross-test-ssh.sh (timeoutfactor): Default to
1770 2014-06-16 Florian Weimer <fweimer@redhat.com>
1773 * nptl/tst-setuid2.c (do_test): Fix tautological comparison in
1774 non-executed part of the test.
1776 2014-06-16 Andreas Schwab <schwab@suse.de>
1778 * string/bits/string2.h (strdup, strndup): Update feature guard.
1780 2014-06-14 David S. Miller <davem@davemloft.net>
1782 * sysdeps/sparc/fpu/libm-test-ulps: Update.
1784 2014-06-14 Andreas Schwab <schwab@linux-m68k.org>
1786 * sysdeps/unix/sysv/linux/m68k/clone.S: Deconditionalize the code
1787 that was previously under [RESET_PID].
1788 * sysdeps/unix/sysv/linux/m68k/nptl/clone.S: Remove file.
1790 * sysdeps/unix/sysv/linux/m68k/pt-vfork.c: New file.
1791 * sysdeps/unix/sysv/linux/m68k/nptl/pt-vfork.S: Remove file.
1792 * sysdeps/unix/sysv/linux/m68k/vfork.S: Include <tcb-offsets.h>.
1793 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
1794 (__libc_vfork): New strong alias.
1795 * sysdeps/unix/sysv/linux/m68k/nptl/vfork.S: Remove file.
1797 2014-06-14 Andi Kleen <ak@linux.intel.com>
1799 * sysdeps/generic/elide.h: New file.
1801 2014-06-13 Stefan Liebler <stli@linux.vnet.ibm.com>
1803 * Makefile (installed-headers): Adjust path of pthread.h header.
1805 2014-06-13 Roland McGrath <roland@hack.frob.com>
1807 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h: Moved ...
1808 * sysdeps/s390/nptl/bits/pthreadtypes.h: ... here.
1809 * nptl/sysdeps/unix/sysv/linux/s390/bits/semaphore.h: Moved ...
1810 * sysdeps/s390/nptl/bits/semaphore.h: ... here.
1812 * nptl/sysdeps/s390/Makefile: Moved ...
1813 * sysdeps/s390/nptl/Makefile: ... here.
1814 * nptl/sysdeps/s390/pthread_spin_init.c: Moved ...
1815 * sysdeps/s390/nptl/pthread_spin_init.c: ... here.
1816 * nptl/sysdeps/s390/pthread_spin_lock.c: Moved ...
1817 * sysdeps/s390/nptl/pthread_spin_lock.c: ... here.
1818 * nptl/sysdeps/s390/pthread_spin_trylock.c: Moved ...
1819 * sysdeps/s390/nptl/pthread_spin_trylock.c: ... here.
1820 * nptl/sysdeps/s390/pthread_spin_unlock.c: Moved ...
1821 * sysdeps/s390/nptl/pthread_spin_unlock.c: ... here.
1822 * nptl/sysdeps/s390/pthreaddef.h: Moved ...
1823 * sysdeps/s390/nptl/pthreaddef.h: ... here.
1824 * nptl/sysdeps/s390/tcb-offsets.sym: Moved ...
1825 * sysdeps/s390/nptl/tcb-offsets.sym: ... here.
1826 * nptl/sysdeps/s390/tls.h: Moved ...
1827 * sysdeps/s390/nptl/tls.h: ... here.
1829 * sysdeps/unix/sysv/linux/s390/arch-fork.h: New file.
1830 * nptl/sysdeps/unix/sysv/linux/s390/fork.c: File removed.
1832 2014-06-13 David S. Miller <davem@davemloft.net>
1834 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/clone.S: Delete.
1835 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pt-vfork.S: Delete.
1836 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Moved ...
1837 * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: ... here.
1838 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/clone.S: Delete.
1839 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/pt-vfork.S: Delete.
1840 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Moved ...
1841 * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: ... here.
1842 * sysdeps/unix/sysv/linux/sparc/fork.S: Delete.
1843 * sysdeps/unix/sysv/linux/sparc/pt-vfork.S: New file.
1844 * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__thread_start):
1845 Remove RESET_PID cpp guards.
1846 * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__thread_start):
1847 Remove RESET_PID cpp guards.
1848 * sysdeps/unix/sysv/linux/sparc/vfork.S: Delete.
1850 2014-06-13 Andreas Schwab <schwab@linux-m68k.org>
1852 * sysdeps/m68k/jmpbuf-unwind.h (_JMPBUF_UNWINDS, _jmpbuf_sp): Cast
1855 2014-06-13 Andi Kleen <ak@linux.intel.com>
1857 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: Remove.
1858 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S: dito.
1859 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S: dito.
1860 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: dito.
1861 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: dito.
1862 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: dito.
1863 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S: dito.
1864 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S: dito.
1865 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: dito.
1866 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: dito.
1867 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: dito.
1868 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S: dito.
1869 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S: dito.
1870 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: dito.
1871 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: dito.
1872 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: dito.
1873 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: dito.
1874 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: dito.
1875 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: dito.
1876 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: dito.
1878 * nptl/pthread_rwlock_rdlock.c: Include elide.h.
1879 (pthread_rwlock_rdlock): Add elision.
1880 * nptl/pthread_rwlock_wrlock.c: Include elide.h.
1881 (pthread_rwlock_wrlock): Add elision.
1882 * nptl/pthread_rwlock_trywrlock.c: Include elide.h.
1883 (pthread_rwlock_trywrlock): Add elision.
1884 * nptl/pthread_rwlock_tryrdlock.c: Include elide.h.
1885 (pthread_rwlock_tryrdlock): Add elision.
1886 * nptl/pthread_rwlock_unlock.c: Include elide.h.
1887 (pthread_rwlock_tryrdlock): Add elision unlock.
1888 * nptl/sysdeps/pthread/pthread.h:
1889 (__PTHREAD_RWLOCK_ELISION_EXTRA): Handle new define
1890 (PTHREAD_RWLOCK_INITIALIZER,
1891 PTHREAD_RWLOCK_WRITER_NONRECURSIVE_INITIALIZER_NP):
1892 Handle new elision field.
1893 * sysdeps/x86/nptl/elide.h: New file. Add generic elision macros.
1894 * sysdeps/arm/nptl/bits/pthreadtypes.h
1895 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
1896 * sysdeps/sh/nptl/bits/pthreadtypes.h
1897 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
1898 * sysdeps/tile/nptl/bits/pthreadtypes.h
1899 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
1900 * sysdeps/a/nptl/bits/pthreadtypes.h
1901 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
1902 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
1903 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
1904 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
1905 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
1906 * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h
1907 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
1908 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
1909 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
1910 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
1911 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
1912 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
1913 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
1914 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
1915 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
1916 * sysdeps/unix/sysv/linux/powerpc/nptl/bits/pthreadtypes.h
1917 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
1918 * sysdeps/unix/sysv/linux/x86/elision-conf.c:
1919 (elision_init): Set try_xbegin to zero when no RTM.
1920 * sysdeps/x86/nptl/bits/pthreadtypes.h
1921 (pthread_rwlock_t): Change __pad1 to __rwelision.
1922 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
1924 2014-06-13 Andi Kleen <ak@linux.intel.com>
1926 * nptl/pthread_rwlock_rdlock (__pthread_rwlock_rdlock):
1927 Split into __do_pthread_rwlock_rdlock and __pthread_rwlock_rdlock.
1928 * nptl/pthread_rwlock_wrlock (__pthread_rwlock_wrlock):
1929 Split into __do_pthread_rwlock_wrlock and __pthread_wrlock_rdlock.
1931 2014-06-13 Meador Inge <meadori@codesourcery.com>
1934 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Ensure
1935 that the cached result has been set before returning it.
1937 2014-06-12 Roland McGrath <roland@hack.frob.com>
1939 * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h: Moved ...
1940 * sysdeps/sparc/nptl/bits/pthreadtypes.h: ... here.
1941 * nptl/sysdeps/unix/sysv/linux/sparc/bits/semaphore.h: Moved ...
1942 * sysdeps/sparc/nptl/bits/semaphore.h: ... here.
1943 * nptl/sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: Moved ...
1944 * sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: ... here.
1946 * nptl/sysdeps/sparc/Makefile: Moved ...
1947 * sysdeps/sparc/nptl/Makefile: ... here.
1948 * nptl/sysdeps/sparc/tcb-offsets.sym: Moved ...
1949 * sysdeps/sparc/nptl/tcb-offsets.sym: ... here.
1950 * nptl/sysdeps/sparc/tls.h: Moved ...
1951 * sysdeps/sparc/nptl/tls.h: ... here.
1952 * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S: Moved ...
1953 * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: ... here.
1954 * nptl/sysdeps/sparc/sparc32/pthread_spin_trylock.S: Moved ...
1955 * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: ... here.
1956 * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Moved ...
1957 * sysdeps/sparc/sparc32/nptl/pthreaddef.h: ... here.
1958 * nptl/sysdeps/sparc/sparc64/pthread_spin_init.c: Moved ...
1959 * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: ... here.
1960 * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S: Moved ...
1961 * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: ... here.
1962 * nptl/sysdeps/sparc/sparc64/pthread_spin_trylock.S: Moved ...
1963 * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: ... here.
1964 * nptl/sysdeps/sparc/sparc64/pthread_spin_unlock.S: Moved ...
1965 * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: ... here.
1966 * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Moved ...
1967 * sysdeps/sparc/sparc64/nptl/pthreaddef.h: ... here.
1968 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Moved ...
1969 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: ... here.
1971 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Moved ...
1972 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: ... here.
1974 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Moved ...
1975 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: ... here.
1977 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: Moved ...
1978 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: ... here.
1981 * nptl/sysdeps/sparc/tls.h (TLS_DEFINE_INIT_TP): New macro.
1983 * sysdeps/unix/sysv/linux/sparc/arch-fork.h: New file.
1984 * nptl/sysdeps/unix/sysv/linux/sparc/fork.c: File removed.
1986 * sysdeps/pthread/posix-timer.h: Include <list.h>.
1987 (struct list_links): Type removed.
1988 (struct thread_node, struct timer_node): Replace struct list_links
1989 with struct list_head.
1990 (list_unlink_ip): Likewise.
1991 * sysdeps/pthread/timer_routines.c
1992 (timer_free_list, thread_free_list, thread_active_list): Likewise.
1993 (list_append, list_insbefore): Likewise.
1994 (list_init): Function removed.
1995 (thread_init, init_module): Use INIT_LIST_HEAD instead.
1996 * sysdeps/nptl/Makefile: Move tst-timer bits to ...
1997 * sysdeps/pthread/Makefile: ... here, new file.
1999 * nptl/sysdeps/unix/sysv/linux/Implies: Moved ...
2000 * sysdeps/nptl/Implies: ... here.
2001 * sysdeps/unix/sysv/linux/Implies: Add nptl.
2002 * nptl/sysdeps/pthread/list.h: Moved ...
2003 * include/list.h: ... here.
2004 * nptl/sysdeps/pthread/createthread.c: Moved ...
2005 * nptl/createthread.c: ... here.
2006 * nptl/sysdeps/unix/sysv/linux/createthread.c: Update #include.
2007 * nptl/sysdeps/pthread/pt-longjmp.c: Moved ...
2008 * nptl/pt-longjmp.c: ... here.
2009 * nptl/sysdeps/pthread/Makefile: Moved ...
2010 * sysdeps/nptl/Makefile: ... here.
2011 * nptl/sysdeps/pthread/Subdirs: Moved ...
2012 * sysdeps/nptl/Subdirs: ... here.
2013 * nptl/sysdeps/pthread/aio_misc.h: Moved ...
2014 * sysdeps/nptl/aio_misc.h: ... here.
2015 * nptl/sysdeps/pthread/bits/libc-lock.h: Moved ...
2016 * sysdeps/nptl/bits/libc-lock.h: ... here.
2017 * nptl/sysdeps/pthread/bits/libc-lockP.h: Moved ...
2018 * sysdeps/nptl/bits/libc-lockP.h: ... here.
2019 * nptl/sysdeps/pthread/bits/stdio-lock.h: Moved ...
2020 * sysdeps/nptl/bits/stdio-lock.h: ... here.
2021 * nptl/sysdeps/pthread/configure: Moved ...
2022 * sysdeps/nptl/configure: ... here.
2023 * nptl/sysdeps/pthread/configure.ac: Moved ...
2024 * sysdeps/nptl/configure.ac: ... here.
2025 * nptl/sysdeps/pthread/gai_misc.h: Moved ...
2026 * sysdeps/nptl/gai_misc.h: ... here.
2027 * nptl/sysdeps/pthread/librt-cancellation.c: Moved ...
2028 * sysdeps/nptl/librt-cancellation.c: ... here.
2029 * nptl/sysdeps/pthread/malloc-machine.h: Moved ...
2030 * sysdeps/nptl/malloc-machine.h: ... here.
2031 * nptl/sysdeps/pthread/pthread-functions.h: Moved ...
2032 * sysdeps/nptl/pthread-functions.h: ... here.
2033 * nptl/sysdeps/pthread/pthread.h: Moved ...
2034 * sysdeps/nptl/pthread.h: ... here.
2035 * nptl/sysdeps/pthread/setxid.h: Moved ...
2036 * sysdeps/nptl/setxid.h: ... here.
2037 * nptl/sysdeps/pthread/sigfillset.c: Moved ...
2038 * sysdeps/nptl/sigfillset.c: ... here.
2039 * nptl/sysdeps/pthread/tcb-offsets.h: Moved ...
2040 * sysdeps/nptl/tcb-offsets.h: ... here.
2041 * nptl/sysdeps/pthread/tst-mqueue8x.c: Moved ...
2042 * sysdeps/nptl/tst-mqueue8x.c: ... here.
2043 * nptl/sysdeps/pthread/unwind-forcedunwind.c: Moved ...
2044 * sysdeps/nptl/unwind-forcedunwind.c: ... here.
2045 * nptl/sysdeps/pthread/allocalim.h: Moved ...
2046 * sysdeps/pthread/allocalim.h: ... here.
2047 * nptl/sysdeps/pthread/bits/sigthread.h: Moved ...
2048 * sysdeps/pthread/bits/sigthread.h: ... here.
2049 * nptl/sysdeps/pthread/flockfile.c: Moved ...
2050 * sysdeps/pthread/flockfile.c: ... here.
2051 * nptl/sysdeps/pthread/ftrylockfile.c: Moved ...
2052 * sysdeps/pthread/ftrylockfile.c: ... here.
2053 * nptl/sysdeps/pthread/funlockfile.c: Moved ...
2054 * sysdeps/pthread/funlockfile.c: ... here.
2055 * nptl/sysdeps/pthread/posix-timer.h: Moved ...
2056 * sysdeps/pthread/posix-timer.h: ... here.
2057 * nptl/sysdeps/pthread/timer_create.c: Moved ...
2058 * sysdeps/pthread/timer_create.c: ... here.
2059 * nptl/sysdeps/pthread/timer_delete.c: Moved ...
2060 * sysdeps/pthread/timer_delete.c: ... here.
2061 * nptl/sysdeps/pthread/timer_getoverr.c: Moved ...
2062 * sysdeps/pthread/timer_getoverr.c: ... here.
2063 * nptl/sysdeps/pthread/timer_gettime.c: Moved ...
2064 * sysdeps/pthread/timer_gettime.c: ... here.
2065 * nptl/sysdeps/pthread/timer_routines.c: Moved ...
2066 * sysdeps/pthread/timer_routines.c: ... here.
2067 * nptl/sysdeps/pthread/timer_settime.c: Moved ...
2068 * sysdeps/pthread/timer_settime.c: ... here.
2069 * nptl/sysdeps/pthread/tst-timer.c: Moved ...
2070 * sysdeps/pthread/tst-timer.c: ... here.
2071 * nptl/sysdeps/pthread/pthread_sigmask.c: Moved ...
2072 * sysdeps/unix/sysv/linux/pthread_sigmask.c: ... here.
2074 * sysdeps/unix/sysv/linux/sigprocmask.c: Include <nptl/pthreadP.h>.
2075 * nptl/sysdeps/pthread/sigprocmask.c: File removed.
2077 * nptl/sysdeps/i386/i486/pthread_spin_trylock.S: Moved ...
2078 * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: ... here.
2079 * nptl/sysdeps/i386/i586/pthread_spin_trylock.S: Moved ...
2080 * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: ... here.
2081 Update #include target.
2082 * nptl/sysdeps/i386/i686/Makefile: Moved ...
2083 * sysdeps/i386/i686/nptl/Makefile: ... here.
2084 * nptl/sysdeps/i386/i686/pthread_spin_trylock.S: Moved ...
2085 * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: ... here.
2086 Update #include target.
2087 * nptl/sysdeps/i386/i686/tls.h: Moved ...
2088 * sysdeps/i386/i686/nptl/tls.h: ... here. Use #include_next.
2089 * nptl/sysdeps/i386/Makefile: Moved ...
2090 * sysdeps/i386/nptl/Makefile: ... here.
2091 * nptl/sysdeps/i386/pthread_spin_init.c: Moved ...
2092 * sysdeps/i386/nptl/pthread_spin_init.c: ... here.
2093 * sysdeps/x86_64/nptl/pthread_spin_init.c: Update #include target.
2094 * nptl/sysdeps/i386/pthread_spin_lock.S: Moved ...
2095 * sysdeps/i386/nptl/pthread_spin_lock.S: ... here.
2096 * nptl/sysdeps/i386/pthread_spin_unlock.S: Moved ...
2097 * sysdeps/i386/nptl/pthread_spin_unlock.S: ... here.
2098 * nptl/sysdeps/i386/pthreaddef.h: Moved ...
2099 * sysdeps/i386/nptl/pthreaddef.h: ... here.
2100 * nptl/sysdeps/i386/tcb-offsets.sym: Moved ...
2101 * sysdeps/i386/nptl/tcb-offsets.sym: ... here.
2102 * nptl/sysdeps/i386/tls.h: Moved ...
2103 * sysdeps/i386/nptl/tls.h: ... here.
2105 * sysdeps/sh/Makefile [$(subdir) = csu]
2106 (gen-as-const-headers): Add tcb-offsets.sym.
2107 * nptl/sysdeps/sh/Makefile: File removed.
2108 * nptl/sysdeps/sh/pthread_spin_init.c: Moved ...
2109 * sysdeps/sh/nptl/pthread_spin_init.c: ... here.
2110 * nptl/sysdeps/sh/pthread_spin_lock.c: Moved ...
2111 * sysdeps/sh/nptl/pthread_spin_lock.c: ... here.
2112 * nptl/sysdeps/sh/pthread_spin_trylock.S: Moved ...
2113 * sysdeps/sh/nptl/pthread_spin_trylock.S: ... here.
2114 * nptl/sysdeps/sh/pthread_spin_unlock.S: Moved ...
2115 * sysdeps/sh/nptl/pthread_spin_unlock.S: ... here.
2116 * nptl/sysdeps/sh/pthreaddef.h: Moved ...
2117 * sysdeps/sh/nptl/pthreaddef.h: ... here.
2118 * nptl/sysdeps/sh/tcb-offsets.sym: Moved ...
2119 * sysdeps/sh/nptl/tcb-offsets.sym: ... here.
2120 * nptl/sysdeps/sh/tls.h: Moved ...
2121 * sysdeps/sh/nptl/tls.h: ... here.
2122 * nptl/sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Moved ...
2123 * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: ... here.
2124 * nptl/sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: Moved ...
2125 * sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: ... here.
2126 * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.S: Moved ...
2127 * sysdeps/unix/sysv/linux/sh/lowlevellock.S: ... here.
2128 * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.h: Moved ...
2129 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: ... here.
2130 * nptl/sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Moved ...
2131 * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: ... here.
2132 * nptl/sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Moved ...
2133 * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: ... here.
2134 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Moved ...
2135 * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: ... here.
2136 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Moved ...
2137 * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: ... here.
2138 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Moved ...
2139 * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: ... here.
2140 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Moved ...
2141 * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: ... here.
2142 * nptl/sysdeps/unix/sysv/linux/sh/pthread_once.S: Moved ...
2143 * sysdeps/unix/sysv/linux/sh/pthread_once.S: ... here.
2144 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Moved ...
2145 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: ... here.
2146 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S:
2148 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: ... here.
2149 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S:
2151 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: ... here.
2152 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Moved ...
2153 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: ... here.
2154 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Moved ...
2155 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: ... here.
2156 * nptl/sysdeps/unix/sysv/linux/sh/sem_post.S: Moved ...
2157 * sysdeps/unix/sysv/linux/sh/sem_post.S: ... here.
2158 * nptl/sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Moved ...
2159 * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: ... here.
2160 * nptl/sysdeps/unix/sysv/linux/sh/sem_trywait.S: Moved ...
2161 * sysdeps/unix/sysv/linux/sh/sem_trywait.S: ... here.
2162 * nptl/sysdeps/unix/sysv/linux/sh/sem_wait.S: Moved ...
2163 * sysdeps/unix/sysv/linux/sh/sem_wait.S: ... here.
2164 * nptl/sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Moved ...
2165 * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: ... here.
2166 * nptl/sysdeps/unix/sysv/linux/sh/smp.h: Moved ...
2167 * sysdeps/unix/sysv/linux/sh/smp.h: ... here.
2168 * nptl/sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Moved ...
2169 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: ... here.
2171 2014-06-12 Stefan Liebler <stli@linux.vnet.ibm.com>
2173 * posix/spawn_faction_addopen.c: Include string.h.
2175 2014-06-11 Roland McGrath <roland@hack.frob.com>
2177 * nptl/sysdeps/x86_64/64/shlib-versions: Moved ...
2178 * sysdeps/x86_64/64/nptl/shlib-versions: ... here.
2179 * nptl/sysdeps/x86_64/Makefile: Moved ...
2180 * sysdeps/x86_64/nptl/Makefile: ... here.
2181 * nptl/sysdeps/x86_64/configure: Moved ...
2182 * sysdeps/x86_64/nptl/configure: ... here.
2183 * nptl/sysdeps/x86_64/configure.ac: Moved ...
2184 * sysdeps/x86_64/nptl/configure.ac: ... here.
2185 * nptl/sysdeps/x86_64/pthread_spin_init.c: Moved ...
2186 * sysdeps/x86_64/nptl/pthread_spin_init.c: ... here.
2187 * nptl/sysdeps/x86_64/pthread_spin_lock.S: Moved ...
2188 * sysdeps/x86_64/nptl/pthread_spin_lock.S: ... here.
2189 * nptl/sysdeps/x86_64/pthread_spin_trylock.S: Moved ...
2190 * sysdeps/x86_64/nptl/pthread_spin_trylock.S: ... here.
2191 * nptl/sysdeps/x86_64/pthread_spin_unlock.S: Moved ...
2192 * sysdeps/x86_64/nptl/pthread_spin_unlock.S: ... here.
2193 * nptl/sysdeps/x86_64/pthreaddef.h: Moved ...
2194 * sysdeps/x86_64/nptl/pthreaddef.h: ... here.
2195 * nptl/sysdeps/x86_64/tcb-offsets.sym: Moved ...
2196 * sysdeps/x86_64/nptl/tcb-offsets.sym: ... here.
2197 * nptl/sysdeps/x86_64/tls.h: Moved ...
2198 * sysdeps/x86_64/nptl/tls.h: ... here.
2199 * nptl/sysdeps/x86_64/x32/shlib-versions: Moved ...
2200 * sysdeps/x86_64/x32/nptl/shlib-versions: ... here.
2201 * nptl/sysdeps/x86_64/x32/tls.h: Moved ...
2202 * sysdeps/x86_64/x32/nptl/tls.h: ... here.
2204 * sysdeps/x86_64/x32/nptl/tls.h: Use #include_next.
2206 2014-06-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2208 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2210 2014-06-11 Joseph Myers <joseph@codesourcery.com>
2212 * conform/data/sys/mman.h-data [POSIX] (size_t): Do not require
2214 [POSIX] (off_t): Likewise.
2215 * conform/data/sys/stat.h-data (S_IRGRP): Require constant.
2216 [POSIX] (S_ISBLK): Require macro.
2217 [POSIX] (S_ISCHR): Likewise.
2218 [POSIX] (S_ISDIR): Likewise.
2219 [POSIX] (S_ISFIFO): Likewise.
2220 [POSIX] (S_ISREG): Likewise.
2221 [POSIX || XPG3 || XPG4 || UNIX98] (S_TYPEISTMO): Do not list
2223 * conform/data/sys/types.h-data [POSIX] (blkcnt_t): Do not require
2225 [POSIX] (time_t): Likewise.
2226 [POSIX] (timer_t): Likewise.
2228 2014-06-11 Florian Weimer <fweimer@redhat.com>
2231 * posix/spawn_int.h (struct __spawn_action): Make the path string
2232 non-const to support deallocation.
2233 * posix/spawn_faction_addopen.c
2234 (posix_spawn_file_actions_addopen): Make a copy of the pathname.
2235 * posix/spawn_faction_destroy.c
2236 (posix_spawn_file_actions_destroy): Adjust comment. Deallocate
2237 path in all spawn_do_open actions.
2238 * posix/tst-spawn.c (do_test): Exercise the copy operation in
2239 posix_spawn_file_actions_addopen.
2241 2014-06-11 Chris Metcalf <cmetcalf@tilera.com>
2243 * sysdeps/unix/sysv/linux/tile/pt-vfork.c: New file.
2244 * sysdeps/unix/sysv/linux/tile/pt-vfork.S: Remove file.
2245 * sysdeps/unix/sysv/linux/tile/vfork.S (__vfork): Make PT_VFORK
2246 conditional code always true.
2247 (__libc_vfork): New alias.
2249 2014-06-11 Roland McGrath <roland@hack.frob.com>
2251 * sysdeps/tile/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
2252 * sysdeps/unix/sysv/linux/tile/createthread.c: File removed.
2254 * nptl/sysdeps/s390/tls.h (TLS_DEFINE_INIT_TP): New macro.
2256 * sysdeps/alpha/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
2257 * sysdeps/unix/sysv/linux/alpha/createthread.c: File removed.
2259 * nptl/sysdeps/powerpc/tls.h (TLS_DEFINE_INIT_TP): New macro.
2260 * sysdeps/unix/sysv/linux/powerpc/createthread.c: File removed.
2262 * sysdeps/aarch64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
2263 * sysdeps/unix/sysv/linux/aarch64/nptl/createthread.c: File removed.
2265 2014-06-11 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
2267 * sysdeps/powerpc/powerpc64/power7/strcmp.S: New file: Optimization.
2268 * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: New file:
2269 multiarch strcmp for PPC64.
2270 * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: New file.
2271 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power7.S: New file.
2272 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcmp
2273 multiarch optimizations.
2274 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
2275 (__libc_ifunc_impl_list): Likewise.
2277 2014-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
2279 * benchtests/scripts/validate_benchout.py: New script.
2280 * benchtests/Makefile (bench-func): Call it.
2281 * benchtests/scripts/benchout.schema.json: New file.
2283 2014-06-10 Chris Metcalf <cmetcalf@tilera.com>
2285 * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h: Moved ...
2286 * sysdeps/tile/nptl/bits/pthreadtypes.h: ... here.
2287 * sysdeps/unix/sysv/linux/tile/nptl/bits/semaphore.h: Moved ...
2288 * sysdeps/tile/nptl/bits/semaphore.h: ... here.
2289 * sysdeps/unix/sysv/linux/tile/nptl/Makefile: Removed, merged into ...
2290 * sysdeps/unix/sysv/linux/tile/Makefile: ... here.
2291 * sysdeps/unix/sysv/linux/tile/nptl/clone.S: Moved ...
2292 * sysdeps/unix/sysv/linux/tile/clone.S: ... here.
2293 * sysdeps/unix/sysv/linux/tile/nptl/createthread.c: Moved ...
2294 * sysdeps/unix/sysv/linux/tile/createthread.c: ... here.
2295 * sysdeps/unix/sysv/linux/tile/nptl/lowlevellock.h: Moved ...
2296 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: ... here.
2297 * sysdeps/unix/sysv/linux/tile/nptl/pt-vfork.S: Moved ...
2298 * sysdeps/unix/sysv/linux/tile/pt-vfork.S: ... here.
2299 * sysdeps/unix/sysv/linux/tile/nptl/sysdep-cancel.h: Moved ...
2300 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: ... here.
2301 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/c++-types.data:
2303 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/c++-types.data:
2305 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/ld.abilist:
2307 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/ld.abilist: ... here.
2308 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libBrokenLocale.abilist:
2310 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libBrokenLocale.abilist:
2312 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libanl.abilist:
2314 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libanl.abilist:
2316 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libc.abilist:
2318 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: ... here.
2319 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libcrypt.abilist:
2321 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libcrypt.abilist:
2323 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libdl.abilist:
2325 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libdl.abilist:
2327 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libm.abilist:
2329 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: ... here.
2330 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libnsl.abilist:
2332 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libnsl.abilist:
2334 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libpthread.abilist:
2336 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libpthread.abilist:
2338 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libresolv.abilist:
2340 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libresolv.abilist:
2342 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/librt.abilist:
2344 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/librt.abilist: ... here.
2345 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libthread_db.abilist:
2347 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libthread_db.abilist:
2349 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libutil.abilist:
2351 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libutil.abilist:
2353 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/c++-types.data:
2355 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/c++-types.data:
2357 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/ld.abilist:
2359 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/ld.abilist: ... here.
2360 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libBrokenLocale.abilist:
2362 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libBrokenLocale.abilist:
2364 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libanl.abilist:
2366 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libanl.abilist:
2368 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libc.abilist:
2370 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: ... here.
2371 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libcrypt.abilist:
2373 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libcrypt.abilist:
2375 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libdl.abilist:
2377 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libdl.abilist: ... here.
2378 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libm.abilist:
2380 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist: ... here.
2381 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libnsl.abilist:
2383 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libnsl.abilist:
2385 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libpthread.abilist:
2387 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libpthread.abilist:
2389 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libresolv.abilist:
2391 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libresolv.abilist:
2393 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/librt.abilist:
2395 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/librt.abilist: ... here.
2396 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libthread_db.abilist:
2398 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libthread_db.abilist:
2400 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libutil.abilist:
2402 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libutil.abilist:
2404 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/c++-types.data: Moved ...
2405 * sysdeps/unix/sysv/linux/tile/tilepro/c++-types.data: ... here.
2406 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/ld.abilist: Moved ...
2407 * sysdeps/unix/sysv/linux/tile/tilepro/ld.abilist: ... here.
2408 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libBrokenLocale.abilist:
2410 * sysdeps/unix/sysv/linux/tile/tilepro/libBrokenLocale.abilist:
2412 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libanl.abilist: Moved ...
2413 * sysdeps/unix/sysv/linux/tile/tilepro/libanl.abilist: ... here.
2414 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libc.abilist: Moved ...
2415 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: ... here.
2416 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libcrypt.abilist: Moved ...
2417 * sysdeps/unix/sysv/linux/tile/tilepro/libcrypt.abilist: ... here.
2418 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libdl.abilist: Moved ...
2419 * sysdeps/unix/sysv/linux/tile/tilepro/libdl.abilist: ... here.
2420 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libm.abilist: Moved ...
2421 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: ... here.
2422 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libnsl.abilist: Moved ...
2423 * sysdeps/unix/sysv/linux/tile/tilepro/libnsl.abilist: ... here.
2424 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libpthread.abilist:
2426 * sysdeps/unix/sysv/linux/tile/tilepro/libpthread.abilist: ... here.
2427 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libresolv.abilist:
2429 * sysdeps/unix/sysv/linux/tile/tilepro/libresolv.abilist: ... here.
2430 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/librt.abilist: Moved ...
2431 * sysdeps/unix/sysv/linux/tile/tilepro/librt.abilist: ... here.
2432 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libthread_db.abilist:
2434 * sysdeps/unix/sysv/linux/tile/tilepro/libthread_db.abilist: ... here.
2435 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libutil.abilist: Moved ...
2436 * sysdeps/unix/sysv/linux/tile/tilepro/libutil.abilist: ... here.
2437 * sysdeps/unix/sysv/linux/tile/nptl/vfork.S: Moved ...
2438 * sysdeps/unix/sysv/linux/tile/vfork.S: ... here.
2439 * sysdeps/unix/sysv/linux/tile/nptl/waitpid.S: Moved ...
2440 * sysdeps/unix/sysv/linux/tile/waitpid.S: ... here.
2442 2014-06-10 Wilco <wdijkstr@arm.com>
2444 * math/test-fenv-return.c: New file.
2445 * math/Makefile: Add new test test-fenv-return.
2447 2014-06-10 Joseph Myers <joseph@codesourcery.com>
2450 * sysdeps/i386/fpu/e_log2.S (__ieee754_log2): Take absolete value
2452 * sysdeps/i386/fpu/e_log2f.S (__ieee754_log2f): Likewise.
2453 * sysdeps/i386/fpu/e_log2l.S (__ieee754_log2l): Likewise.
2454 * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Return
2455 0.0L for an argument of 1.0L.
2456 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l):
2458 * sysdeps/x86_64/fpu/e_log2l.S (__ieee754_log2l): Take absolute
2459 value when x - 1 is zero.
2460 * math/libm-test.inc (log2_test): Use ALL_RM_TEST.
2461 * sysdeps/i386/fpu/libm-test-ulps: Update.
2462 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2464 2014-06-09 Bernard Ogden <bernie.ogden@linaro.org>
2467 * ports/sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.c: Remove file.
2469 2014-06-09 Roland McGrath <roland@hack.frob.com>
2471 * nptl/sysdeps/sh/tls.h (TLS_DEFINE_INIT_TP): New macro.
2472 * nptl/sysdeps/unix/sysv/linux/sh/createthread.c: File removed.
2474 2014-06-09 Roland McGrath <roland@hack.frob.com>
2476 * sysdeps/m68k/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
2477 * sysdeps/unix/sysv/linux/m68k/nptl/createthread.c: File removed.
2479 * sysdeps/hppa/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
2480 * sysdeps/unix/sysv/linux/hppa/nptl/createthread.c: File removed.
2482 * sysdeps/mips/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
2483 * sysdeps/unix/sysv/linux/mips/nptl/createthread.c: File removed.
2485 * sysdeps/arm/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
2486 * sysdeps/unix/sysv/linux/arm/createthread.c: File removed.
2488 * nptl/sysdeps/pthread/createthread.c (TLS_DEFINE_INIT_TP): New macro,
2489 if not already defined.
2490 (do_clone): Use that in place of PREPARE_CREATE and TLS_VALUE.
2491 * nptl/sysdeps/x86_64/tls.h (TLS_DEFINE_INIT_TP): New macro.
2492 * nptl/sysdeps/i386/tls.h (tls_fill_user_desc): New function.
2493 (TLS_INIT_TP): Use it.
2494 (TLS_DEFINE_INIT_TP): New macro.
2495 * sysdeps/unix/sysv/linux/i386/createthread.c: File removed.
2497 2014-06-09 Joseph Myers <joseph@codesourcery.com>
2499 * conform/data/termios.h-data [POSIX] (IUCLC): Do not expect
2501 [POSIX] (IXANY): Likewise.
2502 [POSIX] (OLCUC): Likewise.
2503 [POSIX || POSIX2008] (CBAUD): Do not allow.
2504 [POSIX || POSIX2008] (DEFECHO): Likewise.
2505 [POSIX || POSIX2008] (ECHOCTL): Likewise.
2506 [POSIX || POSIX2008] (ECHOKE): Likewise.
2507 [POSIX || POSIX2008] (ECHOPRT): Likewise.
2508 [POSIX || POSIX2008] (EXTA): Likewise.
2509 [POSIX || POSIX2008] (EXTB): Likewise.
2510 [POSIX || POSIX2008] (FLUSHO): Likewise.
2511 [POSIX || POSIX2008] (LOBLK): Likewise.
2512 [POSIX || POSIX2008] (PENDIN): Likewise.
2513 [POSIX || POSIX2008] (SWTCH): Likewise.
2514 [POSIX || POSIX2008] (VDISCARD): Likewise.
2515 [POSIX || POSIX2008] (VDSUSP): Likewise.
2516 [POSIX || POSIX2008] (VLNEXT): Likewise.
2517 [POSIX || POSIX2008] (VREPRINT): Likewise.
2518 [POSIX || POSIX2008] (VSTATUS): Likewise.
2519 [POSIX || POSIX2008] (VWERASE): Likewise.
2520 (B*): Change to B[0123456789]*.
2521 * conform/data/time.h-data [POSIX || UNIX98]
2522 (CLOCK_PROCESS_CPUTIME_ID): Do not expect constant.
2523 [POSIX || UNIX98] (CLOCK_THREAD_CPUTIME_ID): Likewise.
2524 [POSIX || UNIX98] (CLOCK_MONOTONIC): Likewise.
2525 [POSIX] (tm_*): Do not allow.
2527 2014-06-07 Joseph Myers <joseph@codesourcery.com>
2529 * Makefile (install): Don't set LANGUAGE.
2530 * Makefile.in (install): Likewise.
2531 * assert/Makefile (test-assert-ENV): Remove variable.
2532 (test-assert-perr-ENV): Likewise.
2533 * elf/Makefile (neededtest4-ENV): Likewise.
2534 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
2535 [$(cross-compiling) = no]: Don't set LANGUAGE.
2536 * io/ftwtest-sh (LANG): Remove variable.
2537 * libio/Makefile (tst-widetext-ENV): Likewise.
2538 * manual/install.texi (Running make install): Don't refer to
2539 environment settings for make install.
2540 * INSTALL: Regenerated.
2541 * nptl/tst-tls6.sh: Don't set LANG.
2542 * posix/globtest.sh (LANG): Remove variable.
2543 * string/Makefile (tester-ENV): Likewise.
2544 (inl-tester-ENV): Likewise.
2545 (noinl-tester-ENV): Likewise.
2546 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
2547 [$(cross-compiling) = no]: Don't set LANGUAGE.
2548 * timezone/Makefile (build-testdata): Use $(built-program-cmd)
2549 without explicit environment settings.
2551 2014-06-06 Roland McGrath <roland@hack.frob.com>
2553 * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h: Moved ...
2554 * sysdeps/sh/nptl/bits/pthreadtypes.h: ... here.
2555 * nptl/sysdeps/unix/sysv/linux/sh/bits/semaphore.h: Moved ...
2556 * sysdeps/sh/nptl/bits/semaphore.h: ... here.
2558 2014-06-06 Chris Metcalf <cmetcalf@tilera.com>
2560 * crypt/crypt-private.h [DOS]: Add some includes taken from the
2561 other files in the crypt directory.
2562 * crypt/crypt.c: Remove duplicate includes.
2563 * crypt/crypt-entry.c: Likewise.
2564 * crypt/crypt_util.c: Likewise.
2566 2014-06-06 Joseph Myers <joseph@codesourcery.com>
2568 * Makeconfig (run-program-env): New variable.
2569 (run-program-prefix-before-env): Likewise.
2570 (run-program-prefix-after-env): Likewise.
2571 (run-program-prefix): Define in terms of new variables.
2572 (built-program-cmd-before-env): New variable.
2573 (built-program-cmd-after-env): Likewise.
2574 (built-program-cmd): Define in terms of new variables.
2575 (test-program-prefix-before-env): New variable.
2576 (test-program-prefix-after-env): Likewise.
2577 (test-program-prefix): Define in terms of new variables.
2578 (test-program-cmd-before-env): New variable.
2579 (test-program-cmd-after-env): Likewise.
2580 (test-program-cmd): Define in terms of new variables.
2581 * Rules (make-test-out): Use $(run-program-env).
2582 * scripts/cross-test-ssh.sh (env_blacklist): Remove variable.
2583 (help): Do not mention environment variables. Mention
2584 --timeoutfactor option.
2585 (timeoutfactor): New variable.
2586 (blacklist_exports): Remove function.
2587 (exports): Remove variable.
2588 (command): Do not include ${exports}.
2589 * manual/install.texi (Configuring and compiling): Do not mention
2590 test wrappers preserving environment variables. Mention that last
2591 assignment to a variable must take precedence.
2592 * INSTALL: Regenerated.
2593 * benchtests/Makefile (run-bench): Use $(run-program-env).
2594 * catgets/Makefile ($(objpfx)test1.cat): Use
2595 $(built-program-cmd-before-env), $(run-program-env) and
2596 $(built-program-cmd-after-env).
2597 ($(objpfx)test2.cat): Do not specify environment variables
2599 ($(objpfx)de/libc.cat): Use $(built-program-cmd-before-env),
2600 $(run-program-env) and $(built-program-cmd-after-env).
2601 ($(objpfx)test-gencat.out): Use $(test-program-cmd-before-env),
2602 $(run-program-env) and $(test-program-cmd-after-env).
2603 ($(objpfx)sample.SJIS.cat): Do not specify environment variables
2605 * catgets/test-gencat.sh: Use test_program_cmd_before_env,
2606 run_program_env and test_program_cmd_after_env arguments.
2607 * elf/Makefile ($(objpfx)tst-pathopt.out): Use $(run-program-env).
2608 * elf/tst-pathopt.sh: Use run_program_env argument.
2609 * iconvdata/Makefile ($(objpfx)iconv-test.out): Use
2610 $(test-wrapper-env) and $(run-program-env).
2611 * iconvdata/run-iconv-test.sh: Use test_wrapper_env and
2612 run_program_env arguments.
2613 * iconvdata/tst-table.sh: Do not set GCONV_PATH explicitly.
2614 * intl/Makefile ($(objpfx)tst-gettext.out): Use
2615 $(test-program-prefix-before-env), $(run-program-env) and
2616 $(test-program-prefix-after-env).
2617 ($(objpfx)tst-gettext2.out): Likewise.
2618 * intl/tst-gettext.sh: Use test_program_prefix_before_env,
2619 run_program_env and test_program_prefix_after_env arguments.
2620 * intl/tst-gettext2.sh: Likewise.
2621 * intl/tst-gettext4.sh: Do not set environment variables
2623 * intl/tst-gettext6.sh: Likewise.
2624 * intl/tst-translit.sh: Likewise.
2625 * malloc/Makefile ($(objpfx)tst-mtrace.out): Use
2626 $(test-program-prefix-before-env), $(run-program-env) and
2627 $(test-program-prefix-after-env).
2628 * malloc/tst-mtrace.sh: Use test_program_prefix_before_env,
2629 run_program_env and test_program_prefix_after_env arguments.
2630 * math/Makefile (run-regen-ulps): Use $(run-program-env).
2631 * nptl/Makefile ($(objpfx)tst-tls6.out): Use $(run-program-env).
2632 * nptl/tst-tls6.sh: Use run_program_env argument. Set LANG=C
2633 explicitly with each use of ${test_wrapper_env}.
2634 * posix/Makefile ($(objpfx)wordexp-tst.out): Use
2635 $(test-program-prefix-before-env), $(run-program-env) and
2636 $(test-program-prefix-after-env).
2637 * posix/tst-getconf.sh: Do not set environment variables
2639 * posix/wordexp-tst.sh: Use test_program_prefix_before_env,
2640 run_program_env and test_program_prefix_after_env arguments.
2641 * stdio-common/tst-printf.sh: Do not set environment variables
2643 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Use
2644 $(test-program-prefix-before-env), $(run-program-env) and
2645 $(test-program-prefix-after-env).
2646 * stdlib/tst-fmtmsg.sh: Use test_program_prefix_before_env,
2647 run_program_env and test_program_prefix_after_env arguments.
2648 Split $test calls into $test_pre and $test.
2649 * timezone/Makefile (build-testdata): Use
2650 $(built-program-cmd-before-env), $(run-program-env) and
2651 $(built-program-cmd-after-env).
2653 2014-06-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2655 * sysdeps/powerpc/powerpc64/power7/strncat.S [STRLEN]: Define it as
2656 strlen for non SHARED builds.
2658 2014-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
2660 * nptl/allocatestack.c (check_list): Inlined function...
2661 (__reclaim_stacks): ... here.
2663 2014-06-05 Ondřej Bílka <neleai@seznam.cz>
2666 * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
2669 2014-06-05 Joseph Myers <joseph@codesourcery.com>
2671 * Rules (make-test-out): Include
2672 LOCPATH=$(common-objpfx)localedata in default environment.
2673 * debug/Makefile (tst-chk1-ENV): Remove variable.
2674 (tst-chk2-ENV): Likewise.
2675 (tst-chk3-ENV): Likewise.
2676 (tst-chk4-ENV): Likewise.
2677 (tst-chk5-ENV): Likewise.
2678 (tst-chk6-ENV): Likewise.
2679 (tst-lfschk1-ENV): Likewise.
2680 (tst-lfschk2-ENV): Likewise.
2681 (tst-lfschk3-ENV): Likewise.
2682 (tst-lfschk4-ENV): Likewise.
2683 (tst-lfschk5-ENV): Likewise.
2684 (tst-lfschk6-ENV): Likewise.
2685 * iconvdata/Makefile (bug-iconv6-ENV): Likewise.
2686 (tst-iconv7-ENV): Likewise.
2687 * intl/Makefile (LOCPATH-ENV): Likewise.
2688 (tst-codeset-ENV): Likewise.
2689 (tst-gettext3-ENV): Likewise.
2690 (tst-gettext5-ENV): Likewise.
2691 * libio/Makefile (tst-widetext-ENV): Don't set LOCPATH.
2692 (tst-fopenloc-ENV): Likewise.
2693 (tst-fgetws-ENV): Remove variable.
2694 (tst-ungetwc1-ENV): Likewise.
2695 (tst-ungetwc2-ENV): Likewise.
2696 (bug-ungetwc2-ENV): Likewise.
2697 (tst-swscanf-ENV): Likewise.
2698 (bug-ftell-ENV): Likewise.
2699 (tst-fgetwc-ENV): Likewise.
2700 (tst-fseek-ENV): Likewise.
2701 (tst-ftell-partial-wide-ENV): Likewise.
2702 (tst-ftell-active-handler-ENV): Likewise.
2703 (tst-ftell-append-ENV): Likewise.
2704 * posix/Makefile (tst-fnmatch-ENV): Likewise.
2705 (tst-regexloc-ENV): Likewise.
2706 (bug-regex1-ENV): Likewise.
2707 (tst-regex-ENV): Likewise.
2708 (tst-regex2-ENV): Likewise.
2709 (bug-regex5-ENV): Likewise.
2710 (bug-regex6-ENV): Likewise.
2711 (bug-regex17-ENV): Likewise.
2712 (bug-regex18-ENV): Likewise.
2713 (bug-regex19-ENV): Likewise.
2714 (bug-regex20-ENV): Likewise.
2715 (bug-regex22-ENV): Likewise.
2716 (bug-regex23-ENV): Likewise.
2717 (bug-regex25-ENV): Likewise.
2718 (bug-regex26-ENV): Likewise.
2719 (bug-regex30-ENV): Likewise.
2720 (bug-regex32-ENV): Likewise.
2721 (bug-regex33-ENV): Likewise.
2722 (bug-regex34-ENV): Likewise.
2723 (bug-regex35-ENV): Likewise.
2724 (tst-rxspencer-ENV): Likewise.
2725 (tst-rxspencer-no-utf8-ENV): Likewise.
2726 * stdio-common/Makefile (tst-sprintf-ENV): Likewise.
2727 (tst-sscanf-ENV): Likewise.
2728 (tst-swprintf-ENV): Likewise.
2729 (tst-swscanf-ENV): Likewise.
2730 (test-vfprintf-ENV): Likewise.
2731 (scanf13-ENV): Likewise.
2732 (bug14-ENV): Likewise.
2733 (tst-grouping-ENV): Likewise.
2734 * stdlib/Makefile (tst-strtod-ENV): Likewise.
2735 (tst-strtod3-ENV): Likewise.
2736 (tst-strtod4-ENV): Likewise.
2737 (tst-strtod5-ENV): Likewise.
2738 (testmb2-ENV): Likewise./
2739 * string/Makefile (tst-strxfrm-ENV): Likewise.
2740 (tst-strxfrm2-ENV): Likewise.
2741 (bug-strcoll1-ENV): Likewise.
2742 (test-strcasecmp-ENV): Likewise.
2743 (test-strncasecmp-ENV): Likewise.
2744 * time/Makefile (tst-strptime-ENV): Likewise.
2745 (tst-ftime_l-ENV): Likewise.
2746 * wcsmbs/Makefile (tst-btowc-ENV): Likewise.
2747 (tst-mbrtowc-ENV): Likewise.
2748 (tst-wcrtomb-ENV): Likewise.
2749 (tst-mbrtowc2-ENV): Likewise.
2750 (tst-c16c32-1-ENV): Likewise.
2751 (tst-mbsnrtowcs-ENV): Likewise.
2753 2014-06-05 Ondřej Bílka <neleai@seznam.cz>
2755 * manual/resource.texi (How to get information about the memory
2756 subsystem?): Fix typo.
2757 Reported by Peon de la Parra Ivan <peon@keba.com>
2759 2014-06-03 Guo Yixuan <culu.gyx@gmail.com>
2762 * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S
2763 (pthread_spin_lock): Branch out of spin loop to proper location.
2764 * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S
2765 (pthread_spin_lock): Likewise.
2767 * nptl/tst-spin4.c: New test.
2768 * nptl/Makefile (tests): Add tst-spin4.
2770 2014-06-03 Andreas Schwab <schwab@suse.de>
2773 * resolv/res_send.c (send_dg): Reload file descriptor after
2776 2014-06-03 Stefan Liebler <stli@linux.vnet.ibm.com>
2778 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
2780 2014-06-03 Richard Henderson <rth@redhat.com>
2782 * sysdeps/unix/sysv/linux/aarch64/pt-vfork.c: New file.
2783 * sysdeps/unix/sysv/linux/aarch64/nptl/pt-vfork.S: Remove file.
2784 * sysdeps/unix/sysv/linux/aarch64/vfork.S (__vfork): Incorporate
2785 SAVE_PID and RESTORE_PID blocks from pt-vfork.S. Map 0 to INT_MIN
2786 in the SAVE_PID block.
2787 (__libc_vfork): New alias.
2788 * sysdeps/unix/sysv/linux/aarch64/nptl/vfork.S: Remove file.
2790 * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Save args for
2791 child in registers, not on the stack. Remove RESET_PID conditionals.
2792 * sysdeps/unix/sysv/linux/aarch64/nptl/clone.S: Remove file.
2794 2014-06-03 Marcus Shawcroft <marcus.shawcroft@arm.com>
2796 * sysdeps/aarch64/libm-test-ulps: Regenerate.
2798 2014-06-03 Wilco <wdijkstr@arm.com>
2800 * sysdeps/aarch64/fpu/math_private.h (libc_fesetround_aarch64)
2801 (libc_feholdexcept_setround_aarch64) (libc_feholdsetround_aarch64)
2802 (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
2803 Use _FPU_FPCR_RM_MASK for rounding mask rather than FE_TOWARDZERO.
2804 * sysdeps/aarch64/fpu/get-rounding-mode.h (get_rounding_mode):
2807 2014-06-03 Wilco <wdijkstr@arm.com>
2809 * sysdeps/aarch64/fpu/math_private.h
2810 (libc_feholdexcept_aarch64) (libc_feholdexcept_setround_aarch64)
2811 (libc_fetestexcept_aarch64) (libc_fesetenv_aarch64)
2812 (libc_feupdateenv_test_aarch64) (libc_feholdsetround_aarch64)
2813 (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
2816 2014-06-03 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
2818 * crypt/crypt-private.h: Include ufc-crypt.h.
2819 (__b64_from_24bit): Declare extern.
2820 * crypt/crypt_util.c(__b64_from_24bit): New function.
2821 (b64t): New static const variable.
2822 * crypt/md5-crypt.c (b64_from_24bit): Remove function.
2823 (b64t): Remove variable.
2824 (__md5_crypt_r): Replace b64_from_24bit with __b64_from_24bit.
2825 * crypt/sha256-crypt.c: Include crypt-private.h.
2826 (b64t): Remove variable.
2827 (__sha256_crypt_r): Remove b64_from_24bit and replace
2828 with __b64_from_24bit.
2829 * crypt/sha512-crypt.c: Likewise.
2831 2014-06-02 Roland McGrath <roland@hack.frob.com>
2833 * nptl/sysdeps/unix/sysv/linux/sh/vfork.S: Moved ...
2834 * sysdeps/unix/sysv/linux/sh/vfork.S: ... here.
2835 Label the code __libc_vfork rather than __vfork.
2836 [!NOT_IN_libc] (vfork): Define as weak alias.
2837 [!NOT_IN_libc] (__vfork): Define as strong alias, and libc_hidden_def.
2838 * sysdeps/unix/sysv/linux/sh/pt-vfork.S: New file.
2839 * nptl/sysdeps/unix/sysv/linux/sh/pt-vfork.S: File removed.
2841 2014-06-02 Siddhesh Poyarekar <siddhesh@redhat.com>
2843 * malloc/malloc.c (malloc_info): Fix format specifier for
2846 2014-06-02 Wilco <wdijkstr@arm.com>
2848 * sysdeps/aarch64/fpu/fpu_control.h (_FPU_SETCW): Remove ISB after
2851 2014-06-02 Wilco <wdijkstr@arm.com>
2854 * sysdeps/aarch64/fpu/feupdateenv (feupdateenv):
2855 Rewrite to reduce FPCR/FPSR accesses.
2857 2014-06-01 David S. Miller <davem@davemloft.net>
2859 * sysdeps/sparc/fpu/libm-test-ulps: Update.
2861 2014-05-31 David S. Miller <davem@davemloft.net>
2863 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Force computations
2864 to occur in round to nearest mode when |x| >= 2.0
2866 2014-05-30 Richard Henderson <rth@twiddle.net>
2868 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Remove.
2869 (PSEUDO_RET_NOERRNO): Remove.
2870 (ret): Don't redefine.
2871 (ret_NOERRNO): Define in terms of ret.
2872 (ret_ERRVAL): Likewise.
2874 * sysdeps/unix/sysv/linux/aarch64/ioctl.S (__ioctl): Remove the
2875 use of PSEUDO_RET; perform the error check directly.
2877 2014-05-30 Marko Myllynen <myllynen@redhat.com>
2879 * sysdeps/x86_64/link-defines.sym (BND_SIZE): Replace __int128
2882 2014-05-30 Siddhesh Poyarekar <siddhesh@redhat.com>
2884 * malloc/malloc (malloc_info): Fix formatting.
2886 2014-05-30 Siddhesh Poyarekar <siddhesh@redhat.com>
2887 Roland McGrath <roland@hack.frob.com>
2889 * malloc/malloc (malloc_info): Also print mmapped statistics.
2891 2014-05-30 Roland McGrath <roland@hack.frob.com>
2893 * sysdeps/unix/sysv/linux/m68k/arch-fork.h: New file.
2894 * sysdeps/unix/sysv/linux/m68k/nptl/fork.c: File removed.
2896 2014-05-30 Ondřej Bílka <neleai@seznam.cz>
2898 * malloc/malloc.c (malloc_info): Inline mi_arena.
2900 2014-05-29 Richard Henderson <rth@twiddle.net>
2902 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INTERNAL_VSYSCALL_NCS):
2903 Remove comma before expanding ASM_ARGS_##nr.
2904 (INTERNAL_SYSCALL_RAW): Make _sys_result signed, instead of casting.
2905 Make _x0 a strict output; make _x8 a strict input; adjust expansion
2907 (CLOBBER_ARGS_0, CLOBBER_ARGS_1, CLOBBER_ARGS_2): Remove.
2908 (CLOBBER_ARGS_3, CLOBBER_ARGS_4, CLOBBER_ARGS_5): Remove.
2909 (CLOBBER_ARGS_6, CLOBBER_ARGS_7): Remove.
2910 (ASM_ARGS_1): Add leading comma.
2912 * sysdeps/unix/sysv/linux/aarch64/sysdep.h [NOT_IN_libc]
2913 (SYSCALL_ERROR_HANDLER): Use tpidr_el0 instead of a call
2914 to __errno_location.
2915 * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data (libpthread.so):
2916 Remove the expected plt for __errno_location.
2918 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
2919 [NOT_IN_libc] (SINGLE_THREAD_P): Use tpidr_el0 instead of a
2922 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
2923 Always allocate 64 bytes of stack frame. Use ldp/stp to create
2924 it and break it down.
2925 (DOCARGS_0, DOCARGS_1): Do nothing.
2926 (DOCARGS_2): Update to store into the new stack frame.
2927 (DOCARGS_3, DOCARGS_4, DOCARGS_5, DOCARGS_6): Likewise.
2928 (UNDOCARGS_1): Update to restore from the new stack frame.
2929 (UNDOCARGS_2, UNDOCARGS_3, UNDOCARGS_4): Likewise.
2930 (UNDOCARGS_5, UNDOCARGS_6): Likewise.
2932 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
2933 (SINGLE_THREAD_P): New parameter for result regno.
2934 (PSEUDO): Update to match; use cbz instead of beq.
2936 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
2937 Use ENTRY to define the _nocancel entry point. Share the syscall
2938 and syscall error check paths with the cancel path.
2941 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Adjust
2942 whitespace; tabs before and after asm mnemonics.
2944 2014-05-29 Eric Wong <normalperson@yhbt.net>
2947 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
2948 Call fstat64 or stat64 internally, depending on arguments passed.
2949 Replace stat buffer argument with file descriptor argument.
2950 (INTERNAL_STATVFS): Update arguments to match __statvfs_getflags.
2951 * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
2952 Pass fd to __internal_statvfs instead of calling fstat64.
2953 * sysdeps/unix/sysv/linux/fstatvfs64.c (__fstatvfs64):
2954 Pass fd to __internal_statvfs64 instead of calling fstat64.
2955 * sysdeps/unix/sysv/linux/statvfs.c (statvfs):
2956 Pass -1 to __internal_statvfs instead of calling stat64.
2957 * sysdeps/unix/sysv/linux/statvfs64.c (__statvfs64):
2958 Pass -1 to __internal_statvfs64 instead of calling stat64.
2960 2014-05-28 Roland McGrath <roland@hack.frob.com>
2962 * sysdeps/unix/sysv/linux/sh/clone.S: Deconditionalize the code
2963 that was previously under [RESET_PID].
2964 * nptl/sysdeps/unix/sysv/linux/sh/clone.S: File removed.
2966 * sysdeps/unix/sysv/linux/tile/arch-fork.h: New file.
2967 * sysdeps/unix/sysv/linux/tile/nptl/fork.c: File removed.
2969 2014-05-27 Roland McGrath <roland@hack.frob.com>
2971 * sysdeps/unix/sysv/linux/ia64/arch-fork.h: New file.
2973 * sysdeps/unix/sysv/linux/sh/arch-fork.h: New file.
2974 * nptl/sysdeps/unix/sysv/linux/sh/fork.c: File removed.
2976 2014-05-27 Ondřej Bílka <neleai@seznam.cz>
2978 * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate code.
2980 2014-05-27 Andreas Schwab <schwab@suse.de>
2982 * csu/libc-tls.c (__libc_setup_tls): Remove second argument from
2984 * elf/dl-load.c (_dl_map_object_from_fd): Likewise.
2985 * elf/rtld.c (init_tls, dl_main): Likewise.
2986 * nptl/sysdeps/i386/tls.h (TLS_INIT_TP): Likewise.
2987 * nptl/sysdeps/powerpc/tls.h (TLS_INIT_TP): Likewise.
2988 * nptl/sysdeps/s390/tls.h (TLS_INIT_TP): Likewise.
2989 * nptl/sysdeps/sh/tls.h (TLS_INIT_TP): Likewise.
2990 * nptl/sysdeps/sparc/tls.h (TLS_INIT_TP): Likewise.
2991 * nptl/sysdeps/x86_64/tls.h (TLS_INIT_TP): Likewise.
2992 * sysdeps/aarch64/nptl/tls.h (TLS_INIT_TP): Likewise.
2993 * sysdeps/alpha/nptl/tls.h (TLS_INIT_TP): Likewise.
2994 * sysdeps/arm/nptl/tls.h (TLS_INIT_TP): Likewise.
2995 * sysdeps/hppa/nptl/tls.h (TLS_INIT_TP): Likewise.
2996 * sysdeps/ia64/nptl/tls.h (TLS_INIT_TP): Likewise.
2997 * sysdeps/m68k/nptl/tls.h (TLS_INIT_TP): Likewise.
2998 * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Likewise.
2999 * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Likewise.
3000 * sysdeps/mips/nptl/tls.h (TLS_INIT_TP): Likewise.
3001 * sysdeps/tile/nptl/tls.h (TLS_INIT_TP): Likewise.
3002 * sysdeps/generic/tls.h: Update description.
3004 2014-05-27 Will Newton <will.newton@linaro.org>
3007 * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save
3008 and restore r2 rather than just restoring.
3010 2014-05-27 Siddhesh Poyarekar <siddhesh@redhat.com>
3013 * libio/tst-ftell-append.c: New test case.
3014 * libio/Makefile (tests): Add test case.
3015 * libio/fileops.c (do_ftell): Don't trust _IO_read_end when in
3017 * libio/wfileops.c (do_ftell_wide): Likewise.
3019 2014-05-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3021 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3023 * nptl/sysdeps/unix/sysv/linux/powerpc/Versions: Remove, merge into
3025 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions: ... here.
3026 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
3027 * nptl/sysdeps/unix/sysv/linux/powerpc/Makefile: Moved rules to ...
3028 * sysdeps/unix/sysv/linux/powerpc/Makefile: ... here.
3029 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: Moved ...
3030 * sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: ... here.
3031 * nptl/sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Moved ...
3032 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: ...here.
3033 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
3035 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: ... here.
3036 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
3038 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: ... here.
3039 * nptl/sysdeps/unix/sysv/linux/powerpc/createthread.c: Moved ...
3040 * sysdeps/unix/sysv/linux/powerpc/createthread.c: ... here.
3041 * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Moved ...
3042 * sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: ... here.
3043 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: Moved
3045 * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: ... here.
3046 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c:
3048 * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c: ...
3050 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: Moved
3052 * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: ... here.
3053 * nptl/sysdeps/unix/sysv/linux/powerpc/sem_post.c: Moved ...
3054 * sysdeps/unix/sysv/linux/powerpc/sem_post.c: ... here.
3056 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Moved ...
3057 * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: ... here.
3058 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: Moved ...
3059 * sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: ... here.
3061 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Remove,
3063 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: ... here.
3064 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: Moved
3066 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: ... here.
3067 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: Moved
3069 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: ... here.
3070 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
3072 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c: ...
3074 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
3076 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c: ... here.
3077 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
3079 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c: ... here.
3081 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Remove
3082 conditional [RESET_PID].
3083 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Likewise.
3084 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: File
3086 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: File
3089 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Include
3091 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
3092 (__libc_vfork): New strong alias.
3093 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/pt-vfork.S: File
3095 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: File
3098 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Include
3100 (__vfork): Incorporate save/retore of PID from nptl/vfork.S here.
3101 (__libc_vfork): New strong alias.
3102 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/pt-vfork.S: File
3104 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: File
3107 2014-05-26 Carlos O'Donell <carlos@redhat.com>
3109 * malloc/malloc.c (mi_arena): New function.
3110 (malloc_info): Remove nested function mi_arena. Call non-nosted
3113 2014-05-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3115 * sysdeps/powerpc/powerpc32/power4/memset.S (memset): Replace insrdi
3117 * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Likewise.
3118 * sysdeps/powerpc/powerpc32/power7/memset.S (memset): Likewise.
3119 * sysdeps/powerpc/powerpc32/power7/memchr.S (memchr): Likewise.
3120 * sysdeps/powerpc/powerpc32/power7/memrchr.S (memrchr): Likewise.
3121 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S (rawmemchr): Likewise.
3122 * sysdeps/powerpc/powerpc32/power7/strchr.S (strchr): Likewise.
3123 * sysdeps/powerpc/powerpc32/power7/strchrnul.S (strchrnul): Likewise.
3125 2014-05-26 Andreas Schwab <schwab@suse.de>
3128 * locale/programs/repertoire.c (repertoire_read): Add slash
3129 between I18NPATH element and file name.
3130 * locale/programs/locfile.c (locfile_read): Likewise.
3132 2014-05-26 Stefan Liebler <stli@linux.vnet.ibm.com>
3134 * nptl/pthread_mutexattr_settype.c
3135 (__pthread_mutexattr_settype):
3136 Disable lock elision for PTHREAD_MUTEX_NORMAL.
3138 2014-05-26 Stefan Liebler <stli@linux.vnet.ibm.com>
3140 * nptl/tst-mutex5 (do_test):
3141 Use #ifndef ENABLE_LOCK_ELISION instead of #ifdef.
3143 2014-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
3145 * benchtests/README: Document 'init' directive.
3146 * benchtests/bench-skeleton.c (main) [BENCH_INIT]: Call
3148 * scripts/bench.py (gen_source): Define BENCH_INIT macro.
3149 (parse_file): Recognize 'init' directive.
3151 2014-05-26 Kyle McMartin <kyle@redhat.com>
3154 * sysdeps/aarch64/nptl/tls.h: increase TCB alignment to the
3155 alignment of struct pthread.
3157 2014-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
3160 * nscd/netgroupcache.c (addgetnetgrentX): Look for
3161 NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
3162 * nscd/nss_files/files-netgrp.c (_nss_netgroup_parseline): Use
3163 NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
3165 2014-05-25 Richard Henderson <rth@twiddle.net>
3167 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
3168 (SINGLE_THREAD_P_PIC): Remove.
3169 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h
3170 (SINGLE_THREAD_P_PIC): Remove.
3172 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Move
3173 branch to syscall error ...
3175 [NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Rename the label
3176 from __local_syscall_error to .Lsyscall_error.
3177 [!NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Branch to __syscall_error.
3178 (SYSCALL_ERROR): Update label name.
3180 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
3181 Do not use DOARGS/UNDOARGS.
3182 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Likewise.
3183 (DOARGS_0, DOARGS_1, DOARGS_2, DOARGS_3): Remove.
3184 (DOARGS_4, DOARGS_5, DOARGS_6, DOARGS_7): Remove.
3185 (UNDOARGS_0, UNDOARGS_1, UNDOARGS_2, UNDOARGS_3): Remove.
3186 (UNDOARGS_4, UNDOARGS_5, UNDOARGS_6, UNDOARGS_7): Remove.
3188 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Fix
3191 * sysdeps/unix/sysv/linux/alpha/vfork.S (vfork, __vfork): Only
3192 define if !NOT_IN_libc.
3193 * sysdeps/unix/sysv/linux/alpha/pt-vfork.S (vfork, __vfork): Only
3194 define with non-default symbol versions.
3196 2014-05-23 Richard Henderson <rth@twiddle.net>
3198 * nptl/pt-vfork.c (vfork_resolve): Rename from vfork_ifunc.
3199 (vfork, __vfork): Define via compat_symbol.
3201 * nptl/pt-vfork.c: Error if !HAVE_IFUNC.
3202 [!HAVE_IFUNC] (vfork_compat): Remove.
3203 [!HAVE_IFUNC] (DEFINE_VFORK): Remove.
3205 2014-05-23 Joseph Myers <joseph@codesourcery.com>
3208 * posix/tar.h [!__USE_XOPEN2K] (TSVTX): Define macro.
3209 * conform/Makefile (test-xfail-POSIX/tar.h/conform): Remove
3212 2014-05-23 Richard Henderson <rth@twiddle.net>
3214 * sysdeps/unix/sysv/linux/alpha/nptl/Makefile: Merge into...
3215 * sysdeps/unix/sysv/linux/alpha/Makefile: ... here.
3216 * sysdeps/unix/sysv/linux/alpha/nptl/Versions: Merge into...
3217 * sysdeps/unix/sysv/linux/alpha/Versions: ... here.
3219 * sysdeps/unix/sysv/linux/alpha/nptl/aio_cancel.c: Moved ...
3220 * sysdeps/unix/sysv/linux/alpha/aio_cancel.c: ... here.
3221 * sysdeps/unix/sysv/linux/alpha/nptl/bits/local_lim.h: Moved ...
3222 * sysdeps/unix/sysv/linux/alpha/bits/local_lim.h: ... here.
3223 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h: Moved ...
3224 * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h: ... here.
3225 * sysdeps/unix/sysv/linux/alpha/nptl/bits/semaphore.h: Moved ...
3226 * sysdeps/unix/sysv/linux/alpha/bits/semaphore.h: ... here.
3227 * sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data: Moved ...
3228 * sysdeps/unix/sysv/linux/alpha/c++-types.data: ... here.
3229 * sysdeps/unix/sysv/linux/alpha/nptl/createthread.c: Moved ...
3230 * sysdeps/unix/sysv/linux/alpha/createthread.c: ... here.
3231 * sysdeps/unix/sysv/linux/alpha/nptl/ld.abilist: Moved ...
3232 * sysdeps/unix/sysv/linux/alpha/ld.abilist: ... here.
3233 * sysdeps/unix/sysv/linux/alpha/nptl/libBrokenLocale.abilist: Moved ...
3234 * sysdeps/unix/sysv/linux/alpha/libBrokenLocale.abilist: ... here.
3235 * sysdeps/unix/sysv/linux/alpha/nptl/libanl.abilist: Moved ...
3236 * sysdeps/unix/sysv/linux/alpha/libanl.abilist: ... here.
3237 * sysdeps/unix/sysv/linux/alpha/nptl/libc.abilist: Moved ...
3238 * sysdeps/unix/sysv/linux/alpha/libc.abilist: ... here.
3239 * sysdeps/unix/sysv/linux/alpha/nptl/libcrypt.abilist: Moved ...
3240 * sysdeps/unix/sysv/linux/alpha/libcrypt.abilist: ... here.
3241 * sysdeps/unix/sysv/linux/alpha/nptl/libdl.abilist: Moved ...
3242 * sysdeps/unix/sysv/linux/alpha/libdl.abilist: ... here.
3243 * sysdeps/unix/sysv/linux/alpha/nptl/libm.abilist: Moved ...
3244 * sysdeps/unix/sysv/linux/alpha/libm.abilist: ... here.
3245 * sysdeps/unix/sysv/linux/alpha/nptl/libnsl.abilist: Moved ...
3246 * sysdeps/unix/sysv/linux/alpha/libnsl.abilist: ... here.
3247 * sysdeps/unix/sysv/linux/alpha/nptl/libpthread.abilist: Moved ...
3248 * sysdeps/unix/sysv/linux/alpha/libpthread.abilist: ... here.
3249 * sysdeps/unix/sysv/linux/alpha/nptl/libresolv.abilist: Moved ...
3250 * sysdeps/unix/sysv/linux/alpha/libresolv.abilist: ... here.
3251 * sysdeps/unix/sysv/linux/alpha/nptl/librt.abilist: Moved ...
3252 * sysdeps/unix/sysv/linux/alpha/librt.abilist: ... here.
3253 * sysdeps/unix/sysv/linux/alpha/nptl/libthread_db.abilist: Moved ...
3254 * sysdeps/unix/sysv/linux/alpha/libthread_db.abilist: ... here.
3255 * sysdeps/unix/sysv/linux/alpha/nptl/libutil.abilist: Moved ...
3256 * sysdeps/unix/sysv/linux/alpha/libutil.abilist: ... here.
3257 * sysdeps/unix/sysv/linux/alpha/nptl/localplt.data: Moved ...
3258 * sysdeps/unix/sysv/linux/alpha/localplt.data: ... here.
3259 * sysdeps/unix/sysv/linux/alpha/nptl/lowlevellock.h: Moved ...
3260 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: ... here.
3261 * sysdeps/unix/sysv/linux/alpha/nptl/sem_post.c: Moved ...
3262 * sysdeps/unix/sysv/linux/alpha/sem_post.c: ... here.
3263 * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h: Moved ...
3264 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: ... here.
3265 * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Moved ...
3266 * sysdeps/unix/sysv/linux/alpha/timer_create.c: ... here.
3267 * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Moved ...
3268 * sysdeps/unix/sysv/linux/alpha/timer_delete.c: ... here.
3269 * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Moved ...
3270 * sysdeps/unix/sysv/linux/alpha/timer_getoverr.c: ... here.
3271 * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Moved ...
3272 * sysdeps/unix/sysv/linux/alpha/timer_gettime.c: ... here.
3273 * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Moved ...
3274 * sysdeps/unix/sysv/linux/alpha/timer_settime.c: ... here.
3276 * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove vfork.
3277 * sysdeps/unix/sysv/linux/alpha/nptl/vfork.S: Move file ...
3278 * sysdeps/unix/sysv/linux/alpha/vfork.S: ... here. Restore PID
3279 before exiting on error.
3280 (__libc_vfork): New strong alias.
3281 * sysdeps/unix/sysv/linux/alpha/nptl/pt-vfork.S: Remove file.
3282 * sysdeps/unix/sysv/linux/alpha/pt-vfork.S: New file.
3284 * sysdeps/unix/sysv/linux/alpha/clone.S: Deconditionalize the code
3285 that was previously under [RESET_PID].
3286 * sysdeps/unix/sysv/linux/alpha/nptl/clone.S: File removed.
3288 * sysdeps/unix/sysv/linux/alpha/nptl/fork.c: Remove file.
3290 2014-05-23 Joseph Myers <joseph@codesourcery.com>
3293 * sysdeps/i386/fpu/e_log10.S (__ieee754_log10): Take absolute
3294 value when x - 1 is zero.
3295 * sysdeps/i386/fpu/e_log10f.S (__ieee754_log10f): Likewise.
3296 * sysdeps/i386/fpu/e_log10l.S (__ieee754_log10l): Likewise.
3297 * sysdeps/ieee754/ldbl-128/e_log10l.c (__ieee754_log10l): Return
3298 0.0L for an argument of 1.0L.
3299 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l):
3301 * sysdeps/x86_64/fpu/e_log10l.S (__ieee754_log10l): Take absolute
3302 value when x - 1 is zero.
3303 * math/libm-test.inc (log10_test): Use ALL_RM_TEST.
3304 * sysdeps/i386/fpu/libm-test-ulps: Update.
3305 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3307 2014-05-23 Rasmus Villemoes <rv@rasmusvillemoes.dk>
3309 * manual/filesys.texi (Scanning Directory Content): Fix prototype of
3310 alphasort and versionsort.
3312 2014-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3314 * sysdeps/powerpc/fpu/math_private.h [copysign]: Remove unneeded
3316 [copysignf]: Likewise.
3318 2014-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
3320 * crypt/md5-crypt.c: Fix formatting.
3322 2014-05-22 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
3324 * crypt/md5-crypt.c (__md5_crypt_r): Remove a nested function.
3325 (b64_from_24bit): New function.
3327 2014-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3329 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c (memchr): Remove
3330 libc_hidden_builtin_def to ifunc.
3331 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
3332 [libc_hidden_builtin_def]: Define hidden definition to __memchr_ppc32.
3334 2014-05-21 Roland McGrath <roland@hack.frob.com>
3336 * sysdeps/unix/sysv/linux/aarch64/arch-fork.h: New file.
3337 * sysdeps/unix/sysv/linux/aarch64/nptl/fork.c: File removed.
3339 2014-05-21 Joseph Myers <joseph@codesourcery.com>
3341 * nscd/Depend (linuxthreads): Remove.
3343 * resolv/Depend (linuxthreads): Remove.
3344 * rt/Depend (linuxthreads): Remove.
3346 * Makeconfig [$(build-hardcoded-path-in-tests) = yes]
3347 (rtld-tests-LDFLAGS): Use $(elf-objpfx) instead of
3348 $(common-objpfx)elf/.
3349 (link-libc-before-gnulib): Likewise.
3350 (elfobjdir): Remove variable.
3351 * Makefile (install): Use $(elf-objpfx) instead of
3352 $(common-objpfx)elf/.
3353 * Makerules (link-libc-args): Use $(elf-objpfx) instead of
3355 (link-libc-deps): Likewise.
3356 ($(common-objpfx)libc.so): Likewise.
3357 ($(common-objpfx)linkobj/libc.so): Likewise.
3358 [$(cross-compiling) = no] (symbolic-link-prog): Use $(elf-objpfx)
3359 instead of $(common-objpfx)elf/.
3360 (symbolic-link-list): Likewise.
3361 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
3362 [$(cross-compiling) = no]: Likewise.
3363 * sysdeps/arm/Makefile (gnulib-arch): Use $(elf-objpfx) instead of
3365 (static-gnulib-arch): Likewise.
3366 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
3367 [$(cross-compiling) = no]: Use $(elf-objpfx) instead of
3368 $(common-objpfx)elf/.
3370 2014-05-21 Richard Henderson <rth@redhat.com>
3372 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
3373 (SINGLE_THREAD_P): Use the correct width load. Fold
3374 into the ldr offset.
3376 * sysdeps/unix/sysv/linux/aarch64/sysdep.h [RTLD_PRIVATE_ERRNO]
3377 (SYSCALL_ERROR_HANDLER): Fold add insn into str offset.
3379 2014-05-20 Joseph Myers <joseph@codesourcery.com>
3381 * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c
3382 (libgcc_s_resume): Use __attribute_used__.
3383 * sysdeps/unix/sysv/linux/arm/unwind-resume.c (libgcc_s_resume):
3386 2014-05-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3388 * sysdeps/powerpc/fpu/math_private.h [__copysignf]: Fix copysign macro
3389 optimization when used with float constants.
3391 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3393 2014-05-20 Aurelien Jarno <aurelien@aurel32.net>
3396 * locale/nl_langinfo_l.c: Make direct reference to every
3397 _nl_current_CATEGORY symbol.
3398 * localedata/Makefile (test-srcs): Add tst-langinfo-static.
3399 (tests-static): Add tst-langinfo-static.
3400 (tests-special): Add tst-langinfo-static.out.
3401 ($(objpfx)tst-langinfo.out): Redirect output.
3402 ($(objpfx)tst-langinfo-static.out): New.
3403 * localedata/tst-langinfo.sh: Send output to stdout.
3404 * localedata/tst-langinfo-static.c: New file.
3407 * stdlib/strtod_l.c (round_and_return): Add code to shift limbs
3408 when the shift amount is modulo the limb size.
3410 2014-05-20 Richard Henderson <rth@redhat.com>
3413 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h (struct sigaction):
3414 Change type of sa_flags from unsigned int to int.
3417 * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h: Remove file.
3419 * sysdeps/alpha/dl-machine.h (ELF_MACHINE_NO_RELA): Define.
3421 2014-05-20 Will Newton <will.newton@linaro.org>
3423 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
3424 Test the return value of the system call in the nocancel case.
3426 2014-05-20 Will Newton <will.newton@linaro.org>
3427 Yvan Roux <yvan.roux@linaro.org>
3429 * sysdeps/unix/sysv/linux/aarch64/sys/user.h: Remove unused
3430 #include of asm/ptrace.h.
3431 (PTRACE_GET_THREAD_AREA): Remove #undef.
3432 (PTRACE_GETHBPREGS): Likewise.
3433 (PTRACE_SETHBPREGS): Likewise.
3434 (struct user_regs_struct): New structure.
3435 (struct user_fpsimd_struct): New structure.
3436 * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Remove unused
3437 #include of asm/ptrace.h and second #include of sys/user.h.
3438 (PTRACE_GET_THREAD_AREA): Remove #undef.
3439 (PTRACE_GETHBPREGS): Likewise.
3440 (PTRACE_SETHBPREGS): Likewise.
3441 (ELF_NGREG): Use new struct user_regs_struct.
3442 (elf_fpregset_t): Use new struct user_fpsimd_struct.
3444 2014-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3446 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypof.c: Moved ...
3447 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c: ... here.
3449 2014-05-17 Jose E. Marchesi <jose.marchesi@oracle.com>
3452 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Add missing
3453 membar to avoid block loads/stores to overlap previous stores.
3455 2014-05-17 Richard Henderson <rth@redhat.com>
3457 * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h (PSEUDO):
3458 Create the __##syscall_name##_nocancel entry point.
3459 * sysdeps/unix/sysv/linux/alpha/sigsuspend.S (__sigsuspend_nocancel):
3460 Remove; let the sysdep-cancel.h code create it.
3462 2014-05-17 David S. Miller <davem@davemloft.net>
3464 * sysdeps/unix/sysv/linux/sparc/bits/termios.h (PAGEOUT, WRAP):
3465 Protect with __USE_GNU.
3466 (TIOCSET_TEMPT): Likewise.
3467 (TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
3468 TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI): Remove as
3469 these are already provided in bits/ioctl-types.h
3471 2014-05-16 Roland McGrath <roland@hack.frob.com>
3473 * sysdeps/unix/sysv/linux/alpha/arch-fork.h: New file.
3474 * sysdeps/unix/sysv/linux/ia64/nptl/fork.c: File removed.
3476 * sysdeps/unix/sysv/linux/not-cancel.h (waitpid_not_cancel):
3477 Use wait4 regardless of [__NR_waitpid].
3479 2014-05-16 Maciej W. Rozycki <macro@codesourcery.com>
3482 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
3483 (_FP_NANSIGN_Q): Set the quiet bit.
3485 2014-05-16 Joseph Myers <joseph@codesourcery.com>
3487 * benchtests/Makefile
3488 ($(addprefix $(objpfx)bench-,$(bench-math))): Depend on $(libm),
3489 not $(common-objpfx)math/libm.so.
3490 ($(addprefix $(objpfx)bench-,$(bench-pthread))): Depend on
3491 $(shared-thread-library), not $(common-objpfx)nptl/libpthread.so.
3492 * elf/Makefile ($(objpfx)noload): Depend on $(libdl), not
3493 $(common-objpfx)dlfcn/libdl.so.
3494 ($(objpfx)tst-audit8): Depend on $(libm), not
3495 $(common-objpfx)math/libm.so.
3496 * malloc/Makefile ($(objpfx)libmemusage.so): Depend on $(libdl),
3497 not $(common-objpfx)dlfcn/libdl.so.
3499 ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
3500 Depend on $(libm), not $(objpfx)libm.so. Do not condition on
3501 [$(build-shared) = yes].
3502 ($(objpfx)test-fenv-tls): Depend on $(shared-thread-library), not
3503 $(common-objpfx)nptl/libpthread.so.
3504 * misc/Makefile ($(objpfx)tst-tsearch): Depend on $(libm), not
3505 $(common-objpfx)math/libm.so$(libm.so-version) or
3506 $(common-objpfx)math/libm.a depending on [$(build-shared) = yes].
3507 * nptl/Makefile ($(objpfx)tst-unload): Depend on $(libdl), not
3508 $(common-objpfx)dlfcn/libdl.so.
3509 * setjmp/Makefile (link-libm): Remove variable.
3510 ($(objpfx)tst-setjmp-fp): Depend on $(libm), not $(link-libm).
3511 * stdio-common/Makefile (link-libm): Remove variable.
3512 ($(objpfx)tst-printf-round): Depend on $(libm), not $(link-libm).
3513 * stdlib/Makefile (link-libm): Remove variable.
3514 ($(objpfx)bug-getcontext): Depend on $(libm), not $(link-libm).
3515 ($(objpfx)tst-strtod-round): Likewise.
3516 ($(objpfx)tst-tininess): Likewise.
3517 ($(objpfx)tst-strtod-underflow): Likewise.
3518 ($(objpfx)tst-strtod6): Likewise.
3519 ($(objpfx)tst-tls-atexit): Depend on $(shared-thread-library) and
3520 $(libdl), not $(common-objpfx)nptl/libpthread.so and
3521 $(common-objpfx)dlfcn/libdl.so.
3523 2014-05-16 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3525 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_MISC]: Guard
3526 BSD terminal modes definitions.
3528 2014-05-16 Roland McGrath <roland@hack.frob.com>
3530 * sysdeps/unix/sysv/linux/arm/arch-fork.h: New file.
3531 * sysdeps/unix/sysv/linux/arm/fork.c: File removed.
3533 * sysdeps/unix/sysv/linux/arch-fork.h: New file.
3534 * sysdeps/unix/sysv/linux/i386/fork.h: Moved ...
3535 * sysdeps/unix/sysv/linux/i386/arch-fork.h: ... here.
3536 Don't do #include_next.
3537 * sysdeps/unix/sysv/linux/x86_64/fork.h: Moved ...
3538 * sysdeps/unix/sysv/linux/x86_64/arch-fork.h: ... here.
3539 Don't do #include_next.
3540 * sysdeps/unix/sysv/linux/mips/arch-fork.h: New file.
3541 * sysdeps/unix/sysv/linux/mips/fork.h: File removed.
3542 * sysdeps/unix/sysv/linux/powerpc/arch-fork.h: New file.
3543 * sysdeps/unix/sysv/linux/powerpc/fork.h: File removed.
3545 2014-05-16 Allan McRae <allan@archlinux.org>
3547 * po/sv.po: Update Swedish translation from translation project.
3549 * timezone/Makefile ($(objpfx)tzselect): Use correct variable
3552 2014-05-16 Aurelien Jarno <aurelien@aurel32.net>
3555 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal): Return
3556 errno if the TIOCGPTN ioctl fails with an error different than
3558 * login/tst-ptsname.c: New file.
3559 * login/Makefile (tests): Add tst-ptsname.
3562 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Declare prlimit
3565 2014-05-15 Siddhesh Poyarekar <siddhesh@redhat.com>
3568 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only check for
3569 herrno to return EAI_AGAIN.
3571 2014-05-14 Roland McGrath <roland@hack.frob.com>
3573 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: Moved ...
3574 * sysdeps/unix/sysv/linux/i386/c++-types.data: ... here.
3575 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: Moved ...
3576 * sysdeps/unix/sysv/linux/i386/ld.abilist: ... here.
3577 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: Moved ...
3578 * sysdeps/unix/sysv/linux/i386/libBrokenLocale.abilist: ... here.
3579 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: Moved ...
3580 * sysdeps/unix/sysv/linux/i386/libanl.abilist: ... here.
3581 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Moved ...
3582 * sysdeps/unix/sysv/linux/i386/libc.abilist: ... here.
3583 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: Moved ...
3584 * sysdeps/unix/sysv/linux/i386/libcrypt.abilist: ... here.
3585 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: Moved ...
3586 * sysdeps/unix/sysv/linux/i386/libdl.abilist: ... here.
3587 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: Moved ...
3588 * sysdeps/unix/sysv/linux/i386/libm.abilist: ... here.
3589 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: Moved ...
3590 * sysdeps/unix/sysv/linux/i386/libnsl.abilist: ... here.
3591 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Moved ...
3592 * sysdeps/unix/sysv/linux/i386/libpthread.abilist: ... here.
3593 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: Moved ...
3594 * sysdeps/unix/sysv/linux/i386/libresolv.abilist: ... here.
3595 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: Moved ...
3596 * sysdeps/unix/sysv/linux/i386/librt.abilist: ... here.
3597 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: Moved ...
3598 * sysdeps/unix/sysv/linux/i386/libthread_db.abilist: ... here.
3599 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: Moved ...
3600 * sysdeps/unix/sysv/linux/i386/libutil.abilist: ... here.
3601 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: Moved ...
3602 * sysdeps/unix/sysv/linux/i386/localplt.data: ... here.
3603 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: Moved ...
3604 * sysdeps/unix/sysv/linux/x86_64/64/c++-types.data: ... here.
3605 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Moved ...
3606 * sysdeps/unix/sysv/linux/x86_64/64/ld.abilist: ... here.
3607 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
3609 * sysdeps/unix/sysv/linux/x86_64/64/libBrokenLocale.abilist: ... here.
3610 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Moved ...
3611 * sysdeps/unix/sysv/linux/x86_64/64/libanl.abilist: ... here.
3612 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Moved ...
3613 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: ... here.
3614 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Moved ...
3615 * sysdeps/unix/sysv/linux/x86_64/64/libcrypt.abilist: ... here.
3616 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Moved ...
3617 * sysdeps/unix/sysv/linux/x86_64/64/libdl.abilist: ... here.
3618 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Moved ...
3619 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: ... here.
3620 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Moved ...
3621 * sysdeps/unix/sysv/linux/x86_64/64/libnsl.abilist: ... here.
3622 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist: Moved ...
3623 * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: ... here.
3624 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist: Moved ...
3625 * sysdeps/unix/sysv/linux/x86_64/64/libresolv.abilist: ... here.
3626 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Moved ...
3627 * sysdeps/unix/sysv/linux/x86_64/64/librt.abilist: ... here.
3628 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist: Moved ...
3629 * sysdeps/unix/sysv/linux/x86_64/64/libthread_db.abilist: ... here.
3630 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Moved ...
3631 * sysdeps/unix/sysv/linux/x86_64/64/libutil.abilist: ... here.
3632 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data: Moved ...
3633 * sysdeps/unix/sysv/linux/x86_64/x32/c++-types.data: ... here.
3634 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: Moved ...
3635 * sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist: ... here.
3636 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
3638 * sysdeps/unix/sysv/linux/x86_64/x32/libBrokenLocale.abilist: ... here.
3639 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist: Moved ...
3640 * sysdeps/unix/sysv/linux/x86_64/x32/libanl.abilist: ... here.
3641 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Moved ...
3642 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: ... here.
3643 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist: Moved ...
3644 * sysdeps/unix/sysv/linux/x86_64/x32/libcrypt.abilist: ... here.
3645 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist: Moved ...
3646 * sysdeps/unix/sysv/linux/x86_64/x32/libdl.abilist: ... here.
3647 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist: Moved ...
3648 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: ... here.
3649 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist: Moved ...
3650 * sysdeps/unix/sysv/linux/x86_64/x32/libnsl.abilist: ... here.
3651 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist: Moved ...
3652 * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: ... here.
3653 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist: Moved ...
3654 * sysdeps/unix/sysv/linux/x86_64/x32/libresolv.abilist: ... here.
3655 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist: Moved ...
3656 * sysdeps/unix/sysv/linux/x86_64/x32/librt.abilist: ... here.
3657 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
3659 * sysdeps/unix/sysv/linux/x86_64/x32/libthread_db.abilist: ... here.
3660 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist: Moved ...
3661 * sysdeps/unix/sysv/linux/x86_64/x32/libutil.abilist: ... here.
3663 * nptl/sysdeps/unix/sysv/linux/x86/Makefile: File removed.
3664 * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = nptl]
3665 (libpthread-sysdep_routines): Add elision-related stuff here instead.
3666 * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.c: Moved ...
3667 * sysdeps/unix/sysv/linux/x86/elision-conf.c: ... here.
3668 * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.h: Moved ...
3669 * sysdeps/unix/sysv/linux/x86/elision-conf.h: ... here.
3670 * nptl/sysdeps/unix/sysv/linux/x86/elision-lock.c: Moved ...
3671 * sysdeps/unix/sysv/linux/x86/elision-lock.c: ... here.
3672 * nptl/sysdeps/unix/sysv/linux/x86/elision-timed.c: Moved ...
3673 * sysdeps/unix/sysv/linux/x86/elision-timed.c: ... here.
3674 * nptl/sysdeps/unix/sysv/linux/x86/elision-trylock.c: Moved ...
3675 * sysdeps/unix/sysv/linux/x86/elision-trylock.c: ... here.
3676 * nptl/sysdeps/unix/sysv/linux/x86/elision-unlock.c: Moved ...
3677 * sysdeps/unix/sysv/linux/x86/elision-unlock.c: ... here.
3678 * nptl/sysdeps/unix/sysv/linux/x86/force-elision.h: Moved ...
3679 * sysdeps/unix/sysv/linux/x86/force-elision.h: ... here.
3680 * nptl/sysdeps/unix/sysv/linux/x86/hle.h: Moved ...
3681 * sysdeps/unix/sysv/linux/x86/hle.h: ... here.
3682 * nptl/sysdeps/unix/sysv/linux/x86/init-arch.c: Moved ...
3683 * sysdeps/unix/sysv/linux/x86/init-arch.c: ... here.
3684 * nptl/sysdeps/unix/sysv/linux/x86/init-arch.h: Moved ...
3685 * sysdeps/unix/sysv/linux/x86/init-arch.h: ... here.
3686 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Moved ...
3687 * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: ... here.
3688 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: Moved ...
3689 * sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: ... here.
3690 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: Moved ...
3691 * sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: ... here.
3692 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: Moved ...
3693 * sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: ... here.
3695 * sysdeps/unix/sysv/linux/mips/fork.h: New file.
3696 * sysdeps/unix/sysv/linux/mips/nptl/fork.c: File removed.
3698 * nptl/sysdeps/unix/sysv/linux/i386/Implies: File removed.
3699 * nptl/sysdeps/unix/sysv/linux/i386/i786/Implies: Moved ...
3700 * sysdeps/unix/sysv/linux/i386/i786/Implies: ... here.
3701 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Moved ...
3702 * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: ... here.
3703 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S:
3705 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: ... here.
3706 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
3708 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S: ... here.
3709 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
3711 * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S: ... here.
3712 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S:
3714 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: ... here.
3715 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Moved ...
3716 * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: ... here.
3717 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
3719 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S: ... here.
3720 * nptl/sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: Moved ...
3721 * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: ... here.
3722 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: Moved ...
3723 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: ... here.
3724 * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: Moved ...
3725 * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: ... here.
3726 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
3728 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S: ... here.
3729 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
3731 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
3733 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Moved ...
3734 * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: ... here.
3735 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Moved ...
3736 * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: ... here.
3737 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
3739 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
3741 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S:
3743 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: ... here.
3744 * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Moved ...
3745 * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: ... here.
3746 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Moved ...
3747 * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: ... here.
3748 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S:
3750 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: ... here.
3751 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
3753 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S: ... here.
3754 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
3756 * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S: ... here.
3757 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S:
3759 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: ... here.
3760 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Moved ...
3761 * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: ... here.
3762 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S:
3764 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: ... here.
3765 * nptl/sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved ...
3766 * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: ... here.
3767 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved ...
3768 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: ... here.
3769 * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved ...
3770 * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: ... here.
3771 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
3773 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S: ... here.
3774 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
3776 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
3778 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Moved ...
3779 * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: ... here.
3780 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Moved ...
3781 * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: ... here.
3782 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
3784 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
3786 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S:
3788 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: ... here.
3789 * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved ...
3790 * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: ... here.
3791 * nptl/sysdeps/unix/sysv/linux/i386/dl-sysdep.h: Moved ...
3792 * sysdeps/unix/sysv/linux/i386/dl-sysdep.h: ... here.
3793 * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h: Moved ...
3794 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.
3795 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Moved ...
3796 * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: ... here.
3797 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S:
3799 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: ... here.
3800 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
3802 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: ... here.
3803 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
3805 * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S: ... here.
3806 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S:
3808 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: ... here.
3809 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Moved ...
3810 * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: ... here.
3811 * nptl/sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: Moved ...
3812 * sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: ... here.
3813 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
3815 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S: ... here.
3816 * nptl/sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: Moved ...
3817 * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: ... here.
3818 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: Moved ...
3819 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: ... here.
3820 * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: Moved ...
3821 * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: ... here.
3822 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
3824 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S: ... here.
3825 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
3827 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
3829 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Moved ...
3830 * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: ... here.
3831 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Moved ...
3832 * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: ... here.
3833 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
3835 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
3837 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S:
3839 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: ... here.
3840 * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Moved ...
3841 * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: ... here.
3842 * nptl/sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Moved ...
3843 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: ... here.
3844 * nptl/sysdeps/unix/sysv/linux/i386/smp.h: Moved ...
3845 * sysdeps/unix/sysv/linux/i386/smp.h: ... here.
3846 * nptl/sysdeps/unix/sysv/linux/i386/pthread_once.S: Moved ...
3847 * sysdeps/unix/sysv/linux/i386/pthread_once.S: ... here.
3848 * nptl/sysdeps/unix/sysv/linux/i386/createthread.c: Moved ...
3849 * sysdeps/unix/sysv/linux/i386/createthread.c: ... here.
3851 * sysdeps/unix/sysv/linux/powerpc/fork.h: New file.
3852 * nptl/sysdeps/unix/sysv/linux/powerpc/fork.c: File removed.
3854 * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_init.c: File removed.
3855 * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_unlock.S: File removed.
3857 * nptl/sysdeps/unix/sysv/linux/x86_64/Implies: File removed.
3858 * nptl/sysdeps/unix/sysv/linux/x86_64/cancellation.S: Moved ...
3859 * sysdeps/unix/sysv/linux/x86_64/cancellation.S: ... here.
3860 * nptl/sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: Moved ...
3861 * sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: ... here.
3862 * nptl/sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: Moved ...
3863 * sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: ... here.
3864 * nptl/sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: Moved ...
3865 * sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: ... here.
3866 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Moved ...
3867 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: ... here.
3868 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Moved ...
3869 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: ... here.
3870 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: Moved ...
3871 * sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: ... here.
3872 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: Moved ...
3873 * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: ... here.
3874 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S:
3876 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S: ... here.
3877 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: Moved ...
3878 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: ... here.
3879 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:
3881 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: ... here.
3882 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: Moved ...
3883 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: ... here.
3884 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Moved ...
3885 * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: ... here.
3886 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: Moved ...
3887 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: ... here.
3888 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S:
3890 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: ... here.
3891 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S:
3893 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: ... here.
3894 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: Moved ...
3895 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: ... here.
3896 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: Moved ...
3897 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: ... here.
3898 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: Moved ...
3899 * sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: ... here.
3900 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_post.S: Moved ...
3901 * sysdeps/unix/sysv/linux/x86_64/sem_post.S: ... here.
3902 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Moved ...
3903 * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: ... here.
3904 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Moved ...
3905 * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: ... here.
3906 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Moved ...
3907 * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: ... here.
3908 * nptl/sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Moved ...
3909 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: ... here.
3911 * nptl/sysdeps/unix/sysv/linux/fork.c: Use <> for fork.h #include.
3912 * nptl/sysdeps/unix/sysv/linux/x86_64/fork.c: File removed.
3913 * sysdeps/unix/sysv/linux/x86_64/fork.h: New file.
3914 * nptl/sysdeps/unix/sysv/linux/i386/fork.c: File removed.
3915 * sysdeps/unix/sysv/linux/i386/fork.h: New file.
3917 * nptl/sysdeps/unix/sysv/linux/i386/not-cancel.h: Moved ...
3918 * sysdeps/unix/sysv/linux/not-cancel.h: ... here.
3919 * nptl/sysdeps/unix/sysv/linux/sparc/not-cancel.h: File removed.
3920 * nptl/sysdeps/unix/sysv/linux/sh/not-cancel.h: File removed.
3921 * nptl/sysdeps/unix/sysv/linux/powerpc/not-cancel.h: File removed.
3922 * nptl/sysdeps/unix/sysv/linux/x86_64/not-cancel.h: File removed.
3923 * nptl/sysdeps/unix/sysv/linux/s390/not-cancel.h: File removed.
3924 * sysdeps/unix/sysv/linux/generic/not-cancel.h: File removed.
3925 * sysdeps/unix/sysv/linux/generic/nptl/not-cancel.h: File removed.
3926 * sysdeps/unix/sysv/linux/m68k/nptl/not-cancel.h: File removed.
3928 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_init.c: File removed.
3929 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_unlock.S: Likewise.
3931 * nptl/sysdeps/unix/sysv/linux/x86_64/compat-timer.h: Moved ...
3932 * sysdeps/unix/sysv/linux/x86_64/compat-timer.h: ... here.
3933 * nptl/sysdeps/unix/sysv/linux/x86_64/Versions: Remove, merge into ...
3934 * sysdeps/unix/sysv/linux/x86_64/Versions: ... here.
3935 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_create.c: Moved ...
3936 * sysdeps/unix/sysv/linux/x86_64/timer_create.c: here.
3937 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_delete.c: Moved ...
3938 * sysdeps/unix/sysv/linux/x86_64/timer_delete.c: ... here
3939 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: Moved ...
3940 * sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: ... here
3941 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: Moved ...
3942 * sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: ... here
3943 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_settime.c: Moved ...
3944 * sysdeps/unix/sysv/linux/x86_64/timer_settime.c: ... here
3945 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c:
3947 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c:
3949 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
3951 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
3953 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
3955 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c:
3957 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c:
3959 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
3961 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c:
3963 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c:
3965 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Likewise.
3966 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Likewise.
3967 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Likewise.
3968 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Likewise.
3969 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Likewise.
3970 * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Likewise.
3971 * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Likewise.
3972 * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Likewise.
3973 * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Likewise.
3974 * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Likewise.
3975 * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Likewise.
3976 * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Likewise.
3977 * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Likewise.
3978 * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c: Likewise.
3979 * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c: Likewise.
3981 * sysdeps/unix/sysv/linux/x86_64/clone.S: Deconditionalize the code
3982 that was previously under [RESET_PID].
3983 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
3984 * nptl/sysdeps/unix/sysv/linux/x86_64/clone.S: File removed.
3985 * nptl/sysdeps/unix/sysv/linux/i386/clone.S: File removed.
3987 * sysdeps/i386/nptl/Implies: New file.
3988 * sysdeps/x86_64/nptl/Implies: New file.
3989 * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h: Moved ...
3990 * sysdeps/x86/nptl/bits/pthreadtypes.h: ... here.
3991 * nptl/sysdeps/unix/sysv/linux/x86/bits/semaphore.h: Moved ...
3992 * sysdeps/x86/nptl/bits/semaphore.h: ... here.
3994 * sysdeps/unix/sysv/linux/i386/vfork.S: Include <tcb-offsets.h>.
3995 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
3996 (__libc_vfork): New strong alias.
3997 * nptl/sysdeps/unix/sysv/linux/i386/vfork.S: File removed.
3998 * nptl/sysdeps/unix/sysv/linux/i386/pt-vfork.S: File removed.
4000 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Include <tcb-offsets.h>.
4001 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
4002 (__libc_vfork): New strong alias.
4003 * nptl/sysdeps/unix/sysv/linux/x86_64/vfork.S: File removed.
4004 * nptl/sysdeps/unix/sysv/linux/x86_64/pt-vfork.S: File removed.
4006 * sysdeps/unix/sysv/linux/arm/vfork.S: Include <tcb-offsets.h>.
4007 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
4008 (__libc_vfork): New strong alias.
4009 * sysdeps/unix/sysv/linux/arm/nptl/vfork.S: File removed.
4010 * sysdeps/unix/sysv/linux/arm/nptl/pt-vfork.S: File removed.
4011 * nptl/pt-vfork.c: New file.
4012 * nptl/Versions (libc: GLIBC_PRIVATE): Add __libc_vfork.
4013 (libpthread: GLIBC_2.20): New version set (empty).
4015 2014-05-14 Will Newton <will.newton@linaro.org>
4017 * stdlib/gmp-impl.h: Test USE_STACK_ALLOC #ifdef
4020 2014-05-14 Joseph Myers <joseph@codesourcery.com>
4023 * sysdeps/i386/fpu/s_log1pl.S (__log1pl): Do not add 1 to positive
4024 arguments with exponent 65 or above.
4025 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Do not add 1 to
4026 arguments 0x1p113L or above.
4027 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Do not add 1
4028 to arguments 0x1p107L or above.
4029 * sysdeps/x86_64/fpu/s_log1pl.S (__log1pl): Do not add 1 to
4030 positive arguments with exponent 65 or above.
4031 * math/auto-libm-test-in: Add more tests of log1p.
4032 * math/auto-libm-test-out: Regenerated.
4035 * math/s_cacos.c (__cacos): Ensure zero real part of result from
4036 non-finite arguments is +0.
4037 * math/s_cacosf.c (__cacosf): Likewise.
4038 * math/s_cacosl.c (__cacosl): Likewise.
4039 * math/libm-test.inc (cacos_test): Use ALL_RM_TEST.
4040 * sysdeps/i386/fpu/libm-test-ulps: Update.
4041 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4044 * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): Use fabs on x-1
4046 * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
4047 * sysdeps/i386/fpu/e_acoshl.S (__ieee754_acoshl): Likewise.
4048 * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Correct
4049 for explicit high bit of mantissa when testing for argument equal
4051 * math/libm-test.inc (acosh_test): Use ALL_RM_TEST.
4052 * sysdeps/i386/fpu/libm-test-ulps: Update.
4053 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4056 * sysdeps/ieee754/dbl-64/s_erf.c (efx8): Remove variable.
4057 (__erf): Scale by 16 instead of 8 in potentially underflowing
4058 case. Ensure exception if result actually underflows.
4059 * sysdeps/ieee754/flt-32/s_erff.c (efx8): Remove variable.
4060 (__erff): Scale by 16 instead of 8 in potentially underflowing
4061 case. Ensure exception if result actually underflows.
4062 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <float.h>.
4063 (efx8): Remove variable.
4064 (__erfl): Scale by 16 instead of 8 in potentially underflowing
4065 case. Ensure exception if result actually underflows.
4066 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <float.h>.
4067 (efx8): Remove variable.
4068 (__erfl): Scale by 16 instead of 8 in potentially underflowing
4069 case. Ensure exception if result actually underflows.
4070 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <float.h>.
4071 (efx8): Remove variable.
4072 (__erfl): Scale by 16 instead of 8 in potentially underflowing
4073 case. Ensure exception if result actually underflows.
4074 * math/auto-libm-test-in: Add more tests of erf.
4075 * math/auto-libm-test-out: Regenerated.
4077 2014-05-14 Andreas Schwab <schwab@suse.de>
4079 * elf/rtld.c (_dl_start_final, _dl_start, init_tls, dl_main):
4080 Remove code conditionalized on USE___THREAD.
4082 * config.h.in (HAVE_PT_CHOWN): Define as 0.
4083 * sysdeps/unix/grantpt.c (grantpt): Check HAVE_PT_CHOWN for value,
4086 2014-05-14 Joseph Myers <joseph@codesourcery.com>
4088 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES):
4089 Define unconditionally.
4090 (__ASSUME_O_CLOEXEC): Likewise.
4091 (__ASSUME_SOCK_CLOEXEC): Likewise.
4092 (__ASSUME_IN_NONBLOCK): Likewise.
4093 (__ASSUME_PIPE2): Likewise.
4094 (__ASSUME_EVENTFD2): Likewise.
4095 (__ASSUME_SIGNALFD4): Likewise.
4096 (__ASSUME_DUP3): Likewise.
4097 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
4098 (__ASSUME_DUP3): Do not define.
4099 (__ASSUME_EVENTFD2): Likewise.
4100 (__ASSUME_IN_NONBLOCK): Likewise.
4101 (__ASSUME_O_CLOEXEC): Likewise.
4102 (__ASSUME_PIPE2): Likewise.
4103 (__ASSUME_SIGNALFD4): Likewise.
4104 (__ASSUME_SOCK_CLOEXEC): Likewise.
4105 (__ASSUME_UTIMES): Undefine.
4106 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
4107 (__ASSUME_UTIMES): Do not define.
4108 (__ASSUME_O_CLOEXEC): Likewise.
4109 (__ASSUME_SOCK_CLOEXEC): Likewise.
4110 (__ASSUME_IN_NONBLOCK): Undefine if [__LINUX_KERNEL_VERSION <
4111 0x020621] instead of defining if [__LINUX_KERNEL_VERSION >=
4113 (__ASSUME_PIPE2): Likewise.
4114 (__ASSUME_EVENTFD2): Likewise.
4115 (__ASSUME_SIGNALFD4): Likewise.
4116 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_DUP3): Undefine.
4117 * sysdeps/unix/sysv/linux/arm/kernel-features.h (__ASSUME_UTIMES):
4119 (__ASSUME_EVENTFD2): Likewise.
4120 (__ASSUME_SIGNALFD4): Likewise.
4121 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
4122 (__ASSUME_32BITUIDS): Likewise.
4123 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
4124 (__ASSUME_IPC64): Likewise.
4125 (__ASSUME_ST_INO_64_BIT): Likewise.
4126 (__ASSUME_GETDENTS64_SYSCALL): Likewise.
4127 [__LINUX_KERNEL_VERSION < 0x030e00] (__ASSUME_UTIMES): Undefine.
4128 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
4129 (__ASSUME_UTIMES): Do not define.
4130 (__ASSUME_PSELECT): Likewise.
4131 (__ASSUME_PPOLL): Likewise.
4132 (__ASSUME_O_CLOEXEC): Likewise.
4133 (__ASSUME_SOCK_CLOEXEC): Likewise.
4134 (__ASSUME_IN_NONBLOCK): Likewise.
4135 (__ASSUME_PIPE2): Likewise.
4136 (__ASSUME_EVENTFD2): Likewise.
4137 (__ASSUME_SIGNALFD4): Likewise.
4138 (__ASSUME_DUP3): Likewise.
4139 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
4140 (__ASSUME_UTIMES): Likewise.
4141 (__ASSUME_O_CLOEXEC): Likewise.
4142 (__ASSUME_SOCK_CLOEXEC): Likewise.
4143 (__ASSUME_IN_NONBLOCK): Likewise.
4144 (__ASSUME_PIPE2): Likewise.
4145 (__ASSUME_EVENTFD2): Likewise.
4146 (__ASSUME_SIGNALFD4): Likewise.
4147 (__ASSUME_DUP3): Likewise.
4148 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
4149 (__ASSUME_UTIMES): Likewise.
4150 (__ASSUME_O_CLOEXEC): Likewise.
4151 (__ASSUME_SOCK_CLOEXEC): Likewise.
4152 (__ASSUME_IN_NONBLOCK): Likewise.
4153 (__ASSUME_PIPE2): Likewise.
4154 (__ASSUME_EVENTFD2): Likewise.
4155 (__ASSUME_SIGNALFD4): Likewise.
4156 (__ASSUME_DUP3): Likewise.
4157 * sysdeps/unix/sysv/linux/mips/kernel-features.h (__ASSUME_IPC64):
4159 (__ASSUME_UTIMES): Likewise.
4160 (__ASSUME_EVENTFD2): Likewise.
4161 (__ASSUME_SIGNALFD4): Likewise.
4162 * sysdeps/unix/sysv/linux/tile/kernel-features.h
4163 (__ASSUME_O_CLOEXEC): Likewise.
4164 (__ASSUME_SOCK_CLOEXEC): Likewise.
4165 (__ASSUME_IN_NONBLOCK): Likewise.
4166 (__ASSUME_PIPE2): Likewise.
4167 (__ASSUME_EVENTFD2): Likewise.
4168 (__ASSUME_SIGNALFD4): Likewise.
4169 (__ASSUME_DUP3): Likewise.
4170 (__ASSUME_UTIMES): Undefine.
4172 * sysdeps/arm/fclrexcpt.c (__feclearexcept): Rename to
4173 feclearexcept. Remove symbol versioning code.
4174 * sysdeps/arm/fegetenv.c (__fegetenv): Rename to fegetenv. Remove
4175 symbol versioning code.
4176 * sysdeps/arm/fesetenv.c (__fesetenv): Rename to fesetenv. Remove
4177 symbol versioning code.
4178 * sysdeps/arm/feupdateenv.c (__feupdateenv): Rename to
4179 feupdateenv. Remove symbol versioning code.
4180 * sysdeps/arm/fgetexcptflg.c (__fegetexceptflag): Rename to
4181 fegetexceptflag. Remove symbol versioning code.
4182 * sysdeps/arm/fsetexcptflg.c (__fesetexceptflag): Rename to
4183 fesetexceptflag. Remove symbol versioning code.
4184 * sysdeps/unix/sysv/linux/arm/Versions (libc): Remove GLIBC_2.0,
4185 GLIBC_2.2 and GLIBC_2.3.3 entries. Change GLIBC_2.1 to GLIBC_2.4.
4186 * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c
4187 (__posix_fadvise64_l32): Remove prototype.
4188 [SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)]: Remove conditional
4191 2014-05-13 Roland McGrath <roland@hack.frob.com>
4193 * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h: Moved ...
4194 * sysdeps/arm/nptl/bits/pthreadtypes.h: ... here.
4195 * sysdeps/unix/sysv/linux/arm/nptl/bits/semaphore.h: Moved ...
4196 * sysdeps/arm/nptl/bits/semaphore.h: ... here.
4198 2014-05-13 Sami Kerola <kerolasa@iki.fi>
4200 * timezone/Makefile ($(objpfx)tzselect): Use zonedir instead
4201 current working directory
4203 2014-05-13 Roland McGrath <roland@hack.frob.com>
4205 * sysdeps/unix/sysv/linux/arm/nptl/c++-types.data: Moved ...
4206 * sysdeps/unix/sysv/linux/arm/c++-types.data: ... here.
4207 * sysdeps/unix/sysv/linux/arm/nptl/createthread.c: Moved ...
4208 * sysdeps/unix/sysv/linux/arm/createthread.c: ... here.
4209 * sysdeps/unix/sysv/linux/arm/nptl/fork.c: Moved ...
4210 * sysdeps/unix/sysv/linux/arm/fork.c: ... here.
4211 * sysdeps/unix/sysv/linux/arm/nptl/ld.abilist: Moved ...
4212 * sysdeps/unix/sysv/linux/arm/ld.abilist: ... here.
4213 * sysdeps/unix/sysv/linux/arm/nptl/libBrokenLocale.abilist: Moved ...
4214 * sysdeps/unix/sysv/linux/arm/libBrokenLocale.abilist: ... here.
4215 * sysdeps/unix/sysv/linux/arm/nptl/libanl.abilist: Moved ...
4216 * sysdeps/unix/sysv/linux/arm/libanl.abilist: ... here.
4217 * sysdeps/unix/sysv/linux/arm/nptl/libc.abilist: Moved ...
4218 * sysdeps/unix/sysv/linux/arm/libc.abilist: ... here.
4219 * sysdeps/unix/sysv/linux/arm/nptl/libcrypt.abilist: Moved ...
4220 * sysdeps/unix/sysv/linux/arm/libcrypt.abilist: ... here.
4221 * sysdeps/unix/sysv/linux/arm/nptl/libdl.abilist: Moved ...
4222 * sysdeps/unix/sysv/linux/arm/libdl.abilist: ... here.
4223 * sysdeps/unix/sysv/linux/arm/nptl/libm.abilist: Moved ...
4224 * sysdeps/unix/sysv/linux/arm/libm.abilist: ... here.
4225 * sysdeps/unix/sysv/linux/arm/nptl/libnsl.abilist: Moved ...
4226 * sysdeps/unix/sysv/linux/arm/libnsl.abilist: ... here.
4227 * sysdeps/unix/sysv/linux/arm/nptl/libpthread.abilist: Moved ...
4228 * sysdeps/unix/sysv/linux/arm/libpthread.abilist: ... here.
4229 * sysdeps/unix/sysv/linux/arm/nptl/libresolv.abilist: Moved ...
4230 * sysdeps/unix/sysv/linux/arm/libresolv.abilist: ... here.
4231 * sysdeps/unix/sysv/linux/arm/nptl/librt.abilist: Moved ...
4232 * sysdeps/unix/sysv/linux/arm/librt.abilist: ... here.
4233 * sysdeps/unix/sysv/linux/arm/nptl/libthread_db.abilist: Moved ...
4234 * sysdeps/unix/sysv/linux/arm/libthread_db.abilist: ... here.
4235 * sysdeps/unix/sysv/linux/arm/nptl/libutil.abilist: Moved ...
4236 * sysdeps/unix/sysv/linux/arm/libutil.abilist: ... here.
4237 * sysdeps/unix/sysv/linux/arm/nptl/localplt.data: Moved ...
4238 * sysdeps/unix/sysv/linux/arm/localplt.data: ... here.
4239 * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.h: Moved ...
4240 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: ... here.
4241 * sysdeps/unix/sysv/linux/arm/nptl/sysdep-cancel.h: Moved ...
4242 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: ... here.
4243 * sysdeps/unix/sysv/linux/arm/nptl/unwind-forcedunwind.c: Moved ...
4244 * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: ... here.
4245 * sysdeps/unix/sysv/linux/arm/nptl/unwind-resume.c: Moved ...
4246 * sysdeps/unix/sysv/linux/arm/unwind-resume.c: ... here.
4248 * sysdeps/unix/sysv/linux/arm/Versions (libc: GLIBC_PRIVATE): New set.
4249 * sysdeps/unix/sysv/linux/arm/nptl/Versions: File removed.
4251 * sysdeps/unix/sysv/linux/arm/Makefile
4252 [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
4253 Add rt-aeabi_unwind_cpp_pr1.
4254 [$(subdir) = nptl] (librt-sysdep_routines, librt-shared-only-routines):
4255 Add nptl-aeabi_unwind_cpp_pr1.
4256 [$(subdir) = nptl] (tests): Filter out tst-cleanupx4.
4257 * sysdeps/unix/sysv/linux/arm/nptl/Makefile: File removed.
4258 * sysdeps/unix/sysv/linux/arm/nptl/rt-aeabi_unwind_cpp_pr1.c: Move ...
4259 * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
4260 * sysdeps/unix/sysv/linux/arm/nptl/nptl-aeabi_unwind_cpp_pr1.c: Move ...
4261 * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
4263 * sysdeps/unix/sysv/linux/arm/configure.ac: Force -fexceptions here.
4264 * sysdeps/unix/sysv/linux/arm/configure: Regenerated.
4265 * sysdeps/unix/sysv/linux/arm/nptl/configure.ac: File removed.
4266 * sysdeps/unix/sysv/linux/arm/nptl/configure: File removed.
4268 * sysdeps/unix/sysv/linux/arm/clone.S: Include <tcb-offsets.h>.
4269 Deconditionalize the code that was previously under [RESET_PID].
4270 * sysdeps/unix/sysv/linux/arm/nptl/clone.S: File removed.
4272 * sysdeps/generic/exit-thread.h: New file.
4273 * sysdeps/unix/sysv/linux/exit-thread.h: New file.
4274 * include/unistd.h (__exit_thread): Remove declaration.
4275 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Drop exit-thread.
4276 * sysdeps/unix/sysv/linux/exit-thread.S: File removed.
4277 * csu/libc-start.c: Include <exit-thread.h>.
4278 (LIBC_START_MAIN): Pass no argument to __exit_thread.
4279 * nptl/pthread_create.c: Include <exit-thread.h>.
4280 (start_thread): Call __exit_thread in place of __exit_thread_inline.
4281 * nptl/sysdeps/i386/pthreaddef.h (__exit_thread_inline): Macro removed.
4282 * nptl/sysdeps/powerpc/pthreaddef.h: Likewise.
4283 * nptl/sysdeps/s390/pthreaddef.h: Likewise.
4284 * nptl/sysdeps/sh/pthreaddef.h: Likewise.
4285 * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Likewise.
4286 * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Likewise.
4287 * nptl/sysdeps/x86_64/pthreaddef.h: Likewise.
4288 * sysdeps/aarch64/nptl/pthreaddef.h: Likewise.
4289 * sysdeps/alpha/nptl/pthreaddef.h: Likewise.
4290 * sysdeps/arm/nptl/pthreaddef.h: Likewise.
4291 * sysdeps/hppa/nptl/pthreaddef.h: Likewise.
4292 * sysdeps/ia64/nptl/pthreaddef.h: Likewise.
4293 * sysdeps/m68k/nptl/pthreaddef.h: Likewise.
4294 * sysdeps/microblaze/nptl/pthreaddef.h: Likewise.
4295 * sysdeps/mips/nptl/pthreaddef.h: Likewise.
4296 * sysdeps/tile/nptl/pthreaddef.h: Likewise.
4298 2014-05-13 Andreas Schwab <schwab@suse.de>
4300 * sysdeps/unix/grantpt.c (grantpt): Fix typo in assertion.
4302 2014-05-12 Joseph Myers <joseph@codesourcery.com>
4304 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
4305 (__ASSUME_UTIMES): Do not condition on kernel version.
4306 (__ASSUME_PSELECT): Define unconditionally.
4307 (__ASSUME_PPOLL): Likewise.
4308 (__ASSUME_ATFCTS): Likewise.
4309 (__ASSUME_SET_ROBUST_LIST): Do not condition on kernel version.
4310 (__ASSUME_COMPLETE_READV_WRITEV): Define unconditionally.
4311 (__ASSUME_FUTEX_LOCK_PI): Do not condition on kernel version.
4312 (__ASSUME_UTIMENSAT): Define unconditionally.
4313 (__ASSUME_PRIVATE_FUTEX): Likewise.
4314 (__ASSUME_FALLOCATE): Likewise.
4315 (__ASSUME_O_CLOEXEC): Likewise.
4316 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Remove.
4317 (__ASSUME_ARG_MAX_STACK_BASED): Likewise.
4318 (__ASSUME_ADJ_OFFSET_SS_READ): Define unconditionally.
4319 (__ASSUME_SOCK_CLOEXEC): Do not condition on kernel version.
4320 (__ASSUME_IN_NONBLOCK): Likewise.
4321 (__ASSUME_PIPE2): Likewise.
4322 (__ASSUME_EVENTFD2): Likewise.
4323 (__ASSUME_SIGNALFD4): Likewise.
4324 (__ASSUME_DUP3): Likewise.
4325 [__x86_64__ || __sparc__] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
4326 (__ASSUME_FUTEX_CLOCK_REALTIME): Define unconditionally.
4327 (__ASSUME_AT_RANDOM): Likewise.
4328 (__ASSUME_PREADV): Likewise.
4329 (__ASSUME_PWRITEV): Likewise.
4330 (__ASSUME_REQUEUE_PI): Do not condition on kernel version.
4331 (__ASSUME_F_GETOWN_EX): Define unconditionally.
4332 (__ASSUME_XFS_RESTRICTED_CHOWN): Likewise.
4333 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
4334 [!__ASSUME_ARG_MAX_STACK_BASED]: Remove conditional code.
4335 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
4336 (__ASSUME_O_CLOEXEC): Define unconditionally.
4337 (__ASSUME_PSELECT): Do not undefine conditionally.
4338 (__ASSUME_PPOLL): Likewise.
4339 (__ASSUME_ATFCTS): Likewise.
4340 (__ASSUME_SET_ROBUST_LIST): Likewise.
4341 (__ASSUME_UTIMENSAT): Likewise.
4342 (__ASSUME_FDATASYNC): Define unconditionally.
4343 * sysdeps/unix/sysv/linux/arm/kernel-features.h
4344 (__ASSUME_SIGFRAME_V2): Likewise.
4345 )__ASSUME_EVENTFD2): Likewise.
4346 (__ASSUME_SIGNALFD4): Likewise.
4347 (__ASSUME_PSELECT): Do not undefine conditionally.
4348 (__ASSUME_PPOLL): Likewise.
4349 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
4350 (__ASSUME_PSELECT): Define unconditionally.
4351 (__ASSUME_PPOLL): Likewise.
4352 (__ASSUME_O_CLOEXEC): Likewise.
4353 (__ASSUME_SOCK_CLOEXEC): Likewise.
4354 (__ASSUME_IN_NONBLOCK): Likewise.
4355 (__ASSUME_PIPE2): Likewise.
4356 (__ASSUME_EVENTFD2): Likewise.
4357 (__ASSUME_SIGNALFD4): Likewise.
4358 (__ASSUME_DUP3): Likewise.
4359 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
4360 (__ASSUME_O_CLOEXEC): Likewise.
4361 (__ASSUME_SOCK_CLOEXEC): Likewise.
4362 (__ASSUME_IN_NONBLOCK): Likewise.
4363 (__ASSUME_PIPE2): Likewise.
4364 (__ASSUME_EVENTFD2): Likewise.
4365 (__ASSUME_SIGNALFD4): Likewise.
4366 (__ASSUME_DUP3): Likewise.
4367 * sysdeps/unix/sysv/linux/mips/kernel-features.h
4368 (__ASSUME_EVENTFD2): Likewise.
4369 (__ASSUME_SIGNALFD4): Likewise.
4370 (__ASSUME_ACCEPT4_SYSCALL): Likewise.
4372 2014-05-12 Andreas Schwab <schwab@suse.de>
4375 * nis/nss_nis/nis-hosts.c (internal_gethostbyname2_r)
4376 (_nss_nis_gethostbyname4_r): Return error if item length is larger
4377 than maximum RPC packet size.
4378 * nis/nss_nis/nis-initgroups.c (initgroups_netid): Likewise.
4379 * nis/nss_nis/nis-network.c (_nss_nis_getnetbyname_r): Likewise.
4380 * nis/nss_nis/nis-service.c (_nss_nis_getservbyname_r)
4381 (_nss_nis_getservbyport_r): Likewise.
4383 2014-05-12 Will Newton <will.newton@linaro.org>
4385 * malloc/Makefile (tests): Add tst-mallopt.
4386 * malloc/tst-mallopt.c: New file.
4388 2014-05-09 Roland McGrath <roland@hack.frob.com>
4390 * sysdeps/arm/armv7/strcmp.S: Use sfi_breg prefix on loads not from sp.
4391 [NO_THUMB]: Cope without cbz, cnbz, and orn instructions.
4393 2014-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4395 * elf/Makefile (tst-tlsmod5.so): Add $(no-as-needed).
4396 (tst-tlsmod6.so): Likewise.
4398 2014-05-09 Roland McGrath <roland@hack.frob.com>
4400 * sysdeps/gnu/unwind-resume.c (libgcc_s_resume): Mark as noreturn.
4402 2014-05-09 Joseph Myers <joseph@codesourcery.com>
4405 * sysdeps/i386/fpu/fegetenv.c: Include <unistd.h>, <ldsodefs.h>
4406 and <dl-procinfo.h>.
4407 (__fegetenv): Save SSE state in envp->__eip if supported.
4408 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Save SSE state in
4409 envp->__eip if supported.
4410 * sysdeps/i386/fpu/fesetenv.c: Include <unistd.h>, <ldsodefs.h>
4411 and <dl-procinfo.h>.
4412 (__fesetenv): Always set __eip, __cs_selector, __opcode,
4413 __data_offset and __data_selector in environment to 0. Set SSE
4415 * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
4417 [$(subdir) = math] (CFLAGS-test-fenv-sse.c): Add -msse2
4419 * sysdeps/x86/fpu/test-fenv-sse.c: New file.
4421 2014-05-09 Will Newton <will.newton@linaro.org>
4423 * sysdeps/arm/preconfigure.ac: Set libc_commonpagesize
4424 and libc_relro_required for ARM.
4425 * sysdeps/arm/preconfigure: Regenerate.
4427 2014-05-09 Dominik Vogt <vogt@linux.vnet.ibm.com>
4428 Stefan Liebler <stli@linux.vnet.ibm.com>
4430 * config.make.in (enable-lock-elision): New Makefile variable.
4431 * configure.ac: Likewise.
4432 * configure: Regenerate.
4433 * sysdeps/s390/configure.ac:
4434 Add check for gcc transactions support.
4435 * sysdeps/s390/configure: Regenerate.
4436 * nptl/sysdeps/unix/sysv/linux/s390/Makefile: New file.
4437 Build elision files if enabled.
4438 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: New file.
4439 Add lock elision support for s390.
4440 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Likewise.
4441 * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Likewise.
4442 * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Likewise.
4443 * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
4444 * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Likewise.
4445 * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Likewise.
4446 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
4448 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c:
4450 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c:
4452 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c:
4454 * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h:
4455 (__lll_timedlock_elision, __lll_lock_elision)
4456 (__lll_unlock_elision, __lll_trylock_elision)
4457 (lll_timedlock_elision, lll_lock_elision)
4458 (lll_unlock_elision, lll_trylock_elision): Add.
4459 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
4460 (pthread_mutex_t): Add lock elision support for s390.
4462 2014-05-14 Wilco <wdijkstr@arm.com>
4464 * sysdeps/arm/fclrexcpt.c: Cleanup.
4465 * sysdeps/arm/fedisblxcpt.c: Cleanup.
4466 * sysdeps/arm/feenablxcpt.c: Cleanup.
4467 * sysdeps/arm/fegetenv.c: Cleanup.
4468 * sysdeps/arm/fegetexcept.c: Cleanup.
4469 * sysdeps/arm/fegetround.c: Cleanup.
4470 * sysdeps/arm/feholdexcpt.c: Cleanup.
4471 * sysdeps/arm/fesetenv.c: Cleanup.
4472 * sysdeps/arm/fesetround.c: Cleanup.
4473 * sysdeps/arm/feupdateenv.c: Cleanup.
4474 * sysdeps/arm/fgetexcptflg.c: Cleanup.
4475 * sysdeps/arm/fraiseexcpt.c: Cleanup.
4476 * sysdeps/arm/fsetexcptflg.c: Cleanup.
4477 * sysdeps/arm/ftestexcept.c: Cleanup.
4478 * sysdeps/arm/get-rounding-mode.h: Cleanup.
4479 * sysdeps/arm/setfpucw.c: Cleanup.
4481 2014-05-09 Will Newton <will.newton@linaro.org>
4483 * sysdeps/arm/armv7/strcmp.S: New file.
4484 * NEWS: Mention addition of ARMv7 optimized strcmp.
4486 2014-05-08 Roland McGrath <roland@hack.frob.com>
4488 * Makeconfig ($(common-objpfx)config.status): Fix patsubst uses to
4489 look for %.ac rather than %.in.
4491 * sysdeps/mach/hurd/configure.ac (inhibit_glue): Remove variable.
4492 * sysdeps/unix/sysv/linux/configure.ac: Likewise.
4493 * sysdeps/mach/hurd/configure: Regenerated.
4494 * sysdeps/unix/sysv/linux/configure: Regenerated.
4496 * bits/utsname.h (_UTSNAME_DOMAIN_LENGTH): New macro, set to 0.
4498 2014-05-07 Steve Ellcey <sellcey@mips.com>
4501 * sysdeps/mips/sys/asm.h (INT_SUB): Fix definition.
4505 2014-05-07 Andreas Schwab <schwab@suse.de>
4507 * sysdeps/posix/getaddrinfo.c (gaih_inet): Advance address pointer
4508 when skipping over non-matching result from nscd.
4510 2014-05-07 Ondřej Bílka <neleai@seznam.cz>
4513 * nptl/sockperf.c (client): Check socket return value.
4516 * nscd/selinux.c (nscd_request_avc_has_perm): Check if there is
4517 nscd security class.
4519 2014-05-06 Roland McGrath <roland@hack.frob.com>
4521 * sysdeps/unix/sysv/linux/arm/nptl/unwind.h: File moved to ...
4522 * sysdeps/arm/unwind.h: ... here.
4524 2014-05-06 Aurelien Jarno <aurelien@aurel32.net>
4527 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h (EFD_SEMAPHORE):
4530 2014-05-06 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
4532 * sysdeps/powerpc/powerpc64/power7/strncpy.S: New file: Optimization.
4533 * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: New file:
4534 multiarch strncpy for PPC64.
4535 * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: New file
4536 * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: New file
4537 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpcpy, stpncpy
4538 multiarch optimizations.
4539 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
4540 (__libc_ifunc_impl_list): Likewise.
4541 * sysdeps/powerpc/powerpc64/power7/stpncpy.S: New file: Optimization.
4542 * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: New file:
4543 multiarch stpncpy for PPC64.
4544 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-ppc64.c: New file
4545 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: New file
4547 2014-05-06 Andreas Schwab <schwab@suse.de>
4550 * gmon/mcount.c (_MCOUNT_DECL): Use
4551 atomic_compare_and_exchange_bool_acq instead of
4552 catomic_compare_and_exchange_bool_acq.
4554 2014-05-05 Roland McGrath <roland@hack.frob.com>
4556 * elf/Makefile (others, install-bin): Remove pldd.
4557 (pldd-modules): Variable removed.
4558 ($(objpfx)pldd): Target removed.
4559 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = elf]
4560 (others, install-bin): Append pldd here.
4561 ($(objpfx)pldd): New target.
4563 * sysdeps/gnu/errlist.awk (BEGIN): Emit an initial #define of ERR_MAX
4564 to 0, so the first #if test emitted later doesn't see it undefined.
4565 (END): Emit "!defined ERRLIST_NO_COMPAT" to match what BEGIN does.
4566 * sysdeps/gnu/errlist.c: Regenerated.
4568 2014-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4570 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
4571 [libc_hidden_builtin_def]: Define to empty value.
4572 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S:
4573 [libc_hidden_builtin_def]: Likewise.
4574 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S:
4575 [libc_hidden_builtin_def]: Likewise.
4576 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S:
4577 [libc_hidden_builtin_def]: Likewise.
4578 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c (memcpy): Redefined to
4579 __redirect_memcpy and define ifunc as default hidden symbol.
4580 * sysdeps/powerpc/powerpc64/multiarch/memset.c (memset): Likewise.
4581 * sysdeps/powerpc/powerpc64/multiarch/strlen.c (strlen): Likewise.
4583 2014-05-04 Adam Conrad <adconrad@0c3.net>
4585 * locale/iso-4217.def: Reintroduce XDR currency.
4587 2014-05-04 Allan McRae <allan@archlinux.org>
4589 * po/eo.po: Update Esperanto translation from translation project.
4591 2014-05-02 Carlos O'Donell <carlos@redhat.com>
4593 * sysdeps/x86_64/multiarch/init-arch.h: Define FEATURE_INDEX_1 to 0,
4594 and FEATURE_INDEX_MAX to 1.
4595 [!__ASSEMBLER__]: Remove anonymous enum for FEATURE_INDEX_*.
4597 2014-05-01 Steve Ellcey <sellcey@mips.com>
4599 * iconvdata/ansi_x3.110.c (ONE_DIRECTION): Define.
4600 * iconvdata/armscii-8.c (ONE_DIRECTION): Define.
4601 * iconvdata/big5.c (ONE_DIRECTION): Define.
4602 * iconvdata/big5hkscs.c (ONE_DIRECTION): Define.
4603 * iconvdata/cp1255.c (ONE_DIRECTION): Define.
4604 * iconvdata/cp1258.c (ONE_DIRECTION): Define.
4605 * iconvdata/cp932.c (ONE_DIRECTION): Define.
4606 * iconvdata/euc-cn.c (ONE_DIRECTION): Define.
4607 * iconvdata/euc-jisx0213.c (ONE_DIRECTION): Define.
4608 * iconvdata/euc-jp-ms.c (ONE_DIRECTION): Define.
4609 * iconvdata/euc-jp.c (ONE_DIRECTION): Define.
4610 * iconvdata/euc-kr.c (ONE_DIRECTION): Define.
4611 * iconvdata/euc-tw.c (ONE_DIRECTION): Define.
4612 * iconvdata/gb18030.c (ONE_DIRECTION): Define.
4613 * iconvdata/gbbig5.c (ONE_DIRECTION): Define.
4614 * iconvdata/gbgbk.c (ONE_DIRECTION): Define.
4615 * iconvdata/gbk.c (ONE_DIRECTION): Define.
4616 * iconvdata/ibm1364.c (ONE_DIRECTION): Define.
4617 * iconvdata/ibm930.c (ONE_DIRECTION): Define.
4618 * iconvdata/ibm932.c (ONE_DIRECTION): Define.
4619 * iconvdata/ibm933.c (ONE_DIRECTION): Define.
4620 * iconvdata/ibm935.c (ONE_DIRECTION): Define.
4621 * iconvdata/ibm937.c (ONE_DIRECTION): Define.
4622 * iconvdata/ibm939.c (ONE_DIRECTION): Define.
4623 * iconvdata/ibm943.c (ONE_DIRECTION): Define.
4624 * iconvdata/iso-2022-cn-ext.c (ONE_DIRECTION): Define.
4625 * iconvdata/iso-2022-cn.c (ONE_DIRECTION): Define.
4626 * iconvdata/iso-2022-jp-3.c (ONE_DIRECTION): Define.
4627 * iconvdata/iso-2022-jp.c (ONE_DIRECTION): Define.
4628 * iconvdata/iso-2022-kr.c (ONE_DIRECTION): Define.
4629 * iconvdata/iso646.c (ONE_DIRECTION): Define.
4630 * iconvdata/iso8859-1.c (ONE_DIRECTION): Define.
4631 * iconvdata/iso_11548-1.c (ONE_DIRECTION): Define.
4632 * iconvdata/iso_6937-2.c (ONE_DIRECTION): Define.
4633 * iconvdata/iso_6937.c (ONE_DIRECTION): Define.
4634 * iconvdata/johab.c (ONE_DIRECTION): Define.
4635 * iconvdata/shift_jisx0213.c (ONE_DIRECTION): Define.
4636 * iconvdata/sjis.c (ONE_DIRECTION): Define.
4637 * iconvdata/t.61.c (ONE_DIRECTION): Define.
4638 * iconvdata/tcvn5712-1.c (ONE_DIRECTION): Define.
4639 * iconvdata/tscii.c (ONE_DIRECTION): Define.
4640 * iconvdata/uhc.c (ONE_DIRECTION): Define.
4641 * iconvdata/unicode.c (ONE_DIRECTION): Define.
4642 * iconvdata/utf-16.c (ONE_DIRECTION): Define.
4643 * iconvdata/utf-32.c (ONE_DIRECTION): Define.
4644 * iconvdata/utf-7.c (ONE_DIRECTION): Define.
4646 2014-05-01 Roland McGrath <roland@hack.frob.com>
4648 * libio/libioP.h [!_IO_USE_OLD_IO_FILE && !_G_IO_NO_BACKWARD_COMPAT]
4649 (_IO_JUMPS_OFFSET): Define to 0.
4651 * nptl/sysdeps/pthread/bits/libc-lock.h
4652 [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
4653 (__libc_lock_define_initialized_recursive): Always define using
4654 initializer. Modern compilers treat uninitialized (implicit zero) and
4655 explicit zero initializers the same (i.e. put the datum in bss).
4657 2014-05-01 Andreas Schwab <schwab@linux-m68k.org>
4659 * nscd/nscd-client.h: Include <string.h>.
4661 2014-05-01 David S. Miller <davem@davemloft.net>
4664 * sysdeps/sparc/sparc64/strcmp.S: Fix end comparison handling when
4665 multiple zero bytes exist at the end of a string.
4666 Reported by Aurelien Jarno <aurelien@aurel32.net>
4668 * string/test-strcmp.c (check): Add explicit test for situations where
4669 there are multiple zero bytes after the first.
4671 2014-05-01 Andreas Schwab <schwab@linux-m68k.org>
4674 * stdio-common/vfprintf.c (process_arg) [%p]: Mark string as wide
4675 when compiling wprintf.
4676 * stdio-common/tstdiomisc.c (t3): New function.
4679 2014-05-01 Steve Ellcey <sellcey@mips.com>
4681 * intl/iconv/skeleton.c (ONE_DIRECTION): Remove define.
4682 * iconv/gconv_simple.c (ONE_DIRECTION): Define.
4683 * iconvdata/8bit-gap.c (ONE_DIRECTION): Ditto.
4684 * iconvdata/8bit-generic.c (ONE_DIRECTION): Ditto.
4686 2014-05-01 Steve Ellcey <sellcey@mips.com>
4688 * stdlib/longlong.h: Updated from GCC.
4690 2014-05-01 Will Newton <will.newton@linaro.org>
4691 Bernard Ogden <bernie.ogden@linaro.org>
4693 * NEWS: Update fixed bug list.
4696 * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.c: Remove file.
4698 2014-04-30 David S. Miller <davem@davemloft.net>
4700 * sysdeps/sparc/fpu/fenv_private.h (HAVE_RM_CTX): Define.
4701 (libc_feholdexcept_setround_sparc_ctx): New function.
4702 (libc_fesetenv_sparc_ctx): Likewise.
4703 (libc_feupdateenv_sparc_ctx): Likewise.
4704 (libc_feholdsetround_sparc_ctx): Likewise.
4705 (libc_feholdexcept_setround_ctx): Define.
4706 (libc_feholdexcept_setroundf_ctx): Likewise.
4707 (libc_feholdexcept_setroundl_ctx): Likewise.
4708 (libc_fesetenv_ctx): Likewise.
4709 (libc_fesetenvf_ctx): Likewise.
4710 (libc_fesetenvl_ctx): Likewise.
4711 (libc_feupdateenv_ctx): Likewise.
4712 (libc_feupdateenvf_ctx): Likewise.
4713 (libc_feupdateenvl_ctx): Likewise.
4714 (libc_feresetround_ctx): Likewise.
4715 (libc_feresetroundf_ctx): Likewise.
4716 (libc_feresetroundl_ctx): Likewise.
4717 (libc_feholdsetround_ctx): Likewise.
4718 (libc_feholdsetroundf_ctx): Likewise.
4719 (libc_feholdsetroundl_ctx): Likewise.
4721 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
4722 with __USE_GNU instead of XOPEN cpp guards.
4724 * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Define to
4727 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
4728 with XOPEN cpp guards.
4730 2014-04-30 Julian Brown <julian@codesourcery.com>
4733 * sysdeps/arm/dl-machine.h (elf_machine_rela): Fix R_ARM_IRELATIVE
4736 2014-04-30 Joseph Myers <joseph@codesourcery.com>
4739 * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
4741 (arch_minimum_kernel): Change all 2.6.16 settings to 2.6.32.
4742 * sysdeps/unix/sysv/linux/configure: Regenerated.
4743 * sysdeps/unix/sysv/linux/microblaze/configure.ac: Remove file.
4744 * sysdeps/unix/sysv/linux/microblaze/configure: Likewise.
4745 * sysdeps/unix/sysv/linux/tile/configure.ac: Likewise.
4746 * sysdeps/unix/sysv/linux/tile/configure: Likewise.
4747 * README: Update reference to required Linux kernel version.
4748 * manual/install.texi (Linux): Update reference to required Linux
4749 kernel headers version.
4750 * INSTALL: Regenerated.
4752 * conform/data/stdlib.h-data [POSIX] (stddef.h): Do not allow
4754 [POSIX] (limits.h): Likewise.
4755 [POSIX] (math.h): Likewise.
4756 [POSIX] (sys/wait.h): Likewise.
4757 * conform/data/string.h-data [POSIX || UNIX98] (strtok_r): Require
4759 [POSIX] (stddef.h): Do not allow header inclusion.
4761 2014-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4763 * sysdeps/generic/symbol-hacks.h (memcpy): Add internal alias.
4765 2014-04-30 Yang Yingliang <yangyingliang@huawei.com>
4767 * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
4768 Return immediately after lll_futex_wake.
4770 2014-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
4773 * nscd/nscd-client.h (datahead_init_common): Initialize entire
4775 (datahead_init_pos): Call datahead_init_common early.
4776 (datahead_init_neg): Likewise.
4778 * nscd/nscd-client.h (datahead_init_common, datahead_init_pos,
4779 datahead_init_neg): New functions.
4780 * nscd/aicache.c (addhstaiX): Use them.
4781 * nscd/grpcache.c (cache_addgr): Likewise.
4782 * nscd/hstcache.c (cache_addhst): Likewise.
4783 * nscd/initgrcache.c (addinitgroupsX): Likewise.
4784 * nscd/netgroupcache.c (do_notfound): Likewise.
4785 (addgetnetgrentX): Likewise.
4786 (addinnetgrX): Likewise.
4787 * nscd/pwdcache.c (cache_addpw): Likewise.
4788 * nscd/servicescache.c (cache_addserv): Likewise.
4790 2014-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
4791 Atsushi Onoe <atsushi@onoe.org>
4796 * resolv/res_query.c (__libc_res_nsearch): Return if at least
4797 one response is valid.
4798 * resolv/res_send.c (send_dg): Check for validity of other
4799 response if the current response is a referral.
4801 2014-04-29 Steve Ellcey <sellcey@mips.com>
4803 * iconv/skeleton.c (ONE_DIRECTION): Set default value if not set.
4805 2014-04-29 Stefan Liebler <stli@linux.vnet.ibm.com>
4808 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl):
4809 Always divide by positive zero when computing -Inf result.
4810 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
4811 * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
4813 2014-04-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4815 * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Do not update
4816 FPSCR if value do not change.
4817 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
4818 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Likewise.
4819 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
4820 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
4821 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Likewise.
4822 * sysdeps/powerpc/fpu/fenv_libc.h (fenv_reg_to_exceptions): New helper
4825 2014-05-29 Carlos O'Donell <carlos@systemhalted.org>
4827 * sysdeps/hppa: Move directory from ports/sysdeps/hppa.
4828 * sysdeps/unix/sysv/linux/hppa: Move directory from
4829 ports/systeps/unix/sysv/linux/hppa.
4830 * README: Update listing for hppa-*-linux-gnu.
4832 2014-04-28 Ondřej Bílka <neleai@seznam.cz>
4835 * manual/stdio.texi (Hook functions): Fix types of stream hook
4838 * socket/sys/socket.h: Fix typo in comment.
4840 2014-04-28 Wilco <wdijkstr@arm.com>
4842 * sysdeps/arm/fenv_private.h: New file.
4843 * sysdeps/arm/math_private.h: New file.
4844 * sysdeps/arm/fpu_control.h: Add _FPU_MASK_NCZV and _FPU_MASK_EXCEPT.
4846 2014-04-25 H.J. Lu <hongjiu.lu@intel.com>
4848 * sysdeps/x86/bits/link.h (La_x86_64_regs): Replace __int128
4850 (La_x86_64_retval): Likewise.
4852 2014-04-24 Ian Bolton <ian.bolton@arm.com>
4854 * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept): Don't write to
4855 fpsr if value didn't change.
4856 * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept): Don't write
4857 to fpcr if value didn't change.
4858 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Likewise.
4859 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Don't write to
4860 fpsr or fpcr if value didn't change.
4861 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
4862 * sysdeps/aarch64/fpu/fesetround.c (fesetround): Don't write to
4863 fpcr if value didn't change.
4864 * sysdeps/aarch64/fpu/fsetexcptflg.c (fesetexceptflag): Don't write
4865 to fpsr if value didn't change.
4867 2014-02-23 Siddhesh Poyarekar <siddhesh@redhat.com>
4869 * nptl/tst-sem3.c: Use test-skeleton.c
4870 (main): Rename to do_test. Use return instead of
4872 * nptl/tst-sem4.c: Use test-skeleton.c
4873 (main): Rename to do_test.
4875 2014-04-22 David S. Miller <davem@davemloft.net>
4877 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h
4878 (struct sigaction): New struct member __glibc_reserved0, change
4879 type of sa_flags to int.
4881 2014-04-22 Yufeng Zhang <yufeng.zhang@arm.com>
4883 * stdlib/longlong.h (count_leading_zeros, count_trailing_zeros)
4884 (COUNT_LEADING_ZEROS_0): Define for AArch64.
4886 2014-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
4888 * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Include atomic.h.
4889 * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Likewise.
4891 2014-04-22 Will Newton <will.newton@linaro.org>
4892 Venkataramanan Kumar <venkataramanan.kumar@linaro.org>
4894 * sysdeps/aarch64/__longjmp.S: Include stap-probe.h.
4895 (__longjmp): Add longjmp and longjmp_target SystemTap
4897 * sysdeps/aarch64/setjmp.S: Include stap-probe.h.
4898 (__sigsetjmp): Add setjmp SystemTap probe.
4900 2014-04-17 Carlos O'Donell <carlos@redhat.com>
4902 * manual/intro.texi (Roadmap to the manual): Sort chapter listing to
4905 2014-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4907 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_once.c: Remove file.
4909 * sysdeps/powerpc/fpu/fenv_private.h
4910 (libc_feholdexcept_setroundl_ctx): Define to
4911 libc_feholdexcept_setround_ppc_ctx.
4912 (libc_fesetenvl_ctx): Define to libc_fesetenv_ppc_ctx.
4913 (libc_feholdsetroundl_ctx): Define to libc_feholdsetround_ppc_ctx.
4914 (libc_feresetroundl_ctx): Define to libc_feresetround_ppc_ctx.
4915 (libc_feupdateenvl_ctx): libc_feupdateenv_ppc_ctx.
4917 2014-04-17 Ian Bolton <ian.bolton@arm.com>
4919 * sysdeps/aarch64/math-tests.h: New file.
4921 2014-04-17 Sihai Yao <sihai.ysh@alibaba-inc.com>
4923 * sysdeps/x86_64/multiarch/ifunc-defines.sym (COMMON_CPUID_INDEX_7):
4925 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
4926 Check and set bit_AVX2_Usable.
4927 * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX2_Usable): New
4929 (bit_AVX2): Likewise.
4930 (index_AVX2_Usable): Likewise.
4931 (CPUID_AVX2): Likewise.
4932 (HAS_AVX2): Likewise.
4934 2014-04-17 Will Newton <will.newton@linaro.org>
4936 * manual/setjmp.texi (System V contexts): Add note that
4937 calling setcontext on a context created by a call to a
4938 signal handler is undefined. Update text to note that
4939 setcontext from a signal handler is possible but not
4943 * stdlib/tst-setcontext.c: Include signal.h.
4944 (main): Check that the signal stack before and
4945 after swapcontext is the same.
4947 * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext):
4948 Re-implement to restore registers in user code and avoid
4949 rt_sigreturn system call.
4951 2014-04-17 Wilco <wdijkstr@arm.com>
4953 * sysdeps/arm/math-tests.h: New file: Set ARM math-test settings.
4954 * sysdeps/generic/math-tests.h: Add macro (EXCEPTION_ENABLE_SUPPORTED).
4955 * math/test-fenv.c: Skip exception trap tests on targets which only
4956 support non-stop mode.
4958 2014-04-17 Ian Bolton <ian.bolton@arm.com>
4959 Wilco Dijkstra <wilco.dijkstra@arm.com>
4961 * sysdeps/aarch64/fpu/math_private.h (HAVE_RM_CTX)
4962 (libc_feholdsetround_aarch64_ctx)
4963 (libc_feholdsetround_ctx, libc_feholdsetroundf_ctx)
4964 (libc_feholdsetroundl_ctx, libc_feresetround_aarch64_ctx)
4965 (libc_feresetround_ctx, libc_feresetroundf_ctx)
4966 (libc_feresetroundl_ctx, libc_feresetround_noex_aarch64_ctx)
4967 (libc_feresetround_noex_ctx, libc_feresetround_noexf_ctx)
4968 (libc_feresetround_noexl_ctx): Define.
4970 2014-04-16 Richard Henderson <rth@redhat.com>
4972 * sysdeps/unix/sysv/linux/alpha/nptl/pthread_once.c: Remove.
4974 * sysdeps/alpha/Makefile [debug] (CFLAGS-backtrace.c): Enable
4977 * sysdeps/unix/alpha/sysdep.h (__pointer_chk_guard): Remove
4978 const from the non-libc, non-ldso copy.
4980 * sysdeps/alpha/libm-test-ulps: Regenerate.
4982 2014-04-16 Ian Bolton <ian.bolton@arm.com>
4983 Wilco Dijkstra <wilco.dijkstra@arm.com>
4985 * sysdeps/aarch64/fpu/math_private.h: New file.
4987 2014-04-16 Marcus Shawcroft <marcus.shawcroft@arm.com>
4989 * sysdeps/aarch64/libm-test-ulps: Regenerate.
4991 2014-04-16 Igor Zamyatin <igor.zamyatin@intel.com>
4993 * sysdeps/x86_64/bits/link.h (La_x86_64_regs): Add lr_bnd.
4994 (La_x86_64_retval): Add lrv_bnd0 and lrv_bnd1.
4995 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Save
4996 Intel MPX bound registers before _dl_profile_fixup.
4997 * sysdeps/x86_64/dl-trampoline.h: Restore Intel MPX bound
4998 registers after _dl_profile_fixup. Save and restore bound
4999 registers bnd0/bnd1 when calling _dl_call_pltexit.
5000 * sysdeps/x86_64/link-defines.sym (BND_SIZE): New.
5001 (LR_BND_OFFSET): Likewise.
5002 (LRV_BND0_OFFSET): Likewise.
5003 (LRV_BND1_OFFSET): Likewise.
5005 2014-04-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
5007 * sysdeps/mach/hurd/tls.h (dtv, dtv_t, tcbhead_t): Move declarations
5009 * sysdeps/mach/hurd/i386/tls.h: ... here.
5010 (tcbhead_t): Add multiple_threads, sysinfo, stack_guard,
5011 pointer_guard, gscope_flag, private_futex, __private_tm, __private_ss
5014 2014-04-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
5016 * sysdeps/mach/munmap.c (__munmap): Return EINVAL if `addr' is 0.
5018 2014-04-16 Stefan Liebler <stli@linux.vnet.ibm.com>
5020 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
5022 2014-04-16 Stefan Liebler <stli@linux.vnet.ibm.com>
5025 * sysdeps/s390/configure.ac: Check for Binutils >= 2.24.
5026 * sysdeps/s390/configure: Regenerate.
5029 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l):
5030 Set round-to-nearest internally to reduce error accumulation.
5032 2014-04-16 Alan Modra <amodra@gmail.com>
5036 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Rewrite.
5037 * math/libm-test.inc (frexp_test_data): Add tests.
5038 * NEWS: Update fixed bug list.
5040 2014-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
5042 * benchtests/Makefile: Depend on libraries in build directory.
5043 (bench-math): Separate out math tests.
5044 (bench-pthread): Separate out pthread tests.
5045 (bench): Include math and pthread tests.
5047 2014-04-14 Carlos O'Donell <carlos@redhat.com>
5050 * csu/libc-start.c (LIBC_START_MAIN) [!SHARED]: Call
5051 _dl_debug_initialize.
5053 * configure.ac: Remove SELinux header check.
5054 * configure: Regenerate.
5055 * nscd/selinux.c (perms): Array of const char* to permission names.
5056 (nscd_request_avc_has_perm): Call security_deny_unknown to find
5057 default policy. Call string_to_security_class and string_to_av_perm to
5058 translate strings. Enforce default policy and call avs_has_perm with
5059 results of translated strings.
5061 2014-04-13 David S. Miller <davem@davemloft.net>
5063 * sysdeps/sparc/fpu/libm-test-ulps: Update.
5065 2014-04-12 Allan McRae <allan@archlinux.org>
5068 * manual/string.texi (Collation Functions): Fix qsort argument
5070 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
5072 2014-04-11 Chris Metcalf <cmetcalf@tilera.com>
5074 * math/test-fenv-preserve.c [FE_ALL_EXCEPT == 0] (do_test):
5075 Make the test a no-op if there are no exceptions defined.
5077 2014-04-11 Paul Pluzhnikov <ppluzhnikov@google.com>
5079 * elf/Makefile (tests): make tst-dlopen-aout conditional on
5080 enable-hardcoded-path-in-tests
5082 2014-04-11 Will Newton <will.newton@linaro.org>
5084 * benchtests/Makefile (extra-objs): Add json-lib.o.
5085 (bench-func): Tidy up JSON output.
5086 * benchtests/bench-skeleton.c: Include json-lib.h.
5087 (main): Use JSON library functions to do output of
5089 * benchtests/bench-timing-type.c (main): Output the
5090 timing type simply, leaving formatting to the user.
5091 * benchtests/json-lib.c: New file.
5092 * benchtests/json-lib.h: Likewise.
5094 2014-04-11 Torvald Riegel <triegel@redhat.com>
5097 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_once.c: Moved to ...
5098 * nptl/sysdeps/unix/sysv/linux/pthread_once.c: ... here. Add missing
5099 memory barriers. Add comments.
5100 * sysdeps/unix/sysv/linux/aarch64/nptl/pthread_once.c: Remove file.
5101 * sysdeps/unix/sysv/linux/arm/nptl/pthread_once.c: Remove file.
5102 * sysdeps/unix/sysv/linux/ia64/nptl/pthread_once.c: Remove file.
5103 * sysdeps/unix/sysv/linux/m68k/nptl/pthread_once.c: Remove file.
5104 * sysdeps/unix/sysv/linux/mips/nptl/pthread_once.c: Remove file.
5105 * sysdeps/unix/sysv/linux/tile/nptl/pthread_once.c: Remove file.
5107 2014-04-11 Stefan Liebler <stli@linux.vnet.ibm.com>
5109 * sysdeps/s390/s390-32/configure.ac: Unify file with ...
5110 * sysdeps/s390/s390-64/configure.ac: ... this ...
5111 * sysdeps/s390/configure.ac: ... to here.
5112 * sysdeps/s390/s390-32/configure: Delete file.
5113 * sysdeps/s390/s390-64/configure: Delete file.
5114 * sysdeps/s390/configure: Regenerate.
5116 2014-04-11 Joseph Anthony Pasquale Holsten <joseph@josephholsten.com>
5118 * resolv/res_query.c (__libc_res_nsearch): Fix typo in comment.
5120 2014-04-11 Will Newton <will.newton@linaro.org>
5122 * malloc/malloc.c [!MALLOC_DEBUG]: #define MALLOC_DEBUG
5123 to zero if it is not defined elsewhere. (mtrim): Test
5124 the value of MALLOC_DEBUG with #if rather than #ifdef.
5126 2014-04-10 Torvald Riegel <triegel@redhat.com>
5128 * benchtests/pthread_once-inputs: New file.
5129 * benchtests/pthread_once-source.c: New file.
5130 * benchtests/README: Update documentation.
5132 2014-04-09 Igor Zamyatin <igor.zamyatin@intel.com>
5133 H.J. Lu <hongjiu.lu@intel.com>
5135 * config.h.in (HAVE_MPX_SUPPORT): New #undef.
5136 * sysdeps/x86_64/configure.ac: Set HAVE_MPX_SUPPORT.
5137 * sysdeps/x86_64/configure: Regenerated.
5138 * sysdeps/x86_64/dl-trampoline.S (REGISTER_SAVE_AREA): New
5140 (REGISTER_SAVE_RAX): Likewise.
5141 (REGISTER_SAVE_RCX): Likewise.
5142 (REGISTER_SAVE_RDX): Likewise.
5143 (REGISTER_SAVE_RSI): Likewise.
5144 (REGISTER_SAVE_RDI): Likewise.
5145 (REGISTER_SAVE_R8): Likewise.
5146 (REGISTER_SAVE_R9): Likewise.
5147 (REGISTER_SAVE_BND0): Likewise.
5148 (REGISTER_SAVE_BND1): Likewise.
5149 (REGISTER_SAVE_BND2): Likewise.
5150 (_dl_runtime_resolve): Use them. Save and restore Intel MPX
5151 bound registers when calling _dl_fixup.
5153 2014-04-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5155 * bits/string.h (_STRING_ARCH_unaligned): Define it to 0.
5156 * crypt/sha256.c (_STRING_ARCH_unaligned): Check its value instead
5158 * iconv/gconv_simple.c (_STRING_ARCH_unaligned): Likewise.
5159 * iconv/loop.c (_STRING_ARCH_unaligned): Likewise.
5160 * iconv/skeleton.c (_STRING_ARCH_unaligned): Likewise.
5161 * nscd/nscd_gethst_r.c (_STRING_ARCH_unaligned): Likewise.
5162 * nscd/nscd_getserv_r.c (_STRING_ARCH_unaligned): Likewise.
5163 * nscd/nscd_helper.c (_STRING_ARCH_unaligned): Likewise.
5164 * resolv/res_send.c (_STRING_ARCH_unaligned): Likewise.
5166 2014-04-09 Peter Brett <peter@peter-b.co.uk>
5169 * sysdeps/posix/pathconf.c (__pathconf): Use statvfs64() for
5170 pathconf(_PC_NAME_MAX).
5172 2014-04-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5174 * nptl/sysdeps/pthread/pthread.h (__PTHREAD_MUTEX_HAVE_ELISION):
5176 (__PTHREAD_SPINS): Move definition to ...
5177 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
5178 (__PTHREAD_SPINS): ... here.
5179 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
5180 (__PTHREAD_SPIN): Likewise.
5181 * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h
5182 (__PTHREAD_SPIN): Likewise.
5183 * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h
5184 (__PTHREAD_SPIN): Likewise.
5185 * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h
5186 (__PTHREAD_SPIN): Likewise.
5187 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
5188 (__PTHREAD_SPIN): Likewise.
5189 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
5190 (__PTHREAD_SPIN): Likewise.
5191 * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h
5192 (__PTHREAD_SPIN): Likewise.
5193 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
5194 (__PTHREAD_SPIN): Likewise.
5195 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
5196 (__PTHREAD_SPIN): Likewise.
5197 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
5198 (__PTHREAD_SPIN): Likewise.
5199 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
5200 (__PTHREAD_SPIN): Likewise.
5201 * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h
5202 (__PTHREAD_SPIN): Likewise.
5204 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: New file.
5205 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: new file.
5206 * sysdeps/powerpc/powerpc64/power6x/multiarch/Implies: New file.
5207 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove multiarch
5209 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Likewise.
5210 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: Likewise.
5211 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: Likewise.
5212 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: Adjust
5214 * sysdeps/powerpc/powerpc64/power7/strncat.S (STRLEN): Define correct
5215 strlen symbol for non multi-arch builds.
5216 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (__isnan): Add
5217 missing hidden_def and weak_alias.
5219 2014-04-08 Carlos O'Donell <carlos@redhat.com>
5221 * manual/ipc.texi (sem_close): AC-unsafe because of aculock.
5223 2014-04-07 Will Newton <will.newton@linaro.org>
5225 * string/basename.c [HAVE_CONFIG_H]: Remove #ifdef and
5226 and contents. [!_LIBC] Remove #ifndef and contents.
5227 (basename): Use ANSI prototype. [_LIBC] Remove #idef.
5228 * string/memccpy.c (__memccpy): Use ANSI prototype.
5229 * string/memfrob.c (memfrob): Likewise.
5230 * string/strcoll.c (STRCOLL): Likewise.
5231 * string/strlen.c (strlen): Likewise.
5232 * string/strtok.c (STRTOK): Likewise.
5233 * string/strcat.c: Remove unused #include of memcopy.h.
5234 (strcat): Use ANSI prototype.
5235 * string/strchr.c: Remove unused #include of memcopy.h.
5236 (strchr): Use ANSI prototype.
5237 * string/strcmp.c: Remove unused #include of memcopy.h.
5238 (strcmp): Use ANSI prototype.
5239 * string/strcpy.c: Remove unused #include of memcopy.h.
5240 (strcpy): Use ANSI prototype.
5242 2014-04-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5244 * Makeconfig (CPPFLAGS): Add config-extra-cppflags to list.
5245 * config.make.in (config-extra-cppflags): Set it from
5246 libc_extra_cppflags.
5247 * configure.ac (libc_extra_cflags): Make it accumulate over
5248 configure fragments.
5249 (libc_extra_cppflags): New flag.
5250 * configure. Regenerate.
5251 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
5252 (libc_cv_ppc64_def_call_elf): Define it to yes if compiler does
5253 not set _CALL_ELF and add -D_CALL_ELF=1 to libc_extra_cppflags.
5254 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
5257 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Fix
5258 result for FE_DOWNWARD rounding mode.
5259 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
5261 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5263 2014-04-04 Chris Metcalf <cmetcalf@tilera.com>
5265 * sysdeps/tile/dl-runtime.c (_dl_unmap): Fix cut-and-paste bug
5266 in function argument name.
5268 2014-04-03 David Svoboda <svoboda@cert.org>
5271 * manual/stdio.texi (Line-Oriented Input): Document buffer allocation
5274 2014-04-03 Roland McGrath <roland@hack.frob.com>
5276 * elf/dl-unmap-segments.h: New file.
5277 * sysdeps/generic/ldsodefs.h
5278 (DL_UNMAP): Use _dl_unmap_segments in place of __munmap.
5279 * elf/dl-close.c: Include <dl-unmap-segments.h>.
5280 * elf/dl-fptr.c: Likewise.
5281 (_dl_unmap): Use _dl_unmap_segments in place of __munmap.
5282 * sysdeps/aarch64/tlsdesc.c: Likewise.
5283 * sysdeps/arm/tlsdesc.c: Likewise.
5284 * sysdeps/i386/tlsdesc.c: Likewise.
5285 * sysdeps/tile/dl-runtime.c: Likewise.
5286 * sysdeps/x86_64/tlsdesc.c: Likewise.
5287 * elf/dl-load.h: New file.
5288 * elf/dl-load.c: Include it.
5289 (MAP_FILE, MAP_COPY, MAP_BASE_ADDR):
5290 Macros moved to dl-load.h.
5291 (ELF_PREFERRED_ADDRESS_DATA, ELF_PREFERRED_ADDRESS): Likewise.
5292 (_dl_map_object_from_fd): Type 'struct loadcmd' moved to dl-load.h.
5293 Use _dl_unmap_segments in place of __munmap.
5294 Break out segment-mapping loop into ...
5295 * elf/dl-map-segments.h (_dl_map_segments): ... here, in new file.
5297 2014-04-03 Will Newton <will.newton@linaro.org>
5299 * elf/dl-lookup.c (do_lookup_x): Remove comment
5300 referring to nested function and move variable
5301 declarations down to before first use.
5303 2014-04-02 Joseph Myers <joseph@codesourcery.com>
5307 * math/s_catan.c (__catan): Avoid passing -0 denominator to atan2
5309 * math/s_catanf.c (__catanf): Likewise.
5310 * math/s_catanh.c (__catanh): Likewise.
5311 * math/s_catanhf.c (__catanhf): Likewise.
5312 * math/s_catanhl.c (__catanhl): Likewise.
5313 * math/s_catanl.c (__catanl): Likewise.
5314 * sysdeps/ieee754/flt-32/e_logf.c (__ieee754_logf): Always divide
5315 by positive zero when computing -Inf result.
5316 * math/libm-test.inc (catan_test): Use ALL_RM_TEST.
5317 (catanh_test): Likewise.
5318 * sysdeps/i386/fpu/libm-test-ulps: Update.
5319 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5322 * math/s_clog.c (__clog): Use math_force_eval to ensure underflow
5323 instead of using underflowing value in computing result.
5324 * math/s_clog10.c (__clog10): Likewise.
5325 * math/s_clog10f.c (__clog10f): Likewise.
5326 * math/s_clog10l.c (__clog10l): Likewise.
5327 * math/s_clogf.c (__clogf): Likewise.
5328 * math/s_clogl.c (__clogl): Likewise.
5329 * math/libm-test.inc (clog_test): Use ALL_RM_TEST.
5330 (clog10_test): Likewise.
5331 * sysdeps/i386/fpu/libm-test-ulps: Update.
5332 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5334 2014-04-02 Alan Modra <amodra@gmail.com>
5337 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Correct
5338 output when value is near a power of two. Use int64_t for lx and
5339 remove casts. Use decimal rather than hex exponent constants.
5340 Don't use long double multiplication when double will suffice.
5341 * math/libm-test.inc (nextafter_test_data): Add tests.
5342 * NEWS: Add 16739 and 16786 to bug list.
5344 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Correct stream hint.
5346 * sysdeps/powerpc/powerpc64/start.S: Add @toc to toc symbol reference.
5348 2014-04-01 Will Newton <will.newton@linaro.org>
5350 * benchtests/Makefile (CFLAGS-bench-ffs.c): Add
5351 -fno-builtin. (CFLAGS-bench-ffsll.c): Likewise.
5353 2014-04-01 Florian Weimer <fweimer@redhat.com>
5356 * nptl/nptl-init.c (sighandler_setxid): Check system call result.
5357 * nptl/tst-setuid2.c: New file.
5358 * nptl/Makefile (xtests): Add tst-setuid2.
5360 2014-04-01 Alan Modra <amodra@gmail.com>
5363 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Don't trash stack.
5365 2014-03-31 Joseph Myers <joseph@codesourcery.com>
5369 * math/w_scalb.c (__scalb): For non-SVID mode, check result and
5370 set errno as appropriate.
5371 * math/w_scalbf.c (__scalbf): Likewise.
5372 * math/w_scalbl.c (__scalbl): Likewise.
5373 * math/gen-libm-test.pl (parse_args): Handle ERRNO_PLUS_OFLOW,
5374 ERRNO_MINUS_OFLOW, ERRNO_PLUS_UFLOW and ERRNO_MINUS_UFLOW.
5375 * math/libm-test.inc (scalb_test_data): Add errno expectations.
5379 * math/w_atan2.c: Include <errno.h>.
5380 (__atan2): Set errno for result underflowing to zero.
5381 * math/w_atan2f.c: Include <errno.h>.
5382 (__atan2f): Set errno for result underflowing to zero.
5383 * math/w_atan2l.c: Include <errno.h>.
5384 (__atan2l): Set errno for result underflowing to zero.
5385 * math/auto-libm-test-in: Don't allow missing errno for some atan2
5387 * math/auto-libm-test-out: Regenerated.
5389 2014-03-31 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5391 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
5392 Encode instruction correctly in little endian.
5393 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
5395 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
5397 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
5399 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
5402 2014-03-31 Joseph Myers <joseph@codesourcery.com>
5405 * sysdeps/unix/sysv/linux/kernel-features.h
5406 [__sparc__ && !__arch64__ && !__sparc_v9__]
5407 (__ASSUME_SET_ROBUST_LIST): Do not define.
5408 [__sparc__ && !__arch64__ && !__sparc_v9__]
5409 (__ASSUME_FUTEX_LOCK_PI): Likewise.
5410 [__sparc__ && !__arch64__ && !__sparc_v9__] (__ASSUME_REQUEUE_PI):
5412 * sysdeps/unix/sysv/linux/arm/kernel-features.h
5413 (__ASSUME_FUTEX_LOCK_PI): Undefine.
5414 (__ASSUME_REQUEUE_PI): Likewise.
5415 (__ASSUME_SET_ROBUST_LIST): Likewise.
5416 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
5417 [__LINUX_KERNEL_VERSION < 0x030a00] (__ASSUME_FUTEX_LOCK_PI):
5419 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
5420 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_FUTEX_LOCK_PI):
5422 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_REQUEUE_PI):
5424 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_SET_ROBUST_LIST):
5426 * sysdeps/unix/sysv/linux/mips/kernel-features.h
5427 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_FUTEX_LOCK_PI):
5429 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_REQUEUE_PI): Likewise.
5430 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_SET_ROBUST_LIST):
5434 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
5435 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_FUTIMESAT): Define.
5436 * sysdeps/unix/sysv/linux/microblaze/futimesat.c: New file.
5438 2014-03-31 Will Newton <will.newton@linaro.org>
5440 * benchtests/Makefile (bench): Add ffs and ffsll to list
5442 * benchtests/ffs-inputs: New file.
5443 * benchtests/ffsll-inputs: Likewise.
5445 2014-03-29 Joseph Myers <joseph@codesourcery.com>
5448 * math/e_scalb.c (__ieee754_scalb): Check second argument is not
5449 too large before casting to int.
5450 * math/e_scalbf.c (__ieee754_scalbf): Likewise.
5451 * math/e_scalbl.c (__ieee754_scalbl): Likewise.
5452 * math/libm-test.inc (scalb_test_data): Add more tests.
5454 2014-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
5456 * benchtests/Makefile (DETAILED_OPT): New make option.
5457 (bench-func): Run benchmark program with -d if DETAILED_OPT is
5459 * benchtests/bench-skeleton.c: Include stdbool.h.
5460 (main): Store and print timings per input.
5461 * benchtests/scripts/bench.py (STRUCT_TEMPLATE): Add timing
5462 member to each argument value.
5463 (EPILOGUE): Define new macros RESULT and RESULT_ACCUM.
5464 (_print_arg_data): Initialize per-input timing to 0.
5466 * benchtests/Makefile (timing-type): New binary.
5467 (bench-clean): Also remove bench-timing-type.
5468 (bench): New target for timing-type.
5469 (bench-func): Print output in JSON format.
5470 * benchtests/bench-skeleton.c (main): Print output in JSON
5472 * benchtests/bench-timing-type.c: New file.
5473 * benchtests/bench-timing.h (TIMING_TYPE): New macro.
5474 (TIMING_PRINT_STATS): Remove.
5475 * benchtests/scripts/bench.py (_print_arg_data): Store variant
5478 * benchtests/bench-modf.c: Remove.
5479 * benchtests/modf-inputs: New inputs file.
5481 2014-03-28 Joseph Myers <joseph@codesourcery.com>
5484 * math/s_clog10.c (M_PI_LOG10E): New macro.
5485 (__clog10): Use M_PI_LOG10E instead of M_PI when real and
5486 imaginary parts are 0.
5487 * math/s_clog10f.c (M_PI_LOG10Ef): New macro.
5488 (__clog10f): Use M_PI_LOG10Ef instead of M_PI when real and
5489 imaginary parts are 0.
5490 * math/s_clog10l.c (M_PI_LOG10El): New macro.
5491 (__clog10l): Use M_PI_LOG10El instead of M_PIl when real and
5492 imaginary parts are 0.
5493 * math/libm-test.inc (clog10_test_data): Update expected results
5494 for when real and imaginary parts are 0.
5496 2014-03-27 Paul Pluzhnikov <ppluzhnikov@google.com>
5498 * elf/dl-load.c: Finish conversion of __builtin_expect into
5501 2014-03-27 Joseph Myers <joseph@codesourcery.com>
5504 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]: Use
5505 1+x for argument with exponent below -67.
5506 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]:
5508 * math/auto-libm-test-in: Add more tests of exp.
5509 * math/auto-libm-test-out: Regenerated.
5511 2014-03-27 Siddhesh Poyarekar <siddhesh@redhat.com>
5514 * inet/getnetgrent_r.c (get_nonempty_val): New function.
5515 (nscd_getnetgrent): Use it.
5518 * nscd/netgroupcache.c (addgetnetgrentX): Use memmove instead
5521 2014-03-27 Andi Kleen <ak@linux.intel.com>
5523 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_lock)
5524 (lll_robust_lock, lll_cond_lock, lll_timedlock)
5525 (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
5526 (lll_robust_unlock): Remove out of line section. Use cfi
5528 (LLL_STUB_UNWIND_INFO*): Remove.
5529 * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_lock)
5530 (lll_robust_lock, lll_cond_lock, lll_timedlock)
5531 (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
5532 (lll_robust_unlock): Remove out of line section. Use cfi
5534 (LLL_STUB_UNWIND_INFO*): Remove.
5536 2014-03-27 Siddhesh Poyarekar <siddhesh@redhat.com>
5539 * nscd/netgroupcache.c (addinnetgrX): Succeed if triplet has
5542 2014-03-26 Paul Pluzhnikov <ppluzhnikov@google.com>
5544 * elf/dl-load.c: Convert __builtin_expect into __glibc_{un}likely.
5546 2014-03-26 Joseph Myers <joseph@codesourcery.com>
5549 * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Use fldenv after
5551 * math/test-fenv-preserve.c: New file.
5552 * math/Makefile (tests): Add test-fenv-preserve.
5554 2014-03-26 Will Newton <will.newton@linaro.org>
5556 * benchtests/bench-strtod.c (TIMEOUT): Define to 10.
5558 2014-03-25 Roland McGrath <roland@hack.frob.com>
5560 * scripts/versionlist.awk: Partition the version sets and emit all
5561 GLIBC_* (sorted) before all others (sorted).
5563 2014-03-25 Joseph Myers <joseph@codesourcery.com>
5565 * elf/Versions (libc) [EXPORT_UNWIND_FIND_FDE]: Add empty
5566 GLIBC_2.2.5 version.
5568 2014-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5570 * scripts/localplt.awk: Check for PLT generated by internal IFUNC
5573 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Revert
5576 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5578 2014-03-25 Andreas Schwab <schwab@suse.de>
5580 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Add out_fail2
5581 label to be used after in6ailist is initialized.
5583 2014-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5585 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
5586 (__PTHREAD_MUTEX_HAVE_ELISION): New define.
5588 2014-03-25 Joseph Myers <joseph@codesourcery.com>
5592 * math/gen-auto-libm-tests.c (fp_format_desc): Add field
5594 (fp_formats): Update initializers.
5595 (init_fp_formats): Initialize new field.
5596 (output_for_one_input_case): Allow underflow for results up to
5598 * math/libm-test.inc (log1p_test): Use ALL_RM_TEST.
5599 * math/auto-libm-test-in: Don't mark some underflows from asin and
5601 * math/auto-libm-test-out: Regenerated.
5602 * sysdeps/i386/fpu/libm-test-ulps: Update.
5603 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5605 2014-03-25 Andreas Schwab <schwab@suse.de>
5607 * libio/Makefile (tst-ftell-partial-wide-ENV)
5608 (tst-ftell-active-handler-ENV): Define.
5610 2014-03-25 Stefan Liebler <stli@linux.vnet.ibm.com>
5612 * NEWS: Add 16712, 16713, 16714 to fixed bug list.
5614 2014-03-24 Paul Pluzhnikov <ppluzhnikov@google.com>
5616 * elf/tst-dlopen-aout.c: Adjust comments. Use test-skeleton.c
5618 2014-03-24 Joseph Myers <joseph@codesourcery.com>
5620 * sysdeps/ieee754/dbl-64/e_exp.c: Include <math.h>.
5621 * sysdeps/x86_64/fpu/multiarch/e_exp.c
5622 [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
5624 2014-03-24 Paul Pluzhnikov <ppluzhnikov@google.com>
5627 * elf/dl-load.c (open_verify): Add mode parameter.
5628 Error early when ET_EXEC and mode does not have __RTLD_OPENEXEC.
5629 (open_path): Change from boolean 'secure' to complete flag 'mode'
5630 (_dl_map_object): Adjust.
5631 * elf/Makefile (tests): Add tst-dlopen-aout.
5632 * elf/tst-dlopen-aout.c: New test.
5634 2014-03-24 Stefan Liebler <stli@linux.vnet.ibm.com>
5637 * sysdeps/unix/sysv/linux/s390/bits/stat.h
5638 (struct stat): Rename member pad0 to __glibc_reserved0.
5641 * sysdeps/s390/s390-32/bits/wordsize.h
5642 (__WORDSIZE32_SIZE_ULONG): New define.
5643 * sysdeps/s390/s390-64/bits/wordsize.h
5644 (__WORDSIZE32_SIZE_ULONG): Likewise.
5645 * sysdeps/generic/stdint.h (SIZE_MAX):
5646 Define as UL if __WORDSIZE32_SIZE_ULONG.
5649 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
5650 (__glibc_reserved0): New variable.
5651 (sa_flags): Change type to int.
5653 * posix/Makefile (before-compile): Use += before-compile instead
5656 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
5657 (__PTHREAD_MUTEX_HAVE_ELISION): New define.
5659 2014-03-20 Andreas Schwab <schwab@suse.de>
5662 * sysdeps/posix/getaddrinfo.c (gaih_inet): Properly skip over
5663 non-matching result from nscd.
5665 2014-03-24 Siddhesh Poyarekar <siddhesh@redhat.com>
5667 * scripts/bench.py: Moved to ...
5668 * benchtests/scripts/bench.py: ... here.
5669 * benchtests/Makefile ($(objpfx)bench-%.c): Adjust.
5671 2014-03-24 Andreas Schwab <schwab@suse.de>
5674 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Use
5675 alloca_account and account alloca use for struct in6ailist.
5677 2014-03-24 Joseph Myers <joseph@codesourcery.com>
5680 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use original
5681 rounding mode to recompute results that overflow to infinity or
5683 * math/auto-libm-test-in: Don't mark tests as expected to fail for
5685 * math/auto-libm-test-out: Regenerated.
5686 * math/libm-test.inc (ccos_test): Use ALL_RM_TEST.
5687 (ccosh_test): Likewise.
5688 (csin_test_data): Use plus_oflow.
5689 (csin_test): Use ALL_RM_TEST.
5690 (csinh_test_data): Use plus_oflow.
5691 (csinh_test): Use ALL_RM_TEST.
5692 * sysdeps/i386/fpu/libm-test-ulps: Update.
5693 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5695 2014-03-21 Joseph Myers <joseph@codesourcery.com>
5697 * sysdeps/mips/bits/wordsize.h: Include <sgidefs.h>.
5698 * sysdeps/unix/sysv/linux/mips/getrlimit64.c: Likewise.
5699 * sysdeps/unix/sysv/linux/mips/setrlimit64.c: Likewise.
5702 * sysdeps/i386/fpu/e_log.S (__ieee754_log): Take absolute value
5704 * sysdeps/i386/fpu/e_logf.S (__ieee754_logf): Likewise.
5705 * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Likewise.
5706 * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
5707 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Return +0 when
5709 * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Likewise.
5710 * sysdeps/x86_64/fpu/e_logl.S: Take absolute value when x - 1 is
5712 * math/libm-test.inc (log_test): Use ALL_RM_TEST.
5713 * sysdeps/i386/fpu/libm-test-ulps: Update.
5714 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5716 2014-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
5718 * scripts/bench.pl: Remove file.
5719 * scripts/bench.py: New benchmark script.
5720 * benchtests/Makefile ($(objpfx)bench-%.c): Use it.
5721 * benchtests/README: Mention python dependency.
5722 * scripts/pylintrc: New file.
5723 * scripts/pylint: New file.
5725 * bits/mathdef.h: Use #ifdef instead of #if.
5726 * sysdeps/arm/bits/mathdef.h [defined __USE_ISOC99 && defined
5727 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
5728 * sysdeps/tile/bits/mathdef.h [defined __USE_ISOC99 && defined
5729 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
5730 * sysdeps/x86/bits/mathdef.h [defined __USE_ISOC99 && defined
5731 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
5733 2014-03-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5734 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
5736 * string/strpbrk.c (strpbrk): Using macro to redefine symbol name.
5737 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpbrk-power7
5738 and strpbrk-ppc64 objects.
5739 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
5740 (__libc_ifunc_impl_list): Add new strpbrk optimized symbols.
5741 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-power7.S: New file:
5742 multiarch strpbrk for POWER7.
5743 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: New file:
5744 multiarch strpbrk for PPC64.
5745 * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: New file: strpbrk
5747 * sysdeps/powerpc/powerpc64/power7/strpbrk.S: New file: optimited
5750 2014-03-20 Joseph Myers <joseph@codesourcery.com>
5752 * math/libm-test.inc (asinh_test): Use ALL_RM_TEST.
5753 (atan_test): Likewise.
5754 (atanh_test_data): Use NO_TEST_INLINE for two tests.
5755 (atanh_test): Use ALL_RM_TEST.
5756 (atan2_test_data): Likewise.
5757 (cabs_test): Likewise.
5758 (cacosh_test): Likewise.
5759 (carg_test): Likewise.
5760 (casin_test): Likewise.
5761 (casinh_test): Likewise.
5762 (cbrt_test): Likewise.
5763 (csqrt_test): Likewise.
5764 (erf_test): Likewise.
5765 (erfc_test): Likewise.
5766 (pow10_test): Likewise.
5767 (exp2_test): Likewise.
5768 (hypot_test): Likewise.
5769 (j0_test): Likewise.
5770 (j1_test): Likewise.
5771 (lgamma_test): Likewise.
5772 (gamma_test): Likewise.
5773 (sincos_test): Likewise.
5774 (tanh_test): Likewise.
5775 (y0_test): Likewise.
5776 (y1_test): Likewise.
5777 * sysdeps/i386/fpu/libm-test-ulps: Update.
5778 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5780 2014-03-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5782 * string/strcspn.c (strcspn): Using macro to redefine symbol name.
5783 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcspn-power7
5784 and strcspn-ppc64 objects.
5785 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
5786 (__libc_ifunc_impl_list): Add new strcspn optimized symbols.
5787 * sysdeps/powerpc/powerpc64/multiarch/strcspn-power7.S: New file:
5788 multiarch strcspn for POWER7.
5789 * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: New file:
5790 multiarch strcspn for PPC64.
5791 * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: New file: strcspn
5793 * sysdeps/powerpc/powerpc64/power7/strcspn.S: New file: optimited
5796 2014-03-20 Joseph Myers <joseph@codesourcery.com>
5798 * math/gen-libm-test.pl (generate_testfile): Expect only function
5799 name as argument to AUTO_TESTS_* and pass results for all rounding
5800 modes to parse_args.
5801 (parse_auto_input): Separate inputs of automatic tests from
5802 outputs before storing in %auto_tests.
5803 * math/libm-test.inc (acos_test_data): Update call to
5805 (acos_test): Use ALL_RM_TEST.
5806 (acos_tonearest_test_data): Remove.
5807 (acos_test_tonearest): Likewise.
5808 (acos_towardzero_test_data): Likewise.
5809 (acos_test_towardzero): Likewise.
5810 (acos_downward_test_data): Likewise.
5811 (acos_test_downward): Likewise.
5812 (acos_upward_test_data): Likewise.
5813 (acos_test_upward): Likewise.
5814 (acosh_test_data): Update call to AUTO_TESTS_f_f.
5815 (asin_test_data): Likewise.
5816 (asin_test): Use ALL_RM_TEST.
5817 (asin_tonearest_test_data): Remove.
5818 (asin_test_tonearest): Likewise.
5819 (asin_towardzero_test_data): Likewise.
5820 (asin_test_towardzero): Likewise.
5821 (asin_downward_test_data): Likewise.
5822 (asin_test_downward): Likewise.
5823 (asin_upward_test_data): Likewise.
5824 (asin_test_upward): Likewise.
5825 (asinh_test_data): Update call to AUTO_TESTS_f_f.
5826 (atan_test_data): Likewise.
5827 (atanh_test_data): Likewise.
5828 (atan2_test_data): Update call to AUTO_TESTS_ff_f.
5829 (cabs_test_data): Update call to AUTO_TESTS_c_f.
5830 (carg_test_data): Likewise.
5831 (cbrt_test_data): Update call to AUTO_TESTS_f_f.
5832 (ccos_test_data): Update call to AUTO_TESTS_c_c.
5833 (ccosh_test_data): Likewise.
5834 (cexp_test_data): Likewise.
5835 (clog_test_data): Likewise.
5836 (clog10_test_data): Likewise.
5837 (cos_test_data): Update call to AUTO_TESTS_f_f.
5838 (cos_test): Use ALL_RM_TEST.
5839 (cos_tonearest_test_data): Remove.
5840 (cos_test_tonearest): Likewise.
5841 (cos_towardzero_test_data): Likewise.
5842 (cos_test_towardzero): Likewise.
5843 (cos_downward_test_data): Likewise.
5844 (cos_test_downward): Likewise.
5845 (cos_upward_test_data): Likewise.
5846 (cos_test_upward): Likewise.
5847 (cosh_test_data): Update call to AUTO_TESTS_f_f.
5848 (cosh_test): Use ALL_RM_TEST.
5849 (cosh_tonearest_test_data): Remove.
5850 (cosh_test_tonearest): Likewise.
5851 (cosh_towardzero_test_data): Likewise.
5852 (cosh_test_towardzero): Likewise.
5853 (cosh_downward_test_data): Likewise.
5854 (cosh_test_downward): Likewise.
5855 (cosh_upward_test_data): Likewise.
5856 (cosh_test_upward): Likewise.
5857 (cpow_test_data): Update call to AUTO_TESTS_cc_c.
5858 (csqrt_test_data): Update call to AUTO_TESTS_c_c.
5859 (ctan_test_data): Likewise.
5860 (ctan_test): Use ALL_RM_TEST.
5861 (ctan_tonearest_test_data): Remove.
5862 (ctan_test_tonearest): Likewise.
5863 (ctan_towardzero_test_data): Likewise.
5864 (ctan_test_towardzero): Likewise.
5865 (ctan_downward_test_data): Likewise.
5866 (ctan_test_downward): Likewise.
5867 (ctan_upward_test_data): Likewise.
5868 (ctan_test_upward): Likewise.
5869 (ctanh_test_data): Update call to AUTO_TESTS_c_c.
5870 (ctanh_test): Use ALL_RM_TEST.
5871 (ctanh_tonearest_test_data): Remove.
5872 (ctanh_test_tonearest): Likewise.
5873 (ctanh_towardzero_test_data): Likewise.
5874 (ctanh_test_towardzero): Likewise.
5875 (ctanh_downward_test_data): Likewise.
5876 (ctanh_test_downward): Likewise.
5877 (ctanh_upward_test_data): Likewise.
5878 (ctanh_test_upward): Likewise.
5879 (erf_test_data): Update call to AUTO_TESTS_f_f.
5880 (erfc_test_data): Likewise.
5881 (exp_test_data): Likewise.
5882 (exp_test): Use ALL_RM_TEST.
5883 (exp_tonearest_test_data): Remove.
5884 (exp_test_tonearest): Likewise.
5885 (exp_towardzero_test_data): Likewise.
5886 (exp_test_towardzero): Likewise.
5887 (exp_downward_test_data): Likewise.
5888 (exp_test_downward): Likewise.
5889 (exp_upward_test_data): Likewise.
5890 (exp_test_upward): Likewise.
5891 (exp10_test_data): Update call to AUTO_TESTS_f_f.
5892 (exp10_test): Use ALL_RM_TEST.
5893 (exp10_tonearest_test_data): Remove.
5894 (exp10_test_tonearest): Likewise.
5895 (exp10_towardzero_test_data): Likewise.
5896 (exp10_test_towardzero): Likewise.
5897 (exp10_downward_test_data): Likewise.
5898 (exp10_test_downward): Likewise.
5899 (exp10_upward_test_data): Likewise.
5900 (exp10_test_upward): Likewise.
5901 (exp2_test_data): Update call to AUTO_TESTS_f_f.
5902 (expm1_test_data): Likewise.
5903 (expm1_test): Use ALL_RM_TEST.
5904 (expm1_tonearest_test_data): Remove.
5905 (expm1_test_tonearest): Likewise.
5906 (expm1_towardzero_test_data): Likewise.
5907 (expm1_test_towardzero): Likewise.
5908 (expm1_downward_test_data): Likewise.
5909 (expm1_test_downward): Likewise.
5910 (expm1_upward_test_data): Likewise.
5911 (expm1_test_upward): Likewise.
5912 (fma_test_data): Update call to AUTO_TESTS_fff_f.
5913 (fma_test): Use ALL_RM_TEST.
5914 (fma_towardzero_test_data): Remove.
5915 (fma_test_towardzero): Likewise.
5916 (fma_downward_test_data): Likewise.
5917 (fma_test_downward): Likewise.
5918 (fma_upward_test_data): Likewise.
5919 (fma_test_upward): Likewise.
5920 (hypot_test_data): Update call to AUTO_TESTS_ff_f.
5921 (j0_test_data): Update call to AUTO_TESTS_f_f.
5922 (j1_test_data): Likewise.
5923 (jn_test_data): Update call to AUTO_TESTS_if_f.
5924 (lgamma_test_data): Update call to AUTO_TESTS_f_f1.
5925 (log_test_data): Update call to AUTO_TESTS_f_f.
5926 (log10_test_data): Likewise.
5927 (log1p_test_data): Likewise.
5928 (log2_test_data): Likewise.
5929 (pow_test_data): Update call to AUTO_TESTS_ff_f.
5930 (pow_tonearest_test_data): Likewise.
5931 (sin_test_data): Update call to AUTO_TESTS_f_f.
5932 (sin_test): Use ALL_RM_TEST.
5933 (sin_tonearest_test_data): Remove.
5934 (sin_test_tonearest): Likewise.
5935 (sin_towardzero_test_data): Likewise.
5936 (sin_test_towardzero): Likewise.
5937 (sin_downward_test_data): Likewise.
5938 (sin_test_downward): Likewise.
5939 (sin_upward_test_data): Likewise.
5940 (sin_test_upward): Likewise.
5941 (sincos_test_data): Update call to AUTO_TESTS_fFF_11.
5942 (sinh_test_data): Update call to AUTO_TESTS_f_f.
5943 (sinh_test): Use ALL_RM_TEST.
5944 (sinh_tonearest_test_data): Remove.
5945 (sinh_test_tonearest): Likewise.
5946 (sinh_towardzero_test_data): Likewise.
5947 (sinh_test_towardzero): Likewise.
5948 (sinh_downward_test_data): Likewise.
5949 (sinh_test_downward): Likewise.
5950 (sinh_upward_test_data): Likewise.
5951 (sinh_test_upward): Likewise.
5952 (sqrt_test_data): Update call to AUTO_TESTS_f_f.
5953 (sqrt_test): Use ALL_RM_TEST.
5954 (sqrt_tonearest_test_data): Remove.
5955 (sqrt_test_tonearest): Likewise.
5956 (sqrt_towardzero_test_data): Likewise.
5957 (sqrt_test_towardzero): Likewise.
5958 (sqrt_downward_test_data): Likewise.
5959 (sqrt_test_downward): Likewise.
5960 (sqrt_upward_test_data): Likewise.
5961 (sqrt_test_upward): Likewise.
5962 (tan_test_data): Update call to AUTO_TESTS_f_f.
5963 (tan_test): Use ALL_RM_TEST.
5964 (tan_tonearest_test_data): Remove.
5965 (tan_test_tonearest): Likewise.
5966 (tan_towardzero_test_data): Likewise.
5967 (tan_test_towardzero): Likewise.
5968 (tan_downward_test_data): Likewise.
5969 (tan_test_downward): Likewise.
5970 (tan_upward_test_data): Likewise.
5971 (tan_test_upward): Likewise.
5972 (tanh_test_data): Update call to AUTO_TESTS_f_f.
5973 (tgamma_test_data): Likewise.
5974 (y0_test_data): Likewise.
5975 (y1_test_data): Likewise.
5976 (yn_test_data): Update call to AUTO_TESTS_if_f.
5977 (main): Do not call removed functions.
5979 2014-03-19 Joseph Myers <joseph@codesourcery.com>
5981 * math/libm-test.inc (fdim_test): Use ALL_RM_TEST.
5982 (ldexp_test_data): Remove.
5983 (ldexp_test): Move to after scalbn_test. Use ALL_RM_TEST with
5985 (scalb_test): Use ALL_RM_TEST.
5987 2014-03-19 Andreas Schwab <schwab@suse.de>
5989 * nscd/nscd.service: Also invalidate netgroup cache on reload.
5991 2014-03-19 Joseph Myers <joseph@codesourcery.com>
5994 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
5995 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PREADV): Undefine.
5996 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PWRITEV): Likewise.
5997 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
5998 (__ASSUME_PREADV): Undefine.
5999 (__ASSUME_PWRITEV): Likewise.
6001 2014-03-18 Roland McGrath <roland@hack.frob.com>
6003 * bits/mman-linux.h: Add comment about non-Linux use.
6004 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add comment about
6005 bits/mman-linux.h resting place.
6007 * sysdeps/unix/sysv/linux/bits/mman-linux.h: Moved to ...
6008 * bits/mman-linux.h: ... here.
6010 2014-03-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6012 * conform/conformtest.pl: Add standard definition when calling C
6013 preprocessor on data files.
6014 (checknamespace): Remove unused variable.
6016 2014-03-18 Joseph Myers <joseph@codesourcery.com>
6018 * math/gen-libm-test.pl (parse_args): Handle plus_oflow,
6019 minus_oflow, plus_uflow and minus_uflow in expected results.
6020 * math/libm-test.inc (scalbn_test_data): Add more tests of
6021 negative arguments. Use plus_oflow, minus_oflow, plus_uflow and
6023 (scalbn_test): Use ALL_RM_TEST.
6024 (scalbln_test_data): Add more tests of negative arguments. Use
6025 plus_oflow, minus_oflow, plus_uflow and minus_uflow.
6026 (scalbln_test): Use ALL_RM_TEST.
6028 2014-03-18 Roland McGrath <roland@hack.frob.com>
6030 * scripts/abilist.awk: Ignore symbols marked with .hidden.
6032 2014-03-18 Will Newton <will.newton@linaro.org>
6034 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Remove
6037 2014-03-18 Joseph Myers <joseph@codesourcery.com>
6039 * Makerules [!subdir] (check-abi): Exit with error status if a
6042 2014-03-17 Joseph Myers <joseph@codesourcery.com>
6044 * math/libm-test.inc (nearbyint_test_data): Include all tests used
6045 for rint. Include results for all rounding modes.
6046 (nearbyint_test): Use ALL_RM_TEST.
6047 (rint_test_data): Include all tests used for nearbyint.
6049 2014-03-17 Will Newton <will.newton@linaro.org>
6051 * nptl/sysdeps/pthread/pthread.h: Revert previous
6054 * sysdeps/generic/ldsodefs.h: Revert previous
6057 * libio/genops.c: Revert previous change.
6058 * libio/libioP.h: Likewise.
6059 * stdio-common/vfprintf.c: Likewise.
6061 * sysdeps/generic/math_private.h: Revert previous
6064 * sysdeps/generic/math_private.h: Check whether
6065 HAVE_RM_CTX is defined with #ifdef rather
6068 * argp/argp-fmtstream.h: Check whether
6069 __STRICT_ANSI__ is defined with #ifdef rather
6071 * argp/argp.h: Likewise.
6073 * libio/genops.c: Check whether
6074 _IO_JUMPS_OFFSET is defined with #ifdef rather
6076 * libio/libioP.h: Likewise.
6077 * stdio-common/vfprintf.c: Likewise.
6079 * sysdeps/generic/ldsodefs.h: Check whether
6080 HP_SMALL_TIMING_AVAIL is defined with #ifdef rather
6083 * nptl/sysdeps/pthread/pthread.h: Check
6084 __PTHREAD_MUTEX_HAVE_ELISION is defined before testing
6087 2014-03-17 Siddhesh Poyarekar <siddhesh@redhat.com>
6089 * libio/iofdopen.c (_IO_new_fdopen): Seek to end only if
6091 * libio/tst-ftell-active-handler.c (do_append_test): Add a
6095 * libio/fileops.c (_IO_file_open): Seek to end of file but
6096 don't cache the offset.
6097 (get_file_offset): Remove function.
6098 (do_ftell): Use cached offset when available.
6099 * libio/iofdopen.c (_IO_new_fdopen): Seek to end of file but
6100 don't cache the offset.
6101 * libio/tst-ftell-active-handler.c (do_rewind_test): New test
6103 (do_one_test): Call it.
6104 (do_ftell_test): Fix up expected old offset for a+ mode.
6105 * libio/wfileops.c (do_ftell_wide): Used cached offset when
6108 * libio/tst-ftell-active-handler.c (do_ftell_test): Don't mix
6109 up test status with function return status.
6110 (do_write_test): Likewise.
6111 (do_append_test): Likewise.
6113 * nptl/sysdeps/pthread/bits/libc-lockP.h [defined NOT_IN_libc
6114 && !defined IS_IN_libpthread && __LT_SPINNOCK_INIT != 0]:
6117 2014-03-17 Joseph Myers <joseph@codesourcery.com>
6119 * math/gen-libm-test.pl (parse_args): Handle results specified for
6120 each rounding mode separately.
6121 * math/libm-test.inc (lrint_test_data): Merge in per-rounding-mode
6122 tests and results from lrint_tonearest_test_data,
6123 lrint_towardzero_test_data, lrint_downward_test_data and
6124 lrint_upward_test_data.
6125 (lrint_test): Use ALL_RM_TEST.
6126 (lrint_tonearest_test_data): Remove.
6127 (lrint_test_tonearest): Likewise.
6128 (lrint_towardzero_test_data): Likewise.
6129 (lrint_test_towardzero): Likewise.
6130 (lrint_downward_test_data): Likewise.
6131 (lrint_test_downward): Likewise.
6132 (lrint_upward_test_data): Likewise.
6133 (lrint_test_upward): Likewise.
6134 (llrint_test_data): Merge in per-rounding-mode tests and results
6135 from llrint_tonearest_test_data, llrint_towardzero_test_data,
6136 llrint_downward_test_data and llrint_upward_test_data.
6137 (llrint_test): Use ALL_RM_TEST.
6138 (llrint_tonearest_test_data): Remove.
6139 (llrint_test_tonearest): Likewise.
6140 (llrint_towardzero_test_data): Likewise.
6141 (llrint_test_towardzero): Likewise.
6142 (llrint_downward_test_data): Likewise.
6143 (llrint_test_downward): Likewise.
6144 (llrint_upward_test_data): Likewise.
6145 (llrint_test_upward): Likewise.
6146 (rint_test_data): Merge in per-rounding-mode tests and results
6147 from rint_tonearest_test_data, rint_towardzero_test_data,
6148 rint_downward_test_data and rint_upward_test_data. Add
6149 per-rounding-mode results for tests not in those arrays.
6150 (rint_test): Use ALL_RM_TEST.
6151 (rint_tonearest_test_data): Remove.
6152 (rint_test_tonearest): Likewise.
6153 (rint_towardzero_test_data): Likewise.
6154 (rint_test_towardzero): Likewise.
6155 (rint_downward_test_data): Likewise.
6156 (rint_test_downward): Likewise.
6157 (rint_upward_test_data): Likewise.
6158 (rint_test_upward): Likewise.
6159 (main): Don't call removed functions.
6161 2014-03-14 Roland McGrath <roland@hack.frob.com>
6163 * csu/Makefile ($(objpfx)version-info.h): Remove linux-specific
6164 "Compiled on ..." crapola. It is anti-useful.
6166 2014-03-14 Joseph Myers <joseph@codesourcery.com>
6168 * scripts/evaluate-test.sh: Handle fourth argument to determine
6169 whether test run should stop on failure.
6170 * Makeconfig (stop-on-test-failure): New variable.
6171 (evaluate-test): Pass fourth argument to evaluate-test.sh based on
6172 $(stop-on-test-failure).
6173 * Makefile (tests): Give a summary of results from testing and
6174 exit with failure status if they include an ERROR or FAIL.
6176 * manual/install.texi (Configuring and compiling): Mention
6177 stop-on-test-failure=y.
6178 * INSTALL: Regenerated.
6180 2014-03-14 Roland McGrath <roland@hack.frob.com>
6182 * scripts/versionlist.awk: New file.
6183 * Makerules [$(build-shared) = yes]
6184 (postclean-generated): Add Versions.def, not Versions.def.v and
6186 ($(common-objpfx)Versions.def.v.i): Target removed.
6187 ($(common-objpfx)Versions.def): New target.
6188 ($(common-objpfx)Versions.all): Depend on that rather that
6189 $(common-objpfx)Versions.def.v.
6190 * Versions.def: File removed.
6192 * Makeconfig (+gccwarn): Add -Wundef.
6193 * include/errno.h [IS_IN_rtld] [!RTLD_PRIVATE_ERRNO]: #error to catch
6194 a dl-sysdep.h breaking its contract.
6195 [!IS_IN_rtld] (RTLD_PRIVATE_ERRNO): Define it to 0.
6196 * include/stackinfo.h: New file.
6197 * nptl/sysdeps/i386/tls.h (TLS_DTV_AT_TP): New macro.
6198 * nptl/sysdeps/powerpc/tls.h (TLS_TCB_AT_TP): New macro.
6199 * nptl/sysdeps/s390/tls.h (TLS_DTV_AT_TP): New macro.
6200 * nptl/sysdeps/sh/tls.h (TLS_TCB_AT_TP): New macro.
6201 * nptl/sysdeps/sparc/tls.h (TLS_DTV_AT_TP): New macro.
6202 * nptl/sysdeps/x86_64/tls.h (TLS_DTV_AT_TP): New macro.
6203 * sysdeps/aarch64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
6204 * sysdeps/alpha/nptl/tls.h (TLS_TCB_AT_TP): New macro.
6205 * sysdeps/arm/nptl/tls.h (TLS_TCB_AT_TP): New macro.
6206 * sysdeps/ia64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
6207 * sysdeps/m68k/nptl/tls.h (TLS_TCB_AT_TP): New macro.
6208 * sysdeps/mach/hurd/i386/tls.h (TLS_DTV_AT_TP): New macro.
6209 * sysdeps/microblaze/nptl/tls.h (TLS_TCB_AT_TP): New macro.
6210 * sysdeps/mips/nptl/tls.h (TLS_TCB_AT_TP): New macro.
6211 * sysdeps/tile/nptl/tls.h (TLS_TCB_AT_TP): New macro.
6213 2014-03-14 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6216 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Remove wrong
6218 * math/libm-test.inc (round_test_data): Add more tests.
6221 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Remove wrong
6223 * math/libm-test.inc (nearbyint_test_data): Add more tests.
6226 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Remove wrong
6228 * math/libm-test.inc (ceil_test_data): Add more tests.
6230 * math/libm-test.inc (trunc_test_data): Add more tests related to
6233 2014-03-14 Roland McGrath <roland@hack.frob.com>
6235 * nptl/pthread_create.c (__pthread_create_2_1): Test TLS_TCB_AT_TP
6236 with #if rather than #ifdef.
6237 * nptl/sysdeps/pthread/createthread.c (create_thread): Likewise.
6239 2014-03-14 H.J. Lu <hongjiu.lu@intel.com>
6241 * sysdeps/x86_64/configure.ac: Check AVX-512 assembler support
6242 first. Disable AVX-512 GCC support if assembler doesn't support
6244 * sysdeps/x86_64/configure: Regenerated.
6246 2014-03-13 Carlos O'Donell <carlos@redhat.com>
6248 * nptl/pthread_attr_setstack.c (__pthread_attr_setstack)
6249 [!_STACK_GROWS_DOWN]: Don't add stacksize to stackaddr.
6250 (__old_pthread_attr_setstack): Likewise.
6251 * nptl/pthread_attr_getstack.c (__pthread_attr_getstack)
6252 [!_STACK_GROWS_DOWN]: Likewise.
6254 2014-03-13 Mike Frysinger <vapier@gentoo.org>
6256 * config.make.in (have-bash2): Delete.
6257 * configure.ac (libc_cv_have_bash2): Delete.
6258 * configure: Regenerate.
6259 * elf/Makefile (common-ldd-rewrite): Rename to ...
6260 (ldd-rewrite): ... this. Move bash-ldd-rewrite content to end.
6261 (sh-ldd-rewrite): Delete.
6262 (bash-ldd-rewrite): Delete.
6263 (have-bash2): Delete checks.
6264 [ldd-rewrite-script]: Change $(ldd-shell)-ldd-rewrite to
6267 * config.make.in (have-ksh): Delete.
6269 * configure.ac (libc_cv_have_ksh): Delete.
6270 * configure: Regenerate.
6272 * elf/Makefile: Delete $(have-ksh) check.
6273 ($(objpfx)sotruss): Change KSH to BASH.
6274 * elf/sotruss.ksh: Rename to ...
6275 * elf/sotruss.sh: ... this. Change @KSH@ to @BASH@. Change
6276 function style to match POSIX. Drop ksh vim mode setting.
6278 * manual/time.texi (Specifying the Time Zone with TZ): Change
6279 Tuesday to Thursday.
6281 * debug/tst-longjmp_chk2.c: Update header comment.
6282 (stackoverflow_handler): Add comment. Call assert on pass value.
6284 2014-03-13 Igor Zamyatin <igor.zamyatin@intel.com>
6286 * config.h.in (HAVE_AVX512_SUPPORT): New #undef.
6287 (HAVE_AVX512_ASM_SUPPORT): Likewise.
6288 * sysdeps/x86_64/bits/link.h (La_x86_64_zmm): New.
6289 (La_x86_64_vector): Add zmm.
6290 * sysdeps/x86_64/Makefile (tests): Add tst-audit10.
6291 (modules-names): Add tst-auditmod10a and tst-auditmod10b.
6292 ($(objpfx)tst-audit10): New target.
6293 ($(objpfx)tst-audit10.out): Likewise.
6294 (tst-audit10-ENV): New.
6295 (AVX512-CFLAGS): Likewise.
6296 (CFLAGS-tst-audit10.c): Likewise.
6297 (CFLAGS-tst-auditmod10a.c): Likewise.
6298 (CFLAGS-tst-auditmod10b.c): Likewise.
6299 * sysdeps/x86_64/configure.ac: Set config-cflags-avx512,
6300 HAVE_AVX512_SUPPORT and HAVE_AVX512_ASM_SUPPORT.
6301 * sysdeps/x86_64/configure: Regenerated.
6302 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Add
6303 AVX-512 zmm register support.
6304 (_dl_x86_64_save_sse): Likewise.
6305 (_dl_x86_64_restore_sse): Likewise.
6306 * sysdeps/x86_64/dl-trampoline.h: Updated to support different
6307 size vector registers.
6308 * sysdeps/x86_64/link-defines.sym (YMM_SIZE): New.
6309 (ZMM_SIZE): Likewise.
6310 * sysdeps/x86_64/tst-audit10.c: New file.
6311 * sysdeps/x86_64/tst-auditmod10a.c: Likewise.
6312 * sysdeps/x86_64/tst-auditmod10b.c: Likewise.
6314 2014-03-13 Roland McGrath <roland@hack.frob.com>
6316 * configure.ac (HAVE_EHDR_START): New check.
6317 * configure: Regenerated.
6318 * config.h.in (HAVE_EHDR_START): New #undef.
6319 * elf/rtld.c (dl_main) [HAVE_EHDR_START]: Use __ehdr_start rather than
6320 assuming the lowest-addressed segment maps the start of the file.
6322 2014-03-13 Joseph Myers <joseph@codesourcery.com>
6324 * INSTALL: Regenerated.
6326 2014-03-13 Will Newton <will.newton@linaro.org>
6328 * manual/setjmp.texi (System V contexts): Improve
6329 clarity and grammar of documentation.
6331 2014-03-12 Paul Pluzhnikov <ppluzhnikov@google.com>
6334 * elf/Makefile (tests): Add tst-pie2.
6335 (tests-pie): Add tst-pie2.
6336 * elf/tst-pie2.c: New file.
6337 * elf/dl-load.c (_dl_map_object_from_fd): Assert correct l_type
6339 * elf/rtld.c (map_doit): Load executable as lt_executable.
6340 (dl_main): Likewise.
6342 2014-03-12 Joseph Myers <joseph@codesourcery.com>
6345 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
6346 (__ASSUME_PSELECT): Undefine.
6348 2014-03-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6351 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S
6352 (__bzero_ppc): Call memset@local instead of __memset_ppc@local for
6354 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Build IFUNC
6355 selector for static builds.
6357 2014-03-12 Siddhesh Poyarekar <siddhesh@redhat.com>
6360 * nscd/netgroupcache.c (addgetnetgrentX): Factor in space for
6363 2014-03-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6365 * sysdeps/powerpc/powerpc64/multiarch/strspn.c (strspn): Build
6366 IFUNC selector for static builds.
6368 2014-03-11 Joseph Myers <joseph@codesourcery.com>
6370 * sysdeps/mips/math_private.h [__mips_hard_float]
6371 (libc_feresetround_ctx): Define to libc_feupdateenv_mips_ctx not
6372 libc_feresetround_mips_ctx.
6373 [__mips_hard_float] (libc_feresetroundf_ctx): Likewise.
6374 [__mips_hard_float] (libc_feresetroundl_ctx): Likewise.
6375 [__mips_hard_float] (libc_feresetround_mips_ctx): Remove.
6378 * math/s_nextafter.c (__nextafter): Do not return value from
6379 overflowing computation.
6380 * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
6381 * sysdeps/ieee754/flt-32/s_nextafterf.c (__nextafterf): Likewise.
6382 * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
6384 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
6386 * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
6387 * math/libm-test.inc (nextafter_test): Use ALL_RM_TEST.
6389 2014-03-11 Roland McGrath <roland@hack.frob.com>
6391 * sysdeps/arm/setjmp.S: Use sfi_breg on stores of mangled registers.
6392 * sysdeps/arm/__longjmp.S: Use sfi_breg on loads of mangled registers.
6393 Move sfi_sp use from the load-multiple (that no longer sets sp) to
6394 the new mov targetting sp.
6396 2014-03-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6399 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S (__bzero_ppc):
6400 Define it for static builds as well.
6401 (NO_BZERO_IMPL): Likewise.
6403 2014-03-11 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
6405 * sysdeps/powerpc/powerpc64/power7/strspn.S: New file: Optimization.
6406 * sysdeps/powerpc/powerpc64/multiarch/strspn.c: New file:
6407 multiarch strspn for PPC64.
6408 * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: New file
6409 * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: New file
6410 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
6411 (__libc_ifunc_impl_list): Likewise.
6412 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strspn
6413 multiarch optimizations
6414 * string/strspn.c (strspn): Using macro to redefine symbol name.
6416 2014-03-10 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
6417 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6419 * sysdeps/powerpc/powerpc64/power7/strncat.S: New file: Optimization.
6420 * sysdeps/powerpc/powerpc64/multiarch/strncat.c: New file:
6421 multiarch strncat for PPC64.
6422 * sysdeps/powerpc/powerpc64/multiarch/strncat-ppc64.c: New file
6423 * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: New file
6424 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
6425 (__libc_ifunc_impl_list): Likewise.
6426 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncat
6427 multiarch optimizations
6429 2014-03-10 Siddhesh Poyarekar <siddhesh@redhat.com>
6432 * nscd/nscd.service: Make service type forking.
6434 2014-03-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6436 * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Fix to return correct
6437 sign in non default rounding modes.
6438 * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
6440 2014-03-08 Joseph Myers <joseph@codesourcery.com>
6442 * math/libm-test.inc (ALL_RM_TEST): New macro.
6443 (ceil_test): Use ALL_RM_TEST.
6444 (cimag_test): Likewise.
6445 (conj_test): Likewise.
6446 (copysign_test): Likewise.
6447 (cproj_test): Likewise.
6448 (creal_test): Likewise.
6449 (fabs_test): Likewise.
6450 (floor_test): Likewise.
6451 (fmax_test): Likewise.
6452 (fmin_test): Likewise.
6453 (fmod_test): Likewise.
6454 (fpclassify_test): Likewise.
6455 (frexp_test): Likewise.
6456 (ilogb_test): Likewise.
6457 (isfinite_test): Likewise.
6458 (finite_test): Likewise.
6459 (isgreater_test): Likewise.
6460 (isgreaterequal_test): Likewise.
6461 (isinf_test): Likewise.
6462 (isless_test): Likewise.
6463 (islessequal_test): Likewise.
6464 (islessgreater_test): Likewise.
6465 (isnan_test): Likewise.
6466 (isnormal_test): Likewise.
6467 (issignaling_test): Likewise.
6468 (isunordered_test): Likewise.
6469 (logb_test): Likewise.
6470 (logb_downward_test_data): Remove.
6471 (logb_test_downward): Likewise.
6472 (lround_test): Use ALL_RM_TEST.
6473 (llround_test): Likewise.
6474 (modf_test): Likewise.
6475 (nexttoward_test): Likewise.
6476 (remainder_test): Likewise.
6477 (drem_test): Likewise.
6478 (remainder_tonearest_test_data): Likewise.
6479 (remainder_test_tonearest): Likewise.
6480 (drem_test_tonearest): Likewise.
6481 (remainder_towardzero_test_data): Likewise.
6482 (remainder_test_towardzero): Likewise.
6483 (drem_test_towardzero): Likewise.
6484 (remainder_downward_test_data): Likewise.
6485 (remainder_test_downward): Likewise.
6486 (drem_test_downward): Likewise.
6487 (remainder_upward_test_data): Likewise.
6488 (remainder_test_upward): Likewise.
6489 (drem_test_upward): Likewise.
6490 (remquo_test): Use ALL_RM_TEST. Remove comment about x.
6491 (round_test): Use ALL_RM_TEST.
6492 (signbit_test): Likewise.
6493 (trunc_test): Likewise.
6494 (significand_test): Likewise.
6495 (main): Don't call removed functions.
6497 2014-03-07 Joseph Myers <joseph@codesourcery.com>
6500 * bits/siginfo.h (ILL_ILLOPC): Condition on [__USE_XOPEN_EXTENDED
6502 (ILL_ILLOPN): Likewise.
6503 (ILL_ILLADR): Likewise.
6504 (ILL_ILLTRP): Likewise.
6505 (ILL_PRVOPC): Likewise.
6506 (ILL_PRVREG): Likewise.
6507 (ILL_COPROC): Likewise.
6508 (ILL_BADSTK): Likewise.
6509 (FPE_INTDIV): Likewise.
6510 (FPE_INTOVF): Likewise.
6511 (FPE_FLTDIV): Likewise.
6512 (FPE_FLTOVF): Likewise.
6513 (FPE_FLTUND): Likewise.
6514 (FPE_FLTRES): Likewise.
6515 (FPE_FLTINV): Likewise.
6516 (FPE_FLTSUB): Likewise.
6517 (SEGV_MAPERR): Likewise.
6518 (SEGV_ACCERR): Likewise.
6519 (BUS_ADRALN): Likewise.
6520 (BUS_ADRERR): Likewise.
6521 (BUS_OBJERR): Likewise.
6522 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
6523 (TRAP_TRACE): Likewise.
6524 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
6526 (CLD_KILLED): Likewise.
6527 (CLD_DUMPED): Likewise.
6528 (CLD_TRAPPED): Likewise.
6529 (CLD_STOPPED): Likewise.
6530 (CLD_CONTINUED): Likewise.
6531 (POLL_IN): Likewise.
6532 (POLL_OUT): Likewise.
6533 (POLL_MSG): Likewise.
6534 (POLL_ERR): Likewise.
6535 (POLL_PRI): Likewise.
6536 (POLL_HUP): Likewise.
6537 * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h (ILL_ILLOPC):
6539 (ILL_ILLOPN): Likewise.
6540 (ILL_ILLADR): Likewise.
6541 (ILL_ILLTRP): Likewise.
6542 (ILL_PRVOPC): Likewise.
6543 (ILL_PRVREG): Likewise.
6544 (ILL_COPROC): Likewise.
6545 (ILL_BADSTK): Likewise.
6546 (FPE_INTDIV): Likewise.
6547 (FPE_INTOVF): Likewise.
6548 (FPE_FLTDIV): Likewise.
6549 (FPE_FLTOVF): Likewise.
6550 (FPE_FLTUND): Likewise.
6551 (FPE_FLTRES): Likewise.
6552 (FPE_FLTINV): Likewise.
6553 (FPE_FLTSUB): Likewise.
6554 (SEGV_MAPERR): Likewise.
6555 (SEGV_ACCERR): Likewise.
6556 (BUS_ADRALN): Likewise.
6557 (BUS_ADRERR): Likewise.
6558 (BUS_OBJERR): Likewise.
6559 (BUS_MCEERR_AR): Likewise.
6560 (BUS_MCEERR_AO): Likewise.
6561 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
6562 (TRAP_TRACE): Likewise.
6563 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
6565 (CLD_KILLED): Likewise.
6566 (CLD_DUMPED): Likewise.
6567 (CLD_TRAPPED): Likewise.
6568 (CLD_STOPPED): Likewise.
6569 (CLD_CONTINUED): Likewise.
6570 (POLL_IN): Likewise.
6571 (POLL_OUT): Likewise.
6572 (POLL_MSG): Likewise.
6573 (POLL_ERR): Likewise.
6574 (POLL_PRI): Likewise.
6575 (POLL_HUP): Likewise.
6576 * sysdeps/unix/sysv/linux/bits/siginfo.h (ILL_ILLOPC): Likewise.
6577 (ILL_ILLOPN): Likewise.
6578 (ILL_ILLADR): Likewise.
6579 (ILL_ILLTRP): Likewise.
6580 (ILL_PRVOPC): Likewise.
6581 (ILL_PRVREG): Likewise.
6582 (ILL_COPROC): Likewise.
6583 (ILL_BADSTK): Likewise.
6584 (FPE_INTDIV): Likewise.
6585 (FPE_INTOVF): Likewise.
6586 (FPE_FLTDIV): Likewise.
6587 (FPE_FLTOVF): Likewise.
6588 (FPE_FLTUND): Likewise.
6589 (FPE_FLTRES): Likewise.
6590 (FPE_FLTINV): Likewise.
6591 (FPE_FLTSUB): Likewise.
6592 (SEGV_MAPERR): Likewise.
6593 (SEGV_ACCERR): Likewise.
6594 (BUS_ADRALN): Likewise.
6595 (BUS_ADRERR): Likewise.
6596 (BUS_OBJERR): Likewise.
6597 (BUS_MCEERR_AR): Likewise.
6598 (BUS_MCEERR_AO): Likewise.
6599 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
6600 (TRAP_TRACE): Likewise.
6601 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
6603 (CLD_KILLED): Likewise.
6604 (CLD_DUMPED): Likewise.
6605 (CLD_TRAPPED): Likewise.
6606 (CLD_STOPPED): Likewise.
6607 (CLD_CONTINUED): Likewise.
6608 (POLL_IN): Likewise.
6609 (POLL_OUT): Likewise.
6610 (POLL_MSG): Likewise.
6611 (POLL_ERR): Likewise.
6612 (POLL_PRI): Likewise.
6613 (POLL_HUP): Likewise.
6614 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (ILL_ILLOPC):
6616 (ILL_ILLOPN): Likewise.
6617 (ILL_ILLADR): Likewise.
6618 (ILL_ILLTRP): Likewise.
6619 (ILL_PRVOPC): Likewise.
6620 (ILL_PRVREG): Likewise.
6621 (ILL_COPROC): Likewise.
6622 (ILL_BADSTK): Likewise.
6623 (ILL_BADIADDR): Likewise.
6624 (ILL_BREAK): Likewise.
6625 (FPE_INTDIV): Likewise.
6626 (FPE_INTOVF): Likewise.
6627 (FPE_FLTDIV): Likewise.
6628 (FPE_FLTOVF): Likewise.
6629 (FPE_FLTUND): Likewise.
6630 (FPE_FLTRES): Likewise.
6631 (FPE_FLTINV): Likewise.
6632 (FPE_FLTSUB): Likewise.
6633 (FPE_DECOVF): Likewise.
6634 (FPE_DECDIV): Likewise.
6635 (FPE_DECERR): Likewise.
6636 (FPE_INVASC): Likewise.
6637 (FPE_INVDEC): Likewise.
6638 (SEGV_MAPERR): Likewise.
6639 (SEGV_ACCERR): Likewise.
6640 (SEGV_PSTKOVF): Likewise.
6641 (BUS_ADRALN): Likewise.
6642 (BUS_ADRERR): Likewise.
6643 (BUS_OBJERR): Likewise.
6644 (BUS_MCEERR_AR): Likewise.
6645 (BUS_MCEERR_AO): Likewise.
6646 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
6647 (TRAP_TRACE): Likewise.
6648 (TRAP_BRANCH): Likewise.
6649 (TRAP_HWBKPT): Likewise.
6650 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
6652 (CLD_KILLED): Likewise.
6653 (CLD_DUMPED): Likewise.
6654 (CLD_TRAPPED): Likewise.
6655 (CLD_STOPPED): Likewise.
6656 (CLD_CONTINUED): Likewise.
6657 (POLL_IN): Likewise.
6658 (POLL_OUT): Likewise.
6659 (POLL_MSG): Likewise.
6660 (POLL_ERR): Likewise.
6661 (POLL_PRI): Likewise.
6662 (POLL_HUP): Likewise.
6663 * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (ILL_ILLOPC): Likewise.
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 (FPE_INTDIV): Likewise.
6672 (FPE_INTOVF): Likewise.
6673 (FPE_FLTDIV): Likewise.
6674 (FPE_FLTOVF): Likewise.
6675 (FPE_FLTUND): Likewise.
6676 (FPE_FLTRES): Likewise.
6677 (FPE_FLTINV): Likewise.
6678 (FPE_FLTSUB): Likewise.
6679 (SEGV_MAPERR): Likewise.
6680 (SEGV_ACCERR): Likewise.
6681 (BUS_ADRALN): Likewise.
6682 (BUS_ADRERR): Likewise.
6683 (BUS_OBJERR): Likewise.
6684 (BUS_MCEERR_AR): Likewise.
6685 (BUS_MCEERR_AO): Likewise.
6686 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
6687 (TRAP_TRACE): Likewise.
6688 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
6690 (CLD_KILLED): Likewise.
6691 (CLD_DUMPED): Likewise.
6692 (CLD_TRAPPED): Likewise.
6693 (CLD_STOPPED): Likewise.
6694 (CLD_CONTINUED): Likewise.
6695 (POLL_IN): Likewise.
6696 (POLL_OUT): Likewise.
6697 (POLL_MSG): Likewise.
6698 (POLL_ERR): Likewise.
6699 (POLL_PRI): Likewise.
6700 (POLL_HUP): Likewise.
6701 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (ILL_ILLOPC): Likewise.
6702 (ILL_ILLOPN): Likewise.
6703 (ILL_ILLADR): Likewise.
6704 (ILL_ILLTRP): Likewise.
6705 (ILL_PRVOPC): Likewise.
6706 (ILL_PRVREG): Likewise.
6707 (ILL_COPROC): Likewise.
6708 (ILL_BADSTK): Likewise.
6709 (FPE_INTDIV): Likewise.
6710 (FPE_INTOVF): Likewise.
6711 (FPE_FLTDIV): Likewise.
6712 (FPE_FLTOVF): Likewise.
6713 (FPE_FLTUND): Likewise.
6714 (FPE_FLTRES): Likewise.
6715 (FPE_FLTINV): Likewise.
6716 (FPE_FLTSUB): Likewise.
6717 (SEGV_MAPERR): Likewise.
6718 (SEGV_ACCERR): Likewise.
6719 (BUS_ADRALN): Likewise.
6720 (BUS_ADRERR): Likewise.
6721 (BUS_OBJERR): Likewise.
6722 (BUS_MCEERR_AR): Likewise.
6723 (BUS_MCEERR_AO): Likewise.
6724 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
6725 (TRAP_TRACE): Likewise.
6726 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
6728 (CLD_KILLED): Likewise.
6729 (CLD_DUMPED): Likewise.
6730 (CLD_TRAPPED): Likewise.
6731 (CLD_STOPPED): Likewise.
6732 (CLD_CONTINUED): Likewise.
6733 (POLL_IN): Likewise.
6734 (POLL_OUT): Likewise.
6735 (POLL_MSG): Likewise.
6736 (POLL_ERR): Likewise.
6737 (POLL_PRI): Likewise.
6738 (POLL_HUP): Likewise.
6739 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (ILL_ILLOPC): Likewise.
6740 (ILL_ILLOPN): Likewise.
6741 (ILL_ILLADR): Likewise.
6742 (ILL_ILLTRP): Likewise.
6743 (ILL_PRVOPC): Likewise.
6744 (ILL_PRVREG): Likewise.
6745 (ILL_COPROC): Likewise.
6746 (ILL_BADSTK): Likewise.
6747 (FPE_INTDIV): Likewise.
6748 (FPE_INTOVF): Likewise.
6749 (FPE_FLTDIV): Likewise.
6750 (FPE_FLTOVF): Likewise.
6751 (FPE_FLTUND): Likewise.
6752 (FPE_FLTRES): Likewise.
6753 (FPE_FLTINV): Likewise.
6754 (FPE_FLTSUB): Likewise.
6755 (SEGV_MAPERR): Likewise.
6756 (SEGV_ACCERR): Likewise.
6757 (BUS_ADRALN): Likewise.
6758 (BUS_ADRERR): Likewise.
6759 (BUS_OBJERR): Likewise.
6760 (BUS_MCEERR_AR): Likewise.
6761 (BUS_MCEERR_AO): Likewise.
6762 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
6763 (TRAP_TRACE): Likewise.
6764 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
6766 (CLD_KILLED): Likewise.
6767 (CLD_DUMPED): Likewise.
6768 (CLD_TRAPPED): Likewise.
6769 (CLD_STOPPED): Likewise.
6770 (CLD_CONTINUED): Likewise.
6771 (POLL_IN): Likewise.
6772 (POLL_OUT): Likewise.
6773 (POLL_MSG): Likewise.
6774 (POLL_ERR): Likewise.
6775 (POLL_PRI): Likewise.
6776 (POLL_HUP): Likewise.
6777 * sysdeps/unix/sysv/linux/tile/bits/siginfo.h (ILL_ILLOPC): Likewise.
6778 (ILL_ILLOPN): Likewise.
6779 (ILL_ILLADR): Likewise.
6780 (ILL_ILLTRP): Likewise.
6781 (ILL_PRVOPC): Likewise.
6782 (ILL_PRVREG): Likewise.
6783 (ILL_COPROC): Likewise.
6784 (ILL_BADSTK): Likewise.
6785 (ILL_DBLFLT): Likewise.
6786 (ILL_HARDWALL): Likewise.
6787 (FPE_INTDIV): Likewise.
6788 (FPE_INTOVF): Likewise.
6789 (FPE_FLTDIV): Likewise.
6790 (FPE_FLTOVF): Likewise.
6791 (FPE_FLTUND): Likewise.
6792 (FPE_FLTRES): Likewise.
6793 (FPE_FLTINV): Likewise.
6794 (FPE_FLTSUB): Likewise.
6795 (SEGV_MAPERR): Likewise.
6796 (SEGV_ACCERR): Likewise.
6797 (BUS_ADRALN): Likewise.
6798 (BUS_ADRERR): Likewise.
6799 (BUS_OBJERR): Likewise.
6800 (BUS_MCEERR_AR): Likewise.
6801 (BUS_MCEERR_AO): Likewise.
6802 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
6803 (TRAP_TRACE): Likewise.
6804 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
6806 (CLD_KILLED): Likewise.
6807 (CLD_DUMPED): Likewise.
6808 (CLD_TRAPPED): Likewise.
6809 (CLD_STOPPED): Likewise.
6810 (CLD_CONTINUED): Likewise.
6811 (POLL_IN): Likewise.
6812 (POLL_OUT): Likewise.
6813 (POLL_MSG): Likewise.
6814 (POLL_ERR): Likewise.
6815 (POLL_PRI): Likewise.
6816 (POLL_HUP): Likewise.
6817 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (ILL_ILLOPC): Likewise.
6818 (ILL_ILLOPN): Likewise.
6819 (ILL_ILLADR): Likewise.
6820 (ILL_ILLTRP): Likewise.
6821 (ILL_PRVOPC): Likewise.
6822 (ILL_PRVREG): Likewise.
6823 (ILL_COPROC): Likewise.
6824 (ILL_BADSTK): Likewise.
6825 (FPE_INTDIV): Likewise.
6826 (FPE_INTOVF): Likewise.
6827 (FPE_FLTDIV): Likewise.
6828 (FPE_FLTOVF): Likewise.
6829 (FPE_FLTUND): Likewise.
6830 (FPE_FLTRES): Likewise.
6831 (FPE_FLTINV): Likewise.
6832 (FPE_FLTSUB): Likewise.
6833 (SEGV_MAPERR): Likewise.
6834 (SEGV_ACCERR): Likewise.
6835 (BUS_ADRALN): Likewise.
6836 (BUS_ADRERR): Likewise.
6837 (BUS_OBJERR): Likewise.
6838 (BUS_MCEERR_AR): Likewise.
6839 (BUS_MCEERR_AO): Likewise.
6840 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
6841 (TRAP_TRACE): Likewise.
6842 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
6844 (CLD_KILLED): Likewise.
6845 (CLD_DUMPED): Likewise.
6846 (CLD_TRAPPED): Likewise.
6847 (CLD_STOPPED): Likewise.
6848 (CLD_CONTINUED): Likewise.
6849 (POLL_IN): Likewise.
6850 (POLL_OUT): Likewise.
6851 (POLL_MSG): Likewise.
6852 (POLL_ERR): Likewise.
6853 (POLL_PRI): Likewise.
6854 (POLL_HUP): Likewise.
6855 * conform/Makefile (test-xfail-POSIX/signal.h/conform): Remove.
6856 (test-xfail-POSIX/sys/wait.h/conform): Likewise.
6859 * posix/sched.h [!__USE_XOPEN2K] (__need_time_t): Don't define
6860 before #include of <time.h>.
6861 [!__USE_XOPEN2K] (__need_timespec): Likewise.
6862 * conform/Makefile (test-xfail-POSIX/sched.h/conform): Remove.
6863 (test-xfail-UNIX98/sched.h/conform): Likewise.
6865 2014-03-07 Marcus Shawcroft <marcus.shawcroft@arm.com>
6867 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Detect and
6868 error absence of trapping exception support.
6869 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
6871 2014-03-07 Joseph Myers <joseph@codesourcery.com>
6873 * catgets/Makefile (tests-special): Add $(objpfx)sample.SJIS.cat.
6874 ($(objpfx)sample.SJIS.cat): Use $(evaluate-test).
6875 * timezone/Makefile (testdata): Move definition above include of
6877 (test-zones): New variable.
6878 (tests-special): Add zone files.
6879 (build-testdata): Use $(evaluate-test).
6881 * elf/Makefile (tests-special): Rename tests to end with .out.
6882 ($(objpfx)noload-mem): Likewise.
6883 ($(objpfx)tst-leaks1-mem): Likewise.
6884 ($(objpfx)tst-leaks1-static-mem.out): Likewise.
6885 * iconv/Makefile (xtests-special): Change test-iconvconfig to
6886 $(objpfx)test-iconvconfig.out.
6887 (test-iconvconfig): Change to $(objpfx)test-iconvconfig.out. Use
6888 set -e inside subshell and redirect output to file.
6889 * iconvdata/Makefile (generated): Rename tests to end with .out.
6891 (tests-special): Rename tests to end with .out.
6892 ($(objpfx)mtrace-tst-loading): Likewise.
6893 * intl/Makefile (generated): Likewise.
6894 (tests-special): Likewise.
6895 ($(objpfx)mtrace-tst-gettext): Likewise.
6896 * misc/Makefile (generated): Likewise.
6897 (tests-special): Likewise.
6898 ($(objpfx)tst-error1-mem): Likewise.
6899 * nptl/Makefile (tests-special): Likewise.
6900 ($(objpfx)tst-stack3-mem): Likewise.
6901 (generated): Likewise.
6902 * posix/Makefile (generated): Likewise.
6903 (tests-special): Likewise.
6904 (xtests-special): Likewise.
6905 ($(objpfx)tst-fnmatch-mem): Likewise.
6906 ($(objpfx)bug-regex2-mem): Likewise.
6907 ($(objpfx)bug-regex14-mem): Likewise.
6908 ($(objpfx)bug-regex21-mem): Likewise.
6909 ($(objpfx)bug-regex31-mem): Likewise.
6910 ($(objpfx)tst-vfork3-mem): Likewise.
6911 ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
6912 ($(objpfx)tst-pcre-mem): Likewise.
6913 ($(objpfx)tst-boost-mem): Likewise.
6914 ($(objpfx)bug-ga2-mem): Likewise.
6915 ($(objpfx)bug-glob2-mem): Likewise.
6916 * resolv/Makefile (generate): Likewise.
6917 (tests-special): Likewise.
6918 (xtests-special): Likewise.
6919 (generated): Likewise.
6920 ($(objpfx)mtrace-tst-leaks): Likewise.
6921 ($(objpfx)mtrace-tst-leaks2): Likewise.
6923 * scripts/merge-test-results.sh: New file.
6924 * Makefile (tests-special-notdir): New variable.
6925 (tests): Run merge-test-results.sh.
6927 * Rules (tests-special-notdir): New variable.
6928 (xtests-special-notdir): Likewise.
6929 (tests): Run merge-test-results.sh
6932 * Makeconfig (test-xfail-name): New variable.
6933 (evaluate-test): Use $(test-xfail-name) instead of $(@F:.out=) to
6934 compute variable name for expected failures.
6935 * conform/Makefile (conformtest-headers-data): New variable.
6936 (conformtest-standards): Likewise.
6937 (conformtest-headers-ISO): Likewise.
6938 (conformtest-headers-ISO99): Likewise.
6939 (conformtest-headers-ISO11): Likewise.
6940 (conformtest-headers-POSIX): Likewise.
6941 (conformtest-headers-XPG3): Likewise.
6942 (conformtest-headers-XPG4): Likewise.
6943 (conformtest-headers-UNIX98): Likewise.
6944 (conformtest-headers-XOPEN2K): Likewise.
6945 (conformtest-headers-POSIX2008): Likewise.
6946 (conformtest-headers-XOPEN2K8): Likewise.
6947 (conformtest-header-list-base): Likewise.
6948 (conformtest-header-list-tests): Likewise.
6949 (conformtest-header-base): Likewise.
6950 (conformtest-header-tests): Likewise.
6951 (tests-special): Add $(conformtest-header-list-tests). If
6952 [$(fast-check) && !$(cross-compiling)], add
6953 $(conformtest-header-tests) instead of
6954 $(objpfx)run-conformtest.out.
6955 (generated): Add $(conformtest-header-list-base). If
6956 [$(fast-check) && !$(cross-compiling)], add
6957 $(conformtest-header-base). Remove previous setting.
6958 ($(conformtest-header-list-tests)): New target.
6959 (test-xfail-run-conformtest): Remove variable.
6960 ($(objpfx)run-conformtest.out): Remove target.
6961 (test-xfail-ISO11/complex.h/conform): New variable.
6962 (test-xfail-ISO11/stdalign.h/conform): Likewise.
6963 (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
6964 (test-xfail-XPG3/varargs.h/conform): Likewise.
6965 (test-xfail-XPG4/varargs.h/conform): Likewise.
6966 (test-xfail-UNIX98/varargs.h/conform): Likewise.
6967 (test-xfail-XPG4/ndbm.h/conform): Likewise.
6968 (test-xfail-UNIX98/ndbm.h/conform): Likewise.
6969 (test-xfail-XOPEN2K/ndbm.h/conform): Likewise.
6970 (test-xfail-XOPEN2K8/ndbm.h/conform): Likewise.
6971 (test-xfail-XPG3/fcntl.h/conform): Likewise.
6972 (test-xfail-XPG3/ftw.h/conform): Likewise.
6973 (test-xfail-XPG3/grp.h/conform): Likewise.
6974 (test-xfail-XPG3/langinfo.h/conform): Likewise.
6975 (test-xfail-XPG3/limits.h/conform): Likewise.
6976 (test-xfail-XPG3/pwd.h/conform): Likewise.
6977 (test-xfail-XPG3/search.h/conform): Likewise.
6978 (test-xfail-XPG3/signal.h/conform): Likewise.
6979 (test-xfail-XPG3/stdio.h/conform): Likewise.
6980 (test-xfail-XPG3/stdlib.h/conform): Likewise.
6981 (test-xfail-XPG3/string.h/conform): Likewise.
6982 (test-xfail-XPG3/sys/ipc.h/conform): Likewise.
6983 (test-xfail-XPG3/sys/msg.h/conform): Likewise.
6984 (test-xfail-XPG3/sys/sem.h/conform): Likewise.
6985 (test-xfail-XPG3/sys/shm.h/conform): Likewise.
6986 (test-xfail-XPG3/sys/stat.h/conform): Likewise.
6987 (test-xfail-XPG3/sys/types.h/conform): Likewise.
6988 (test-xfail-XPG3/sys/wait.h/conform): Likewise.
6989 (test-xfail-XPG3/termios.h/conform): Likewise.
6990 (test-xfail-XPG3/time.h/conform): Likewise.
6991 (test-xfail-XPG3/unistd.h/conform): Likewise.
6992 (test-xfail-XPG4/arpa/inet.h/conform): Likewise.
6993 (test-xfail-XPG4/fcntl.h/conform): Likewise.
6994 (test-xfail-XPG4/langinfo.h/conform): Likewise.
6995 (test-xfail-XPG4/netdb.h/conform): Likewise.
6996 (test-xfail-XPG4/netinet/in.h/conform): Likewise.
6997 (test-xfail-XPG4/signal.h/conform): Likewise.
6998 (test-xfail-XPG4/stdio.h/conform): Likewise.
6999 (test-xfail-XPG4/stdlib.h/conform): Likewise.
7000 (test-xfail-XPG4/stropts.h/conform): Likewise.
7001 (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
7002 (test-xfail-XPG4/sys/msg.h/conform): Likewise.
7003 (test-xfail-XPG4/sys/sem.h/conform): Likewise.
7004 (test-xfail-XPG4/sys/shm.h/conform): Likewise.
7005 (test-xfail-XPG4/sys/socket.h/conform): Likewise.
7006 (test-xfail-XPG4/sys/stat.h/conform): Likewise.
7007 (test-xfail-XPG4/sys/time.h/conform): Likewise.
7008 (test-xfail-XPG4/sys/types.h/conform): Likewise.
7009 (test-xfail-XPG4/sys/wait.h/conform): Likewise.
7010 (test-xfail-XPG4/termios.h/conform): Likewise.
7011 (test-xfail-XPG4/ucontext.h/conform): Likewise.
7012 (test-xfail-XPG4/unistd.h/conform): Likewise.
7013 (test-xfail-XPG4/utmpx.h/conform): Likewise.
7014 (test-xfail-POSIX/sched.h/conform): Likewise.
7015 (test-xfail-POSIX/signal.h/conform): Likewise.
7016 (test-xfail-POSIX/sys/wait.h/conform): Likewise.
7017 (test-xfail-POSIX/tar.h/conform): Likewise.
7018 (test-xfail-UNIX98/arpa/inet.h/conform): Likewise.
7019 (test-xfail-UNIX98/fcntl.h/conform): Likewise.
7020 (test-xfail-UNIX98/langinfo.h/conform): Likewise.
7021 (test-xfail-UNIX98/netdb.h/conform): Likewise.
7022 (test-xfail-UNIX98/netinet/in.h/conform): Likewise.
7023 (test-xfail-UNIX98/sched.h/conform): Likewise.
7024 (test-xfail-UNIX98/signal.h/conform): Likewise.
7025 (test-xfail-UNIX98/stdio.h/conform): Likewise.
7026 (test-xfail-UNIX98/stdlib.h/conform): Likewise.
7027 (test-xfail-UNIX98/stropts.h/conform): Likewise.
7028 (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
7029 (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
7030 (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
7031 (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
7032 (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
7033 (test-xfail-UNIX98/sys/time.h/conform): Likewise.
7034 (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
7035 (test-xfail-UNIX98/ucontext.h/conform): Likewise.
7036 (test-xfail-UNIX98/unistd.h/conform): Likewise.
7037 (test-xfail-UNIX98/utmpx.h/conform): Likewise.
7038 (test-xfail-XOPEN2K/aio.h/conform): Likewise.
7039 (test-xfail-XOPEN2K/arpa/inet.h/conform): Likewise.
7040 (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
7041 (test-xfail-XOPEN2K/langinfo.h/conform): Likewise.
7042 (test-xfail-XOPEN2K/math.h/conform): Likewise.
7043 (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
7044 (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
7045 (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
7046 (test-xfail-XOPEN2K/semaphore.h/conform): Likewise.
7047 (test-xfail-XOPEN2K/signal.h/conform): Likewise.
7048 (test-xfail-XOPEN2K/stdarg.h/conform): Likewise.
7049 (test-xfail-XOPEN2K/stdio.h/conform): Likewise.
7050 (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
7051 (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
7052 (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
7053 (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
7054 (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
7055 (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
7056 (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
7057 (test-xfail-XOPEN2K/termios.h/conform): Likewise.
7058 (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
7059 (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
7060 (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
7061 (test-xfail-POSIX2008/arpa/inet.h/conform): Likewise.
7062 (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
7063 (test-xfail-POSIX2008/netdb.h/conform): Likewise.
7064 (test-xfail-POSIX2008/netinet/in.h/conform): Likewise.
7065 (test-xfail-POSIX2008/signal.h/conform): Likewise.
7066 (test-xfail-POSIX2008/stropts.h/conform): Likewise.
7067 (test-xfail-POSIX2008/sys/socket.h/conform): Likewise.
7068 (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
7069 (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
7070 (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
7071 (test-xfail-XOPEN2K8/limits.h/conform): Likewise.
7072 (test-xfail-XOPEN2K8/math.h/conform): Likewise.
7073 (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
7074 (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
7075 (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
7076 (test-xfail-XOPEN2K8/stdio.h/conform): Likewise.
7077 (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
7078 (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
7079 (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
7080 (test-xfail-XOPEN2K8/sys/select.h/conform): Likewise.
7081 (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
7082 (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
7083 (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
7084 (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
7085 (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
7086 (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
7087 (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
7088 (test-xfail-XOPEN2K8/utmpx.h/conform): Likewise.
7089 (conformtest-cc-flags): Likewise.
7090 ($(conformtest-header-tests): New target.
7091 * conform/check-header-lists.sh: New file.
7092 * conform/run-conformtest.sh: Remove.
7094 * conform/conformtest.pl: Allow ' and \ in values given for
7096 * conform/data/semaphore.h-data [POSIX] (fcntl.h): Allow header
7098 [POSIX] (sys/types.h): Likewise.
7099 [POSIX2008 || XOPEN2K8] (sys/types.h): Don't allow header
7101 [POSIX || UNIX98 || XOPEN2K] (time.h): Don't allow header
7103 * conform/data/signal.h-data (SIGIO): Remove expectation.
7104 [XPG3] (SIGBUS): Do not expect.
7105 [POSIX || XPG3] (SIGPOLL): Likewise.
7106 [POSIX || XPG3] (SIGPROF): Likewise.
7107 [POSIX || XPG3] (SIGSYS): Likewise.
7108 [XPG3] (SIGTRAP): Likewise.
7109 [POSIX || XPG3] (SIGURG): Likewise.
7110 [POSIX || XPG3] (SIGVTALRM): Likewise.
7111 [POSIX || XPG3] (SIGXCPU): Likewise.
7112 [POSIX || XPG3] (SIGXFSZ): Likewise.
7113 [POSIX] (SA_SIGINFO): Expect.
7114 [XPG3] (siginfo_t): Do not expect type or contents.
7115 [POSIX] (si_pid): Do not expect element.
7116 [POSIX] (si_uid): Likewise.
7117 [POSIX] (si_addr): Likewise.
7118 [POSIX] (si_status): Likewise.
7119 [POSIX] (si_band): Likewise.
7120 [XPG4] (si_value): Likewise.
7121 [POSIX || XPG3] (ILL_ILLOPC): Do not expect.
7122 [POSIX || XPG3] (ILL_ILLOPN): Likewise.
7123 [POSIX || XPG3] (ILL_ILLADR): Likewise.
7124 [POSIX || XPG3] (ILL_ILLTRP): Likewise.
7125 [POSIX || XPG3] (ILL_PRVOPC): Likewise.
7126 [POSIX || XPG3] (ILL_PRVREG): Likewise.
7127 [POSIX || XPG3] (ILL_COPROC): Likewise.
7128 [POSIX || XPG3] (ILL_BADSTK): Likewise.
7129 [POSIX || XPG3] (FPE_INTDIV): Likewise.
7130 [POSIX || XPG3] (FPE_INTOVF): Likewise.
7131 [POSIX || XPG3] (FPE_FLTDIV): Likewise.
7132 [POSIX || XPG3] (FPE_FLTOVF): Likewise.
7133 [POSIX || XPG3] (FPE_FLTUND): Likewise.
7134 [POSIX || XPG3] (FPE_FLTRES): Likewise.
7135 [POSIX || XPG3] (FPE_FLTINV): Likewise.
7136 [POSIX || XPG3] (FPE_FLTSUB): Likewise.
7137 [POSIX || XPG3] (SEGV_MAPERR): Likewise.
7138 [POSIX || XPG3] (SEGV_ACCERR): Likewise.
7139 [POSIX || XPG3] (BUS_ADRALN): Likewise.
7140 [POSIX || XPG3] (BUS_ADRERR): Likewise.
7141 [POSIX || XPG3] (BUS_OBJERR): Likewise.
7142 [POSIX || XPG3] (CLD_EXITED): Likewise.
7143 [POSIX || XPG3] (CLD_KILLED): Likewise.
7144 [POSIX || XPG3] (CLD_DUMPED): Likewise.
7145 [POSIX || XPG3] (CLD_TRAPPED): Likewise.
7146 [POSIX || XPG3] (CLD_STOPPED): Likewise.
7147 [POSIX || XPG3] (CLD_CONTINUED): Likewise.
7148 [POSIX || XPG3] (POLL_IN): Likewise.
7149 [POSIX || XPG3] (POLL_OUT): Likewise.
7150 [POSIX || XPG3] (POLL_MSG): Likewise.
7151 [POSIX || XPG3] (POLL_ERR): Likewise.
7152 [POSIX || XPG3] (POLL_PRI): Likewise.
7153 [POSIX || XPG3] (POLL_HUP): Likewise.
7154 [POSIX || XPG3 || POSIX2008] (TRAP_BRKPT): Likewise.
7155 [POSIX || XPG3 || POSIX2008] (TRAP_TRACE): Likewise.
7156 (SIG*): Do not allow.
7157 [XPG3] (si_*): Likewise.
7158 [XPG3] (SI_*): Likewise.
7159 [XPG3 || XPG4] (sigev_*): Likewise.
7160 [XPG3 || XPG4] (SIGEV_*): Likewise.
7161 [XPG3 || XPG4] (sival_*): Likewise.
7162 [POSIX || XPG3 || XPG4] (uc_*): Likewise.
7163 [POSIX || XPG3] (BUS_*): Likewise.
7164 [POSIX || XPG3] (CLD_*): Likewise.
7165 [POSIX || XPG3] (FPE_*): Likewise.
7166 [POSIX || XPG3] (ILL_*): Likewise.
7167 [POSIX || XPG3] (POLL_*): Likewise.
7168 [POSIX || XPG3] (SEGV_*): Likewise.
7169 [POSIX || XPG3 || POSIX2008] (SS_*): Likewise.
7170 [POSIX || XPG3 || POSIX2008] (SV_*): Likewise.
7171 [POSIX || XPG3 || POSIX2008] (TRAP_*): Likewise.
7172 [POSIX || XPG3 || POSIX2008] (ss_*): Likewise.
7173 [POSIX || XPG3 || POSIX2008] (sv_*): Likewise.
7174 * conform/data/tar.h-data (TMAGLEN): Use macro-int-constant.
7175 Specify type and value.
7176 (TVERSLEN): Likewise.
7177 (REGTYPE): Likewise.
7178 (AREGTYPE): Likewise.
7179 (LNKTYPE): Likewise.
7180 (SYMTYPE): Likewise.
7181 (CHRTYPE): Likewise.
7182 (BLKTYPE): Likewise.
7183 (DIRTYPE): Likewise.
7184 (FIFOTYPE): Likewise.
7185 (CONTTYPE): Likewise.
7190 (TUWRITE): Likewise.
7193 (TGWRITE): Likewise.
7196 (TOWRITE): Likewise.
7198 [POSIX] (TSVTX): Expect constant.
7200 2014-03-06 Joseph Myers <joseph@codesourcery.com>
7202 * Makefile (tests): Change dependencies to ....
7203 (tests-special): ... additions to this variable.
7204 (tests): Depend on $(tests-special).
7205 * Makerules (check-abi-list): New variable.
7206 (check-abi): Depend on $(check-abi-list).
7207 [$(subdir) = elf] (tests-special): Add
7208 $(objpfx)check-abi-libc.out.
7209 [$(build-shared) = yes && subdir] (tests-special): Add
7211 [$(build-shared) = yes && subdir] (tests): Do not depend on
7213 * Rules (tests): Depend on $(tests-special).
7214 (xtests): Depend on $(xtests-special).
7215 * catgets/Makefile (tests): Change dependencies to ....
7216 (tests-special): ... additions to this variable.
7217 * conform/Makefile (tests): Change dependencies to ....
7218 (tests-special): ... additions to this variable.
7219 * elf/Makefile (tests): Change dependencies to ....
7220 (tests-special): ... additions to this variable.
7221 * grp/Makefile (tests): Change dependencies to ....
7222 (tests-special): ... additions to this variable.
7223 * iconv/Makefile (xtests): Change dependencies to ....
7224 (xtests-special): ... additions to this variable.
7225 * iconvdata/Makefile (tests): Change dependencies to ....
7226 (tests-special): ... additions to this variable.
7227 * intl/Makefile (tests): Change dependencies to ....
7228 (tests-special): ... additions to this variable. Also add
7229 $(objpfx)tst-gettext.out.
7230 * io/Makefile (tests): Change dependencies to ....
7231 (tests-special): ... additions to this variable.
7232 * libio/Makefile (tests): Change dependencies to ....
7233 (tests-special): ... additions to this variable.
7234 * malloc/Makefile (tests): Change dependencies to ....
7235 (tests-special): ... additions to this variable.
7236 * misc/Makefile (tests): Change dependencies to ....
7237 (tests-special): ... additions to this variable.
7238 * nptl/Makefile (tests): Change dependencies to ....
7239 (tests-special): ... additions to this variable.
7240 * nptl_db/Makefile (tests): Change dependencies to ....
7241 (tests-special): ... additions to this variable.
7242 * posix/Makefile (tests): Change dependencies to ....
7243 (tests-special): ... additions to this variable.
7244 (xtests): Change dependencies to ....
7245 (xtests-special): ... additions to this variable.
7246 * resolv/Makefile (tests): Change dependencies to ....
7247 (tests-special): ... additions to this variable.
7248 (xtests): Change dependencies to ....
7249 (xtests-special): ... additions to this variable.
7250 * stdio-common/Makefile (tests): Change dependencies to ....
7251 (tests-special): ... additions to this variable.
7252 (do-tst-unbputc): Remove target.
7253 (do-tst-printf): Likewise.
7254 * stdlib/Makefile (tests): Change dependencies to ....
7255 (tests-special): ... additions to this variable.
7256 * string/Makefile (tests): Change dependencies to ....
7257 (tests-special): ... additions to this variable.
7258 * sysdeps/x86/Makefile (tests): Change dependencies to ....
7259 (tests-special): ... additions to this variable.
7261 * conform/data/netinet/tcp.h-data [POSIX2008 || XOPEN2K8]: Enable
7263 * conform/data/sys/timeb.h-data [POSIX2008 || XOPEN2K8]: Disable
7265 * conform/data/sys/uio.h-data [POSIX2008]: Likewise.
7266 * conform/data/ucontext.h-data [POSIX2008 || XOPEN2K8]: Likewise.
7268 * conform/data/aio.h-data [XPG3 || XPG4]: Disable whole file.
7269 * conform/data/arpa/inet.h-data [XPG3]: Likewise.
7270 * conform/data/dlfcn.h-data [XPG3 || XPG4]: Likewise.
7271 * conform/data/fmtmsg.h-data [XPG3]: Likewise.
7272 * conform/data/libgen.h-data [XPG3]: Likewise.
7273 * conform/data/mqueue.h-data [XPG3 || XPG4]: Likewise.
7274 * conform/data/ndbm.h-data [XPG3]: Likewise.
7275 * conform/data/net/if.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
7276 * conform/data/netdb.h-data [XPG3]: Likewise.
7277 * conform/data/netinet/in.h-data [XPG3]: Likewise.
7278 * conform/data/poll.h-data [XPG3]: Likewise.
7279 * conform/data/spawn.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
7280 * conform/data/strings.h-data [XPG3]: Likewise.
7281 * conform/data/stropts.h-data [XPG3]: Likewise.
7282 * conform/data/sys/mman.h-data [XPG3]: Likewise.
7283 * conform/data/sys/resource.h-data [XPG3]: Likewise.
7284 * conform/data/sys/select.h-data [XPG3 || XPG4 || UNIX98]:
7286 * conform/data/sys/statvfs.h-data [XPG3]: Likewise.
7287 * conform/data/sys/time.h-data [XPG3]: Likewise.
7288 * conform/data/sys/timeb.h-data [XPG3]: Likewise.
7289 * conform/data/sys/uio.h-data [XPG3]: Likewise.
7290 * conform/data/sys/un.h-data [XPG3]: Likewise.
7291 * conform/data/syslog.h-data [XPG3]: Likewise.
7292 * conform/data/ucontext.h-data [XPG3]: Likewise.
7293 * conform/data/utmpx.h-data [XPG3]: Likewise.
7294 * conform/data/varargs.h-data [UNIX98]: Enable file.
7296 * manual/Makefile (INSTALL_INFO): Remove variable setting.
7298 * math/libm-test.inc (struct test_f_f_data): Move expected results
7299 into structure for each rounding mode.
7300 (struct test_ff_f_data): Likewise.
7301 (struct test_ff_f_data_nexttoward): Likewise.
7302 (struct test_fi_f_data): Likewise.
7303 (struct test_fl_f_data): Likewise.
7304 (struct test_if_f_data): Likewise.
7305 (struct test_fff_f_data): Likewise.
7306 (struct test_c_f_data): Likewise.
7307 (struct test_f_f1_data): Likewise.
7308 (struct test_fF_f1_data): Likewise.
7309 (struct test_ffI_f1_data): Likewise.
7310 (struct test_c_c_data): Likewise.
7311 (struct test_cc_c_data): Likewise.
7312 (struct test_f_i_data): Likewise.
7313 (struct test_ff_i_data): Likewise.
7314 (struct test_f_l_data): Likewise.
7315 (struct test_f_L_data): Likewise.
7316 (struct test_fFF_11_data): Likewise.
7318 (RM_FE_DOWNWARD): Likewise.
7319 (RM_FE_TONEAREST): Likewise.
7320 (RM_FE_TOWARDZERO): Likewise.
7321 (RM_FE_UPWARD): Likewise.
7322 (RUN_TEST_LOOP_f_f): Update references to expected results.
7323 (RUN_TEST_LOOP_2_f): Likewise.
7324 (RUN_TEST_LOOP_fff_f): Likewise.
7325 (RUN_TEST_LOOP_c_f): Likewise.
7326 (RUN_TEST_LOOP_f_f1): Likewise.
7327 (RUN_TEST_LOOP_fF_f1): Likewise.
7328 (RUN_TEST_LOOP_fI_f1): Likewise.
7329 (RUN_TEST_LOOP_ffI_f1): Likewise.
7330 (RUN_TEST_LOOP_c_c): Likewise.
7331 (RUN_TEST_LOOP_cc_c): Likewise.
7332 (RUN_TEST_LOOP_f_i): Likewise.
7333 (RUN_TEST_LOOP_f_i_tg): Likewise.
7334 (RUN_TEST_LOOP_ff_i_tg): Likewise.
7335 (RUN_TEST_LOOP_f_b): Likewise.
7336 (RUN_TEST_LOOP_f_b_tg): Likewise.
7337 (RUN_TEST_LOOP_f_l): Likewise.
7338 (RUN_TEST_LOOP_f_L): Likewise.
7339 (RUN_TEST_LOOP_fFF_11): Likewise.
7340 * math/gen-libm-test.pl (parse_args): Output four copies of
7341 expected results for each test.
7343 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
7344 (__ASSUME_UTIMES): Remove.
7345 * sysdeps/unix/sysv/linux/tile/kernel-features.h
7346 (__ASSUME_UTIMES): Likewise.
7348 * math/gen-auto-libm-tests.c: Update comment on output format.
7349 (output_for_one_input_case): Generate before-rounding and
7350 after-rounding information as conditions on output flags not
7351 floating-point format.
7352 * math/auto-libm-test-out: Regenerated.
7353 * math/gen-libm-test.pl (cond_value): New function.
7354 (or_cond_value): Use cond_value.
7355 (generate_testfile): Handle conditional exceptions.
7357 2014-03-05 Joseph Myers <joseph@codesourcery.com>
7359 * math/libm-test.inc (max_valid_error): New variable.
7360 (init_max_error): Take new argument specifying whether function
7361 results are exactly determined. Set max_valid_error and bound
7362 other variables for errors based on this argument.
7363 (set_max_error): Do not record results above max_valid_error.
7364 (check_float_internal): Only accept errors of up to 0.5ulps if
7365 also at most max_valid_error.
7366 (START): Take new argument EXACT and pass it to init_max_error.
7367 (acos_test): Update call to START.
7368 (acos_test_tonearest): Likewise.
7369 (acos_test_towardzero): Likewise.
7370 (acos_test_downward): Likewise.
7371 (acos_test_upward): Likewise.
7372 (acosh_test): Likewise.
7373 (asin_test): Likewise.
7374 (asin_test_tonearest): Likewise.
7375 (asin_test_towardzero): Likewise.
7376 (asin_test_downward): Likewise.
7377 (asin_test_upward): Likewise.
7378 (asinh_test): Likewise.
7379 (atan_test): Likewise.
7380 (atanh_test): Likewise.
7381 (atan2_test): Likewise.
7382 (cabs_test): Likewise.
7383 (cacos_test): Likewise.
7384 (cacosh_test): Likewise.
7385 (carg_test): Likewise.
7386 (casin_test): Likewise.
7387 (casinh_test): Likewise.
7388 (catan_test): Likewise.
7389 (catanh_test): Likewise.
7390 (cbrt_test): Likewise.
7391 (ccos_test): Likewise.
7392 (ccosh_test): Likewise.
7393 (ceil_test): Likewise.
7394 (cexp_test): Likewise.
7395 (cimag_test): Likewise.
7396 (clog_test): Likewise.
7397 (clog10_test): Likewise.
7398 (conj_test): Likewise.
7399 (copysign_test): Likewise.
7400 (cos_test): Likewise.
7401 (cos_test_tonearest): Likewise.
7402 (cos_test_towardzero): Likewise.
7403 (cos_test_downward): Likewise.
7404 (cos_test_upward): Likewise.
7405 (cosh_test): Likewise.
7406 (cosh_test_tonearest): Likewise.
7407 (cosh_test_towardzero): Likewise.
7408 (cosh_test_downward): Likewise.
7409 (cosh_test_upward): Likewise.
7410 (cpow_test): Likewise.
7411 (cproj_test): Likewise.
7412 (creal_test): Likewise.
7413 (csin_test): Likewise.
7414 (csinh_test): Likewise.
7415 (csqrt_test): Likewise.
7416 (ctan_test): Likewise.
7417 (ctan_test_tonearest): Likewise.
7418 (ctan_test_towardzero): Likewise.
7419 (ctan_test_downward): Likewise.
7420 (ctan_test_upward): Likewise.
7421 (ctanh_test): Likewise.
7422 (ctanh_test_tonearest): Likewise.
7423 (ctanh_test_towardzero): Likewise.
7424 (ctanh_test_downward): Likewise.
7425 (ctanh_test_upward): Likewise.
7426 (erf_test): Likewise.
7427 (erfc_test): Likewise.
7428 (exp_test): Likewise.
7429 (exp_test_tonearest): Likewise.
7430 (exp_test_towardzero): Likewise.
7431 (exp_test_downward): Likewise.
7432 (exp_test_upward): Likewise.
7433 (exp10_test): Likewise.
7434 (exp10_test_tonearest): Likewise.
7435 (exp10_test_towardzero): Likewise.
7436 (exp10_test_downward): Likewise.
7437 (exp10_test_upward): Likewise.
7438 (pow10_test): Likewise.
7439 (exp2_test): Likewise.
7440 (expm1_test): Likewise.
7441 (expm1_test_tonearest): Likewise.
7442 (expm1_test_towardzero): Likewise.
7443 (expm1_test_downward): Likewise.
7444 (expm1_test_upward): Likewise.
7445 (fabs_test): Likewise.
7446 (fdim_test): Likewise.
7447 (floor_test): Likewise.
7448 (fma_test): Likewise.
7449 (fma_test_towardzero): Likewise.
7450 (fma_test_downward): Likewise.
7451 (fma_test_upward): Likewise.
7452 (fmax_test): Likewise.
7453 (fmin_test): Likewise.
7454 (fmod_test): Likewise.
7455 (fpclassify_test): Likewise.
7456 (frexp_test): Likewise.
7457 (hypot_test): Likewise.
7458 (ilogb_test): Likewise.
7459 (isfinite_test): Likewise.
7460 (finite_test): Likewise.
7461 (isgreater_test): Likewise.
7462 (isgreaterequal_test): Likewise.
7463 (isinf_test): Likewise.
7464 (isless_test): Likewise.
7465 (islessequal_test): Likewise.
7466 (islessgreater_test): Likewise.
7467 (isnan_test): Likewise.
7468 (isnormal_test): Likewise.
7469 (issignaling_test): Likewise.
7470 (isunordered_test): Likewise.
7471 (j0_test): Likewise.
7472 (j1_test): Likewise.
7473 (jn_test): Likewise.
7474 (ldexp_test): Likewise.
7475 (lgamma_test): Likewise.
7476 (gamma_test): Likewise.
7477 (lrint_test): Likewise.
7478 (lrint_test_tonearest): Likewise.
7479 (lrint_test_towardzero): Likewise.
7480 (lrint_test_downward): Likewise.
7481 (lrint_test_upward): Likewise.
7482 (llrint_test): Likewise.
7483 (llrint_test_tonearest): Likewise.
7484 (llrint_test_towardzero): Likewise.
7485 (llrint_test_downward): Likewise.
7486 (llrint_test_upward): Likewise.
7487 (log_test): Likewise.
7488 (log10_test): Likewise.
7489 (log1p_test): Likewise.
7490 (log2_test): Likewise.
7491 (logb_test): Likewise.
7492 (logb_test_downward): Likewise.
7493 (lround_test): Likewise.
7494 (llround_test): Likewise.
7495 (modf_test): Likewise.
7496 (nearbyint_test): Likewise.
7497 (nextafter_test): Likewise.
7498 (nexttoward_test): Likewise.
7499 (pow_test): Likewise.
7500 (pow_test_tonearest): Likewise.
7501 (pow_test_towardzero): Likewise.
7502 (pow_test_downward): Likewise.
7503 (pow_test_upward): Likewise.
7504 (remainder_test): Likewise.
7505 (drem_test): Likewise.
7506 (remainder_test_tonearest): Likewise.
7507 (drem_test_tonearest): Likewise.
7508 (remainder_test_towardzero): Likewise.
7509 (drem_test_towardzero): Likewise.
7510 (remainder_test_downward): Likewise.
7511 (drem_test_downward): Likewise.
7512 (remainder_test_upward): Likewise.
7513 (drem_test_upward): Likewise.
7514 (remquo_test): Likewise.
7515 (rint_test): Likewise.
7516 (rint_test_tonearest): Likewise.
7517 (rint_test_towardzero): Likewise.
7518 (rint_test_downward): Likewise.
7519 (rint_test_upward): Likewise.
7520 (round_test): Likewise.
7521 (scalb_test): Likewise.
7522 (scalbn_test): Likewise.
7523 (scalbln_test): Likewise.
7524 (signbit_test): Likewise.
7525 (sin_test): Likewise.
7526 (sin_test_tonearest): Likewise.
7527 (sin_test_towardzero): Likewise.
7528 (sin_test_downward): Likewise.
7529 (sin_test_upward): Likewise.
7530 (sincos_test): Likewise.
7531 (sinh_test): Likewise.
7532 (sinh_test_tonearest): Likewise.
7533 (sinh_test_towardzero): Likewise.
7534 (sinh_test_downward): Likewise.
7535 (sinh_test_upward): Likewise.
7536 (sqrt_test): Likewise.
7537 (sqrt_test_tonearest): Likewise.
7538 (sqrt_test_towardzero): Likewise.
7539 (sqrt_test_downward): Likewise.
7540 (sqrt_test_upward): Likewise.
7541 (tan_test): Likewise.
7542 (tan_test_tonearest): Likewise.
7543 (tan_test_towardzero): Likewise.
7544 (tan_test_downward): Likewise.
7545 (tan_test_upward): Likewise.
7546 (tanh_test): Likewise.
7547 (tgamma_test): Likewise.
7548 (trunc_test): Likewise.
7549 (y0_test): Likewise.
7550 (y1_test): Likewise.
7551 (yn_test): Likewise.
7552 (significand_test): Likewise.
7554 * math/libm-test.inc (struct ulp_data): Don't refer to ulps for
7555 individual tests in comment.
7556 (libm-test-ulps.h): Don't refer to test_ulps in #include comment.
7557 (prev_max_error): New variable.
7558 (prev_real_max_error): Likewise.
7559 (prev_imag_max_error): Likewise.
7560 (compare_ulp_data): Don't refer to test names in comment.
7561 (find_test_ulps): Remove function.
7562 (find_function_ulps): Likewise.
7563 (find_complex_function_ulps): Likewise.
7564 (init_max_error): Take function name as argument. Look up ulps
7566 (print_ulps): Remove function.
7567 (print_max_error): Use prev_max_error instead of calling
7569 (print_complex_max_error): Use prev_real_max_error and
7570 prev_imag_max_error instead of calling find_complex_function_ulps.
7571 (check_float_internal): Take max_ulp parameter instead of calling
7572 find_test_ulps. Don't call print_ulps.
7573 (check_float): Update call to check_float_internal.
7574 (check_complex): Update calls to check_float_internal.
7575 (START): Pass argument to init_max_error.
7576 * math/gen-libm-test.pl (%results): Don't include "kind"
7578 (parse_ulps): Don't handle ulps of individual tests.
7579 (print_ulps_file): Likewise.
7580 (output_ulps): Likewise.
7581 * math/README.libm-test: Update.
7582 * manual/libm-err-tab.pl (parse_ulps): Don't handle ulps of
7584 * sysdeps/aarch64/libm-test-ulps: Remove individual test ulps.
7585 * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
7586 * sysdeps/arm/libm-test-ulps: Likewise.
7587 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
7588 * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
7589 * sysdeps/m68k/coldfire/fpu/libm-test-ulps: Likewise.
7590 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Likewise.
7591 * sysdeps/microblaze/libm-test-ulps: Likewise.
7592 * sysdeps/mips/mips32/libm-test-ulps: Likewise.
7593 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
7594 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
7595 * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
7596 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
7597 * sysdeps/sh/libm-test-ulps: Likewise.
7598 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
7599 * sysdeps/tile/libm-test-ulps: Likewise.
7600 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7602 2014-03-04 Joseph Myers <joseph@codesourcery.com>
7604 * math/libm-test.inc (print_complex_max_error): Check separately
7605 whether real and imaginary errors are within allowed range and
7606 pass 0 to print_complex_function_ulps instead of value within
7609 2014-03-04 Siddhesh Poyarekar <siddhesh@redhat.com>
7611 * libio/tst-ftell-active-handler.c (get_handles_fdopen): Fix
7613 (get_handles_fopen): Likewise.
7614 (do_write_test): Likewise.
7616 * libio/wfileops.c (do_ftell_wide): Fix up formatting.
7618 * libio/fileops.c (do_ftell): Use cached offset when
7620 * libio/iofwide.c (do_ftell_wide): Likewise.
7621 * libio/iofdopen.c (_IO_new_fdopen): Don't use
7623 * libio/wfileops.c (_IO_fwide): Don't cache offset.
7626 * libio/libioP.h (get_file_offset): New function.
7627 * libio/fileops.c (get_file_offset): Likewise.
7628 (do_ftell): Likewise.
7629 (_IO_new_file_seekoff): Split out ftell logic.
7630 * libio/wfileops.c (do_ftell_wide): Likewise.
7631 (_IO_wfile_seekoff): Split out ftell logic.
7632 * libio/tst-ftell-active-handler.c: New test case.
7633 * libio/Makefile (tests): Add it.
7635 2014-03-03 Roland McGrath <roland@hack.frob.com>
7637 * nptl/ChangeLog: Renamed to nptl/ChangeLog.old, no longer used.
7638 * nptl_db/ChangeLog: Renamed to nptl_db/ChangeLog.old, no longer used.
7640 2014-03-03 Siddhesh Poyarekar <siddhesh@redhat.com>
7643 * nscd/connections.c (nscd_init): Call do_exit.
7644 (start_threads): Call do_exit and notify_parent.
7645 (begin_drop_privileges): Call do_exit.
7646 (finish_drop_privileges): Likewise.
7647 * nscd/selinux.c (preserve_capabilities): Likewise.
7648 (install_real_capabilities): Likewise.
7649 (nscd_selinux_enabled): Likewise.
7650 (avc_create_thread): Likewise.
7651 (avc_alloc_lock): Likewise.
7652 (nscd_avc_init): Likewise.
7653 * nscd/nscd.c (parent_fd): New static variable.
7654 (main): Create a pipe between parent and child processes.
7655 Skip closing parent_fd.
7656 (monitor_child): New function.
7657 (do_exit): Likewise.
7658 (notify_parent): Likewise.
7659 * nscd/nscd.h (notify_parent): Likewise.
7660 (do_exit): Likewise.
7662 2014-03-03 Carlos O'Donell <carlos@redhat.com>
7664 * malloc/malloc.c (__libc_calloc): Revert last change.
7666 2014-03-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7668 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7670 2014-03-03 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
7672 * sysdeps/powerpc/powerpc64/power7/strrchr.S: New file.
7673 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strrchr multiarch
7675 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
7676 (__libc_ifunc_impl_list): Likewise.
7677 * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: New file.
7678 * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: New file.
7679 * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: New file.
7680 * string/strrchr.c: Define STRRCHR.
7682 2014-02-28 Ondřej Bílka <neleai@seznam.cz>
7684 * benchtest/bench-strtok.c (simple_strtok): Delete.
7685 (strtok_string): Use as benchmark.
7686 * string/strtok (STRTOK): New macro.
7688 2014-02-28 Carlos O'Donell <carlos@redhat.com>
7690 * manual/threads.texi: Add header and standard comments to all
7693 * elf/dl-lookup.c (check_match): New function.
7694 (ELF_MACHINE_SYM_NO_MATCH): Adjust comment.
7695 (do_lookup_x): Remove nested function check_match. Use non-nested
7696 function check_match.
7698 2014-02-28 Roland McGrath <roland@hack.frob.com>
7700 * csu/Makefile (generated, before-compile): Use += rather than =.
7701 * catgets/Makefile (generated, generated-dirs): Likewise.
7702 * debug/Makefile (generated): Likewise.
7703 * dlfcn/Makefile (generated): Likewise.
7704 * elf/Makefile (before-compile, generated, generated-dirs): Likewise.
7705 * iconvdata/Makefile (before-compile, generated): Likewise.
7706 * intl/Makefile (before-compile, generated, generated-dirs): Likewise.
7707 * libio/Makefile (generated): Likewise.
7708 * malloc/Makefile (generated): Likewise.
7709 * manual/Makefile (generated, generated-dirs): Likewise.
7710 * misc/Makefile (generated): Likewise.
7711 * posix/Makefile (generated): Likewise.
7712 * resolv/Makefile (generated): Likewise.
7713 * sunrpc/Makefile (generated, generated-dirs): Likewise.
7714 * timezone/Makefile (generated, generated-dirs): Likewise.
7716 * stdio-common/Versions (libc: GLIBC_PRIVATE): Add missing }.
7718 2014-02-27 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7720 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
7721 power8 implementation.
7722 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: New
7723 file: POWER8 llround ifunc implementation.
7724 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c
7725 (__lllround): Add POWER8 implementation.
7726 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: New file:
7727 POWER8 llround implementation.
7729 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint
7730 power8 implementation.
7731 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: New
7732 file: POWER8 llrint ifunc implementation.
7733 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c (__lllrint):
7734 Add POWER8 implementation.
7735 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: New file:
7736 POWER8 llrint implementation.
7738 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite
7739 power8 implementation.
7740 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: New
7741 file: POWER8 finite ifunc implementation.
7742 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c (__finite):
7743 Add POWER8 implementation.
7744 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c (__finitef):
7746 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: New file:
7747 POWER8 finite implementation.
7748 * sysdeps/powerpc/powerpc64/power8/fpu/s_finitef.S: New file.
7750 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf
7751 power8 implementation.
7752 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: New
7753 file: POWER8 isinf ifunc implementation.
7754 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c (__isinf): Add
7755 POWER8 implementation.
7756 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c (__isinff):
7758 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: New file: POWER8
7759 isinf implementation.
7760 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinff.S: New file.
7762 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h
7763 (INIT_ARCH): Add hwcap2 initialization.
7764 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
7765 power8 implementation.
7766 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: New
7767 file: POWER8 isnan ifunc implementation.
7768 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c (__isnan): Add
7769 POWER8 implementation.
7770 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c (__isnanf):
7772 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: New file: POWER8
7773 isnan implementation.
7774 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnanf.S: New file.
7776 2014-02-27 Joey Ye <joey.ye@arm.com>
7778 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
7779 (_FP_NANFRAC_Q): Set to zero.
7781 2014-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
7784 * math/auto-libm-test-in: New test inputs.
7785 * math/auto-libm-test-out: Regenerate.
7786 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Preserve sign of A
7789 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
7791 2014-02-27 Joseph Myers <joseph@codesourcery.com>
7793 * scripts/evaluate-test.sh: Take new argument indicating whether
7794 failure is expected.
7795 * Makeconfig (evaluate-test): Pass argument to evaluate-test.sh
7796 indicating whether failure is expected.
7797 * conform/Makefile (test-xfail-run-conformtest): New variable.
7798 ($(objpfx)run-conformtest.out): Don't expect to fail at makefile
7800 * posix/Makefile (test-xfail-annexc): New variable.
7801 ($(objpfx)annexc.out): Don't expect to fail at makefile level.
7803 2014-02-26 Joseph Myers <joseph@codesourcery.com>
7805 * argp/Makefile: Include Makeconfig immediately after defining
7807 * assert/Makefile: Likewise.
7808 * benchtests/Makefile: Likewise.
7809 * catgets/Makefile: Likewise.
7810 * conform/Makefile: Likewise.
7811 * crypt/Makefile: Likewise.
7812 * csu/Makefile: Likewise.
7813 (all): Remove target.
7814 * ctype/Makefile: Include Makeconfig immediately after defining
7816 * debug/Makefile: Likewise.
7817 * dirent/Makefile: Likewise.
7818 * dlfcn/Makefile: Likewise.
7819 * gmon/Makefile: Likewise.
7820 * gnulib/Makefile: Likewise.
7821 * grp/Makefile: Likewise.
7822 * gshadow/Makefile: Likewise.
7823 * hesiod/Makefile: Likewise.
7824 * hurd/Makefile: Likewise.
7825 (all): Remove target.
7826 * iconvdata/Makefile: Include Makeconfig immediately after
7828 * inet/Makefile: Likewise.
7829 * intl/Makefile: Likewise.
7830 * io/Makefile: Likewise.
7831 * libio/Makefile: Likewise.
7832 (all): Remove target.
7833 * locale/Makefile: Include Makeconfig immediately after defining
7835 * login/Makefile: Likewise.
7836 * mach/Makefile: Likewise.
7837 (all): Remove target.
7838 * malloc/Makefile: Include Makeconfig immediately after defining
7840 (all): Remove target.
7841 * manual/Makefile: Include Makeconfig immediately after defining
7843 * math/Makefile: Likewise.
7844 * misc/Makefile: Likewise.
7845 * nis/Makefile: Likewise.
7846 * nss/Makefile: Likewise.
7847 * po/Makefile: Likewise.
7848 (all): Remove target.
7849 * posix/Makefile: Include Makeconfig immediately after defining
7851 * pwd/Makefile: Likewise.
7852 * resolv/Makefile: Likewise.
7853 * resource/Makefile: Likewise.
7854 * rt/Makefile: Likewise.
7855 * setjmp/Makefile: Likewise.
7856 * shadow/Makefile: Likewise.
7857 * signal/Makefile: Likewise.
7858 * socket/Makefile: Likewise.
7859 * soft-fp/Makefile: Likewise.
7860 * stdio-common/Makefile: Likewise.
7861 * stdlib/Makefile: Likewise.
7862 * streams/Makefile: Likewise.
7863 * string/Makefile: Likewise.
7864 * sunrpc/Makefile: Likewise.
7865 (all): Remove target.
7866 * sysvipc/Makefile: Include Makeconfig immediately after defining
7868 * termios/Makefile: Likewise.
7869 * time/Makefile: Likewise.
7870 * timezone/Makefile: Likewise.
7871 (all): Remove target.
7872 * wcsmbs/Makefile: Include Makeconfig immediately after defining
7874 * wctype/Makefile: Likewise.
7876 2014-02-26 Steve Ellcey <sellcey@mips.com>
7878 * sysdeps/mips/math_private.h (_FPU_MASK_ALL) New.
7879 (libc_feholdexcept_mips): Use _FPU_MASK_ALL.
7880 (libc_feholdexcept_setround_mips): Ditto.
7881 (libc_feholdsetround): New.
7882 (libc_feholdsetroundf): New.
7883 (libc_feholdsetroundl): New.
7884 (libc_feupdateenv_test_mips): New.
7885 (libc_feupdateenv_test): New.
7886 (libc_feupdateenv_testf): New.
7887 (libc_feupdateenv_testl): New.
7888 (libc_feresetround): New.
7889 (libc_feresetroundf): New.
7890 (libc_feresetroundl): New.
7891 (libc_fetestexcept_mips): New.
7892 (libc_fetestexcept): New.
7893 (libc_fetestexceptf): New.
7894 (libc_fetestexceptl): New.
7896 (libc_feholdexcept_setround_mips_ctx): New.
7897 (libc_feholdexcept_setround_ctx): New.
7898 (libc_feholdexcept_setroundf_ctx): New.
7899 (libc_feholdexcept_setroundl_ctx): New.
7900 (libc_fesetenv_mips_ctx): New.
7901 (libc_fesetenv_ctx): New.
7902 (libc_fesetenv_ctxf): New.
7903 (libc_fesetenv_ctxl): New.
7904 (libc_feupdateenv_mips_ctx): New.
7905 (libc_feupdateenv_ctx): New.
7906 (libc_feupdateenvf_ctx): New.
7907 (libc_feupdateenvl_ctx): New.
7908 (libc_feholdsetround_mips_ctx): New.
7909 (libc_feholdsetround_ctx): New.
7910 (libc_feholdsetroundf_ctx): New.
7911 (libc_feholdsetroundl_ctx): New.
7912 (libc_feresetround_mips_ctx): New.
7913 (libc_feresetround_ctx): New.
7914 (libc_feresetroundf_ctx): New.
7915 (libc_feresetroundl_ctx): New.
7917 2014-02-26 Carlos O'Donell <carlos@redhat.com>
7919 * manual/ipc.texi (Semaphores): Use @Theglibc{}.
7921 * manual/ipc.texi: New file.
7922 * manual/Makefile (chapters): Add ipc.
7923 * manual/job.texi: Add "Inter-Process Communication" to next.
7924 * manual/process.texi: Add "Inter-Process Communication" to prev.
7926 2014-02-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7928 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7930 2014-02-26 Ondřej Bílka <neleai@seznam.cz>
7932 * malloc/malloc.c (__libc_calloc): Simplify implementation.
7934 * manual/arith.texi: Fix spaces after sentences.
7935 * manual/charset.texi: Likewise.
7936 * manual/errno.texi: Likewise.
7937 * manual/install.texi: Likewise.
7938 * manual/llio.texi: Likewise.
7939 * manual/locale.texi: Likewise.
7940 * manual/maint.texi: Likewise.
7941 * manual/math.texi: Likewise.
7942 * manual/memory.texi: Likewise.
7943 * manual/message.texi: Likewise.
7944 * manual/probes.texi: Likewise.
7945 * manual/resource.texi: Likewise.
7946 * manual/signal.texi: Likewise.
7947 * manual/socket.texi: Likewise.
7948 * manual/stdio.texi: Likewise.
7949 * manual/string.texi: Likewise.
7950 * manual/time.texi: Likewise.
7951 * manual/users.texi: Likewise.
7953 2014-02-25 Carlos O'Donell <carlos@redhat.com>
7956 * include/features.h: Don't warn about _BSD_SOURCE or _SVID_SOURCE if
7957 _DEFAULT_SOURCE is defined.
7959 2014-02-25 Ulrich Drepper <drepper@gmail.com>
7960 Carlos O'Donell <carlos@redhat.com>
7963 * elf/dl-tls.c (_dl_count_modids): New function.
7964 * sysdeps/generic/ldsodefs.h: Declare _dl_count_modids.
7965 * elf/rtld.c (dl_main): Call _dl_count_modids to track TLS usage in
7966 audit library and increment generation counter.
7967 (_dl_allocate_tls_init): Add assertion to check TLS generation count.
7968 * elf/tst-audit9.c: New file.
7969 * elf/tst-auditmod9a.c: New file.
7970 * elf/tst-auditmod9b.c: New file.
7971 * elf/Makefile: Add rules to build and run tst-audit9.
7973 2014-02-25 Florian Weimer <fweimer@redhat.com>
7976 * misc/sys/select.h (__FD_MASK): Avoid signed integer overflow.
7978 2014-02-25 Will Newton <will.newton@linaro.org>
7980 * sysdeps/arm/__longjmp.S: Include stap-probe.h.
7981 (__longjmp): Restore sp and lr before restoring callee
7982 saved registers. Add longjmp and longjmp_target
7983 SystemTap probe point.
7984 * sysdeps/arm/bits/setjmp.h (__jmp_buf): Update comment.
7985 * sysdeps/arm/include/bits/setjmp.h (__JMP_BUF_SP):
7986 Define to zero to match jmpbuf layout.
7987 * sysdeps/arm/setjmp.S: Include stap-probe.h.
7988 (__sigsetjmp): Save sp and lr before saving callee
7989 saved registers. Add setjmp SystemTap probe point.
7991 2014-02-24 Stefan Liebler <stli@linux.vnet.ibm.com>
7993 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
7995 2014-02-24 Andreas Schwab <schwab@suse.de>
7998 * elf/pldd.c (wait_for_ptrace_stop): New function.
7999 (main): Call it after attaching.
8001 2014-02-22 Roland McGrath <roland@hack.frob.com>
8003 * Makerules ($(common-objpfx)Versions.v.i): No longer depend
8004 on $(common-objpfx)abi-versions.h; using <shlib-compat.h> inside
8005 Versions files is now verboten.
8006 * hurd/Versions (libc: GLIBC_2.0):
8007 Remove various [SHLIB_COMPAT (libc, GLIBC_2_0, ...)] sections.
8008 (libc: HURD_CTHREADS_0.3): Remove conditionalization, was under
8009 [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)].
8010 * mach/Versions: Likewise.
8012 * csu/Versions: Remove unused %include.
8013 * resolv/Versions: Likewise.
8015 2014-02-21 Joseph Myers <joseph@codesourcery.com>
8017 * Makefile ($(objpfx)c++-types-check.out): Use $(evaluate-test).
8018 ($(objpfx)check-local-headers.out): Likewise.
8019 ($(objpfx)begin-end-check.out): Likewise.
8020 * Makerules (check-abi-%.out): Likewise.
8021 * catgets/Makefile ($(objpfx)test1.cat): Likewise.
8022 ($(objpfx)test2.cat): Likewise.
8023 ($(objpfx)de/libc.cat): Likewise.
8024 ($(objpfx)test-gencat.out): Likewise.
8025 * conform/Makefile ($(objpfx)run-conformtest.out): Likewise.
8026 * elf/Makefile ($(objpfx)order-cmp.out): Likewise.
8027 ($(objpfx)noload-mem): Likewise.
8028 ($(objpfx)tst-pathopt.out): Likewise.
8029 ($(objpfx)tst-rtld-load-self.out): Likewise.
8030 ($(objpfx)tst-array1-cmp.out): Likewise.
8031 ($(objpfx)tst-array1-static-cmp.out): Likewise.
8032 ($(objpfx)tst-array2-cmp.out): Likewise.
8033 ($(objpfx)tst-array3-cmp.out): Likewise.
8034 ($(objpfx)tst-array4-cmp.out): Likewise.
8035 ($(objpfx)tst-array5-cmp.out): Likewise.
8036 ($(objpfx)tst-array5-static-cmp.out): Likewise.
8037 ($(objpfx)check-textrel.out): Likewise.
8038 ($(objpfx)check-execstack.out): Likewise.
8039 ($(objpfx)check-localplt.out): Likewise.
8040 ($(objpfx)order2-cmp.out): Likewise.
8041 ($(objpfx)tst-leaks1-mem): Likewise.
8042 ($(objpfx)tst-leaks1-static-mem): Likewise.
8043 ($(objpfx)tst-initorder-cmp.out): Likewise.
8044 ($(objpfx)tst-initorder2-cmp.out): Likewise.
8045 ($(objpfx)tst-unused-dep.out): Likewise.
8046 ($(objpfx)tst-unused-dep-cmp.out): Likewise.
8047 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
8048 * iconv/Makefile (test-iconvconfig): Likewise.
8049 * iconvdata/Makefile ($(objpfx)mtrace-tst-loading): Likewise.
8050 ($(objpfx)iconv-test.out): Likewise.
8051 ($(objpfx)tst-tables.out): Likewise.
8052 * intl/Makefile ($(objpfx)mtrace-tst-gettext): Likewise.
8053 ($(objpfx)tst-gettext.out): Likewise.
8054 ($(objpfx)tst-translit.out): Likewise.
8055 ($(objpfx)tst-gettext2.out): Likewise.
8056 ($(objpfx)tst-gettext4.out): Likewise.
8057 ($(objpfx)tst-gettext6.out): Likewise.
8058 * io/Makefile ($(objpfx)ftwtest.out): Likewise.
8059 * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
8060 ($(objpfx)tst-fopenloc-cmp.out): Likewise.
8061 ($(objpfx)tst-fopenloc-mem.out): Likewise.
8062 * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
8063 * misc/Makefile ($(objpfx)tst-error1-mem): Likewise.
8064 * posix/Makefile ($(objpfx)globtest.out): Likewise.
8065 ($(objpfx)wordexp-tst.out): Likewise.
8066 ($(objpfx)annexc.out): Likewise.
8067 ($(objpfx)tst-fnmatch-mem): Likewise.
8068 ($(objpfx)bug-regex2-mem): Likewise.
8069 ($(objpfx)bug-regex14-mem): Likewise.
8070 ($(objpfx)bug-regex21-mem): Likewise.
8071 ($(objpfx)bug-regex31-mem): Likewise.
8072 ($(objpfx)tst-vfork3-mem): Likewise.
8073 ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
8074 ($(objpfx)tst-pcre-mem): Likewise.
8075 ($(objpfx)tst-boost-mem): Likewise.
8076 ($(objpfx)tst-getconf.out): Likewise.
8077 ($(objpfx)bug-ga2-mem): Likewise.
8078 ($(objpfx)bug-glob2-mem): Likewise.
8079 * resolv/Makefile ($(objpfx)mtrace-tst-leaks): Likewise.
8080 ($(objpfx)mtrace-tst-leaks2): Likewise.
8081 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Likewise.
8082 ($(objpfx)tst-printf.out): Likewise.
8083 ($(objpfx)tst-setvbuf1.out): Likewise.
8084 ($(objpfx)tst-setvbuf1-cmp.out): Likewise.
8085 * stdlib/Makefile ($(objpfx)isomac.out): Likewise.
8086 ($(objpfx)tst-fmtmsg.out): Likewise.
8087 * string/Makefile ($(objpfx)tst-svc-cmp.out): Likewise.
8088 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Likewise.
8090 * bits/fcntl.h [__USE_MISC]: Remove redundant conditionals.
8091 * bits/sigaction.h [__USE_MISC]: Likewise.
8092 * bits/waitstatus.h: Update #endif comments.
8093 * ctype/ctype.h: Likewise.
8094 * dirent/dirent.h: Likewise.
8095 [__USE_MISC]: Remove redundant conditionals.
8096 * grp/grp.h: Update #endif comments.
8097 [__USE_GNU]: Remove redundant conditionals.
8098 [__USE_MISC]: Likewise.
8099 * inet/netinet/in.h [__USE_GNU]: Likewise.
8100 * io/sys/stat.h [__USE_MISC]: Likewise.
8101 * libio/bits/stdio-ldbl.h [__USE_MISC]: Likewise.
8102 * libio/bits/stdio.h: Update #endif comments.
8103 [__USE_MISC]: Remove redundant conditionals.
8104 * libio/bits/stdio2.h [__USE_MISC]: Likewise.
8105 * libio/stdio.h: Update #endif comments.
8106 [__USE_MISC]: Remove redundant conditionals.
8107 * math/bits/math-finite.h [__USE_MISC]: Likewise.
8108 * math/bits/mathcalls.h [__USE_MISC]: Likewise.
8109 * math/math.h: Update #else and #endif comments.
8110 [__USE_MISC]: Remove redundant conditionals.
8111 * misc/sys/uio.h: Update #endif comments.
8112 * posix/bits/unistd.h [__USE_MISC]: Remove redundant conditionals.
8113 * posix/glob.h [__USE_MISC]: Likewise.
8114 * posix/sys/types.h: Update #endif comments.
8115 [__USE_MISC]: Remove redundant conditionals.
8116 * posix/sys/wait.h: Update #endif comments.
8117 [__USE_MISC]: Remove redundant conditionals.
8118 * posix/unistd.h: Update #endif comments.
8119 [__USE_MISC]: Remove redundant conditionals.
8120 * pwd/pwd.h [__USE_GNU]: Likewise.
8121 [__USE_MISC]: Likewise.
8122 * resolv/netdb.h [__USE_GNU]: Likewise.
8123 * signal/signal.h: Update #endif comments.
8124 [__USE_MISC]: Remove redundant conditionals.
8125 * stdlib/stdlib.h: Update #else and #endif comments.
8126 [__USE_MISC]: Remove redundant conditionals.
8127 [__USE_GNU]: Likewise.
8128 * string/bits/string2.h [__USE_MISC]: Likewise.
8129 * string/string.h: Update #endif comments.
8130 [__USE_MISC]: Remove redundant conditionals.
8131 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h [__USE_MISC]:
8133 * sysdeps/mach/hurd/bits/fcntl.h [__USE_MISC]: Likewise.
8134 * sysdeps/mach/hurd/bits/stat.h [__USE_MISC]: Likewise.
8135 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h [__USE_MISC]:
8137 * sysdeps/unix/sysv/linux/alpha/bits/stat.h [__USE_MISC]:
8139 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Update #endif
8141 [__USE_MISC]: Remove redundant conditionals.
8142 * sysdeps/unix/sysv/linux/bits/in.h [__USE_GNU]: Likewise.
8143 * sysdeps/unix/sysv/linux/bits/sigaction.h [__USE_MISC]: Likewise.
8144 * sysdeps/unix/sysv/linux/bits/socket.h [__USE_GNU]: Likewise.
8145 * sysdeps/unix/sysv/linux/bits/stat.h [__USE_MISC]: Likewise.
8146 * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h [__USE_MISC]:
8148 * sysdeps/unix/sysv/linux/m68k/bits/stat.h [__USE_MISC]: Likewise.
8149 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h [__USE_MISC]:
8151 * sysdeps/unix/sysv/linux/mips/bits/stat.h [__USE_MISC]: Likewise.
8152 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h [__USE_MISC]:
8154 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h [__USE_MISC]:
8156 * sysdeps/unix/sysv/linux/s390/bits/stat.h [__USE_MISC]: Likewise.
8157 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h [__USE_MISC]:
8159 * sysdeps/unix/sysv/linux/sparc/bits/stat.h [__USE_MISC]:
8161 * sysdeps/unix/sysv/linux/x86/bits/stat.h [__USE_MISC]: Likewise.
8162 * sysdeps/x86/bits/string.h: Update #endif comments.
8163 * sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC]: Remove redundant
8165 * time/sys/time.h: Update #endif comments.
8166 * time/time.h: Likewise.
8167 [__USE_MISC]: Remove redundant conditionals.
8169 2014-02-21 Yury Gribov <y.gribov@samsung.com>
8172 * sysdeps/arm/libm-test-ulps: Update for VFPv4.
8174 2014-02-21 Andreas Schwab <schwab@linux-m68k.org>
8176 * Versions.def (librt): Add GLIBC_2.17.
8178 2014-02-21 Adam Conrad <adconrad@0c3.net>
8180 * sysdeps/powerpc/bits/hwcap.h: Allow _SYSDEPS_SYSDEP_H guard as a
8181 synonym for _SYS_AUXV_H to allow direct inclusion.
8182 * sysdeps/sparc/bits/hwcap.h: Likewise.
8183 * sysdeps/powerpc/sysdep.h: Define _SYSDEPS_SYSDEP_H instead of
8184 _SYS_AUXV_H so we can include sysdep.h and sys/auxv.h together.
8185 * sysdeps/sparc/sysdep.h: Likewise.
8187 2014-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
8189 * benchtests/bench-strrchr.c (do_test): Fix minor formatting.
8191 2014-02-21 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
8193 * benchtests/bench-strrchr.c: Print length instead of position.
8195 2014-02-20 Joseph Myers <joseph@codesourcery.com>
8198 * sysdeps/unix/sysv/linux/kernel-features.h
8199 [__LINUX_KERNEL_VERSION >= 0x030000 && __ASSUME_SOCKETCALL]
8200 (__ASSUME_SENDMMSG_SOCKETCALL): Define.
8201 [__LINUX_KERNEL_VERSION >= 0x030000 && (__i386__ || __x86_64__ ||
8202 __powerpc__ || __sh__ || __sparc__)] (__ASSUME_SENDMMSG_SYSCALL):
8204 [__i386__ || __powerpc__ || __sh__ || __sparc__]
8205 (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
8206 [__ASSUME_SENDMMSG_SOCKETCALL || __ASSUME_SENDMMSG_SYSCALL]
8207 (__ASSUME_SENDMMSG): Define instead of using previous
8208 [__LINUX_KERNEL_VERSION >= 0x020627] condition.
8209 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
8210 (__ASSUME_SENDMMSG_SYSCALL): Define.
8211 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
8212 [__LINUX_KERNEL_VERSION >= 0x030200] (__ASSUME_SENDMMSG_SYSCALL):
8214 * sysdeps/unix/sysv/linux/arm/kernel-features.h
8215 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
8217 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
8218 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
8220 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SOCKETCALL
8221 && !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
8222 !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
8223 [__ASSUME_SENDMMSG]: Change conditionals to
8224 [__ASSUME_SENDMMSG_SOCKETCALL].
8225 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
8226 [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_SENDMMSG_SYSCALL):
8228 * sysdeps/unix/sysv/linux/mips/kernel-features.h
8229 [__LINUX_KERNEL_VERSION >= 0x030100] (__ASSUME_SENDMMSG_SYSCALL):
8231 * sysdeps/unix/sysv/linux/sendmmsg.c [__ASSUME_SOCKETCALL &&
8232 !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
8233 !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
8234 [!__ASSUME_SENDMMSG]: Change conditional to
8235 [!__ASSUME_SENDMMSG_SOCKETCALL].
8236 * sysdeps/unix/sysv/linux/tile/kernel-features.h
8237 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
8241 * sysdeps/unix/sysv/linux/kernel-features.h
8242 [__LINUX_KERNEL_VERSION >= 0x020621 && __ASSUME_SOCKETCALL]
8243 (__ASSUME_RECVMMSG_SOCKETCALL): Define.
8244 [(__LINUX_KERNEL_VERSION >= 0x020621 && (__i386__ || __x86_64__ ||
8245 __sparc__)) || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__
8246 || __sh__))] (__ASSUME_RECVMMSG_SYSCALL): Likewise.
8247 [__i386__ || __sparc__]
8248 (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
8249 [__ASSUME_RECVMMSG_SOCKETCALL || __ASSUME_RECVMMSG_SYSCALL]
8250 (__ASSUME_RECVMMSG): Define instead of using previous
8251 [__LINUX_KERNEL_VERSION >= 0x020621] condition.
8252 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
8253 (__ASSUME_RECVMMSG_SYSCALL): Define.
8254 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
8255 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
8257 * sysdeps/unix/sysv/linux/arm/kernel-features.h
8258 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
8260 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
8261 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
8263 * sysdeps/unix/sysv/linux/internal_recvmmsg.S [__ASSUME_SOCKETCALL
8264 && !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
8265 !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
8266 [__ASSUME_RECVMMSG]: Change condition to
8267 [__ASSUME_RECVMMSG_SOCKETCALL].
8268 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
8269 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
8271 (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
8272 * sysdeps/unix/sysv/linux/mips/kernel-features.h
8273 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
8275 * sysdeps/unix/sysv/linux/recvmmsg.c [__ASSUME_SOCKETCALL &&
8276 !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
8277 !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
8278 [!__ASSUME_RECVMMSG]: Change condition to
8279 [!__ASSUME_RECVMMSG_SOCKETCALL].
8280 * sysdeps/unix/sysv/linux/tile/kernel-features.h
8281 (__ASSUME_RECVMMSG_SYSCALL): Define.
8284 * sysdeps/unix/sysv/linux/kernel-features.h [__i386__ ||
8285 __powerpc__ || __s390__ || __sh__ || __sparc__]
8286 (__ASSUME_SOCKETCALL): Define.
8287 [__LINUX_KERNEL_VERSION && __ASSUME_SOCKETCALL]
8288 (__ASSUME_ACCEPT4_SOCKETCALL): Likewise.
8289 [(__LINUX_KERNEL_VERSION >= 0x02061c && (__x86_64__ || __sparc__))
8290 || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__ ||
8291 __sh__))] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
8292 [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
8293 [__ASSUME_ACCEPT4_SOCKETCALL || __ASSUME_ACCEPT4_SYSCALL]
8294 (__ASSUME_ACCEPT4): Define instead of using previous
8295 [__LINUX_KERNEL_VERSION >= 0x02061c && (__i386__ || __x86_64__ ||
8296 __powerpc__ || __sparc__ || __s390__)] condition.
8297 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
8298 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
8299 * sysdeps/unix/sysv/linux/accept4.c [__ASSUME_SOCKETCALL &&
8300 !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
8301 !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
8302 [!__ASSUME_ACCEPT4]: Change condition to
8303 [!__ASSUME_ACCEPT4_SOCKETCALL].
8304 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
8305 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL. Correct
8306 condition to [__LINUX_KERNEL_VERSION >= 0x030200].
8307 * sysdeps/unix/sysv/linux/arm/kernel-features.h
8308 [__LINUX_KERNEL_VERSION >= 0x020624] (__ASSUME_ACCEPT4): Change to
8309 __ASSUME_ACCEPT4_SYSCALL.
8310 * sysdeps/unix/sysv/linux/i386/accept4.S [__ASSUME_ACCEPT4]:
8311 Change conditions to [__ASSUME_ACCEPT4_SOCKETCALL].
8312 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
8313 [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_ACCEPT4): Change to
8314 __ASSUME_ACCEPT4_SYSCALL.
8315 * sysdeps/unix/sysv/linux/internal_accept4.S [__ASSUME_SOCKETCALL
8316 && !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
8317 !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
8318 [__ASSUME_ACCEPT4]: Change condition to
8319 [__ASSUME_ACCEPT4_SOCKETCALL].
8320 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
8321 (__ASSUME_SOCKETCALL): Define.
8322 [__LINUX_KERNEL_VERSION >= 0x02061c] (__ASSUME_ACCEPT4): Remove.
8323 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
8324 (__ASSUME_SOCKETCALL): Define.
8325 (__ASSUME_ACCEPT4): Remove.
8326 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_ACCEPT4_SYSCALL):
8328 * sysdeps/unix/sysv/linux/mips/kernel-features.h
8329 [__LINUX_KERNEL_VERSION >= 0x02061f] (__ASSUME_ACCEPT4_SYSCALL):
8331 * sysdeps/unix/sysv/linux/tile/kernel-features.h
8332 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
8334 * sysdeps/unix/sysv/linux/arm/bits/hwcap.h (HWCAP_ARM_VFPD32): New
8336 (HWCAP_ARM_LPAE): Likewise.
8337 (HWCAP_ARM_EVTSTRM): Likewise.
8338 * sysdeps/unix/sysv/linux/arm/dl-procinfo.c (_dl_arm_cap_flags):
8339 Add vpfd32, lpae and evtstrm.
8340 * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_DL_HWCAP_COUNT):
8343 2014-02-19 Joseph Myers <joseph@codesourcery.com>
8345 * math/auto-libm-test-in: Add tests of clog10.
8346 * math/auto-libm-test-out: Regenerated.
8347 * math/libm-test.inc (clog10_test_data): Use AUTO_TESTS_c_c.
8348 * sysdeps/i386/fpu/libm-test-ulps: Update.
8349 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8351 2014-02-18 Andreas Schwab <schwab@suse.de>
8354 * resolv/res_send.c (send_vc): Add parameter ansp2_malloced.
8355 Store non-zero if the second buffer was newly allocated.
8356 (send_dg): Likewise.
8357 (__libc_res_nsend): Add parameter ansp2_malloced and pass it down
8358 to send_vc and send_dg.
8359 (res_nsend): Pass NULL for ansp2_malloced.
8360 * resolv/res_query.c (__libc_res_nquery): Add parameter
8361 answerp2_malloced and pass it down to __libc_res_nsend.
8362 (res_nquery): Pass additional NULL to __libc_res_nquery.
8363 (__libc_res_nsearch): Add parameter answerp2_malloced and pass it
8364 down to __libc_res_nquery and __libc_res_nquerydomain. Deallocate
8365 second answer buffer if answerp2_malloced was set.
8366 (res_nsearch): Pass additional NULL to __libc_res_nsearch.
8367 (__libc_res_nquerydomain): Add parameter
8368 answerp2_malloced and pass it down to __libc_res_nquery.
8369 (res_nquerydomain): Pass additional NULL to
8370 __libc_res_nquerydomain.
8371 * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Pass
8372 additional NULL to __libc_res_nsend and __libc_res_nquery.
8373 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Pass
8374 additional NULL to __libc_res_nsearch.
8375 (_nss_dns_gethostbyname4_r): Revert last change. Use new
8376 parameter of __libc_res_nsearch to check for separately allocated
8378 (_nss_dns_gethostbyaddr2_r): Pass additional NULL to
8380 * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Pass
8381 additional NULL to __libc_res_nquery.
8382 * resolv/gethnamaddr.c (gethostbyname2): Pass additional NULL to
8384 (gethostbyaddr): Pass additional NULL to __libc_res_nquery.
8385 * include/resolv.h: Update prototypes of __libc_res_nquery,
8386 __libc_res_nsearch, __libc_res_nsend.
8388 2014-02-18 Joseph Myers <joseph@codesourcery.com>
8390 * math/auto-libm-test-in: Add tests of fma.
8391 * math/auto-libm-test-out: Regenerated.
8392 * math/libm-test.inc (fma_test_data): Use AUTO_TESTS_fff_f.
8393 (fma_towardzero_test_data): Likewise.
8394 (fma_downward_test_data): Likewise.
8395 (fma_upward_test_data): Likewise.
8396 * math/gen-auto-libm-tests.c (rounding_mode_desc): Add field
8398 (rounding_modes): Add values for new field.
8399 (func_calc_method): Add value mpfr_fff_f.
8400 (func_calc_desc): Add mpfr_fff_f union field.
8401 (test_function): Add field exact_args.
8402 (FUNC): Add macro argument EXACT_ARGS.
8403 (FUNC_mpfr_f_f): Update call to FUNC.
8404 (FUNC_mpfr_f_f): Likewise.
8405 (FUNC_mpfr_ff_f): Likewise.
8406 (FUNC_mpfr_if_f): Likewise.
8407 (FUNC_mpc_c_f): Likewise.
8408 (FUNC_mpc_c_c): Likewise.
8409 (test_functions): Add fma. Update calls to FUNC.
8410 (handle_input_arg): Add argument exact_args.
8411 (add_test): Update call to handle_input_arg.
8412 (calc_generic_results): Add argument mode. Handle mpfr_fff_f.
8413 (output_for_one_input_case): Update call to calc_generic_results.
8414 Recalculate exact zero results in each rounding mode.
8416 * math/gen-auto-libm-tests.c (adjust_real): Ensure integers are
8417 non-negative before setting low bit.
8418 * math/auto-libm-test-in: Mark one asin test possibly having
8420 * math/auto-libm-test-out: Regenerated.
8421 * sysdeps/i386/fpu/libm-test-ulps: Update.
8422 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8424 2014-02-17 David Holsgrove <david.holsgrove@xilinx.com>
8426 * sysdeps/microblaze: Move directory from ports/sysdeps/microblaze.
8427 * sysdeps/unix/sysv/linux/microblaze: Move directory from
8428 ports/sysdeps/unix/sysv/linux/microblaze.
8429 * README: Add missing listing for microblaze*-*-linux-gnu.
8431 2014-02-16 Mike Frysinger <vapier@gentoo.org>
8433 * sysdeps/ia64: Move directory from ports/sysdeps/ia64.
8434 * sysdeps/unix/sysv/linux/ia64: Move directory from
8435 ports/sysdeps/unix/sysv/linux/ia64.
8436 * README: Update listing for ia64-*-linux-gnu.
8438 2014-02-14 Tomas Dohnalek <tdohnale@redhat.com>
8439 Joseph Myers <joseph@codesourcery.com>
8441 * Makeconfig (test-name): New variable.
8442 (evaluate-test): Likewise.
8443 * Makerules (do-test-clean): Remove .test-result files.
8444 (common-mostlyclean): Likewise.
8445 * Rules ($(objpfx)%.out): Use $(evaluate-test) in both rules.
8446 * scripts/evaluate-test.sh: New file.
8448 2014-02-14 Joseph Myers <joseph@codesourcery.com>
8450 * libio/Makefile ($(objpfx)tst-fopenloc.check): Split into
8451 separate $(objpfx)tst-fopenloc-cmp.out and
8452 $(objpfx)tst-fopenloc-mem.out targets.
8453 (tests): Update dependencies.
8454 * posix/Makefile (tests variable): Add tst-rxspencer-no-utf8.
8455 (generated): Change tst-rxspencer-mem and tst-rxspencer.mtrace to
8456 tst-rxspencer-no-utf8-mem and tst-rxspencer-no-utf8.mtrace.
8457 (tst-rxspencer-no-utf8-ARGS): New variable.
8458 (tst-rxspencer-no-utf8-ENV): Likewise.
8459 (tests target): Depend on $(objpfx)tst-rxspencer-no-utf8-mem
8460 instead of $(objpfx)tst-rxspencer-mem.
8461 ($(objpfx)tst-rxspencer-mem): Change target to
8462 $(objpfx)tst-rxspencer-no-utf8-mem. Depend on
8463 $(objpfx)tst-rxspencer-no-utf8.out instead of running test program.
8464 * posix/tst-rxspencer-no-utf8.c: New file.
8466 * elf/Makefile ($(objpfx)order.out): Remove rule.
8467 [$(run-built-tests) = yes] (tests): Depend on
8468 $(objpfx)order-cmp.out.
8469 ($(objpfx)order-cmp.out): New rule.
8470 [$(run-built-tests) = yes] (tests): Depend on
8471 $(objpfx)tst-array1-cmp.out, $(objpfx)tst-array1-static-cmp.out,
8472 $(objpfx)tst-array2-cmp.out, $(objpfx)tst-array3-cmp.out,
8473 $(objpfx)tst-array4-cmp.out, $(objpfx)tst-array5-cmp.out and
8474 $(objpfx)tst-array5-static-cmp.out.
8475 ($(objpfx)tst-array1.out): Remove rule.
8476 ($(objpfx)tst-array1-cmp.out): New rule.
8477 ($(objpfx)tst-array1-static.out): Remove rule.
8478 ($(objpfx)tst-array1-static-cmp.out): New rule.
8479 ($(objpfx)tst-array2.out): Remove rule.
8480 ($(objpfx)tst-array2-cmp.out): New rule.
8481 ($(objpfx)tst-array3.out): Remove rule.
8482 ($(objpfx)tst-array3-cmp.out): New rule.
8483 ($(objpfx)tst-array4.out): Remove rule.
8484 ($(objpfx)tst-array4-cmp.out): New rule.
8485 ($(objpfx)tst-array5.out): Remove rule.
8486 ($(objpfx)tst-array5-cmp.out): New rule.
8487 ($(objpfx)tst-array5-static.out): Remove rule.
8488 ($(objpfx)tst-array5-static-cmp.out): New rule.
8489 [$(run-built-tests) = yes] (tests): Depend on
8490 $(objpfx)order2-cmp.out.
8491 ($(objpfx)order2.out): Remove rule.
8492 ($(objpfx)order2-cmp.out): New rule.
8493 ($(objpfx)tst-initorder.out): Remove rule.
8494 [$(run-built-tests) = yes] (tests): Depend on
8495 $(objpfx)tst-initorder-cmp.out.
8496 ($(objpfx)tst-initorder-cmp.out): New rule.
8497 ($(objpfx)tst-initorder2.out): Remove rule.
8498 [$(run-built-tests) = yes] (tests): Depend on
8499 $(objpfx)tst-initorder2-cmp.out.
8500 ($(objpfx)tst-initorder2-cmp.out): New rule.
8501 [$(run-built-tests) = yes] (tests): Depend on
8502 $(objpfx)tst-unused-dep-cmp.out.
8503 ($(objpfx)tst-unused-dep-cmp.out): Do not run cmp.
8504 ($(objpfx)tst-unused-dep-cmp.out): New rule.
8505 * stdio-common/Makefile [$(run-built-tests) = yes] (tests): Depend
8506 on $(objpfx)tst-setvbuf1-cmp.out.
8507 ($(objpfx)tst-setvbuf1.out): Do not run cmp.
8508 ($(objpfx)tst-setvbuf1-cmp.out): New rule.
8509 * string/Makefile [$(run-built-tests) = yes] (tests): Depend
8510 $(objpfx)tst-svc-cmp.out instead of $(objpfx)tst-svc.out.
8511 ($(objpfx)tst-svc.out): Remove rule.
8512 ($(objpfx)tst-svc-cmp.out): New rule.
8514 2014-02-13 Joseph Myers <joseph@codesourcery.com>
8516 * bits/mman.h [__USE_MISC]: Remove redundant conditionals.
8517 * ctype/ctype.h [__USE_MISC]: Likewise.
8518 * dirent/dirent.h [__USE_MISC]: Likewise.
8519 * grp/grp.h [__USE_MISC]: Likewise.
8520 * io/fcntl.h [__USE_MISC]: Likewise.
8521 * io/sys/stat.h [__USE_MISC]: Likewise.
8522 * libio/stdio.h [__USE_MISC]: Likewise.
8523 * posix/unistd.h [__USE_MISC]: Likewise.
8524 * pwd/pwd.h [__USE_MISC]: Likewise.
8525 * stdlib.h [__USE_MISC]: Likewise.
8526 * string/bits/string2.h [__USE_MISC]: Likewise.
8527 * string/string.h [__USE_MISC]: Likewise.
8528 * time/time.h [__USE_MISC]: Likewise.
8530 2014-02-13 Andreas Schwab <schwab@suse.de>
8533 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Free the
8534 second answer buffer if it was separately allocated.
8536 2014-02-12 Joseph Myers <joseph@codesourcery.com>
8538 * sysdeps/mips/math-tests.h: Include <features.h>.
8539 [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
8540 (ROUNDING_TESTS_long_double): Do not define.
8541 [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
8542 (EXCEPTION_TESTS_long_double): Likewise.
8543 * sysdeps/mips/mips64/libm-test-ulps: Update.
8545 * include/features.h (__USE_BSD): Remove macro definitions.
8546 (__USE_SVID): Likewise.
8547 (_BSD_SOURCE): Likewise.
8548 (_SVID_SOURCE): Likewise.
8549 [!defined _BSD_SOURCE && !defined _SVID_SOURCE]: Remove condition
8550 from definition of _DEFAULT_SOURCE.
8551 [_BSD_SOURCE || _SVID_SOURCE]: Change condition to
8553 * bits/fcntl.h [__USE_BSD]: Change condition to [__USE_MISC].
8554 * bits/mman.h [__USE_BSD]: Likewise.
8555 * bits/termios.h [__USE_BSD]: Likewise.
8556 * bits/waitstatus.h [__USE_BSD]: Likewise.
8557 * ctype/ctype.h [__USE_SVID]: Likewise.
8558 * dirent/dirent.h [__USE_BSD]: Likewise.
8559 * grp/grp.h [__USE_SVID]: Likewise.
8560 [__USE_BSD]: Likewise.
8561 * inet/netinet/igmp.h [__USE_BSD]: Likewise.
8562 * io/fcntl.h [__USE_BSD]: Likewise.
8563 * io/ftw.h [__USE_BSD]: Likewise.
8564 * io/sys/stat.h [__USE_BSD]: Likewise.
8565 * libio/bits/stdio-ldbl.h [__USE_BSD]: Likewise.
8566 * libio/bits/stdio2.h [__USE_BSD]: Likewise.
8567 * libio/stdio.h [__USE_SVID]: Likewise.
8568 [__USE_BSD]: Likewise.
8569 * math/math.h [__USE_SVID]: Likewise.
8570 [__USE_BSD]: Likewise.
8571 * misc/bits/syslog-ldbl.h [__USE_BSD]: Likewise.
8572 * misc/bits/syslog.h [__USE_BSD]: Likewise.
8573 * misc/search.h [__USE_SVID]: Likewise.
8574 * misc/sys/mman.h [__USE_BSD]: Likewise.
8575 * misc/sys/syslog.h [__USE_BSD]: Likewise.
8576 * misc/sys/uio.h [__USE_BSD]: Likewise.
8577 * posix/bits/unistd.h [__USE_BSD]: Likewise.
8578 * posix/glob.h [__USE_BSD]: Likewise.
8579 * posix/regex.h [__USE_BSD]: Likewise.
8580 * posix/sys/types.h [__USE_BSD]: Likewise.
8581 [__USE_SVID]: Likewise.
8582 * posix/sys/utsname.h [__USE_SVID]: Likewise.
8583 * posix/sys/wait.h [__USE_BSD]: Likewise.
8584 [__USE_SVID]: Likewise.
8585 * posix/unistd.h [__USE_BSD]: Likewise.
8586 [__USE_SVID]: Likewise.
8587 * pwd/pwd.h [__USE_SVID]: Likewise.
8588 * resolv/netdb.h [__USE_BSD]: Likewise.
8589 * setjmp/setjmp.h [__USE_BSD]: Likewise.
8590 * signal/signal.h [__USE_BSD]: Likewise.
8591 [__USE_SVID]: Likewise.
8592 * socket/sys/socket.h [__USE_BSD]: Likewise.
8593 * stdlib/fmtmsg.h [__USE_SVID]: Likewise.
8594 * stdlib/stdlib.h [__USE_BSD]: Likewise.
8595 [__USE_SVID]: Likewise.
8596 * string/bits/string2.h [__USE_BSD]: Likewise.
8597 [__USE_SVID]: Likewise.
8598 * string/bits/string3.h [__USE_BSD]: Likewise.
8599 * string/endian.h [__USE_BSD]: Likewise.
8600 * string/string.h [__USE_SVID]: Likewise.
8601 [__USE_BSD]: Likewise.
8602 * string/strings.h [__USE_BSD]: Likewise.
8603 * sysdeps/generic/netinet/ip.h [__USE_BSD]: Likewise.
8604 * sysdeps/gnu/netinet/ip_icmp.h [__USE_BSD]: Likewise.
8605 * sysdeps/mach/hurd/bits/fcntl.h [__USE_BSD]: Likewise.
8606 * sysdeps/mach/hurd/bits/stat.h [__USE_BSD]: Likewise.
8607 * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_BSD]: Likewise.
8608 * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_BSD]:
8610 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_BSD]:
8612 * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_BSD]: Likewise.
8613 * sysdeps/unix/sysv/linux/bits/sys_errlist.h [__USE_BSD]:
8615 * sysdeps/unix/sysv/linux/bits/termios.h [__USE_BSD]: Likewise.
8616 * sysdeps/unix/sysv/linux/mips/bits/termios.h [__USE_BSD]:
8618 * sysdeps/unix/sysv/linux/netinet/if_ether.h [__USE_BSD]:
8620 * sysdeps/unix/sysv/linux/netinet/if_fddi.h [__USE_BSD]: Likewise.
8621 * sysdeps/unix/sysv/linux/netinet/if_tr.h [__USE_BSD]: Likewise.
8622 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_BSD]:
8624 * sysdeps/unix/sysv/linux/sparc/bits/termios.h [__USE_BSD]:
8626 * sysdeps/x86/bits/string.h [__USE_BSD]: Likewise.
8627 * sysvipc/sys/ipc.h [__USE_SVID]: Likewise.
8628 * termios/termios.h [__USE_BSD]: Likewise.
8629 * time/sys/time.h [__USE_BSD]: Likewise.
8630 * time/time.h [__USE_BSD]: Likewise.
8631 [__USE_SVID]: Likewise.
8633 * Makefile (subdir_targets): Remove subdir_lint.out.
8635 * stdio-common/Makefile (do-tst-unbputc): Remove target.
8636 (do-tst-printf): Likewise.
8637 (tests): Depend directly on $(objpfx)tst-unbputc.out and
8638 $(objpfx)tst-printf.out.
8640 * io/ftwtest-sh (testout): Change to $tmp/ftwtest-tmp.out.
8642 * Makerules (check-abi-%): Change target to
8643 $(objpfx)check-abi-%.out.
8644 (check-abi target): Update dependencies.
8645 (check-abi-pattern variable): Redirect output of diff to $@.
8646 (check-abi variable): Likewise.
8647 * elf/Makefile (check-abi): Update dependencies.
8649 * soft-fp/op-common.h (_FP_DECL): Mark exponent as possibly
8651 (_FP_PACK_SEMIRAW): Determine tininess based on rounding shifted
8652 value if _FP_TININESS_AFTER_ROUNDING and unrounded value is in
8654 (_FP_PACK_CANONICAL): Determine tininess based on rounding to
8655 normal precision if _FP_TININESS_AFTER_ROUNDING and unrounded
8656 value has largest subnormal exponent.
8657 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS]
8658 (_FP_TININESS_AFTER_ROUNDING): Undefine and redefine to 0.
8659 * sysdeps/aarch64/soft-fp/sfp-machine.h
8660 (_FP_TININESS_AFTER_ROUNDING): New macro.
8661 * sysdeps/alpha/soft-fp/sfp-machine.h
8662 (_FP_TININESS_AFTER_ROUNDING): Likewise.
8663 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
8665 * sysdeps/mips/mips64/soft-fp/sfp-machine.h
8666 (_FP_TININESS_AFTER_ROUNDING): Likewise.
8667 * sysdeps/mips/soft-fp/sfp-machine.h
8668 (_FP_TININESS_AFTER_ROUNDING): Likewise.
8669 * sysdeps/powerpc/soft-fp/sfp-machine.h
8670 (_FP_TININESS_AFTER_ROUNDING): Likewise.
8671 * sysdeps/sh/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
8673 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
8674 (_FP_TININESS_AFTER_ROUNDING): Likewise.
8675 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
8676 (_FP_TININESS_AFTER_ROUNDING): Likewise.
8677 * sysdeps/tile/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
8680 2014-02-12 Dylan Alex Simon <dylan@dylex.net>
8683 * sysdeps/x86_64/fpu/libm-test-ulps: Update on AMD family 21h
8686 2014-02-12 Richard Henderson <rth@redhat.com>
8688 * sysdeps/alpha: Move directory from ports/sysdeps/alpha.
8689 * sysdeps/unix/alpha: Move directory from ports/sysdeps/unix/alpha.
8690 * sysdeps/unix/sysv/linux/alpha: Move directory from
8691 ports/sysdeps/unix/sysv/linux/alpha.
8692 * README: Update listing for alpha-*-linux-gnu.
8694 2014-02-11 Joseph Myers <joseph@codesourcery.com>
8696 * include/features.h: Update comment documenting feature test
8698 [_BSD_SOURCE || _SVID_SOURCE]: Give #warning. Define
8700 * manual/creature.texi (_BSD_SOURCE): Remove documentation.
8701 (_SVID_SOURCE): Likewise.
8702 (_DEFAULT_SOURCE): Update description of default features.
8703 (Feature Test Macros): Don't mention _SVID_SOURCE in conjunction
8705 * manual/filesys.texi (__ftw_func_t): Do not refer to _BSD_SOURCE.
8706 (S_ISVTX): Likewise.
8707 * manual/math.texi (Mathematical Constants): Likewise.
8708 * manual/signal.texi (Interrupted Primitives): Likewise.
8709 * manual/startup.texi (putenv): Do not refer to _SVID_SOURCE.
8710 * math/test-matherr.c (_SVID_SOURCE): Do not define.
8711 * sysvipc/sys/ipc.h [__USE_SVID && !__USE_XOPEN && __GNUC__ >= 2]:
8712 Don't refer to _SVID_SOURCE in warning text.
8714 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
8716 * elf/dl-lookup.c (ELF_MACHINE_SYM_NO_MATCH): Define if not
8718 (do_lookup_x): Use ELF_MACHINE_SYM_NO_MATCH.
8719 * sysdeps/mips/dl-lookup.c: Remove.
8720 * sysdeps/mips/dl-machine.h (ELF_MACHINE_SYM_NO_MATCH): New macro.
8722 2014-02-11 Stefan Liebler <stli@linux.vnet.ibm.com>
8725 * math/auto-libm-test-in: Add testcase for expl.
8726 * math/auto-libm-test-out: Regenerate.
8727 * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Fix
8728 calculation of unsafe.
8729 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for added testcase.
8731 2014-02-11 Marcus Shawcroft <marcus.shawcroft@arm.com>
8733 * sysdeps/aarch64: Move directory from ports/sysdeps/aarch64.
8734 * sysdeps/unix/sysv/linux/aarch64: Move directory from
8735 ports/sysdeps/unix/sysv/linux/aarch64.
8736 * README: Update listing for aarch64*-*-linux-gnu.
8738 2014-02-11 Will Newton <will.newton@linaro.org>
8740 * manual/probes.texi (Mathematical Function Probes): Use
8741 "triggered" instead of "hit".
8743 * manual/probes.texi (Internal Probes): Add documentation
8744 of setjmp, longjmp and longjmp_target probes.
8746 * include/stap-probe.h: Add comment about probe argument
8749 * malloc/mtrace.c (attribute_hidden): Remove unused macro
8750 definition. (tr_where, tr_freehook, tr_mallochook,
8751 tr_reallochook, tr_memalignhook): Use ANSI protoype.
8753 2014-02-11 David S. Miller <davem@davemloft.net>
8755 * stdio-common/tst-sscanf.c (main): Use 'long' for 'dummy' when
8756 processing int_tests.
8758 2014-02-10 Joseph Myers <joseph@codesourcery.com>
8760 * sysdeps/mips: Move directory from ports/sysdeps/mips.
8761 * sysdeps/unix/mips: Move directory from ports/sysdeps/unix/mips.
8762 * sysdeps/unix/sysv/linux/mips: Move directory from
8763 ports/sysdeps/unix/sysv/linux/mips.
8764 * README: Update listing for mips-*-linux-gnu and
8767 2014-02-10 Andreas Schwab <schwab@linux-m68k.org>
8769 * sysdeps/m68k: Move directory from ports/sysdeps/m68k.
8770 * sysdeps/unix/sysv/linux/m68k: Move directory from
8771 ports/sysdeps/unix/sysv/linux/m68k.
8772 * README: Update listing for m68k-*-linux-gnu.
8774 2014-02-10 Chris Metcalf <cmetcalf@tilera.com>
8776 * sysdeps/tile: Move directory from ports/sysdeps/tile.
8777 * sysdeps/unix/sysv/linux/generic: Move directory from
8778 ports/sysdeps/unix/sysv/linux/generic.
8779 * sysdeps/unix/sysv/linux/tile: Move directory from
8780 ports/sysdeps/unix/sysv/linux/tile.
8781 * README: Update listing for tile*-*-linux-gnu.
8783 2014-02-10 Ondřej Bílka <neleai@seznam.cz>
8785 * assert/assert.c (__assert_fail_base): Use glibc_likely instead
8787 * benchtests/bench-memmem.c (simple_memmem): Likewise.
8788 * catgets/open_catalog.c (__open_catalog): Likewise.
8789 * csu/libc-start.c (LIBC_START_MAIN): Likewise.
8790 * debug/confstr_chk.c: Likewise.
8791 * debug/fread_chk.c (__fread_chk): Likewise.
8792 * debug/fread_u_chk.c (__fread_unlocked_chk): Likewise.
8793 * debug/getgroups_chk.c: Likewise.
8794 * debug/mbsnrtowcs_chk.c: Likewise.
8795 * debug/mbsrtowcs_chk.c: Likewise.
8796 * debug/mbstowcs_chk.c: Likewise.
8797 * debug/memcpy_chk.c: Likewise.
8798 * debug/memmove_chk.c: Likewise.
8799 * debug/mempcpy_chk.c: Likewise.
8800 * debug/memset_chk.c: Likewise.
8801 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
8802 * debug/strcat_chk.c (__strcat_chk): Likewise.
8803 * debug/strcpy_chk.c (__strcpy_chk): Likewise.
8804 * debug/strncat_chk.c (__strncat_chk): Likewise.
8805 * debug/vsnprintf_chk.c (___vsnprintf_chk): Likewise.
8806 * debug/vswprintf_chk.c (__vswprintf_chk): Likewise.
8807 * debug/wcpcpy_chk.c (__wcpcpy_chk): Likewise.
8808 * debug/wcpncpy_chk.c: Likewise.
8809 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
8810 * debug/wcscpy_chk.c (__wcscpy_chk): Likewise.
8811 * debug/wcsncat_chk.c (__wcsncat_chk): Likewise.
8812 * debug/wcsncpy_chk.c: Likewise.
8813 * debug/wcsnrtombs_chk.c: Likewise.
8814 * debug/wcsrtombs_chk.c: Likewise.
8815 * debug/wcstombs_chk.c: Likewise.
8816 * debug/wmemcpy_chk.c: Likewise.
8817 * debug/wmemmove_chk.c: Likewise.
8818 * debug/wmempcpy_chk.c: Likewise.
8819 * debug/wmemset_chk.c: Likewise.
8820 * dirent/scandirat.c (SCANDIRAT): Likewise.
8821 * dlfcn/dladdr1.c (dladdr1): Likewise.
8822 * dlfcn/dladdr.c (dladdr): Likewise.
8823 * dlfcn/dlclose.c (dlclose_doit): Likewise.
8824 * dlfcn/dlerror.c (__dlerror): Likewise.
8825 * dlfcn/dlinfo.c (dlinfo_doit): Likewise.
8826 * dlfcn/dlmopen.c (dlmopen_doit): Likewise.
8827 * dlfcn/dlopen.c (dlopen_doit): Likewise.
8828 * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
8829 * dlfcn/dlsym.c (dlsym_doit): Likewise.
8830 * dlfcn/dlvsym.c (dlvsym_doit): Likewise.
8831 * elf/dl-cache.c (_dl_load_cache_lookup): Likewise.
8832 * elf/dl-close.c (remove_slotinfo, _dl_close_worker, _dl_close):
8834 * elf/dl-conflict.c: Likewise.
8835 * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
8836 * elf/dl-dst.h: Likewise.
8837 * elf/dl-fini.c (_dl_sort_fini, _dl_fini): Likewise.
8838 * elf/dl-fptr.c (_dl_make_fptr): Likewise.
8839 * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
8840 * elf/dl-init.c (call_init, _dl_init): Likewise.
8841 * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym): Likewise.
8842 * elf/dl-load.c (_dl_dst_substitute, fillin_rpath, _dl_init_paths)
8843 (_dl_map_object_from_fd, open_verify, open_path, _dl_map_object):
8845 * elf/dl-lookup.c (do_lookup_x, add_dependency, _dl_lookup_symbol_x):
8847 * elf/dl-minimal.c (__libc_memalign): Likewise.
8848 * elf/dl-open.c (add_to_global, dl_open_worker, _dl_open): Likewise.
8849 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
8850 * elf/dl-runtime.c (_dl_fixup, _dl_profile_fixup): Likewise.
8851 * elf/dl-sym.c (do_sym): Likewise.
8852 * elf/dl-tls.c (tls_get_addr_tail, update_get_addr)
8853 (__tls_get_addr, _dl_tls_get_addr_soft): Likewise.
8854 * elf/dl-version.c (match_symbol, _dl_check_map_versions): Likewise.
8855 * elf/dl-writev.h (_dl_writev): Likewise.
8856 * elf/ldconfig.c (search_dir): Likewise.
8857 * elf/rtld.c (_dl_start_final, _dl_start, init_tls, do_preload)
8858 (dl_main): Likewise.
8859 * elf/setup-vdso.h (setup_vdso): Likewise.
8860 * grp/compat-initgroups.c (compat_call): Likewise.
8861 * grp/fgetgrent.c (fgetgrent): Likewise.
8862 * grp/initgroups.c (getgrouplist, initgroups): Likewise.
8863 * grp/putgrent.c (putgrent): Likewise.
8864 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
8866 * hurd/hurdinit.c: Likewise.
8867 * iconvdata/8bit-gap.c (struct): Likewise.
8868 * iconvdata/ansi_x3.110.c : Likewise.
8869 * iconvdata/big5.c : Likewise.
8870 * iconvdata/big5hkscs.c : Likewise.
8871 * iconvdata/cp1255.c: Likewise.
8872 * iconvdata/cp1258.c : Likewise.
8873 * iconvdata/cp932.c : Likewise.
8874 * iconvdata/euc-cn.c: Likewise.
8875 * iconvdata/euc-jisx0213.c : Likewise.
8876 * iconvdata/euc-jp.c: Likewise.
8877 * iconvdata/euc-jp-ms.c : Likewise.
8878 * iconvdata/euc-kr.c (euckr_from_ucs4): Likewise.
8879 * iconvdata/gb18030.c : Likewise.
8880 * iconvdata/gbbig5.c (const): Likewise.
8881 * iconvdata/gbgbk.c: Likewise.
8882 * iconvdata/gbk.c : Likewise.
8883 * iconvdata/ibm1364.c : Likewise.
8884 * iconvdata/ibm930.c : Likewise.
8885 * iconvdata/ibm932.c: Likewise.
8886 * iconvdata/ibm933.c : Likewise.
8887 * iconvdata/ibm935.c : Likewise.
8888 * iconvdata/ibm937.c : Likewise.
8889 * iconvdata/ibm939.c : Likewise.
8890 * iconvdata/ibm943.c: Likewise.
8891 * iconvdata/iso_11548-1.c: Likewise.
8892 * iconvdata/iso-2022-cn.c : Likewise.
8893 * iconvdata/iso-2022-cn-ext.c : Likewise.
8894 * iconvdata/iso-2022-jp-3.c: Likewise.
8895 * iconvdata/iso-2022-jp.c (gconv_end): Likewise.
8896 * iconvdata/iso-2022-kr.c : Likewise.
8897 * iconvdata/iso646.c (gconv_end): Likewise.
8898 * iconvdata/iso_6937-2.c : Likewise.
8899 * iconvdata/iso_6937.c : Likewise.
8900 * iconvdata/iso8859-1.c: Likewise.
8901 * iconvdata/johab.c (johab_sym_hanja_to_ucs): Likewise.
8902 * iconvdata/shift_jisx0213.c : Likewise.
8903 * iconvdata/sjis.c : Likewise.
8904 * iconvdata/t.61.c : Likewise.
8905 * iconvdata/tcvn5712-1.c : Likewise.
8906 * iconvdata/tscii.c: Likewise.
8907 * iconvdata/uhc.c : Likewise.
8908 * iconvdata/unicode.c (gconv_end): Likewise.
8909 * iconvdata/utf-16.c (gconv_end): Likewise.
8910 * iconvdata/utf-32.c (gconv_end): Likewise.
8911 * iconvdata/utf-7.c (base64): Likewise.
8912 * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
8913 * iconv/gconv_close.c (__gconv_close): Likewise.
8914 * iconv/gconv_open.c (__gconv_open): Likewise.
8915 * iconv/gconv_simple.c (internal_ucs4_loop_single)
8916 (ucs4_internal_loop, ucs4_internal_loop_unaligned)
8917 (ucs4_internal_loop_single, internal_ucs4le_loop_single)
8918 (ucs4le_internal_loop, ucs4le_internal_loop_unaligned)
8919 (ucs4le_internal_loop_single): Likewise.
8920 * iconv/iconv.c (iconv): Likewise.
8921 * iconv/iconv_close.c: Likewise.
8922 * iconv/loop.c (SINGLE): Likewise.
8923 * iconv/skeleton.c (FUNCTION_NAME): Likewise.
8924 * include/atomic.h: Likewise.
8925 * inet/inet6_option.c (option_alloc): Likewise.
8926 * intl/bindtextdom.c (set_binding_values): Likewise.
8927 * intl/dcigettext.c (DCIGETTEXT, _nl_find_msg): Likewise.
8928 * intl/loadmsgcat.c (_nl_load_domain): Likewise.
8929 * intl/localealias.c (read_alias_file): Likewise.
8930 * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
8931 * libio/fileops.c (_IO_file_open, _IO_file_underflow_mmap)
8932 (_IO_new_file_overflow, _IO_file_xsgetn_mmap): Likewise.
8933 * libio/fmemopen.c (fmemopen): Likewise.
8934 * libio/iofgets.c (_IO_fgets): Likewise.
8935 * libio/iofgets_u.c (fgets_unlocked): Likewise.
8936 * libio/iofgetws.c (fgetws): Likewise.
8937 * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
8938 * libio/iogetdelim.c (_IO_getdelim): Likewise.
8939 * libio/wfileops.c (_IO_wfile_underflow, _IO_wfile_underflow_mmap)
8940 (adjust_wide_data, _IO_wfile_seekoff): Likewise.
8941 * locale/findlocale.c (_nl_find_locale): Likewise.
8942 * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
8943 * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale):
8945 * locale/setlocale.c (setlocale): Likewise.
8946 * login/programs/pt_chown.c (main): Likewise.
8947 * malloc/arena.c (ptmalloc_init, shrink_heap, arena_get2): Likewise.
8948 * malloc/malloc.c (_int_malloc, _int_free): Likewise.
8949 * malloc/memusage.c (update_data, malloc, realloc, calloc, free)
8950 (mmap, mmap64, mremap, munmap): Likewise.
8951 * math/e_exp2l.c: Likewise.
8952 * math/e_scalb.c (invalid_fn, __ieee754_scalb): Likewise.
8953 * math/e_scalbf.c (invalid_fn, __ieee754_scalbf): Likewise.
8954 * math/e_scalbl.c (invalid_fn, __ieee754_scalbl): Likewise.
8955 * math/s_catan.c (__catan): Likewise.
8956 * math/s_catanf.c (__catanf): Likewise.
8957 * math/s_catanh.c (__catanh): Likewise.
8958 * math/s_catanhf.c (__catanhf): Likewise.
8959 * math/s_catanhl.c (__catanhl): Likewise.
8960 * math/s_catanl.c (__catanl): Likewise.
8961 * math/s_ccosh.c (__ccosh): Likewise.
8962 * math/s_ccoshf.c (__ccoshf): Likewise.
8963 * math/s_ccoshl.c (__ccoshl): Likewise.
8964 * math/s_cexp.c (__cexp): Likewise.
8965 * math/s_cexpf.c (__cexpf): Likewise.
8966 * math/s_cexpl.c (__cexpl): Likewise.
8967 * math/s_clog10.c (__clog10): Likewise.
8968 * math/s_clog10f.c (__clog10f): Likewise.
8969 * math/s_clog10l.c (__clog10l): Likewise.
8970 * math/s_clog.c (__clog): Likewise.
8971 * math/s_clogf.c (__clogf): Likewise.
8972 * math/s_clogl.c (__clogl): Likewise.
8973 * math/s_csin.c (__csin): Likewise.
8974 * math/s_csinf.c (__csinf): Likewise.
8975 * math/s_csinh.c (__csinh): Likewise.
8976 * math/s_csinhf.c (__csinhf): Likewise.
8977 * math/s_csinhl.c (__csinhl): Likewise.
8978 * math/s_csinl.c (__csinl): Likewise.
8979 * math/s_csqrt.c (__csqrt): Likewise.
8980 * math/s_csqrtf.c (__csqrtf): Likewise.
8981 * math/s_csqrtl.c (__csqrtl): Likewise.
8982 * math/s_ctan.c (__ctan): Likewise.
8983 * math/s_ctanf.c (__ctanf): Likewise.
8984 * math/s_ctanh.c (__ctanh): Likewise.
8985 * math/s_ctanhf.c (__ctanhf): Likewise.
8986 * math/s_ctanhl.c (__ctanhl): Likewise.
8987 * math/s_ctanl.c (__ctanl): Likewise.
8988 * math/w_pow.c: Likewise.
8989 * math/w_powf.c: Likewise.
8990 * math/w_powl.c: Likewise.
8991 * math/w_scalb.c (sysv_scalb): Likewise.
8992 * math/w_scalbf.c (sysv_scalbf): Likewise.
8993 * math/w_scalbl.c (sysv_scalbl): Likewise.
8994 * misc/error.c (error_tail): Likewise.
8995 * misc/pselect.c (__pselect): Likewise.
8996 * nis/nis_callback.c (__nis_create_callback): Likewise.
8997 * nis/nis_call.c (__nisfind_server): Likewise.
8998 * nis/nis_creategroup.c (nis_creategroup): Likewise.
8999 * nis/nis_domain_of_r.c (nis_domain_of_r): Likewise.
9000 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
9001 * nis/nis_getservlist.c (nis_getservlist): Likewise.
9002 * nis/nis_lookup.c (nis_lookup): Likewise.
9003 * nis/nis_subr.c (nis_leaf_of_r, nis_getnames): Likewise.
9004 * nis/nis_table.c (__create_ib_request, nis_list, nis_add_entry)
9005 (nis_modify_entry, nis_first_entry, nis_next_entry): Likewise.
9006 * nis/nis_xdr.c (xdr_endpoint): Likewise.
9007 * nis/nss_compat/compat-grp.c (getgrent_next_file)
9008 (internal_getgrnam_r, internal_getgrgid_r): Likewise.
9009 * nis/nss_compat/compat-initgroups.c (add_group)
9010 (internal_getgrent_r): Likewise.
9011 * nis/nss_compat/compat-pwd.c (getpwent_next_file)
9012 (internal_getpwnam_r, internal_getpwuid_r): Likewise.
9013 * nis/nss_compat/compat-spwd.c (getspent_next_file)
9014 (internal_getspnam_r): Likewise.
9015 * nis/nss_nis/nis-alias.c (internal_nis_getaliasent_r)
9016 (_nss_nis_getaliasbyname_r): Likewise.
9017 * nis/nss_nis/nis-ethers.c (_nss_nis_gethostton_r)
9018 (_nss_nis_getntohost_r): Likewise.
9019 * nis/nss_nis/nis-grp.c (internal_nis_setgrent)
9020 (internal_nis_getgrent_r, _nss_nis_getgrnam_r)
9021 (_nss_nis_getgrgid_r): Likewise.
9022 * nis/nss_nis/nis-hosts.c (_nss_nis_sethostent)
9023 (internal_nis_gethostent_r, internal_gethostbyname2_r)
9024 (_nss_nis_gethostbyname_r, _nss_nis_gethostbyaddr_r)
9025 (_nss_nis_gethostbyname4_r): Likewise.
9026 * nis/nss_nis/nis-initgroups.c (internal_getgrent_r)
9027 (initgroups_netid): Likewise.
9028 * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Likewise.
9029 * nis/nss_nis/nis-network.c (internal_nis_getnetent_r)
9030 (_nss_nis_getnetbyname_r, _nss_nis_getnetbyaddr_r): Likewise.
9031 * nis/nss_nis/nis-proto.c (_nss_nis_getprotobyname_r)
9032 (_nss_nis_getprotobynumber_r): Likewise.
9033 * nis/nss_nis/nis-publickey.c (_nss_nis_getpublickey)
9034 (_nss_nis_getsecretkey): Likewise.
9035 * nis/nss_nis/nis-pwd.c (_nis_saveit, internal_nis_setpwent)
9036 (internal_nis_getpwent_r, _nss_nis_getpwnam_r)
9037 (_nss_nis_getpwuid_r): Likewise.
9038 * nis/nss_nis/nis-rpc.c (internal_nis_getrpcent_r)
9039 (_nss_nis_getrpcbyname_r, _nss_nis_getrpcbynumber_r): Likewise.
9040 * nis/nss_nis/nis-service.c (dosearch, internal_nis_getservent_r)
9041 (_nss_nis_getservbyname_r, _nss_nis_getservbyport_r): Likewise.
9042 * nis/nss_nis/nis-spwd.c (_nss_nis_setspent)
9043 (internal_nis_getspent_r, _nss_nis_getspnam_r): Likewise.
9044 * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_getaliasbyname_r):
9046 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_gethostton_r)
9047 (_nss_nisplus_getntohost_r): Likewise.
9048 * nis/nss_nisplus/nisplus-grp.c (internal_nisplus_getgrent_r)
9049 (_nss_nisplus_getgrnam_r, _nss_nisplus_getgrgid_r): Likewise.
9050 * nis/nss_nisplus/nisplus-hosts.c (internal_gethostbyname2_r)
9051 (_nss_nisplus_gethostbyaddr_r, _nss_nisplus_gethostbyname4_r):
9053 * nis/nss_nisplus/nisplus-initgroups.c
9054 (_nss_nisplus_initgroups_dyn): Likewise.
9055 * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_getnetbyname_r)
9056 (_nss_nisplus_getnetbyaddr_r): Likewise.
9057 * nis/nss_nisplus/nisplus-proto.c (_nss_nisplus_getprotobyname_r)
9058 (_nss_nisplus_getprotobynumber_r): Likewise.
9059 * nis/nss_nisplus/nisplus-pwd.c (internal_nisplus_getpwent_r)
9060 (_nss_nisplus_getpwnam_r, _nss_nisplus_getpwuid_r): Likewise.
9061 * nis/nss_nisplus/nisplus-rpc.c (_nss_nisplus_getrpcbyname_r):
9063 * nis/nss_nisplus/nisplus-service.c
9064 (internal_nisplus_getservent_r, _nss_nisplus_getservbyname_r)
9065 (_nss_nisplus_getservbyport_r): Likewise.
9066 * nis/nss_nisplus/nisplus-spwd.c (internal_nisplus_getspent_r)
9067 (_nss_nisplus_getspnam_r): Likewise.
9068 * nis/ypclnt.c (__yp_bind, yp_match, yp_all, yp_maplist):
9070 * nscd/aicache.c (addhstaiX): Likewise.
9071 * nscd/cache.c (cache_search, prune_cache): Likewise.
9072 * nscd/connections.c (register_traced_file, send_ro_fd)
9073 (handle_request, nscd_run_prune, nscd_run_worker, fd_ready)
9074 (main_loop_epoll): Likewise.
9075 * nscd/grpcache.c (addgrbyX): Likewise.
9076 * nscd/hstcache.c (addhstbyX): Likewise.
9077 * nscd/initgrcache.c (addinitgroupsX): Likewise.
9078 * nscd/mem.c (gc, mempool_alloc): Likewise.
9079 * nscd/netgroupcache.c (do_notfound, addgetnetgrentX)
9080 (addinnetgrX): Likewise.
9081 * nscd/nscd-client.h (__nscd_acquire_maplock)
9082 (__nscd_drop_map_ref): Likewise.
9083 * nscd/nscd_getai.c (__nscd_getai): Likewise.
9084 * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
9085 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp, nscd_gethst_r):
9087 * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
9088 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
9089 * nscd/nscd_helper.c (__readvall, open_socket, __nscd_get_mapping)
9090 (__nscd_get_map_ref): Likewise.
9091 * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
9092 * nscd/nscd_netgroup.c (__nscd_setnetgrent, __nscd_innetgr):
9094 * nscd/pwdcache.c (addpwbyX): Likewise.
9095 * nscd/selinux.c (preserve_capabilities): Likewise.
9096 * nscd/servicescache.c (addservbyX): Likewise.
9097 * nss/nss_files/files-XXX.c (internal_getent): Likewise.
9098 * posix/fnmatch.c (fnmatch): Likewise.
9099 * posix/getopt.c (_getopt_internal_r): Likewise.
9100 * posix/glob.c (glob, glob_in_dir): Likewise.
9101 * posix/wordexp.c (exec_comm_child): Likewise.
9102 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r)
9103 (getanswer_r, gaih_getanswer_slice): Likewise.
9104 * resolv/nss_dns/dns-network.c (getanswer_r): Likewise.
9105 * resolv/res_init.c: Likewise.
9106 * resolv/res_mkquery.c (res_nmkquery): Likewise.
9107 * resolv/res_query.c (__libc_res_nquery): Likewise.
9108 * resolv/res_send.c (__libc_res_nsend, send_vc, reopen, send_dg):
9110 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Likewise.
9111 * stdio-common/perror.c (perror): Likewise.
9112 * stdio-common/printf_fp.c (___printf_fp): Likewise.
9113 * stdio-common/tmpnam.c (tmpnam): Likewise.
9114 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
9115 * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
9116 * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
9118 * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
9119 * stdlib/putenv.c (putenv): Likewise.
9120 * stdlib/setenv.c (__add_to_environ): Likewise.
9121 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
9122 * stdlib/strtol_l.c (INTERNAL): Likewise.
9123 * string/memmem.c (memmem): Likewise.
9124 * string/strerror.c (strerror): Likewise.
9125 * string/strnlen.c (__strnlen): Likewise.
9126 * string/test-memmem.c (simple_memmem): Likewise.
9127 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Likewise.
9128 * sunrpc/pm_getport.c (__get_socket): Likewise.
9129 * sysdeps/gnu/unwind-resume.c (init, _Unwind_Resume): Likewise.
9130 * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
9131 * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup)
9132 (elf_machine_rel, elf_machine_lazy_rel, elf_machine_lazy_rela):
9134 * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
9135 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
9136 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
9137 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Likewise.
9138 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
9139 * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1, __ieee754_y1):
9141 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn, __ieee754_yn):
9143 * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
9144 * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
9145 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
9146 * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
9147 * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
9148 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Likewise.
9149 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
9150 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Likewise.
9151 * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
9152 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
9153 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
9154 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
9156 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10):
9158 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2):
9160 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp): Likewise.
9161 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
9162 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo): Likewise.
9163 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (__round): Likewise.
9164 * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
9165 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r): Likewise.
9166 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
9167 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Likewise.
9168 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_nearbyint): Likewise.
9169 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Likewise.
9170 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c (__llroundl): Likewise.
9171 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
9172 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
9173 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
9174 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
9175 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
9177 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l, __ieee754_y0l):
9179 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l, __ieee754_y1l):
9181 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl, __ieee754_ynl):
9183 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
9184 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
9185 * sysdeps/posix/clock_getres.c (hp_timing_getres, realtime_getres):
9187 * sysdeps/posix/fdopendir.c (__fdopendir): Likewise.
9188 * sysdeps/posix/getaddrinfo.c (gaih_inet, getaddrinfo): Likewise.
9189 * sysdeps/posix/opendir.c (__opendirat): Likewise.
9190 * sysdeps/posix/sleep.c: Likewise.
9191 * sysdeps/posix/tempname.c: Likewise.
9192 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irela): Likewise.
9193 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
9195 * sysdeps/powerpc/powerpc32/dl-machine.h
9196 (elf_machine_runtime_setup, elf_machine_rela): Likewise.
9197 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
9198 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
9199 * sysdeps/pthread/aio_notify.c (__aio_notify_only): Likewise.
9200 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait, aio_suspend):
9202 * sysdeps/s390/dl-irel.h (elf_irela): Likewise.
9203 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup)
9204 (elf_machine_rela, elf_machine_lazy_rel): Likewise.
9205 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_runtime_setup)
9206 (elf_machine_rela, elf_machine_lazy_rel): Likewise.
9207 * sysdeps/s390/s390-64/utf16-utf32-z9.c (gconv_end): Likewise.
9208 * sysdeps/s390/s390-64/utf8-utf16-z9.c (gconv_end): Likewise.
9209 * sysdeps/s390/s390-64/utf8-utf32-z9.c (gconv_end): Likewise.
9210 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
9211 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Likewise.
9212 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela)
9213 (elf_machine_lazy_rel): Likewise.
9214 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
9215 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela)
9216 (elf_machine_lazy_rel): Likewise.
9217 * sysdeps/sparc/sparc64/dl-plt.h (sparc64_fixup_plt): Likewise.
9218 * sysdeps/unix/clock_gettime.c (hp_timing_gettime): Likewise.
9219 * sysdeps/unix/clock_settime.c (hp_timing_settime): Likewise.
9220 * sysdeps/unix/grantpt.c (grantpt): Likewise.
9221 * sysdeps/unix/sysv/linux/accept4.c (accept4): Likewise.
9222 * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Likewise.
9223 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
9224 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
9226 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
9227 * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
9228 * sysdeps/unix/sysv/linux/fchownat.c (fchownat): Likewise.
9229 * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Likewise.
9230 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
9231 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
9232 * sysdeps/unix/sysv/linux/i386/fallocate64.c (fallocate64): Likewise.
9233 * sysdeps/unix/sysv/linux/i386/fallocate.c (fallocate): Likewise.
9234 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Likewise.
9235 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
9236 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
9238 * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c
9239 (__posix_fallocate64_l64): Likewise.
9240 * sysdeps/unix/sysv/linux/i386/posix_fallocate.c
9241 (posix_fallocate): Likewise.
9242 * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
9244 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
9245 * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request)
9246 (getifaddrs_internal): Likewise.
9247 * sysdeps/unix/sysv/linux/linkat.c (linkat): Likewise.
9248 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Likewise.
9249 * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
9250 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
9251 * sysdeps/unix/sysv/linux/posix_fallocate64.c
9252 (__posix_fallocate64_l64): Likewise.
9253 * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
9255 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat): Likewise.
9256 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c
9257 (__get_clockfreq): Likewise.
9258 * sysdeps/unix/sysv/linux/readlinkat.c (readlinkat): Likewise.
9259 * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
9260 * sysdeps/unix/sysv/linux/renameat.c (renameat): Likewise.
9261 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
9262 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
9263 * sysdeps/unix/sysv/linux/sched_setaffinity.c: Likewise.
9264 * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
9265 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs, shm_open):
9267 * sysdeps/unix/sysv/linux/sleep.c (__sleep): Likewise.
9268 * sysdeps/unix/sysv/linux/symlinkat.c (symlinkat): Likewise.
9269 * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
9270 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Likewise.
9271 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
9272 * sysdeps/unix/sysv/linux/unlinkat.c (unlinkat): Likewise.
9273 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c (__fxstatat):
9275 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
9276 (posix_fallocate): Likewise.
9277 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
9278 * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
9279 * sysdeps/x86_64/dl-irel.h (elf_irela): Likewise.
9280 * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup)
9281 (elf_machine_rela, elf_machine_rela_relative)
9282 (elf_machine_lazy_rel): Likewise.
9283 * time/asctime.c (asctime_internal): Likewise.
9284 * time/tzfile.c (__tzfile_read, __tzfile_compute): Likewise.
9285 * time/tzset.c (__tzset_parse_tz): Likewise.
9286 * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
9287 * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
9288 * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Likewise.
9289 * wcsmbs/wcsmbsload.h: Likewise.
9292 * stdlib/setenv.c (__add_to_environ): Remove duplicate code.
9294 * malloc/arena.c (grow_heap, get_free_list, reused_arena)
9295 (arena_get2): Remove THREAD_STATS conditionals.
9296 * malloc/malloc.c (__malloc_assert, __libc_realloc, _int_free)
9297 (__malloc_stats, int): Likewise.
9299 2014-02-08 Mike Frysinger <vapier@gentoo.org>
9301 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Compare
9302 f.f_type to RAMFS_MAGIC too. Compare mp->mnt_type to shm too.
9304 * manual/setjmp.texi: Fix typos/grammar errors.
9306 * debug/tst-backtrace4.c (handle_signal): Add NUM_FUNCTIONS to output.
9307 Only return early when n is <= 0. Delete unused return statement.
9309 * debug/Makefile (CFLAGS-tst-longjmp_chk3.c): Define.
9310 (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
9311 * debug/tst-longjmp_chk3.c: New file.
9313 * benchtests/bench-strcpy_chk.c: Move test-skeleton.c to top.
9314 (test_main): Replace code with set_fortify_handler call.
9315 * debug/test-strcpy_chk.c: Likewise.
9316 * debug/tst-chk1.c: Likewise.
9317 * debug/tst-longjmp_chk.c: Likewise.
9318 * test-skeleton.c: Include fcntl.h & paths.h
9319 (set_fortify_handler): Define.
9321 * debug/tst-longjmp_chk.c: Add header comment and include
9323 (do_test): Mark static.
9324 (TEST_FUNCTION): Define.
9326 * sysdeps/unix/sysv/linux/bits/in.h (IP_NODEFRAG): Define.
9327 (IP_PMTUDISC_INTERFACE): Likewise.
9328 (IP_MULTICAST_IF): Likewise.
9329 (IP_MULTICAST_TTL): Likewise.
9330 (IP_MULTICAST_LOOP): Likewise.
9331 (IP_ADD_MEMBERSHIP): Likewise.
9332 (IP_DROP_MEMBERSHIP): Likewise.
9333 (IP_UNBLOCK_SOURCE): Likewise.
9334 (IP_BLOCK_SOURCE): Likewise.
9335 (IP_ADD_SOURCE_MEMBERSHIP): Likewise.
9336 (IP_DROP_SOURCE_MEMBERSHIP): Likewise.
9337 (IP_MSFILTER): Likewise.
9338 (MCAST_JOIN_GROUP): Likewise.
9339 (MCAST_BLOCK_SOURCE): Likewise.
9340 (MCAST_UNBLOCK_SOURCE): Likewise.
9341 (MCAST_LEAVE_GROUP): Likewise.
9342 (MCAST_JOIN_SOURCE_GROUP): Likewise.
9343 (MCAST_LEAVE_SOURCE_GROUP): Likewise.
9344 (MCAST_MSFILTER): Likewise.
9345 (IP_MULTICAST_ALL): Likewise.
9346 (IP_UNICAST_IF): Likewise.
9348 * timezone/Makefile: Delete $(have-ksh) check.
9349 ($(objpfx)tzselect): Change $(KSH) to $(BASH).
9350 * timezone/tzselect.ksh: Add +x mode bits.
9352 * sysdeps/unix/sysv/linux/linux_fsinfo.h (AFS_SUPER_MAGIC): Define.
9353 (ANON_INODE_FS_MAGIC): Likewise.
9354 (BDEVFS_MAGIC): Likewise.
9355 (BINFMTFS_MAGIC): Likewise.
9356 (BTRFS_TEST_MAGIC): Likewise.
9357 (CRAMFS_MAGIC_WEND): Likewise.
9358 (DEBUGFS_MAGIC): Likewise.
9359 (ECRYPTFS_SUPER_MAGIC): Likewise.
9360 (EXT3_SUPER_MAGIC): Likewise.
9361 (EXT4_SUPER_MAGIC): Likewise.
9362 (FUTEXFS_SUPER_MAGIC): Likewise.
9363 (HOSTFS_SUPER_MAGIC): Likewise.
9364 (HUGETLBFS_MAGIC): Likewise.
9365 (MINIX3_SUPER_MAGIC): Likewise.
9366 (MTD_INODE_FS_MAGIC): Likewise.
9367 (NILFS_SUPER_MAGIC): Likewise.
9368 (OPENPROM_SUPER_MAGIC): Likewise.
9369 (PIPEFS_MAGIC): Likewise.
9370 (PSTOREFS_MAGIC): Likewise.
9371 (QNX6_SUPER_MAGIC): Likewise.
9372 (RAMFS_MAGIC): Likewise.
9373 (REISERFS_SUPER_MAGIC_STRING): Likewise.
9374 (REISER2FS_SUPER_MAGIC_STRING): Likewise.
9375 (REISER2FS_JR_SUPER_MAGIC_STRING): Likewise.
9376 (SECURITYFS_MAGIC): Likewise.
9377 (SELINUX_MAGIC): Likewise.
9378 (SMACK_MAGIC): Likewise.
9379 (SOCKFS_MAGIC): Likewise.
9380 (SQUASHFS_MAGIC): Likewise.
9381 (STACK_END_MAGIC): Likewise.
9382 (TMPFS_MAGIC): Likewise.
9383 (USBDEVICE_SUPER_MAGIC): Likewise.
9384 (V9FS_MAGIC): Likewise.
9385 (XENFS_SUPER_MAGIC): Likewise.
9386 (CRAMFS_MAGIC): Fix typo in comment.
9387 (EXT2_SUPER_MAGIC): Update comment.
9388 (USBDEVFS_SUPER_MAGIC): Fix sorting order by moving further down.
9390 2014-02-08 Joseph Myers <joseph@codesourcery.com>
9392 * sysdeps/arm: Move directory from ports/sysdeps/arm.
9393 * sysdeps/unix/arm: Move directory from ports/sysdeps/unix/arm.
9394 * sysdeps/unix/sysv/linux/arm: Move directory from
9395 ports/sysdeps/unix/sysv/linux/arm.
9396 * README: Update listing for arm-*-linux-gnueabi.
9398 * README: Remove mention of am33.
9400 2014-02-07 Roland McGrath <roland@hack.frob.com>
9402 * bits/sigset.h (__sigemptyset): Use a statement expression rather
9403 than the comma operator, to avoid "rhs of comma has no effect"
9405 (__sigfillset, __sigandset, __sigorset): Likewise.
9406 * include/signal.h (__sigemptyset): Likewise.
9407 * sysdeps/generic/malloc-machine.h (mutex_lock): Likewise.
9409 2014-02-07 Allan McRae <allan@archlinux.org>
9411 * version.h (RELEASE): Set to "development".
9412 (VERSION): Set to "2.19.90"
9413 * NEWS: Add 2.20 section.
9415 2014-02-06 Carlos O'Donell <carlos@redhat.com>
9418 * inet/netinet/in.h: Remove comma after IPPROTO_MH.
9420 2014-02-06 Siddhesh Poyarekar <siddhesh@redhat.com>
9422 * manual/contrib.texi: Update entry for Carlos O'Donell,
9423 Joseph Myers, Roland McGrath, Alexandre Oliva and Ryan Arnold.
9425 2014-02-05 Carlos O'Donell <carlos@rehdat.com>
9427 * sysdeps/unix/sysv/linux/kernel-features.h: Fix comment.
9429 * sysdeps/unix/sysv/linux/kernel-features.h
9430 [__LINUX_KERNEL_VERSION >= 0x020621]
9431 (__ASSUME_PROC_PID_TASK_COMM): Define.
9433 2014-02-05 Siddhesh Poyarekar <siddhesh@redhat.com>
9436 * libio/wfileops.c (_IO_wfile_seekoff): Break out form
9437 conversion when destination buffer does not have enough space.
9438 * libio/tst-ftell-partial-wide.c: New test case.
9439 * libio/Makefile (tests): Add tst-ftell-partial-wide.
9441 * manual/contrib.texi: Update entry for Ondrej Bilka, Will
9442 Newton and Alexandre Oliva. Add entries for Steve Ellcey, Chris
9443 Leonard and Allan McRae.
9445 2014-02-04 David S. Miller <davem@davemloft.net>
9447 * sysdeps/sparc/fpu/libm-test-ulps: Update for some 64-bit differences from
9450 2014-02-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9452 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
9454 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
9456 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
9458 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
9460 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
9462 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
9464 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
9466 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
9468 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
9470 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
9472 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
9474 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
9476 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
9479 2014-02-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9481 * nptl/shlib-versions: Change powerpc*le start to 2.17.
9482 * shlib-versions: Likewise.
9484 2014-02-04 Roland McGrath <roland@hack.frob.com>
9485 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9487 * sysdeps/powerpc/Makefile [$(config-machine) ends with 'le']
9488 (abilist-pattern): New variable, set to %-le.abilist.
9490 * Makerules (abilist-pattern): New variable.
9491 (vpath): Use $(abilist-pattern) in place of %.abilist.
9492 (check-abi-% pattern rule): Likewise.
9493 (check-abi, update-abi): Likewise.
9495 2014-02-04 Eric Wong <normalperson@yhbt.net>
9497 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
9499 2014-02-03 Carlos O'Donell <carlos@redhat.com>
9501 * manual/startup.texi: Add next, previous, and top entries for
9502 the `Program Arguments' and `Environment Variables' nodes.
9504 2014-02-03 Alexandre Oliva <aoliva@redhat.com>
9506 * manual/macros.texi: Add comments before MTASC-safety macros.
9508 * manual/users.texi: Document MTASC-safety properties.
9510 * manual/threads.texi (pthread_key_create, pthread_key_delete)
9511 (pthread_getspecific, pthread_setspecific): Format with
9512 @deftypefun, and add @safety note.
9513 * manual/signal.texi: Move comments that analyze the above
9514 functions to their home place.
9516 2014-02-03 Allan McRae <allan@archlinux.org>
9518 * po/sl.po: Update Slovenian translation from translation project.
9520 2014-02-02 Alexandre Oliva <aoliva@redhat.com>
9522 * manual/time.texi (timegm): Add missing blank after @c.
9523 Reported by Joseph Myers <joseph@codesourcery.com>.
9525 2014-02-01 Alexandre Oliva <aoliva@redhat.com>
9527 * manual/check-safety.sh: New.
9528 * manual/Makefile ($(objpfx)stamp-summary): Run it.
9530 * manual/terminal.texi: Document MTASC-safety properties.
9532 * manual/filesys.texi: Document MTASC-safety properties.
9534 * manual/errno.texi: Document MTASC-safety properties.
9536 * manual/intro.texi: Document safety identifiers and
9539 * manual/string.texi (wcstok): Fix prototype.
9540 (wcstok, strtok, strtok_r): Adjust reentrancy remarks.
9542 * manual/time.texi: Document MTASC-safety properties.
9544 * manual/string.texi: Document MTASC-safety properties.
9546 * manual/threads.texi: Document MTASC-safety properties.
9548 * manual/stdio.texi: Document MTASC-safety properties.
9550 * manual/syslog.texi: Document MTASC-safety properties.
9552 * manual/sysinfo.texi: Document MTASC-safety properties.
9554 * manual/startup.texi: Document MTASC-safety properties.
9556 * manual/socket.texi: Document MTASC-safety properties.
9558 * manual/signal.texi: Document MTASC-safety properties.
9560 2014-01-31 Alexandre Oliva <aoliva@redhat.com>
9562 * manual/setjmp.texi: Document MTASC-safety properties.
9564 * manual/search.texi: Document MTASC-safety properties.
9566 * manual/resource.texi: Document MTASC-safety properties.
9568 * manual/process.texi: Document MTASC-safety properties.
9570 * manual/platform.texi: Document MTASC-safety properties.
9572 * manual/pipe.texi: Document MTASC-safety properties.
9574 * manual/pattern.texi: Document MTASC-safety properties.
9576 * manual/message.texi: Document MTASC-safety properties.
9579 * manual/memory.texi: Document MTASC-safety properties.
9581 * manual/math.texi: Document MTASC-safety properties.
9583 * manual/locale.texi: Document MTASC-safety properties.
9585 * manual/llio.texi: Document MTASC-safety properties.
9587 * manual/libdl.texi: New.
9589 * manual/lang.texi: Document MTASC-safety properties.
9591 * manual/job.texi: Document MTASC-safety properties.
9593 * manual/getopt.texi: Document MTASC-safety properties.
9595 * manual/ctype.texi: Document MTASC-safety properties.
9597 2014-01-31 Maciej W. Rozycki <macro@codesourcery.com>
9600 * csu/libc-tls.c (static_map): Remove variable.
9601 (__libc_setup_tls): Use main executable's link map for TLS data.
9602 * elf/dl-close.c (_dl_close_worker) [!SHARED]: Remove special
9603 casing for LM_ID_BASE and GL(dl_nns).
9604 * elf/dl-iteratephdr.c [!SHARED] (dl_iterate_phdr): Remove
9605 function. Alias dl_iterate_phdr to __dl_iterate_phdr.
9606 * elf/dl-load.c (_dl_map_object) [!SHARED]: Remove special
9607 casing for GL(dl_ns)[LM_ID_BASE]._ns_loaded.
9608 * elf/dl-support.c (_dl_main_map): Also initialize l_flags_1
9610 (_dl_non_dynamic_init): Also initialize _dl_main_map's l_phdr and
9613 2014-01-30 Alexandre Oliva <aoliva@redhat.com>
9615 * manual/debug.texi: Document MTASC-safety properties.
9617 2014-01-29 H.J. Lu <hongjiu.lu@intel.com>
9620 * sysdeps/x86/fpu/bits/mathinline.h: Check __SSE2_MATH__ instead
9621 of __x86_64__ when disabling x87 inline functions.
9623 2014-01-29 Alexandre Oliva <aoliva@redhat.com>
9625 * manual/charset.texi: Document MTASC-safety properties.
9627 * manual/crypt.texi: Document MTASC-safety properties.
9629 * manual/conf.texi: Document MTASC-safety properties.
9631 * manual/arith.texi: Document MTASC-safety properties.
9633 * manual/argp.texi: Document MTASC-safety properties.
9635 * manual/macros.texi: Introduce macros to document multi
9636 thread, asynchronous signal and asynchronous cancellation
9638 * manual/intro.texi: Introduce the properties themselves.
9640 2014-01-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
9642 * sysdeps/sh/sh4/Makefile: New file.
9644 2014-01-27 Andreas Schwab <schwab@linux-m68k.org>
9646 * math/gen-libm-test.pl ($srcdir): New variable.
9647 ($auto_input): Use it.
9649 2014-01-27 Siddhesh Poyarekar <siddhesh@redhat.com>
9652 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Avoid
9653 access beyond array bounds when parsing netgroups file.
9655 * nscd/netgroupcache.c (addgetnetgrentX): Compute offset from
9656 the old buffer before realloc.
9658 2014-01-27 Allan McRae <allan@archlinux.org>
9660 * po/fr.po: Update French translation from translation project.
9662 2014-01-26 Kaz Kojima <kkojima@rr.iij4u.or.jp>
9664 * sysdeps/sh/libm-test-ulps: Regenerate.
9666 2014-01-24 David S. Miller <davem@davemloft.net>
9668 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate.
9670 2014-01-25 Kaz Kojima <kkojima@rr.iij4u.or.jp>
9672 * sysdeps/sh/sh4/fpu/libm-test-ulps: Move to ...
9673 * sysdeps/sh/libm-test-ulps: ... here and regenerated.
9675 2013-01-24 Siddhesh Poyarekar <siddhesh@redhat.com>
9678 * nscd/netgroupcache.c (addgetnetgrentX): Adjust triplet
9679 string pointers after reallocation.
9681 2014-01-24 Kaz Kojima <kkojima@rr.iij4u.or.jp>
9683 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Use __SH4__ and
9684 __SH4A__ instead of __SH_FPU_ANY__.
9686 2014-01-23 Kaz Kojima <kkojima@rr.iij4u.or.jp>
9688 * sysdeps/sh/fpu_control.h: New file.
9689 * sysdeps/sh/sh4/fpu/fpu_control.h: Remove.
9690 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: New file.
9691 * sysdeps/unix/sysv/linux/sh/sh3/sys/ucontext.h: Remove.
9692 * sysdeps/unix/sysv/linux/sh/sh3/sys: Remove directory.
9693 * sysdeps/unix/sysv/linux/sh/sh4/sys/ucontext.h: Remove.
9694 * sysdeps/unix/sysv/linux/sh/sh4/sys: Remove directory.
9695 * sysdeps/sh/sys/ucontext.h: Remove.
9696 * sysdeps/sh/sys: Remove directory.
9698 2014-01-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
9700 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Merge into
9701 s390/sys/ucontext.h.
9702 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise.
9703 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: New file.
9705 2014-01-20 H.J. Lu <hongjiu.lu@intel.com>
9708 * sysdeps/x86_64/x32/symbol-hacks.h: Include generic symbol-hacks.h.
9710 2014-01-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9713 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
9714 Adjust the vDSO correctly for internal calls.
9715 * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
9717 2014-01-20 Allan McRae <allan@archlinux.org>
9719 * po/ca.po: Update Catalan translation from translation project.
9721 2014-01-16 Mike Frysinger <vapier@gentoo.org>
9723 * sysdeps/s390/sotruss-lib.c: New file.
9725 2014-01-16 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9728 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c
9729 (__GI___gettimeofday): Alias for a different internal symbol to avoid
9730 local calls issues by not having a PLT stub required for IFUNC calls.
9731 * sysdeps/unix/sysv/linux/powerpc/time.c (__GI_time): Likewise.
9733 2014-01-16 Joseph Myers <joseph@codesourcery.com>
9735 * math/test-fpucw-ieee.c: Use <> in #include of test-fpucw.c.
9736 * math/test-fpucw-static.c: Likewise.
9738 2013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
9741 * nscd/netgroupcache.c (addgetnetgrentX): Don't use alloca.
9743 2014-01-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9745 * sysdeps/powerpc/sotruss-lib.c: New file: sotruss-lib.so
9746 implementation for powerpc.
9748 2014-01-15 Ondřej Bílka <neleai@seznam.cz>
9751 * sysdeps/posix/system.c (__libc_system): Do not enable
9752 asynchronous cancellation.
9754 2014-01-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
9757 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Invoke the non-IEEE
9758 handling only for numbers special also in the IEEE case.
9760 2014-01-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
9762 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
9764 2014-01-11 Allan McRae <allan@archlinux.org>
9766 * po/bg.po: Update Bulgarian translation from translation project.
9768 * po/de.po: Update German translation from translation project.
9770 2014-01-10 Roland McGrath <roland@hack.frob.com>
9772 * sysdeps/generic/gcc-compat.h: New file.
9774 2014-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
9776 * benchtests/asin-inputs: Correct slow inputs.
9777 * benchtests/acos-inputs: Likewise.
9779 2014-01-10 Allan McRae <allan@archlinux.org>
9781 * po:sv.po: Update Swedish translation from translation project.
9783 * po/vi.po: Update Vietnamese translation from translation project.
9785 * po/eo.po: Update Esperanto translation from translation project.
9787 * po/cs.po: Update Czech translation from translation project.
9789 * po/nl.po: Update Dutch translation from translation project.
9791 * po/pl.po: Update Polish translation from translation project.
9793 * po/ru.po: Update Russian translation from translation project.
9795 * po/uk.po: Update Ukrainian translation from translation project.
9797 2014-01-08 Brooks Moses <bmoses@google.com>
9799 * elf/dl-load.c: Fix comment typo.
9801 2014-01-08 Carlos O'Donell <carlos@redhat.com>
9803 * po/header.pot: Rename to...
9804 * po/pot.header: ... this.
9805 * po/Makefile: Use pot.header.
9807 2014-01-08 Yuriy Kaminskiy <yumkam@gmail.com>
9808 Maxim Kuvyrkov <maxim@kugelworks.com>
9811 * sysdeps/i386/i686/memmove.S (memmove): Compare distance between
9812 SRC and DEST against LEN.
9814 2014-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9817 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Remove wrong
9819 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Remove bogus comment.
9821 2014-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9823 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9825 2014-01-08 Joseph Myers <joseph@codesourcery.com>
9828 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Use __expl
9829 for large positive arguments.
9831 2014-01-07 Joseph Myers <joseph@codesourcery.com>
9833 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
9835 * math/auto-libm-test-in: Mark various tests with
9836 xfail-rounding:ldbl-128ibm.
9837 * math/auto-libm-test-out: Regenerated.
9840 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
9841 Increase overflow threshold.
9843 2014-01-07 Ondřej Bílka <neleai@seznam.cz>
9846 * stdio-common/vfprintf.c: Check for integer overflow.
9848 2014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
9850 * sysdeps/s390/dl-tls.h: sysdeps/s390/dl-tls.h: Remove casts for
9851 the first argument and return value of __tls_get_addr_internal.
9853 2014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
9855 * sysdeps/s390/s390-32/dl-machine.h: Gate the definition of refsym
9856 also with !RTLD_BOOTSTRAP to get rid of unused variable warning.
9858 2014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
9860 * sysdeps/s390/Makefile: Build rtld-global-offsets.sym.
9861 * sysdeps/s390/rtld-global-offsets.sym: New file.
9862 * sysdeps/unix/sysv/linux/s390/Versions: Add getcontext as new
9864 * sysdeps/unix/sysv/linux/s390/getcontext.S: New file.
9865 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Rename to ...
9866 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
9868 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Rename to ...
9869 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
9871 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
9873 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
9875 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Restore upper
9876 halfs of GPRs for high_gprs contexts.
9877 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Save and
9878 restore upper halfs of GPRs for high_gprs contexts. Copy uc_flags
9880 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Copy
9882 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Split into 32 and
9884 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Add field
9885 for high GPRs (uc_high_gprs) and for future extensions
9887 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Add field
9888 for future extensions (__reserved).
9889 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Split into 32 and
9891 * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym: Add
9892 SC_HIGHGPRS offset definition.
9893 * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.sym: New file.
9894 * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: New file.
9896 * Versions.def: Add GLIBC_2.19 for libpthread.
9897 * nptl/sysdeps/unix/sysv/linux/s390/Versions: Add longjmp and
9898 siglongjmp for libpthread with GLIBC_2.19 symver.
9899 * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: New file.
9900 * sysdeps/s390/Makefile: Build v1-longjmp.c and v1-sigjmp.c.
9901 * sysdeps/s390/Versions: New GLIBC_2.19 and GLIBC_PRIVATE symbols.
9902 * sysdeps/s390/__longjmp.c: New file.
9903 * sysdeps/s390/bits/setjmp.h: Add new fields to __s390_jmp_buf.
9904 * sysdeps/s390/longjmp.c: New file.
9905 * sysdeps/s390/setjmp.S: New file.
9906 * sysdeps/s390/sigjmp.S: New file.
9907 * sysdeps/s390/v1-longjmp.c: New file.
9908 * sysdeps/s390/v1-setjmp.h: New file.
9909 * sysdeps/s390/v1-sigjmp.c: New file.
9910 * sysdeps/unix/sysv/linux/s390/Makefile: Build __longjmp_chk.
9911 * sysdeps/unix/sysv/linux/s390/Versions: Add __longjmp_chk with
9913 * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: New file.
9914 * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Provide
9915 versioned symbols for ____longjmp_chk.
9916 * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
9918 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
9920 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
9922 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
9924 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
9926 * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: New file.
9927 * sysdeps/s390/s390-32/__longjmp.c: Rename to ...
9928 * sysdeps/s390/s390-32/__longjmp-common.c: ... this.
9929 * sysdeps/s390/s390-32/setjmp.S: Rename and adjust to ...
9930 * sysdeps/s390/s390-32/setjmp-common.S: ... this.
9931 * sysdeps/s390/s390-64/__longjmp.c: Rename to ...
9932 * sysdeps/s390/s390-64/__longjmp-common.c: ... this.
9933 * sysdeps/s390/s390-64/setjmp.S: Rename and adjust to ...
9934 * sysdeps/s390/s390-64/setjmp-common.S: ... this.
9935 * sysdeps/s390/rtld-__longjmp.c: New file.
9936 * sysdeps/s390/rtld-setjmp.S: New file.
9938 2014-01-06 Joseph Myers <joseph@codesourcery.com>
9941 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
9942 Return -__logl (x) for small positive arguments without evaluating
9945 2014-01-06 Mike Frysinger <vapier@gentoo.org>
9947 * sysdeps/unix/sysv/linux/sys/ptrace.h (ptrace_peeksiginfo_args):
9949 (__ptrace_peeksiginfo_args): ... this.
9950 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
9951 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
9952 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
9954 2014-01-06 Allan McRae <allan@archlinux.org>
9956 * inet/netinet/in.h: Fix typo in comment.
9958 2014-01-05 Andreas Jaeger <aj@suse.de>
9960 * sysdeps/i386/fpu/libm-test-ulps: Update.
9962 2014-01-05 Allan McRae <allan@archlinux.org>
9964 * po/libc.pot: Regenerated.
9966 * malloc/memusagestat.c: Fix gettext call formatting.
9968 2014-01-04 Sami Kerola <kerolasa@iki.fi>
9970 * nscd/nscd.c: Improve usage() output.
9972 2014-01-04 Mike Frysinger <vapier@gentoo.org>
9974 * config.h.in: Add HAVE_LINUX_FANOTIFY_H template.
9975 * sysdeps/unix/sysv/linux/configure: Regenerated.
9976 * sysdeps/unix/sysv/linux/configure.ac: Call AC_DEFINE.
9977 * sysdeps/unix/sysv/linux/tst-fanotify.c: Include config.h.
9979 2014-01-03 Joseph Myers <joseph@codesourcery.com>
9982 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
9983 (CFLAGS-e_atan2l.c): Use -fno-builtin-fabsl.
9985 2014-01-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9987 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Remove
9988 extra tokens at end of #undef directive.
9989 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
9990 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
9991 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
9993 2014-01-03 Joseph Myers <joseph@codesourcery.com>
9995 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
9997 * math/auto-libm-test-in: Mark various tests with
9998 xfail-rounding:ldbl-128ibm.
9999 * math/auto-libm-test-out: Regenerated.
10001 2014-01-02 Joseph Myers <joseph@codesourcery.com>
10004 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Adjust
10005 numbers with subnormal high part when calculating exponent.
10008 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use fabsl not
10012 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (ln2): Initialize with
10014 (__ieee754_acoshl): Use __log1pl not __log1p.
10016 2013-01-02 Ondřej Bílka <neleai@seznam.cz>
10018 * malloc/arena.c (malloc_atfork, free_atfork, ptmalloc_lock_all)
10019 (ptmalloc_unlock_all, ptmalloc_unlock_all2, next_env_entry)
10020 (__failing_morecore, ptmalloc_init, dump_heap, new_heap)
10021 (grow_heap, heap_trim, _int_new_arena, get_free_list)
10022 (reused_arena, arena_get2): Convert to GNU style.
10023 * malloc/hooks.c (memalign_hook_ini, __malloc_check_init)
10024 (mem2mem_check, mem2chunk_check, top_check, realloc_check)
10025 (memalign_check, __malloc_set_state): Likewise.
10026 * malloc/mallocbug.c (main): Likewise.
10027 * malloc/malloc.c (__malloc_assert, malloc_init_state)
10028 (free_perturb, do_check_malloced_chunk, do_check_malloc_state)
10029 (sysmalloc, systrim, mremap_chunk, __libc_malloc, __libc_free)
10030 (__libc_realloc, _mid_memalign, _int_malloc, malloc_consolidate)
10031 (_int_realloc, _int_memalign, mtrim, musable, __libc_mallopt)
10032 (__posix_memalign, malloc_info): Likewise.
10033 * malloc/malloc.h: Likewise.
10034 * malloc/mcheck.c (checkhdr, unlink_blk, link_blk, freehook)
10035 (mallochook, memalignhook, reallochook, mabort): Likewise.
10036 * malloc/mcheck.h: Likewise.
10037 * malloc/memusage.c (update_data, me, malloc, realloc, calloc)
10038 (free, mmap, mmap64, mremap, munmap, dest): Likewise.
10039 * malloc/memusagestat.c (main, parse_opt, more_help): Likewise.
10040 * malloc/morecore.c (__default_morecore): Likewise.
10041 * malloc/mtrace.c (tr_break, lock_and_info, mtrace): Likewise.
10042 * malloc/obstack.c (_obstack_begin, _obstack_newchunk)
10043 (_obstack_allocated_p, obstack_free, _obstack_memory_used)
10044 (print_and_abort): Likewise.
10045 * malloc/obstack.h: Likewise.
10046 * malloc/set-freeres.c (__libc_freeres): Likewise.
10047 * malloc/tst-mallocstate.c (main): Likewise.
10048 * malloc/tst-mtrace.c (main): Likewise.
10049 * malloc/tst-realloc.c (do_test): Likewise.
10051 2013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
10054 * nscd/netgroupcache.c (do_notfound): New function.
10055 (addgetnetgrentX): Use it.
10058 * nscd/netgroupcache.c (addgetnetgrentX): Break if status is
10059 NSS_STATUS_NOTFOUND.
10061 2014-01-01 Joseph Myers <joseph@codesourcery.com>
10063 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
10064 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10066 2014-01-01 Allan McRae <allan@archlinux.org>
10068 * scripts/update-copyrights: Update configure input file suffix.
10070 * NEWS: Update copyright year.
10071 * catgets/gencat.c: Likewise.
10072 * csu/version.c: Likewise.
10073 * debug/catchsegv.sh: Likewise.
10074 * debug/pcprofiledump.c: Likewise.
10075 * debug/xtrace.sh: Likewise.
10076 * elf/ldconfig.c: Likewise.
10077 * elf/ldd.bash.in: Likewise.
10078 * elf/pldd.c: Likewise.
10079 * elf/sotruss.ksh: Likewise.
10080 * elf/sprof.c: Likewise.
10081 * iconv/iconv_prog.c: Likewise.
10082 * iconv/iconvconfig.c: Likewise.
10083 * locale/programs/locale.c: Likewise.
10084 * locale/programs/localedef.c: Likewise.
10085 * login/programs/pt_chown.c: Likewise.
10086 * malloc/memusage.sh: Likewise.
10087 * malloc/memusagestat.c: Likewise.
10088 * malloc/mtrace.pl: Likewise.
10089 * manual/libc.texinfo: Likewise.
10090 * nscd/nscd.c: Likewise.
10091 * nss/getent.c: Likewise.
10092 * nss/makedb.c: Likewise.
10093 * posix/getconf.c: Likewise.
10094 * scripts/test-installation.pl: Likewise.
10096 * All files with FSF copyright notices: Update copyright dates
10097 using scripts/update-copyrights.
10098 * intl/plural.c: Regenerated.
10099 * locale/programs/charmap-kw.h: Likewise.
10100 * locale/programs/locfile-kw.h: Likewise.
10102 2013-12-31 Mike Frysinger <vapier@gentoo.org>
10104 * sysdeps/unix/sysv/linux/configure: Regenerated.
10105 * sysdeps/unix/sysv/linux/configure.ac: Call AC_CHECK_HEADER on
10106 the linux/fanotify.h header.
10107 * sysdeps/unix/sysv/linux/tst-fanotify.c: Check if
10108 HAVE_LINUX_FANOTIFY_H is defined.
10110 2013-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
10112 * benchtests/cos-inputs: New inputs.
10113 * benchtests/sin-inputs: Likewise.
10115 * benchtests/atan-inputs: New inputs. Fix name of multiple
10116 precision fallback inputs.
10118 * benchtests/atanh-inputs: New inputs.
10119 * benchtests/tanh-inputs: Likewise.
10121 * benchtests/acosh-inputs: New inputs.
10122 * benchtests/asinh-inputs: Likewise.
10124 * benchtests/cosh-inputs: New inputs.
10125 * benchtests/sinh-inputs: Likewise.
10127 * benchtests/acos-inputs: Add more inputs.
10128 * benchtests/asin-inputs: Likewise.
10130 2013-12-30 Ville Skytta <ville.skytta@iki.fi>
10133 * manual/arith.texi: Fix spelling.
10134 * manual/charset.texi: Likewise.
10135 * manual/errno.texi: Likewise.
10136 * manual/filesys.texi: Likewise.
10137 * manual/lang.texi: Likewise.
10138 * manual/llio.texi: Likewise.
10139 * manual/locale.texi: Likewise.
10140 * manual/message.texi: Likewise.
10141 * manual/resource.texi: Likewise.
10142 * manual/search.texi: Likewise.
10143 * manual/setjmp.texi: Likewise.
10144 * manual/stdio.texi: Likewise.
10145 * manual/string.texi: Likewise.
10146 * manual/sysinfo.texi: Likewise.
10147 * manual/time.texi: Likewise.
10149 2013-12-27 Carlos O'Donell <carlos@redhat.com>
10151 * po/sl.po: New file.
10153 2013-12-27 Mike Frysinger <vapier@gentoo.org>
10155 * .gitignore: Add core/.gdbinit/.gdb_history.
10157 2013-12-27 Allan McRae <allan@archlinux.org>
10160 * sysdeps/ieee754/dbl-64/s_sin.c (csloww): Fix variable name.
10161 Reported by Il'ya Malakhov <ilmalakhov@yandex.ru>
10163 2013-12-24 Brooks Moses <bmoses@google.com>
10165 * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Define for
10166 all compilers that claim C++98 compliance, not just GCC.
10167 * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
10170 2013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
10172 * NEWS: Restore accidentally deleted bug-fix entries.
10174 2013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
10175 Ondřej Bílka <neleai@seznam.cz>
10178 * malloc/malloc.c (_int_free): Perform sanity check only if we
10181 2013-12-23 Ondřej Bílka <neleai@seznam.cz>
10184 * manual/stdio.texi (String Input Conversions): Clarify that character
10185 classes are not supported.
10187 2013-12-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10189 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10191 2013-12-22 Joseph Myers <joseph@codesourcery.com>
10194 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
10195 Calculate results for small negative arguments directly rather
10196 than using reflection formula with special underflow handling.
10198 * sysdeps/mach/hurd/Implies: Change unix/bsd/bsd4.4 to unix/bsd.
10199 * sysdeps/unix/bsd/syscalls.list (chflags): Add entry from
10200 sysdeps/unix/bsd/bsd4.4/syscalls.list.
10201 (fchflags): Likewise.
10202 (revoke): Likewise.
10203 (setlogin): Likewise.
10204 (sigaltstack): Likewise.
10206 (sigblock): Remove.
10207 (sigsetmask): Likewise.
10209 (waitpid): Likewise.
10210 * sysdeps/unix/bsd/bsd4.4/syscalls.list: Remove file.
10211 * sysdeps/unix/sysv/linux/wait3.c: Update directory of included
10213 * sysdeps/unix/bsd/bsd4.4/Makefile: Move to ...
10214 * sysdeps/unix/bsd/Makefile: ... here.
10215 * sysdeps/unix/bsd/bsd4.4/Versions: Move to ...
10216 * sysdeps/unix/bsd/Versions: ... here.
10217 * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Move to ...
10218 * sysdeps/unix/bsd/bits/sockaddr.h: ... here.
10219 * sysdeps/unix/bsd/bsd4.4/cmsg_nxthdr.c: Move to ...
10220 * sysdeps/unix/bsd/cmsg_nxthdr.c: ... here.
10221 * sysdeps/unix/bsd/bsd4.4/sigblock.c: Move to ...
10222 * sysdeps/unix/bsd/sigblock.c: ... here.
10223 * sysdeps/unix/bsd/bsd4.4/sigsetmask.c: Move to ...
10224 * sysdeps/unix/bsd/sigsetmask.c: ... here.
10225 * sysdeps/unix/bsd/bsd4.4/sigvec.c: Move to ...
10226 * sysdeps/unix/bsd/sigvec.c: ... here.
10227 * sysdeps/unix/bsd/bsd4.4/tcdrain.c: Move to ...
10228 * sysdeps/unix/bsd/tcdrain.c: ... here.
10229 * sysdeps/unix/bsd/bsd4.4/tcgetattr.c: Move to ...
10230 * sysdeps/unix/bsd/tcgetattr.c: ... here.
10231 * sysdeps/unix/bsd/bsd4.4/tcsetattr.c: Move to ...
10232 * sysdeps/unix/bsd/tcsetattr.c: ... here.
10233 * sysdeps/unix/bsd/bsd4.4/wait.c: Move to ...
10234 * sysdeps/unix/bsd/wait.c: ... here.
10235 * sysdeps/unix/bsd/bsd4.4/wait3.c: Move to ...
10236 * sysdeps/unix/bsd/wait3.c: ... here.
10237 * sysdeps/unix/bsd/bsd4.4/waitpid.c: Move to ...
10238 * sysdeps/unix/bsd/waitpid.c: ... here.
10240 2013-12-21 Joseph Myers <joseph@codesourcery.com>
10243 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Also set
10244 round-to-nearest for [!USE_AS_EXPM1L].
10245 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
10246 * math/auto-libm-test-in: Do not expect cosh tests to fail. Add
10247 more tests of exp and exp10. Expect some exp10 tests to miss
10248 exceptions or fail in directed rounding modes.
10249 * math/auto-libm-test-out: Regenerated.
10250 * math/libm-test.inc (exp10_tonearest_test_data): New array.
10251 (exp10_test_tonearest): New function.
10252 (exp10_towardzero_test_data): New array.
10253 (exp10_test_towardzero): New function.
10254 (exp10_downward_test_data): New array.
10255 (exp10_test_downward): New function.
10256 (exp10_upward_test_data): New array.
10257 (exp10_test_upward): New function.
10258 (main): Call the new functions.
10259 * sysdeps/i386/fpu/libm-test-ulps: Update.
10260 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10262 2013-12-20 Joseph Myers <joseph@codesourcery.com>
10264 * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
10265 asinh, atan, atan2, atanh, cbrt, cos and cosh.
10266 * math/auto-libm-test-out: Regenerated.
10267 * math/libm-test.inc (acosh_test_data): Add more tests.
10268 (atanh_test_data): Likewise.
10269 (ceil_test_data): Likewise.
10270 (copysign_test_data): Likewise.
10271 * sysdeps/i386/fpu/libm-test-ulps: Update.
10272 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10274 * timezone/checktab.awk: Update from tzcode 2013i.
10275 * timezone/private.h: Likewise.
10276 * timezone/scheck.c: Likewise.
10277 * timezone/tzfile.h: Likewise.
10278 * timezone/tzselect.ksh: Likewise.
10279 * timezone/zdump.c: Likewise.
10280 * timezone/zic.c: Likewise.
10282 * math/auto-libm-test-in: Add tests of cpow.
10283 * math/auto-libm-test-out: Regenerated.
10284 * math/libm-test.inc (cpow_test_data): Use AUTO_TESTS_cc_c.
10285 * math/gen-auto-libm-tests.c (func_calc_method): Add value
10287 (func_calc_desc): Add mpc_cc_c union field.
10288 (test_functions): Add cpow.
10289 (special_fill_2pi): New function.
10290 (special_real_inputs): Add 2pi.
10291 (calc_generic_results): Handle mpc_cc_c.
10292 * sysdeps/i386/fpu/libm-test-ulps: Update.
10293 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10295 * math/auto-libm-test-in: Add tests of ccos, ccosh, cexp, clog,
10296 csqrt, ctan and ctanh.
10297 * math/auto-libm-test-out: Regenerated.
10298 * math/libm-test.inc (TEST_COND_x86_64): New macro.
10299 (TEST_COND_x86): Likewise.
10300 (ccos_test_data): Use AUTO_TESTS_c_c.
10301 (ccosh_test_data): Likewise.
10302 (cexp_test_data): Likewise.
10303 (clog_test_data): Likewise.
10304 (csqrt_test_data): Likewise.
10305 (ctan_test_data): Likewise.
10306 (ctan_tonearest_test_data): Likewise.
10307 (ctan_towardzero_test_data): Likewise.
10308 (ctan_downward_test_data): Likewise.
10309 (ctan_upward_test_data): Likewise.
10310 (ctanh_test_data): Likewise.
10311 (ctanh_tonearest_test_data): Likewise.
10312 (ctanh_towardzero_test_data): Likewise.
10313 (ctanh_downward_test_data): Likewise.
10314 (ctanh_upward_test_data): Likewise.
10315 * math/gen-auto-libm-tests.c (func_calc_method): Add value
10317 (func_calc_desc): Add mpc_c_c union field.
10318 (FUNC_mpc_c_c): New macro.
10319 (test_functions): Add cacos, cacosh, casin, casinh, catan, catanh,
10320 ccos, ccosh, cexp, clog, clog10, csin, csinh, csqrt, ctan and
10322 (special_fill_min_subnorm_p120): New function.
10323 (special_real_inputs): Add min_subnorm_p120.
10324 (calc_generic_results): Handle mpc_c_c.
10325 * sysdeps/i386/fpu/libm-test-ulps: Update.
10326 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10328 2013-12-20 Siddhesh Poyarekar <siddhesh@redhat.com>
10330 * sysdeps/ieee754/dbl-64/s_sin.c (do_cos, do_cos_slow, do_sin)
10331 (do_sin_slow): New functions.
10332 (__sin, __cos, slow1, slow2, sloww1, sloww2, bsloww1, bsloww2)
10333 (cslow2, csloww1, csloww2): Use the new functions.
10335 * sysdeps/ieee754/dbl-64/s_sin.c (sloww1): Add new argument M.
10336 Use M to change sign of result instead of X. Assume X is
10338 (csloww1): Likewise.
10342 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Remove
10343 arguments A and DA.
10347 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use DA directly.
10349 (sloww1): Don't adjust sign of DX.
10350 (csloww1): Likewise.
10351 (sloww2): Use X directly and don't adjust sign of DX.
10352 (csloww2): Likewise.
10354 2013-12-19 Joseph Myers <joseph@codesourcery.com>
10356 * math/auto-libm-test-in: Add tests of cabs and carg.
10357 * math/auto-libm-test-out: Regenerated.
10358 * math/libm-test.inc (cabs_test_data): Use AUTO_TESTS_c_f.
10359 (carg_test_data): Likewise.
10360 * math/gen-auto-libm-tests.c (func_calc_method): Add value
10362 (func_calc_desc): Add mpc_c_f union field.
10363 (test_functions): Add cabs and carg.
10364 (calc_generic_results): Handle mpc_c_f.
10366 * sysdeps/powerpc/powerpc32/libgcc-compat.S
10367 [_SOFT_FLOAT || __NO_FPRS__] (__fixdfdi_v_glibc20): Do not define
10368 as a macro and a compat symbol.
10369 [_SOFT_FLOAT || __NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
10370 [_SOFT_FLOAT || __NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
10371 [_SOFT_FLOAT || __NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
10372 [_SOFT_FLOAT || __NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
10373 [_SOFT_FLOAT || __NO_FPRS__] (__floaddisf_v_glibc20): Likewise.
10374 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixdfdi): Do
10376 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixsfdi):
10378 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunsdfdi):
10380 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunssfdi):
10382 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddidf):
10384 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddisf):
10386 * sysdeps/powerpc/nofpu/Versions (libc): Remove __fixdfdi,
10387 __fixsfdi, __fixunsdfdi, __fixunssfdi, __floatdidf and __floatdisf
10390 2013-12-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10392 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10394 2013-12-19 Joseph Myers <joseph@codesourcery.com>
10396 * manual/texinfo.tex: Update to version 2013-11-26.10 with
10397 trailing whitespace removed.
10398 * scripts/config.guess: Update to version 2013-11-29.
10399 * scripts/config.sub: Update to version 2013-10-01.
10401 * math/auto-libm-test-in: Add tests of sincos.
10402 * math/auto-libm-test-out: Regenerated.
10403 * math/libm-test.inc (sincos_test_data): Use AUTO_TESTS_fFF_11.
10404 * math/gen-auto-libm-tests.c (func_calc_method): Add value
10406 (func_calc_desc): Add mpfr_f_11 union field.
10407 (test_functions): Add sincos.
10408 (calc_generic_results): Handle mpfr_f_11.
10409 * sysdeps/i386/fpu/libm-test-ulps: Update.
10410 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10412 2013-12-19 Andreas Schwab <schwab@suse.de>
10414 * sysdeps/powerpc/powerpc64/power7/memchr.S: Fix argument of
10416 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
10417 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S
10418 [USE_IN_EXTENDED_LOCALE_MODEL]: Likewise.
10420 2013-12-19 Joseph Myers <joseph@codesourcery.com>
10422 * math/gen-libm-test.pl (%beautify): Remove M_* constants.
10423 * sysdeps/i386/fpu/libm-test-ulps: Update.
10424 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10427 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Set
10428 round-to-nearest mode when using frndint.
10429 * sysdeps/i386/fpu/s_expm1.S (__expm1): Likewise.
10430 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
10431 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
10433 * math/auto-libm-test-in: Add more tests of expm1. Do not expect
10435 * math/auto-libm-test-out: Regenerated.
10436 * math/libm-test.inc (TEST_COND_x86_64): Remove macro.
10437 (TEST_COND_x86): Likewise.
10438 (expm1_tonearest_test_data): New array.
10439 (expm1_test_tonearest): New function.
10440 (expm1_towardzero_test_data): New array.
10441 (expm1_test_towardzero): New function.
10442 (expm1_downward_test_data): New array.
10443 (expm1_test_downward): New function.
10444 (expm1_upward_test_data): New array.
10445 (expm1_test_upward): New function.
10446 (main): Run the new test functions.
10447 * sysdeps/i386/fpu/libm-test-ulps: Update.
10448 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10450 * include/features.h: Update comment documenting feature test
10451 macros. Mention _DEFAULT_SOURCE in comment.
10452 [_GNU_SOURCE] (_DEFAULT_SOURCE): Undefine and redefine.
10453 [_DEFAULT_SOURCE]: Undefine and redefine _DEFAULT_SOURCE,
10454 _BSD_SOURCE and _SVID_SOURCE.
10455 [!__STRICT_ANSI__ && !_ISOC99_SOURCE && !_POSIX_SOURCE &&
10456 !_POSIX_C_SOURCE && !_XOPEN_SOURCE && !_BSD_SOURCE &&
10457 !_SVID_SOURCE]: Likewise.
10458 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
10459 (__USE_POSIX_IMPLICITLY): Define.
10460 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
10461 (_POSIX_SOURCE): Undefine and redefine.
10462 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
10463 (_POSIX_C_SOURCE): Likewise.
10464 * manual/creature.texi (_DEFAULT_SOURCE): Document.
10465 (Feature Test Macros): Update documentation of default features.
10467 2013-12-19 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
10469 * benchtests/Makefile: Add bench-strtok.
10470 * benchtests/bench-strtok.c: New file: strtok benchtest.
10472 2013-12-19 Allan McRae <allan@archlinux.org>
10474 * manual/install.texi: Suppress menu for plain text output.
10475 * INSTALL: Regenerated.
10477 2013-12-18 Brooks Moses <bmoses@google.com>
10480 * misc/getauxval.c: Include errno.h.
10481 (__getauxval): Set errno to ENOENT if the requested type is not
10483 * misc/sys/auxv.h (getauxval): Document that it may set errno;
10484 don't declare with __attribute_const__.
10485 * elf/tst-auxv.c: Add tests for errno and type-not-found case.
10486 * manual/startup.texi: Document that getauxval sets errno.
10488 2013-12-18 Joseph Myers <joseph@codesourcery.com>
10490 * math/auto-libm-test-in: Add tests of jn and yn.
10491 * math/auto-libm-test-out: Regenerated.
10492 * math/libm-test.inc (jn_test_data): Use AUTO_TESTS_if_f.
10493 (yn_test_data): Likewise.
10494 * math/gen-auto-libm-tests.c (func_calc_method): Add value
10496 (func_calc_desc): Add mpfr_if_f union field.
10497 (FUNC_mpfr_if_f): New macro.
10498 (test_functions): Add jn and yn.
10499 (calc_generic_results): Assert type of second input for
10500 mpfr_ff_f. Handle mpfr_if_f.
10501 (output_for_one_input_case): Disable all checking for arguments
10502 fitting floating-point types in case of an integer argument.
10503 * sysdeps/i386/fpu/libm-test-ulps: Update.
10504 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10506 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
10507 Don't expect fegetround reference in libm.so.
10509 2013-12-17 Marcus Shawcroft <marcus.shawcroft@linaro.org>
10511 * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_sqrt.c): Add
10512 $(config-cflags-nofma).
10514 2013-12-18 Joseph Myers <joseph@codesourcery.com>
10516 * math/auto-libm-test-in: Mark some hypot tests no-test-inline.
10517 * math/auto-libm-test-out: Regenerated.
10520 * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Use __frexpl
10521 to determine exponent and adjust argument to have exponent of -1.
10522 * math/auto-libm-test-in: Add more tests of log, log10, log1p and
10524 * math/auto-libm-test-out: Regenerated.
10525 * sysdeps/i386/fpu/libm-test-ulps: Update.
10526 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10528 2013-12-18 Ondřej Bílka <neleai@seznam.cz>
10530 * manual/probes.texi: Remove cases when per-thread arenas are
10533 2013-12-18 Andreas Schwab <schwab@suse.de>
10535 * sysdeps/i386/i686/multiarch/strstr.c: Remove.
10536 * sysdeps/i386/i686/multiarch/strstr-c.c: Remove.
10537 * sysdeps/i386/i686/multiarch/strcasestr.c: Remove.
10538 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: Remove.
10539 * sysdeps/i386/i686/multiarch/Makefile: Update.
10540 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Update.
10542 2013-12-17 Joseph Myers <joseph@codesourcery.com>
10544 * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Remove file.
10545 * sysdeps/unix/bsd/bsd4.4/bits/ioctls.h: Likewise.
10547 2013-12-17 Paul Eggert <eggert@cs.ucla.edu>
10550 Support TZ transition times < 00:00:00.
10551 This is needed for version-3 tz-format files; it supports time
10552 stamps past 2037 for America/Godthab (the only entry in the tz
10553 database for which this change is relevant).
10554 * manual/time.texi (TZ Variable): Document transition times
10555 from -167:59:59 through -00:00:01.
10556 * time/tzset.c (tz_rule): Time of day is now signed.
10557 (__tzset_parse_tz): Parse negative time of day.
10559 Document TZ transition times >= 25:00:00.
10560 * manual/time.texi (TZ Variable): Document transition times from
10561 25:00:00 through 167:59:59. These are already supported, and this
10562 support will help with version-3 tz-format files.
10564 * manual/time.texi (TZ Variable): Modernize North America example
10565 to reflect current (i.e., 2007-and-later) daylight saving rules.
10567 * manual/time.texi (TZ Variable): POSIX.1 hour can be 24.
10569 2013-12-17 Joseph Myers <joseph@codesourcery.com>
10571 * sysdeps/unix/bsd/bits/posix_opt.h: Remove file.
10572 * sysdeps/unix/bsd/bits/stat.h: Likewise.
10573 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/environments.h: Likewise.
10574 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
10575 * sysdeps/unix/bsd/bsd4.4/freebsd/sys/sysmacros.h: Likewise.
10576 * sysdeps/unix/bsd/bsdstat.h: Likewise.
10577 * sysdeps/unix/bsd/clock.c: Likewise.
10578 * sysdeps/unix/bsd/i386/vfork.S: Likewise.
10579 * sysdeps/unix/bsd/i386/wait3.S: Likewise.
10580 * sysdeps/unix/bsd/init-posix.c: Likewise.
10581 * sysdeps/unix/bsd/poll.c: Likewise.
10582 * sysdeps/unix/bsd/ptsname.c: Likewise.
10583 * sysdeps/unix/bsd/seekdir.c: Likewise.
10584 * sysdeps/unix/bsd/setegid.c: Likewise.
10585 * sysdeps/unix/bsd/seteuid.c: Likewise.
10586 * sysdeps/unix/bsd/setgid.c: Likewise.
10587 * sysdeps/unix/bsd/setrgid.c: Likewise.
10588 * sysdeps/unix/bsd/setruid.c: Likewise.
10589 * sysdeps/unix/bsd/setsid.c: Likewise.
10590 * sysdeps/unix/bsd/setuid.c: Likewise.
10591 * sysdeps/unix/bsd/sigaction.c: Likewise.
10592 * sysdeps/unix/bsd/sigprocmask.c: Likewise.
10593 * sysdeps/unix/bsd/sigsuspend.c: Likewise.
10594 * sysdeps/unix/bsd/sys/reboot.h: Likewise.
10595 * sysdeps/unix/bsd/telldir.c: Likewise.
10596 * sysdeps/unix/bsd/times.c: Likewise.
10597 * sysdeps/unix/bsd/usleep.c: Likewise.
10599 * misc/Makefile (install-lib): Remove libbsd-compat.a.
10600 ($(objpfx)libbsd-compat.a): Remove rule.
10602 * include/features.h (__FAVOR_BSD): Do not define.
10603 * manual/creature.texi (_BSD_SOURCE): Do not document as enabling
10604 features conflicting with POSIX.
10605 (_GNU_SOURCE): Do not mention interaction with _BSD_SOURCE.
10606 (_BSD_SOURCE): Remove description of not being a subset of other
10607 feature test macros.
10608 * manual/job.texi (getpgrp): Do not document BSD version.
10609 (getpgid): Do not document by reference to BSD getpgrp.
10610 * posix/unistd.h [__FAVOR_BSD]: Remove conditional code.
10611 * setjmp/setjmp.h [__FAVOR_BSD]: Likewise.
10612 * signal/signal.h [__FAVOR_BSD]: Likewise.
10613 * sysdeps/gnu/netinet/tcp.h (struct tcphdr): Use anonymous unions
10614 instead of making contents conditional on [__FAVOR_BSD].
10615 * sysdeps/gnu/netinet/udp.h (struct udphdr): Likewise.
10617 2013-12-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10619 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10621 2013-12-17 Joseph Myers <joseph@codesourcery.com>
10624 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Adjust up
10625 values below 2**-450, not 2**-500.
10626 * math/auto-libm-test-in: Don't allow spurious underflow from
10628 * math/auto-libm-test-out: Regenerated.
10632 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Update
10633 values of ha and hb and sort them after adjusting subnormal
10635 * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
10637 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Update
10638 values of ea and eb and sort them after adjusting subnormal
10640 * math/auto-libm-test-in: Do not expect some hypot tests of
10641 subnormals to fail. Add more hypot tests.
10642 * math/auto-libm-test-out: Regenerated.
10644 2013-12-16 Kaz Kojima <kkojima@rr.iij4u.or.jp>
10647 * sysdeps/sh/s_fma.c: New file.
10648 * sysdeps/sh/s_fmaf.c: New file.
10649 * sysdeps/sh/soft-fp/sfp-machine.h: New file. Based on arm
10651 * sysdeps/sh/Implies: Add sh/soft-fp.
10653 2013-12-16 Roland McGrath <roland@hack.frob.com>
10655 * elf/dl-error.c (struct catch): Add new member `errcode'. Add a
10656 level of indirection to members `objname', `errstring', `malloced'.
10657 (_dl_signal_error): Store through pointers in *LCATCH rather modifying
10658 *LCATCH itself. Set *LCATCH->errcode to ERRCODE rather than passing
10659 it as the __longjmp argument (just pass 1 instead).
10660 (_dl_catch_error): Initialize C with argument pointers and address of
10661 volatile local ERRCODE rather than copying values out of C at return.
10663 2013-12-16 Joseph Myers <joseph@codesourcery.com>
10665 * math/auto-libm-test-in: Add tests of atan2, hypot and pow.
10666 * math/auto-libm-test-out: Regenerated.
10667 * math/libm-test.inc (atan2_test_data): Use AUTO_TESTS_ff_f.
10668 (hypot_test_data): Likewise.
10669 (pow_test_data): Likewise.
10670 (pow_tonearest_test_data): Likewise.
10671 * math/gen-auto-libm-tests.c (func_calc_method): Add value
10673 (func_calc_desc): Add mpfr_ff_f union field.
10674 (FUNC_mpfr_ff_f): New macro.
10675 (test_functions): Add atan2, hypot and pow.
10676 (special_fill_min): New function.
10677 (special_fill_minus_min): Likewise.
10678 (special_fill_min_subnorm): Likewise.
10679 (special_fill_minus_min_subnorm): Likewise.
10680 (special_real_inputs): Add min, -min, min_subnorm and
10682 (calc_generic_results): Handle mpfr_ff_f.
10683 * sysdeps/i386/fpu/libm-test-ulps: Update.
10684 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10686 2013-12-16 Will Newton <will.newton@linaro.org>
10688 * manual/memory.texi (Malloc Examples): Mention aligned_alloc.
10689 (Aligned Memory Blocks): Add documentation for aligned_alloc
10690 and suggest it as an alternative to posix_memalign.
10691 (Hooks for Malloc): Document __memalign_hook is also called
10692 for aligned_alloc. (Summary of Malloc): Add summary for
10693 aligned alloc. Document __memalign_hook is also called
10696 2013-12-16 Will Newton <will.newton@linaro.org>
10698 * manual/memory.texi (Malloc Examples): Clarify default
10699 alignment documentation. Suggest posix_memalign rather
10700 than memalign or valloc.
10701 (Aligned Memory Blocks): Remove suggestion to use memalign
10702 or valloc. Remove obsolete comment about BSD.
10703 Document memalign errno values and mark the function obsolete.
10704 Document posix_memalign returned error codes. Mark valloc
10705 as obsolete. (Hooks for Malloc): __memalign_hook is also
10706 called for posix_memalign and valloc.
10707 (Summary of Malloc): Add posix_memalign to function summary.
10708 __memalign_hook is also called for posix_memalign and valloc.
10710 2013-12-16 Siddhesh Poyarekar <siddhesh@redhat.com>
10712 * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SINCOS): Rename to
10716 (sloww): Use mynumber union. Expand ternary operator into
10717 if-else statements.
10718 (cslow): use mynumber union.
10720 2013-12-16 Allan McRae <allan@archlinux.org>
10722 * configure.ac: Set AUTOCONF when maintainer-mode is not used.
10723 * configure: Regenerated.
10725 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update file name.
10728 * configure.ac: Added --enable-maintainer-mode. Check for
10729 autoconf when enabled.
10730 * configure: Regenerated.
10732 * nscd/nscd.service: New file.
10733 * nscd/nscd.tmpfiles: New file.
10735 2013-12-14 Ondřej Bílka <neleai@seznam.cz>
10738 * sysdeps/x86_64/multiarch/strstr-sse2-unaligned.S: New file
10739 * sysdeps/x86_64/multiarch/strstr-c.c: Moved to ...
10740 * sysdeps/x86_64/multiarch/strstr.c: ... here.
10741 (strstr): Add __strstr_sse2_unaligned ifunc.
10742 * sysdeps/x86_64/multiarch/strcasestr-c.c: Moved to ...
10743 * sysdeps/x86_64/multiarch/strcasestr.c ... here.
10744 (strcasestr): Remove __strcasestr_sse42 ifunc.
10745 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Remove.
10746 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
10747 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
10749 2013-12-14 Kaz Kojima <kkojima@rr.iij4u.or.jp>
10751 * sysdeps/sh/sh4/fpu/bits/fenv.h: Move to ...
10752 * sysdeps/sh/bits/fenv.h: ... here.
10753 * sysdeps/sh/sh4/fpu/bits: Remove directory.
10755 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10757 * NEWS: Mention ppc64 STT_GNU_IFUNC support.
10759 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add hypot and
10760 hypotf multiarch implementations.
10761 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-power7.c: New file.
10762 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-ppc64.c: New file.
10763 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c: New file:
10764 multiarch hypot for PPC64.
10765 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-power7.c: New file.
10766 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-ppc64.c: New file.
10767 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c : New file:
10768 multiarch hypotf for PPC64.
10770 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add modf and
10771 modff multiarch implementations.
10772 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: New file.
10773 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c: New file.
10774 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: New file:
10775 multiarch modf for PPC64.
10776 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-power5+.c: New file.
10777 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-ppc64.c: New file.
10778 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c : New file:
10779 multiarch modff for PPC64.
10781 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add logb, logbf,
10782 and logl multiarch implementations.
10783 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-power7.c: New file.
10784 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c: New file.
10785 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: New file:
10786 multiarch logb for PPC64.
10787 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-power7.c: New file.
10788 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-ppc64.c: New file.
10789 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: New file:
10790 multiarch logb for PPC64.
10791 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-power7.c: New file.
10792 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-ppc64.c: New file.
10793 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl.c: New file:
10794 multiarch logb for PPC64.
10796 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf and
10797 isinff multiarch implementation.
10798 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: New
10800 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.S: New file.
10801 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: New file:
10802 multiarch isinf for PPC64.
10803 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: New
10805 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: New file:
10806 multiarch isinff for PPC64.
10808 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite and
10809 finitef multiarch implementation.
10810 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: New
10812 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.S: New file.
10813 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: New file:
10814 multiarch finite for PPC64.
10815 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: New
10817 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: New file:
10818 multiarch finitef for PPC64.
10820 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint and
10821 lrint multiarch implementation.
10822 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: New
10824 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: New file.
10825 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: New file:
10826 multiarch llrint for PPC64.
10827 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: New file:
10828 multiarch lrint for PPC64.
10830 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add copysign/
10831 copysignf multiarch implementation.
10832 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: New
10834 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: New
10836 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: New file:
10837 multiarch copysign for PPC64.
10838 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: New file:
10839 multiarch copysignf for PPC64.
10841 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add trunc/truncf
10842 multiarch implementation.
10843 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: New
10845 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: New
10847 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: New
10849 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: New
10851 multiarch llround for PPC64.
10852 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: New file:
10853 multiarch trunc for PPC64.
10854 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: New file:
10855 multiarch truncf for PPC64.
10857 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add round/roundf
10858 multiarch implementation.
10859 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: New
10861 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: New
10863 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: New
10865 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: New
10867 multiarch llround for PPC64.
10868 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: New file:
10869 multiarch round for PPC64.
10870 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: New file:
10871 multiarch roundf for PPC64.
10873 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add floor/floorf
10874 multiarch implementation.
10875 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: New
10877 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: New
10879 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: New
10881 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: New
10883 multiarch llround for PPC64.
10884 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: New file:
10885 multiarch floor for PPC64.
10886 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: New file:
10887 multiarch floorf for PPC64.
10889 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add ceil/ceilf
10890 multiarch implementation.
10891 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: New
10893 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: New
10895 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: New
10897 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: New
10899 multiarch llround for PPC64.
10900 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: New file:
10901 multiarch ceil for PPC64.
10902 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: New file:
10903 multiarch ceilf for PPC64.
10905 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
10906 multiarch implementation.
10907 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: New
10909 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: New
10911 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: New
10913 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: New file:
10914 multiarch llround for PPC64.
10915 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: New file:
10916 multiarch lround for PPC64.
10918 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
10919 multiarch implementation.
10920 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: New file.
10921 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: New file.
10922 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: New
10924 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: New file.
10925 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: New file.
10926 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: New file:
10927 multiarch isnan for PPC64.
10928 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: New file:
10929 multiarch isnanf for PPC64.
10931 * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: New file.
10932 * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: New file.
10933 * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: New file.
10934 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: New file.
10935 * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: New file
10936 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/Implies: Remove.
10938 * sysdeps/powerpc/fpu/w_sqrt.c: Remove file
10939 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
10940 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
10941 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
10943 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add stpcpy
10944 multiarch implementations.
10945 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
10946 (__libc_ifunc_impl_list): Likewise.
10947 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
10948 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: New file.
10949 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c : New file:
10950 multiarch stpcpy for PPC64.
10952 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcpy
10953 multiarch implementations.
10954 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
10955 (__libc_ifunc_impl_list): Likewise.
10956 * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: New file.
10957 * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: New file.
10958 * sysdeps/powerpc/powerpc64/multiarch/strcpy.c : New file:
10959 multiarch strcpy for PPC64.
10961 * string/wordcopy.c (_wordcopy_fwd_aligned): Add define to
10962 redefine function name.
10963 (_wordcopy_fwd_dest_aligned): Likewise.
10964 (_wordcopy_bwd_aligned): Likewise.
10965 (_wordcopy_bwd_dest_aligned): Likewise.
10966 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wordcopy
10967 multiarch implementations.
10968 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
10969 (__libc_ifunc_impl_list): Likewise.
10970 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: New file.
10971 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: New file.
10972 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: New file.
10973 * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c : New file:
10974 multiarch wcscpy for PPC64.
10976 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcscpy
10977 multiarch implementations.
10978 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
10979 (__libc_ifunc_impl_list): Likewise.
10980 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: New file.
10981 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: New file.
10982 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: New file.
10983 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c : New file:
10984 multiarch wcscpy for PPC64.
10986 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcsrchr
10987 multiarch implementations.
10988 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
10989 (__libc_ifunc_impl_list): Likewise.
10990 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: New file.
10991 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: New file.
10992 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: New file.
10993 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c : New file:
10994 multiarch wcsrchr for PPC64.
10996 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcschr
10997 multiarch implementations.
10998 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
10999 (__libc_ifunc_impl_list): Likewise.
11000 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: New file.
11001 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: New file.
11002 * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: New file.
11003 * sysdeps/powerpc/powerpc64/multiarch/wcschr.c : New file:
11004 multiarch wcschr for PPC64.
11006 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchrnul
11007 multiarch implementations.
11008 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
11009 (__libc_ifunc_impl_list): Likewise.
11010 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: New file.
11011 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-ppc64.c: New file.
11012 * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: New file:
11013 multiarch strchrnul for PPC64.
11015 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchr multiarch
11017 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
11018 (__libc_ifunc_impl_list): Likewise.
11019 * sysdeps/powerpc/powerpc64/multiarch/rtld-strchr.S: New file.
11020 * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: New file.
11021 * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: New file.
11022 * sysdeps/powerpc/powerpc64/multiarch/strchr.c: New file: multiarch
11025 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncmp multiarch
11027 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
11028 (__libc_ifunc_impl_list): Likewise.
11029 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: New file.
11030 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: New file.
11031 * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: New file.
11032 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: New file: multiarch
11035 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncasecmp
11036 multiarch implementations.
11037 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
11038 (__libc_ifunc_impl_list): Likewise.
11039 * sysdeps/powerpc/powerpc64/multiarch/strncase-power7.c: New file.
11040 * sysdeps/powerpc/powerpc64/multiarch/strncase.c: New file: multiarch
11041 strncasecmp for PPC64.
11042 * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: New file.
11043 * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: New file:
11044 multiarch strncasecmp_l for PPC64.
11046 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcasecmp
11047 multiarch implementations.
11048 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
11049 (__libc_ifunc_impl_list): Likewise.
11050 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: New file.
11051 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: New file:
11052 multiarch strcasecmp for PPC64.
11053 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: New
11055 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: new file:
11056 multiarch strcasecmp_l for PPC64.
11058 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strnlen multiarch
11060 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
11061 (__libc_ifunc_impl_list): Likewise.
11062 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: New file.
11063 * sysdeps/powerpc/powerpc64/multiarch/strnlen-ppc64.c: New file.
11064 * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: New file: multiarch
11067 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strlen multiarch
11069 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
11070 (__libc_ifunc_impl_list): Likewise.
11071 * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: New file.
11072 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: New file.
11073 * sysdeps/powerpc/powerpc64/multiarch/strlen.c: New file: multiarch
11076 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add rawmemch multiarch
11078 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
11079 (__libc_ifunc_impl_list): Likewise.
11080 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: New file.
11081 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-ppc64.c: New file.
11082 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: New file: multiarch
11083 rawmemrchr for PPC64.
11085 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memrchr multiarch
11087 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
11088 (__libc_ifunc_impl_list): Likewise.
11089 * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: New file.
11090 * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: New file.
11091 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: New file: multiarch
11094 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memchr multiarch
11096 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
11097 (__libc_ifunc_impl_list): Likewise.
11098 * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: New file.
11099 * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: New file.
11100 * sysdeps/powerpc/powerpc64/multiarch/memchr.c: New file: multiarch
11103 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add mempcpy multiarch
11105 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
11106 (__libc_ifunc_impl_list): Likewise.
11107 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: New file.
11108 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-ppc64.c: New file.
11109 * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: New file: multiarch
11112 * sysdeps/powerpc/powerpc64/memset.S (NO_BZERO_IMPL): Add macro to
11113 avoid cretion of __bzero symbol.
11114 * sysdeps/powerpc/powerpc64/power4/memset.S (NO_BZERO_IMPL):
11116 * sysdeps/powerpc/powerpc64/power6/memset.S (NO_BZERO_IMPL):
11118 * sysdeps/powerpc/powerpc64/power7/memset.S (NO_BZERO_IMPL):
11120 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memset/bzero
11121 multiarch implementations.
11122 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
11123 (__libc_ifunc_impl_list): Likewise.
11124 * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: New file.
11125 * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: New file.
11126 * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: New file.
11127 * sysdeps/powerpc/powerpc64/multiarch/bzero.c: New file: multiarch
11129 * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: New file.
11130 * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: New file.
11131 * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: New file.
11132 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: New file.
11133 * sysdeps/powerpc/powerpc64/multiarch/memset.c: New file: multiarch
11135 * sysdeps/powerpc/powerpc64/multiarch/rtld-memset.c: New file.
11137 * string/memcmp.c (memcmp): Using macro to redefine symbol name.
11138 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memcpy multiarch
11140 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
11141 (__libc_ifunc_impl_list): Likewise.
11142 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: New file.
11143 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: New file.
11144 * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: New file.
11145 * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: New file: multiarch
11148 * sysdeps/powerpc/powerpc64/multiarch/Makefile: New file to support
11149 multiarch for POWER/PPC64.
11150 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
11151 * sysdeps/powerpc/powerpc64/multiarch/init-arch.h: Likewise.
11152 * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: New file.
11153 * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: New file.
11154 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: New file.
11155 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: New file.
11156 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: New file.
11157 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: New file.
11158 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: New file: multiarch
11161 * sysdeps/powerpc/powerpc64/power4/fpu/Implies: New file.
11162 * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: New File.
11163 * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: New File.
11164 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: New File.
11165 * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: New File.
11166 * sysdeps/powerpc/powerpc64/power5/Implies: New File.
11167 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: New File.
11168 * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: New File.
11169 * sysdeps/powerpc/powerpc64/power6/fpu/Implies: New File.
11170 * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: New File.
11171 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: New File.
11172 * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: New File.
11173 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: New File.
11174 * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: New File.
11175 * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: New File.
11176 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: Remove.
11177 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/Implies: Remove.
11178 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: Remove.
11179 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: Remove.
11180 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: Remove.
11181 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: Remove.
11182 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Remove.
11184 2013-12-12 Kaz Kojima <kkojima@rr.iij4u.or.jp>
11186 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Use $$ver.
11188 2013-12-12 Siddhesh Poyarekar <siddhesh@redhat.com>
11190 * benchtests/Makefile (bench): Add exp2 and log2.
11191 (LDLIBS-bench-exp2): Add -lm.
11192 (LDLIBS-bench-log2): Likewise.
11193 * benchtests/exp2-inputs: New inputs file.
11194 * benchtests/log2-inputs: New inputs file.
11195 * benchtests/log-inputs: Add new inputs.
11196 * benchtests/tan-inputs: Likewise.
11198 2013-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
11200 * sysdeps/ieee754/dbl-64/s_sin.c (t22): Consolidate const
11202 (slow1, slow2, sloww1, sloww2, bsloww1, bsloww2, cslow2, csloww1)
11203 (csloww2): ... from here.
11205 * sysdeps/ieee754/dbl-64/usncs.h: Define constants as double
11206 instead of structures.
11207 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): Adjust.
11208 (POLYNOMIAL): Likewise.
11209 (TAYLOR_SLOW): Likewise.
11215 (sloww1); Likewise.
11216 (sloww2): Likewise.
11217 (bsloww1): Likewise.
11218 (bsloww2): Likewise.
11219 (cslow2): Likewise.
11220 (csloww): Likewise.
11221 (csloww1): Likewise.
11222 (csloww2): Likewise.
11224 2013-12-10 Ondřej Bílka <neleai@seznam.cz>
11226 * malloc/malloc.c (MALLOC_COPY, MALLOC_ZERO): Delete.
11227 (__malloc_assert, __libc_realloc, __libc_calloc, _int_realloc):
11228 Expand MALLOC_COPY and MALLOC_ZERO to memcpy and memset.
11229 * malloc/hooks.c (realloc_check): Likewise.
11231 * malloc/Makefile (CPPFLAGS-malloc.c): Remove -DPER_THREAD flag.
11232 * malloc/arena.c: Remove PER_THREAD conditional.
11233 [!PER_THREAD]: Remove code.
11234 (ptmalloc_unlock_all2): Likewise.
11235 (ptmalloc_init): Likewise.
11236 (_int_new_arena): Likewise.
11237 (arena_get2): Likewise.
11238 * malloc/hooks.c (__malloc_get_state): Likewise.
11239 (__malloc_set_state): Likewise.
11240 * malloc/malloc.c: Likewise.
11241 (struct malloc_state): Likewise.
11242 (struct malloc_par): Likewise.
11243 (__libc_realloc): Likewise.
11244 (__libc_mallopt): Likewise.
11246 2013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11248 * Versions.def (libm): Add GLIBC_2.3 and GLIBC_2.19.
11250 2013-12-09 Ondřej Bílka <neleai@seznam.cz>
11252 * malloc/malloc.c (alloc_perturb, free_perturb): Convert from
11253 macro to a function. Check for zero perturb_byte.
11254 (_int_malloc, _int_free): Remove zero perturb_byte checks.
11256 * malloc/malloc.c: (force_reg): Remove.
11257 (__malloc_assert, __libc_malloc, __libc_free, __libc_realloc)
11258 (_mid_memalign, __libc_calloc, sysmalloc, systrim): Replace
11259 force_reg by atomic_forced_read.
11260 * malloc/arena.c (ptmalloc_init): Likewise.
11261 * malloc/hooks.c (top_check): Likewise.
11263 2013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11265 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11267 2013-12-09 Markus Trippelsdorf <markus@trippelsdorf.de>
11269 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
11271 2013-12-08 Joseph Myers <joseph@codesourcery.com>
11273 * math/auto-libm-test-in: Add tests of lgamma.
11274 * math/auto-libm-test-out: Regenerated.
11275 * math/libm-test.inc (M_LOG_SQRT_PIl): Remove macro.
11276 (M_LOG_2_SQRT_PIl): Likewise.
11277 (lgamma_test_data): Use AUTO_TESTS_f_f1.
11278 * math/gen-auto-libm-tests.c (func_calc_method): Add value
11280 (func_calc_desc): Add mpfr_f_f1 union field.
11281 (ARGS1): New macro.
11289 (FUNC_mpfr_f_f): Use new macros FUNC, ARGS1, RET1 and CALC.
11290 (test_functions): Add lgamma.
11291 (calc_generic_results): Handle mpfr_f_f1.
11292 * sysdeps/i386/fpu/libm-test-ulps: Update.
11293 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11295 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11297 * sysdeps/powerpc/powerpc64/power7/add_n.S: New file: optimized
11298 __mpn_add_n for PowerPC64/POWER7.
11299 * sysdeps/powerpc/powerpc64/power7/sub_n.S: New file: optimized
11300 __mpn_sub_n for PowerPC64/POWER7.
11302 * sysdeps/powerpc/powerpc64/addmul_1.S: New file: optimized
11303 __mpn_addmul_1 for PowerPC64.
11304 * sysdeps/powerpc/powerpc64/submul_1.S: New file: optimized
11305 __mpn_submul_1 for PowerPC64.
11306 * sysdeps/powerpc/powerpc64/lshift.S: New file: optimized __mpn_lshift
11308 * sysdeps/powerpc/powerpc64/mul_1.S: New file: optimized __mpn_mul_1
11311 2013-12-06 Fernando J. V. da Silva <fernandojvdasilva@gmail.com>
11314 * malloc/malloc.c: Exit systrim() if pad is bigger than heap top size.
11316 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11318 * NEWS: Mention ppc32/power4+ STT_GNU_IFUNC support.
11320 * sysdeps/powerpc/powerpc32/power5+/fpu/multiarch/Implies: New file:
11321 add multiarch folders.
11322 * sysdeps/powerpc/powerpc32/power5+/multiarch/Implies: Likewise.
11323 * sysdeps/powerpc/powerpc32/power5/fpu/multiarch/Implies: Likewise.
11324 * sysdeps/powerpc/powerpc32/power5/multiarch/Implies: Likewise.
11325 * sysdeps/powerpc/powerpc32/power6/fpu/multiarch/Implies: Likewise.
11326 * sysdeps/powerpc/powerpc32/power6/multiarch/Implies: Likewise.
11327 * sysdeps/powerpc/powerpc32/power6x/fpu/multiarch/Implies: Likewise.
11328 * sysdeps/powerpc/powerpc32/power6x/multiarch/Implies: Likewise.
11329 * sysdeps/powerpc/powerpc32/power7/fpu/multiarch/Implies: Likewise.
11330 * sysdeps/powerpc/powerpc32/power7/multiarch/Implies: Likewise.
11331 * sysdeps/powerpc/powerpc32/power8/fpu/multiarch/Implies: Likewise.
11332 * sysdeps/powerpc/powerpc32/power8/multiarch/Implies: Likewise.
11333 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/Implies: Remove.
11334 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: Remove.
11335 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: Remove.
11336 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: Remove.
11337 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: Remove.
11338 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Remove.
11340 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
11341 __ieee754_hypot and __ieee754_hypotf multiarch implementations.
11342 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-power7.c:
11344 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-ppc32.c:
11346 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c: New file:
11347 multiarch __ieee754_hypot for PowerPC32.
11348 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-power7.c:
11350 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-ppc32.c:
11352 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c: New file:
11353 multiarch __ieee754_hypotf for PowerPC32.
11355 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Define
11356 long_double_symbol only if __logbl is defined.
11357 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Moved to ...
11358 * sysdeps/powerpc/power7/fpu/s_logb.c: ... here.
11359 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: Move to ...
11360 * sysdeps/powerpc/power7/fpu/s_logbf.c: ... here.
11361 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: Move to ...
11362 * sysdeps/powerpc/power7/fpu/s_logbl.c: ... here.
11363 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Adjust to use new
11364 path for implementation.
11365 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
11366 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
11367 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add logbf,
11368 logb, and logbl multiarch implementations for PowerPC32.
11369 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c: New
11371 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c: New
11373 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: New file:
11374 multiarch logb for PowerPC32.
11375 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c: New
11377 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-ppc32.c: New
11379 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c: New file:
11380 multiarch logbf for PowerPC32.
11381 * sysdeps/powerpc/power4/fpu/multiarch/s_logbl-power7.c: New file.
11382 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-ppc32.c: New
11384 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl.c: New file:
11385 multiarch logbl implementation for PowerPC32.
11387 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add modf
11388 and modff multiarch implementations.
11389 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
11391 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c:
11393 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: New file:
11394 multiarch modf for PowerPC32.
11395 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
11397 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-ppc32.c:
11399 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c: New file:
11400 multiarch modff for PowerPC32.
11402 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lrint
11403 and lrintf multiarch implementations.
11404 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-power6x.S:
11406 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
11408 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c: New file:
11409 multiarch lrint for PowerPC32.
11410 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c: New
11411 file: multiarch lrintf for PowerPC32.
11413 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lround
11414 and lroundf multiarch implementations.
11415 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
11417 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power6.S:
11419 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
11421 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c: New file:
11422 multiarch lround for PowerPC32.
11423 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c: New
11424 file: multiarch lroundf for PowerPC32.
11426 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
11427 copysign and copysignf multiarch implementations.
11428 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
11430 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
11432 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c: New
11433 file: multiarch copysign for PowerPC32.
11434 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c: New
11435 file: multiarch copysignf for PowerPC32.
11437 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add trunc
11438 and truncf multiarch implementations.
11439 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-power5+.S:
11441 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-ppc32.S: New
11443 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: New file:
11444 multiarch trunc for PowerPC32.
11445 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-power5+.S:
11447 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-ppc32.S:
11449 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: New file:
11450 multiarch truncf for PowerPC32.
11452 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add round
11453 and roundf multiarch implementations.
11454 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-power5+.S:
11456 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-ppc32.S: New
11458 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: New file:
11459 multiarch round for PowerPC32.
11460 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-power5+.S:
11462 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-ppc32.S:
11464 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: New file:
11465 multiarch roundf for PowerPC32.
11467 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add floor
11468 and floorf multiarch implementations.
11469 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
11471 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S: New
11473 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: New file:
11474 multiarch floor for PowerPC32.
11475 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
11477 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
11479 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: New file:
11480 multiarch floorf for PowerPC32.
11482 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add ceil
11483 and ceilf multiarch implementations.
11484 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
11486 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S: New
11488 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: New file:
11489 multiarch ceil for PowerPC32.
11490 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
11492 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S: New
11494 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: New file:
11495 multiarch ceilf for PowerPC32.
11497 * sysdeps/ieee754/dbl-64/s_finite.c (__finite): Redefine it if FINITE
11499 * sysdeps/ieee754/flt-32/s_finitef.c (__finitef): Redefine it if
11500 FINITEF is defined.
11501 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add finite
11502 and finitef multiarch implementations.
11503 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
11505 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c: New
11507 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: New file:
11508 multiarch finite for PowerPC32.
11509 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
11511 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: New
11512 file: multiarch finitef for PowerPC32.
11514 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isinf
11515 and isinff multiarch implementations.
11516 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S: New
11518 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c: New
11520 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: New file:
11521 multiarch isinf for PowerPC32.
11522 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
11524 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: New file:
11525 multiarch isinff for PowerPC32.
11527 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S (__isnan): Only implement
11528 alias when __isnan is defined.
11529 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isnan
11530 and isnanf multiarch implementations.
11531 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S: New
11533 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S: New
11535 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S: New
11537 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S: New
11539 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: New file:
11540 multiarch isnan for PowerPC32.
11541 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
11543 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power7.S:
11545 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: New file:
11546 multiarch isnanf for PowerPC32.
11548 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add sqrt
11549 and sqrtf multiarch implementations.
11550 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S: New
11552 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S: New
11554 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: New file:
11555 multiarch sqrt for PowerPC32.
11556 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S: New
11558 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S: New
11560 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: New file:
11561 multiarch sqrtf for PowerPC32.
11563 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add llround
11564 and llroundf multiarch implementations.
11565 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
11567 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
11569 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
11571 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c: New
11572 file: multiarch llround for PowerPC32.
11573 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c: New
11574 file: multiarch llroundf for PowerPC32.
11576 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: New file:
11577 multiarch PowerPC32 fpu implementations.
11578 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
11580 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
11582 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c: New file:
11583 multiarch llrint for PowerPC32.
11584 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
11586 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
11588 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c: New
11591 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/Implies: Remove.
11593 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: New
11595 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power7.c: New
11597 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c: New
11599 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: New file:
11600 multiarch wordcopy for PPC32.
11601 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
11603 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
11604 (__libc_ifunc_impl_list): Likewise.
11605 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Move ...
11606 * sysdeps/powerpc/power4/wordcopy.c: ... to here.
11607 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Move ...
11608 * sysdeps/powerpc/power6/wordcopy.c: ... to here.
11609 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Remove uneeded file.
11610 * sysdeps/powerpc/powerpc64/power4/wordcopy.c: Likewise.
11612 * wcsmbs/wcscpy.c (wcscpy): Using macro to redefine symbol name
11613 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c: New
11615 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c: New
11617 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: New
11619 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: New file:
11620 multiarch wcscpy for PPC32.
11621 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
11623 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
11624 (__libc_ifunc_impl_list): Likewise.
11625 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
11626 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
11627 * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Adjust to use
11628 sysdeps/powerpc/power6/wcscpy.c.
11630 * wcsmbs/wcsrchr.c (wcsrchr): Using macro to redefine symbol name
11631 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c: New
11633 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c: New
11635 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: New
11637 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: New file:
11638 multiarch wcsrchr for PPC32.
11639 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
11641 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
11642 (__libc_ifunc_impl_list): Likewise.
11643 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
11644 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
11645 * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Adjust to use
11646 sysdeps/powerpc/power6/wcsrchr.c.
11648 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c: New
11650 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c: New
11652 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: New file.
11653 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: New file:
11654 multiarch wcschr for PPc32.
11655 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
11657 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
11658 (__libc_ifunc_impl_list): Likewise.
11659 * sysdeps/powerpc/powerpc32/power6/wcschr.c: Move ...
11660 * sysdeps/powerpc/power6/wcschr.c: ... to here.
11661 * sysdeps/powerpc/powerpc64/power6/wcschr.c: Adjust to use
11662 sysdeps/powerpc/power6/wcschr.c.
11664 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strchr.S: New file.
11665 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-power7.S: New
11667 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-ppc32.S: New file.
11668 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/strchr.c: New
11669 file: multiarch strchr for PPC32.
11670 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchr
11672 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
11673 (__libc_ifunc_impl_list): Likewise.
11675 * string/strchrnul.c (__strchrnul): Using macro to redefine symbol
11677 * sysdeps/powerpc/powerpc32/power4//multiarch/strchrnul-power7.S: New
11679 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul-ppc32.c: New
11681 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: New file:
11682 multiarch strchrnul for PPC32.
11683 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchrnul
11685 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
11686 (__libc_ifunc_impl_list): Likewise.
11688 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase-power7.c: New
11690 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: New file:
11691 multiarch strncasecmp for PPC32.
11692 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l-power7.c: New
11694 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: New file:
11695 multiarch strncasecmp_l for PPC32.
11696 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added
11697 strncasecmp multiarch objects.
11698 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
11699 (__libc_ifunc_impl_list): Likewise.
11701 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S: New
11703 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: New file:
11704 multiarch strncasecmp for PPC32.
11705 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
11707 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: New file:
11708 multiarch strcasecmp_l for PPC32.
11709 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strcasecmp
11711 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
11712 (__libc_ifunc_impl_list): Likewise.
11714 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-power7.S: New
11716 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: New
11718 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: New file:
11719 multiarch strncmp for PPC32.
11720 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strncmp
11722 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
11723 (__libc_ifunc_impl_list): Likewise.
11725 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strnlen.c: New file.
11726 * sysdeps/powerpc/powerpc32//power4/multiarch/strnlen-power7.S: New
11728 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c: New file.
11729 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: New file.
11730 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strnlen
11732 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
11733 (__libc_ifunc_impl_list): Likewise.
11735 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-power7.S: New
11737 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: New
11739 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: New file.
11740 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strlen
11742 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
11743 (__libc_ifunc_impl_list): Likewise.
11745 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-power7.S: New
11747 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-ppc32.c: New
11749 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: New file:
11750 multiarch rawmemchr for PPC32.
11751 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added rawmemchr
11753 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
11754 (__libc_ifunc_impl_list): Likewise.
11756 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-power7.S: New
11758 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: New
11760 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: New
11761 file: memrchr multiarch for PPC32.
11762 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added memrchr
11764 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
11765 (__libc_ifunc_impl_list): Likewise.
11767 * string/memchr.c (__memchr): Using macro to redefine symbol name.
11768 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-power7.S: New
11770 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c: New File.
11771 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: New file:
11772 multiarch memchr for PPC32.
11773 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memchr
11775 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
11776 (__libc_ifunc_impl_list): Likewise.
11778 * string/mempcpy.c (__mempcpy): Using macro to redefine symbol name.
11779 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-power7.S: New
11781 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-ppc32.c: New
11783 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: New
11784 file: multiarch mempcpy for PPC32.
11785 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add mempcpy
11787 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
11788 (__libc_ifunc_impl_list): Likewise.
11790 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power6.S: New file.
11791 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power7.S: New file.
11792 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S: New file.
11793 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: New file:
11794 multiarch bzero for PPC32.
11795 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power6.S: New
11797 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power7.S: New
11799 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: New file.
11800 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/memset.c: New
11801 file: multiarch memset for PPC32.
11802 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memset.S: New file.
11803 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add bzero and
11804 memset multiarch objects.
11805 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
11806 (__libc_ifunc_impl_list): Likewise.
11808 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-power7.S: New
11810 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: New file.
11811 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: multiarch
11813 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memcmp.S: New file.
11814 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcmp
11816 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
11817 (__libc_ifunc_impl_list): Likewise.
11819 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-a2.S: New file.
11820 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-cell.S: New file.
11821 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power6.S: New
11823 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power7.S: New
11825 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: New
11827 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: New file:
11828 multiarch memcpy for PPC32.
11829 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcpy
11831 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
11832 (__libc_ifunc_impl_list): Likewise.
11834 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: New file to
11835 support multiarch for POWER/PPC32.
11836 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
11838 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
11839 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: Remove
11840 Implies file to make multiarch folder appers before the fpu and
11841 default folder for power4 configuration.
11843 2013-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
11845 * scripts/bench.pl: Append volatile keyword to type.
11847 2013-12-05 Kaz Kojima <kkojima@rr.iij4u.or.jp>
11849 * sysdeps/sh/sotruss-lib.c: New file.
11850 * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: New file.
11852 2013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11854 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11856 2013-12-05 Joseph Myers <joseph@codesourcery.com>
11859 * math/w_tgamma.c: Include <errno.h>.
11860 (__tgamma): Use __glibc_unlikely. Set errno on underflow to 0.
11861 * math/w_tgammaf.c: Include <errno.h>.
11862 (__tgammaf): Use __glibc_unlikely. Set errno on underflow to 0.
11863 * math/w_tgammal.c: Include <errno.h>.
11864 (__tgammal): Use __glibc_unlikely. Set errno on underflow to 0.
11865 * math/auto-libm-test-in: Do not allow missing errno on tgamma
11866 underflow. Add more tgamma tests.
11867 * math/auto-libm-test-out: Regenerated.
11868 * sysdeps/i386/fpu/libm-test-ulps: Update.
11869 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11871 * math/auto-libm-test-in: Add tests of log, log10, log1p, log2,
11872 sin, sinh, tan, tanh, tgamma, y0 and y1.
11873 * math/auto-libm-test-out: Regenerated.
11874 * math/libm-test.inc (TEST_COND_x86_64): New macro.
11875 (TEST_COND_x86): Likewise.
11876 (M_E2l): Remove macro.
11878 (M_2_SQRT_PIl): Likewise.
11879 (M_SQRT_PIl): Likewise.
11880 (M_1_DIV_El): Likewise.
11881 (log_test_data): Use AUTO_TESTS_f_f.
11882 (log10_test_data): Likewise.
11883 (log1p_test_data): Likewise.
11884 (log2_test_data): Likewise.
11885 (sin_test_data): Likewise.
11886 (sin_tonearest_test_data): Likewise.
11887 (sin_towardzero_test_data): Likewise.
11888 (sin_downward_test_data): Likewise.
11889 (sin_upward_test_data): Likewise.
11890 (sinh_test_data): Likewise.
11891 (sinh_tonearest_test_data): Likewise.
11892 (sinh_towardzero_test_data): Likewise.
11893 (sinh_downward_test_data): Likewise.
11894 (sinh_upward_test_data): Likewise.
11895 (tan_test_data): Likewise.
11896 (tan_tonearest_test_data): Likewise.
11897 (tan_towardzero_test_data): Likewise.
11898 (tan_downward_test_data): Likewise.
11899 (tan_upward_test_data): Likewise.
11900 (tanh_test_data): Likewise.
11901 (tgamma_test_data): Likewise.
11902 (y0_test_data): Likewise.
11903 (y1_test_data): Likewise.
11904 * math/gen-auto-libm-tests.c (special_fill_pi_4): New function.
11905 (special_real_inputs): Add pi/4.
11906 * sysdeps/i386/fpu/libm-test-ulps: Update.
11907 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11909 2013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11911 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Add "longjmp" and
11912 "longjmp_target" static probes.
11913 (__longjmp): Rename to __longjmp_symbol.
11914 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
11915 * sysdeps/powerpc/powerpc32/__longjmp.S: Define __longjmp_symbol based
11916 on which longjmp to generate.
11917 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
11918 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Add "setjmp" static
11920 (__sigsetjmp): Rename to __sigsetjmp_symbol.
11921 (__sigjmp_save): Rename to __sigjmp_save_symbol.
11922 * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
11923 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Define __sigsetjmp_symbol
11924 and __sigjmp_save_symbol based on which sigsetjmp to generated.
11925 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise
11926 * sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Define
11927 __longjmp_symbol based on which __longjmp to generate.
11928 * sysdeps/powerpc/powerpc64/setjmp-common.S: Add "setjmp" static
11930 (setjmp): Rename to setjmp_symbol.
11931 (__sigsetjmp): Rename to __sigsetjmp_symbol.
11932 (_setjmp): Rename to _setjmp_symbol.
11933 (__sigsetjmp): Rename to __sigsetjmp_symbol.
11934 * sysdeps/powerpc/powerpc64/setjmp.S: Define setjmp_symbol,
11935 _setjmp_symbol, __sigsetjmp_symbol, and __sigjmp_save_symbol based on
11936 which setjmp to generate.
11937 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Add "longjmp" and
11938 "longjmp_target" static probes.
11940 2013-12-05 Siddhesh Poyarekar <siddhesh@redhat.com>
11942 * benchtests/README: Add note about output arguments.
11943 * benchtests/bench-sincos.c: Remove file.
11944 * benchtests/sincos-inputs: New file.
11945 * scripts/bench.pl: Identify output arguments and define
11946 static variables for them.
11948 * debug/stpncpy_chk.c (__stpncpy_chk): Remove unused variables.
11951 * Makefile (INSTALL): Add install-plain.texi as the primary
11953 * manual/install-plain.texi: New file.
11954 * manual/install.texi: Include node directive only for
11955 non-plaintext output.
11957 2013-12-04 Joseph Myers <joseph@codesourcery.com>
11959 * stdlib/longlong.h: Update from GCC.
11963 * math/w_j0.c (y0): Raise FE_DIVBYZERO on zero argument.
11964 * math/w_j0f.c (y0f): Likewise.
11965 * math/w_j0l.c (__y0l): Likewise.
11966 * math/w_j1.c (y1): Likewise.
11967 * math/w_j1f.c (y1f): Likewise.
11968 * math/w_j1l.c (__y1l): Likewise
11969 * math/w_jn.c (yn): Likewise.
11970 * math/w_jnf.c (ynf): Likewise.
11971 * sysdeps/ieee754/k_standard.c (__kernel_standard): Use ERANGE for
11972 Bessel function pole errors in _POSIX_ mode. Use NAN as return
11973 value for Bessel function domain errors outside _SVID_ mode.
11974 Adjust sign of return value for yn (negative integer, 0).
11975 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Use division
11976 by zero in return for negative x and set sign appropriately for
11978 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Likewise.
11979 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
11980 * math/libm-test.inc (y0_test_data): Add more tests and adjust
11981 expectations in error cases.
11982 (y1_test_data): Likewise.
11983 (yn_test_data): Likewise.
11984 * sysdeps/i386/fpu/libm-test-ulps: Update.
11985 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11987 2013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
11989 * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-variants): Rename
11990 "64" to "64-v1". Add "64-v2".
11991 (abi-64-options): Rename to ...
11992 (abi-64-v1-options): ... this. Redefine _CALL_ELF.
11993 (abi-64-condition): Rename to ...
11994 (abi-64-v1-condition): ... this. Add _CALL_ELF check.,
11995 (abi-64-ld-soname): Rename to ...
11996 (abi-64-v1-ld-soname): ... this.
11997 (abi-64-v2-options): Define.
11998 (abi-64-v2-condition): Likewise.
11999 (abi-64-v2-ld-soname): Likewise.
12000 * sysdeps/unix/sysv/linux/powerpc/ldconfig.h
12001 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add "/lib64/ld64.so.2".
12002 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: Delete file.
12003 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: New file.
12004 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Generate.
12006 2013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
12007 Alan Modra <amodra@gmail.com>
12009 * sysdeps/powerpc/bits/link.h (La_ppc64v2_regs, La_ppc64v2_retval):
12010 New versions for use with the ELFv2 ABI.
12011 (la_ppc64v2_gnu_pltenter, la_ppc64v2_gnu_pltexit): Add prototypes.
12012 * sysdeps/powerpc/lsdodefs.h (struct La_ppc64v2_regs): Add forward
12014 (struct La_ppc64v2_retval): Likewise.
12015 (ARCH_PLTENTER_MEMBERS): Add ppc64v2_gnu_pltenter.
12016 (ARCH_PLTEXIT_MEMBERS): Add ppc64v2_gnu_pltexit.
12017 * sysdeps/powerpc/powerpc64/dl-machine.h (ARCH_LA_PLTENTER): Define
12018 to ppc64v2_gnu_pltenter if _CALL_ELF == 2.
12019 (ARCH_LA_PLTEXIT): Define to ppc64v2_gnu_pltexit if _CALL_ELF == 2.
12020 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
12021 Do not save or restore CR.
12022 (FRAME_SIZE, VR_RTN): Provide updated values for _CALL_ELF == 2.
12023 (_dl_profile_resolve): Do no save or restore CR. Support extended
12024 return values for ELFv2 ABI. Fix location of FPR return registers.
12025 * sysdeps/powerpc/powerpc64/tst-audit.h (pltenter, pltexit): Provide
12026 updated values for _CALL_ELF == 2.
12027 (La_regs, La_retval, int_retval): Likewise.
12029 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
12031 * sysdeps/powerpc/powerpc64/sysdep.h (FRAME_MIN_SIZE): Define.
12032 (FRAME_MIN_SIZE_PARM): Likewise.
12033 (FRAME_BACKCHAIN): Likewise.
12034 (FRAME_CR_SAVE): Likewise.
12035 (FRAME_LR_SAVE): Likewise.
12036 (FRAME_TOC_SAVE): Likewise.
12037 (FRAME_PARM_SAVE): Likewise.
12038 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
12039 FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
12040 FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
12041 (call_mcount_parm_offset): New macro.
12042 (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Use it.
12043 (PROF): Use symbolic stack frame offsets.
12044 (TAIL_CALL_SYSCALL_ERROR): Likewise.
12045 * sysdeps/powerpc/powerpc64/dl-trampoline.S (FRAME_SIZE, INT_PARMS):
12046 Redefine in terms of FRAME_MIN_SIZE.
12047 (_dl_runtime_resolve): Use symbolic stack frame offsets.
12048 (_dl_profile_resolve): Likewise. Update comment.
12049 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Use
12050 symbols stack frame offsets.
12051 (__sigsetjmp): Likewise.
12052 * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
12053 * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Likewise.
12054 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Likewise.
12055 * sysdeps/powerpc/powerpc64/crtn.S (_init, _fini): Likewise.
12057 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym
12058 (FRAME_BACKCHAIN): Remove.
12059 (FRAME_CR_SAVE): Likewise.
12060 (FRAME_LR_SAVE): Likewise.
12061 (FRAME_COMPILER_DW): Likewise.
12062 (FRAME_LINKER_DW): Likewise.
12063 (FRAME_TOC_SAVE): Likewise.
12064 (FRAME_PARM_SAVE): Likewise.
12065 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE)
12066 (FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE)
12067 (FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
12068 * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S
12069 (CHECK_SP): Use symbolic stack frame offsets.
12070 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Use "red
12071 zone" instead of caller's parameter save area for temp storage.
12072 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
12073 Likewise. Also, use symbolic stack frame offsets.
12074 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (FRAMESIZE,
12075 stackblock): Redefine for _CALL_ELF == 2 to save parameters into
12076 our own stack frame instead of the caller's.
12077 (__socket): Use symbolic stack frame offsets.
12079 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
12080 Alan Modra <amodra@gmail.com>
12082 * elf/elf.h (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC):
12084 (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK)
12085 (PPC64_LOCAL_ENTRY_OFFSET): Define.
12086 * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
12088 (elf_machine_fixup_plt): Call it.
12089 (elf_machine_plt_conflict): Likewise. Add map, sym_map, and
12091 (elf_machine_rela): Update call to elf_machine_plt_conflict.
12092 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
12093 (_dl_profile_resolve) [_CALL_ELF == 2]: Restore caller's TOC into
12094 r2 before calling target.
12096 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
12097 Alan Modra <amodra@gmail.com>
12099 * sysdeps/powerpc/powerpc64/sysdep.h [_CALL_ELF == 2]
12100 (PPC64_LOAD_FUNCPTR, DOT_LABEL, BODY_LABEL, ENTRY_2, END_2): New
12101 versions of macros to support ELFv2 ABI.
12102 (LOCALENTRY): New macro.
12103 (ENTRY, EALIGN): Use it.
12104 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use LOCALENTRY.
12105 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Do not
12106 fall through into ENTRY entry point.
12107 * libc/sysdeps/powerpc/powerpc64/dl-machine.h (Elf64_FuncDesc):
12108 Only define if _CALL_ELF != 2.
12110 (elf_machine_matches_host): Verify ABI version matches.
12111 (RTLD_START): Use LOCALENTRY.
12112 (elf_machine_type_class): Use SHN_UNDEF PLT handling for ELFv2 ABI.
12113 (PLT_INITIAL_ENTRY_WORDS): New version for _CALL_ELF != 2.
12114 (PLT_ENTRY_WORDS): New macro.
12115 (GLINK_INITIAL_ENTRY_WORDS, GLINK_ENTRY_WORDS): Likewise.
12116 (elf_machine_runtime_setup): Support ELFv2 ABI.
12117 (elf_machine_fixup_plt): Likewise.
12118 (elf_machine_plt_conflict): Likewise.
12119 (resolve_ifunc): Likewise.
12120 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
12121 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
12123 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h
12124 (DL_ADDR_SYM_MATCH): Only define if _CALL_ELF != 2.
12125 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
12126 (makecontext): Support ELFv2 ABI.
12127 * elf/elf.h (EF_PPC64_ABI): Define.
12129 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
12131 * sysdeps/powerpc/powerpc64/sysdep.h
12132 (PPC64_LOAD_FUNCPTR) [ASSEMBLER]: New assembler macro.
12133 (ENTRY_1) [ASSEMBLER]: Do not switch to .text section here ...
12134 (ENTRY) [ASSEMBLER]: ... but instead here ...
12135 (EALIGN) [ASSEMBLER]: ... and here.
12136 (PPC64_LOAD_FUNCPTR) [!ASSEMBLER]: New macro.
12137 (ENTRY_1) [!ASSEMBLER]: New macro; set up .opd entry.
12138 (ENTRY_2) [!ASSEMBLER]: Use it.
12139 * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Update for
12140 ENTRY_2 changes. Use PPC64_LOAD_FUNCPTR.
12141 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
12142 (_dl_profile_resolve): Use PPC64_LOAD_FUNCPTR.
12143 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use ENTRY_2.
12144 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (clone):
12145 Use PPC64_LOAD_FUNCPTR.
12147 * sysdeps/powerpc/tls.h (tcbhead_t): Add __private_ss field.
12149 2013-12-04 Alan Modra <amodra@gmail.com>
12151 * elf/elf.h (R_PPC64_TLSGD, R_PPC64_TLSLD, R_PPC64_TOCSAVE): Define.
12152 (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA): Likewise.
12153 (R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA): Likewise.
12154 (R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Likewise.
12156 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Add
12157 overflow checking for R_PPC64_ADDR16_HI, R_PPC64_ADDR16_HA,
12158 R_PPC64_TPREL16_HI, and R_PPC64_TPREL16_HA.
12159 Support new R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
12160 R_PPC64_TPREL16_HIGH, and R_PPC64_TPREL16_HIGHA relocations.
12161 Fix overflow checking for R_PPC64_ADDR30 and R_PPC64_ADDR32.
12163 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
12165 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
12166 (__makecontext): Fix incorrect CFI when backtracing out of
12167 context created via makecontext.
12168 * sysdeps/unix/sysv/linux/powerpc/powerpc64/secontext.S
12169 (__setcontext): Fix incorrect CFI during switch to new context.
12170 (__novec_setcontext): Likewise.
12172 2013-12-04 Ondřej Bílka <neleai@seznam.cz>
12175 * time/strptime_l.c (__strptime_internal): Allow modifiers
12177 * time/tst-strptime.c (day_tests): Add testcase.
12179 2013-12-04 Siddhesh Poyarekar <siddhesh@redhat.com>
12181 * scripts/bench.pl: Skip over blank lines.
12183 2013-12-04 Paul Eggert <eggert@cs.ucla.edu>
12186 * manual/time.texi (Calendar Time): Clarify what timezone functions
12189 2013-12-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12191 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12193 2013-12-04 Ondřej Bílka <neleai@seznam.cz>
12195 * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom
12197 * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
12198 * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
12199 * debug/memset_chk.c (__memset_chk): Likewise.
12200 * debug/stpncpy_chk.c (__stpncpy_chk): Likewise.
12201 * debug/strncpy_chk.c: Likewise.
12203 2013-12-03 Joseph Myers <joseph@codesourcery.com>
12207 * sysdeps/ieee754/dbl-64/e_exp.c: Include <float.h>.
12208 (__ieee754_exp): For possibly underflowing results, check size of
12209 result and force underflow exception if required.
12210 * math/auto-libm-test-in: Add more tests of exp.
12211 * math/auto-libm-test-out: Regenerated.
12212 * sysdeps/i386/fpu/libm-test-ulps: Update.
12213 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12216 * math/w_exp2.c (__exp2): Handle a zero result as underflow.
12217 * math/w_exp2f.c (__exp2f): Likewise.
12218 * math/w_exp2l.c (__exp2l): Likewise.
12219 * math/auto-libm-test-in: Do not allow missing errno on exp2
12221 * math/auto-libm-test-out: Regenerated.
12223 2013-12-03 Ondřej Bílka <neleai@seznam.cz>
12226 * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly
12227 handle filename validation.
12228 * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails.
12231 2013-12-03 Joseph Myers <joseph@codesourcery.com>
12234 * sysdeps/ieee754/dbl-64/s_erf.c: Include <errno.h> and <float.h>.
12235 (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny.
12236 * sysdeps/ieee754/flt-32/s_erff.c: Include <errno.h> and
12238 (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny.
12239 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <errno.h>.
12240 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
12241 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <errno.h>.
12242 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
12243 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <errno.h>.
12244 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
12245 * math/auto-libm-test-in: Don't allow missing errno from erfc.
12246 Add more erfc tests.
12247 * math/auto-libm-test-out: Regenerated.
12248 * sysdeps/i386/fpu/libm-test-ulps: Update.
12249 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12251 * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10,
12252 exp2, expm1, j0 and j1.
12253 * math/auto-libm-test-out: Regenerated.
12254 * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f.
12255 (erfc_test_data): Likewise.
12256 (exp_test_data): Likewise.
12257 (exp_tonearest_test_data): Likewise.
12258 (exp_towardzero_test_data): Likewise.
12259 (exp_downward_test_data): Likewise.
12260 (exp_upward_test_data): Likewise.
12261 (exp10_test_data): Likewise.
12262 (exp2_test_data): Likewise.
12263 (expm1_test_data): Likewise.
12264 (j0_test_data): Likewise.
12265 (j1_test_data): Likewise.
12266 * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment.
12267 (input_flag_type): Add flag_xfail_rounding.
12268 (input_flags): Add xfail-rounding.
12269 (adjust_real): Assert mpfr_number_p not mpfr_regular_p.
12270 (output_for_one_input_case): Handle flag_xfail_rounding.
12271 * sysdeps/i386/fpu/libm-test-ulps: Update.
12272 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12274 2013-12-03 Aurelien Jarno <aurelien@aurel32.net>
12277 * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
12280 2013-12-03 Siddhesh Poyarekar <siddhesh@redhat.com>
12283 * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
12284 (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
12285 (STAP_PROBE0): New macro.
12286 (STAP_PROBE1): Likewise.
12287 (STAP_PROBE2): Likewise.
12288 (STAP_PROBE3): Likewise.
12289 (STAP_PROBE4): Likewise.
12291 2013-12-02 Ondřej Bílka <neleai@seznam.cz>
12293 * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
12295 2013-12-02 Steve Ellcey <sellcey@mips.com>
12297 * benchtests/Makefile (bench): Add sqrt.
12298 (LDLIBS-bench-sqrt): New.
12299 * benchtests/sqrt-input: New.
12301 2013-12-02 Pavel Simerda <psimerda@redhat.com>
12303 * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
12304 (GAIH_EAI): Likewise.
12305 (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
12306 (gaih_inet): Likewise.
12307 (getaddrinfo): Don't use GAIH_EAI.
12309 * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
12310 (struct gaih): Remove definition.
12312 2013-12-02 Siddhesh Poyarekar <siddhesh@redhat.com>
12314 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
12315 Use HERRNOP directly.
12317 2013-12-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12319 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12321 2013-11-30 Joseph Myers <joseph@codesourcery.com>
12323 * math/gen-auto-libm-tests.c (test_functions): Add more
12324 single-argument functions.
12325 (special_fill_pi_2): New function.
12326 (special_fill_minus_pi_2): Likewise.
12327 (special_fill_pi_6): Likewise.
12328 (special_fill_minus_pi_6): Likewise.
12329 (special_fill_pi_3): Likewise.
12330 (special_fill_2pi_3): Likewise.
12331 (special_fill_e): Likewise.
12332 (special_fill_1_e): Likewise.
12333 (special_fill_e_minus_1): Likewise.
12334 (special_real_inputs): Add more special inputs.
12335 (output_for_one_input_case): Do not require ERANGE on underflow to
12336 zero if round-to-nearest result does not underflow to zero, unless
12337 exact results required.
12338 * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
12339 atan, atanh, cbrt, cos and cosh.
12340 * math/auto-libm-test-out: Regenerated.
12341 * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
12342 (acos_tonearest_test_data): Likewise.
12343 (acos_towardzero_test_data): Likewise.
12344 (acos_downward_test_data): Likewise.
12345 (acos_upward_test_data): Likewise.
12346 (acosh_test_data): Likewise.
12347 (asin_test_data): Likewise.
12348 (asin_tonearest_test_data): Likewise.
12349 (asin_towardzero_test_data): Likewise.
12350 (asin_upward_test_data): Likewise.
12351 (asinh_test_data): Likewise.
12352 (atan_test_data): Likewise.
12353 (atanh_test_data): Likewise.
12354 (cbrt_test_data): Likewise.
12355 (cos_test_data): Likewise.
12356 (cos_tonearest_test_data): Likewise.
12357 (cos_towardzero_test_data): Likewise.
12358 (cos_downward_test_data): Likewise.
12359 (cos_upward_test_data): Likewise.
12360 (cosh_test_data): Likewise.
12361 (cosh_tonearest_test_data): Likewise.
12362 (cosh_towardzero_test_data): Likewise.
12363 (cosh_downward_test_data): Likewise.
12364 (cosh_upward_test_data): Likewise.
12365 * sysdeps/i386/fpu/libm-test-ulps: Update.
12366 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12368 2013-11-29 Joseph Myers <joseph@codesourcery.com>
12371 * math/w_exp10.c (__exp10): Handle a zero result as underflow.
12372 * math/w_exp10f.c (__exp10f): Likewise.
12373 * math/w_exp10l.c (__exp10l): Likewise.
12374 * math/libm-test.inc (exp10_test_data): Add more tests and expect
12375 errno settings in existing tests.
12378 * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
12379 precision control set to double precision.
12380 * sysdeps/i386/fpu/w_sqrt.c: New file.
12381 * math/auto-libm-test-in: Add more tests.
12382 * math/auto-libm-test-out: Update.
12384 * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
12385 (sqrt_test_tonearest): New function.
12386 (sqrt_towardzero_test_data): New variable.
12387 (sqrt_test_towardzero): New function.
12388 (sqrt_downward_test_data): New variable.
12389 (sqrt_test_downward): New function.
12390 (sqrt_upward_test_data): New variable.
12391 (sqrt_test_upward): New function.
12392 (main): Call the new functions.
12394 * math/gen-auto-libm-tests.c: New file.
12395 * math/auto-libm-test-in: Likewise.
12396 * math/auto-libm-test-out: New generated file.
12397 * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
12399 (%beautify): Add generated representations of zero.
12400 (top level): Set $auto_input and call parse_auto_input.
12401 (beautify): Remove trailing "f" from hex float constants.
12402 (parse_args): Handle XFAIL_TEST.
12403 (convert_condition): New function.
12404 (or_value): Likewise.
12405 (or_cond_value): Likewise.
12406 (generate_testfile): Handle AUTO_TESTS_* lines.
12407 (parse_auto_input): New function.
12408 * math/libm-test.inc (XFAIL_TEST): New macro.
12409 (ERRNO_UNCHANGED): Update value.
12410 (ERRNO_EDOM): Likewise.
12411 (ERRNO_ERANGE): Likewise.
12412 (IGNORE_RESULT): Likewise.
12413 (TEST_COND_flt_32): New macro.
12414 (TEST_COND_dbl_64): Likewise.
12415 (TEST_COND_ldbl_96_intel): Likewise.
12416 (TEST_COND_ldbl_96_m68k): Likewise.
12417 (TEST_COND_ldbl_128): Likewise.
12418 (TEST_COND_ldbl_128ibm): Likewise.
12419 (TEST_COND_long32): Likewise.
12420 (TEST_COND_long64): Likewise.
12421 (TEST_COND_before_rounding): Likewise.
12422 (TEST_COND_after_rounding): Likewise.
12423 (enable_test): Handle XFAIL_TEST flag.
12424 (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
12425 with finite results.
12426 * math/Makefile ($(objpfx)libm-test.stmp): Depend on
12427 auto-libm-test-out.
12429 2013-11-29 Siddhesh Poyarekar <siddhesh@redhat.com>
12430 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
12433 * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
12434 __tls_get_addr_internal instead of __tls_get_offset in order to
12435 avoid GOT pointer dependency. Make rtld export
12436 __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
12437 __tls_get_addr since we are a __tls_get_offset platform.
12438 * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
12439 GOT pointer being set up before.
12440 * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
12442 2013-11-28 Joseph Myers <joseph@codesourcery.com>
12444 * manual/math.texi (Errors in Math Functions): Document accuracy
12448 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
12449 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
12450 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
12451 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
12452 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
12453 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
12454 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
12455 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
12456 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
12457 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
12458 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
12459 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
12460 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
12461 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
12462 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
12463 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
12465 * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
12466 * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
12467 * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
12468 * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
12469 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
12471 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
12473 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
12475 * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
12476 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
12477 (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
12478 atomic-feupdateenv and flt-rounds.
12479 * sysdeps/powerpc/nofpu/Versions (libc): Add
12480 __atomic_feholdexcept, __atomic_feclearexcept,
12481 __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
12482 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
12483 (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
12484 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
12485 (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
12487 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
12490 * manual/arith.texi (FP Exceptions): Document that exceptions may
12491 not be raised when matherr is used.
12492 (Math Error Reporting): Document overflow in directed rounding
12493 modes. Document that errno may not be set when finite values are
12494 returned on overflow. Document intent to set errno on underflow
12495 only for underflow to zero.
12498 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
12499 round-to-nearest then adjust result for other rounding modes.
12500 * include/fenv.h (fegetround): Use libm_hidden_proto.
12501 * math/fegetround.c (fegetround): Use libm_hidden_def.
12502 * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
12503 * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
12504 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
12505 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
12507 * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
12508 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
12509 * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
12510 * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
12512 2013-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
12515 * nss/Versions (libnss_files): Add
12516 _nss_files_gethostbyname3_r.
12517 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
12519 (HOST_DB_LOOKUP): Remove macro.
12520 (_nss_files_gethostbyname_r): Implement function without the
12521 HOST_DB_LOOKUP macro.
12522 (_nss_files_gethostbyname2_r): Likewise.
12524 2013-11-28 Ondřej Bílka <neleai@seznam.cz>
12526 * malloc/malloc.c (__libc_calloc): Make memset a tail call.
12528 2013-11-26 Uros Bizjak <ubizjak@gmail.com>
12530 * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
12531 _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
12534 2013-11-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12536 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
12537 __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
12538 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
12539 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
12540 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
12541 __fe_nomask_env_priv and attribute_hidden.
12542 * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
12543 (libc_feupdateenv_test_ppc): Likewise.
12544 (libc_feresetround_ppc): Likewise.
12545 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
12546 (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
12547 compat_symbol macro.
12548 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
12549 (__fe_nomask_env): Likewise.
12550 * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
12552 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
12554 * string/Makefile: Remove ifunc tests.
12555 * string/test-string.h: Define TEST_IFUNC.
12556 * string/test-bcopy-ifunc.c: Remove.
12557 * string/test-bzero-ifunc.c: Likewise.
12558 * string/test-memccpy-ifunc.c: Likewise.
12559 * string/test-memchr-ifunc.c: Likewise.
12560 * string/test-memcmp-ifunc.c: Likewise.
12561 * string/test-memcpy-ifunc.c: Likewise.
12562 * string/test-memmem-ifunc.c: Likewise.
12563 * string/test-memmove-ifunc.c: Likewise.
12564 * string/test-mempcpy-ifunc.c: Likewise.
12565 * string/test-memrchr-ifunc.c: Likewise.
12566 * string/test-memset-ifunc.c: Likewise.
12567 * string/test-rawmemchr-ifunc.c: Likewise.
12568 * string/test-stpcpy-ifunc.c: Likewise.
12569 * string/test-stpncpy-ifunc.c: Likewise.
12570 * string/test-strcasecmp-ifunc.c: Likewise.
12571 * string/test-strcasestr-ifunc.c: Likewise.
12572 * string/test-strcat-ifunc.c: Likewise.
12573 * string/test-strchr-ifunc.c: Likewise.
12574 * string/test-strchrnul-ifunc.c: Likewise.
12575 * string/test-strcmp-ifunc.c: Likewise.
12576 * string/test-strcpy-ifunc.c: Likewise.
12577 * string/test-strcspn-ifunc.c: Likewise.
12578 * string/test-strlen-ifunc.c: Likewise.
12579 * string/test-strncasecmp-ifunc.c: Likewise.
12580 * string/test-strncat-ifunc.c: Likewise.
12581 * string/test-strncmp-ifunc.c: Likewise.
12582 * string/test-strncpy-ifunc.c: Likewise.
12583 * string/test-strnlen-ifunc.c: Likewise.
12584 * string/test-strpbrk-ifunc.c: Likewise.
12585 * string/test-strrchr-ifunc.c: Likewise.
12586 * string/test-strspn-ifunc.c: Likewise.
12587 * string/test-strstr-ifunc.c: Likewise.
12589 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
12591 * benchtests/Makefile: Remove ifunc tests.
12592 * benchtests/bench-string.h: Define TEST_IFUNC.
12593 * benchtests/bench-bcopy-ifunc.c: Remove.
12594 * benchtests/bench-bzero-ifunc.c: Likewise.
12595 * benchtests/bench-memccpy-ifunc.c: Likewise.
12596 * benchtests/bench-memchr-ifunc.c: Likewise.
12597 * benchtests/bench-memcmp-ifunc.c: Likewise.
12598 * benchtests/bench-memcpy-ifunc.c: Likewise.
12599 * benchtests/bench-memmem-ifunc.c: Likewise.
12600 * benchtests/bench-memmove-ifunc.c: Likewise.
12601 * benchtests/bench-mempcpy-ifunc.c: Likewise.
12602 * benchtests/bench-memrchr-ifunc.c: Likewise.
12603 * benchtests/bench-memset-ifunc.c: Likewise.
12604 * benchtests/bench-rawmemchr-ifunc.c: Likewise.
12605 * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
12606 * benchtests/bench-stpcpy-ifunc.c: Likewise.
12607 * benchtests/bench-stpncpy-ifunc.c: Likewise.
12608 * benchtests/bench-strcasecmp-ifunc.c: Likewise.
12609 * benchtests/bench-strcasestr-ifunc.c: Likewise.
12610 * benchtests/bench-strcat-ifunc.c: Likewise.
12611 * benchtests/bench-strchr-ifunc.c: Likewise.
12612 * benchtests/bench-strchrnul-ifunc.c: Likewise.
12613 * benchtests/bench-strcmp-ifunc.c: Likewise.
12614 * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
12615 * benchtests/bench-strcpy-ifunc.c: Likewise.
12616 * benchtests/bench-strcspn-ifunc.c: Likewise.
12617 * benchtests/bench-strlen-ifunc.c: Likewise.
12618 * benchtests/bench-strncasecmp-ifunc.c: Likewise.
12619 * benchtests/bench-strncat-ifunc.c: Likewise.
12620 * benchtests/bench-strncmp-ifunc.c: Likewise.
12621 * benchtests/bench-strncpy-ifunc.c: Likewise.
12622 * benchtests/bench-strnlen-ifunc.c: Likewise.
12623 * benchtests/bench-strpbrk-ifunc.c: Likewise.
12624 * benchtests/bench-strrchr-ifunc.c: Likewise.
12625 * benchtests/bench-strsep-ifunc.c: Likewise.
12626 * benchtests/bench-strspn-ifunc.c: Likewise.
12627 * benchtests/bench-strstr-ifunc.c: Likewise.
12629 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
12631 * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
12633 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
12635 * resolv/netdb.h: Use __glibc_reserved instead __unused.
12636 * rt/aio.h: Likewise.
12637 * sysdeps/gnu/bits/utmp.h: Likewise.
12638 * sysdeps/gnu/bits/utmpx.h: Likewise.
12639 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
12640 * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
12641 * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
12642 * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
12643 * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
12644 * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
12645 * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
12646 * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
12647 * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
12648 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
12649 * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
12650 * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
12651 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
12652 * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
12653 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
12654 * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
12655 * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
12656 * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
12657 * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
12658 * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
12659 * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
12660 * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
12661 * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
12662 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
12663 * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
12664 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
12665 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
12666 * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
12667 * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
12668 * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
12669 * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
12670 * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
12671 * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
12672 * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
12673 * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
12674 * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
12675 * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
12676 * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
12677 * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
12678 * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
12679 * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
12680 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
12682 2013-11-25 Carlos O'Donell <carlos@redhat.com>
12685 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
12686 Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
12688 2013-11-25 Joseph Myers <joseph@codesourcery.com>
12690 * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
12691 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
12694 2013-11-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12696 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
12697 SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
12698 * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
12699 (__fesetround): Remove define.
12700 * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
12701 rounding and exceptions handling.
12702 * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
12703 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
12704 (__fe_nomask_env): Likewise.
12705 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
12706 __fegetround instead of fegetround.
12707 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
12708 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
12710 2013-11-21 Roland McGrath <roland@hack.frob.com>
12712 * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
12715 * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
12717 2013-11-21 Meador Inge <meadori@codesourcery.com>
12720 * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
12721 (encrypt_r): Likewise.
12722 * malloc/obstack.h (obstack_free): Likewise.
12723 * posix/unistd.h (encrypt): Likewise.
12725 2013-11-21 Guy Martin <gmsoft@tuxicoman.be>
12727 * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
12728 DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
12729 DL_CALL_DT_FINI() that call the functions directly.
12730 * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
12731 * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
12732 * elf/dl-fini.c: Likewise.
12734 2013-11-20 Ondřej Bílka <neleai@seznam.cz>
12736 * malloc/hooks.c (memalign_check): Add alignment rounding.
12737 * malloc/malloc.c (_mid_memalign): New function.
12738 (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
12739 Implement by calling _mid_memalign.
12740 * manual/probes.texi (Memory Allocation Probes): Remove
12741 memory_valloc_retry and memory_pvalloc_retry.
12743 2013-11-20 Siddhesh Poyarekar <siddhesh@redhat.com>
12745 * locale/programs/locarchive.c (open_archive): Add const
12746 qualifier to ARCHIVEFNAME and copy default fname to
12750 * libio/tst-widetext.input: Rename Oriya to Odia.
12751 * locale/iso-639.def: Likewise.
12753 * manual/probes.texi (Mathematical Function Probes): Add
12754 documentation for sin, cos, asin and acos probes.
12755 * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
12756 (__sin32): Add slowasin probe.
12757 (__cos32): Add slowacos probe.
12758 (__mpsin): Add slowsin probe.
12759 (__mpcos): Add slowcos probe.
12761 2013-11-19 Joseph Myers <joseph@codesourcery.com>
12764 * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
12765 thread-local __sim_exceptions_thread and global
12766 __sim_exceptions_global.
12767 (__sim_disabled_exceptions): Change to thread-local
12768 __sim_disabled_exceptions_thread and global
12769 __sim_disabled_exceptions_global.
12770 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
12771 and global __sim_round_mode_global.
12772 (__simulate_exceptions): Use thread-local floating-point state and
12773 set global state from it as needed.
12774 * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
12775 __sim_exceptions_thread, __sim_disabled_exceptions_thread and
12776 __sim_round_mode_thread.
12777 * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
12778 (__sim_exceptions): Change to thread-local __sim_exceptions_thread
12779 and global __sim_exceptions_global.
12780 (__sim_disabled_exceptions): Change to thread-local
12781 __sim_disabled_exceptions_thread and global
12782 __sim_disabled_exceptions_global.
12783 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
12784 and global __sim_round_mode_global.
12785 [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
12786 (SIM_SET_GLOBAL): Likewise.
12787 * sysdeps/powerpc/soft-fp/sfp-machine.h
12788 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
12789 __sim_round_mode_thread.
12790 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
12791 __sim_disabled_exceptions_thread.
12792 (__sim_exceptions): Change to __sim_exceptions_thread.
12793 (__sim_disabled_exceptions): Change to
12794 __sim_disabled_exceptions_thread.
12795 (__sim_round_mode): Change to __sim_round_mode_thread.
12796 * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
12797 thread-local floating-point state and set global state from it as
12799 * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
12800 * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
12801 (__sim_disabled_exceptions): Remove extern declaration.
12802 (feenableexcept): Use thread-local floating-point state and set
12803 global state from it as needed.
12804 * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
12805 extern declaration.
12806 (__sim_disabled_exceptions): Likewise.
12807 (__sim_round_mode): Likewise.
12808 (__fegetenv): Use thread-local floating-point state.
12809 * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
12810 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
12811 * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
12812 floating-point state and set global state from it as needed.
12813 * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
12814 * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
12815 * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
12817 * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
12818 * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
12820 sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
12821 * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
12822 Use __sim_round_mode_thread.
12823 * math/test-fenv-tls.c: New file.
12824 * math/Makefile (tests): Add test-fenv-tls.
12825 ($(objpfx)test-fenv-tls): Depend on
12826 $(common-objpfx)nptl/libpthread.so.
12828 2013-11-19 Andreas Schwab <schwab@suse.de>
12830 * locale/programs/locale.c (show_info): Decode wordarray elements.
12831 * locale/categories.def (LC_MONETARY): Add element for
12832 _NL_MONETARY_CRNCYSTR.
12833 * locale/C-monetary.c (conversion_rate): New variable.
12834 (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
12837 2013-11-18 Chris Metcalf <cmetcalf@tilera.com>
12839 * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
12840 Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
12842 2013-11-18 Paul Pluzhnikov <ppluzhnikov@google.com>
12844 * elf/Makefile (tst-auxv): New test.
12845 * elf/tst-auxv.c: New
12846 * elf/rtld.c (dl_main): Adjust AT_EXECFN
12848 2013-11-18 Joseph Myers <joseph@codesourcery.com>
12850 * include/libc-symbols.h (__hidden_proto): Add argument "thread".
12851 (hidden_proto): Caller changed.
12852 (hidden_tls_proto): New macro.
12853 (libc_hidden_tls_proto): Likewise.
12854 (rtld_hidden_tls_proto): Likewise.
12855 (libm_hidden_tls_proto): Likewise.
12856 (libresolv_hidden_tls_proto): Likewise.
12857 (librt_hidden_tls_proto): Likewise.
12858 (libdl_hidden_tls_proto): Likewise.
12859 (libnss_files_hidden_tls_proto): Likewise.
12860 (libnsl_hidden_tls_proto): Likewise.
12861 (libnss_nisplus_hidden_tls_proto): Likewise.
12862 (libutil_hidden_tls_proto): Likewise.
12864 2013-11-18 Ondřej Bílka <neleai@seznam.cz>
12867 * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
12868 (decompose_rpath): Defer expansion to fillin_rpath.
12869 (_dl_init_paths): Pass linkmap to fillin_rpath.
12871 2013-11-18 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
12873 * benchtests/Makefile: Add strsep.
12874 * benchtests/bench-strsep.c: New file: strsep benchtest.
12875 * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
12877 2013-11-18 Andreas Schwab <schwab@suse.de>
12879 * locale/programs/locale.c (show_info) [case byte]: Check for
12880 '\377' instead of '\177'.
12881 * locale/C-monetary.c (not_available): Always use "\377".
12882 * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
12883 unspecified p_sign_posn and n_sign_posn. Check for '\377' to
12884 detect unavailable sign_posn locale elements.
12885 * locale/localeconv.c (__localeconv): For grouping and
12886 mon_grouping handle "\177" and "\377" like no grouping.
12887 (INT_ELEM): New macro. Use it to set all numeric members.
12888 * locale/programs/ld-monetary.c (monetary_read)
12889 <tok_mon_grouping>: Normalize single -1 to the empty string.
12890 * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
12893 2013-11-07 Ondřej Bílka <neleai@seznam.cz>
12896 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
12897 when we match (nil).
12898 * stdio-common/tst-sscanf.c (struct test): Add testcase.
12900 2013-11-16 Joseph Myers <joseph@codesourcery.com>
12902 * math/libm-test.inc (TEST_NAN_SIGN): New macro.
12903 (NO_TEST_INLINE): Update value.
12904 (ERRNO_UNCHANGED): Likewise.
12905 (ERRNO_EDOM): Likewise.
12906 (ERRNO_ERANGE): Likewise.
12907 (IGNORE_RESULT): Likewise.
12908 (check_float_internal): Check signs of NaN results if
12909 TEST_NAN_SIGN used.
12910 (check_complex): Pass TEST_NAN_SIGN flag through to second
12911 check_float_internal call.
12912 (copysign_test_data): Add tests with quiet NaNs as second
12913 argument. Use TEST_NAN_SIGN.
12914 (fabs_test_data): Add test of negative quiet NaN argument. Use
12916 (signbit_test_data): Add tests of quiet NaN argument.
12917 * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
12919 * math/gen-libm-test.pl (show_exceptions): Take extra argument
12921 (parse_args): Handle function results specified as IGNORE.
12922 * math/libm-test.inc (IGNORE_RESULT): New macro.
12923 (check_float_internal): Do not check numerical result if flag
12925 (check_complex): Pass through IGNORE_RESULT to second
12926 check_float_internal call.
12927 (check_int): Do not check numerical result if flag IGNORE_RESULT
12929 (check_long): Likewise.
12930 (check_bool): Likewise.
12931 (check_longlong): Likewise.
12932 (lrint_test_data): Add tests of infinite and NaN arguments.
12933 (lrint_tonearest_test_data): Likewise.
12934 (lrint_towardzero_test_data): Likewise.
12935 (lrint_downward_test_data): Likewise.
12936 (lrint_upward_test_data): Likewise.
12937 (llrint_test_data): Likewise.
12938 (llrint_tonearest_test_data): Likewise.
12939 (llrint_towardzero_test_data): Likewise.
12940 (llrint_downward_test_data): Likewise.
12941 (llrint_upward_test_data): Likewise.
12942 (lround_test_data): Likewise.
12943 (llround_test_data): Likewise.
12945 * math/libm-test.inc (NO_TEST_INLINE): New macro.
12946 (ERRNO_UNCHANGED): Update value.
12947 (ERRNO_EDOM): Likewise.
12948 (ERRNO_ERANGE): Likewise.
12949 (NO_TEST_INLINE_FLOAT): New macro.
12950 (NO_TEST_INLINE_DOUBLE): Likewise.
12951 (enable_test): New function.
12952 (RUN_TEST_f_f): Check enable_test before running test.
12953 (RUN_TEST_2_f): Likewise.
12954 (RUN_TEST_fff_f): Likewise.
12955 (RUN_TEST_c_f): Likewise.
12956 (RUN_TEST_f_f1): Likewise.
12957 (RUN_TEST_fF_f1): Likewise.
12958 (RUN_TEST_fI_f1): Likewise.
12959 (RUN_TEST_ffI_f1): Likewise.
12960 (RUN_TEST_c_c): Likewise.
12961 (RUN_TEST_cc_c): Likewise.
12962 (RUN_TEST_f_i): Likewise.
12963 (RUN_TEST_f_i_tg): Likewise.
12964 (RUN_TEST_ff_i_tg): Likewise.
12965 (RUN_TEST_f_b): Likewise.
12966 (RUN_TEST_f_b_tg): Likewise.
12967 (RUN_TEST_f_l): Likewise.
12968 (RUN_TEST_f_L): Likewise.
12969 (RUN_TEST_fFF_11): Likewise.
12970 (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
12972 (cosh_test_data): Likewise.
12973 (exp_test_data): Likewise.
12974 (expm1_test_data): Likewise.
12975 (hypot_test_data): Likewise.
12976 (pow_test_data): Likewise.
12977 (sinh_test_data): Likewise.
12978 (tanh_test_data): Likewise.
12979 * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
12982 * libm-test.inc (acos_test_data): Disallow inexact exceptions for
12983 tests with quiet NaN input and output.
12984 (acosh_test_data): Likewise.
12985 (asin_test_data): Likewise.
12986 (asinh_test_data): Likewise.
12987 (atan_test_data): Likewise.
12988 (atanh_test_data): Likewise.
12989 (atan2_test_data): Likewise.
12990 (cbrt_test_data): Likewise.
12991 (cos_test_data): Likewise.
12992 (cosh_test_data): Likewise.
12993 (erf_test_data): Likewise.
12994 (erfc_test_data): Likewise.
12995 (exp_test_data): Likewise.
12996 (exp10_test_data): Likewise.
12997 (exp2_test_data): Likewise.
12998 (expm1_test_data): Likewise.
12999 (hypot_test_data): Likewise.
13000 (j0_test_data): Likewise.
13001 (j1_test_data): Likewise.
13002 (jn_test_data): Likewise.
13003 (lgamma_test_data): Likewise.
13004 (log_test_data): Likewise.
13005 (log10_test_data): Likewise.
13006 (log1p_test_data): Likewise.
13007 (log2_test_data): Likewise.
13008 (pow_test_data): Likewise.
13009 (scalb_test_data): Likewise.
13010 (sin_test_data): Likewise.
13011 (sincos_test_data): Likewise.
13012 (sinh_test_data): Likewise.
13013 (tan_test_data): Likewise.
13014 (tanh_test_data): Likewise.
13015 (tgamma_test_data): Likewise.
13016 (y0_test_data): Likewise.
13017 (y1_test_data): Likewise.
13018 (yn_test_data): Likewise.
13021 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
13022 argument being NaN and avoid computations with second argument in
13024 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
13025 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
13026 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
13028 2013-11-15 Arun Kumar Pyasi <arun@chitwanix.com>
13030 * locale/iso-639.def: Add Chitwani Tharu (the).
13032 2013-11-14 Andreas Schwab <schwab@suse.de>
13034 * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
13035 word instead of empty string.
13037 2013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13039 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
13040 (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
13041 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
13042 (__fe_nomask_env): Likewise.
13044 2013-11-13 Steve Ellcey <sellcey@mips.com>
13046 * benchtests/bench-timing.h: Include time.h.
13048 2013-11-13 H.J. Lu <hongjiu.lu@intel.com>
13051 * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
13053 * sysdeps/unix/sysv/linux/configure: Regenerated.
13055 2013-11-13 Joseph Myers <joseph@codesourcery.com>
13058 * stdlib/strtod_l.c (round_and_return): Do not consider
13059 retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
13060 exponent one less than half the least subnormal exponent.
13061 * stdlib/test-strtod-round-data: Add more tests.
13062 * stdlib/tst-strtod-round.c (tests): Regenerated.
13064 2013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13067 * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
13068 (__fe_mask_env): Likewise.
13069 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
13070 libm_hidden_proto and add function prototype.
13071 (__fe_mask_env): Add function prototype.
13072 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
13073 (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
13074 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
13075 (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
13076 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
13077 (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
13079 2013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
13081 * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
13082 set reference_name to "" to avoid passing NULL to DSO_FILENAME.
13084 2013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
13086 * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
13087 of htab_find_slot().
13089 2013-11-11 David S. Miller <davem@davemloft.net>
13092 * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
13093 symbol in the non-vis3 case in static builds.
13094 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
13095 * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
13096 * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
13097 * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
13099 2013-11-11 Jan Kratochvil <jan.kratochvil@redhat.com>
13102 * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
13105 2013-11-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13107 * benchtests/Makefile: Add bench-strtod.
13108 * benchtests/bench-strtod.c: New file: strtod benchtest
13110 2013-11-11 Andreas Schwab <schwab@suse.de>
13113 * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
13114 terminating NUL in key length.
13116 2013-11-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13118 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
13119 Add artificial ODP entry for vDSO symbol for PPC64.
13120 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
13121 * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
13123 2013-11-07 Ondřej Bílka <neleai@seznam.cz>
13126 * nss/getent.c (services_keys): Recognize services starting with digit.
13128 2013-11-06 David S. Miller <davem@davemloft.net>
13131 * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
13132 on pre-v9 cpus, use a fnegs+fmovs sequence instead.
13134 2013-11-06 Will Newton <will.newton@linaro.org>
13136 * manual/memory.texi (Malloc Examples): Remove register
13137 keyword from examples.
13139 2013-11-04 Chris Leonard <cjl@sugarlabs.org>
13141 * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
13143 2013-11-04 Joseph Myers <joseph@codesourcery.com>
13146 * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
13147 depending on [__GCC_IEC_559 > 0].
13148 [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
13149 depending on [__GCC_IEC_559_COMPLEX > 0].
13151 2013-11-03 Chris Leonard <cjl@sugarlabs.org>
13153 * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
13156 2013-11-03 Ondřej Bílka <neleai@seznam.cz>
13158 * elf/rtld.c: Remove unused NONTLS_INIT_TP.
13160 2013-11-01 Ondřej Bílka <neleai@seznam.cz>
13163 * malloc/malloc (malloc_info): Do not handle first bin as
13166 2013-11-01 Chris Leonard <cjl@sugarlabs.org>
13168 * locale/iso-639.def: Add Central Nahuatl (nhn).
13170 2013-11-01 Bruno Haible <bruno@clisp.org>
13173 * manual/math.texi (BSD Random): Specify range upper bound as
13176 2013-10-31 Chris Leonard <cjl@sugarlabs.org>
13178 * locale/iso-639.def: Add Meadow Mari (mhr).
13180 2013-10-31 Ondřej Bílka <neleai@seznam.cz>
13182 [BZ #14752], [BZ #15763]
13183 * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
13185 * rt/tst_shm.c: Add test for escaping directory.
13187 2013-10-31 Andreas Schwab <schwab@suse.de>
13190 * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
13191 followed by 'x' as part of digit sequence.
13192 * stdio-common/tst-sscanf.c (double_tests2): New tests.
13194 2013-10-31 Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
13197 * configure.ac: allow GNU Make 4.0 and greater.
13198 * configure: Regenerated.
13200 2013-10-30 Will Newton <will.newton@linaro.org>
13203 * malloc/hooks.c (memalign_check): Limit alignment to the
13204 maximum representable power of two.
13205 * malloc/malloc.c (__libc_memalign): Likewise.
13206 * malloc/tst-memalign.c (do_test): Add test for very
13207 large alignment values.
13208 * malloc/tst-posix_memalign.c (do_test): Likewise.
13210 2013-10-30 Ondřej Bílka <neleai@seznam.cz>
13213 * malloc/malloc.c (sysmalloc): Compute statistics atomically.
13214 (munmap_chunk): Likewise.
13215 (mremap_chunk): Likewise.
13217 2013-10-30 Ondřej Bílka <neleai@seznam.cz>
13220 * stdlib/div.c (div): Remove obsolete code.
13221 * stdlib/ldiv.c (ldiv): Likewise.
13222 * stdlib/lldiv.c (lldiv): Likewise.
13224 2013-10-30 Siddhesh Poyarekar <siddhesh@redhat.com>
13227 * nss/nss_files/files-XXX.c (get_contents_ret): New
13229 (get_contents): New function.
13230 (internal_getent): Use it. Expand size of LINEBUFLEN.
13232 2013-10-30 Mike Frysinger <vapier@gentoo.org>
13234 * configure.in: Moved to ...
13235 * configure.ac: ... here. Change reference to configure.in
13237 * sysdeps/arm/preconfigure.ac: ... here.
13238 configure.in to configure.ac.
13239 * sysdeps/gnu/configure.in: Moved to ...
13240 * sysdeps/gnu/configure.ac: ... here.
13241 * sysdeps/i386/configure.in: Moved to ...
13242 * sysdeps/i386/configure.ac: ... here.
13243 * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
13244 * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
13245 * sysdeps/mach/configure.in: Moved to ...
13246 * sysdeps/mach/configure.ac: ... here.
13247 * sysdeps/mach/hurd/configure.in: Moved to ...
13248 * sysdeps/mach/hurd/configure.ac: ... here.
13249 * sysdeps/powerpc/configure.in: Moved to ...
13250 * sysdeps/powerpc/configure.ac: ... here.
13251 * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
13252 * sysdeps/powerpc/powerpc32/configure.ac: ... here.
13253 * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
13254 * sysdeps/powerpc/powerpc64/configure.ac: ... here.
13255 * sysdeps/s390/s390-32/configure.in: Moved to ...
13256 * sysdeps/s390/s390-32/configure.ac: ... here.
13257 * sysdeps/s390/s390-64/configure.in: Moved to ...
13258 * sysdeps/s390/s390-64/configure.ac: ... here.
13259 * sysdeps/sh/configure.in: Moved to ...
13260 * sysdeps/sh/configure.ac: ... here.
13261 * sysdeps/sparc/configure.in: Moved to ...
13262 * sysdeps/sparc/configure.ac: ... here.
13263 * sysdeps/unix/sysv/linux/configure.in: Moved to ...
13264 * sysdeps/unix/sysv/linux/configure.ac: ... here.
13265 * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
13266 * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
13267 * sysdeps/x86_64/configure.in: Moved to ...
13268 * sysdeps/x86_64/configure.ac: ... here.
13269 * sysdeps/x86_64/preconfigure.in: Moved to ...
13270 * sysdeps/x86_64/preconfigure.ac: ... here.
13271 * aclocal.m4: Change reference to configure.in to configure.ac.
13272 * config.h.in: Likewise.
13273 * manual/install.texi: Likewise.
13274 * manual/maint.texi: Likewise.
13275 * Makefile: Likewise.
13276 * malloc/Makefile: Likewise.
13277 * nscd/Makefile: Likewise.
13278 * Makeconfig: Change reference to configure.in and
13279 preconfigure.in to configure.ac and preconfigure.ac
13281 * INSTALL: Regenerated.
13282 * configure: Likewise.
13283 * sysdeps/gnu/configure: Likewise.
13284 * sysdeps/i386/configure: Likewise.
13285 * sysdeps/ieee754/ldbl-opt/configure: Likewise.
13286 * sysdeps/mach/configure: Likewise.
13287 * sysdeps/mach/hurd/configure: Likewise.
13288 * sysdeps/powerpc/configure: Likewise.
13289 * sysdeps/powerpc/powerpc32/configure: Likewise.
13290 * sysdeps/powerpc/powerpc64/configure: Likewise.
13291 * sysdeps/s390/s390-32/configure: Likewise.
13292 * sysdeps/s390/s390-64/configure: Likewise.
13293 * sysdeps/sh/configure: Likewise.
13294 * sysdeps/sparc/configure: Likewise.
13295 * sysdeps/unix/sysv/linux/configure: Likewise.
13296 * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
13297 * sysdeps/x86_64/configure: Likewise.
13298 * sysdeps/x86_64/preconfigure: Likewise.
13300 2013-10-29 Andreas Schwab <schwab@suse.de>
13302 * stdio-common/Makefile (tst-swscanf-ENV): Define.
13304 2013-10-28 Siddhesh Poyarekar <siddhesh@redhat.com>
13306 * benchtests/pow-inputs: Add new inputs.
13308 * benchtests/exp-inputs: Add new inputs.
13310 * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
13311 conditional check for return value.
13312 (__cos32): Likewise.
13314 2013-10-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13316 * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
13317 to provide a boost for large inputs with word alignment.
13318 * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
13319 implementation based on optimized PPC64 strcpy.
13320 * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
13321 strcpy for PPC64/POWER7 based on both doubleword and word load/store.
13322 * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
13323 stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
13325 2013-10-25 Ondřej Bílka <neleai@seznam.cz>
13328 * manual/socket.texi (Host Names): Fix gethostbyname_r example.
13330 2013-10-25 Ondřej Bílka <neleai@seznam.cz>
13333 * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
13334 * time/tst-strptime.c (day_tests): Add testcase.
13336 2013-10-25 Ondřej Bílka <neleai@seznam.cz>
13339 * manual/pattern.texi: Acknowledge that fnmatch can fail.
13341 2013-10-25 Fabrice Bauzac <fbauzac@debian71.nce.amadeus.net>
13344 * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
13345 MAP_FAILED on error.
13347 2013-10-25 Siddhesh Poyarekar <siddhesh@redhat.com>
13350 * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
13351 heap for large requests.
13353 2013-10-25 Aurelien Jarno <aurelien@aurel32.net>
13356 * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
13357 result if the result has no associated interface.
13358 * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
13359 interface for all 127.X.Y.Z addresses.
13361 2013-10-24 Chris Leonard <cjl@sugarlabs.org>
13363 * locale/iso-639.def: Add Ligurian (lij)
13365 2013-10-21 Ondřej Bílka <neleai@seznam.cz>
13368 * sunrpc/rpc_main.c: Document rpcgen -5.
13370 2013-10-19 Michael Stahl <mstahl@redhat.com>
13372 * elf/rtld.c (do_preload): Print the reason why preloading failed.
13374 2013-10-19 Ondřej Bílka <neleai@seznam.cz>
13377 * posix/glob.c: Match only directories when trailing slash is present.
13378 * posix/tst-gnuglob.c (my_opendir): Do not open files.
13379 (main): Add testcase.
13381 2013-10-19 Ondřej Bílka <neleai@seznam.cz>
13384 * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
13386 2013-10-18 Carlos O'Donell <carlos@redhat.com>
13388 * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
13389 AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
13390 AUTH_DES and cindex for FIPS 140-2.
13391 (DES Encryption): Add cindex FIPS 46-3.
13393 * locale/locarchive.h (struct locarhandle): Add fname.
13394 * locale/programs/localedef.c (main): Pass ARGV[remaining]
13395 if an optional argument was specified to --list-archive,
13397 * locale/programs/locarchive.c (show_archive_content): Take new
13398 argument fname and pass it via ah.fname to open_archive.
13399 * locale/programs/localedef.h: Update decl.
13400 (open_archive): If AH->fname is non-null, open that file
13401 rather than the default file name, and don't ignore ENOENT.
13402 (create_archive): Set AH.fname to NULL.
13403 (delete_locales_from_archive): Likewise.
13404 (add_locales_to_archive): Likewise.
13405 * locale/programs/locfile.c (write_all_categories): Likewise.
13407 2013-10-18 Joseph Myers <joseph@codesourcery.com>
13408 Aldy Hernandez <aldyh@redhat.com>
13410 * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
13411 * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
13412 * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
13413 * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
13414 * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
13415 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
13416 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
13417 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
13418 * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
13419 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
13420 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
13421 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
13422 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
13423 * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
13424 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
13426 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
13428 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
13430 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
13432 * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
13433 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
13435 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
13436 * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
13437 * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
13438 * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
13440 * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
13441 * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
13442 * sysdeps/powerpc/preconfigure: Likewise.
13443 * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
13445 * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
13446 Replace contents of file by #include of <fenv_libc.h>.
13447 * sysdeps/powerpc/soft-fp/sfp-machine.h
13448 [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
13450 [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
13451 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
13452 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
13453 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
13454 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
13455 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
13456 [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
13457 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
13458 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
13459 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
13460 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
13461 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
13462 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
13463 Allow copysignl PLT reference to be missing.
13465 2013-10-18 Richard Sandiford <richard@codesourcery.com>
13466 Joseph Myers <joseph@codesourcery.com
13469 * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
13471 (add_to_tablewc): Assert sequence of wide characters is nonempty.
13473 2013-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
13475 * elf/tst-tls-dlinfo.c: Don't include tls.h.
13476 * elf/tst-tls1.c: Likewise.
13477 * elf/tst-tls10.h: Likewise.
13478 * elf/tst-tls14.c: Likewise.
13479 * elf/tst-tls2.c: Likewise.
13480 * elf/tst-tls3.c: Likewise.
13481 * elf/tst-tls4.c: Likewise.
13482 * elf/tst-tls5.c: Likewise.
13483 * elf/tst-tls6.c: Likewise.
13484 * elf/tst-tls7.c: Likewise.
13485 * elf/tst-tls8.c: Likewise.
13486 * elf/tst-tls9.c: Likewise.
13487 * elf/tst-tlsmod1.c: Likewise.
13488 * elf/tst-tlsmod13.c: Likewise.
13489 * elf/tst-tlsmod13a.c: Likewise.
13490 * elf/tst-tlsmod14a.c: Likewise.
13491 * elf/tst-tlsmod16a.c: Likewise.
13492 * elf/tst-tlsmod16b.c: Likewise.
13493 * elf/tst-tlsmod2.c: Likewise.
13494 * elf/tst-tlsmod3.c: Likewise.
13495 * elf/tst-tlsmod4.c: Likewise.
13496 * elf/tst-tlsmod5.c: Likewise.
13497 * elf/tst-tlsmod6.c: Likewise.
13499 2013-10-18 Ondřej Bílka <neleai@seznam.cz>
13502 * malloc/malloc.c: remove checks for statistics.
13504 2013-10-17 Ondřej Bílka <neleai@seznam.cz>
13507 * inet/inet_net.c (inet_network): Detect additional invalid strings.
13508 * inet/tst-network.c: Add testcase.
13510 2013-10-17 Andreas Schwab <schwab@suse.de>
13513 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
13514 to determine canonical name.
13516 2013-10-17 Ondřej Bílka <neleai@seznam.cz>
13518 * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
13519 * sysdeps/ieee754/dbl-64/dla.h: Likewise.
13520 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
13521 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
13522 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
13523 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
13524 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
13525 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
13526 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
13527 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
13528 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
13529 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
13530 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
13531 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
13532 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
13533 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
13534 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
13535 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
13536 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
13537 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
13538 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
13539 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
13540 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
13541 * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
13542 * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
13543 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
13544 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
13545 * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
13546 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
13547 * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
13548 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
13549 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
13550 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
13551 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
13552 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
13553 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
13554 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
13555 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
13556 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
13557 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
13558 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
13559 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
13560 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
13561 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
13562 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
13563 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
13564 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
13565 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
13566 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
13567 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
13568 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
13569 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
13570 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
13571 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
13572 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
13573 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
13574 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
13575 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
13577 2013-10-17 Joseph Myers <joseph@codesourcery.com>
13580 * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
13581 make result into a quiet NaN.
13583 2013-10-16 Joseph Myers <joseph@codesourcery.com>
13585 * soft-fp/adddf3.c: Fix horizontal whitespace.
13586 * soft-fp/addsf3.c: Likewise.
13587 * soft-fp/addtf3.c: Likewise.
13588 * soft-fp/divdf3.c: Likewise.
13589 * soft-fp/divsf3.c: Likewise.
13590 * soft-fp/divtf3.c: Likewise.
13591 * soft-fp/double.h: Likewise.
13592 * soft-fp/eqdf2.c: Likewise.
13593 * soft-fp/eqsf2.c: Likewise.
13594 * soft-fp/eqtf2.c: Likewise.
13595 * soft-fp/extenddftf2.c: Likewise.
13596 * soft-fp/extended.h: Likewise.
13597 * soft-fp/extendsfdf2.c: Likewise.
13598 * soft-fp/extendsftf2.c: Likewise.
13599 * soft-fp/extendxftf2.c: Likewise.
13600 * soft-fp/fixdfdi.c: Likewise.
13601 * soft-fp/fixdfsi.c: Likewise.
13602 * soft-fp/fixdfti.c: Likewise.
13603 * soft-fp/fixsfdi.c: Likewise.
13604 * soft-fp/fixsfsi.c: Likewise.
13605 * soft-fp/fixsfti.c: Likewise.
13606 * soft-fp/fixtfdi.c: Likewise.
13607 * soft-fp/fixtfsi.c: Likewise.
13608 * soft-fp/fixtfti.c: Likewise.
13609 * soft-fp/fixunsdfdi.c: Likewise.
13610 * soft-fp/fixunsdfsi.c: Likewise.
13611 * soft-fp/fixunsdfti.c: Likewise.
13612 * soft-fp/fixunssfdi.c: Likewise.
13613 * soft-fp/fixunssfsi.c: Likewise.
13614 * soft-fp/fixunssfti.c: Likewise.
13615 * soft-fp/fixunstfdi.c: Likewise.
13616 * soft-fp/fixunstfsi.c: Likewise.
13617 * soft-fp/fixunstfti.c: Likewise.
13618 * soft-fp/floatdidf.c: Likewise.
13619 * soft-fp/floatdisf.c: Likewise.
13620 * soft-fp/floatditf.c: Likewise.
13621 * soft-fp/floatsidf.c: Likewise.
13622 * soft-fp/floatsisf.c: Likewise.
13623 * soft-fp/floatsitf.c: Likewise.
13624 * soft-fp/floattidf.c: Likewise.
13625 * soft-fp/floattisf.c: Likewise.
13626 * soft-fp/floattitf.c: Likewise.
13627 * soft-fp/floatundidf.c: Likewise.
13628 * soft-fp/floatundisf.c: Likewise.
13629 * soft-fp/floatunditf.c: Likewise.
13630 * soft-fp/floatunsidf.c: Likewise.
13631 * soft-fp/floatunsisf.c: Likewise.
13632 * soft-fp/floatunsitf.c: Likewise.
13633 * soft-fp/floatuntidf.c: Likewise.
13634 * soft-fp/floatuntisf.c: Likewise.
13635 * soft-fp/floatuntitf.c: Likewise.
13636 * soft-fp/fmadf4.c: Likewise.
13637 * soft-fp/fmasf4.c: Likewise.
13638 * soft-fp/fmatf4.c: Likewise.
13639 * soft-fp/gedf2.c: Likewise.
13640 * soft-fp/gesf2.c: Likewise.
13641 * soft-fp/getf2.c: Likewise.
13642 * soft-fp/ledf2.c: Likewise.
13643 * soft-fp/lesf2.c: Likewise.
13644 * soft-fp/letf2.c: Likewise.
13645 * soft-fp/muldf3.c: Likewise.
13646 * soft-fp/mulsf3.c: Likewise.
13647 * soft-fp/multf3.c: Likewise.
13648 * soft-fp/negdf2.c: Likewise.
13649 * soft-fp/negsf2.c: Likewise.
13650 * soft-fp/negtf2.c: Likewise.
13651 * soft-fp/op-1.h: Likewise.
13652 * soft-fp/op-2.h: Likewise.
13653 * soft-fp/op-4.h: Likewise.
13654 * soft-fp/op-8.h: Likewise.
13655 * soft-fp/op-common.h: Likewise.
13656 * soft-fp/quad.h: Likewise.
13657 * soft-fp/single.h: Likewise.
13658 * soft-fp/soft-fp.h: Likewise.
13659 * soft-fp/sqrtdf2.c: Likewise.
13660 * soft-fp/sqrtsf2.c: Likewise.
13661 * soft-fp/sqrttf2.c: Likewise.
13662 * soft-fp/subdf3.c: Likewise.
13663 * soft-fp/subsf3.c: Likewise.
13664 * soft-fp/subtf3.c: Likewise.
13665 * soft-fp/truncdfsf2.c: Likewise.
13666 * soft-fp/trunctfdf2.c: Likewise.
13667 * soft-fp/trunctfsf2.c: Likewise.
13668 * soft-fp/trunctfxf2.c: Likewise.
13669 * soft-fp/unorddf2.c: Likewise.
13670 * soft-fp/unordsf2.c: Likewise.
13671 * soft-fp/unordtf2.c: Likewise.
13673 2013-10-15 Joseph Myers <joseph@codesourcery.com>
13675 * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
13676 * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
13678 2013-10-15 Ondřej Bílka <neleai@seznam.cz>
13680 * elf/dl-libc.c: Clear initfini list after freeing.
13682 2013-10-14 Joseph Myers <joseph@codesourcery.com>
13684 * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
13685 * soft-fp/addsf3.c: Likewise.
13686 * soft-fp/addtf3.c: Likewise.
13687 * soft-fp/divdf3.c: Likewise.
13688 * soft-fp/divsf3.c: Likewise.
13689 * soft-fp/divtf3.c: Likewise.
13690 * soft-fp/double.h: Likewise.
13691 * soft-fp/eqdf2.c: Likewise.
13692 * soft-fp/eqsf2.c: Likewise.
13693 * soft-fp/eqtf2.c: Likewise.
13694 * soft-fp/extenddftf2.c: Likewise.
13695 * soft-fp/extended.h: Likewise.
13696 * soft-fp/extendsfdf2.c: Likewise.
13697 * soft-fp/extendsftf2.c: Likewise.
13698 * soft-fp/extendxftf2.c: Likewise.
13699 * soft-fp/fixdfdi.c: Likewise.
13700 * soft-fp/fixdfsi.c: Likewise.
13701 * soft-fp/fixdfti.c: Likewise.
13702 * soft-fp/fixsfdi.c: Likewise.
13703 * soft-fp/fixsfsi.c: Likewise.
13704 * soft-fp/fixsfti.c: Likewise.
13705 * soft-fp/fixtfdi.c: Likewise.
13706 * soft-fp/fixtfsi.c: Likewise.
13707 * soft-fp/fixtfti.c: Likewise.
13708 * soft-fp/fixunsdfdi.c: Likewise.
13709 * soft-fp/fixunsdfsi.c: Likewise.
13710 * soft-fp/fixunsdfti.c: Likewise.
13711 * soft-fp/fixunssfdi.c: Likewise.
13712 * soft-fp/fixunssfsi.c: Likewise.
13713 * soft-fp/fixunssfti.c: Likewise.
13714 * soft-fp/fixunstfdi.c: Likewise.
13715 * soft-fp/fixunstfsi.c: Likewise.
13716 * soft-fp/fixunstfti.c: Likewise.
13717 * soft-fp/floatdidf.c: Likewise.
13718 * soft-fp/floatdisf.c: Likewise.
13719 * soft-fp/floatditf.c: Likewise.
13720 * soft-fp/floatsidf.c: Likewise.
13721 * soft-fp/floatsisf.c: Likewise.
13722 * soft-fp/floatsitf.c: Likewise.
13723 * soft-fp/floattidf.c: Likewise.
13724 * soft-fp/floattisf.c: Likewise.
13725 * soft-fp/floattitf.c: Likewise.
13726 * soft-fp/floatundidf.c: Likewise.
13727 * soft-fp/floatundisf.c: Likewise.
13728 * soft-fp/floatunsidf.c: Likewise.
13729 * soft-fp/floatunsisf.c: Likewise.
13730 * soft-fp/floatuntidf.c: Likewise.
13731 * soft-fp/floatuntisf.c: Likewise.
13732 * soft-fp/floatuntitf.c: Likewise.
13733 * soft-fp/fmadf4.c: Likewise.
13734 * soft-fp/fmasf4.c: Likewise.
13735 * soft-fp/fmatf4.c: Likewise.
13736 * soft-fp/gedf2.c: Likewise.
13737 * soft-fp/gesf2.c: Likewise.
13738 * soft-fp/getf2.c: Likewise.
13739 * soft-fp/ledf2.c: Likewise.
13740 * soft-fp/lesf2.c: Likewise.
13741 * soft-fp/letf2.c: Likewise.
13742 * soft-fp/muldf3.c: Likewise.
13743 * soft-fp/mulsf3.c: Likewise.
13744 * soft-fp/multf3.c: Likewise.
13745 * soft-fp/negdf2.c: Likewise.
13746 * soft-fp/negsf2.c: Likewise.
13747 * soft-fp/negtf2.c: Likewise.
13748 * soft-fp/op-1.h: Likewise.
13749 * soft-fp/op-2.h: Likewise.
13750 * soft-fp/op-4.h: Likewise.
13751 * soft-fp/op-8.h: Likewise.
13752 * soft-fp/op-common.h: Likewise.
13753 * soft-fp/quad.h: Likewise.
13754 * soft-fp/single.h: Likewise.
13755 * soft-fp/soft-fp.h: Likewise.
13756 * soft-fp/sqrtdf2.c: Likewise.
13757 * soft-fp/sqrtsf2.c: Likewise.
13758 * soft-fp/sqrttf2.c: Likewise.
13759 * soft-fp/subdf3.c: Likewise.
13760 * soft-fp/subsf3.c: Likewise.
13761 * soft-fp/subtf3.c: Likewise.
13762 * soft-fp/truncdfsf2.c: Likewise.
13763 * soft-fp/trunctfdf2.c: Likewise.
13764 * soft-fp/trunctfsf2.c: Likewise.
13765 * soft-fp/trunctfxf2.c: Likewise.
13766 * soft-fp/unorddf2.c: Likewise.
13767 * soft-fp/unordsf2.c: Likewise.
13768 * soft-fp/unordtf2.c: Likewise.
13770 2013-10-14 Ondřej Bílka <neleai@seznam.cz>
13773 * misc/error.c (error_tail): Fix possible buffer overflow.
13775 2013-10-14 Aurelien Jarno <aurelien@aurel32.net>
13778 * res_send.c(__libc_res_nsend): Correctly copy the nameserver
13781 2013-10-14 P. J. McDermott <pj@pehjota.net>
13784 * elf/ldd.bash.in (try_trace): New function. Delete previous code
13785 testing pipefail option.
13787 2013-10-12 Joseph Myers <joseph@codesourcery.com>
13789 * soft-fp/double.h: Indent preprocessor directives inside #if.
13790 * soft-fp/extended.h: Likewise.
13791 * soft-fp/op-2.h: Likewise.
13792 * soft-fp/op-4.h: Likewise.
13793 * soft-fp/op-common.h: Likewise.
13794 * soft-fp/quad.h: Likewise.
13795 * soft-fp/single.h: Likewise.
13796 * soft-fp/soft-fp.h: Likewise.
13798 2013-10-12 Yuri Chornoivan <yurchor@ukr.net>
13800 * iconv/iconv_prog.c: Fix typos.
13801 * stdio-common/psiginfo-data.h: Likewise.
13803 2013-10-12 Reuben Thomas <rrt@sc3d.org>
13806 * locale/setlocale.c: Fix typo.
13808 2013-10-12 Joseph Myers <joseph@codesourcery.com>
13811 * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
13812 signaling NaN arguments.
13813 * soft-fp/unordsf2.c (__unordsf2): Likewise.
13814 * soft-fp/unordtf2.c (__unordtf2): Likewise.
13817 * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
13818 unordered operands.
13819 * soft-fp/gesf2.c (__gesf2): Likewise.
13820 * soft-fp/getf2.c (__getf2): Likewise.
13821 * soft-fp/ledf2.c (__ledf2): Likewise.
13822 * soft-fp/lesf2.c (__lesf2): Likewise.
13823 * soft-fp/letf2.c (__letf2): Likewise.
13825 * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
13826 * soft-fp/eqsf2.c (__eqsf2): Likewise.
13827 * soft-fp/eqtf2.c (__eqtf2): Likewise.
13828 * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
13829 * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
13830 * soft-fp/fixdfti.c (__fixdfti): Likewise.
13831 * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
13832 * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
13833 * soft-fp/fixsfti.c (__fixsfti): Likewise.
13834 * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
13835 * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
13836 * soft-fp/fixtfti.c (__fixtfti): Likewise.
13837 * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
13838 * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
13839 * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
13840 * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
13841 * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
13842 * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
13843 * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
13844 * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
13845 * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
13846 * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
13847 * soft-fp/floatdisf.c (__floatdisf): Likewise.
13848 * soft-fp/floatsisf.c (__floatsisf): Likewise.
13849 * soft-fp/floattidf.c (__floattidf): Likewise.
13850 * soft-fp/floattisf.c (__floattisf): Likewise.
13851 * soft-fp/floattitf.c (__floattitf): Likewise.
13852 * soft-fp/floatundidf.c (__floatundidf): Likewise.
13853 * soft-fp/floatundisf.c (__floatundisf): Likewise.
13854 * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
13855 * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
13856 * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
13857 * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
13858 * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
13859 * soft-fp/gesf2.c (__gesf2): Likewise.
13860 * soft-fp/getf2.c (__getf2): Likewise.
13861 * soft-fp/ledf2.c (__ledf2): Likewise.
13862 * soft-fp/lesf2.c (__lesf2): Likewise.
13863 * soft-fp/letf2.c (__letf2): Likewise.
13865 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
13866 Undefine and redefine.
13867 [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
13868 [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
13869 [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
13870 * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
13871 (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
13872 * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
13873 (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
13874 * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
13875 (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
13876 * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
13877 (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
13878 * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
13879 (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
13880 * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
13881 (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
13884 * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
13885 without decrementing exponent if mantissa >= that for the
13886 denominator, not >.
13887 (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
13888 denominator, not >. Decrement exponent in < case instead of
13889 incrementing in >= case.
13890 * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
13891 without decrementing exponent if mantissa >= that for the
13892 denominator, not >.
13894 * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
13895 computing saturated result for unsigned overflow.
13897 2013-10-11 Siddhesh Poyarekar <siddhesh@redhat.com>
13898 Jeff Law <law@redhat.com>
13900 * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
13901 (atan2Mp): Add systemtap probe marker.
13902 * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
13903 (__ieee754_log): Add systemtap probe marker.
13904 * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
13905 (atanMp): Add systemtap probe marker.
13906 * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
13907 (tanMp): Add systemtap probe marker.
13908 * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
13909 (__slowexp): Add systemtap probe marker.
13910 * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
13911 (__slowpow): Add systemtap probe marker.
13912 * manual/probes.texi: Document probes.
13914 2013-10-11 Eric Biggers <ebiggers3@gmail.com>
13917 * libio/fileops.c (_IO_new_file_write): Return count of bytes
13919 (_IO_new_file_xsputn): Don't return EOF if nothing has been
13921 * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
13922 written to buffer but not flushed.
13923 * libio/iofwrite_u.c: Likewise.
13924 * libio/iopadn.c: Return bytes returned even if EOF was
13926 * libio/iowpadn.c: Likewise.
13927 * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
13928 if _IO_padn does not write the whole buffer.
13929 [!COMPILE_WPRINTF] (PAD): Likewise.
13931 2013-10-10 David S. Miller <davem@davemloft.net>
13933 * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
13936 2013-10-10 Joseph Myers <joseph@codesourcery.com>
13938 * soft-fp/extendxftf2.c: Use copyright year range. Use URL
13939 instead of FSF address.
13940 * soft-fp/fixdfti.c: Likewise.
13941 * soft-fp/fixsfti.c: Likewise.
13942 * soft-fp/fixtfti.c: Likewise.
13943 * soft-fp/fixunsdfti.c: Likewise.
13944 * soft-fp/fixunssfti.c: Likewise.
13945 * soft-fp/fixunstfti.c: Likewise.
13946 * soft-fp/floattidf.c: Likewise.
13947 * soft-fp/floattisf.c: Likewise.
13948 * soft-fp/floattitf.c: Likewise.
13949 * soft-fp/floatuntidf.c: Likewise.
13950 * soft-fp/floatuntisf.c: Likewise.
13951 * soft-fp/floatuntitf.c: Likewise.
13952 * soft-fp/trunctfxf2.c: Likewise.
13954 * soft-fp/extendxftf2.c: New file. Copied from libgcc.
13955 * soft-fp/fixdfti.c: Likewise.
13956 * soft-fp/fixsfti.c: Likewise.
13957 * soft-fp/fixtfti.c: Likewise.
13958 * soft-fp/fixunsdfti.c: Likewise.
13959 * soft-fp/fixunssfti.c: Likewise.
13960 * soft-fp/fixunstfti.c: Likewise.
13961 * soft-fp/floattidf.c: Likewise.
13962 * soft-fp/floattisf.c: Likewise.
13963 * soft-fp/floattitf.c: Likewise.
13964 * soft-fp/floatuntidf.c: Likewise.
13965 * soft-fp/floatuntisf.c: Likewise.
13966 * soft-fp/floatuntitf.c: Likewise.
13967 * soft-fp/trunctfxf2.c: Likewise.
13969 2013-10-10 David S. Miller <davem@davemloft.net>
13971 * sysdeps/sparc/fpu/libm-test-ulps: Update.
13973 2013-10-10 Joseph Myers <joseph@codsourcery.com>
13975 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
13976 (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
13977 [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
13978 [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
13979 [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
13980 [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
13981 [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
13983 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
13984 for NaNs before doing comparisons on argument.
13985 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
13988 2013-10-10 Will Newton <will.newton@linaro.org>
13990 * malloc/hooks.c (memalign_check): Ensure the value of bytes
13991 passed to _int_memalign does not overflow.
13993 2013-10-10 Torvald Riegel <triegel@redhat.com>
13995 * scripts/bench.pl: Add include-sources directive.
13996 * benchtests/README: Update documentation.
13998 2013-10-10 Joseph Myers <joseph@codesourcery.com>
14000 * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
14001 * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
14002 instead of FP_INIT_ROUNDMODE.
14003 * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
14004 * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
14007 * soft-fp/op-common.h (_FP_NEG): Document input as raw. Do not
14008 copy class of input value.
14009 * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing. Do
14010 not handle exceptions.
14011 * soft-fp/negsf2.c (__negsf2): Likewise.
14012 * soft-fp/negtf2.c (__negtf2): Likewise.
14013 * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
14015 2013-10-09 Joseph Myers <joseph@codesourcery.com>
14017 * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
14018 semicolon. From Linux kernel.
14020 2013-10-09 Adam Buchbinder <adam.buchbinder@gmail.com>
14022 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
14024 2013-10-08 Yogesh Chaudhari <mr.yogesh@gmail.com>
14027 * manual/socket.texi: Added statement about buffer
14028 for gethostbyname2_r.
14030 2013-10-08 Ondřej Bílka <neleai@seznam.cz>
14032 * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
14033 Use .p2align directive instead, throughout.
14034 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
14035 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
14036 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
14037 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
14038 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
14039 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
14040 * sysdeps/x86_64/strchr.S: Likewise.
14041 * sysdeps/x86_64/strrchr.S: Likewise.
14043 2013-10-08 Siddhesh Poyarekar <siddhesh@redhat.com>
14045 * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
14047 * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
14049 * sysdeps/generic/math_private.h (__mpsin1): Remove
14051 (__mpcos1): Likewise.
14052 (__mpsin): New argument __range_reduce.
14053 (__mpcos): Likewise.
14054 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
14055 (slow): Use __mpsin and __mpcos.
14059 (sloww1): Likewise.
14060 (sloww2): Likewise.
14061 (bsloww): Likewise.
14062 (bsloww1): Likewise.
14063 (bsloww2): Likewise.
14064 (cslow2): Likewise.
14065 (csloww): Likewise.
14066 (csloww1): Likewise.
14067 (csloww2): Likewise.
14068 * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
14069 range_reduce. Merge in __mpsin1.
14070 (__mpcos): Likewise.
14071 (__mpsin1): Remove.
14072 (__mpcos1): Likewise.
14074 2013-10-07 Joseph Myers <joseph@codesourcery.com>
14076 * locale/loadlocale.c (_nl_intern_locale_data): Use
14078 * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
14079 LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
14080 * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
14081 obstack data is appropriately aligned.
14082 (obstack_int32_grow_fast): Likewise.
14083 * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
14084 * locale/programs/locfile.c (add_locale_uint32): Likewise.
14085 (add_locale_uint32_array): Likewise.
14087 2013-10-07 Siddhesh Poyarekar <siddhesh@redhat.com>
14089 * benchtests/Makefile: Remove ARGLIST and RET variables.
14090 ($(objpfx)bench-%.c): Pass only function name to the script.
14091 * benchtests/README: Update documentation.
14092 * benchtests/acos-inputs: Add new directives.
14093 * benchtests/acosh-inputs: Likewise.
14094 * benchtests/asin-inputs: Likewise.
14095 * benchtests/asinh-inputs: Likewise.
14096 * benchtests/atan-inputs: Likewise.
14097 * benchtests/atanh-inputs: Likewise.
14098 * benchtests/cos-inputs: Likewise.
14099 * benchtests/cosh-inputs: Likewise.
14100 * benchtests/exp-inputs: Likewise.
14101 * benchtests/log-inputs: Likewise.
14102 * benchtests/pow-inputs: Likewise.
14103 * benchtests/rint-inputs: Likewise.
14104 * benchtests/sin-inputs: Likewise.
14105 * benchtests/sinh-inputs: Likewise.
14106 * benchtests/tan-inputs: Likewise.
14107 * benchtests/tanh-inputs: Likewise.
14108 * scripts/bench.pl: Add support for new directives.
14110 2013-10-07 Alan Modra <amodra@gmail.com>
14112 * README: Fix careless merge.
14114 2013-10-05 Alan Modra <amodra@gmail.com>
14116 * NEWS: Mention powerpc64le support and bugs fixed.
14117 * README: Both big-endian and little-endian powerpc64 supported.
14119 2013-10-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
14121 * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook)
14122 (_hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
14123 (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
14124 _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
14126 2013-10-04 Ryan S. Arnold <ryan.arnold@linaro.org>
14128 * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
14131 2013-10-04 Joseph Myers <joseph@codesourcery.com>
14133 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
14134 Move -mhard-float appending from
14135 ports/sysdeps/powerpc/powerpc32/Makefile.
14136 [$(with-fp) = yes] (ASFLAGS): Likewise.
14137 [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
14138 * sysdeps/powerpc/nofpu: Move directory from
14139 ports/sysdeps/powerpc/nofpu.
14140 * sysdeps/powerpc/soft-fp: Move directory from
14141 ports/sysdeps/powerpc/soft-fp.
14142 * sysdeps/powerpc/powerpc32/405: Move directory from
14143 ports/sysdeps/powerpc/powerpc32/405.
14144 * sysdeps/powerpc/powerpc32/440: Move directory from
14145 ports/sysdeps/powerpc/powerpc32/440.
14146 * sysdeps/powerpc/powerpc32/464: Move directory from
14147 ports/sysdeps/powerpc/powerpc32/464.
14148 * sysdeps/powerpc/powerpc32/476: Move directory from
14149 ports/sysdeps/powerpc/powerpc32/476.
14150 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
14151 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
14152 * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
14153 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
14154 * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
14155 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
14156 * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
14157 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
14158 * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
14159 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
14160 * README: Update for powerpc-*-linux-gnu software floating point
14163 * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
14164 case to powerpc/powerpc32*.
14165 * sysdeps/unix/sysv/linux/configure: Regenerated.
14167 * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
14168 (_FPU_MASK_OM): Define as 0x04.
14169 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
14170 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
14172 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
14174 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
14176 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
14177 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
14179 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
14180 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
14182 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
14183 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
14184 and setcontext_e500.
14186 2013-10-04 Chris Leonard <cjl@sugarlabs,.org>
14188 * locale/iso-3166.def: Update iso-1366.def and related occurrences
14190 2013-10-04 Siddhesh Poyarekar <siddhesh@redhat.com>
14192 * manual/threads.texi (Default Thread Attributes): Fix typo.
14194 2013-10-04 Will Newton <will.newton@linaro.org>
14196 * malloc/Makefile: Add tst-memalign.
14197 * malloc/tst-memalign.c: New file.
14199 * malloc/tst-posix_memalign.c: Add comments.
14200 (do_test): Add comments and call free on all potentially
14201 allocated pointers. Add space after cast.
14203 * malloc/tst-pvalloc.c: Add comments.
14204 (do_test): Add comments and call free on all potentially
14205 allocated pointers. Remove duplicate check for NULL pointer.
14206 Add space after cast.
14208 * malloc/tst-valloc.c: Add comments.
14209 (do_test): Add comments and call free on all potentially
14210 allocated pointers. Remove duplicate check for NULL pointer.
14211 Add space after cast.
14213 2013-10-04 Alan Modra <amodra@gmail.com>
14215 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
14216 Use stdint types in rather than __attribute__((mode())).
14217 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
14219 2013-10-04 Alan Modra <amodra@gmail.com>
14221 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
14222 Correct handling of unaligned relocs for little-endian.
14223 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
14225 2013-10-04 Alan Modra <amodra@gmail.com>
14227 * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
14228 * configure: Regenerate.
14229 * nptl/shlib-versions: Powerpc*le starts at 2.18.
14230 * shlib-versions: Likewise.
14232 2013-10-04 Alan Modra <amodra@gmail.com>
14234 * string/tester.c (test_memrchr): Increment reported test cycle.
14236 2013-10-04 Alan Modra <amodra@gmail.com>
14238 * string/test-memcpy.c (do_one_test): When reporting errors, print
14239 string address and don't overrun end of string.
14241 2013-10-04 Alan Modra <amodra@gmail.com>
14243 * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
14244 insrdi. Make better use of reg selection to speed exit slightly.
14245 Schedule entry path a little better. Remove useless "are we done"
14246 checks on entry to main loop. Handle wrapping around zero address.
14247 Correct main loop count. Handle single left-over word from main
14248 loop inline rather than by using loop_small. Remove extra word
14249 case in loop_small caused by wrong loop count. Add little-endian
14251 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
14252 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise. Use proper
14254 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
14255 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
14256 support. Avoid rlwimi.
14257 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
14259 2013-10-04 Alan Modra <amodra@gmail.com>
14261 * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
14262 insrdi. Formatting.
14263 * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
14264 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
14265 * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
14266 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
14267 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
14268 * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
14270 2013-10-04 Alan Modra <amodra@gmail.com>
14272 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
14273 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
14274 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
14275 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
14276 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
14277 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
14278 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
14279 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
14280 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise. Make better
14281 use of regs. Use power7 mtocrf. Tidy function tails.
14283 2013-10-04 Alan Modra <amodra@gmail.com>
14285 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
14286 Formatting. Consistently use rXXX register defines or rN defines.
14287 Use early exit labels that avoid restoring unused non-volatile regs.
14288 Make cr field use more consistent with rWORDn compares. Rename
14289 regs used as shift registers for unaligned loop, using rN defines
14290 for short lifetime/multiple use regs.
14291 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
14292 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise. Exit with
14293 addi 1,1,64 to pop stack frame. Simplify return value code.
14294 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
14296 2013-10-04 Alan Modra <amodra@gmail.com>
14298 * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
14299 support. Correct typos, formatting. Optimize tail. Use insrdi
14300 rather than rlwimi.
14301 * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
14302 * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
14303 little-endian support. Correct typos.
14304 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise. Use insrdi
14305 rather than rlwimi.
14306 * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define. Use
14307 in loop and entry code to keep "and." results.
14308 (strchr): Add little-endian support. Comment. Move cntlzd
14310 * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
14312 2013-10-04 Alan Modra <amodra@gmail.com>
14314 * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
14315 * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
14316 * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
14317 * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
14319 2013-10-04 Alan Modra <amodra@gmail.com>
14321 * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
14322 (rTMP): Define as r11.
14323 (strcmp): Add little-endian support. Optimise tail.
14324 * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
14325 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
14326 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
14327 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
14328 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
14329 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
14330 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
14332 2013-10-04 Alan Modra <amodra@gmail.com>
14334 * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
14335 little-endian support. Remove unnecessary "are we done" tests.
14336 Handle "s" wrapping around zero and extremely large "size".
14337 Correct main loop count. Handle single left-over word from main
14338 loop inline rather than by using small_loop. Correct comments.
14339 Delete "zero" tail, use "end_max" instead.
14340 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
14342 2013-10-04 Alan Modra <amodra@gmail.com>
14344 * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
14345 support. Don't branch over align.
14346 * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
14347 * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
14348 support. Rearrange tmp reg use to suit. Comment.
14349 * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
14351 2013-10-04 Alan Modra <amodra@gmail.com>
14353 * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
14355 2013-10-04 Alan Modra <amodra@gmail.com>
14357 * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
14358 conditional form of branch and link when obtaining pc.
14359 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
14361 2013-10-04 Alan Modra <amodra@gmail.com>
14363 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
14365 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
14366 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
14368 2013-10-04 Alan Modra <amodra@gmail.com>
14370 * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
14371 * sysdeps/powerpc/novmx-longjmp.c: Likewise.
14372 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
14373 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
14374 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
14375 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
14376 * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
14377 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
14378 * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
14379 * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
14381 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
14382 Alistair Popple <alistair@ozlabs.au.ibm.com>
14383 Alan Modra <amodra@gmail.com>
14386 * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
14387 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
14388 _dl_hwcap access for little-endian.
14389 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise. Don't
14390 destroy vmx regs when saving unaligned.
14391 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
14392 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save. Don't
14393 destroy vmx regs when saving unaligned.
14395 2013-10-04 Alan Modra <amodra@gmail.com>
14397 * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
14398 Don't use a union to pack hi/low value.
14400 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
14402 * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
14404 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
14405 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
14406 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
14407 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
14408 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
14410 2013-10-04 Alan Modra <amodra@gmail.com>
14412 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
14413 constants to usual value for .cst8 section, and remove redundant
14415 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
14416 constant for 0x1p52. Load little-endian words of double from
14417 correct stack offsets.
14419 2013-10-04 Alan Modra <amodra@gmail.com>
14421 * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
14422 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
14423 words of double from correct stack offsets.
14424 * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
14425 * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
14426 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
14427 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
14428 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
14429 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
14430 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
14431 * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
14432 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
14433 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
14434 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
14435 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
14436 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
14437 * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
14438 * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
14439 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
14440 * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
14442 2013-10-04 Alan Modra <amodra@gmail.com>
14444 * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
14445 64-bit int/double union.
14446 (_FPU_SETCW): Likewise.
14447 * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
14448 (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
14450 2013-10-04 Alan Modra <amodra@gmail.com>
14452 * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
14453 * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
14455 2013-10-04 Alan Modra <amodra@gmail.com>
14457 * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
14458 use vector int constants.
14459 (__float_and_test24, __float_and8, __float_get_exp): Likewise.
14461 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
14463 * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
14464 array with long long.
14465 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
14466 * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
14467 * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
14468 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
14469 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
14470 * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
14471 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
14472 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
14473 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
14474 * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
14475 * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
14476 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
14477 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
14479 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
14481 * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
14482 (__signbit): Likewise. Correct for little-endian.
14483 (__signbitl): Call __signbit.
14484 (lrint): Correct for little-endian.
14485 (lrintf): Call lrint.
14487 2013-10-04 Alan Modra <amodra@gmail.com>
14489 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
14490 union 32-bit int array member with 64-bit int array.
14491 (t515, tm256): Double rather than long double.
14492 (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
14494 2013-10-04 Alan Modra <amodra@gmail.com>
14496 * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
14498 (IEEE854_LONG_DOUBLE_BIAS): Delete.
14499 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
14500 version of math_ldbl.h.
14502 2013-10-04 Alan Modra <amodra@gmail.com>
14504 [BZ #15734], [BZ #15735]
14505 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
14506 all uses of ieee875 long double macros and unions. Simplify test
14507 for 0.0L. Correct |x|<|y| and |x|=|y| test. Use
14508 ldbl_extract_mantissa value for ix,iy exponents. Properly
14509 normalize after ldbl_extract_mantissa, and don't add hidden bit
14510 already handled. Don't treat low word of ieee854 mantissa like
14511 low word of IBM long double and mask off bit when testing for
14513 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
14514 all uses of ieee875 long double macros and unions. Simplify tests
14515 for 0.0L and inf. Correct double adjustment of k. Delete dead code
14516 adjusting ha,hb. Simplify code setting kld. Delete two600 and
14517 two1022, instead use their values. Recognise that tests for large
14518 "a" and small "b" are mutually exclusive. Rename vars. Comment.
14519 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
14520 Rewrite all uses of ieee875 long double macros and unions. Simplify
14521 test for 0.0L and nan. Correct negation.
14522 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
14523 ieee875 long double macros and unions. Correct output for large
14524 magnitude x. Correct absolute value calculation.
14525 (__erfcl): Likewise.
14526 * math/libm-test.inc: Add tests for errors discovered in IBM long
14527 double versions of fmodl, remainderl, erfl and erfcl.
14529 2013-10-04 Alan Modra <amodra@gmail.com>
14531 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
14532 all uses of ieee854 long double macros and unions. Simplify tests
14533 for long doubles that are fully specified by the high double.
14534 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
14536 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
14537 Remove dead code too.
14538 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
14539 (__ieee754_ynl): Likewise.
14540 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
14541 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
14542 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
14543 Remove dead code too.
14544 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
14545 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
14546 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
14547 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
14549 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
14551 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
14552 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
14553 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
14554 Comment on variable precision.
14555 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
14556 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
14558 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
14559 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
14560 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
14561 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
14562 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
14564 2013-10-04 Alan Modra <amodra@gmail.com>
14566 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
14567 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
14568 all uses of ieee854 long double macros and unions.
14569 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
14570 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
14571 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
14572 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
14573 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
14574 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
14576 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
14577 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
14578 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
14579 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
14580 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
14581 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
14582 Simplify sign and nan test too.
14583 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
14584 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
14585 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
14586 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
14588 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
14589 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
14591 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
14592 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
14593 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
14594 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
14595 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
14596 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
14598 2013-10-04 Alan Modra <amodra@gmail.com>
14600 * stdio-common/printf_size.c (__printf_size): Don't use
14601 union ieee854_long_double in fpnum union.
14602 * stdio-common/printf_fphex.c (__printf_fphex): Likewise. Use
14603 signbit macro to retrieve sign from long double.
14604 * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
14605 retrieve sign from long double.
14606 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
14607 * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
14608 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
14609 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
14610 * math/test-misc.c (main): Don't use union ieee854_long_double.
14612 2013-10-04 Alan Modra <amodra@gmail.com>
14615 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
14616 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
14617 (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
14618 calculation. Remove unnecessary test for denormal exponent.
14619 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
14620 Correct handling of denormals. Avoid undefined shift behaviour.
14621 Correct normalisation of low mantissa when low double is denormal.
14622 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
14623 (ldbl_extract_mantissa): Likewise. Comment. Use uint64_t* for hi64.
14624 (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
14625 Correct normalisation of low mantissa. Test for overflow of high
14626 mantissa and normalise.
14627 (ldbl_nearbyint): Use more readable constant for two52.
14628 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
14629 (__mpn_construct_long_double): Fix test for overflow of high
14630 mantissa and correct normalisation. Avoid undefined shift.
14632 2013-10-04 Alan Modra <amodra@gmail.com>
14634 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
14635 (union ibm_extended_long_double): Define as an array of ieee754_double.
14636 (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
14637 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
14638 to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
14639 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
14640 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
14641 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
14642 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
14643 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
14644 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
14645 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
14646 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
14648 2013-10-03 Joseph Myers <joseph@codesourcery.com>
14650 * locale/programs/locarchive.c (add_locale): Use constant 4096 for
14651 page size instead of calling getpagesize.
14653 * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
14654 (LOCFILE_ALIGN_MASK): Likewise.
14655 (LOCFILE_ALIGN_UP): Likewise.
14656 (LOCFILE_ALIGNED_P): Likewise.
14657 * locale/programs/ld-collate.c (collate_output): Use the new
14658 macros instead of __alignof__ (int32_t).
14659 * locale/weight.h (findidx): Likewise.
14661 2013-10-03 Ondřej Bílka <neleai@seznam.cz>
14664 * manual/string.texi: Fix strncat and wcsncat.
14666 2013-10-03 Brooks Moses <bmoses@google.com>
14669 * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
14670 * Makerules: ...here, and adjust associated comments.
14672 2013-10-02 Will Newton <will.newton@linaro.org>
14674 * malloc/Makefile: Add tst-pvalloc.
14675 * malloc/tst-pvalloc.c: New file.
14677 2013-10-02 Will Newton <will.newton@linaro.org>
14679 * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
14680 improve test coverage.
14682 2013-10-02 Will Newton <will.newton@linaro.org>
14684 * malloc/Makefile: Add tst-posix_memalign.
14685 * malloc/tst-posix_memalign.c: New file.
14687 2013-10-01 Eric Blake <eblake@redhat.com>
14689 * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
14690 Use __THROWNL rather than __THROW on static functions.
14692 2013-09-30 Petr Machata <pmachata@redhat.com>
14694 * elf/elf.h (R_AARCH64_ABS16): New macro.
14695 (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
14696 (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
14697 (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
14698 (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
14699 (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
14700 (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
14701 (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
14702 (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
14703 (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
14704 (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
14705 (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
14706 (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
14707 (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
14708 (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
14709 (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
14710 (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
14711 (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
14712 (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
14713 (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
14714 (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
14715 (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
14716 (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
14717 (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
14718 (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
14719 (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
14720 (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
14721 (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
14722 (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
14723 (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
14724 (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
14725 (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
14726 (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
14727 (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
14728 (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
14729 (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
14730 (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
14731 (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
14732 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
14733 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
14734 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
14735 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
14736 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
14737 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
14738 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
14739 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
14740 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
14741 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
14742 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
14743 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
14744 (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
14745 (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
14746 (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
14747 (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
14748 (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
14749 (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
14750 (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
14751 (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
14752 (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
14753 (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
14754 (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
14755 (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
14756 (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
14757 (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
14758 (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
14759 (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
14760 (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
14761 (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
14762 (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
14763 (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
14764 (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
14765 (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
14766 (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
14767 (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
14768 (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
14769 (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
14770 (R_AARCH64_TLSDESC_OFF_G1): Likewise.
14771 (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
14772 (R_AARCH64_TLSDESC_LDR): Likewise.
14773 (R_AARCH64_TLSDESC_ADD): Likewise.
14774 (R_AARCH64_TLSDESC_CALL): Likewise.
14776 2013-09-30 Andreas Schwab <schwab@suse.de>
14779 * nscd/aicache.c (addhstaiX): Properly use the cache variable for
14780 the nss database lookup.
14781 * nscd/initgrcache.c (addinitgroupsX): Likewise.
14782 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
14784 2013-09-28 Mike Frysinger <vapier@gentoo.org>
14786 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
14788 2013-09-28 P. J. McDermott <pj@pehjota.net>
14790 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
14791 ${Bash-specific parameter/pattern/string} parameter expansion.
14792 * sysdeps/unix/make-syscalls.sh: Likewise.
14794 2013-09-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
14796 * sysdeps/sh/stackguard-macros.h: New file.
14798 2013-09-26 Ondřej Bílka <neleai@seznam.cz>
14800 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
14801 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
14802 * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
14803 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
14804 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
14805 * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
14807 2013-09-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14809 * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
14810 Fix thread ID register.
14812 2013-09-25 Joseph Myers <joseph@codesourcery.com>
14814 * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
14815 [POSIX || UNIX98]: Require rather than permitting all symbols from
14817 [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
14818 element of struct sched_param.
14819 [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
14820 [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
14821 [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
14822 [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
14825 2013-09-24 Olivier Langlois <olivier@olivierlanglois.net>
14827 * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
14828 argument calculation.
14830 2013-09-24 Joseph Myers <joseph@codesourcery.com>
14832 * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
14834 [POSIX] (pthread_attr_t): Do not require type.
14835 [POSIX] (pthread_cond_t): Likewise.
14836 [POSIX] (pthread_condattr_t): Likewise.
14837 [POSIX] (pthread_key_t): Likewise.
14838 [POSIX] (pthread_mutex_t): Likewise.
14839 [POSIX] (pthread_mutexattr_t): Likewise.
14840 [POSIX] (pthread_once_t): Likewise.
14841 [POSIX] (pthread_t): Likewise.
14842 [POSIX-based standards] (pthread_atfork): Expect function.
14844 2013-09-24 Joseph Myers <joseph@codesourcery.com>
14845 Richard Sandiford <richard@codesourcery.com>
14847 * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
14848 (swap_endianness_p): New extern variable.
14849 (set_big_endian): New inline function.
14850 (maybe_swap_uint32): Likewise.
14851 (maybe_swap_uint32_array): Likewise.
14852 (maybe_swap_uint32_obstack): Likewise.
14853 * locale/programs/locfile.c: Include <stdbool.h>.
14854 (swap_endianness_p): New variable.
14855 (add_locale_uint32): Call maybe_swap_uint32.
14856 (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
14857 (write_locale_data): Call maybe_swap_uint32_array.
14858 * locale/programs/ld-collate.c (obstack_int32_grow): Call
14860 (obstack_int32_grow_fast): Likewise.
14861 (output_weightwc): Call maybe_swap_uint32_obstack.
14862 (collate_output): Likewise.
14863 * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
14864 (OPT_LITTLE_ENDIAN): Likewise.
14865 (options): Add --little-endian and --big-endian options.
14866 (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
14867 * locale/programs/locarchive.c: Include "locfile.h".
14871 (create_archive): Use the new macros to access fields of
14872 structures directly mapped from or written to locale archives.
14873 (oldlocrecentcmp): Likewise.
14874 (enlarge_archive): Likewise.
14875 (insert_name): Likewise.
14876 (add_alias): Likewise.
14877 (add_locale): Likewise.
14878 (delete_locales_from_archive): Likewise.
14879 (show_archive_content): Likewise.
14880 (add_locale_to_archive): Likewise. Use maybe_swap_uint32 on
14883 2013-09-24 Roland McGrath <roland@hack.frob.com>
14885 * manual/freemanuals.texi: Updated from (newly) canonical copy at
14886 http://www.gnu.org/doc/freemanuals.texi.
14887 * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
14889 2013-09-24 Will Newton <will.newton@linaro.org>
14891 * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
14894 2013-09-23 Joseph Myers <joseph@codesourcery.com>
14896 * locale/hashval.h (compute_hashval): Interpret bytes of key as
14899 2013-09-23 Maciej W. Rozycki <macro@codesourcery.com>
14901 * manual/threads.texi (POSIX Threads): Fix a typo.
14903 2013-09-23 Siddhesh Poyarekar <siddhesh@redhat.com>
14906 * string/tst-strcoll-overflow.c: New test case.
14907 * string/Makefile (xtests): Add tst-strcoll-overflow.
14908 * string/strcoll_l.c (STRCOLL): Skip allocating memory for
14909 cache if string sizes may cause integer overflow.
14912 * string/strcoll_l.c (coll_seq): New members rule, idx,
14913 save_idx and back_us.
14914 (get_next_seq_nocache): New function.
14915 (do_compare_nocache): New function.
14916 (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
14919 2013-09-23 Carlos O'Donell <carlos@redhat.com>
14922 * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
14923 __pointer_chk_guard_local, otherwise __pointer_chk_guard.
14924 * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
14927 * elf/Makefile (tests): Add tst-ptrguard1.
14928 (tests-static): Add tst-ptrguard1-static.
14929 (tst-ptrguard1-ARGS): Define.
14930 (tst-ptrguard1-static-ARGS): Define.
14931 * elf/tst-ptrguard1.c: New file.
14932 * elf/tst-ptrguard1-static.c: New file.
14933 * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
14934 * sysdeps/i386/stackguard-macros.h: Likewise.
14935 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
14936 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
14937 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
14938 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
14939 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
14940 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
14942 2013-09-23 Hector Marco <hecmargi@upv.es>
14943 Ismael Ripoll <iripoll@disca.upv.es>
14944 Carlos O'Donell <carlos@redhat.com>
14947 * sysdeps/generic/stackguard-macros.h: Define
14948 __pointer_chk_guard_local and POINTER_CHK_GUARD.
14949 * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
14950 Define __pointer_chk_guard_local.
14951 (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
14952 Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
14954 2013-09-15 Vinitha Vijayan <vinitha.vijayann@gmail.com>
14957 * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
14959 2013-09-20 Andreas Schwab <schwab@linux-m68k.org>
14961 * include/string.h (__ffs): Declare as hidden.
14962 * string/ffs.c (__ffs): Define as hidden.
14963 * sysdeps/i386/ffs.c (__ffs): Likewise.
14964 * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
14965 * sysdeps/powerpc/ffs.c (__ffs): Likewise.
14966 * sysdeps/s390/ffs.c (__ffs): Likewise.
14967 * sysdeps/x86_64/ffs.c (__ffs): Likewise.
14969 2013-09-20 Alexandre Oliva <aoliva@redhat.com>
14971 * NEWS: Mention malloc probes.
14973 * malloc/arena.c (new_heap): New memory_heap_new probe.
14974 (grow_heap): New memory_heap_more probe.
14975 (shrink_heap): New memory_heap_less probe.
14976 (heap_trim): New memory_heap_free probe.
14977 * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
14978 (systrim): New memory_sbrk_less probe.
14979 * manual/probes.texi: Document them.
14981 * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
14982 * manual/probes.texi: Document it.
14984 * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
14985 (__libc_realloc): Add memory_realloc_retry probe.
14986 (__libc_memalign): Add memory_memalign_retry probe.
14987 (__libc_valloc): Add memory_valloc_retry probe.
14988 (__libc_pvalloc): Add memory_pvalloc_retry probe.
14989 (__libc_calloc): Add memory_calloc_retry probe.
14990 * manual/probes.texi: Document them.
14992 * malloc/arena.c (get_free_list): Add probe
14993 memory_arena_reuse_free_list.
14994 (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
14995 and memory_arena_reuse.
14996 (arena_get2) [!PER_THREAD]: Likewise.
14997 * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
14998 memory_arena_reuse_realloc.
14999 * manual/probes.texi: Document them.
15001 * malloc/malloc.c (__libc_free): Add
15002 memory_mallopt_free_dyn_thresholds probe.
15003 (__libc_mallopt): Add multiple memory_mallopt probes.
15004 * manual/probes.texi: Document them.
15006 * malloc/malloc.c: Include stap-probe.h.
15007 (__libc_mallopt): Add memory_mallopt probe.
15008 * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
15009 * manual/probes.texi: New.
15010 * manual/Makefile (chapters): Add probes.
15011 * manual/threads.texi: Set next node.
15013 2013-09-19 Wei-Lun Chao <bluebat@member.fsf.org>
15015 [BZ #15963, #13985]
15016 * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
15017 czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
15018 Add `Chinese' to `nan' entry name.
15020 2013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
15022 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
15023 (POLYNOMIAL): Likewise.
15024 (TAYLOR_SINCOS): Likewise.
15025 (TAYLOR_SLOW): Likewise.
15026 (__sin): Use TAYLOR_SINCOS.
15028 (slow): Use TAYLOR_SLOW.
15030 (bsloww): Likewise.
15031 (csloww): Likewise.
15033 2013-09-19 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
15035 * stdlib/strtod_l.c: Fix buffer overrun.
15037 2013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
15039 * benchtests/Makefile (bench): Add sincos.
15040 * benchtests/bench-sincos.c: New file.
15042 * math/libm-test.inc (cos_test_data): New test inputs.
15043 (sin_test_data): Likewise.
15045 * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
15051 (sloww1): Likewise.
15052 (sloww2): Likewise.
15053 (bsloww1): Likewise.
15054 (bsloww2): Likewise.
15055 (cslow2): Likewise.
15056 (csloww1): Likewise.
15057 (csloww2): Likewise.
15059 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
15064 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
15068 2013-09-18 Maciej W. Rozycki <macro@codesourcery.com>
15070 * config.h.in (HAVE_MIPS_NAN2008): New macro.
15071 * elf/elf.h (EF_MIPS_NAN2008): Likewise.
15072 * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
15073 (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
15074 (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
15075 * elf/cache.c (print_entry): Handle the new cache flags.
15077 2013-09-18 Joseph Myers <joseph@codesourcery.com>
15078 Aldy Hernandez <aldyh@redhat.com>
15080 * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
15081 Change condition to [_SOFT_FLOAT].
15082 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
15083 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
15084 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
15085 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
15086 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
15087 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
15088 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
15089 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
15090 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
15091 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
15092 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
15093 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
15094 [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
15095 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
15096 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
15097 [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
15100 2013-09-18 Joseph Myers <joseph@codesourcery.com>
15102 * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
15103 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
15104 (__longjmp): Use LOAD_GP to load saved GPRs.
15105 * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
15106 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
15107 (__sigsetjmp): Use SAVE_GP to save GPRs.
15109 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
15110 Do not append -msoft-float.
15111 [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
15113 2013-09-18 Siddhesh Poyarekar <siddhesh@redhat.com>
15115 * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
15117 2013-09-17 Joseph Myers <joseph@codesourcery.com>
15120 * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
15121 (_FPU_GETCW): Use initial "__" on variable and field names but not
15122 on macro parameter name.
15123 [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise. Use
15124 parentheses around reference to macro parameter.
15126 2013-09-13 Richard Sandiford <richard@codesourcery.com>
15128 * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
15130 (ctype_startup): Use uint32_t in cast and sizeof for
15133 2013-09-11 Jia Liu <proljc@gmail.com>
15135 * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
15137 [__FreeBSD__]: Likewise.
15139 2013-09-11 Ondřej Bílka <neleai@seznam.cz>
15141 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
15142 (__libc_ifunc_impl_list): Remove: __strchr_sse42.
15143 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
15144 (strchr): Remove __strchr_sse42 ifunc selection.
15145 * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
15146 * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
15148 2013-09-11 Will Newton <will.newton@linaro.org>
15150 * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
15151 parameter to RES. Remove hardcoded 1000 value.
15152 * benchtests/bench-skeleton.c (main): Pass RES parameter
15153 to TIMING_INIT and multiply result by 1000.
15155 2013-09-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15157 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15159 2013-09-11 Andreas Schwab <schwab@suse.de>
15161 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
15163 (O_TMPFILE) [__USE_GNU]: Define.
15164 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
15167 2013-09-11 Will Newton <will.newton@linaro.org>
15170 * malloc/malloc.c (__libc_memalign): Check the value of bytes
15173 2013-09-11 Will Newton <will.newton@linaro.org>
15176 * malloc/malloc.c (__libc_valloc): Check the value of bytes
15179 2013-09-11 Will Newton <will.newton@linaro.org>
15182 * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
15185 2013-09-10 Ondřej Bílka <neleai@seznam.cz>
15187 * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
15188 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
15189 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
15190 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
15191 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
15193 2013-09-10 Allan McRae <allan@archlinux.org>
15196 * manual/arith.texi (Parsing of Floats): Clarify
15200 * manual/install.texi (Running make install): Mention
15202 * INSTALL: Regenerated.
15204 2013-09-09 Maciej W. Rozycki <macro@codesourcery.com>
15206 * csu/init-first.c (_init): Remove the !SHARED condition around
15207 FPU control word initialization.
15208 * elf/dl-support.c (_dl_fpu_control): New variable.
15209 (_dl_aux_init) <AT_FPUCW>: Initialize it.
15210 * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
15211 (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
15212 * math/test-fpucw-static.c: New file.
15213 * math/test-fpucw-ieee.c: New file.
15214 * math/test-fpucw-ieee-static.c: New file.
15215 * math/Makefile (tests): Add `test-fpucw-ieee' and
15217 (tests-static): New variable.
15218 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
15220 [($(build-shared),yes)]
15221 ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
15223 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
15226 2013-09-09 Allan McRae <allan@archlinux.org>
15229 * manual/string.texi (Collation Functions): Fix typo in
15231 Reported by Suren Karapetyan <me@suren.karapetyan.name>.
15234 * stdlib/isomac.c (get_null_defines): Fix memory leak.
15237 * libio/memstream.c (open_memstream): Fix memory leak.
15238 * libio/wmemstream.c (open_wmemstream): Likewise.
15241 * nscd/netgroupcache.c: Fix nesting of ifdefs.
15243 2013-09-09 Will Newton <will.newton@linaro.org>
15245 * malloc/Makefile: Add tst-realloc to tests.
15246 * malloc/tst-realloc.c: New file.
15248 2013-09-09 Allan McRae <allan@archlinux.org>
15251 * COPYING: Update from GNU website to fix FSF address.
15252 * COPYING.LIB: Likewise.
15254 2013-09-06 David S. Miller <davem@davemloft.net>
15256 * po/zh_TW.po: Update Chinese (traditional) translation from
15257 translation project.
15259 2013-09-06 Richard Sandiford <richard@codesourcery.com>
15260 Joseph Myers <joseph@codesourcery.com>
15262 * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
15264 (obstack_chunk_alloc): New macro.
15265 (obstack_chunk_free): Likewise.
15266 (record_offset): New function.
15267 (init_locale_data): Likewise.
15268 (align_locale_data): Likewise.
15269 (add_locale_empty): Likewise.
15270 (add_locale_raw_data): Likewise.
15271 (add_locale_raw_obstack): Likewise.
15272 (add_locale_string): Likewise.
15273 (add_locale_wstring): Likewise.
15274 (add_locale_uint32): Likewise.
15275 (add_locale_uint32_array): Likewise.
15276 (add_locale_char): Likewise.
15277 (start_locale_structure): Likewise.
15278 (end_locale_structure): Likewise.
15279 (start_locale_prelude): Likewise.
15280 (end_locale_prelude): Likewise.
15281 (write_locale_data): Take locale_file structure rather than an
15283 * locale/programs/locfile.h: Include "obstack.h".
15284 (struct locale_file): Change to store locale file contents instead
15286 (init_locale_data): New prototype.
15287 (align_locale_data): Likewise.
15288 (add_locale_empty): Likewise.
15289 (add_locale_raw_data): Likewise.
15290 (add_locale_raw_obstack): Likewise.
15291 (add_locale_string): Likewise.
15292 (add_locale_wstring): Likewise.
15293 (add_locale_uint32): Likewise.
15294 (add_locale_uint32_array): Likewise.
15295 (add_locale_char): Likewise.
15296 (start_locale_structure): Likewise.
15297 (end_locale_structure): Likewise.
15298 (start_locale_prelude): Likewise.
15299 (end_locale_prelude): Likewise.
15300 (write_locale_data): Update prototype.
15301 * locale/programs/3level.h (struct TABLE): Remove result field.
15302 (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
15303 Use new locale_file interface.
15304 [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
15305 (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
15306 * locale/programs/ld-address.c (address_output): Use new
15307 locale_file interface.
15308 * locale/programs/ld-collate.c (NO_FINALIZE): Change to
15310 (collate_finish): Don't call collseq_table_finalize.
15311 (collate_output): Use new locale_file interface.
15312 * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
15314 (NO_FINALIZE): Change to NO_ADD_LOCALE.
15315 (TABLE): Move defines earlier in file.
15316 (ELEMENT): Likewise.
15317 (DEFAULT): Likewise.
15318 (wctrans_table_add): Move macro and inline function earlier in
15320 (struct wctype_table): Move type earlier in file.
15321 (add_locale_wctype_table): New static prototype.
15322 (struct locale_ctype_t): Use logical types instead of struct iovec
15323 pointers for members.
15324 (ctype_output): Use new locale_file interface.
15325 (wctype_table_finalize): Change to add_locale_wctype_table. Use
15326 new locale_file interface.
15327 (allocate_arrays): Update for use of new locale_file interface.
15328 * locale/programs/ld-identification.c (identification_output): Use
15329 new locale_file interface.
15330 * locale/programs/ld-measurement.c (measurement_output): Likewise.
15331 * locale/programs/ld-messages.c (messages_output): Likewise.
15332 * locale/programs/ld-monetary.c (monetary_output): Likewise.
15333 * locale/programs/ld-name.c (name_output): Likewise.
15334 * locale/programs/ld-numeric.c (numeric_output): Likewise.
15335 * locale/programs/ld-paper.c (paper_output): Likewise.
15336 * locale/programs/ld-telephone.c (telephone_output): Likewise.
15337 * locale/programs/ld-time.c (time_output): Likewise.
15339 2013-09-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15341 * benchtests/Makefile: Add memrchr benchmark.
15342 * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
15343 benchmark as memrchr.
15344 * benchtests/bench-memrchr-ifunc.c: New file.
15345 * benchtests/bench-memrchr.c: New file.
15347 2013-09-06 Will Newton <will.newton@linaro.org>
15349 * benchtests/Makefile (string-bench): Add memcpy.
15351 2013-09-05 Carlos O'Donell <carlos@redhat.com>
15352 Cong Wang <amwang@redhat.com>
15355 * sysdeps/unix/sysv/linux/bits/in.h
15356 [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
15357 * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
15358 before __USE_KERNEL_IPV6_DEFS uses.
15359 * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
15361 [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
15362 sockaddr_in6, or ipv6_mreq.
15364 2013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15366 * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
15367 memory access for final bytes in some large inputs.
15368 * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
15370 2013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15372 * string/test-memrchr.c: New file.
15373 * string/test-memrchr-ifunc.c: New file.
15374 * string/Makefile: Add new memrchr testcase.
15376 2013-09-05 Mike Frysinger <vapier@gentoo.org>
15378 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
15379 fanotify_init returns EPERM.
15381 2013-09-04 Joseph Myers <joseph@codesourcery.com>
15383 * conform/conformtest.pl (newtoken): Treat tokens not allowed as
15385 (top level): Treat second token from macro or constant entries for
15386 allowed headers as allowed.
15387 * include/complex.h: Condition internal declarations on
15389 * include/fenv.h: Condition include of <stdbool.h> and internal
15390 declarations on [!_ISOMAC].
15392 2013-09-04 Chris Leonard <cjl@sugarlabs,.org>
15395 * locale/iso-4217.def: Update iso-1427.def and related occurrences.
15397 2013-09-04 Joseph Myers <joseph@codesourcery.com>
15399 * configure.in (--enable-versioning): Remove configure option.
15400 (libc_cv_asm_symver_directive): Remove configure test.
15401 (libc_cv_ld_version_script_option): Likewise.
15402 (VERSIONING): Remove variable and AC_SUBST.
15403 (DO_VERSIONING): Remove AC_DEFINE.
15404 * configure: Regenerated.
15405 * config.h.in (DO_VERSIONING): Remove macro.
15406 * Makerules [$(versioning) = yes]: Change conditionals to
15407 [$(build-shared) = yes].
15408 * config.make.in (versioning): Remove variable.
15409 * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
15410 [$(build-shared) = yes].
15411 * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
15412 * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
15413 * elf/Makefile [$(versioning) = yes]: Change conditionals to
15414 [$(build-shared) = yes].
15415 * extra-lib.mk [$(versioning) = yes]: Likewise.
15416 * hurd/Makefile [$(versioning) = yes]: Likewise.
15417 * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
15419 * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
15421 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
15422 [SHARED && !NO_HIDDEN].
15423 * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
15425 [SHARED && DO_VERSIONING]: Likewise..
15426 * libio/Makefile [$(versioning) = yes]: Change conditionals to
15427 [$(build-shared) = yes].
15428 * manual/install.texi (--disable-versioning): Remove
15430 * INSTALL: Regenerated.
15431 * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
15433 * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
15434 [$(build-shared) = yes].
15435 * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
15436 * sysdeps/i386/i686/multiarch/strstr-c.c
15437 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
15438 [SHARED && !NO_HIDDEN].
15439 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
15440 [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
15441 * sysdeps/powerpc/powerpc32/dl-machine.c
15442 [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
15443 * sysdeps/powerpc/powerpc32/sysdep.h
15444 [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
15445 to [SHARED && PIC && !NO_HIDDEN].
15446 * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
15447 conditional to [SHARED].
15449 2013-09-04 Will Newton <will.newton@linaro.org>
15451 * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
15452 * benchtests/bench-string.h: Include bench-timing.h instead
15453 of including hp-timing.h directly. (INNER_LOOP_ITERS): New
15454 define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
15455 call to HP_TIMING_DIFF_INIT.
15456 * benchtests/bench-memccpy.c: Use bench-timing.h macros
15457 instead of hp-timing.h macros.
15458 * benchtests/bench-memchr.c: Likewise.
15459 * benchtests/bench-memcmp.c: Likewise.
15460 * benchtests/bench-memcpy.c: Likewise.
15461 * benchtests/bench-memmem.c: Likewise.
15462 * benchtests/bench-memmove.c: Likewise.
15463 * benchtests/bench-memset.c: Likewise.
15464 * benchtests/bench-rawmemchr.c: Likewise.
15465 * benchtests/bench-strcasecmp.c: Likewise.
15466 * benchtests/bench-strcasestr.c: Likewise.
15467 * benchtests/bench-strcat.c: Likewise.
15468 * benchtests/bench-strchr.c: Likewise.
15469 * benchtests/bench-strcmp.c: Likewise.
15470 * benchtests/bench-strcpy.c: Likewise.
15471 * benchtests/bench-strcpy_chk.c: Likewise.
15472 * benchtests/bench-strlen.c: Likewise.
15473 * benchtests/bench-strncasecmp.c: Likewise.
15474 * benchtests/bench-strncat.c: Likewise.
15475 * benchtests/bench-strncmp.c: Likewise.
15476 * benchtests/bench-strncpy.c: Likewise.
15477 * benchtests/bench-strnlen.c: Likewise.
15478 * benchtests/bench-strpbrk.c: Likewise.
15479 * benchtests/bench-strrchr.c: Likewise.
15480 * benchtests/bench-strspn.c: Likewise.
15481 * benchtests/bench-strstr.c: Likewise.
15483 2013-09-04 Will Newton <will.newton@linaro.org>
15485 * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
15487 2013-09-03 Joseph Myers <joseph@codesourcery.com>
15490 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
15491 2**-30 instead of 2**-70 as threshold for returning -log(|x|).
15492 * math/libm-test.inc (lgamma_test_data): Add more tests.
15493 * sysdeps/i386/fpu/libm-test-ulps: Update.
15494 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15496 2013-09-03 Ondřej Bílka <neleai@seznam.cz>
15498 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
15499 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
15501 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
15502 Add strcmp-sse2-unaligned
15503 * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
15505 2013-09-02 Mike Frysinger <vapier@gentoo.org>
15507 * Versions.def (libc): Add GLIBC_2.19.
15509 2013-09-02 Mike Frysinger <vapier@gentoo.org>
15511 * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
15512 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
15514 2013-09-02 Joseph Myers <joseph@codesourcery.com>
15517 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
15518 intermediate calculations in recurrence.
15519 (__ieee754_ynf): Likewise.
15520 * math/libm-test.inc (jn_test_data): Do not allow spurious
15521 underflow exception. Add more tests.
15522 (yn_test_data): Add more tests.
15523 * sysdeps/i386/fpu/libm-test-ulps: Update.
15524 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15526 2013-09-02 Ondřej Bílka <neleai@seznam.cz>
15528 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
15530 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
15532 * csu/init-first.c: Fix then/than typos.
15533 * locale/programs/ld-collate.c: Likewise.
15534 * locale/programs/linereader.h: Likewise.
15535 * manual/charset.texi: Likewise.
15536 * manual/filesys.texi: Likewise.
15537 * manual/stdio.texi: Likewise.
15538 * manual/string.texi: Likewise.
15539 * stdlib/fmtmsg.c: Likewise.
15540 * sysdeps/i386/stpncpy.S: Likewise.
15541 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
15542 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
15543 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
15544 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
15546 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
15548 * elf/dl-open.c: Fix typos.
15549 * iconvdata/gbbig5.c: Likewise.
15550 * iconvdata/iso-2022-jp.c: Likewise.
15551 * iconv/gconv_int.h: Likewise.
15552 * iconv/loop.c: Likewise.
15553 * nis/rpcsvc/nis.h: Likewise.
15554 * resolv/ns_name.c: Likewise.
15555 * stdio-common/vfscanf.c: Likewise.
15556 * streams/stropts.h: Likewise.
15557 * sunrpc/rpc_thread.c: Likewise.
15558 * sysdeps/i386/strpbrk.S: Likewise.
15559 * sysdeps/ieee754/k_standard.c: Likewise.
15560 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
15561 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
15562 * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
15563 * sysdeps/mach/hurd/profil.c: Likewise.
15564 * sysdeps/s390/dl-procinfo.h: Likewise.
15565 * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
15566 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
15567 * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
15568 * sysdeps/x86_64/dl-trampoline.S: Likewise.
15569 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
15571 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
15573 * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
15574 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
15576 2013-08-29 Ondřej Bílka <neleai@seznam.cz>
15578 * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
15579 aix specific files.
15580 * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
15581 * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
15582 * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
15583 * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
15584 * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
15585 * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
15586 * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
15587 * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
15589 2013-08-29 Thomas Schwinge <thomas@codesourcery.com>
15590 Roland McGrath <roland@hack.frob.com>
15592 * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
15593 * sysdeps/mach/hurd/bits/errno.h: Regenerate.
15595 2013-08-29 Samuel Thibault <samuel.thibault@ens-lyon.org>
15597 * sysdeps/mach/hurd/i386/init-first.c (init1): Use
15598 __executable_start symbol instead of _start.
15600 2013-08-29 Thomas Schwinge <thomas@codesourcery.com>
15602 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
15603 (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
15605 * sysdeps/gnu/ldsodefs.h: ... this new file.
15607 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
15608 (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
15609 instead of ELFOSABI_LINUX.
15611 [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
15612 * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
15613 * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
15614 * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
15616 * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
15617 * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
15618 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
15620 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
15621 (ibm_extended_long_double): Add ieee_nan member.
15622 * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
15623 (do_test): New function.
15625 * math/basic-test.c (TEST_CONVERT): New macro, renamed from
15627 (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
15628 functions, renamed from truncdfsf_test, trunctfsf_test,
15630 (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
15632 (do_test): Run all these.
15634 2013-08-29 Ondřej Bílka <neleai@seznam.cz>
15636 * argp/argp-help.c: Fix typos.
15637 * argp/argp-parse.c: Likewise.
15638 * debug/backtracesyms.c: Likewise.
15639 * elf/elf.h: Likewise.
15640 * malloc/malloc.c: Likewise.
15641 * nis/nis_print.c: Likewise.
15642 * resolv/res_comp.c: Likewise.
15643 * stdlib/stdlib.h: Likewise.
15644 * sunrpc/clnt_tcp.c: Likewise.
15645 * sunrpc/clnt_udp.c: Likewise.
15646 * sunrpc/clnt_unix.c: Likewise.
15647 * sysdeps/unix/bsd/ptsname.c: Likewise.
15648 * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
15649 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
15650 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
15652 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
15654 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
15656 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
15658 2013-08-28 Siddhesh Poyarekar <siddhesh@redhat.com>
15660 * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
15661 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
15663 2013-08-27 Mike Frysinger <vapier@gentoo.org>
15666 * dlfcn/Makefile (tests): Add bug-dl-leaf.
15667 (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
15668 ($(objpfx)bug-dl-leaf): New rule.
15669 ($(objpfx)bug-dl-leaf.so): Likewise.
15670 ($(objpfx)bug-dl-leaf.out): Likewise.
15671 ($(objpfx)bug-dl-leaf-lib.so): Likewise.
15672 ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
15673 * dlfcn/bug-dl-leaf.c: New test.
15674 * dlfcn/bug-dl-leaf-lib.c: Likewise.
15675 * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
15676 * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
15677 (dlclose): Likewise.
15678 (dlmopen): Likewise.
15680 2013-08-27 Roland McGrath <roland@hack.frob.com>
15682 * include/netdb.h [!_ISOMAC]:
15683 Don't include <tls.h>.
15684 (h_errno, __libc_h_errno): Move declaration and macros out of
15687 * include/resolv.h [_RESOLV_H_]:
15688 Don't include <tls.h>.
15689 (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
15690 * resolv/res_libc.c: Don't include <tls.h>.
15691 (_res): Use __attribute__ ((nocommon)) in place of
15692 __attribute__ ((section (".bss"))).
15694 * Makefile ($(common-objpfx)linkobj/libc_pic.a):
15695 If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
15697 * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
15699 * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
15700 only under [SIOCGIFCONF && SIOCGIFNETMASK].
15702 * resolv/res_mkquery.c: Include <sys/time.h>.
15704 * inet/ifreq.c: Moved to ...
15705 * sysdeps/unix/ifreq.c: ... here.
15706 * inet/ifreq.c: New file, true stub version.
15708 * socket/sa_len.c: New file.
15709 * socket/Makefile (aux): Add it.
15710 * sysdeps/unix/sysv/linux/Makefile
15711 [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
15712 * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
15713 and #include <socket/sa_len.c>.
15714 * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
15715 HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
15717 * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
15718 * bits/socket.h: ... here.
15720 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
15721 Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
15722 (SOCK_MAX, SOCK_TYPE_MASK): New macros.
15724 2013-08-27 Andreas Schwab <schwab@suse.de>
15727 * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
15728 * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
15729 (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
15730 * string/test-strcasecmp.c (test_main): Run tests in several
15732 * string/test-strncasecmp.c (test_main): Likewise.
15734 * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
15735 (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
15736 to __strcasecmp_nonascii and __strncasecmp_nonascii.
15737 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
15738 (__strncasecmp_ssse3) [PIC]: Likewise.
15740 2013-08-26 Roland McGrath <roland@hack.frob.com>
15742 * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
15744 * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
15745 instead of explicitly declaring xdecrypt.
15746 * nis/nss_nis/nis-publickey.c: Likewise.
15748 2013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
15751 * nscd/aicache.c: Include res_hconf.h.
15752 (addhstaiX): Initialize res_hconf.
15754 2013-08-26 Andreas Schwab <schwab@suse.de>
15756 * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
15757 ($(objpfx)tst-tls-atexit): Add dependencies here instead.
15759 2013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
15761 * nscd/aicache.c (addhstaiX): Fix indentation.
15763 2013-08-25 Mike Frysinger <vapier@gentoo.org>
15765 * configure.ac: Quote $build_pt_chown test.
15766 * configure: Regenerated.
15768 2013-08-23 Joseph Myers <joseph@codesourcery.com>
15771 * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
15772 * math/s_cexpf.c (__cexpf): Likewise.
15773 * math/s_cexpl.c (__cexpl): Likewise.
15774 * math/libm-test.inc (cexp_test_data): Correct expected return
15775 value for NaN + i0. Add another test.
15777 2013-08-22 David S. Miller <davem@davemloft.net>
15779 * po/ca.po: Update Catalan translation from translation project.
15780 * po/uk.po: Add Ukrainian translations from translation project.
15782 2013-08-21 Joseph Myers <joseph@codesourcery.com>
15785 * math/s_fdim.c (__fdim): Check for infinite arguments if result
15786 is infinite, not alongside NaN test.
15787 * math/s_fdimf.c (__fdimf): Likewise.
15788 * math/s_fdiml.c (__fdiml): Likewise.
15789 * math/libm-test.inc (fdim_test_data): Add more tests. Test that
15790 errno is unchanged.
15792 2013-08-21 Ondřej Bílka <neleai@seznam.cz>
15794 * argp/argp-help.c: Fix typos.
15795 * crypt/speeds.c: Likewise.
15796 * csu/check_fds.c: Likewise.
15797 * elf/dl-load.c: Likewise.
15798 * elf/dl-open.c: Likewise.
15799 * elf/reldep3.c: Likewise.
15800 * elf/reldep.c: Likewise.
15801 * elf/sprof.c: Likewise.
15802 * iconv/iconv_charmap.c: Likewise.
15803 * iconv/skeleton.c: Likewise.
15804 * iconv/strtab.c: Likewise.
15805 * io/lockf64.c: Likewise.
15806 * libio/libioP.h: Likewise.
15807 * resolv/gai_notify.c: Likewise.
15808 * resolv/ns_name.c: Likewise.
15809 * resolv/ns_samedomain.c: Likewise.
15810 * resolv/res_send.c: Likewise.
15811 * stdlib/random.c: Likewise.
15812 * sunrpc/rpc/xdr.h: Likewise.
15813 * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
15814 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
15815 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
15816 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
15817 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
15818 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
15819 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
15820 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
15821 * sysdeps/mach/hurd/check_fds.c: Likewise.
15822 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
15823 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
15824 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
15825 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
15826 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
15827 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
15828 * sysdeps/pthread/aio_notify.c: Likewise.
15829 * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
15830 * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
15831 * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
15832 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
15833 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
15835 2013-08-21 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
15837 * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
15838 version if bit_Slow_SSE4_2 is set.
15839 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
15840 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
15842 2013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15845 * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
15846 trampoline stack frame information.
15847 * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
15848 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
15849 (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
15850 (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
15851 (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
15852 * sysdeps/unix/sysv/linux/powerpc/init-first.c
15853 (_libc_vdso_platform_setup): Initialize the signal trampolines.
15854 * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
15856 * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
15857 interrupting a syscall and set with option SA_SIGINFO.
15859 2013-08-20 Joseph Myers <joseph@codesourcery.com>
15862 * math/s_cproj.c (__cproj): Only return an infinity if one part of
15863 argument is infinite.
15864 * math/s_cprojf.c (__cprojf): Likewise.
15865 * math/s_cprojl.c (__cprojl): Likewise.
15866 * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
15867 * math/libm-test.inc (cproj_test_data): Add more tests.
15869 * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
15871 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
15872 [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
15873 size. Use __ffs to determine corresponding shift.
15875 2013-08-20 Joseph Myers <joseph@codesourcery.com>
15876 Roland McGrath <roland@hack.frob.com>
15878 * Makefile (INSTALL): Remove trailing blank lines from output of
15881 2013-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
15883 * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
15884 Align 32 bit compat elf_greg to 8 bytes.
15886 2013-08-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
15888 * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
15890 2013-08-20 Siddhesh Poyarekar <siddhesh@redhat.com>
15892 * string/strcoll_l.c (coll_seq): New structure.
15893 (get_next_seq_cached): New function.
15894 (get_next_seq): New function.
15895 (do_compare): New function.
15896 (STRCOLL): Use GNU style definition. Simplify implementation
15897 by using get_next_seq, get_next_seq_cached and do_compare.
15899 2013-08-16 Florian Weimer <fweimer@redhat.com>
15903 * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
15905 * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
15907 * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
15908 * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
15909 Return delayed error code. Remove GETDENTS_64BIT_ALIGNED
15911 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
15912 GETDENTS_64BIT_ALIGNED.
15913 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
15914 * manual/filesys.texi (Reading/Closing Directory): Document
15915 ENAMETOOLONG return value of readdir_r. Recommend readdir more
15917 * manual/conf.texi (Limits for Files): Add portability note to
15918 NAME_MAX, PATH_MAX.
15919 (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
15921 2013-08-13 Andreas Schwab <schwab@suse.de>
15924 * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
15926 * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
15927 LDBL_MAX_EXP >= 16384]: Add tests for it.
15929 2013-08-12 David S. Miller <davem@davemloft.net>
15931 * version.h (RELEASE): Set to "development".
15932 (VERSION): Set to "2.18.90".
15933 * NEWS: Add 2.19 section.
15935 2013-08-03 David S. Miller <davem@davemloft.net>
15937 * po/ko.po: Update Korean translation from translation project.
15939 2013-08-01 David S. Miller <davem@davemloft.net>
15941 * manual/contrib.texi: Update entry for Siddhesh Poyarekar. Add
15942 entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
15945 2013-07-30 David S. Miller <davem@davemloft.net>
15947 * po/fr.po: Update French translation from translation project.
15949 2013-07-28 David S. Miller <davem@davemloft.net>
15951 * po/cs.po: Update Czech translation from translation project.
15953 * po/sv.po: Update Swedish translation from translation project.
15955 2013-07-27 David S. Miller <davem@davemloft.net>
15957 * po/eo.po: Update Esperanto translation from translation project.
15959 * po/vi.po: Update Vietnamese translation from translation project.
15961 * po/de.po: Update German translation from translation project.
15963 2013-07-26 David S. Miller <davem@davemloft.net>
15965 * po/bg.po: Update Bulgarian translation from translation project.
15967 * po/nl.po: Update Dutch translation from translation project.
15968 * po/pl.po: Update Polish translation from translation project.
15969 * po/ru.po: Update Russian translation from translation project.
15971 2013-07-24 David S. Miller <davem@davemloft.net>
15973 * po/libc.pot: Update.
15975 2013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15977 * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
15978 variable page size.
15979 * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
15980 * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
15981 * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
15983 2013-07-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
15985 * sysdeps/s390/fpu/libm-test-ulps: Refresh.
15987 2013-07-21 Siddhesh Poyarekar <siddhesh@redhat.com>
15988 Andreas Schwab <schwab@suse.de>
15989 Roland McGrath <roland@hack.frob.com>
15990 Joseph Myers <joseph@codesourcery.com>
15991 Carlos O'Donell <carlos@redhat.com>
15994 * config.h.in: Define HAVE_PT_CHOWN.
15995 * config.make.in (build-pt-chown): New variable.
15996 * configure.in (--enable-pt_chown): New configure option.
15997 * configure: Regenerate.
15998 * login/Makefile: Include Makeconfig. Build pt_chown only if
15999 build-pt-chown is enabled.
16000 * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
16001 pt_chown to fix pty ownership.
16002 * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
16004 * manual/install.texi (Configuring and compiling): Mention
16005 --enable-pt_chown. Add @findex for grantpt.
16006 * INSTALL: Regenerate.
16008 2013-07-20 David S. Miller <davem@davemloft.net>
16010 * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
16011 difference between 32-bit and 64-bit.
16013 2013-07-15 Carlos O'Donell <carlos@redhat.com>
16016 * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
16017 Avoid system header dependency with -ffreestanding.
16018 ($(objpfx)bits/syscall%d): Likewise.
16020 2013-07-13 David S. Miller <davem@davemloft.net>
16022 * math/libm-test.inc (casin_test_data): Annotate more cases of missing
16023 underflows from atanl/atan2l due to bug 15319.
16024 (casinh_test_data): Likewise.
16026 2013-07-07 David S. Miller <davem@davemloft.net>
16028 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
16030 2013-07-05 Jeroen Albers <_jeroen_@yahoo.com>
16032 * sysdeps/i386/fpu/libm-test-ulps: Update.
16033 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16035 2013-07-04 Siddhesh Poyarekar <siddhesh@redhat.com>
16037 * configure.in (--enable-lock-elision): Fix message text.
16038 * INSTALL: Regenerate.
16039 * configure: Regenerate.
16041 2013-07-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16043 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16045 2013-07-03 Andreas Jaeger <aj@suse.de>
16047 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
16049 (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
16050 (ptrace_peeksiginfo_args): Add.
16051 (__ptrace_peeksiginfo_flags): Add.
16052 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
16053 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
16054 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
16056 2013-07-03 Allan McRae <allan@archlinux.org>
16058 * sysdeps/i386/fpu/libm-test-ulps: Update.
16060 2013-07-02 David S. Miller <davem@davemloft.net>
16062 * sysdeps/sparc/fpu/libm-test-ulps: Update.
16064 2013-07-02 Markus Trippelsdorf <markus@trippelsdorf.de>
16066 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
16068 2013-07-02 Joseph Myers <joseph@codesourcery.com>
16070 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
16071 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16073 2013-07-02 Andi Kleen <ak@linux.intel.com>
16075 * config.h.in (ENABLE_LOCK_ELISION): Add.
16076 * configure.in (--enable-lock-elision): Add option.
16077 * manual/install.texi: Document --enable lock elision.
16078 * configure: Regenerate
16079 * INSTALL: Regenerate.
16081 2013-07-02 H.J. Lu <hongjiu.lu@intel.com>
16083 * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
16084 SSE4.2 strcasecmp for libc.a.
16085 * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
16087 2013-07-02 Joseph Myers <joseph@codesourcery.com>
16090 * soft-fp/op-common.h (_FP_FMA): New macro.
16091 * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
16092 (_FP_MUL_MEAT_DW_1_imm): Likewise. Split out of ...
16093 (_FP_MUL_MEAT_1_imm): ... here.
16094 (_FP_MUL_MEAT_DW_1_wide): New macro. Split out of ...
16095 (_FP_MUL_MEAT_1_wide): ... here.
16096 (_FP_MUL_MEAT_DW_1_hard): Likewise. Split out of ...
16097 (_FP_MUL_MEAT_1_hard): ... here.
16098 * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
16099 (_FP_MUL_MEAT_DW_2_wide): Likewise. Split out of ...
16100 (_FP_MUL_MEAT_2_wide): ... here.
16101 (_FP_MUL_MEAT_DW_2_wide_3mul): New macro. Split out of ...
16102 (_FP_MUL_MEAT_2_wide_3mul): ... here.
16103 (_FP_MUL_MEAT_DW_2_gmp): New macro. Split out of ...
16104 (_FP_MUL_MEAT_2_gmp): ... here.
16105 * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
16106 (_FP_MUL_MEAT_DW_4_wide): Likewise. Split out of ...
16107 (_FP_MUL_MEAT_4_wide): ... here.
16108 (_FP_MUL_MEAT_DW_4_gmp): New macro. Split out of ...
16109 (_FP_MUL_MEAT_4_gmp): ... here.
16110 * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
16111 (_FP_WFRACBITS_DW_S): Likewise.
16112 (_FP_WFRACXBITS_DW_S): Likewise.
16113 (_FP_HIGHBIT_DW_S): Likewise.
16114 (FP_FMA_S): Likewise.
16115 (_FP_FRAC_HIGH_DW_S): Likewise.
16116 * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
16117 (_FP_WFRACBITS_DW_D): Likewise.
16118 (_FP_WFRACXBITS_DW_D): Likewise.
16119 (_FP_HIGHBIT_DW_D): Likewise.
16120 (FP_FMA_D): Likewise.
16121 (_FP_FRAC_HIGH_DW_D): Likewise.
16122 * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
16123 (_FP_WFRACBITS_DW_E): Likewise.
16124 (_FP_WFRACXBITS_DW_E): Likewise.
16125 (_FP_HIGHBIT_DW_E): Likewise.
16126 (FP_FMA_E): Likewise.
16127 (_FP_FRAC_HIGH_DW_E): Likewise.
16128 * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
16129 (_FP_WFRACBITS_DW_Q): Likewise.
16130 (_FP_WFRACXBITS_DW_Q): Likewise.
16131 (_FP_HIGHBIT_DW_Q): Likewise.
16132 (FP_FMA_Q): Likewise.
16133 (_FP_FRAC_HIGH_DW_Q): Likewise.
16134 * soft-fp/fmasf4.c: New file.
16135 * soft-fp/fmadf4.c: Likewise.
16136 * soft-fp/fmatf4.c: Likewise.
16138 2013-06-28 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
16140 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
16141 bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
16143 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
16145 (index_Slow_SSE4_2): Likewise.
16146 (index_Prefer_PMINUB_for_stringop): Likewise.
16147 * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
16148 bit_Slow_SSE4_2 is set.
16149 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
16150 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
16152 2013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
16154 * sysdeps/powerpc/Makefile: Add comment about generating an offset to
16155 rtld_global._dl_hwcap2.
16156 * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
16158 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
16159 POWER8 feature descriptions defined in _dl_hwcap2.
16160 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
16161 string handling for POWER8 feature bits.
16162 (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
16163 (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
16164 _dl_powerpc_cap_flags.
16165 (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
16166 * sysdeps/powerpc/rtld-global-offsets.sym
16167 (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
16168 _dl_hwcap2 in the rtld_global_ro structure.
16170 2013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
16172 * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
16173 hardware capabilities in support of AT_HWCAP2.
16174 (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
16175 * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
16177 (_dl_show_auxv): Add support for calling _dl_procinfo to display
16178 AT_HWCAP2. If a platform doesn't chose to handle displaying AT_HWCAP2
16179 explicitly the unknown a_type display mechanism is used.
16180 * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
16181 * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
16183 * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
16184 to macro prototype for AT_HWCAP2 support.
16185 * sysdeps/i386/dl-procinfo.h: Likewise.
16186 * sysdeps/s390/dl-procinfo.h: Likewise.
16187 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
16188 macro prototype for AT_HWCAP2 support. Make WORD unsigned long int
16189 rather than signed int. Stub in handler for TYPE == AT_HWCAP2 to
16190 return -1 for unknown a_type display fallback.
16191 * sysdeps/sparc/dl-procinfo.h: Likewise.
16192 * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
16193 * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
16195 2013-06-28 Joseph Myers <joseph@codesourcery.com>
16197 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
16198 instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
16200 2013-06-28 Pierre Ynard <linkfanel@yahoo.fr>
16203 * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
16204 mprotect making __stack_prot writable.
16206 2013-06-28 Nathan Froyd <froydnj@codesourcery.com>
16207 Joseph Myers <joseph@codesourcery.com>
16209 * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
16210 as being properly aligned.
16212 2013-06-28 Maciej W. Rozycki <macro@codesourcery.com>
16214 * dlfcn/modstatic5.c: New file.
16215 * dlfcn/tststatic5.c: New file.
16216 * dlfcn/Makefile (tests): Add tststatic5.
16217 (tests-static): Likewise.
16218 (modules-names): Add modstatic5.
16219 (tststatic5-ENV): New variable.
16220 ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
16223 * elf/dl-support.c (_dl_main_map): New variable.
16224 (_dl_ns): Use it to initialize [LM_ID_BASE] element.
16225 (_dl_nns, _dl_load_adds): Set to 1.
16226 (_dl_initial_searchlist): Refer to _dl_main_map.
16227 (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
16228 * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
16229 call to _dl_get_origin.
16230 * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
16232 (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
16233 * dlfcn/modstatic3.c: New file.
16234 * dlfcn/tststatic3.c: New file.
16235 * dlfcn/tststatic4.c: New file.
16236 * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
16237 (tests-static): Likewise.
16238 (modules-names): Add modstatic3.
16239 (tststatic3-ENV, tststatic4-ENV): New variables.
16240 ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
16241 ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
16243 2013-06-26 Joseph Myers <joseph@codesourcery.com>
16245 * configure.in (CC): Require GCC version 4.4 or later.
16246 * configure: Regenerated.
16247 * manual/install.texi (Tools for Compilation): Update GCC version
16249 * INSTALL: Regenerated.
16251 2013-06-26 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
16254 * string/test-memcmp.c (check2): New.
16255 (main): Call check2.
16257 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
16259 2013-06-26 Maciej W. Rozycki <macro@codesourcery.com>
16262 * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
16264 (dl_open_worker) [!SHARED]: ... here.
16266 2013-06-26 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
16268 * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
16270 2013-06-25 Richard Henderson <rth@redhat.com>
16272 * locale/programs/locarchive.c: Include <libc-internal.h>
16274 2013-06-25 Joseph Myers <joseph@codesourcery.com>
16276 * manual/texinfo.tex: Update to version 2013-06-21.17, with
16277 trailing whitespace removed.
16279 2013-06-24 Mike Frysinger <vapier@gentoo.org>
16282 * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
16283 * locale/programs/locarchive.c: Include libc-mmap.h.
16284 (prepare_address_space): Take two new outputs (the mmap base and len).
16285 Align p to MAP_FIXED_ALIGNMENT. Set mmap base and len to the right
16287 (create_archive): Declare new mmap base and len values for
16288 prepare_address_space, and store the result in ah.
16289 (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
16290 (enlarge_archive): If ah->mmap_base is not NULL, use that and
16291 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
16292 Declare new mmap base and len values for
16293 prepare_address_space, and store the result in new_ah.
16294 (open_archive): Declare new mmap base and len values for
16295 prepare_address_space, and store the result in ah.
16296 (close_archive): If ah->mmap_base is not NULL, use that and
16297 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
16298 * sysdeps/generic/libc-mmap.h: New file.
16300 2013-06-24 Mike Frysinger <vapier@gentoo.org>
16302 * include/libc-internal.h (ALIGN_DOWN): New helper macro.
16303 (ALIGN_UP): Likewise.
16304 (PTR_ALIGN_DOWN): Likewise.
16305 (PTR_ALIGN_UP): Likewise.
16307 2013-06-24 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
16309 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
16310 entry mapped to PPC_PLATFORM_POWER8.
16311 * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
16313 (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
16314 (_dl_string_platform): Add case for exporting platform position for
16316 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
16317 search path to sysdeps/powerpc/powerpc32/power8 directory.
16318 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
16319 search path to sysdeps/powerpc/powerpc64/power8 directory.
16320 * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
16321 power7 directories.
16322 * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
16323 power7 directories.
16325 2013-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
16327 * INSTALL: Regenerate.
16329 * nscd/connections.c (nscd_init): Fix comment.
16331 2013-06-22 Joseph Myers <joseph@codesourcery.com>
16333 * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
16336 * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
16337 to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
16339 2013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
16341 * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
16343 (DL_DST_REQ_STATIC): Remove macro.
16345 2013-06-21 Joseph Myers <joseph@codesourcery.com>
16348 * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
16349 with a shift of 0 bits.
16351 2013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
16353 * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
16356 2013-06-21 Kaz Kojima <kkojima@rr.iij4u.or.jp>
16359 * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
16361 2013-06-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16363 * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
16364 * configure.in (libc_cv_cc_loop_to_function): Check if compiler
16365 accepts -fno-tree-loop-distribute-patterns.
16366 * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
16367 * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
16369 * string/memset.c (memset): Likewise.
16370 * string/test-memmove.c (simple_memmove): Disable loop transformation
16372 * string/test-memset.c (simple_memset): Likewise.
16373 * benchtests/bench-memmove.c (simple_memmove): Likewise.
16374 * benchtests/bench-memset.c (simple_memset): Likewise.
16375 * configure: Regenerated.
16377 2013-06-20 Joseph Myers <joseph@codesourcery.com>
16379 * math/test-misc.c (main): Ignore fesetround failure when failures
16380 of subsequent rounding tests would be ignored.
16383 * math/fedisblxcpt.c (fedisableexcept): Return 0.
16384 * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
16385 * math/fegetenv.c (__fegetenv): Return 0.
16386 * math/fegetexcept.c (fegetexcept): Return 0.
16387 * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
16389 * math/feholdexcpt.c (feholdexcept): Return 0.
16390 * math/fesetenv.c (__fesetenv): Return 0.
16391 * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
16392 argument FE_TONEAREST.
16393 * math/feupdateenv.c (__feupdateenv): Return 0.
16394 * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
16396 2013-06-18 Roland McGrath <roland@hack.frob.com>
16398 * elf/rtld-Rules (rtld-compile-command.S): New variable.
16399 (rtld-compile-command.s, rtld-compile-command.c): New variables.
16400 ($(objpfx)rtld-%.os rules): Use them.
16402 2013-06-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16404 * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
16407 2013-06-17 Roland McGrath <roland@hack.frob.com>
16409 * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
16410 length of target pattern, then descending length of dependency pattern.
16411 * configure.in (AWK): Require gawk 3.1.2 or newer.
16412 * manual/install.texi (Tools for Compilation): Say that we do.
16413 * configure: Regenerated.
16415 * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
16416 ($(common-objpfx)sysd-rules): Replace shell logic with running ...
16417 * scripts/sysd-rules.awk: ... this new script.
16418 * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
16419 than a glob-style pattern.
16421 2013-06-17 Joseph Myers <joseph@codesourcery.com>
16423 * math/test-misc.c (main): Do not treat incorrectly rounded
16424 conversions as failure unless ROUNDING_TESTS passes.
16426 2013-06-15 Joseph Myers <joseph@codesourcery.com>
16429 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
16430 restore exception state around main square root computation, then
16431 check for inexactness explicitly.
16433 * math/libm-test.inc (fma_test_data): Add another test.
16435 2013-06-15 Siddhesh Poyarekar <siddhesh@redhat.com>
16437 * manual/threads.texi (Non-POSIX Extensions): New document
16438 node. Document pthread_getattr_default_np and
16439 pthread_setattr_default_np.
16441 * Versions.def (libpthread): Add GLIBC_2.18.
16442 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
16443 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
16445 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
16447 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
16449 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
16451 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
16453 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
16455 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
16457 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
16459 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
16462 2013-06-14 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
16464 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
16465 Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
16467 2013-06-14 Siddhesh Poyarekar <siddhesh@redhat.com>
16468 H.J. Lu <hjl.tools@gmail.com>
16471 * sysdeps/x86_64/rtld-memset.c: Remove file.
16472 * sysdeps/x86_64/rtld-memset.S: New file.
16474 2013-06-14 Joseph Myers <joseph@codesourcery.com>
16476 * stdlib/tst-strtod-round.c: Include <math-tests.h>.
16477 (test_in_one_mode): Take arguments for whether the rounding mode
16478 is supported for each floating-point type.
16479 (do_test): Pass new arguments to test_in_one_mode using
16482 2013-06-13 Roland McGrath <roland@hack.frob.com>
16484 * posix/tst-waitid.c (do_test): Distinguish different instances of
16485 stopped/continued in CHECK_SIGCHLD uses. Insert a delay between
16486 sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
16487 before entering the kernel for waitpid.
16489 2013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
16491 * NEWS: Fix note on clock function precision. Text by Roland
16494 2013-06-13 Roland McGrath <roland@hack.frob.com>
16496 * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
16497 it into place only when and if the sanity check passes.
16499 2013-06-13 Joseph Myers <joseph@codesourcery.com>
16501 * stdlib/gen-tst-strtod-round.c (round_str): Always generate
16502 output for whether conversion result is exact. Take argument
16503 indicating whether type is IBM long double.
16504 (round_for_all): Change need_exact field to ibm_ld.
16505 * stdlib/tst-strtod-round.c (struct exactness): New type.
16506 (struct test): Change bool ld_ok field to struct exactness exact.
16507 (TEST): Update all definitions for change to field.
16508 (tests): Regenerate array contents.
16509 (test_in_one_mode): Take pointer to new field instead of old ld_ok
16510 field value. Check for IBM long double here.
16511 (do_test): Update calls to test_in_one_mode.
16513 2013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
16516 * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
16517 CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
16519 2013-06-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16522 * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
16523 generated by the compiler on loop optimizations.
16524 * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
16525 general definitions.
16527 2013-06-12 Joseph Myers <joseph@codesourcery.com>
16529 * math/bug-nextafter.c: Include <math-tests.h>.
16530 (main): Only test for exceptions if EXCEPTION_TESTS is true for
16532 * math/bug-nexttoward.c: Include <math-tests.h>.
16533 (main): Only test for exceptions if EXCEPTION_TESTS is true for
16535 * math/test-misc.c: Include <math-tests.h>.
16536 (main): Only test for exceptions if EXCEPTION_TESTS is true for
16539 2013-06-12 Andreas Jaeger <aj@suse.de>
16541 * po/ia.po: Update Interlingua translation from translation
16544 2013-06-12 Siddhesh Poyarekar <siddhesh@redhat.com>
16546 * include/fenv.h: Include stdbool.h.
16547 (struct rm_ctx): New structure.
16548 * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
16550 (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
16551 (SET_RESTORE_ROUNDF): Likewise.
16552 (SET_RESTORE_ROUNDL): Likewise.
16553 (SET_RESTORE_ROUND_NOEX): Likewise.
16554 (SET_RESTORE_ROUND_NOEXF): Likewise.
16555 (SET_RESTORE_ROUND_NOEXL): Likewise.
16556 (SET_RESTORE_ROUND_53BIT): Likewise.
16557 [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
16558 (libc_feresetround_noexf_ctx): Likewise.
16559 (libc_feresetround_noexl_ctx): Likewise.
16560 (libc_feholdsetround_53bit_ctx): Likewise.
16561 (libc_feresetround_53bit_ctx): Likewise.
16562 * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
16563 (libc_feholdexcept_setround_sse_ctx): New function.
16564 (libc_fesetenv_sse_ctx): Likewise.
16565 (libc_feupdateenv_sse_ctx): Likewise.
16566 (libc_feholdexcept_setround_387_prec_ctx): Likewise.
16567 (libc_feholdexcept_setround_387_ctx): Likewise.
16568 (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
16569 (libc_feholdsetround_387_prec_ctx): Likewise.
16570 (libc_feholdsetround_387_ctx): Likewise.
16571 (libc_feholdsetround_387_53bit_ctx): Likewise.
16572 (libc_feholdsetround_sse_ctx): Likewise.
16573 (libc_feresetround_sse_ctx): Likewise.
16574 (libc_feresetround_387_ctx): Likewise.
16575 (libc_feupdateenv_387_ctx): Likewise.
16576 (libc_feholdexcept_setroundf_ctx): Define macro.
16577 (libc_fesetenvf_ctx): Likewise.
16578 (libc_feupdateenvf_ctx): Likewise.
16579 (libc_feholdsetroundf_ctx): Likewise.
16580 (libc_feresetroundf_ctx): Likewise.
16581 (libc_feholdexcept_setround_ctx): Likewise.
16582 (libc_fesetenv_ctx): Likewise.
16583 (libc_feupdateenv_ctx): Likewise.
16584 (libc_feholdsetround_ctx): Likewise.
16585 (libc_feresetround_ctx): Likewise.
16586 (libc_feholdexcept_setroundl_ctx): Likewise.
16587 (libc_feupdateenvl_ctx): Likewise.
16588 (libc_feholdsetroundl_ctx): Likewise.
16589 (libc_feresetroundl_ctx): Likewise.
16590 [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
16591 (libc_feresetround_53bit_ctx): Likewise.
16593 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
16595 * locale/iso-639.def: Convert to UTF-8.
16597 2013-06-11 Joseph Myers <joseph@codesourcery.com>
16599 * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
16600 (EXCEPTION_TESTS_double): Likewise.
16601 (EXCEPTION_TESTS_long_double): Likewise.
16602 (EXCEPTION_TESTS): Likewise.
16603 * math/libm-test.inc (test_exceptions): Only test exceptions if
16604 EXCEPTION_TESTS (FLOAT).
16606 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
16608 * benchtests/Makefile (string-bench): Add strcpy_chk and
16610 * benchtests/bench-stpcpy_chk-ifunc.c: New file.
16611 * benchtests/bench-stpcpy_chk.c: New file.
16612 * benchtests/bench-strcpy_chk-ifunc.c: New file.
16613 * benchtests/bench-strcpy_chk.c: New file.
16614 * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
16616 (do_test): Likewise.
16618 2013-06-11 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
16620 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
16621 ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
16622 * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
16623 with tabs where appropriate.
16624 [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
16626 [PPC_PLATFORM_PPC440]: Likewise.
16627 [PPC_PLATFORM_PPC464]: Likewise.
16628 [PPC_PLATFORM_PPC476]: Likewise.
16629 (_dl_string_platform): Add support for detecting ppc405, ppc440,
16630 ppc464, and ppc476 platform strings merging from ports/
16633 2013-06-11 Andreas Schwab <schwab@suse.de>
16636 * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
16637 (from_ucs4_idx): Regenerate.
16638 (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
16639 (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
16640 (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
16641 (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
16642 (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
16643 (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
16644 (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
16645 (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
16646 from FROM_LOOP and TO_LOOP specific macros.
16647 (BODY): Handle combining characters.
16648 * iconvdata/BIG5HKSCS.irreversible: Update.
16649 * iconvdata/BIG5HKSCS.precomposed: New file.
16650 * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
16652 * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
16654 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
16656 * include/sys/time.h: Fix indentation and add copyright header.
16658 * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
16659 (do_test): Likewise.
16660 * string/test-memchr.c (do_one_test): Likewise.
16661 (do_test): Likewise.
16662 * string/test-memcmp.c (do_one_test): Likewise.
16663 (do_test): Likewise.
16664 * string/test-memcpy.c (do_one_test): Likewise.
16665 (do_test): Likewise.
16666 * string/test-memmem.c (do_one_test): Likewise.
16667 (do_test): Likewise.
16668 (do_random_tests): Likewise.
16669 * string/test-memmove.c (do_one_test): Likewise.
16670 (do_test): Likewise.
16671 * string/test-memset.c (do_one_test): Likewise.
16672 (do_test): Likewise.
16673 * string/test-rawmemchr.c (do_one_test): Likewise.
16674 (do_test): Likewise.
16675 * string/test-strcasecmp.c (do_one_test): Likewise.
16676 (do_test): Likewise.
16677 * string/test-strcasestr.c (do_one_test): Likewise.
16678 (do_test): Likewise.
16679 * string/test-strcat.c (do_one_test): Likewise.
16680 (do_test): Likewise.
16681 * string/test-strchr.c (do_one_test): Likewise.
16682 (do_test): Likewise.
16683 * string/test-strcmp.c (do_one_test): Likewise.
16684 (do_test): Likewise.
16685 * string/test-strcpy.c (do_one_test): Likewise.
16686 (do_test): Likewise.
16687 * string/test-string.h: Likewise.
16688 (test_init): Likewise.
16689 * string/test-strlen.c (do_one_test): Likewise.
16690 (do_test): Likewise.
16691 * string/test-strncasecmp.c (do_one_test): Likewise.
16692 (do_test): Likewise.
16693 * string/test-strncat.c (do_one_test): Likewise.
16694 (do_test): Likewise.
16695 * string/test-strncmp.c (do_one_test): Likewise.
16696 (do_test_limit): Likewise.
16697 (do_test): Likewise.
16698 * string/test-strncpy.c (do_one_test): Likewise.
16699 (do_test): Likewise.
16700 * string/test-strnlen.c (do_one_test): Likewise.
16701 (do_test): Likewise.
16702 * string/test-strpbrk.c (do_one_test): Likewise.
16703 (do_test): Likewise.
16704 * string/test-strrchr.c (do_one_test): Likewise.
16705 (do_test): Likewise.
16706 * string/test-strspn.c (do_one_test): Likewise.
16707 (do_test): Likewise.
16708 * string/test-strstr.c (do_one_test): Likewise.
16709 (do_test): Likewise.
16711 * benchtests/Makefile (string-bench): Add string benchmarks.
16712 * benchtests/bench-bcopy-ifunc.c: New file.
16713 * benchtests/bench-bcopy.c: New file.
16714 * benchtests/bench-bzero-ifunc.c: New file.
16715 * benchtests/bench-bzero.c: New file.
16716 * benchtests/bench-memccpy-ifunc.c: New file.
16717 * benchtests/bench-memccpy.c: New file.
16718 * benchtests/bench-memchr-ifunc.c: New file.
16719 * benchtests/bench-memchr.c: New file.
16720 * benchtests/bench-memcmp-ifunc.c: New file.
16721 * benchtests/bench-memcmp.c: New file.
16722 * benchtests/bench-memmem-ifunc.c: New file.
16723 * benchtests/bench-memmem.c: New file.
16724 * benchtests/bench-memmove-ifunc.c: New file.
16725 * benchtests/bench-memmove.c: New file.
16726 * benchtests/bench-mempcpy-ifunc.c: New file.
16727 * benchtests/bench-mempcpy.c: New file.
16728 * benchtests/bench-memset-ifunc.c: New file.
16729 * benchtests/bench-memset.c: New file.
16730 * benchtests/bench-rawmemchr-ifunc.c: New file.
16731 * benchtests/bench-rawmemchr.c: New file.
16732 * benchtests/bench-stpcpy-ifunc.c: New file.
16733 * benchtests/bench-stpcpy.c: New file.
16734 * benchtests/bench-stpncpy-ifunc.c: New file.
16735 * benchtests/bench-stpncpy.c: New file.
16736 * benchtests/bench-strcasecmp-ifunc.c: New file.
16737 * benchtests/bench-strcasecmp.c: New file.
16738 * benchtests/bench-strcasestr-ifunc.c: New file.
16739 * benchtests/bench-strcasestr.c: New file.
16740 * benchtests/bench-strcat-ifunc.c: New file.
16741 * benchtests/bench-strcat.c: New file.
16742 * benchtests/bench-strchr-ifunc.c: New file.
16743 * benchtests/bench-strchr.c: New file.
16744 * benchtests/bench-strchrnul-ifunc.c: New file.
16745 * benchtests/bench-strchrnul.c: New file.
16746 * benchtests/bench-strcmp-ifunc.c: New file.
16747 * benchtests/bench-strcmp.c: New file.
16748 * benchtests/bench-strcpy-ifunc.c: New file.
16749 * benchtests/bench-strcpy.c: New file.
16750 * benchtests/bench-strcspn-ifunc.c: New file.
16751 * benchtests/bench-strcspn.c: New file.
16752 * benchtests/bench-strlen-ifunc.c: New file.
16753 * benchtests/bench-strlen.c: New file.
16754 * benchtests/bench-strncasecmp-ifunc.c: New file.
16755 * benchtests/bench-strncasecmp.c: New file.
16756 * benchtests/bench-strncat-ifunc.c: New file.
16757 * benchtests/bench-strncat.c: New file.
16758 * benchtests/bench-strncmp-ifunc.c: New file.
16759 * benchtests/bench-strncmp.c: New file.
16760 * benchtests/bench-strncpy-ifunc.c: New file.
16761 * benchtests/bench-strncpy.c: New file.
16762 * benchtests/bench-strnlen-ifunc.c: New file.
16763 * benchtests/bench-strnlen.c: New file.
16764 * benchtests/bench-strpbrk-ifunc.c: New file.
16765 * benchtests/bench-strpbrk.c: New file.
16766 * benchtests/bench-strrchr-ifunc.c: New file.
16767 * benchtests/bench-strrchr.c: New file.
16768 * benchtests/bench-strspn-ifunc.c: New file.
16769 * benchtests/bench-strspn.c: New file.
16770 * benchtests/bench-strstr-ifunc.c: New file.
16771 * benchtests/bench-strstr.c: New file.
16773 * benchtests/Makefile: Disable parallel execution of targets.
16774 (string-bench): Add memcpy.
16775 (benchset): New variable to store a list of benchmark sets.
16776 (bench-func): Renamed from bench.
16777 (bench-set): New target.
16778 (bench): Depend on bench-func and bench-set.
16779 * benchtests/README: Add section on benchmark sets.
16780 * benchtests/bench-memcpy-ifunc.c: New file.
16781 * benchtests/bench-memcpy.c: New file.
16782 * benchtests/bench-string.h: New file.
16784 2013-06-11 Andreas Schwab <schwab@suse.de>
16787 * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
16788 * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
16789 values in the triple.
16790 * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
16791 terminator in the group key.
16793 2013-06-11 Andreas Jaeger <aj@suse.de>
16795 * po/zh_TW.po: Update Chinese (traditional) translation from
16796 translation project.
16798 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
16800 * include/time.h (__clock_gettime): Add libc_hidden_proto.
16801 * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
16802 __clock_getcpuclockid. Add weak_alias and libc_hidden_def.
16803 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
16804 (clock_getcpuclockid): Likewise.
16805 * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
16806 Add weak_alias and libc_hidden_def.
16807 * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
16808 * rt/clock_gettime.c (clock_gettime): Rename to
16809 __clock_gettime. Add weak_alias and libc_hidden_def.
16810 * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
16811 * rt/clock_nanosleep.c (clock_nanosleep): Rename to
16812 __clock_nanosleep. Add weak_alias and libc_hidden_def.
16813 * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
16814 * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
16816 * rt/clock_settime.c (clock_settime): Rename to
16817 __clock_settime. Add weak_alias and libc_hidden_def.
16818 * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
16820 2013-06-10 Joseph Myers <joseph@codesourcery.com>
16822 * mach/err_boot.sub: Remove trailing whitespace.
16823 * mach/err_ipc.sub: Likewise.
16824 * mach/err_mach.sub: Likewise.
16826 * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
16827 (ROUNDING_TESTS_double): Likewise.
16828 (ROUNDING_TESTS_long_double): Likewise.
16829 (ROUNDING_TESTS): Likewise.
16830 * math/libm-test.inc: Include <math-tests.h>.
16831 (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
16832 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
16833 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
16834 (IF_ROUND_INIT_FE_UPWARD): Likewise.
16836 2013-06-10 Siddhesh Poyarekar <siddhesh@redhat.com>
16838 * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
16841 2013-06-08 Joseph Myers <joseph@codesourcery.com>
16843 * sysdeps/gnu/errlist.awk: Do not generate space at end of
16844 otherwise empty TRANS lines.
16845 * sysdeps/gnu/errlist.c: Regenerated.
16847 * catgets/gencat.c (error_print): Use (void) in function
16849 * crypt/crypt_util.c (__init_des): Likewise.
16850 * crypt/speeds.c (Stop): Likewise.
16852 * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
16853 * inet/ruserpass.c (token): Likewise.
16854 * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
16855 * intl/localealias.c (extend_alias_table): Likewise.
16856 * intl/plural-exp.c (init_germanic_plural): Likewise.
16857 * libio/fcloseall.c (__fcloseall): Likewise.
16858 * libio/genops.c (_IO_flush_all): Likewise.
16859 (_IO_flush_all_linebuffered): Likewise.
16860 (_IO_cleanup): Likewise.
16861 (_IO_iter_begin): Likewise.
16862 (_IO_iter_end): Likewise.
16863 (_IO_list_lock): Likewise.
16864 (_IO_list_unlock): Likewise.
16865 (_IO_list_resetlock): Likewise.
16866 * libio/getchar.c (getchar): Likewise.
16867 * libio/getchar_u.c (getchar_unlocked): Likewise.
16868 * libio/getwchar.c (getwchar): Likewise.
16869 * libio/getwchar_u.c (getwchar_unlocked): Likewise.
16870 * libio/oldstdfiles.c (_IO_check_libio): Likewise.
16871 * login/getpt.c (__getpt): Likewise.
16872 * login/tst-utmp.c (main): Likewise.
16873 * malloc/hooks.c (__malloc_check_init): Likewise.
16874 * malloc/malloc.c (__malloc_stats): Likewise.
16875 * malloc/mtrace.c (tr_break): Likewise.
16876 (mtrace): Likewise.
16877 (muntrace): Likewise.
16878 * misc/fstab.c (endfsent): Likewise.
16879 * misc/getclktck.c (__getclktck): Likewise.
16880 * misc/getdtsz.c (__getdtablesize): Likewise.
16881 * misc/gethostid.c (gethostid): Likewise.
16882 * misc/getpagesize.c (__getpagesize): Likewise.
16883 * misc/getsysstats.c (__get_nprocs_conf): Likewise.
16884 (__get_nprocs): Likewise.
16885 (__get_phys_pages): Likewise.
16886 (__get_avphys_pages): Likewise.
16887 * misc/getttyent.c (getttyent): Likewise.
16888 (setttyent): Likewise.
16889 (endttyent): Likewise.
16890 * misc/getusershell.c (getusershell): Likewise.
16891 (endusershell): Likewise.
16892 (setusershell): Likewise.
16893 (initshells): Likewise.
16894 * misc/hsearch.c (__hdestroy): Likewise.
16895 * misc/sync.c (sync): Likewise.
16896 * misc/syslog.c (closelog_internal): Likewise.
16897 (closelog): Likewise.
16898 * misc/ttyslot.c (ttyslot): Likewise.
16899 * misc/vhangup.c (vhangup): Likewise.
16900 * posix/fork.c (__fork): Likewise.
16901 * posix/getegid.c (__getegid): Likewise.
16902 * posix/geteuid.c (__geteuid): Likewise.
16903 * posix/getgid.c (__getgid): Likewise.
16904 * posix/getpid.c (__getpid): Likewise.
16905 * posix/getppid.c (__getppid): Likewise.
16906 * posix/getuid.c (__getuid): Likewise.
16907 * posix/pause.c (pause): Likewise.
16908 * posix/setpgrp.c (setpgrp): Likewise.
16909 * posix/setsid.c (__setsid): Likewise.
16910 * posix/test-vfork.c (noop): Likewise.
16911 * resolv/gethnamaddr.c (_endhtent): Likewise.
16912 (_gethtent): Likewise.
16913 (ht_endhostent): Likewise.
16914 (gethostent): Likewise.
16915 (dns_service): Likewise.
16916 * stdlib/drand48.c (drand48): Likewise.
16917 * stdlib/lrand48.c (lrand48): Likewise.
16918 * stdlib/mrand48.c (mrand48): Likewise.
16919 * stdlib/rand.c (rand): Likewise.
16920 * stdlib/random.c (__random): Likewise.
16921 * stdlib/setenv.c (clearenv): Likewise.
16922 * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
16923 * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
16924 * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
16925 * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
16926 (__get_nprocs): Likewise.
16927 (__get_phys_pages): Likewise.
16928 (__get_avphys_pages): Likewise.
16929 * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
16930 * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
16931 * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
16932 * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
16933 * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
16934 * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
16935 * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
16936 * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
16937 * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
16938 * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
16939 * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
16940 * sysdeps/mach/hurd/sync.c (sync): Likewise.
16941 * sysdeps/posix/clock.c (clock): Likewise.
16942 * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
16943 * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
16944 * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
16945 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
16946 * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
16947 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
16948 (__get_nprocs_conf): Likewise.
16949 (__get_phys_pages): Likewise.
16950 (__get_avphys_pages): Likewise.
16951 * time/clock.c (clock): Likewise.
16952 * time/tzset.c (__tzname_max): Likewise.
16954 2013-06-07 Joseph Myers <joseph@codesourcery.com>
16956 * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
16957 (__bswap_32): Do not use "register".
16958 * crypt/crypt.c (_ufc_doit_r): Likewise.
16959 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
16960 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
16961 * gmon/gmon.c (__monstartup): Likewise.
16962 * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
16963 * hurd/hurdmalloc.c (more_memory): Likewise.
16964 (malloc): Likewise.
16966 (realloc): Likewise.
16967 (malloc_fork_prepare): Likewise.
16968 (malloc_fork_parent): Likewise.
16969 (malloc_fork_child): Likewise.
16970 * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
16971 (_svcauth_des): Likewise.
16972 * inet/inet_lnaof.c (inet_lnaof): Likewise.
16973 * inet/inet_net.c (inet_network): Likewise.
16974 * inet/inet_netof.c (inet_netof): Likewise.
16975 * inet/rcmd.c (__validuser2_sa): Likewise.
16976 * io/fts.c (fts_open): Likewise.
16977 (fts_load): Likewise.
16978 (fts_close): Likewise.
16979 (fts_read): Likewise.
16980 (fts_children): Likewise.
16981 (fts_build): Likewise.
16982 (fts_stat): Likewise.
16983 (fts_sort): Likewise.
16984 (fts_alloc): Likewise.
16985 (fts_lfree): Likewise.
16986 * libio/fileops.c (_IO_new_file_xsputn): Likewise.
16987 (_IO_file_xsgetn): Likewise.
16988 (_IO_file_xsgetn_mmap): Likewise.
16989 * libio/iofopncook.c (_IO_cookie_read): Likewise.
16990 (_IO_cookie_write): Likewise.
16991 * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
16992 * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
16993 * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
16994 * malloc/obstack.c (_obstack_begin): Likewise.
16995 (_obstack_begin_1): Likewise.
16996 (_obstack_newchunk): Likewise.
16997 (_obstack_allocated_p): Likewise.
16998 (obstack_free): Likewise.
16999 (_obstack_memory_used): Likewise.
17000 * misc/getttyent.c (getttynam): Likewise.
17001 (getttyent): Likewise.
17004 * misc/getusershell.c (initshells): Likewise.
17005 * misc/syslog.c (__vsyslog_chk): Likewise.
17006 * misc/ttyslot.c (ttyslot): Likewise.
17007 * nis/nis_hash.c (__nis_hash): Likewise.
17008 * posix/fnmatch_loop.c (FCT): Likewise.
17009 * posix/getconf.c (print_all): Likewise.
17011 * posix/getopt.c (exchange): Likewise.
17012 * posix/glob.c (globfree): Likewise.
17013 (prefix_array): Likewise.
17014 (__glob_pattern_type): Likewise.
17015 * resolv/arpa/nameser.h (NS_GET16): Likewise.
17016 (NS_GET32): Likewise.
17017 (NS_PUT16): Likewise.
17018 (NS_PUT32): Likewise.
17019 * resolv/gethnamaddr.c (getanswer): Likewise.
17020 (gethostbyname2): Likewise.
17021 (gethostbyaddr): Likewise.
17022 (_gethtent): Likewise.
17023 (_gethtbyname2): Likewise.
17024 (_gethtbyaddr): Likewise.
17025 * resolv/ns_print.c (dst_s_get_int16): Likewise.
17026 * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
17027 * resolv/res_init.c (__res_vinit): Likewise.
17028 (net_mask): Likewise.
17029 * resolv/res_mkquery.c (outchar): Likewise.
17031 * stdio-common/printf_fp.c (outchar): Likewise.
17033 * stdio-common/printf_fphex.c (outchar): Likewise.
17035 * stdio-common/printf_size.c (outchar): Likewise.
17037 * stdio-common/test_rdwr.c (main): Likewise.
17038 * stdio-common/tfformat.c (matches): Likewise.
17039 * stdio-common/vfprintf.c (outchar): Likewise.
17040 (printf_unknown): Likewise.
17041 (buffered_vfprintf): Likewise.
17042 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
17043 * stdio-common/xbug.c (AppendToBuffer): Likewise.
17044 (ReadFile): Likewise.
17045 * stdlib/qsort.c (SWAP): Likewise.
17046 (_quicksort): Likewise.
17047 * stdlib/setenv.c (__add_to_environ): Likewise.
17048 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
17049 * stdlib/strtol_l.c (__strtol_l): Likewise.
17050 * stdlib/tst-strtod.c (main): Likewise.
17051 * stdlib/tst-strtol.c (main): Likewise.
17052 * stdlib/tst-strtoll.c (main): Likewise.
17053 * string/bits/string2.h (__strcmp_cc): Likewise.
17054 (__strcmp_cg): Likewise.
17055 (__strcspn_c1): Likewise.
17056 (__strcspn_c2): Likewise.
17057 (__strcspn_c3): Likewise.
17058 (__strspn_c1): Likewise.
17059 (__strspn_c2): Likewise.
17060 (__strspn_c3): Likewise.
17061 (__strsep_1c): Likewise.
17062 (__strsep_2c): Likewise.
17063 (__strsep_3c): Likewise.
17064 * string/memccpy.c (__memccpy): Likewise.
17065 * string/stpcpy.c (__stpcpy): Likewise.
17066 * string/strcmp.c (strcmp): Likewise.
17067 * string/strrchr.c (strrchr): Likewise.
17068 * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
17070 * sysdeps/mach/hurd/getcwd.c
17071 (_hurd_canonicalize_directory_name_internal): Likewise.
17072 * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
17073 * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
17074 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
17075 * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
17076 Likewise, in both definitions.
17077 * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
17079 [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
17080 64] (__bswap_64): Likewise.
17081 * time/test_time.c (main): Likewise.
17082 * time/tzfile.c (__tzfile_read): Likewise.
17083 (__tzfile_compute): Likewise.
17084 * time/tzset.c (__tzset_parse_tz): Likewise.
17085 (tzset_internal): Likewise.
17086 (compute_change): Likewise.
17087 * wcsmbs/wcscat.c (__wcscat): Likewise.
17088 * wcsmbs/wcschr.c (wcschr): Likewise.
17089 * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
17090 * wcsmbs/wcscspn.c (wcscspn): Likewise.
17091 * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
17092 * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
17093 * wcsmbs/wcsspn.c (wcsspn): Likewise.
17094 * wcsmbs/wcsstr.c (wcsstr): Likewise.
17095 * wcsmbs/wmemchr.c (wmemchr): Likewise.
17096 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
17097 * wcsmbs/wmemset.c (wmemset): Likewise.
17099 2013-06-06 Joseph Myers <joseph@codesourcery.com>
17101 * scripts/config.guess: Update to version 2013-05-16.
17102 * scripts/config.sub: Update to version 2013-04-24.
17103 * scripts/install-sh: Update to version 2011-11-20.07.
17104 * scripts/mkinstalldirs: Update to version 2009-04-28.21.
17105 * scripts/move-if-change: Update to version 2012-01-06 07:23.
17107 2013-06-06 Ondřej Bílka <neleai@seznam.cz>
17109 * debug/fgetws_u_chk.c: Fix leading whitespaces.
17110 * elf/sln.c: Likewise.
17111 * hurd/hurd/ioctl.h: Likewise.
17112 * hurd/hurdmalloc.c: Likewise.
17113 * hurd/xattr.c: Likewise.
17114 * include/shlib-compat.h: Likewise.
17115 * inet/ruserpass.c: Likewise.
17116 * libio/iofgets_u.c: Likewise.
17117 * libio/iofgetws_u.c: Likewise.
17118 * locale/programs/ld-identification.c: Likewise.
17119 * locale/programs/ld-time.c: Likewise.
17120 * mach/msg-destroy.c: Likewise.
17121 * nss/nss_files/files-netgrp.c: Likewise.
17122 * resolv/res_data.c: Likewise.
17123 * soft-fp/op-1.h: Likewise.
17124 * soft-fp/op-2.h: Likewise.
17125 * soft-fp/op-4.h: Likewise.
17126 * soft-fp/op-common.h: Likewise.
17127 * stdio-common/printf_fphex.c: Likewise.
17128 * stdlib/strtod_l.c: Likewise.
17129 * sunrpc/rpc/clnt.h: Likewise.
17130 * sysdeps/generic/framestate.c: Likewise.
17131 * sysdeps/i386/bsd-_setjmp.S: Likewise.
17132 * sysdeps/i386/bsd-setjmp.S: Likewise.
17133 * sysdeps/i386/__longjmp.S: Likewise.
17134 * sysdeps/i386/setjmp.S: Likewise.
17135 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
17136 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
17137 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
17138 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
17139 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
17140 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
17141 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
17142 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
17143 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
17144 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
17145 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
17146 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
17147 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
17148 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
17149 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
17150 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
17151 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
17152 * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
17153 * sysdeps/ieee754/support.c: Likewise.
17154 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
17155 * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
17156 * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
17157 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
17158 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
17159 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
17160 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
17161 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
17162 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
17163 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
17164 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
17165 * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
17166 * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
17167 * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
17168 * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
17169 * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
17170 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
17171 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
17173 2013-06-05 Ondřej Bílka <neleai@seznam.cz>
17175 * posix/transbug.c: Remove executable mode.
17177 2013-06-05 Joseph Myers <joseph@codesourcery.com>
17179 * crypt/speeds.c: Remove trailing whitespace.
17180 * dlfcn/default.c: Likewise.
17181 * elf/ifuncdep2.c: Likewise.
17182 * elf/ifuncmain1.c: Likewise.
17183 * elf/ifuncmain1vis.c: Likewise.
17184 * elf/testobj.h: Likewise.
17185 * elf/tst-stackguard1.c: Likewise.
17186 * gmon/sys/gmon.h: Likewise.
17187 * hurd/hurdmsg.c: Likewise.
17188 * hurd/new-fd.c: Likewise.
17189 * hurd/ports-get.c: Likewise.
17190 * iconvdata/ibm1008_420.c: Likewise.
17191 * inet/tst-getni1.c: Likewise.
17192 * inet/tst-getni2.c: Likewise.
17193 * libio/ioungetc.c: Likewise.
17194 * libio/wfiledoalloc.c: Likewise.
17195 * manual/libm-err-tab.pl: Likewise.
17196 * math/w_dremf.c: Likewise.
17197 * misc/ftruncate.c: Likewise.
17198 * posix/bug-glob2.c: Likewise.
17199 * posix/tst-pcre.c: Likewise.
17200 * posix/wait4.c: Likewise.
17201 * resolv/README: Likewise.
17202 * resolv/res_debug.h: Likewise.
17203 * resolv/tst-inet_ntop.c: Likewise.
17204 * setjmp/bug269-setjmp.c: Likewise.
17205 * soft-fp/extended.h: Likewise.
17206 * soft-fp/op-1.h: Likewise.
17207 * soft-fp/op-2.h: Likewise.
17208 * soft-fp/op-4.h: Likewise.
17209 * soft-fp/op-8.h: Likewise.
17210 * soft-fp/testit.c: Likewise.
17211 * stdio-common/bug16.c: Likewise.
17212 * stdlib/random.c: Likewise.
17213 * sunrpc/rpcsvc/rquota.x: Likewise.
17214 * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
17215 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
17216 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
17217 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
17218 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
17219 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
17220 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
17221 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
17222 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
17223 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
17224 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
17225 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
17226 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
17227 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
17228 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
17229 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
17230 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
17231 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
17232 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
17233 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
17234 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
17235 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
17236 * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
17237 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
17238 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
17239 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
17240 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
17241 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
17242 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
17243 * sysdeps/ieee754/s_lib_version.c: Likewise.
17244 * sysdeps/mach/hurd/check_fds.c: Likewise.
17245 * sysdeps/mach/hurd/getsockname.c: Likewise.
17246 * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
17247 * sysdeps/mach/hurd/recvfrom.c: Likewise.
17248 * sysdeps/powerpc/bits/link.h: Likewise.
17249 * sysdeps/powerpc/dl-procinfo.c: Likewise.
17250 * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
17251 * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
17252 * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
17253 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
17254 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
17255 * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
17256 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
17257 * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
17258 * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
17259 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
17260 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
17261 * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
17262 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
17263 * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
17264 * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
17265 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
17266 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
17267 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
17268 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
17269 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
17270 * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
17271 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
17272 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
17273 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
17274 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
17275 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
17276 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
17277 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
17278 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
17279 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
17280 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
17281 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
17282 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
17283 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
17284 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
17285 * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
17286 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
17287 * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
17288 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
17289 * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
17290 * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
17291 * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
17292 * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
17293 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
17294 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
17295 * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
17296 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
17297 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
17298 * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
17299 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
17300 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
17301 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
17302 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
17303 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
17304 * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
17305 * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
17306 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
17307 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
17308 * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
17309 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
17310 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
17311 * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
17312 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
17313 * sysdeps/powerpc/sysdep.h: Likewise.
17314 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
17315 * sysdeps/s390/s390-64/sub_n.S: Likewise.
17316 * sysdeps/sh/dl-trampoline.S: Likewise.
17317 * sysdeps/sh/memset.S: Likewise.
17318 * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
17319 * sysdeps/sh/strlen.S: Likewise.
17320 * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
17321 * sysdeps/sparc/sparc32/dotmul.S: Likewise.
17322 * sysdeps/sparc/sparc32/memcpy.S: Likewise.
17323 * sysdeps/sparc/sparc32/rem.S: Likewise.
17324 * sysdeps/sparc/sparc32/sdiv.S: Likewise.
17325 * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
17326 * sysdeps/sparc/sparc32/strchr.S: Likewise.
17327 * sysdeps/sparc/sparc32/udiv.S: Likewise.
17328 * sysdeps/sparc/sparc32/urem.S: Likewise.
17329 * sysdeps/sparc/sparc64/add_n.S: Likewise.
17330 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
17331 * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
17332 * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
17333 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
17334 * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
17335 * sysdeps/sparc/sparc64/strncmp.S: Likewise.
17336 * sysdeps/sparc/sparc64/strncpy.S: Likewise.
17337 * sysdeps/unix/bsd/times.c: Likewise.
17338 * sysdeps/unix/sysv/linux/a.out.h: Likewise.
17339 * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
17340 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
17341 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
17342 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
17343 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
17344 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
17345 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
17346 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
17347 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
17348 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
17349 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
17350 * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
17351 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
17352 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
17353 * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
17354 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
17355 * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
17356 * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
17357 * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
17358 * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
17359 * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
17360 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
17361 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
17362 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
17363 * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
17364 * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
17365 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
17366 * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
17367 * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
17368 * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
17369 * sysdeps/x86_64/strcspn.S: Likewise.
17371 2013-06-05 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
17373 * locale/C-translit.h: Revert #include <stdint.h> because this is a
17374 generated file. Regenerate properly from gen-translit.pl.
17375 * locale/gen-translit.pl: Add #include <stdint.h>. This generates
17376 locale/C-translit.h.
17378 2013-06-05 Andreas Schwab <schwab@suse.de>
17381 * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
17382 week as 6 instead of -1.
17383 * time/tst-strptime.c (day_tests): Add test case.
17385 2013-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
17387 * sysdeps/generic/math_private.h
17388 (libc_feholdexcept_setround_53bit): Replace with
17389 libc_feholdsetround_53bit.
17390 (libc_feupdateenv_53bit): Replace with
17391 libc_feresetround_53bit.
17392 (SET_RESTORE_ROUND_53BIT): Adjust.
17394 2013-06-03 Siddhesh Poyarekar <siddhesh@redhat.com>
17396 * string/test-strchrnul.c: Add copyright header.
17398 * posix/tst-getaddrinfo4.c: Increase test timeout.
17400 2013-06-03 Carlos O'Donell <carlos@redhat.com>
17403 * math/libm-test.inc (MAX_EXP): Remove
17405 (ulp): Use MIN_EXP - MANT_DIG.
17406 (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
17408 2013-05-31 Carlos O'Donell <carlos@redhat.com>
17410 * po/be.po: Revert last change.
17411 * po/zh_CN.po: Likewise.
17412 * po/header.pot: Likewise.
17414 2013-05-31 Joseph Myers <joseph@codesourcery.com>
17416 * Makefile ($(common-objpfx)linkobj/libc.so): Define
17417 link-libc-deps to empty as target-specific variable.
17418 * Makerules (link-libc-args): New variable.
17419 (libc-for-link): Likewise.
17420 (link-libc-deps): Likewise.
17421 (lib%.so): Depend on $(link-libc-deps). Link with
17423 (build-module): Link with $(link-libc-args).
17424 (build-module-asneeded): Likewise.
17425 (build-module-helper-objlist): Filter out $(link-libc-deps) from
17427 ($(common-objpfx)libc.so): Define link-libc-deps to empty as
17428 target-specific variable.
17429 ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
17430 $(link-libc-deps) instead of libc.so and libc_nonshared.a.
17431 * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
17433 * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
17435 ($(objpfx)libpcprofile.so): Likewise.
17436 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
17438 ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
17439 * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
17440 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
17442 ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
17443 * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
17444 * login/Makefile ($(objpfx)libutil.so): Likewise.
17445 * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
17446 * math/Makefile ($(objpfx)libm.so): Likewise.
17447 * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
17448 $(objpfx)libnsl.so): Define libc-for-link as target-specific
17449 variable instead of depending directly on libc.
17450 * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
17451 ($(objpfx)/libnss_test1.so): Change dependencies on libc to
17453 * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
17455 [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
17456 ($(objpfx)libnss_dns.so): Remove dependencies on libc.
17457 ($(objpfx)libanl.so): Likewise.
17458 * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
17460 * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
17462 * sysdeps/i386/fpu/Makefile: Remove file.
17463 * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
17464 ($(objpfx)libm.so): Remove dependency on ld.so.
17466 2013-05-30 Patsy Franklin <pfrankli@redhat.com>
17469 * nis/yp_xdr.c (XDRMAXNAME): Define.
17470 (XDRMAXRECORD): Define.
17471 (xdr_domainname): Use XDRMAXNAME.
17472 (xdr_mapname): Likewise.
17473 (xdr_peername): Likewise.
17474 (xdr_keydat): Use XDRMAXRECORD.
17475 (xdr_valdat): Likewise.
17477 2013-05-30 Jeff Law <law@redhat.com>
17480 * manual/errno.texi (ESTALE): Update to account for more than
17481 just NFS file systems.
17482 * sysdeps/gnu/errlist.c: Regenerated.
17484 2013-05-29 Siddhesh Poyarekar <siddhesh@redhat.com>
17487 * elf/Makefile (tests): Add tst-null-argv.
17488 (modules-names): Add tst-null-argv-lib.
17489 ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
17490 (tst-null-argv-ENV): Set environment for tst-null-argv.
17491 * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
17492 (RTLD_PROGNAME): New macro.
17493 * elf/tst-null-argv.c: New test case.
17494 * elf/tst-null-argv-lib.c: Library for test case.
17495 * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
17496 * elf/dl-deps.c (_dl_map_object_deps): Likewise.
17497 * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
17498 * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
17499 * elf/dl-init.c (call_init): Likewise.
17500 (_dl_init): Likewise.
17501 * elf/dl-load.c (print_search_path): Likewise.
17502 (_dl_map_object): Likewise.
17503 * elf/dl-lookup.c (do_lookup_x): Likewise.
17504 (add_dependency): Likewise.
17505 (_dl_lookup_symbol_x): Likewise.
17506 (_dl_debug_bindings): Likewise.
17507 * elf/dl-open.c (_dl_show_scope): Likewise.
17508 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
17509 * elf/dl-version.c (match_symbol): Likewise.
17510 (_dl_check_map_versions): Likewise.
17511 * elf/rtld.c (dl_main): Likewise.
17512 (print_unresolved): Use RTLD_PROGNAME.
17513 (print_missing_version): Likewise.
17514 * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
17515 (elf_machine_rela): Likewise.
17516 * sysdeps/powerpc/powerpc32/dl-machine.c
17517 (__process_machine_rela): Likewise.
17518 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
17520 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
17522 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
17524 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
17525 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
17527 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
17529 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
17531 2013-05-28 Carlos O'Donell <carlos@redhat.com>
17533 * po/be.po: Add descriptive title.
17534 * po/zh_CN.po: Likewise.
17535 * po/header.pot: Likewise.
17537 2013-05-28 Mike Frysinger <vapier@gentoo.org>
17539 * locale/programs/locarchive.c (create_archive): Inlucde fname in
17541 (enlarge_archive): Likewise.
17543 2013-05-28 Ben North <ben@redfrontdoor.org>
17545 * manual/arith.texi (frexp): It is the magnitude of the return
17546 value which lies in [0.5, 1), not the return value itself.
17548 2013-05-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17550 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17552 2013-05-26 Thomas Schwinge <thomas@codesourcery.com>
17554 * stdio-common/bug26.c (main): Correct fscanf template.
17556 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
17557 declare _dl_skip_args.
17559 * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
17562 * manual/platform.texi: Add missing @end deftypefun.
17564 2013-05-24 Joseph Myers <joseph@codesourcery.com>
17567 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
17568 bit of mantissa of 2^16382.
17569 * math/libm-test.inc (hypot_test_data): Add more tests.
17571 * math/libm-test.inc: Add drem and pow10 to list of tested
17573 (pow10_test): New function.
17574 (drem_test): Likewise.
17575 (drem_test_tonearest): Likewise.
17576 (drem_test_towardzero): Likewise.
17577 (drem_test_downward): Likewise.
17578 (drem_test_upward): Likewise.
17579 (main): Call the new functions.
17581 * math/libm-test.inc (finite_test_data): Remove.
17582 (finite_test): Run tests from isfinite_test_data.
17583 (gamma_test_data): Remove.
17584 (gamma_test): Run tests from lgamma_test_data.
17585 * sysdeps/i386/fpu/libm-test-ulps: Update.
17586 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17588 2013-05-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17590 * manual/platform.texi: Add PowerPC PPR function set documentation.
17591 * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
17594 2013-05-24 Carlos O'Donell <carlos@redhat.com>
17596 * math/libm-test.inc (MAX_EXP): Define.
17598 (ulp): New function.
17599 (check_float_internal): Use ULPDIFF.
17600 (cpow_test): Disable failing test.
17601 (check_ulp): Test ulp() implemetnation.
17602 (main): Call check_ulp before starting tests.
17604 2013-05-24 Joseph Myers <joseph@codesourcery.com>
17606 * math/gen-libm-test.pl (generate_testfile): Do not handle
17607 START_DATA and END_DATA.
17608 * math/libm-test.inc (acos_test_data): Do not use START_DATA and
17610 (acos_tonearest_test_data): Likewise.
17611 (acos_towardzero_test_data): Likewise.
17612 (acos_downward_test_data): Likewise.
17613 (acos_upward_test_data): Likewise.
17614 (acosh_test_data): Likewise.
17615 (asin_test_data): Likewise.
17616 (asin_tonearest_test_data): Likewise.
17617 (asin_towardzero_test_data): Likewise.
17618 (asin_downward_test_data): Likewise.
17619 (asin_upward_test_data): Likewise.
17620 (asinh_test_data): Likewise.
17621 (atan_test_data): Likewise.
17622 (atanh_test_data): Likewise.
17623 (atan2_test_data): Likewise.
17624 (cabs_test_data): Likewise.
17625 (cacos_test_data): Likewise.
17626 (cacosh_test_data): Likewise.
17627 (carg_test_data): Likewise.
17628 (casin_test_data): Likewise.
17629 (casinh_test_data): Likewise.
17630 (catan_test_data): Likewise.
17631 (catanh_test_data): Likewise.
17632 (cbrt_test_data): Likewise.
17633 (ccos_test_data): Likewise.
17634 (ccosh_test_data): Likewise.
17635 (ceil_test_data): Likewise.
17636 (cexp_test_data): Likewise.
17637 (cimag_test_data): Likewise.
17638 (clog_test_data): Likewise.
17639 (clog10_test_data): Likewise.
17640 (conj_test_data): Likewise.
17641 (copysign_test_data): Likewise.
17642 (cos_test_data): Likewise.
17643 (cos_tonearest_test_data): Likewise.
17644 (cos_towardzero_test_data): Likewise.
17645 (cos_downward_test_data): Likewise.
17646 (cos_upward_test_data): Likewise.
17647 (cosh_test_data): Likewise.
17648 (cosh_tonearest_test_data): Likewise.
17649 (cosh_towardzero_test_data): Likewise.
17650 (cosh_downward_test_data): Likewise.
17651 (cosh_upward_test_data): Likewise.
17652 (cpow_test_data): Likewise.
17653 (cproj_test_data): Likewise.
17654 (creal_test_data): Likewise.
17655 (csin_test_data): Likewise.
17656 (csinh_test_data): Likewise.
17657 (csqrt_test_data): Likewise.
17658 (ctan_test_data): Likewise.
17659 (ctan_tonearest_test_data): Likewise.
17660 (ctan_towardzero_test_data): Likewise.
17661 (ctan_downward_test_data): Likewise.
17662 (ctan_upward_test_data): Likewise.
17663 (ctanh_test_data): Likewise.
17664 (ctanh_tonearest_test_data): Likewise.
17665 (ctanh_towardzero_test_data): Likewise.
17666 (ctanh_downward_test_data): Likewise.
17667 (ctanh_upward_test_data): Likewise.
17668 (erf_test_data): Likewise.
17669 (erfc_test_data): Likewise.
17670 (exp_test_data): Likewise.
17671 (exp_tonearest_test_data): Likewise.
17672 (exp_towardzero_test_data): Likewise.
17673 (exp_downward_test_data): Likewise.
17674 (exp_upward_test_data): Likewise.
17675 (exp10_test_data): Likewise.
17676 (exp2_test_data): Likewise.
17677 (expm1_test_data): Likewise.
17678 (fabs_test_data): Likewise.
17679 (fdim_test_data): Likewise.
17680 (finite_test_data): Likewise.
17681 (floor_test_data): Likewise.
17682 (fma_test_data): Likewise.
17683 (fma_towardzero_test_data): Likewise.
17684 (fma_downward_test_data): Likewise.
17685 (fma_upward_test_data): Likewise.
17686 (fmax_test_data): Likewise.
17687 (fmin_test_data): Likewise.
17688 (fmod_test_data): Likewise.
17689 (fpclassify_test_data): Likewise.
17690 (frexp_test_data): Likewise.
17691 (gamma_test_data): Likewise.
17692 (hypot_test_data): Likewise.
17693 (ilogb_test_data): Likewise.
17694 (isfinite_test_data): Likewise.
17695 (isgreater_test_data): Likewise.
17696 (isgreaterequal_test_data): Likewise.
17697 (isinf_test_data): Likewise.
17698 (isless_test_data): Likewise.
17699 (islessequal_test_data): Likewise.
17700 (islessgreater_test_data): Likewise.
17701 (isnan_test_data): Likewise.
17702 (isnormal_test_data): Likewise.
17703 (issignaling_test_data): Likewise.
17704 (isunordered_test_data): Likewise.
17705 (j0_test_data): Likewise.
17706 (j1_test_data): Likewise.
17707 (jn_test_data): Likewise.
17708 (ldexp_test_data): Likewise.
17709 (lgamma_test_data): Likewise.
17710 (lrint_test_data): Likewise.
17711 (lrint_tonearest_test_data): Likewise.
17712 (lrint_towardzero_test_data): Likewise.
17713 (lrint_downward_test_data): Likewise.
17714 (lrint_upward_test_data): Likewise.
17715 (llrint_test_data): Likewise.
17716 (llrint_tonearest_test_data): Likewise.
17717 (llrint_towardzero_test_data): Likewise.
17718 (llrint_downward_test_data): Likewise.
17719 (llrint_upward_test_data): Likewise.
17720 (log_test_data): Likewise.
17721 (log10_test_data): Likewise.
17722 (log1p_test_data): Likewise.
17723 (log2_test_data): Likewise.
17724 (logb_test_data): Likewise.
17725 (logb_downward_test_data): Likewise.
17726 (lround_test_data): Likewise.
17727 (llround_test_data): Likewise.
17728 (modf_test_data): Likewise.
17729 (nearbyint_test_data): Likewise.
17730 (nextafter_test_data): Likewise.
17731 (nexttoward_test_data): Likewise.
17732 (pow_test_data): Likewise.
17733 (pow_tonearest_test_data): Likewise.
17734 (pow_towardzero_test_data): Likewise.
17735 (pow_downward_test_data): Likewise.
17736 (pow_upward_test_data): Likewise.
17737 (remainder_test_data): Likewise.
17738 (remainder_tonearest_test_data): Likewise.
17739 (remainder_towardzero_test_data): Likewise.
17740 (remainder_downward_test_data): Likewise.
17741 (remainder_upward_test_data): Likewise.
17742 (remquo_test_data): Likewise.
17743 (rint_test_data): Likewise.
17744 (rint_tonearest_test_data): Likewise.
17745 (rint_towardzero_test_data): Likewise.
17746 (rint_downward_test_data): Likewise.
17747 (rint_upward_test_data): Likewise.
17748 (round_test_data): Likewise.
17749 (scalb_test_data): Likewise.
17750 (scalbn_test_data): Likewise.
17751 (scalbln_test_data): Likewise.
17752 (signbit_test_data): Likewise.
17753 (sin_test_data): Likewise.
17754 (sin_tonearest_test_data): Likewise.
17755 (sin_towardzero_test_data): Likewise.
17756 (sin_downward_test_data): Likewise.
17757 (sin_upward_test_data): Likewise.
17758 (sincos_test_data): Likewise.
17759 (sinh_test_data): Likewise.
17760 (sinh_tonearest_test_data): Likewise.
17761 (sinh_towardzero_test_data): Likewise.
17762 (sinh_downward_test_data): Likewise.
17763 (sinh_upward_test_data): Likewise.
17764 (sqrt_test_data): Likewise.
17765 (tan_test_data): Likewise.
17766 (tan_tonearest_test_data): Likewise.
17767 (tan_towardzero_test_data): Likewise.
17768 (tan_downward_test_data): Likewise.
17769 (tan_upward_test_data): Likewise.
17770 (tanh_test_data): Likewise.
17771 (tgamma_test_data): Likewise.
17772 (trunc_test_data): Likewise.
17773 (y0_test_data): Likewise.
17774 (y1_test_data): Likewise.
17775 (yn_test_data): Likewise.
17776 (significand_test_data): Likewise.
17778 * math/gen-libm-test.pl (@functions): Remove variable.
17779 (generate_testfile): Don't handle START and END lines.
17780 * math/libm-test.inc (START): New macro.
17782 (END_COMPLEX): Likewise.
17783 (acos_test): Use END macro without arguments.
17784 (acos_test_tonearest): Likewise.
17785 (acos_test_towardzero): Likewise.
17786 (acos_test_downward): Likewise.
17787 (acos_test_upward): Likewise.
17788 (acosh_test): Likewise.
17789 (asin_test): Likewise.
17790 (asin_test_tonearest): Likewise.
17791 (asin_test_towardzero): Likewise.
17792 (asin_test_downward): Likewise.
17793 (asin_test_upward): Likewise.
17794 (asinh_test): Likewise.
17795 (atan_test): Likewise.
17796 (atanh_test): Likewise.
17797 (atan2_test): Likewise.
17798 (cabs_test): Likewise.
17799 (cacos_test): Use END_COMPLEX macro without arguments.
17800 (cacosh_test): Likewise.
17801 (carg_test): Use END macro without arguments.
17802 (casin_test): Use END_COMPLEX macro without arguments.
17803 (casinh_test): Likewise.
17804 (catan_test): Likewise.
17805 (catanh_test): Likewise.
17806 (cbrt_test): Use END macro without arguments.
17807 (ccos_test): Use END_COMPLEX macro without arguments.
17808 (ccosh_test): Likewise.
17809 (ceil_test): Use END macro without arguments.
17810 (cexp_test): Use END_COMPLEX macro without arguments.
17811 (cimag_test): Use END macro without arguments.
17812 (clog_test): Use END_COMPLEX macro without arguments.
17813 (clog10_test): Likewise.
17814 (conj_test): Likewise.
17815 (copysign_test): Use END macro without arguments.
17816 (cos_test): Likewise.
17817 (cos_test_tonearest): Likewise.
17818 (cos_test_towardzero): Likewise.
17819 (cos_test_downward): Likewise.
17820 (cos_test_upward): Likewise.
17821 (cosh_test): Likewise.
17822 (cosh_test_tonearest): Likewise.
17823 (cosh_test_towardzero): Likewise.
17824 (cosh_test_downward): Likewise.
17825 (cosh_test_upward): Likewise.
17826 (cpow_test): Use END_COMPLEX macro without arguments.
17827 (cproj_test): Likewise.
17828 (creal_test): Use END macro without arguments.
17829 (csin_test): Use END_COMPLEX macro without arguments.
17830 (csinh_test): Likewise.
17831 (csqrt_test): Likewise.
17832 (ctan_test): Likewise.
17833 (ctan_test_tonearest): Likewise.
17834 (ctan_test_towardzero): Likewise.
17835 (ctan_test_downward): Likewise.
17836 (ctan_test_upward): Likewise.
17837 (ctanh_test): Likewise.
17838 (ctanh_test_tonearest): Likewise.
17839 (ctanh_test_towardzero): Likewise.
17840 (ctanh_test_downward): Likewise.
17841 (ctanh_test_upward): Likewise.
17842 (erf_test): Use END macro without arguments.
17843 (erfc_test): Likewise.
17844 (exp_test): Likewise.
17845 (exp_test_tonearest): Likewise.
17846 (exp_test_towardzero): Likewise.
17847 (exp_test_downward): Likewise.
17848 (exp_test_upward): Likewise.
17849 (exp10_test): Likewise.
17850 (exp2_test): Likewise.
17851 (expm1_test): Likewise.
17852 (fabs_test): Likewise.
17853 (fdim_test): Likewise.
17854 (finite_test): Likewise.
17855 (floor_test): Likewise.
17856 (fma_test): Likewise.
17857 (fma_test_towardzero): Likewise.
17858 (fma_test_downward): Likewise.
17859 (fma_test_upward): Likewise.
17860 (fmax_test): Likewise.
17861 (fmin_test): Likewise.
17862 (fmod_test): Likewise.
17863 (fpclassify_test): Likewise.
17864 (frexp_test): Likewise.
17865 (gamma_test): Likewise.
17866 (hypot_test): Likewise.
17867 (ilogb_test): Likewise.
17868 (isfinite_test): Likewise.
17869 (isgreater_test): Likewise.
17870 (isgreaterequal_test): Likewise.
17871 (isinf_test): Likewise.
17872 (isless_test): Likewise.
17873 (islessequal_test): Likewise.
17874 (islessgreater_test): Likewise.
17875 (isnan_test): Likewise.
17876 (isnormal_test): Likewise.
17877 (issignaling_test): Likewise.
17878 (isunordered_test): Likewise.
17879 (j0_test): Likewise.
17880 (j1_test): Likewise.
17881 (jn_test): Likewise.
17882 (ldexp_test): Likewise.
17883 (lgamma_test): Likewise.
17884 (lrint_test): Likewise.
17885 (lrint_test_tonearest): Likewise.
17886 (lrint_test_towardzero): Likewise.
17887 (lrint_test_downward): Likewise.
17888 (lrint_test_upward): Likewise.
17889 (llrint_test): Likewise.
17890 (llrint_test_tonearest): Likewise.
17891 (llrint_test_towardzero): Likewise.
17892 (llrint_test_downward): Likewise.
17893 (llrint_test_upward): Likewise.
17894 (log_test): Likewise.
17895 (log10_test): Likewise.
17896 (log1p_test): Likewise.
17897 (log2_test): Likewise.
17898 (logb_test): Likewise.
17899 (logb_test_downward): Likewise.
17900 (lround_test): Likewise.
17901 (llround_test): Likewise.
17902 (modf_test): Likewise.
17903 (nearbyint_test): Likewise.
17904 (nextafter_test): Likewise.
17905 (nexttoward_test): Likewise.
17906 (pow_test): Likewise.
17907 (pow_test_tonearest): Likewise.
17908 (pow_test_towardzero): Likewise.
17909 (pow_test_downward): Likewise.
17910 (pow_test_upward): Likewise.
17911 (remainder_test): Likewise.
17912 (remainder_test_tonearest): Likewise.
17913 (remainder_test_towardzero): Likewise.
17914 (remainder_test_downward): Likewise.
17915 (remainder_test_upward): Likewise.
17916 (remquo_test): Likewise.
17917 (rint_test): Likewise.
17918 (rint_test_tonearest): Likewise.
17919 (rint_test_towardzero): Likewise.
17920 (rint_test_downward): Likewise.
17921 (rint_test_upward): Likewise.
17922 (round_test): Likewise.
17923 (scalb_test): Likewise.
17924 (scalbn_test): Likewise.
17925 (scalbln_test): Likewise.
17926 (signbit_test): Likewise.
17927 (sin_test): Likewise.
17928 (sin_test_tonearest): Likewise.
17929 (sin_test_towardzero): Likewise.
17930 (sin_test_downward): Likewise.
17931 (sin_test_upward): Likewise.
17932 (sincos_test): Likewise.
17933 (sinh_test): Likewise.
17934 (sinh_test_tonearest): Likewise.
17935 (sinh_test_towardzero): Likewise.
17936 (sinh_test_downward): Likewise.
17937 (sinh_test_upward): Likewise.
17938 (sqrt_test): Likewise.
17939 (tan_test): Likewise.
17940 (tan_test_tonearest): Likewise.
17941 (tan_test_towardzero): Likewise.
17942 (tan_test_downward): Likewise.
17943 (tan_test_upward): Likewise.
17944 (tanh_test): Likewise.
17945 (tgamma_test): Likewise.
17946 (trunc_test): Likewise.
17947 (y0_test): Likewise.
17948 (y1_test): Likewise.
17949 (yn_test): Likewise.
17950 (significand_test): Likewise.
17952 2013-05-24 Ondřej Bílka <neleai@seznam.cz>
17955 * libio/genops.c (_IO_no_init): Initialize wide struct info.
17957 2013-05-23 Edjunior Machado <emachado@linux.vnet.ibm.com>
17960 * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
17961 __ppc_mdoio and __ppc_mdoom.
17962 * manual/platform.texi: Document new functions __ppc_yield,
17963 __ppc_mdoio and __ppc_mdoom.
17965 2013-05-22 Carlos O'Donell <carlos@redhat.com>
17967 * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
17968 (main): Mention "tls" pseudo-hwcap is legacy.
17969 * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
17971 2013-05-22 Joseph Myers <joseph@codesourcery.com>
17973 * math/gen-libm-test.pl (parse_args): Output only string of
17974 arguments as text for test name, not full call or descriptions of
17975 tests for extra outputs.
17976 (generate_testfile): Do not pass function name to parse_args.
17977 Generate this_func variable from START.
17978 * math/libm-test.inc (struct test_f_f_data): Rename test_name
17980 (struct test_ff_f_data): Likewise.
17981 (test_ff_f_data_nexttoward): Likewise.
17982 (struct test_fi_f_data): Likewise.
17983 (struct test_fl_f_data): Likewise.
17984 (struct test_if_f_data): Likewise.
17985 (struct test_fff_f_data): Likewise.
17986 (struct test_c_f_data): Likewise.
17987 (struct test_f_f1_data): Likewise. Remove field extra_name.
17988 (struct test_fF_f1_data): Likewise.
17989 (struct test_ffI_f1_data): Likewise.
17990 (struct test_c_c_data): Rename test_name field to arg_str.
17991 (struct test_cc_c_data): Likewise.
17992 (struct test_f_i_data): Likewise.
17993 (struct test_ff_i_data): Likewise.
17994 (struct test_f_l_data): Likewise.
17995 (struct test_f_L_data): Likewise.
17996 (struct test_fFF_11_data): Likewise. Remove fields extra1_name
17998 (COMMON_TEST_SETUP): New macro.
17999 (EXTRA_OUTPUT_TEST_SETUP): Likewise.
18000 (COMMON_TEST_CLEANUP): Likewise.
18001 (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
18002 (RUN_TEST_f_f): Take argument string. Call new setup and cleanup
18004 (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
18005 (RUN_TEST_2_f): Take argument string. Call new setup and cleanup
18007 (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
18008 (RUN_TEST_fff_f): Take argument string. Call new setup and
18010 (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
18011 (RUN_TEST_c_f): Take argument string. Call new setup and cleanup
18013 (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
18014 (RUN_TEST_f_f1): Take argument string. Call new setup and cleanup
18016 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
18017 (RUN_TEST_fF_f1): Take argument string. Call new setup and
18019 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
18020 (RUN_TEST_fI_f1): Take argument string. Call new setup and
18022 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
18023 (RUN_TEST_ffI_f1): Take argument string. Call new setup and
18025 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
18026 (RUN_TEST_c_c): Take argument string. Call new setup and cleanup
18028 (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
18029 (RUN_TEST_cc_c): Take argument string. Call new setup and cleanup
18031 (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
18032 (RUN_TEST_f_i): Take argument string. Call new setup and cleanup
18034 (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
18035 (RUN_TEST_f_i_tg): Take argument string. Call new setup and
18037 (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
18038 (RUN_TEST_ff_i_tg): Take argument string. Call new setup and
18040 (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
18041 (RUN_TEST_f_b): Take argument string. Call new setup and cleanup
18043 (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
18044 (RUN_TEST_f_b_tg): Take argument string. Call new setup and
18046 (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
18047 (RUN_TEST_f_l): Take argument string. Call new setup and cleanup
18049 (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
18050 (RUN_TEST_f_L): Take argument string. Call new setup and cleanup
18052 (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
18053 (RUN_TEST_fFF_11): Take argument string. Call new setup and
18055 (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
18057 2013-05-22 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
18059 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
18060 to _sifields.sigfault.
18061 (si_addr_lsb): Define new macro.
18062 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
18063 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
18064 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
18066 2013-05-03 Carlos O'Donell <carlos at redhat.com>
18069 * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
18071 (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
18073 * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
18074 loading the domain.
18076 2013-05-22 Joseph Myers <joseph@codesourcery.com>
18078 * math/gen-libm-test.pl (parse_args): Do not include expected
18079 result in test name.
18080 * sysdeps/i386/fpu/libm-test-ulps: Update test names.
18081 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
18082 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
18083 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
18084 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
18085 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18087 2013-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
18089 * benchtests/Makefile: Sort function entries.
18091 * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
18092 tanh, asinh, acosh, atanh.
18093 * benchtests/acos-inputs: New file.
18094 * benchtests/acosh-inputs: New file.
18095 * benchtests/asin-inputs: New file.
18096 * benchtests/asinh-inputs: New file.
18097 * benchtests/atanh-inputs: New file.
18098 * benchtests/cosh-inputs: New file.
18099 * benchtests/log-inputs: New file.
18100 * benchtests/sinh-inputs: New file.
18101 * benchtests/tanh-inputs: New file.
18103 2013-05-21 Dmitry V. Levin <ldv@altlinux.org>
18106 * posix/tst-getaddrinfo4.c: New test.
18107 * posix/Makefile (tests): Add it.
18109 2013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
18112 * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
18113 when no services were used.
18114 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
18115 Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
18117 2013-05-21 Andreas Schwab <schwab@suse.de>
18120 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
18121 [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
18123 * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
18124 redundant variable declarations and reallocation of buffer when
18125 parsing as IPv6 address. Always set NSS status when called from
18126 reentrant functions. Use NETDB_INTERNAL instead of TRY_AGAIN when
18127 buffer too small. Correct computation of needed size.
18128 * nss/Makefile (tests): Add test-digits-dots.
18129 * nss/test-digits-dots.c: New test.
18131 2013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
18133 * benchtests/Makefile: Remove instructions for adding
18135 * benchtests/README: New file to explain how to execute and
18136 enhance the benchmark tests.
18138 2013-05-21 Andreas Schwab <schwab@suse.de>
18141 * setjmp/Makefile (tests): Add tst-sigsetjmp.
18142 * setjmp/tst-sigsetjmp.c: New test.
18144 2013-05-20 Ondřej Bílka <neleai@seznam.cz>
18146 * sysdeps/x86_64/memset.S (memset): New implementation.
18147 (__bzero): Likewise.
18148 (__memset_tail): New function.
18150 2013-05-20 Ondřej Bílka <neleai@seznam.cz>
18152 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
18153 * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
18154 __memcpy_sse2_unaligned ifunc selection.
18155 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
18156 Add memcpy-sse2-unaligned.S.
18157 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
18158 Add: __memcpy_sse2_unaligned.
18160 2013-05-19 Joseph Myers <joseph@codesourcery.com>
18163 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
18164 math_force_eval before restoring floating-point envrionment.
18165 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
18166 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
18168 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
18170 (__nearbyintl): Use math_force_eval before restoring
18171 floating-point environment.
18172 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
18174 * math/gen-libm-test.pl (special_functions): Remove.
18175 (parse_args): Don't handle TEST_extra. Handle functions with no
18177 * math/libm-test.inc (struct test_sincos_data): Replace with
18178 struct test_fFF_11_data.
18179 (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
18180 (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
18181 (sincos_test_data): Change element type to struct
18182 test_fFF_11_data. Use TEST_fFF_11 instead of TEST_extra.
18183 (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
18184 RUN_TEST_LOOP_sincos.
18185 * math/README.libm-test: Don't mention special handling of
18186 individual functions.
18187 * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
18188 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
18189 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
18190 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
18191 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
18192 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18194 * math/gen-libm-test.pl (get_variable): Remove function.
18195 (parse_args): Don't show pointer parameters to call in test
18196 names. Use "extra output N" in test names for extra outputs
18197 rather than naming variables.
18199 2013-05-18 Joseph Myers <joseph@codesourcery.com>
18202 * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
18203 __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
18204 * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
18206 * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
18208 (do_test) [NO_LONG_DOUBLE]: Do not disable call to
18211 * math/gen-libm-test.pl (@tests): Remove variable.
18212 ($count): Likewise.
18213 (new_test): Remove function.
18214 (show_exceptions): New function.
18215 (special_functions): Use show_exceptions instead of new_test.
18216 (parse_args): Likewise.
18217 (generate_testfile): Pass only function name in generated call to
18218 print_max_error or print_complex_max_error.
18219 (get_ulps): Do not handle complex tests specially.
18220 (output_test): Rename to ...
18221 (get_all_ulps_for_test): ... this. Return a string rather than
18222 printing to a file. Require ulps to be present.
18223 (output_ulps): Generate arrays rather than #defines.
18224 * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
18225 (struct ulp_data): New type.
18226 (BUILD_COMPLEX_ULP): Remove macro.
18227 (compare_ulp_data): New function.
18228 (find_ulps): Likewise.
18229 (find_test_ulps): Likewise.
18230 (find_function_ulps): Likewise.
18231 (find_complex_function_ulps): Likewise.
18232 (print_max_error): Determine allowed ulps using
18233 find_function_ulps.
18234 (print_complex_max_error): Determine allowed ulps using
18235 find_complex_function_ulps.
18236 (check_float_internal): Determine max ulps using find_test_ulps.
18237 (check_float): Do not take max_ulp parameter. Update call to
18238 check_float_internal.
18239 (check_complex): Likewise.
18240 (check_int): Do not take max_ulp parameter.
18241 (check_long): Likewise.
18242 (check_bool): Likewise.
18243 (check_longlong): Likewise.
18244 (struct test_f_f_data): Remove max_ulp field.
18245 (struct test_ff_f_data): Likewise.
18246 (struct test_ff_f_data_nexttoward): Likewise.
18247 (struct test_fi_f_data): Likewise.
18248 (struct test_fl_f_data): Likewise.
18249 (struct test_if_f_data): Likewise.
18250 (struct test_fff_f_data): Likewise.
18251 (struct test_c_f_data): Likewise.
18252 (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
18253 (struct test_fF_f1_data): Likewise.
18254 (struct test_ffI_f1_data): Likewise.
18255 (struct test_c_c_data): Remove max_ulp field.
18256 (struct test_cc_c_data): Likewise.
18257 (struct test_f_i_data): Likewise.
18258 (struct test_ff_i_data): Likewise.
18259 (struct test_f_l_data): Likewise.
18260 (struct test_f_L_data): Likewise.
18261 (struct test_sincos_data): Likewise.
18262 (RUN_TEST_f_f): Do not handle ulps.
18263 (RUN_TEST_LOOP_f_f): Likewise.
18264 (RUN_TEST_2_f): Likewise.
18265 (RUN_TEST_LOOP_2_f): Likewise.
18266 (RUN_TEST_fff_f): Likewise.
18267 (RUN_TEST_LOOP_fff_f): Likewise.
18268 (RUN_TEST_c_f): Likewise.
18269 (RUN_TEST_LOOP_c_f): Likewise.
18270 (RUN_TEST_f_f1): Likewise.
18271 (RUN_TEST_LOOP_f_f1): Likewise.
18272 (RUN_TEST_fF_f1): Likewise.
18273 (RUN_TEST_LOOP_fF_f1): Likewise.
18274 (RUN_TEST_fI_f1): Likewise.
18275 (RUN_TEST_LOOP_fI_f1): Likewise.
18276 (RUN_TEST_ffI_f1): Likewise.
18277 (RUN_TEST_LOOP_ffI_f1): Likewise.
18278 (RUN_TEST_c_c): Likewise.
18279 (RUN_TEST_LOOP_c_c): Likewise.
18280 (RUN_TEST_cc_c): Likewise.
18281 (RUN_TEST_LOOP_cc_c): Likewise.
18282 (RUN_TEST_f_i): Likewise.
18283 (RUN_TEST_LOOP_f_i): Likewise.
18284 (RUN_TEST_f_i_tg): Likewise.
18285 (RUN_TEST_LOOP_f_i_tg): Likewise.
18286 (RUN_TEST_ff_i_tg): Likewise.
18287 (RUN_TEST_LOOP_ff_i_tg): Likewise.
18288 (RUN_TEST_f_b): Likewise.
18289 (RUN_TEST_LOOP_f_b): Likewise.
18290 (RUN_TEST_f_b_tg): Likewise.
18291 (RUN_TEST_LOOP_f_b_tg): Likewise.
18292 (RUN_TEST_f_l): Likewise.
18293 (RUN_TEST_LOOP_f_l): Likewise.
18294 (RUN_TEST_f_L): Likewise.
18295 (RUN_TEST_LOOP_f_L): Likewise.
18296 (RUN_TEST_sincos): Likewise.
18297 (RUN_TEST_LOOP_sincos): Likewise.
18299 2013-05-17 Joseph Myers <joseph@codesourcery.com>
18303 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
18304 main case of finite arguments, set rounding mode to FE_TONEAREST
18305 and discard exceptions.
18306 * math/libm-test.inc (remainder_test_data): Disallow "inexact"
18308 (remainder_tonearest_test_data): New variable.
18309 (remainder_test_tonearest): New function.
18310 (remainder_towardzero_test_data): New variable.
18311 (remainder_test_towardzero): New function.
18312 (remainder_downward_test_data): New variable.
18313 (remainder_test_downward): New function.
18314 (remainder_upward_test_data): New variable.
18315 (remainder_test_upward): New function.
18316 (main): Call the new test functions.
18318 * math/libm-test.inc (struct test_f_f1_data): Remove field
18320 (struct test_fF_f1_data): Likewise.
18321 (struct test_ffI_f1_data): Likewise.
18322 (RUN_TEST_f_f1): Remove argument EXTRA_INIT. Initialize EXTRA_VAR
18323 based on value of EXTRA_EXPECTED.
18324 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
18325 (RUN_TEST_fF_f1): Remove argument EXTRA_INIT. Initialize
18326 EXTRA_VAR based on value of EXTRA_EXPECTED.
18327 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
18328 (RUN_TEST_fI_f1): Remove argument EXTRA_INIT. Initialize
18329 EXTRA_VAR based on value of EXTRA_EXPECTED.
18330 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
18331 (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT. Initialize
18332 EXTRA_VAR based on value of EXTRA_EXPECTED.
18333 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
18334 * math/gen-libm-test.pl (parse_args): Don't output initializers
18335 for extra output values.
18337 * math/libm-test.inc (check_int): Expect result to be exactly
18338 equal to expected value and do not handle ulps.
18339 (check_long): Likewise.
18340 (check_longlong): Likewise.
18342 * math/libm-test.inc (ceil_test_data): Test for "inexact"
18344 (cimag_test_data): Likewise.
18345 (conj_test_data): Likewise.
18346 (copysign_test_data): Likewise.
18347 (cproj_test_data): Likewise.
18348 (creal_test_data): Likewise.
18349 (fabs_test_data): Likewise.
18350 (fdim_test_data): Likewise.
18351 (finite_test_data): Likewise.
18352 (floor_test_data): Likewise.
18353 (fmax_test_data): Likewise.
18354 (fmin_test_data): Likewise.
18355 (fmod_test_data): Likewise.
18356 (fpclassify_test_data): Likewise.
18357 (frexp_test_data): Likewise.
18358 (ilogb_test_data): Likewise.
18359 (isfinite_test_data): Likewise.
18360 (isgreater_test_data): Likewise.
18361 (isgreaterequal_test_data): Likewise.
18362 (isinf_test_data): Likewise.
18363 (isless_test_data): Likewise.
18364 (islessequal_test_data): Likewise.
18365 (islessgreater_test_data): Likewise.
18366 (isnan_test_data): Likewise.
18367 (isnormal_test_data): Likewise.
18368 (issignaling_test_data): Likewise.
18369 (isunordered_test_data): Likewise.
18370 (ldexp_test_data): Likewise.
18371 (lrint_test_data): Likewise.
18372 (lrint_test_data) [TEST_FLOAT]: Disable one test.
18373 (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
18374 (lrint_tonearest_test_data): Test for "inexact" exceptions.
18375 (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
18376 (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
18377 (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
18379 (lrint_towardzero_test_data): Test for "inexact" exceptions.
18380 (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
18381 (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
18382 (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
18384 (lrint_downward_test_data): Test for "inexact" exceptions.
18385 (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
18386 (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
18387 (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
18389 (lrint_upward_test_data): Test for "inexact" exceptions.
18390 (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
18392 (llrint_test_data): Test for "inexact" exceptions.
18393 (llrint_test_data) [TEST_FLOAT]: Disable one test.
18394 (llrint_tonearest_test_data): Test for "inexact" exceptions.
18395 (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
18396 (llrint_towardzero_test_data): Test for "inexact" exceptions.
18397 (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
18398 (llrint_downward_test_data): Test for "inexact" exceptions.
18399 (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
18400 (llrint_upward_test_data): Test for "inexact" exceptions.
18401 (logb_test_data): Likewise.
18402 (logb_downward_test_data): Likewise.
18403 (nextafter_test_data): Likewise.
18404 (nexttoward_test_data): Likewise.
18405 (remainder_test_data): Likewise.
18406 (remquo_test_data): Likewise.
18407 (scalbn_test_data): Likewise.
18408 (scalbln_test_data): Likewise.
18409 (signbit_test_data): Likewise.
18410 (sqrt_test_data): Likewise.
18411 (significand_test_data): Likewise.
18413 2013-05-17 Siddhesh Poyarekar <siddhesh@redhat.com>
18416 * benchtests/bench-modf.c (struct args): Mark arg0 as
18418 * scripts/bench.pl: Mark members of struct args as volatile.
18420 2013-05-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18423 * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
18424 negative infinity on POWER6 or lower.
18425 * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
18427 2013-05-16 Maciej W. Rozycki <macro@codesourcery.com>
18430 * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
18431 (_FP_FRAC_SNANP_SEMIRAW): Likewise.
18432 (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
18433 (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
18434 (_FP_SETQNAN): New macro.
18435 (_FP_SETQNAN_SEMIRAW): Likewise.
18436 (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
18437 (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
18438 (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
18439 (FP_EXTEND): Use _FP_FRAC_SNANP.
18440 (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
18441 * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
18443 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
18445 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
18448 2013-05-16 Joseph Myers <joseph@codesourcery.com>
18450 * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
18451 with DIVIDE_BY_ZERO_EXCEPTION.
18452 (gamma_test_data): Likewise.
18453 (lgamma_test_data): Likewise.
18454 (log_test_data): Likewise.
18455 (log10_test_data): Likewise.
18456 (log2_test_data): Likewise.
18457 (tgamma_test_data): Likewise.
18459 * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
18460 (acos_test_tonearest): Likewise.
18461 (acos_test_towardzero): Likewise.
18462 (acos_test_downward): Likewise.
18463 (acos_test_upward): Likewise.
18464 (acosh_test): Likewise.
18465 (asin_test): Likewise.
18466 (asin_test_tonearest): Likewise.
18467 (asin_test_towardzero): Likewise.
18468 (asin_test_downward): Likewise.
18469 (asin_test_upward): Likewise.
18470 (asinh_test): Likewise.
18471 (atan_test): Likewise.
18472 (atanh_test): Likewise.
18473 (atan2_test): Likewise.
18474 (cabs_test): Likewise.
18475 (cacos_test): Likewise.
18476 (cacosh_test): Likewise.
18477 (casin_test): Likewise.
18478 (casinh_test): Likewise.
18479 (catan_test): Likewise.
18480 (catanh_test): Likewise.
18481 (cbrt_test): Likewise.
18482 (ccos_test): Likewise.
18483 (ccosh_test): Likewise.
18484 (cexp_test): Likewise.
18485 (clog_test): Likewise.
18486 (clog10_test): Likewise.
18487 (cos_test): Likewise.
18488 (cos_test_tonearest): Likewise.
18489 (cos_test_towardzero): Likewise.
18490 (cos_test_downward): Likewise.
18491 (cos_test_upward): Likewise.
18492 (cosh_test): Likewise.
18493 (cosh_test_tonearest): Likewise.
18494 (cosh_test_towardzero): Likewise.
18495 (cosh_test_downward): Likewise.
18496 (cosh_test_upward): Likewise.
18497 (cpow_test): Likewise.
18498 (csin_test): Likewise.
18499 (csinh_test): Likewise.
18500 (csqrt_test): Likewise.
18501 (ctan_test): Likewise.
18502 (ctan_test_tonearest): Likewise.
18503 (ctan_test_towardzero): Likewise.
18504 (ctan_test_downward): Likewise.
18505 (ctan_test_upward): Likewise.
18506 (ctanh_test): Likewise.
18507 (ctanh_test_tonearest): Likewise.
18508 (ctanh_test_towardzero): Likewise.
18509 (ctanh_test_downward): Likewise.
18510 (ctanh_test_upward): Likewise.
18511 (erf_test): Likewise.
18512 (erfc_test): Likewise.
18513 (exp_test): Likewise.
18514 (exp_test_tonearest): Likewise.
18515 (exp_test_towardzero): Likewise.
18516 (exp_test_downward): Likewise.
18517 (exp_test_upward): Likewise.
18518 (exp10_test): Likewise.
18519 (exp2_test): Likewise.
18520 (expm1_test): Likewise.
18521 (fmod_test): Likewise.
18522 (gamma_test): Likewise.
18523 (hypot_test): Likewise.
18524 (j0_test): Likewise.
18525 (j1_test): Likewise.
18526 (jn_test): Likewise.
18527 (lgamma_test): Likewise.
18528 (log_test): Likewise.
18529 (log10_test): Likewise.
18530 (log1p_test): Likewise.
18531 (log2_test): Likewise.
18532 (logb_test_downward): Likewise.
18533 (pow_test): Likewise.
18534 (pow_test_tonearest): Likewise.
18535 (pow_test_towardzero): Likewise.
18536 (pow_test_downward): Likewise.
18537 (pow_test_upward): Likewise.
18538 (remainder_test): Likewise.
18539 (remquo_test): Likewise.
18540 (sin_test): Likewise.
18541 (sin_test_tonearest): Likewise.
18542 (sin_test_towardzero): Likewise.
18543 (sin_test_downward): Likewise.
18544 (sin_test_upward): Likewise.
18545 (sincos_test): Likewise.
18546 (sinh_test): Likewise.
18547 (sinh_test_tonearest): Likewise.
18548 (sinh_test_towardzero): Likewise.
18549 (sinh_test_downward): Likewise.
18550 (sinh_test_upward): Likewise.
18551 (sqrt_test): Likewise.
18552 (tan_test): Likewise.
18553 (tan_test_tonearest): Likewise.
18554 (tan_test_towardzero): Likewise.
18555 (tan_test_downward): Likewise.
18556 (tan_test_upward): Likewise.
18557 (tanh_test): Likewise.
18558 (tgamma_test): Likewise.
18559 (y0_test): Likewise.
18560 (y1_test): Likewise.
18561 (yn_test): Likewise.
18563 * math/gen-libm-test.pl (adjust_arg): Remove function.
18564 (special_function): Remove argument $in_func. Only handle
18565 generating output for tables of tests, not inside functions.
18566 (parse_args): Likewise.
18567 (generate_testfile): Remove variable $in_func. Update call to
18569 * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
18570 (MINUS_ZERO_INIT): Rename macro to minus_zero.
18571 (PLUS_INFTY_INIT): Rename macro to plus_infty.
18572 (MINUS_INFTY_INIT): Rename macro to minus_infty.
18573 (QNAN_VALUE_INIT): Rename macro to qnan_value.
18574 (MAX_VALUE_INIT): Rename macro to max_value.
18575 (MIN_VALUE_INIT): Rename macro to min_value.
18576 (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
18577 (plus_zero): Remove variable.
18578 (minus_zero): Likewise.
18579 (plus_infty): Likewise.
18580 (minus_infty): Likewise.
18581 (qnan_value): Likewise.
18582 (max_value): Likewise.
18583 (min_value): Likewise.
18584 (min_subnorm_value): Likewise.
18586 2013-05-16 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
18588 * crypt/sha512-block.c: Add missing #include <stdint.h> due to
18589 uint64_t or uint32_t usage.
18590 * crypt/sha256-block.c: Likewise.
18591 * crypt/sha256-crypt.c: Likewise.
18592 * crypt/sha256.c: Likewise.
18593 * crypt/sha512-block.c: Likewise.
18594 * crypt/sha512-crypt.c: Likewise.
18595 * crypt/sha512.c: Likewise.
18596 * debug/backtrace-tst.c: Likewise.
18597 * debug/pcprofiledump.c: Likewise.
18598 * elf/cache.c: Likewise.
18599 * elf/dl-cache.c: Likewise.
18600 * elf/dl-misc.c: Likewise.
18601 * elf/dl-profile.c: Likewise.
18602 * elf/dl-support.c: Likewise.
18603 * elf/ldconfig.c: Likewise.
18604 * elf/sprof.c: Likewise.
18605 * iconv/dummy-repertoire.c: Likewise.
18606 * iconv/iconv_charmap.c: Likewise.
18607 * iconv/skeleton.c: Likewise.
18608 * iconvdata/8bit-generic.c: Likewise.
18609 * iconvdata/cp737.h: Likewise.
18610 * iconvdata/cp775.h: Likewise.
18611 * iconvdata/ibm1008.h: Likewise.
18612 * iconvdata/ibm1025.h: Likewise.
18613 * iconvdata/ibm1046.h: Likewise.
18614 * iconvdata/ibm1097.h: Likewise.
18615 * iconvdata/ibm1112.h: Likewise.
18616 * iconvdata/ibm1122.h: Likewise.
18617 * iconvdata/ibm1123.h: Likewise.
18618 * iconvdata/ibm1124.h: Likewise.
18619 * iconvdata/ibm1129.h: Likewise.
18620 * iconvdata/ibm1130.h: Likewise.
18621 * iconvdata/ibm1132.h: Likewise.
18622 * iconvdata/ibm1133.h: Likewise.
18623 * iconvdata/ibm1137.h: Likewise.
18624 * iconvdata/ibm1140.h: Likewise.
18625 * iconvdata/ibm1141.h: Likewise.
18626 * iconvdata/ibm1142.h: Likewise.
18627 * iconvdata/ibm1143.h: Likewise.
18628 * iconvdata/ibm1144.h: Likewise.
18629 * iconvdata/ibm1145.h: Likewise.
18630 * iconvdata/ibm1146.h: Likewise.
18631 * iconvdata/ibm1147.h: Likewise.
18632 * iconvdata/ibm1148.h: Likewise.
18633 * iconvdata/ibm1149.h: Likewise.
18634 * iconvdata/ibm1153.h: Likewise.
18635 * iconvdata/ibm1154.h: Likewise.
18636 * iconvdata/ibm1155.h: Likewise.
18637 * iconvdata/ibm1156.h: Likewise.
18638 * iconvdata/ibm1157.h: Likewise.
18639 * iconvdata/ibm1158.h: Likewise.
18640 * iconvdata/ibm1160.h: Likewise.
18641 * iconvdata/ibm1161.h: Likewise.
18642 * iconvdata/ibm1162.h: Likewise.
18643 * iconvdata/ibm1163.h: Likewise.
18644 * iconvdata/ibm1164.h: Likewise.
18645 * iconvdata/ibm1166.h: Likewise.
18646 * iconvdata/ibm1167.h: Likewise.
18647 * iconvdata/ibm12712.h: Likewise.
18648 * iconvdata/ibm1390.h: Likewise.
18649 * iconvdata/ibm1399.h: Likewise.
18650 * iconvdata/ibm16804.h: Likewise.
18651 * iconvdata/ibm4517.h: Likewise.
18652 * iconvdata/ibm4899.h: Likewise.
18653 * iconvdata/ibm4909.h: Likewise.
18654 * iconvdata/ibm4971.h: Likewise.
18655 * iconvdata/ibm5347.h: Likewise.
18656 * iconvdata/ibm803.h: Likewise.
18657 * iconvdata/ibm856.h: Likewise.
18658 * iconvdata/ibm901.h: Likewise.
18659 * iconvdata/ibm902.h: Likewise.
18660 * iconvdata/ibm9030.h: Likewise.
18661 * iconvdata/ibm9066.h: Likewise.
18662 * iconvdata/ibm921.h: Likewise.
18663 * iconvdata/ibm922.h: Likewise.
18664 * iconvdata/ibm9448.h: Likewise.
18665 * iconvdata/isiri-3342.h: Likewise.
18666 * iconvdata/jis0201.h: Likewise.
18667 * include/link.h: Likewise.
18668 * include/netdb.h: Likewise.
18669 * inet/check_native.c: Likewise.
18670 * inet/check_pf.c: Likewise.
18671 * inet/getipv4sourcefilter.c: Likewise.
18672 * inet/getnameinfo.c: Likewise.
18673 * inet/getsourcefilter.c: Likewise.
18674 * inet/htonl.c: Likewise.
18675 * inet/setipv4sourcefilter.c: Likewise.
18676 * inet/setsourcefilter.c: Likewise.
18677 * inet/test-inet6_opt.c: Likewise.
18678 * inet/tst-network.c: Likewise.
18679 * locale/C-collate.c: Likewise.
18680 * locale/C-ctype.c: Likewise.
18681 * locale/C-time.c: Likewise.
18682 * locale/C-translit.h: Likewise.
18683 * locale/loadarchive.c: Likewise.
18684 * locale/programs/3level.h: Likewise.
18685 * locale/programs/charmap.c: Likewise.
18686 * locale/programs/charmap.h: Likewise.
18687 * locale/programs/ld-address.c: Likewise.
18688 * locale/programs/ld-collate.c: Likewise.
18689 * locale/programs/ld-ctype.c: Likewise.
18690 * locale/programs/ld-identification.c: Likewise.
18691 * locale/programs/ld-measurement.c: Likewise.
18692 * locale/programs/ld-messages.c: Likewise.
18693 * locale/programs/ld-monetary.c: Likewise.
18694 * locale/programs/ld-name.c: Likewise.
18695 * locale/programs/ld-numeric.c: Likewise.
18696 * locale/programs/ld-paper.c: Likewise.
18697 * locale/programs/ld-telephone.c: Likewise.
18698 * locale/programs/ld-time.c: Likewise.
18699 * locale/programs/linereader.c: Likewise.
18700 * locale/programs/locale.c: Likewise.
18701 * locale/programs/locarchive.c: Likewise.
18702 * locale/programs/locfile.h: Likewise.
18703 * locale/programs/repertoire.c: Likewise.
18704 * locale/programs/simple-hash.c: Likewise.
18705 * locale/programs/simple-hash.h: Likewise.
18706 * malloc/memusage.c: Likewise.
18707 * malloc/memusagestat.c: Likewise.
18708 * nis/nis_defaults.c: Likewise.
18709 * nis/nis_hash.c: Likewise.
18710 * nis/nis_print.c: Likewise.
18711 * nis/nis_xdr.c: Likewise.
18712 * nscd/connections.c: Likewise.
18713 * nscd/hstcache.c: Likewise.
18714 * nscd/nscd_gethst_r.c: Likewise.
18715 * nscd/nscd_getserv_r.c: Likewise.
18716 * nscd/nscd_helper.c: Likewise.
18717 * nscd/servicescache.c: Likewise.
18718 * nss/makedb.c: Likewise.
18719 * nss/nss_db/db-XXX.c: Likewise.
18720 * nss/nss_db/db-initgroups.c: Likewise.
18721 * nss/nss_db/db-netgrp.c: Likewise.
18722 * nss/nss_files/files-network.c: Likewise.
18723 * nss/nss_files/files-parse.c: Likewise.
18724 * posix/bug-regex5.c: Likewise.
18725 * posix/fnmatch_loop.c: Likewise.
18726 * posix/regcomp.c: Likewise.
18727 * posix/regexec.c: Likewise.
18728 * posix/tst-rfc3484-2.c: Likewise.
18729 * posix/tst-rfc3484-3.c: Likewise.
18730 * posix/tst-rfc3484.c: Likewise.
18731 * resolv/nss_dns/dns-canon.c: Likewise.
18732 * resolv/nss_dns/dns-network.c: Likewise.
18733 * resolv/res_init.c: Likewise.
18734 * resolv/res_mkquery.c: Likewise.
18735 * resolv/tst-aton.c: Likewise.
18736 * stdlib/cxa_atexit.c: Likewise.
18737 * stdlib/cxa_finalize.c: Likewise.
18738 * stdlib/gen-fpioconst.c: Likewise.
18739 * stdlib/strtol_l.c: Likewise.
18740 * string/tst-endian.c: Likewise.
18741 * sunrpc/auth_des.c: Likewise.
18742 * sunrpc/clnt_udp.c: Likewise.
18743 * sunrpc/rtime.c: Likewise.
18744 * sunrpc/svcauth_des.c: Likewise.
18745 * sunrpc/xdr.c: Likewise.
18746 * sunrpc/xdr_intXX_t.c: Likewise.
18747 * sunrpc/xdr_rec.c: Likewise.
18748 * sysdeps/generic/ldconfig.h: Likewise.
18749 * sysdeps/generic/ldsodefs.h: Likewise.
18750 * sysdeps/generic/memusage.h: Likewise.
18751 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
18752 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
18753 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
18754 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
18755 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
18756 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
18757 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
18758 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
18759 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
18760 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
18761 * sysdeps/posix/getaddrinfo.c: Likewise.
18762 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
18763 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
18764 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
18765 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
18766 * sysdeps/powerpc/test-gettimebase.c: Likewise.
18767 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
18768 * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
18769 * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
18770 * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
18771 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
18772 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
18773 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
18774 * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
18775 * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
18776 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
18777 * sysdeps/x86_64/dl-tls.h: Likewise.
18778 * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
18779 * time/alt_digit.c: Likewise.
18780 * time/era.c: Likewise.
18781 * wcsmbs/tst-c16c32-1.c: Likewise.
18783 2013-05-16 Joseph Myers <joseph@codesourcery.com>
18785 * math/libm-test.inc (struct test_sincos_data): New type.
18786 (RUN_TEST_LOOP_sincos): New macro.
18787 (sincos_test_data): New variable.
18788 (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
18790 2013-05-16 Richard Henderson <rth@redhat.com>
18792 * math/atest-exp2.c (LIMB64): New macro.
18793 (CONSTSZ): New macro.
18794 (mp_exp1, mp_exp_m1, mp_log2): New variables.
18796 (print_mpn_fp): ... to function scope.
18797 (read_mpn_hex): Remove.
18798 (get_log2): Remove.
18799 (exp2_mpn): Use mp_log2.
18800 (main): Use mp_exp1.
18802 2013-05-16 Joseph Myers <joseph@codesourcery.com>
18804 * math/libm-test.inc: Remove comment about not testing "inexact"
18806 (INEXACT_EXCEPTION): New macro.
18807 (NO_INEXACT_EXCEPTION): Likewise.
18808 (INVALID_EXCEPTION_OK): Update value.
18809 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
18810 (OVERFLOW_EXCEPTION_OK): Likewise.
18811 (UNDERFLOW_EXCEPTION_OK): Likewise.
18812 (IGNORE_ZERO_INF_SIGN): Likewise.
18813 (ERRNO_UNCHANGED): Likewise.
18814 (ERRNO_EDOM): Likewise.
18815 (ERRNO_ERANGE): Likewise.
18816 (test_exceptions): Handle testing "inexact" exceptions.
18817 (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
18818 (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
18819 (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
18820 (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
18822 (rint_towardzero_test_data): Likewise.
18823 (rint_downward_test_data): Likewise.
18824 (rint_upward_test_data): Likewise.
18826 * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
18827 with OVERFLOW_EXCEPTION.
18828 (exp10_test_data): Likewise.
18829 (exp2_test_data): Likewise.
18830 (expm1_test_data): Likewise.
18831 (lgamma_test_data): Likewise.
18832 (pow_test_data): Likewise.
18833 (tgamma_test_data): Likewise.
18834 (yn_test_data): Remove duplicate test of overflow.
18836 * math/libm-test.inc (struct test_cc_c_data): New type.
18837 (RUN_TEST_LOOP_cc_c): New macro.
18838 (cpow_test_data): New variable.
18839 (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
18841 * math/libm-test.inc (struct test_f_L_data): New type.
18842 (RUN_TEST_LOOP_f_L): New macro.
18843 (llrint_test_data): New variable.
18844 (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
18845 (llrint_tonearest_test_data): New variable.
18846 (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
18847 (llrint_towardzero_test_data): New variable.
18848 (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
18849 (llrint_downward_test_data): New variable.
18850 (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
18851 (llrint_upward_test_data): New variable.
18852 (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
18853 (llround_test_data): New variable.
18854 (llround_test): Run tests with RUN_TEST_LOOP_f_L.
18856 2013-05-13 Peter Collingbourne <pcc@google.com>
18858 * math/atest-exp2.c (get_log2): Remove const attribute.
18860 2013-05-15 Joseph Myers <joseph@codesourcery.com>
18862 * math/libm-test.inc (struct test_f_l_data): New type.
18863 (RUN_TEST_LOOP_f_l): New macro.
18864 (lrint_test_data): New variable.
18865 (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
18866 (lrint_tonearest_test_data): New variable.
18867 (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
18868 (lrint_towardzero_test_data): New variable.
18869 (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
18870 (lrint_downward_test_data): New variable.
18871 (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
18872 (lrint_upward_test_data): New variable.
18873 (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
18874 (lround_test_data): New variable.
18875 (lround_test): Run tests with RUN_TEST_LOOP_f_l.
18877 2013-05-15 Peter Collingbourne <pcc@google.com>
18879 * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
18880 (EXTRACT_WORDS64) Use where appropriate.
18881 (INSERT_WORDS64) Likewise.
18883 * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
18884 constraints with x constraints.
18885 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
18887 * malloc/obstack.c (_obstack_compat): Add initializer.
18889 2013-05-15 Edjunior Machado <emachado@linux.vnet.ibm.com>
18891 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
18892 si_trapno and add si_addr_lsb to _sifields.sigfault.
18893 (si_trapno): Remove macro.
18894 (si_addr_lsb): Define new macro.
18895 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
18897 2013-05-15 Joseph Myers <joseph@codesourcery.com>
18899 * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
18900 instead of TEST_f_l.
18901 (llrint_test_tonearest): Likewise.
18902 (llrint_test_towardzero): Likewise.
18903 (llrint_test_downward): Likewise.
18904 (llrint_test_upward): Likewise.
18905 (llround_test): Likewise.
18907 * math/libm-test.inc (struct test_f_i_data): Add comment.
18908 (RUN_TEST_LOOP_f_b): New macro.
18909 (RUN_TEST_LOOP_f_b_tg): Likewise.
18910 (finite_test_data): New variable.
18911 (finite_test): Run tests with RUN_TEST_LOOP_f_b.
18912 (isfinite_test_data): New variable.
18913 (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
18914 (isinf_test_data): New variable.
18915 (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
18916 (isnan_test_data): New variable.
18917 (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
18918 (isnormal_test_data): New variable.
18919 (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
18920 (issignaling_test_data): New variable.
18921 (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
18922 (signbit_test_data): New variable.
18923 (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
18925 * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
18926 with INVALID_EXCEPTION.
18927 (acosh_test_data): Likewise.
18928 (asin_test_data): Likewise.
18929 (atanh_test_data): Likewise.
18930 (fmod_test_data): Likewise.
18931 (log_test_data): Likewise.
18932 (log10_test_data): Likewise.
18933 (log2_test_data): Likewise.
18934 (pow_test_data): Likewise.
18935 (sqrt_test_data): Likewise.
18936 (y0_test_data): Likewise.
18937 (y1_test_data): Likewise.
18938 (yn_test_data): Likewise.
18940 * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
18943 * math/libm-test.inc (struct test_ff_i_data): New type.
18944 (RUN_TEST_LOOP_ff_i_tg): New macro.
18945 (isgreater_test_data): New variable.
18946 (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
18947 (isgreaterequal_test_data): New variable.
18948 (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
18949 (isless_test_data): New variable.
18950 (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
18951 (islessequal_test_data): New variable.
18952 (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
18953 (islessgreater_test_data): New variable.
18954 (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
18955 (isunordered_test_data): New variable.
18956 (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
18958 2013-05-14 David S. Miller <davem@davemloft.net>
18960 * sysdeps/sparc/fpu/libm-test-ulps: Update.
18962 2013-05-14 Joseph Myers <joseph@codesourcery.com>
18964 * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
18966 * math/libm-test.inc (struct test_fF_f1_data): Change type of
18968 (struct test_f_i_data): Change type of max_ulp to int.
18970 * math/libm-test.inc (test_ffI_f1_data): New type.
18971 (RUN_TEST_LOOP_ffI_f1): New macro.
18972 (remquo_test_data): New variable.
18973 (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
18975 * setjmp/tst-setjmp-fp.c: New file.
18976 * setjmp/Makefile (tests): Add tst-setjmp-fp.
18977 (link-libm): New variable.
18978 ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
18980 * math/libm-test.inc (struct test_f_i_data): New type.
18981 (RUN_TEST_LOOP_f_i): New macro.
18982 (RUN_TEST_LOOP_f_i_tg): Likewise.
18983 (fpclassify_test_data): New variable.
18984 (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
18985 (ilogb_test_data): New variable.
18986 (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
18988 * math/libm-test.inc (scalbln_test): Correct function name in END
18991 * math/libm-test.inc (struct test_f_f1_data): Add comment.
18992 (RUN_TEST_LOOP_fI_f1): New macro.
18993 (frexp_test_data): New variable.
18994 (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
18996 * math/libm-test.inc (struct test_fF_f1_data): New type.
18997 (RUN_TEST_LOOP_fF_f1): New macro.
18998 (modf_test_data): New variable.
18999 (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
19001 * math/libm-test.inc (struct test_f_f1_data): New type.
19002 (RUN_TEST_LOOP_f_f1): New macro.
19003 (gamma_test_data): New variable.
19004 (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
19005 (lgamma_test_data): New variable.
19006 (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
19008 2013-05-13 Carlos O'Donell <carlos@redhat.com>
19010 * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
19011 * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
19012 (main): Comment "tls" pseudo-hwcap.
19014 2013-05-13 Joseph Myers <joseph@codesourcery.com>
19016 * math/libm-test.inc (struct test_fl_f_data): New type.
19017 (RUN_TEST_LOOP_fl_f): New variable.
19018 (scalbln_test_data): New variable.
19019 (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
19021 * math/libm-test.inc (struct test_fi_f_data): New type.
19022 (RUN_TEST_LOOP_fi_f): New macro.
19023 (ldexp_test_data): New variable.
19024 (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
19025 (scalbn_test_data): New variable.
19026 (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
19028 * math/libm-test.inc (struct test_c_f_data): New type.
19029 (RUN_TEST_LOOP_c_f): New macro.
19030 (cabs_test_data): New variable.
19031 (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
19032 (carg_test_data): New variable.
19033 (carg_test): Run tests with RUN_TEST_LOOP_c_f.
19034 (cimag_test_data): New variable.
19035 (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
19036 (creal_test_data): New variable.
19037 (creal_test): Run tests with RUN_TEST_LOOP_c_f.
19039 * math/libm-test.inc (struct test_if_f_data): New type.
19040 (RUN_TEST_LOOP_if_f): New macro.
19041 (jn_test_data): New variable.
19042 (jn_test): Run tests with RUN_TEST_LOOP_if_f.
19043 (yn_test_data): New variable.
19044 (yn_test): Run tests with RUN_TEST_LOOP_if_f.
19046 * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
19048 2013-05-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19050 * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
19051 (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
19053 2013-05-13 Siddhesh Poyarekar <siddhesh@redhat.com>
19055 * benchtests/Makefile (CPPFLAGS-nonlib): Add
19056 -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
19057 (bench-deps): Add bench-timing.h.
19058 * benchtests-bench-skeleton.c: Include bench-timing.h.
19059 (main): Use TIMING_* macros instead of clock_gettime.
19060 * benchtests/bench-timing.h: New file.
19063 * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
19064 Renamed from _LIB_VERSION.
19065 (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
19067 2013-05-12 Joseph Myers <joseph@codesourcery.com>
19069 * math/libm-test.inc (struct test_fff_f_data): New type.
19070 (RUN_TEST_LOOP_fff_f): New macro.
19071 (fma_test_data): New variable.
19072 (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
19073 (fma_towardzero_test_data): New variable.
19074 (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
19075 (fma_downward_test_data): New variable.
19076 (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
19077 (fma_upward_test_data): New variable.
19078 (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
19080 * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
19081 (struct test_c_c_data): New type.
19082 (RUN_TEST_LOOP_c_c): New macro.
19083 (cacos_test_data): New variable.
19084 (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
19085 (cacosh_test_data): New variable.
19086 (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
19087 (casin_test_data): New variable.
19088 (casin_test): Run tests with RUN_TEST_LOOP_c_c.
19089 (casinh_test_data): New variable.
19090 (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
19091 (catan_test_data): New variable.
19092 (catan_test): Run tests with RUN_TEST_LOOP_c_c.
19093 (catanh_test_data): New variable.
19094 (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
19095 (ccos_test_data): New variable.
19096 (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
19097 (ccosh_test_data): New variable.
19098 (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
19099 (cexp_test_data): New variable.
19100 (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
19101 (clog_test_data): New variable.
19102 (clog_test): Run tests with RUN_TEST_LOOP_c_c.
19103 (clog10_test_data): New variable.
19104 (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
19105 (conj_test_data): New variable.
19106 (conj_test): Run tests with RUN_TEST_LOOP_c_c.
19107 (cproj_test_data): New variable.
19108 (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
19109 (csin_test_data): New variable.
19110 (csin_test): Run tests with RUN_TEST_LOOP_c_c.
19111 (csinh_test_data): New variable.
19112 (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
19113 (csqrt_test_data): New variable.
19114 (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
19115 (ctan_test_data): New variable.
19116 (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
19117 (ctan_tonearest_test_data): New variable.
19118 (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
19119 (ctan_towardzero_test_data): New variable.
19120 (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
19121 (ctan_downward_test_data): New variable.
19122 (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
19123 (ctan_upward_test_data): New variable.
19124 (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
19125 (ctanh_test_data): New variable.
19126 (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
19127 (ctanh_tonearest_test_data): New variable.
19128 (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
19129 (ctanh_towardzero_test_data): New variable.
19130 (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
19131 (ctanh_downward_test_data): New variable.
19132 (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
19133 (ctanh_upward_test_data): New variable.
19134 (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
19135 * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
19138 * math/libm-test.inc (struct test_ff_f_data): New type.
19139 (struct test_ff_f_data_nexttoward): Likewise.
19140 (RUN_TEST_LOOP_2_f): New macro.
19141 (RUN_TEST_LOOP_ff_f): Likewise.
19142 (atan2_test_data): New variable.
19143 (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
19144 (copysign_test_data): New variable.
19145 (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
19146 (fdim_test_data): New variable.
19147 (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
19148 (fmax_test_data): New variable.
19149 (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
19150 (fmin_test_data): New variable.
19151 (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
19152 (fmod_test_data): New variable.
19153 (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
19154 (hypot_test_data): New variable.
19155 (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
19156 (nextafter_test_data): New variable.
19157 (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
19158 (nexttoward_test_data): New variable.
19159 (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
19160 (pow_test_data): New variable.
19161 (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
19162 (pow_tonearest_test_data): New variable.
19163 (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
19164 (pow_towardzero_test_data): New variable.
19165 (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
19166 (pow_downward_test_data): New variable.
19167 (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
19168 (pow_upward_test_data): New variable.
19169 (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
19170 (remainder_test_data): New variable.
19171 (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
19172 (scalb_test_data): New variable.
19173 (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
19174 * sysdeps/i386/fpu/libm-test-ulps: Update.
19176 2013-05-11 Joseph Myers <joseph@codesourcery.com>
19178 * math/libm-test.inc (fma_test): Use max_value instead of local
19180 (nextafter_test): Likewise.
19182 * math/libm-test.inc (acos_towardzero_test_data): New variable.
19183 (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
19184 (acos_downward_test_data): New variable.
19185 (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
19186 (acos_upward_test_data): New variable.
19187 (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
19188 (acosh_test_data): New variable.
19189 (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
19190 (asin_test_data): New variable.
19191 (asin_test): Run tests with RUN_TEST_LOOP_f_f.
19192 (asin_tonearest_test_data): New variable.
19193 (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
19194 (asin_towardzero_test_data): New variable.
19195 (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
19196 (asin_downward_test_data): New variable.
19197 (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
19198 (asin_upward_test_data): New variable.
19199 (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
19200 (asinh_test_data): New variable.
19201 (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
19202 (atan_test_data): New variable.
19203 (atan_test): Run tests with RUN_TEST_LOOP_f_f.
19204 (atanh_test_data): New variable.
19205 (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
19206 (cbrt_test_data): New variable.
19207 (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
19208 (ceil_test_data): New variable.
19209 (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
19210 (cos_test_data): New variable.
19211 (cos_test): Run tests with RUN_TEST_LOOP_f_f.
19212 (cos_tonearest_test_data): New variable.
19213 (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
19214 (cos_towardzero_test_data): New variable.
19215 (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
19216 (cos_downward_test_data): New variable.
19217 (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
19218 (cos_upward_test_data): New variable.
19219 (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
19220 (cosh_test_data): New variable.
19221 (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
19222 (cosh_tonearest_test_data): New variable.
19223 (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
19224 (cosh_towardzero_test_data): New variable.
19225 (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
19226 (cosh_downward_test_data): New variable.
19227 (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
19228 (cosh_upward_test_data): New variable.
19229 (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
19230 (erf_test_data): New variable.
19231 (erf_test): Run tests with RUN_TEST_LOOP_f_f.
19232 (erfc_test_data): New variable.
19233 (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
19234 (exp_test_data): New variable.
19235 (exp_test): Run tests with RUN_TEST_LOOP_f_f.
19236 (exp_tonearest_test_data): New variable.
19237 (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
19238 (exp_towardzero_test_data): New variable.
19239 (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
19240 (exp_downward_test_data): New variable.
19241 (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
19242 (exp_upward_test_data): New variable.
19243 (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
19244 (exp10_test_data): New variable.
19245 (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
19246 (exp2_test_data): New variable.
19247 (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
19248 (expm1_test_data): New variable.
19249 (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
19250 (fabs_test_data): New variable.
19251 (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
19252 (floor_test_data): New variable.
19253 (floor_test): Run tests with RUN_TEST_LOOP_f_f.
19254 (j0_test_data): New variable.
19255 (j0_test): Run tests with RUN_TEST_LOOP_f_f.
19256 (j1_test_data): New variable.
19257 (j1_test): Run tests with RUN_TEST_LOOP_f_f.
19258 (log_test_data): New variable.
19259 (log_test): Run tests with RUN_TEST_LOOP_f_f.
19260 (log10_test_data): New variable.
19261 (log10_test): Run tests with RUN_TEST_LOOP_f_f.
19262 (log1p_test_data): New variable.
19263 (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
19264 (log2_test_data): New variable.
19265 (log2_test): Run tests with RUN_TEST_LOOP_f_f.
19266 (logb_test_data): New variable.
19267 (logb_test): Run tests with RUN_TEST_LOOP_f_f.
19268 (logb_downward_test_data): New variable.
19269 (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
19270 (nearbyint_test_data): New variable.
19271 (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
19272 (rint_test_data): New variable.
19273 (rint_test): Run tests with RUN_TEST_LOOP_f_f.
19274 (rint_tonearest_test_data): New variable.
19275 (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
19276 (rint_towardzero_test_data): New variable.
19277 (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
19278 (rint_downward_test_data): New variable.
19279 (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
19280 (rint_upward_test_data): New variable.
19281 (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
19282 (round_test_data): New variable.
19283 (round_test): Run tests with RUN_TEST_LOOP_f_f.
19284 (sin_test_data): New variable.
19285 (sin_test): Run tests with RUN_TEST_LOOP_f_f.
19286 (sin_tonearest_test_data): New variable.
19287 (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
19288 (sin_towardzero_test_data): New variable.
19289 (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
19290 (sin_downward_test_data): New variable.
19291 (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
19292 (sin_upward_test_data): New variable.
19293 (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
19294 (sinh_test_data): New variable.
19295 (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
19296 (sinh_tonearest_test_data): New variable.
19297 (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
19298 (sinh_towardzero_test_data): New variable.
19299 (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
19300 (sinh_downward_test_data): New variable.
19301 (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
19302 (sinh_upward_test_data): New variable.
19303 (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
19304 (sqrt_test_data): New variable.
19305 (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
19306 (tan_test_data): New variable.
19307 (tan_test): Run tests with RUN_TEST_LOOP_f_f.
19308 (tan_tonearest_test_data): New variable.
19309 (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
19310 (tan_towardzero_test_data): New variable.
19311 (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
19312 (tan_downward_test_data): New variable.
19313 (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
19314 (tan_upward_test_data): New variable.
19315 (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
19316 (tanh_test_data): New variable.
19317 (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
19318 (tgamma_test_data): New variable.
19319 (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
19320 (trunc_test_data): New variable.
19321 (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
19322 (y0_test_data): New variable.
19323 (y0_test): Run tests with RUN_TEST_LOOP_f_f.
19324 (y1_test_data): New variable.
19325 (y1_test): Run tests with RUN_TEST_LOOP_f_f.
19326 (significand_test_data): New variable.
19327 (significand_test): Run tests with RUN_TEST_LOOP_f_f.
19329 2013-05-10 Christian Grönke <cgr_bugs@sysgo.com>
19332 * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
19334 2013-05-10 Pino Toscano <toscano.pino@tiscali.it>
19336 * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
19338 2013-05-10 Andreas Jaeger <aj@suse.de>
19341 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
19342 (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
19344 2013-05-10 Joseph Myers <joseph@codesourcery.com>
19346 * math/gen-libm-test.pl (adjust_arg): New function.
19347 (special_functions): Handle generating output in both functions
19349 (parse_args): Likewise.
19350 (generate_testfile): Handle START_DATA and END_DATA. Pass extra
19351 $in_func argument to parse_args.
19352 * math/libm-test.inc (struct test_f_f_data): New type.
19353 (IF_ROUND_INIT_): New macro.
19354 (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
19355 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
19356 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
19357 (IF_ROUND_INIT_FE_UPWARD): Likewise.
19358 (ROUND_RESTORE_): Likewise.
19359 (ROUND_RESTORE_FE_DOWNWARD): Likewise.
19360 (ROUND_RESTORE_FE_TONEAREST): Likewise.
19361 (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
19362 (ROUND_RESTORE_FE_UPWARD): Likewise.
19363 (RUN_TEST_LOOP_f_f): New macro.
19364 (acos_test_data): New variable.
19365 (acos_test): Run tests with RUN_TEST_LOOP_f_f.
19366 (acos_tonearest_test_data): New variable.
19367 (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
19369 2013-05-10 Siddhesh Poyarekar <siddhesh@redhat.com>
19371 * benchtests/bench-skeleton.c (startup): Fix coding style.
19373 2013-05-10 Joseph Myers <joseph@codesourcery.com>
19376 * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
19377 negative infinity argument.
19378 * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
19379 negative infinity argument.
19380 * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
19381 negative infinity argument.
19382 * math/libm-test.inc (tgamma_test): Expect errno to be set for
19385 2013-05-10 Florian Weimer <fweimer@redhat.com>
19387 * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
19388 * iconv/iconv_charmap.c (charmap_conversion): Likewise.
19389 * iconv/iconv_prog.c (main): Likewise.
19390 * locale/programs/charmap-dir.c (charmap_readdir)
19391 (fopen_uncompressed): Likewise.
19392 * locale/programs/locfile.c (siblings_uncached)
19393 (write_locale_data): Use lstat64 instead of lstat.
19394 * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
19397 2013-05-10 Andreas Jaeger <aj@suse.de>
19400 * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
19402 Include <locale.h>.
19404 2013-05-09 Carlos O'Donell <carlos@redhat.com>
19406 * elf/dl-close.c (_dl_close_worker): Add comments.
19408 2013-05-09 Joseph Myers <joseph@codesourcery.com>
19411 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
19413 (__ieee754_rem_pio2l): Update comments.
19416 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
19418 (__ieee754_rem_pio2l): Update comments.
19420 * math/libm-test.inc (M_SQRT_2_2): Remove macro.
19421 (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
19423 * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
19426 * math/libm-test.inc (M_PI_34l): Define using decimal constant.
19427 (M_PI_34_LOG10El): Likewise.
19428 (M_PI2_LOG10El): Likewise.
19429 (M_PI4_LOG10El): Likewise.
19430 (M_PI_LOG10El): Likewise.
19432 2013-05-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19434 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19436 2013-05-08 Joseph Myers <joseph@codesourcery.com>
19438 * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
19439 (MINUS_ZERO_INIT): Likewise.
19440 (PLUS_INFTY_INIT): Likewise.
19441 (MINUS_INFTY_INIT): Likewise.
19442 (QNAN_VALUE_INIT): Likewise.
19443 (MAX_VALUE_INIT): Likewise.
19444 (MIN_VALUE_INIT): Likewise.
19445 (MIN_SUBNORM_VALUE_INIT): Likewise.
19446 (plus_zero): Initialize with PLUS_ZERO_INIT.
19447 (minus_zero): Initialize with MINUS_ZERO_INIT.
19448 (plus_infty): Initialize with PLUS_INFTY_INIT.
19449 (minus_infty): Initialize with MINUS_INFTY_INIT.
19450 (qnan_value): Initialize with QNAN_VALUE_INIT.
19451 (max_value): Initialize with MAX_VALUE_INIT.
19452 (min_value): Initialize with MIN_VALUE_INIT.
19453 (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
19455 * math/libm-test.inc (RUN_TEST_if_f): New macro.
19456 (jn_test): Use TEST_if_f instead of TEST_ff_f.
19457 (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
19458 (yn_test): Use TEST_if_f instead of TEST_ff_f.
19460 * math/libm-test.inc (RUN_TEST_f_f): New macro.
19461 (RUN_TEST_2_f): Likewise.
19462 (RUN_TEST_ff_f): Likewise.
19463 (RUN_TEST_fi_f): Likewise.
19464 (RUN_TEST_fl_f): Likewise.
19465 (RUN_TEST_fff_f): Likewise.
19466 (RUN_TEST_c_f): Likewise.
19467 (RUN_TEST_f_f1): Likewise.
19468 (RUN_TEST_fF_f1): Likewise.
19469 (RUN_TEST_fI_f1): Likewise.
19470 (RUN_TEST_ffI_f1): Likewise.
19471 (RUN_TEST_c_c): Likewise.
19472 (RUN_TEST_cc_c): Likewise.
19473 (RUN_TEST_f_i): Likewise.
19474 (RUN_TEST_f_i_tg): Likewise.
19475 (RUN_TEST_ff_i_tg): Likewise.
19476 (RUN_TEST_f_b): Likewise.
19477 (RUN_TEST_f_b_tg): Likewise.
19478 (RUN_TEST_f_l): Likewise.
19479 (RUN_TEST_f_L): Likewise.
19480 (RUN_TEST_sincos): Likewise.
19481 * math/gen-libm-test.pl (new_test): Take new argument to indicate
19482 whether to show exceptions. Do not include ");\n" in return
19484 (special_functions): Output call to RUN_TEST_sincos instead of
19485 check_float calls. Update calls to new_test.
19486 (parse_args): Output call to single RUN_TEST_* macro instead of
19487 check_* calls and other assignments. Update calls to new_test.
19493 * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
19494 input to result for tgamma overflow.
19495 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
19496 (gamma_coeff): New variable.
19497 (NCOEFF): New macro.
19498 (gamma_positive): New function.
19499 (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
19500 underflow here. Use gamma_positive instead of exp (lgamma) for
19502 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
19503 (gamma_coeff): New variable.
19504 (NCOEFF): New macro.
19505 (gammaf_positive): New function.
19506 (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
19507 underflow here. Use gamma_positive instead of exp (lgamma) for
19509 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
19510 (gamma_coeff): New variable.
19511 (NCOEFF): New macro.
19512 (gammal_positive): New function.
19513 (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
19514 underflow here. Use gamma_positive instead of exp (lgamma) for
19516 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
19517 (gamma_coeff): New variable.
19518 (NCOEFF): New macro.
19519 (gammal_positive): New function.
19520 (__ieee754_gammal_r): Handle positive infinity, overflow and
19521 underflow here. Handle NaN the same as positive infinity. Remove
19522 check x < 0xffffffff for negative integers. Use gamma_positive
19523 instead of exp (lgamma) for other arguments.
19524 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
19525 (gamma_coeff): New variable.
19526 (NCOEFF): New macro.
19527 (gammal_positive): New function.
19528 * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
19529 * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
19530 * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
19531 * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
19532 * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
19533 * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
19534 * sysdeps/generic/math_private.h (__gamma_productf): New
19536 (__gamma_product): Likewise.
19537 (__gamma_productl): Likewise.
19538 * math/Makefile (libm-calls): Add gamma_product.
19539 * math/libm-test.inc (tgamma_test): Add more tests.
19540 * sysdeps/i386/fpu/libm-test-ulps: Update.
19541 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19543 2013-05-08 Ondřej Bílka <neleai@seznam.cz>
19545 * benchtests/bench-skeleton.c (main): Preheat CPU.
19547 2013-05-07 Aurelien Jarno <aurelien@aurel32.net>
19549 * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
19551 2013-05-07 Roland McGrath <roland@hack.frob.com>
19553 * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
19554 and _dl_skip_args_internal.
19556 2013-05-07 Carlos O'Donell <carlos@redhat.com>
19558 * manual/message.texi (Message Translation): Talk about users.
19559 Message to key mapping impacts design.
19561 2013-05-06 Roland McGrath <roland@hack.frob.com>
19563 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
19565 * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
19567 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
19568 * sysdeps/wordsize-64/glob64.c: ... here.
19570 * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
19571 (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
19574 * debug/getlogin_r_chk.c: Moved to ...
19575 * login/getlogin_r_chk.c: ... here.
19576 * debug/Makefile (routines): Move getlogin_r_chk to ...
19577 * login/Makefile (routines): ... here.
19578 * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
19579 * login/Versions (libc: GLIBC_2.4): ... here.
19581 * io/poll.c (__poll): Renamed from poll.
19582 Add libc_hidden_def.
19583 (poll): Define as weak alias.
19585 * debug/ptsname_r_chk.c: Moved to ...
19586 * login/ptsname_r_chk.c: ... here.
19587 * debug/Makefile (routines): Move ptsname_r_chk to ...
19588 * login/Makefile (routines): ... here.
19589 * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
19590 * login/Versions (libc: GLIBC_2.4): ... here.
19592 * posix/getlogin.c: Moved to ...
19593 * login/getlogin.c: ... here.
19594 * posix/getlogin_r.c: Moved to ...
19595 * login/getlogin_r.c: ... here.
19596 * posix/getlogin_r.c: Moved to ...
19597 * login/getlogin_r.c: ... here.
19598 * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
19599 * login/Makefile (routines): ... here.
19600 * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
19601 * login/Versions (libc: GLIBC_2.0): ... here.
19603 * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
19604 (setrlimit): Define as weak alias.
19606 * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
19607 Call __ names for open, ftruncate, and close.
19608 For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
19609 (truncate): Define as weak alias.
19611 2013-05-06 Joseph Myers <joseph@codesourcery.com>
19613 * math/gen-libm-test.pl (parse_args): Initialize x before each
19614 test of frexp, modf and remquo.
19616 * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
19617 test signgam value.
19619 2013-05-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19623 * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
19625 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
19627 2013-05-06 Roland McGrath <roland@hack.frob.com>
19629 * elf/dl-writev.h: New file.
19630 * elf/dl-misc.c: Include it.
19631 (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
19632 * sysdeps/unix/sysv/linux/dl-writev.h: New file.
19634 2013-05-04 Joseph Myers <joseph@codesourcery.com>
19636 * math/libm-test.inc (noXFails): Remove variable.
19637 (noXPasses): Likewise.
19638 (BUILD_COMPLEX_INT): Remove macro.
19639 (print_screen): Remove xfail argument.
19640 (print_screen_max_error): Likewise.
19641 (update_stats): Likewise.
19642 (print_max_error): Likewise. Update calls to other affected
19644 (print_complex_max_error): Likewise.
19645 (test_single_exception): Update calls to print_screen.
19646 (test_single_errno): Likewise.
19647 (check_float_internal): Remove xfail argument. Update calls to
19648 other affected functions.
19649 (check_float): Likewise.
19650 (check_complex): Likewise.
19651 (check_int): Likewise.
19652 (check_long): Likewise.
19653 (check_bool): Likewise.
19654 (check_longlong): Likewise.
19655 (main): Don't print noXFails and noXPasses.
19656 * math/gen-libm-test.pl (top level): Don't mention expected
19657 failure handling in comment.
19658 (new_test): Don't handle expected failures.
19659 (parse_args): Don't mention expected failure handling in comment.
19660 (generate_testfile): Don't handle expected failures.
19661 (parse_ulps): Likewise.
19662 (print_ulps_file): Likewise.
19663 (get_failure): Remove function.
19664 (output_test): Don't handle expected failures.
19665 * make/README.libm-test: Don't mention expected failure handling.
19667 * math/libm-test.inc (plus_zero): Make const. Add initializer.
19668 (minus_zero): Likewise.
19669 (plus_infty): Likewise.
19670 (minus_infty): Likewise.
19671 (qnan_value): Likewise.
19672 (max_value): Likewise.
19673 (min_value): Likewise.
19674 (min_subnorm_value): Likewise.
19675 (initialize): Do not initialize those variables dynamically.
19677 2013-05-03 Roland McGrath <roland@hack.frob.com>
19679 * io/open.c (__open_2): Moved to ...
19680 * io/open_2.c: ... this new file.
19681 * io/open64.c (__open64_2): Moved to ...
19682 * io/open64_2.c: ... this new file.
19683 * io/openat.c (__openat_2): Moved to ...
19684 * io/openat_2.c: ... this new file.
19685 * io/openat64.c (__openat64_2): Moved to ...
19686 * io/openat64_2.c: ... this new file.
19687 * io/Makefile (routines): Add them.
19688 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
19689 * sysdeps/unix/sysv/linux/open_2.c: File removed.
19690 * sysdeps/unix/sysv/linux/open64_2.c: File removed.
19691 * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
19692 * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
19693 * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
19694 (__openat64): Add hidden_ver.
19695 * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
19696 * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
19698 * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
19699 Separately conditionalize setting of GLRO(dl_sysinfo) so
19700 that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
19701 as well, but the actual setting is only under [NEED_DL_SYSINFO].
19703 2013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19705 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
19706 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
19708 (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
19709 * sysdeps/unix/sysv/linux/powerpc/init-first.c
19710 (_libc_vdso_platform_setup): Add __vdso_time initialization.
19711 * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
19712 for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
19714 2013-05-03 Joseph Myers <joseph@codesourcery.com>
19716 * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
19717 test signgam value.
19719 * math/libm-test.inc (hypot_test): Do not use
19720 IGNORE_ZERO_INF_SIGN.
19722 2013-05-03 Andreas Jaeger <aj@suse.de>
19724 * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
19726 * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
19727 (PF_MAX): Adjust for VSOCK change.
19729 2013-05-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19731 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19733 2013-05-02 Carlos O'Donell <carlos@redhat.com>
19736 * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
19737 * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
19738 * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
19740 2013-05-02 David S. Miller <davem@davemloft.net>
19742 * sysdeps/sparc/fpu/libm-test-ulps: Update.
19744 2013-05-01 Ondřej Bílka <neleai@seznam.cz>
19746 * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
19748 2013-05-01 Roland McGrath <roland@hack.frob.com>
19750 * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
19752 2013-05-01 Richard Smith <richard@metafoo.co.uk>
19755 * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
19756 [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
19757 Use __attribute__ ((__gnu_inline__)).
19758 [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
19759 Don't use __attribute__ ((__gnu_inline__)).
19761 2013-05-01 Joseph Myers <joseph@codesourcery.com>
19764 * math/s_catan.c (__catan): Handle small real or imaginary part of
19765 input specially to avoid spurious underflow.
19766 * math/s_catanf.c (__catanf): Likewise.
19767 * math/s_catanh.c (__catanh): Likewise.
19768 * math/s_catanhf.c (__catanhf): Likewise.
19769 * math/s_catanhl.c (__catanhl): Likewise.
19770 * math/s_catanl.c (__catanl): Likewise.
19771 * math/libm-test.inc (catan_test): Add more tests.
19772 (catanh_test): Likewise.
19773 * sysdeps/i386/fpu/libm-test-ulps: Update.
19774 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19776 2013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19778 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19780 2013-04-30 Joseph Myers <joseph@codesourcery.com>
19783 * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
19784 accurately for denominator in atan2.
19785 * math/s_catanf.c (__catanf): Likewise.
19786 * math/s_catanh.c (__catanh): Likewise.
19787 * math/s_catanhf.c (__catanhf): Likewise.
19788 * math/s_catanhl.c (__catanhl): Likewise.
19789 * math/s_catanl.c (__catanl): Likewise.
19790 * math/libm-test.inc (catan_test): Add more tests.
19791 (catanh_test): Likewise.
19792 * sysdeps/i386/fpu/libm-test-ulps: Update.
19793 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19795 2013-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
19797 * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
19799 * benchtests/Makefile (bench): Remove slow benchmarks.
19800 * benchtests/atan-inputs: Add slow benchmark inputs.
19801 * benchtests/bench-modf.c (NUM_VARIANTS): Define.
19802 (BENCH_FUNC): Accept variant offset.
19804 * benchtests/bench-skeleton.c (main): Run benchmark for each
19806 * benchtests/cos-inputs: Add slow benchmark inputs.
19807 * benchtests/exp-inputs: Likewise.
19808 * benchtests/pow-inputs: Likewise.
19809 * benchtests/sin-inputs: Likewise.
19810 * benchtests/slowatan-inputs: Remove.
19811 * benchtests/slowatan.c: Remove.
19812 * benchtests/slowcos-inputs: Remove.
19813 * benchtests/slowcos.c: Remove.
19814 * benchtests/slowexp-inputs: Remove.
19815 * benchtests/slowexp.c: Remove.
19816 * benchtests/slowpow-inputs: Remove.
19817 * benchtests/slowpow.c: Remove.
19818 * benchtests/slowsin-inputs: Remove.
19819 * benchtests/slowsin.c: Remove.
19820 * benchtests/slowtan-inputs: Remove.
19821 * benchtests/slowtan.c: Remove.
19822 * benchtests/tan-inputs: Add slow benchmark inputs.
19823 * scripts/bench.pl: Parse comments and directives.
19825 * benchtests/Makefile: Remove *-ITER. Define BENCH_DURATION
19827 ($(objpfx)bench-%.c): Remove *-ITER.
19828 * benchtests/bench-modf.c: Remove definition of ITER.
19829 * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
19830 (main): Loop for DURATION seconds instead of fixed number of
19832 * scripts/bench.pl: Don't expect iterations in parameters.
19834 2013-04-29 Roland McGrath <roland@hack.frob.com>
19836 * io/fchdir.c (__fchdir): Renamed from fchdir.
19837 (fchdir): Define as weak alias.
19839 2013-04-29 Joseph Myers <joseph@codesourcery.com>
19841 * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
19842 (ERRNO_EDOM): Likewise.
19843 (ERRNO_ERANGE): Likewise.
19844 (noErrnoTests): New variable.
19845 (init_max_error): Set errno to 0.
19846 (test_single_errno): New function.
19847 (test_errno): Likewise.
19848 (check_float_internal): Call test_errno. Set errno to 0.
19849 (check_complex): Refer to errno tests in comment.
19850 (check_int): Call test_errno. Set errno to 0.
19851 (check_long): Likewise.
19852 (check_bool): Likewise.
19853 (check_longlong): Likewise.
19854 (cos_test): Use ERRNO_* flags for errno tests instead of
19856 (expm1_test): Likewise.
19857 (fmod_test): Likewise.
19858 (ilogb_test): Likewise.
19859 (lgamma_test): Likewise.
19860 (pow_test): Likewise.
19861 (remainder_test): Likewise.
19862 (sin_test): Likewise.
19863 (tan_test): Likewise.
19864 (yn_test): Likewise.
19865 (initialize): Set errno to 0.
19866 (main): Print number of errno tests.
19867 * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
19869 2013-04-29 Andreas Jaeger <aj@suse.de>
19872 * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
19876 * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
19877 * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
19881 * stdlib/random.c (__initstate): Return NULL if
19885 * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
19886 RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
19889 2013-04-29 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19891 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19893 2013-04-29 Joseph Myers <joseph@codesourcery.com>
19895 * math/libm-test.inc (cacos_test): Add missing semicolons at ends
19896 of individual tests.
19897 (casin_test): Likewise.
19898 (casinh_test): Likewise.
19900 2013-04-27 Joseph Myers <joseph@codesourcery.com>
19903 * math/s_catan.c (__catan): Handle arguments with large real or
19904 imaginary part separately without squaring.
19905 * math/s_catanf.c (__catanf): Likewise.
19906 * math/s_catanh.c (__catanh): Likewise.
19907 * math/s_catanhf.c (__catanhf): Likewise.
19908 * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
19910 (__catanhl): Handle arguments with large real or imaginary part
19911 separately without squaring.
19912 * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
19914 (__catanl): Handle arguments with large real or imaginary part
19915 separately without squaring.
19916 * math/libm-test.inc (catan_test): Add more tests.
19917 (catanh_test): Likewise.
19918 * sysdeps/i386/fpu/libm-test-ulps: Update.
19919 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19921 2013-04-27 Andreas Jaeger <aj@suse.de>
19924 * stdlib/stdlib.h: Update guards for qecvt.
19925 * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
19928 2013-04-27 Allan McRae <allan@archlinux.org>
19930 * sysdeps/i386/fpu/libm-test-ulps: Update.
19932 2013-04-26 Joseph Myers <joseph@codesourcery.com>
19935 * math/s_catan.c: Include <float.h>.
19936 (__catan): Ensure underflow exception occurs for underflowed
19938 * math/s_catanf.c: Include <float.h>.
19939 (__catanf): Ensure underflow exception occurs for underflowed
19941 * math/s_catanh.c: Include <float.h>.
19942 (__catanh): Ensure underflow exception occurs for underflowed
19944 * math/s_catanhf.c: Include <float.h>.
19945 (__catanhf): Ensure underflow exception occurs for underflowed
19947 * math/s_catanhl.c: Include <float.h>.
19948 (__catanhl): Ensure underflow exception occurs for underflowed
19950 * math/s_catanl.c: Include <float.h>.
19951 (__catanl): Ensure underflow exception occurs for underflowed
19953 * math/libm-test.inc (catan_test): Add more tests.
19954 (catanh_test): Likewise.
19957 * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
19958 underflowed result.
19959 * math/s_ccoshf.c (__ccoshf): Likewise.
19960 * math/s_ccoshl.c (__ccoshl): Likewise.
19961 * math/s_csin.c (__csin): Likewise.
19962 * math/s_csinf.c (__csinf): Likewise.
19963 * math/s_csinh.c (__csinh): Likewise.
19964 * math/s_csinhf.c (__csinhf): Likewise.
19965 * math/s_csinhl.c (__csinhl): Likewise.
19966 * math/s_csinl.c (__csinl): Likewise.
19967 * math/libm-test.inc (ccos_test): Add more tests.
19968 (ccosh_test): Likewise.
19969 (csin_test): Likewise.
19970 (csinh_test): Likewise.
19972 2013-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19974 * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
19975 * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
19976 * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
19977 * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
19978 * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
19979 powerpc/power5+/fpu folders.
19980 * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
19983 2013-04-26 Markus Trippelsdorf <markus@trippelsdorf.de>
19985 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
19987 2013-04-25 Joseph Myers <joseph@codesourcery.com>
19989 * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
19990 additions to variable.
19991 [$(config-machine) = x86_64] (modules-names): Likewise.
19992 ($(objpfx)tst-audit3): Remove dependency.
19993 ($(objpfx)tst-audit3.out): Likewise.
19994 ($(objpfx)tst-audit4): Likewise.
19995 ($(objpfx)tst-audit4.out): Likewise.
19996 ($(objpfx)tst-audit5): Likewise.
19997 ($(objpfx)tst-audit5.out): Likewise.
19998 ($(objpfx)tst-audit6): Likewise.
19999 ($(objpfx)tst-audit6.out): Likewise.
20000 ($(objpfx)tst-audit7): Likewise.
20001 ($(objpfx)tst-audit7.out): Likewise.
20002 (tst-audit3-ENV): Remove variable.
20003 (tst-audit4-ENV): Likewise.
20004 (tst-audit5-ENV): Likewise.
20005 (tst-audit6-ENV): Likewise.
20006 (tst-audit7-ENV): Likewise.
20007 [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
20008 [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
20009 addition to variable.
20010 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
20011 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
20012 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
20013 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
20014 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
20015 * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
20016 tst-audit3, tst-audit4 and tst-audit5.
20017 [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
20018 tst-audit6 and tst-audit7.
20019 [$(subdir) = elf] (modules-names): Add audit modules for those
20021 [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
20022 [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
20023 [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
20024 [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
20025 [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
20026 [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
20027 [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
20028 [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
20029 [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
20030 [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
20031 [$(subdir) = elf] (tst-audit3-ENV): New variable.
20032 [$(subdir) = elf] (tst-audit4-ENV): Likewise.
20033 [$(subdir) = elf] (tst-audit5-ENV): Likewise.
20034 [$(subdir) = elf] (tst-audit6-ENV): Likewise.
20035 [$(subdir) = elf] (tst-audit7-ENV): Likewise.
20036 [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
20038 [$(subdir) = elf && $(config-cflags-avx) = yes]
20039 (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
20040 [$(subdir) = elf && $(config-cflags-avx) = yes]
20041 (CFLAGS-tst-auditmod4a.c): Likewise.
20042 [$(subdir) = elf && $(config-cflags-avx) = yes]
20043 (CFLAGS-tst-auditmod4b.c): Likewise.
20044 [$(subdir) = elf && $(config-cflags-avx) = yes]
20045 (CFLAGS-tst-auditmod6b.c): Likewise.
20046 [$(subdir) = elf && $(config-cflags-avx) = yes]
20047 (CFLAGS-tst-auditmod6c.c): Likewise.
20048 [$(subdir) = elf && $(config-cflags-avx) = yes]
20049 (CFLAGS-tst-auditmod7b.c): Likewise.
20050 * elf/tst-audit3.c: Move to ...
20051 * sysdeps/x86_64/tst-audit3.c: ... here.
20052 * elf/tst-audit4.c: Move to ...
20053 * sysdeps/x86_64/tst-audit4.c: ... here.
20054 * elf/tst-audit5.c: Move to ...
20055 * sysdeps/x86_64/tst-audit5.c: ... here.
20056 * elf/tst-audit6.c: Move to ...
20057 * sysdeps/x86_64/tst-audit6.c: ... here.
20058 * elf/tst-audit7.c: Move to ...
20059 * sysdeps/x86_64/tst-audit7.c: ... here.
20060 * elf/tst-auditmod3a.c: Move to ...
20061 * sysdeps/x86_64/tst-auditmod3a.c: ... here.
20062 * elf/tst-auditmod3b.c: Move to ...
20063 * sysdeps/x86_64/tst-auditmod3b.c: ... here.
20064 * elf/tst-auditmod4a.c: Move to ...
20065 * sysdeps/x86_64/tst-auditmod4a.c: ... here.
20066 * elf/tst-auditmod4b.c: Move to ...
20067 * sysdeps/x86_64/tst-auditmod4b.c: ... here.
20068 * elf/tst-auditmod5a.c: Move to ...
20069 * sysdeps/x86_64/tst-auditmod5a.c: ... here.
20070 * elf/tst-auditmod5b.c: Move to ...
20071 * sysdeps/x86_64/tst-auditmod5b.c: ... here.
20072 * elf/tst-auditmod6a.c: Move to ...
20073 * sysdeps/x86_64/tst-auditmod6a.c: ... here.
20074 * elf/tst-auditmod6b.c: Move to ...
20075 * sysdeps/x86_64/tst-auditmod6b.c: ... here.
20076 * elf/tst-auditmod6c.c: Move to ...
20077 * sysdeps/x86_64/tst-auditmod6c.c: ... here.
20078 * elf/tst-auditmod7a.c: Move to ...
20079 * sysdeps/x86_64/tst-auditmod7a.c: ... here.
20080 * elf/tst-auditmod7b.c: Move to ...
20081 * sysdeps/x86_64/tst-auditmod7b.c: ... here.
20083 2013-04-25 Paul Pluzhnikov <ppluzhnikov@google.com>
20086 * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
20087 define unconditionally.
20088 * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
20089 define unconditionally.
20090 (INT8_C, INT16_C, etc.): Likewise.
20092 2013-04-25 Maciej W. Rozycki <macro@codesourcery.com>
20094 * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
20095 __ehdr_start with hidden visibility.
20097 * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
20099 2013-04-24 Carlos O'Donell <carlos@redhat.com>
20101 * math/libm-test.inc (cos_test): Use accurate hex constants.
20102 (sincost_test): Likewise.
20104 2013-04-24 Joseph Myers <joseph@codesourcery.com>
20106 * math/libm-test.inc (catan_test): Add more tests.
20107 (catanh_test): Likewise.
20109 * math/s_catanf.c (__catanf): Use suffixed floating-point
20111 * math/s_catanhf.c (__catanhf): Likewise.
20112 * math/s_catanhl.c (__catanhl): Likewise.
20113 * math/s_catanl.c (__catanl): Likewise.
20116 * math/s_catan.c (__catan): Calculate imaginary part of result
20117 with log1p not log unless computing log of number close to 0.
20118 * math/s_catanf.c (__catanf): Likewise.
20119 * math/s_catanl.c (__catanl): Likewise.
20120 * math/s_catanh.c (__catanh): Calculate real part of result with
20121 log1p not log unless computing log of number close to 0.
20122 * math/s_catanhf.c (__catanhf): Likewise.
20123 * math/s_catanhl.c (__catanhl): Likewise.
20124 * math/libm-test.inc (catan_test): Add more tests.
20125 (catanh_test): Likewise.
20126 * sysdeps/i386/fpu/libm-test-ulps: Update.
20127 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20129 2013-04-24 Siddhesh Poyarekar <siddhesh@redhat.com>
20131 * benchtests/Makefile: Mention files in which fast and slow
20132 paths of math functions are implemented.
20134 2013-04-23 Roland McGrath <roland@hack.frob.com>
20136 * sysdeps/posix/timespec_get.c: New file.
20138 2013-04-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20140 * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
20142 * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
20144 * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
20145 powerpc/power5/fpu folders.
20146 * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
20147 * benchtests/Makefile: Add modf testcase.
20148 * benchtests/bench-modf.c: New file: Benchmark test for mo
20150 2013-04-23 Siddhesh Poyarekar <siddhesh@redhat.com>
20153 * time/Makefile (tests): Add tst-strptime-whitespace.
20154 * time/strptime_l.c (get_number): Use ISSPACE.
20155 (__strptime_internal): Likewise.
20156 * time/tst-strptime-whitespace.c: New test case.
20158 2013-04-23 Andreas Schwab <schwab@linux-m68k.org>
20160 * nss/nss_files/files-init.c (TF): Don't initialize flexible array
20162 (_nss_files_init): Set it here.
20164 2013-04-23 Heiko Carstens <heiko.carstens@de.ibm.com>
20166 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
20167 f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
20170 2013-04-22 Jan-Benedict Glaw <jbglaw@getslash.de>
20172 * nss/getent.c (shadow_keys): Call endspent, not endpwent.
20174 2013-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
20176 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
20179 2013-04-21 David S. Miller <davem@davemloft.net>
20181 * po/ru.po: Update Russion translation from translation project.
20183 2013-04-17 Adam Conrad <adconrad@0c3.net>
20185 * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
20188 2013-04-17 Carlos O'Donell <carlos@redhat.com>
20190 * configure.in: Remove i386 configure warning. Remove i386 case.
20191 * configure: Regenerate.
20192 * sysdeps/i386/configure.in: Raise error if config_machine is i386.
20193 Add example to error message.
20194 * sysdeps/i386/configure: Regenerate.
20196 2013-04-17 Siddhesh Poyarekar <siddhesh@redhat.com>
20198 * benchtests/Makefile (bench): Add cos, tan, slowcos and
20200 * benchtests/cos-inputs: New file.
20201 * benchtests/slowcos-inputs: New file.
20202 * benchtests/slowcos.c: New file.
20203 * benchtests/slowtan-inputs: New file.
20204 * benchtests/slowtan.c: New file.
20205 * benchtests/tan-inputs: New file.
20207 2013-04-16 Roland McGrath <roland@hack.frob.com>
20209 * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
20212 2013-04-16 Siddhesh Poyarekar <siddhesh@redhat.com>
20214 * benchtests/Makefile: Include cppflags-iterator.mk to add
20215 -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
20217 * Makefile.in (bench-clean): New target.
20218 * benchtests/Makefile (bench-clean): Likewise.
20220 2013-04-16 David Holsgrove <david.holsgrove@xilinx.com>
20222 * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
20224 2013-04-15 Thomas Schwinge <thomas@codesourcery.com>
20226 * stdio-common/tstdiomisc.c: Fix coding-style violation.
20228 2013-04-15 Andreas Schwab <schwab@suse.de>
20230 * nscd/grpcache.c (cache_addgr): Properly check for short write.
20231 * nscd/initgrcache.c (addinitgroupsX): Likewise.
20232 * nscd/pwdcache.c (cache_addpw): Likewise.
20233 * nscd/servicescache.c (cache_addserv): Likewise. Don't write
20236 2013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
20238 * benchtests/Makefile (bench): Write all output to
20239 bench-out.tmp together.
20241 2013-04-15 Andreas Schwab <schwab@suse.de>
20243 * nscd/nscd.c (main): Don't fork again after closing files.
20245 2013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
20247 * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
20249 * benchtests/Rules (bench-deps): Collect dependencies into a
20250 single variable. Add Makefile to dependencies.
20251 ($(objpfx)bench-%.c): Depend on bench-deps.
20253 2013-04-12 Roland McGrath <roland@hack.frob.com>
20254 Xavier Roche <roche+kml2@exalead.com>
20257 * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
20258 just that it's a file descriptor.
20259 * manual/llio.texi (Synchronizing AIO Operations): Update description
20260 for EBADF error from aio_fsync.
20262 2013-04-12 Siddhesh Poyarekar <siddhesh@redhat.com>
20264 * Rules (bench): Move target definition...
20265 * benchtests/Makefile: ... here.
20267 2013-04-11 Carlos O'Donell <carlos@redhat.com>
20269 * math/libm-test.inc (cos_test): Fix PI/2 test.
20270 (sincos_test): Likewise.
20271 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
20272 * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
20274 2013-04-11 Andreas Schwab <schwab@suse.de>
20277 * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
20278 accept exponent character only when digits were seen.
20279 * stdio-common/Makefile (tests): Add bug26.
20280 * stdio-common/bug26.c: New file.
20283 * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
20286 2013-04-11 Siddhesh Poyarekar <siddhesh@redhat.com>
20288 * Makeconfig (rtld-prefix): Define built linker prefix.
20289 * Rules (run-bench): Use it.
20290 * math/Makefile (run-regen-ulps): Likewise.
20292 * Rules (bench): Remove eval.
20294 2013-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
20295 Roland McGrath <roland@hack.frob.com>
20296 Ondrej Bilka <neleai@seznam.cz>
20299 * time/getdate.c: Include ctype.h and alloca.h.
20300 (__getdate_r): Trim leading and trailing spaces of input.
20301 * time/tst-getdate.c (tests): Add tests with leading and
20304 2013-04-08 Roland McGrath <roland@hack.frob.com>
20307 * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
20308 when computing value.
20310 2013-04-06 Carlos O'Donell <carlos@redhat.com>
20312 * math/README.libm-test (How can I generate "libm-test-ulps"?):
20313 Use testrun.sh to run libm tests.
20316 * elf/dl-open.c (dl_open_worker): memset all of seen array.
20318 2013-04-06 Marko Myllynen <myllynen@redhat.com>
20321 * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
20323 2013-04-06 Carlos O'Donell <carlos@redhat.com>
20325 * Makefile.in (regen-ulps): New target.
20326 * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
20327 [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
20328 [ifneq (no,$(PERL)] (regen-ulps): New target.
20329 [ifeq (no,$(PERL)] (regen-ulps): New target.
20330 * math/libm-test.inc (ulps_file_name): Define.
20331 (output_dir): New variable.
20332 (options): Add "output-dir" option.
20333 (parse_opt): Handle 'o' case.
20334 (main): If output_dir is non-NULL use it as a prefix
20336 * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
20338 2013-04-06 Carlos O'Donell <carlos@redhat.com>
20340 [BZ #10060, #10062]
20341 * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
20342 * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
20343 fail configure if __sync_val_compare_and_swap is not inlined.
20344 * sysdeps/i386/configure: Regenerate.
20345 * configure.in: Build for i686 when configured for i386.
20346 * configure: Regenerate.
20347 * README: Remove i386 reference.
20349 2013-04-06 Carlos O'Donell <carlos@redhat.com>
20351 * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
20352 * sysdeps/s390/s390-64/sysdep.h: Likewise.
20354 2013-04-05 Thomas Schwinge <thomas@codesourcery.com>
20356 * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
20357 (lmsnanval): New variables.
20358 (F): Add conversion tests.
20359 * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
20360 * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
20362 * stdio-common/tstdiomisc.c (F): Properly collect individual
20365 [BZ #14686, #15336]
20366 * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
20367 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
20368 Instead, use input NaN values or generate a qNaN by arithmetic
20369 operation. Also fix bugs to comply with the standard.
20370 * math/libm-test.inc (remainder_test): Add more tests.
20372 [BZ #15335, #15342]
20373 * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
20374 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
20375 input NaN values or generate a qNaN by arithmetic operation.
20377 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
20380 * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
20383 2013-04-03 Joseph Myers <joseph@codesourcery.com>
20386 * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
20387 underflowed result.
20388 * math/s_cexpf.c (__cexpf): Likewise.
20389 * math/s_cexpl.c (__cexpl): Likewise.
20390 * math/libm-test.inc (cexp_test): Add more tests.
20392 2013-04-03 Andreas Schwab <schwab@suse.de>
20395 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
20396 order arrays from heap if bigger than alloca cutoff.
20398 2013-04-03 Thomas Schwinge <thomas@codesourcery.com>
20400 * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
20401 (SNAN_TESTS_double): Refer to GCC PR56831.
20402 * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
20405 2013-04-03 Siddhesh Poyarekar <siddhesh@redhat.com>
20407 * Rules (bench): Move bench.out after the run is complete.
20409 * Rules (bench): Echo currently running benchmark.
20411 * benchtests/Makefile (bench): Add atan and slowatan.
20412 * benchtests/atan-inputs: New file.
20413 * benchtests/slowatan-inputs: New file.
20414 * benchtests/slowatan.c: New file.
20416 * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
20417 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
20421 * sysdeps/unix/sysv/linux/kernel-features.h
20422 [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
20423 __ASSUME_XFS_RESTRICTED_CHOWN.
20424 * sysdeps/unix/sysv/linux/pathconf.c
20425 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
20426 Save and restore errno.
20428 2013-04-02 Joseph Myers <joseph@codesourcery.com>
20431 * math/s_cacosh.c (__cacosh): Implement for finite nonzero
20432 arguments using __kernel_casinh.
20433 * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
20434 arguments using __kernel_casinhf.
20435 * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
20436 arguments using __kernel_casinhl.
20437 * math/libm-test.inc (cacosh_test): Add more tests.
20438 * sysdeps/i386/fpu/libm-test-ulps: Update.
20439 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20441 2013-04-02 Siddhesh Poyarekar <siddhesh@redhat.com>
20443 * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
20444 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
20446 * bench/Makefile (bench): Add sin and slowsin.
20447 * benchtests/sin-inputs: New file.
20448 * benchtests/slowsin-inputs: New file.
20449 * benchtests/slowsin.c: New file.
20451 * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
20452 (bench): Add slowexp and slowpow.
20453 (exp-ITER): Increase iterations.
20454 (pow-ITER): Likewise.
20455 * benchtests/exp-inputs: Change input.
20456 * benchtests/pow-inputs: Likewise.
20457 * benchtests/slowexp-inputs: New file.
20458 * benchtests/slowexp.c: New file.
20459 * benchtests/slowpow-inputs: New file.
20460 * benchtests/slowpow.c: New file.
20462 2013-04-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20464 * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
20466 * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
20467 * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
20468 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
20469 * benchtests/Makefile: Add rint benchtest.
20470 * benchtests/rint-inputs: Input for rint benchtest.
20472 2013-04-02 Thomas Schwinge <thomas@codesourcery.com>
20474 * Versions.def (libm): Add GLIBC_2.18.
20475 * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
20476 hidden libm prototypes.
20477 [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
20478 * math/Makefile (libm-calls): Add s_issignaling.
20479 * math/Versions (libm: GLIBC_2.18): Add __issignaling,
20480 __issignalingf, __issignalingl. Adjust all libm.abilist files.
20481 * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
20483 * math/math.h [__USE_GNU] (issignaling): New macro.
20484 * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
20485 * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
20486 * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
20487 * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
20488 * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
20489 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
20490 * manual/arith.texi (issignaling): New section.
20491 * manual/libm-err-tab.pl (@all_functions): Update comment.
20492 * math/gen-libm-test.pl (parse_args): Apply special handling for
20494 * math/libm-test.inc (print_float, issignaling_test): New
20496 (check_float_internal): Add issignaling checks.
20497 * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
20498 default definition.
20499 * sysdeps/powerpc/math-tests.h: New file.
20500 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
20502 * math/test-snan.c (TEST_FUNC): Likewise.
20504 2013-03-30 David S. Miller <davem@davemloft.net>
20506 * po/de.po: Update from translation team.
20508 2013-03-30 Joseph Myers <joseph@codesourcery.com>
20511 * math/k_casinh.c (__kernel_casinh): Handle arguments with
20512 imaginary part less than 1.0 and real part less than 0.5
20514 * math/k_casinhf.c (__kernel_casinhf): Likewise.
20515 * math/k_casinhl.c (__kernel_casinhl): Likewise.
20516 * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
20517 (cacos_test): Add more tests.
20518 (casin_test): Likewise.
20519 (casinh_test): Likewise.
20520 * sysdeps/i386/fpu/libm-test-ulps: Update.
20521 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20523 2013-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
20525 * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
20526 ONE with its value.
20528 * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
20529 (__pow_mp): Replace ONE and MONE with their values.
20530 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
20531 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
20532 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
20533 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
20534 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
20535 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
20537 * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
20539 * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
20540 (__pow_mp): Replace ZERO and MZERO with their values.
20541 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
20542 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
20543 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
20544 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
20545 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
20546 * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
20549 * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
20551 * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
20553 2013-03-28 Roland McGrath <roland@hack.frob.com>
20555 * include/stdlib.h [!SHARED] (__call_tls_dtors):
20556 Declare with __attribute__ ((weak)).
20557 * stdlib/exit.c (__libc_atexit) [!SHARED]:
20558 Call __call_tls_dtors only if it's not NULL.
20560 2013-03-28 Roland McGrath <roland@hack.frob.com>
20562 * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
20563 didn't do it already, then set _dl_phdr and _dl_phnum based on the
20564 magic __ehdr_start linker symbol if it's defined.
20565 * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
20566 them up here if it was already done.
20568 * elf/dl-support.c (_dl_phdr): Make pointer to const.
20569 (_dl_aux_init): Use const in cast when setting it.
20570 * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
20571 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
20572 * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
20574 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
20576 * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
20577 * csu/libc-tls.c: Nor here.
20578 * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
20580 * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
20581 (__libc_message): Never call vsyslog.
20583 2013-03-28 Alan Modra <amodra@gmail.com>
20585 * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
20587 * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
20590 2013-03-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20593 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
20595 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
20597 2013-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
20600 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
20601 Don't add gid passed as argument.
20603 * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
20605 2013-03-27 Joseph Myers <joseph@codesourcery.com>
20608 * math/k_casinh.c (__kernel_casinh): Handle arguments with
20609 imaginary part between 1.0 and 1.5 and real part less than 0.5
20611 * math/k_casinhf.c (__kernel_casinhf): Likewise.
20612 * math/k_casinhl.c (__kernel_casinhl): Likewise.
20613 * math/libm-test.inc (cacos_test): Add more tests.
20614 (casin_test): Likewise.
20615 (casinh_test): Likewise.
20616 * sysdeps/i386/fpu/libm-test-ulps: Update.
20617 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20619 2013-03-26 Siddhesh Poyarekar <siddhesh@redhat.com>
20621 * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
20624 (denorm): Likewise.
20625 (__dbl_mp): Likewise.
20626 (add_magnitudes): Likewise.
20627 (sub_magnitudes): Likewise.
20635 * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
20637 * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
20638 (__dubcos): Likewise.
20639 * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
20640 (__ieee754_acos): Likewise.
20641 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
20642 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
20643 (__exp1): Likewise.
20644 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
20645 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
20647 (my_log2): Likewise.
20648 (checkint): Likewise.
20649 * sysdeps/ieee754/dbl-64/e_remainder.c
20650 (__ieee754_remainder): Likewise.
20651 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
20652 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
20653 (bsloww): Likewise.
20654 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
20656 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
20657 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
20658 MANTISSA_STORE_T to store computations on mantissa. Use
20659 macros for rounding and division.
20660 (denorm): Likewise.
20661 (__dbl_mp): Likewise.
20662 (add_magnitudes): Likewise.
20663 (sub_magnitudes): Likewise.
20666 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
20667 powers of two in terms of TWOPOW macro.
20668 (mp_no): Make type of mantissa as MANTISSA_T.
20669 [!RADIXI]: Define RADIXI.
20670 [!TWO52]: Define TWO52.
20671 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
20673 2013-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20675 * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
20676 llroundl symbol when building for PPC32.
20678 2013-03-24 Mark H Weaver <mhw@netris.org>
20680 * manual/arith.texi (Normalization Functions): Fix prototypes for
20681 scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
20683 2013-03-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20686 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
20687 high value to check if expl overflow.
20688 * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
20689 to check for underflow and overflow.
20690 * math/libm-test.inc: Add exp test.
20692 2013-03-21 Dmitry V. Levin <ldv@altlinux.org>
20695 * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
20698 2013-03-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20700 * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
20703 2013-03-21 Thomas Schwinge <thomas@codesourcery.com>
20705 * math/gen-libm-test.pl (parse_args, special_functions): Properly
20706 wrap blocks consisting of several statements.
20708 * sysdeps/generic/math-tests.h: New file.
20709 * sysdeps/i386/fpu/math-tests.h: Likewise.
20710 * math/test-snan.c: Include it.
20711 (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
20713 2013-03-21 Joseph Myers <joseph@codesourcery.com>
20716 * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
20717 (__ieee754_j0l): Do not improve calculations using cos of twice
20718 input for inputs above LDBL_MAX / 2.0L.
20719 (__ieee754_y0l): Likewise.
20720 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
20721 (__ieee754_j1l): Do not improve calculations using cos of twice
20722 input for inputs above LDBL_MAX / 2.0L.
20723 (__ieee754_y1l): Likewise.
20724 * math/libm-test.inc (j0_test): Add another test.
20725 (j1_test): Likewise.
20726 (y0_test): Likewise.
20727 (y1_test): Likewise.
20728 * sysdeps/i386/fpu/libm-test-ulps: Update.
20730 2013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
20732 * Rules ($(objpfx)bench-%.c): Include code from a C source
20735 2013-03-21 Joseph Myers <joseph@codesourcery.com>
20738 * math/k_casinh.c (__kernel_casinh): Handle arguments with
20739 imaginary part 1.0 and real part less than 0.5 specially.
20740 * math/k_casinhf.c (__kernel_casinhf): Likewise.
20741 * math/k_casinhl.c (__kernel_casinhl): Likewise.
20742 * math/libm-test.inc (cacos_test): Add more tests.
20743 (casin_test): Likewise.
20744 (casinh_test): Likewise.
20745 * sysdeps/i386/fpu/libm-test-ulps: Update.
20746 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20748 2013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
20750 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
20751 * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
20753 2013-03-20 Joseph Myers <joseph@codesourcery.com>
20755 * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
20756 * config.make.in (config-cflags-sse4): Remove variable.
20757 (config-cflags-avx): Likewise.
20758 (config-cflags-sse2avx): Likewise.
20759 (config-cflags-novzeroupper): Likewise.
20760 (config-asflags-i686): Likewise.
20761 (have-mfma4): Likewise.
20762 (have-as-vis3): Likewise.
20764 * configure.in (MIG): Do not AC_SUBST.
20765 (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
20766 (libc_cv_cc_sse4): Do not AC_SUBST.
20767 (libc_cv_cc_avx): Likewise.
20768 (libc_cv_cc_sse2avx): Likewise.
20769 (libc_cv_cc_novzeroupper): Likewise.
20770 (libc_cv_cc_fma4): Likewise.
20771 (libc_cv_as_i686): Likewise.
20772 (libc_cv_sparc_as_vis3): Likewise.
20773 * sysdeps/i386/configure.in (config-cflags-sse4): Set using
20775 (config-asflags-i686): Likewise.
20776 (config-cflags-avx): Likewise.
20777 (config-cflags-sse2avx): Likewise.
20778 (have-mfma4): Likewise.
20779 (config-cflags-novzeroupper): Likewise.
20780 * sysdeps/mach/configure.in (MIG): Likewise.
20781 * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
20782 * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
20784 (config-cflags-avx): Likewise.
20785 (config-cflags-sse2avx): Likewise.
20786 (have-mfma4): Likewise.
20787 (config-cflags-novzeroupper): Likewise.
20788 * configure: Regenerated.
20789 * sysdeps/i386/configure: Likewise.
20790 * sysdeps/mach/configure: Likewise.
20791 * sysdeps/sparc/configure: Likewise.
20792 * sysdeps/x86_64/configure: Likewise.
20794 2013-03-20 Roland McGrath <roland@hack.frob.com>
20797 * locale/programs/localedef.c (options): Put N_ translation marker
20798 on argument names, not just descriptions.
20800 2013-03-20 Marcus Shawcroft <marcus.shawcroft@linaro.org>
20802 * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
20804 2013-03-20 Ondřej Bílka <neleai@seznam.cz>
20807 * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
20809 2013-03-19 Roland McGrath <roland@hack.frob.com>
20811 * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
20812 [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
20813 [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
20814 [!BEFORE_ABORT] (before_abort): New function.
20815 [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
20816 * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
20817 (writev_for_fatal): New function.
20818 (WRITEV_FOR_FATAL): New macro; call that.
20819 (backtrace_and_maps): New function.
20820 (BEFORE_ABORT): New macro; call that.
20821 (struct str_list): Type removed.
20822 (__libc_message, __libc_fatal): Functions removed.
20823 Include <sysdeps/posix/libc_fatal.c> instead.
20825 2013-03-19 Joseph Myers <joseph@codesourcery.com>
20827 * math/k_casinhf.c (__kernel_casinhf): Consistently use float
20829 * math/k_casinhl.c (__kernel_casinhl): Consistently use long
20832 2013-03-19 Andreas Schwab <schwab@suse.de>
20834 * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
20835 * sysdeps/gnu/configure: Regenerate.
20837 * configure.in: Substitute libc_cv_rtlddir.
20838 * configure: Regenerate.
20839 * config.make.in (rtlddir): Set from libc_cv_rtlddir.
20840 * Makeconfig (rtlddir, inst_rtlddir): New variables.
20841 (rtld-LDFLAGS): Use them with $(rtld-installed-name).
20842 * elf/Makefile (install-others, CFLAGS-interp.c)
20843 (ldso_install, common-ldd-rewrite): Likewise.
20844 ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
20845 $(inst_slibdir)/$(rtld-installed-name).
20846 * scripts/rellns-sh: Add -p option.
20847 * Makerules (make-shlib-link): Use rellns-sh to get relative name
20850 2013-03-19 Siddhesh Poyarekar <siddhesh@redhat.com>
20852 * manual/nptl.texi: Renamed to ...
20853 * manual/threads.texi: ... this.
20854 * manual/Makefile (chapters): Update.
20856 2013-03-18 Roland McGrath <roland@hack.frob.com>
20859 * argp/argp-parse.c (argp_default_options): Put N_ translation marker
20860 on argument names, not just descriptions.
20861 * malloc/memusagestat.c (options): Likewise.
20862 * nss/getent.c (options): Likewise.
20864 2013-03-18 Benno Schulenberg <bensberg@justemail.net>
20867 * iconv/iconv_prog.c (options): Put N_ translation marker
20868 on argument names, not just descriptions.
20869 * iconv/iconvconfig.c (options): Likewise.
20871 2013-03-18 Ondrej Bilka <neleai@seznam.cz>
20873 * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
20874 implementation which is faster on all x86_64 architectures.
20875 Tested on AMD, Intel Nehalem, SNB, IVB.
20876 * sysdeps/x86_64/strnlen.S: Likewise.
20878 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
20879 Remove all multiarch strlen and strnlen versions.
20880 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
20881 Remove strlen and strnlen related parts.
20883 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
20884 Inline strlen part.
20885 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
20887 * sysdeps/x86_64/multiarch/strlen.S: Remove.
20888 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
20889 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
20890 * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
20891 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
20892 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
20894 2013-03-17 Carlos O'Donell <carlos@redhat.com>
20896 * manual/memory.texi (Malloc Tunable Parameters):
20897 Sort parameters alphabetically. Add comments for missing entries.
20899 2013-03-17 David S. Miller <davem@davemloft.net>
20901 * sysdeps/sparc/fpu/libm-test-ulps: Update.
20903 2013-03-16 Joseph Myers <joseph@codesourcery.com>
20906 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
20907 for arguments at most half maximum finite value.
20908 * math/libm-test.inc (j0_test): Add more tests.
20909 (j1_test): Likewise.
20910 (y0_test): Likewise.
20911 (y1_test): Likewise.
20912 * sysdeps/i386/fpu/libm-test-ulps: Update.
20913 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20916 * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
20917 1 / x and functions P and Q for arguments above 0x1p256L.
20918 (__ieee754_y0l): Likewise.
20919 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
20920 (__ieee754_y1l): Likewise.
20921 * math/libm-test.inc (j0_test): Do not allow spurious underflows.
20922 (j1_test): Likewise.
20923 (y0_test): Likewise.
20924 (y1_test): Likewise.
20926 2013-03-16 Thomas Schwinge <thomas@codesourcery.com>
20928 * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
20931 2013-03-15 Roland McGrath <roland@hack.frob.com>
20933 * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
20934 (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
20935 zero since it's initialized to EXEC_PAGESIZE.
20937 * sysdeps/unix/sysv/linux/ldsodefs.h
20938 (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
20939 * sysdeps/generic/ldsodefs.h: ... here.
20941 2013-03-15 Thomas Schwinge <thomas@codesourcery.com>
20943 * math/libm-test.inc (ldexp_test): Add missing START/END markers.
20945 * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
20947 * math/test-snan.c: Renamed from
20948 sysdeps/powerpc/fpu/test-powerpc-snan.c.
20949 * math/Makefile (tests): Add test-snan.
20950 * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
20953 * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
20954 SUFFIX. Initialize qNaN_var with __builtin_nan family of
20956 (TEST_TRUNC): Add SUFFIX argument. Initialize qNaN_var with
20957 __builtin_nan family of functions.
20958 * math/libm-test.inc (initialize): Initialize qnan_value with
20959 __builtin_nan family of functions.
20960 * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
20962 (init_signaling_nan, snan_float, snan_double, snan_ldouble):
20964 (TEST_FUNC): Add SUFFIX argument. Move sNaN_var into static
20965 storage class. Initialize qNaN_var and sNaN_var with
20966 __builtin_nan and __builtin_nans families of functions,
20969 * math/libm-test.inc (acosh_test): Also test with qNaN input.
20970 (sqrt_test): Remove duplicate test with qNaN input.
20971 (lrint_test, llrint_test, lround_test, llround_test, rint_test)
20972 (round_test, signbit_test, significand_test): Note missing +/-Inf
20973 as well as qNaN tests.
20975 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
20976 qNaN_var. Fix a few strings, too.
20977 * math/libm-test.inc (nan_value): Rename to qnan_value.
20978 * math/gen-libm-test.pl (%beautify): Adjust to that.
20979 * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
20980 * math/test-misc.c (main): Likewise.
20981 * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
20982 to __qnan_bytes, and __qnan_union, respectively.
20983 * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
20985 * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
20986 and lqnanval, respectively.
20987 * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
20988 * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
20989 * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
20990 and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
20992 * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
20993 * math/test-misc.c (main) [__x86_64__]: Enable test for long
20996 * math/test-misc.c (main): Fix copy'n'pastos.
20997 * misc/tst-efgcvt.c (special): Likewise.
20999 * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
21000 Remove declarations.
21002 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
21004 * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
21005 * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
21006 * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
21007 * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
21009 2013-03-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21011 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
21012 macro to return vdso values correctly in IFUNC implementations.
21013 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
21014 Optimization by using IFUNC.
21016 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
21017 Richard Henderson <rth@redhat.com>
21018 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
21020 * Makefile.in (bench): New target.
21021 * NEWS: Mention the benchmark framework.
21022 * Rules (bench): Likewise.
21023 (binaries-bench): Generate binaries for functions to
21025 * benchtests/Makefile: New makefile for benchmark tests.
21026 * benchtests/bench-skeleton.c: New skeleton file for benchmark
21028 * benchtests/exp-inputs: New input file for EXP function.
21029 * benchtests/pow-inputs: New input file for POW function.
21030 * scripts/bench.pl: New script to generate source files for
21031 benchmark programs.
21033 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
21035 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
21036 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
21037 computations on mantissa. Use macros for rounding and
21039 (denorm): Likewise.
21040 (__dbl_mp): Likewise.
21041 (add_magnitudes): Likewise.
21042 (sub_magnitudes): Likewise.
21045 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
21046 powers of two in terms of TWOPOW macro.
21047 (mp_no): Make type of mantissa as MANTISSA_T.
21048 [!RADIXI]: Define RADIXI.
21049 [!TWO52]: Define TWO52.
21050 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
21052 * manual/nptl.texi (cindex): Modify threads to pthreads.
21054 2013-03-15 Joseph Myers <joseph@codesourcery.com>
21056 * sysdeps/x86_64/preconfigure: Regenerated.
21058 2013-03-14 Joseph Myers <joseph@codesourcery.com>
21061 * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
21063 (qzero): Return -0.125 / x for arguments 0x1p28 and above.
21064 * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
21066 (qzero): Return 0.375 / x for arguments 0x1p28 and above.
21067 * math/libm-test.inc (j0_test): Do not allow one spurious
21068 underflow exception.
21069 (y1_test): Likewise.
21071 2013-03-14 Siddhesh Poyarekar <siddhesh@redhat.com>
21073 * manual/Makefile (chapters): Add nptl.
21074 * manual/debug.texi (Debugging Support): Add link to Threads
21076 * manual/nptl.texi: New file.
21078 * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
21080 2013-03-14 Petr Baudis <pasky@ucw.cz>
21082 * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
21083 for non-NULL pointer before the memory validity test. Pointed
21084 out by Holger Brunck <holger.brunck@keymile.com>.
21086 2013-03-13 Andreas Schwab <schwab@suse.de>
21088 * extra-lib.mk (extra-objs): Add static-only-routines as .oS
21091 2013-03-13 Joseph Myers <joseph@codesourcery.com>
21093 * timezone/zic.c: Update from tzcode 2013b.
21095 2013-03-12 Carlos O'Donell <carlos@redhat.com>
21097 * manual/install.texi (Configuring and compiling):
21098 Mention i686 and i586.
21099 * INSTALL: Regenerate.
21101 2013-03-12 Roland McGrath <roland@hack.frob.com>
21103 * sysdeps/init_array/elf-init.c: New file.
21105 (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
21106 (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
21108 * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
21109 __gmon_start__ as global, but as static with a .preinit_array pointer.
21110 * sysdeps/init_array/gmon-start.c: New file. Use that.
21111 * sysdeps/init_array/crti.S: New file, empty except for comments.
21112 * sysdeps/init_array/crtn.S: Likewise.
21114 2013-03-11 Ondřej Bílka <neleai@seznam.cz>
21116 * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
21118 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
21119 Remove Prefer_SSE_for_memop.
21120 * sysdeps/x86_64/multiarch/init-arch.h: Remove
21121 bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
21122 HAS_PREFER_SSE_FOR_MEMOP.
21123 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
21125 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
21126 Remove bzero, memset ifunc support.
21127 * sysdeps/x86_64/multiarch/bzero.S: Remove file.
21128 * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
21129 * sysdeps/x86_64/multiarch/memset.S: Likewise.
21130 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
21132 2013-03-11 Andreas Schwab <schwab@suse.de>
21135 * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
21137 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
21138 (GLIBC_2.16): Remove pthread_atfork.
21140 2013-03-08 Paul Pluzhnikov <ppluzhnikov@google.com>
21142 * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
21143 (ptestcases.h): Likewise.
21145 2013-03-08 Roland McGrath <roland@hack.frob.com>
21147 * Makeconfig ($(common-objpfx)config.status): Depend on
21148 sysdeps/*/preconfigure{,.in} too.
21150 2013-03-08 Joseph Myers <joseph@codesourcery.com>
21152 * malloc/malloc.h (__malloc_ptr_t): Remove macro.
21153 (__free_hook): Use void * instead of __malloc_ptr_t.
21154 (__malloc_hook): Likewise.
21155 (__realloc_hook): Likewise.
21156 (__memalign_hook): Likewise.
21157 (__after_morecore_hook): Likewise.
21158 * malloc/arena.c (save_malloc_hook): Likewise.
21159 (save_free_hook): Likewise.
21160 * malloc/hooks.c (malloc_hook_ini): Likewise.
21161 (realloc_hook_ini): Likewise.
21162 (memalign_hook_ini): Likewise.
21163 * malloc/malloc.c (malloc_hook_ini): Likewise.
21164 (realloc_hook_ini): Likewise.
21165 (memalign_hook_ini): Likewise.
21166 (__free_hook): Likewise.
21167 (__malloc_hook): Likewise.
21168 (__realloc_hook): Likewise.
21169 (__memalign_hook): Likewise.
21170 (__libc_malloc): Likewise.
21171 (__libc_free): Likewise.
21172 (__libc_realloc): Likewise.
21173 (__libc_memalign): Likewise.
21174 (__libc_valloc): Likewise.
21175 (__libc_pvalloc): Likewise.
21176 (__libc_calloc): Likewise.
21177 (__posix_memalign): Likewise.
21178 * malloc/morecore.c (__sbrk): Likewise.
21179 (__default_morecore): Likewise.
21181 * malloc/morecore.c (__default_morecore): Use ISO C prototype.
21183 * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
21184 * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
21185 __malloc_ptrdiff_t.
21187 * malloc/malloc.h (__malloc_size_t): Remove macro.
21188 * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
21190 (old_memalign_hook): Likewise.
21191 (old_realloc_hook): Likewise.
21192 (struct hdr): Likewise.
21194 (mallochook): Likewise.
21195 (memalignhook): Likewise.
21196 (reallochook): Likewise.
21197 * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
21198 (tr_old_realloc_hook): Likewise.
21199 (tr_old_memalign_hook): Likewise.
21200 (tr_mallochook): Likewise.
21201 (tr_reallochook): Likewise.
21202 (tr_memalignhook): Likewise.
21204 2013-03-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21206 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
21207 default_ldbl_pack and using as default implementation.
21208 (ldbl_unpack): Rename to default_ldbl_unpack and using as default
21210 * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
21211 redundant definition.
21212 (ldbl_insert_mantissa): Likewise.
21213 (ldbl_canonicalize): Likewise.
21214 (ldbl_nearbyint): Likewise.
21215 (ldbl_pack): Rename to ldbl_pack_ppc.
21216 (ldbl_unpack): Rename to ldbl_unpack_ppc.
21217 * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
21218 * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
21220 2013-03-08 Siddhesh Poyarekar <siddhesh@redhat.com>
21222 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
21223 * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
21224 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
21225 * sysdeps/powerpc/power4/fpu/Makefile: ... here.
21226 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
21227 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
21228 * sysdeps/powerpc/powerpc32/power4/Implies: New file.
21229 * sysdeps/powerpc/powerpc64/power4/Implies: New file.
21231 2013-03-07 Andreas Jaeger <aj@suse.de>
21233 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
21236 2013-03-07 Siddhesh Poyarekar <siddhesh@redhat.com>
21238 * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
21239 Include mpa.h and declare __MPEXP.
21240 [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
21241 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
21242 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
21243 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
21244 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
21245 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
21246 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
21248 * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
21249 (__slowpow): Use long double EXPL and LOGL functions to
21251 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
21252 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
21253 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
21254 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
21255 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
21256 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
21258 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
21259 intermediate variable to calculate exponent.
21261 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
21265 * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
21266 [!NO__SQR]: Define __sqr.
21267 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
21268 and NO__SQR. Remove all code except __mul and __sqr. Include
21269 sysdeps/ieee754/dbl-64/mpa.c.
21270 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
21273 * posix/Makefile (tests): Add tst-pathconf.
21274 * posix/tst-pathconf.c: New test case.
21275 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
21277 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
21279 2013-03-06 Patsy Franklin <pfrankli@redhat.com>
21281 * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
21283 2013-03-06 Andreas Jaeger <aj@suse.de>
21285 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
21286 definition via __MAP_ANONYMOUS.
21288 * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
21289 it's not part of Linux headers.
21291 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
21292 (MAP_HUGE_MASK): Define.
21294 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
21296 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
21297 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
21299 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
21300 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
21302 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
21303 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
21305 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
21307 * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
21308 * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
21309 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
21310 * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
21311 * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
21312 * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
21314 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
21317 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
21318 Handle f2fs and efivarfs.
21320 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
21323 * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
21324 (EFIVARFS_MAGIC): Add.
21325 (F2FS_LINK_MAX): Add.
21327 2013-03-06 Paul Pluzhnikov <ppluzhnikov@google.com>
21329 * stdio-common/vfprintf.c: Replace __builtin_expect with
21332 2013-03-06 Joseph Myers <joseph@codesourcery.com>
21335 * sysdeps/generic/bp-sym.h: Remove file.
21336 * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
21337 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
21338 <bp-sym.h> and <bp-asm.h>.
21339 (__longjmp): Don't use BP_SYM.
21340 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
21342 (memcpy): Don't use BP_SYM.
21343 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
21344 <bp-sym.h> and <bp-asm.h>.
21345 (memcpy): Don't use BP_SYM.
21346 * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
21348 (memcpy): Don't use BP_SYM.
21349 * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
21351 (memset): Don't use BP_SYM.
21352 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
21353 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
21354 (__bzero): Don't use BP_SYM.
21355 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
21356 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
21357 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
21358 <bp-sym.h> and <bp-asm.h>.
21359 (memcmp): Don't use BP_SYM. Remove comment about bounded
21361 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
21362 <bp-sym.h> and <bp-asm.h>.
21363 (memcpy): Don't use BP_SYM.
21364 * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
21365 <bp-sym.h> and <bp-asm.h>.
21366 (memset): Don't use BP_SYM.
21367 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
21368 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
21369 (__bzero): Don't use BP_SYM.
21370 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
21371 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
21372 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
21373 <bp-sym.h> and <bp-asm.h>.
21374 (strncmp): Don't use BP_SYM. Remove comment about bounded
21376 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
21377 <bp-sym.h> and <bp-asm.h>.
21378 (memcpy): Don't use BP_SYM.
21379 * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
21380 <bp-sym.h> and <bp-asm.h>.
21381 (memset): Don't use BP_SYM.
21382 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
21383 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
21384 (__bzero): Don't use BP_SYM.
21385 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
21386 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
21387 * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
21388 <bp-sym.h> and <bp-asm.h>.
21389 (__memchr): Don't use BP_SYM.
21390 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
21391 <bp-sym.h> and <bp-asm.h>.
21392 (memcmp): Don't use BP_SYM. Remove comment about bounded
21394 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
21395 <bp-sym.h> and <bp-asm.h>.
21396 (memcpy): Don't use BP_SYM.
21397 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
21398 <bp-sym.h> and <bp-asm.h>.
21399 (__mempcpy): Don't use BP_SYM.
21400 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
21401 <bp-sym.h> and <bp-asm.h>.
21402 (__memrchr): Don't use BP_SYM.
21403 * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
21404 <bp-sym.h> and <bp-asm.h>.
21405 (memset): Don't use BP_SYM.
21406 (__bzero): Likewise.
21407 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
21408 <bp-sym.h> and <bp-asm.h>.
21409 (__rawmemchr): Don't use BP_SYM.
21410 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
21411 <bp-sym.h> and <bp-asm.h>.
21412 (__STRCMP): Don't use BP_SYM.
21413 * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
21414 <bp-sym.h> and <bp-asm.h>.
21415 (strchr): Don't use BP_SYM.
21416 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
21417 <bp-sym.h> and <bp-asm.h>.
21418 (__strchrnul): Don't use BP_SYM.
21419 * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
21420 <bp-sym.h> and <bp-asm.h>.
21421 (strlen): Don't use BP_SYM.
21422 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
21423 <bp-sym.h> and <bp-asm.h>.
21424 (strncmp): Don't use BP_SYM. Remove comment about bounded
21426 * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
21427 <bp-sym.h> and <bp-asm.h>.
21428 (__strnlen): Don't use BP_SYM.
21429 * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
21430 <bp-sym.h> and <bp-asm.h>.
21431 (__GI__setjmp): Don't use BP_SYM.
21432 (_setjmp): Likewise.
21433 (__sigsetjmp): Likewise.
21434 * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
21435 (L(start_addresses)): Don't use BP_SYM.
21436 (_start): Likewise.
21437 * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
21439 (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
21440 STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
21441 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
21442 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
21443 * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
21445 (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
21446 CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE. Remove comment
21447 about bounded pointers.
21448 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
21449 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
21450 * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
21452 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
21453 about bounded pointers. Remove GKM FIXME comments.
21454 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
21455 * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
21457 (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
21458 STORE_RETURN_BOUNDS. Remove comment about bounded pointers.
21459 Remove GKM FIXME comments.
21460 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
21461 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
21462 * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
21464 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
21465 about bounded pointers. Remove GKM FIXME comment.
21466 * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
21468 (strncmp): Don't use BP_SYM. Remove comment about bounded
21470 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
21471 <bp-sym.h> and <bp-asm.h>.
21472 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
21473 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
21474 <bp-sym.h> and <bp-asm.h>.
21475 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
21478 2013-03-05 Paul Pluzhnikov <ppluzhnikov@google.com>
21480 * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
21483 2013-03-05 David S. Miller <davem@davemloft.net>
21485 * po/es.po: Update from translation team.
21487 2013-03-05 Andreas Jaeger <aj@suse.de>
21489 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
21490 <bits/mman-linux.h>.
21491 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
21493 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
21494 <bits/mman-linux.h> to end of file.
21495 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
21497 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
21498 <bits/mman-linux.h> to end of file.
21499 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
21501 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
21502 <bits/mman-linux.h> to end of file.
21504 * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
21505 (MCL_CURRENT, MCL_FUTURE): Define here.
21507 2013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
21510 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
21512 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
21514 2013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
21516 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
21517 fourth parameter needed for rt_sigprocmask syscall.
21518 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
21519 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
21520 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
21521 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
21522 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
21523 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
21525 2013-03-04 Joseph Myers <joseph@codesourcery.com>
21528 * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
21529 comment about bounded pointers.
21530 * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
21531 * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
21533 2013-03-04 Andreas Jaeger <aj@suse.de>
21535 * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
21536 common definitions.
21538 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
21539 provided by bits/mman-linux.h and include <bits/mman-linux.h>.
21540 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
21541 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
21542 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
21543 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
21545 2013-03-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21548 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
21549 __ieee754_sqrl instead of __sqrl.
21551 2013-03-01 Joseph Myers <joseph@codesourcery.com>
21553 * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
21554 * sysdeps/powerpc/fpu_control.h: ... here.
21555 * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
21556 * sysdeps/powerpc/bits/fenvinline.h: ... here.
21557 * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
21558 * sysdeps/powerpc/bits/mathinline.h: ... here.
21560 2013-03-01 Roland McGrath <roland@hack.frob.com>
21562 * elf/dl-hwcaps.c (_dl_important_hwcaps):
21563 Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
21564 to just [NEED_DL_SYSINFO_DSO].
21565 * elf/dl-support.c: Likewise.
21566 * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
21567 * elf/rtld.c (dl_main): Likewise.
21568 * elf/setup-vdso.h (setup_vdso): Likewise.
21569 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
21570 * sysdeps/unix/sysv/linux/dl-sysdep.c
21571 (_dl_discover_osversion): Likewise.
21573 2013-03-01 Carlos O'Donell <carlos@redhat.com>
21575 * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
21576 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
21578 2013-03-01 Siddhesh Poyarekar <siddhesh@redhat.com>
21580 * NEWS: Mention libm performance improvements and non-x86 PI
21583 * csu/libc-start.c (__pthread_initialize_minimal): Change
21584 function arguments.
21585 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
21587 2013-02-28 Joseph Myers <joseph@codesourcery.com>
21590 * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
21591 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
21592 <bp-sym.h> and <bp-asm.h>.
21593 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
21594 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
21596 (memcpy): Don't use BP_SYM.
21597 * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
21599 (__mpn_add_n): Don't use BP_SYM.
21600 (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
21601 * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
21603 (__mpn_addmul_1): Don't use BP_SYM.
21604 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
21605 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
21607 (_setjmp): Don't use BP_SYM.
21608 (__novmx_setjmp): Likewise.
21609 (__GI__setjmp): Likewise.
21610 (__vmx_setjmp): Likewise.
21611 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
21613 * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
21614 (__bzero): Don't use BP_SYM.
21615 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
21616 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
21617 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
21618 <bp-sym.h> and <bp-asm.h>.
21619 (memcpy): Don't use BP_SYM.
21620 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
21621 <bp-sym.h> and <bp-asm.h>.
21622 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
21623 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
21624 <bp-sym.h> and <bp-asm.h>.
21625 (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
21626 * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
21628 (__mpn_lshift): Don't use BP_SYM.
21629 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
21630 * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
21632 (memset): Don't use BP_SYM.
21633 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
21634 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
21635 * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
21637 (__mpn_mul_1): Don't use BP_SYM.
21638 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
21639 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
21640 <bp-sym.h> and <bp-asm.h>.
21641 (memcmp): Don't use BP_SYM.
21642 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
21643 <bp-sym.h> and <bp-asm.h>.
21644 (memcpy): Don't use BP_SYM.
21645 * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
21646 <bp-sym.h> and <bp-asm.h>.
21647 (memset): Don't use BP_SYM.
21648 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
21649 <bp-sym.h> and <bp-asm.h>.
21650 (strncmp): Don't use BP_SYM.
21651 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
21652 <bp-sym.h> and <bp-asm.h>.
21653 (memcpy): Don't use BP_SYM.
21654 * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
21655 <bp-sym.h> and <bp-asm.h>.
21656 (memset): Don't use BP_SYM.
21657 * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
21658 <bp-sym.h> and <bp-asm.h>.
21659 (__memchr): Don't use BP_SYM.
21660 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
21661 <bp-sym.h> and <bp-asm.h>.
21662 (memcmp): Don't use BP_SYM.
21663 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
21664 <bp-sym.h> and <bp-asm.h>.
21665 (memcpy): Don't use BP_SYM.
21666 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
21667 <bp-sym.h> and <bp-asm.h>.
21668 (__mempcpy): Don't use BP_SYM.
21669 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
21670 <bp-sym.h> and <bp-asm.h>.
21671 (__memrchr): Don't use BP_SYM.
21672 * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
21673 <bp-sym.h> and <bp-asm.h>.
21674 (memset): Don't use BP_SYM.
21675 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
21676 <bp-sym.h> and <bp-asm.h>.
21677 (__rawmemchr): Don't use BP_SYM.
21678 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
21679 <bp-sym.h> and <bp-asm.h>.
21680 (__STRCMP): Don't use BP_SYM.
21681 * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
21682 <bp-sym.h> and <bp-asm.h>.
21683 (strchr): Don't use BP_SYM.
21684 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
21685 <bp-sym.h> and <bp-asm.h>.
21686 (__strchrnul): Don't use BP_SYM.
21687 * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
21688 <bp-sym.h> and <bp-asm.h>.
21689 (strlen): Don't use BP_SYM.
21690 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
21691 <bp-sym.h> and <bp-asm.h>.
21692 (strncmp): Don't use BP_SYM.
21693 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
21694 <bp-sym.h> and <bp-asm.h>.
21695 (__strnlen): Don't use BP_SYM.
21696 * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
21698 (__mpn_rshift): Don't use BP_SYM.
21699 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
21700 * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
21701 <bp-sym.h> and <bp-asm.h>.
21702 (__sigsetjmp): Don't use BP_SYM.
21703 * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
21704 (L(start_addresses)): Don't use BP_SYM.
21705 (_start): Likewise.
21706 * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
21708 (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
21709 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
21710 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
21711 * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
21713 (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
21714 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
21715 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
21716 * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
21718 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
21720 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
21721 * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
21723 (strcpy): Don't use BP_SYM and macros from bp-asm.h. Remove GKM
21725 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
21726 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
21727 * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
21729 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
21731 * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
21733 (strncmp): Don't use BP_SYM,
21734 * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
21736 (__mpn_sub_n): Don't use BP_SYM.
21737 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
21738 * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
21740 (__mpn_submul_1): Don't use BP_SYM.
21741 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
21742 * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
21743 <bp-sym.h> and <bp-asm.h>.
21744 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
21745 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
21746 <bp-sym.h> and <bp-asm.h>.
21747 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
21750 2013-02-28 Siddhesh Poyarekar <siddhesh@redhat.com>
21752 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
21753 Use ZK to minimize writes to Z.
21754 (sub_magnitudes): Simplify code a bit.
21755 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
21756 Use ZK to minimize writes to Z.
21757 (sub_magnitudes): Simplify code a bit.
21759 2013-02-27 Roland McGrath <roland@hack.frob.com>
21761 * csu/gmon-start.c: Add special exception to license text.
21763 2013-02-27 Richard Henderson <rth@redhat.com>
21765 * scripts/config.guess: Update from config.git.
21766 * scripts/config.sub: Likewise.
21768 2013-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
21770 * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
21772 * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
21774 * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
21776 * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
21778 * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
21780 2013-02-26 Roland McGrath <roland@hack.frob.com>
21782 * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
21783 [$(build-shared = yes].
21785 2013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
21787 * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
21788 (__mul): Reduce iterations for calculating mantissa.
21790 * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
21792 (__mpranred): Likewise.
21795 * malloc/memusagestat.c (main): Draw graphs for heap and stack
21796 only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
21798 2013-02-26 Paul Eggert <eggert@cs.ucla.edu>
21800 * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
21801 Define __attribute__.
21803 2013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
21805 * locale/elem-hash.h (elem_hash): Mark as pure and possibly
21807 * posix/regex_internal.h (__attribute): Remove.
21808 [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
21809 (re_string_context_at): Likewise.
21810 (bitset_not): Use __attribute__ and mark function as possibly
21812 (bitset_merge): Likewise.
21813 (bitset_mask): Likewise.
21814 (re_string_char_size_at): Likewise.
21815 (re_string_wchar_at): Likewise.
21816 (re_string_elem_size_at): Likewise.
21818 2013-02-25 Siddhesh Poyarekar <siddhesh@redhat.com>
21820 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
21824 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
21828 (denorm): Likewise.
21829 (__dbl_mp): Likewise.
21830 (add_magnitudes): Likewise.
21831 (sub_magnitudes): Likewise.
21835 * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
21838 * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
21841 * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
21844 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
21845 up changes with default code.
21846 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
21849 2013-02-24 Allan McRae <allan@archlinux.org>
21851 * manual/socket.texi (The Internet Namespace): Order menu items
21852 to match that in the file.
21854 * manual/libc-texinfo.sh: Use @detailmenu around the detailed
21855 node listing of the info page menu.
21857 2013-02-21 Joseph Myers <joseph@codesourcery.com>
21860 * sysdeps/i386/bp-asm.h: Remove file.
21861 * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
21862 (PARMS): Do not use macros from bp-asm.h.
21866 (__mpn_add_n): Do not use BP_SYM
21867 * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
21869 (PARMS): Do not use macros from bp-asm.h.
21872 (__mpn_addmul_1): Do not use BP_SYM
21873 * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
21875 (PARMS): Do not use macros from bp-asm.h.
21876 (SIGMSK): Likewise.
21877 (_setjmp): Likewise. Do not use BP_SYM.
21878 * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
21880 (PARMS): Do not use macros from bp-asm.h.
21881 (SIGMSK): Likewise.
21882 (setjmp): Likewise. Do not use BP_SYM.
21883 * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
21885 (PARMS): Do not use macros from bp-asm.h.
21886 (__frexp): Do not use BP_SYM.
21888 * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
21890 (PARMS): Do not use macros from bp-asm.h.
21891 (__frexpf): Do not use BP_SYM.
21892 (frexpf): Likewise.
21893 * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
21895 (PARMS): Do not use macros from bp-asm.h.
21896 (__frexpl): Do not use BP_SYM.
21897 (frexpl): Likewise.
21898 * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
21900 (PARMS): Do not use macros from bp-asm.h.
21901 (__remquo): Do not use BP_SYM.
21902 (remquo): Likewise.
21903 * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
21905 (PARMS): Do not use macros from bp-asm.h.
21906 (__remquof): Do not use BP_SYM.
21907 (remquof): Likewise.
21908 * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
21910 (PARMS): Do not use macros from bp-asm.h.
21911 (__remquol): Do not use BP_SYM.
21912 (remquol): Likewise.
21913 * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
21915 (PARMS): Do not use macros from bp-asm.h.
21918 (strcat): Remove GKM FIXME comment. Do not use BP_SYM.
21919 * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
21921 (PARMS): Do not use macros from bp-asm.h.
21922 (strlen): Do not use BP_SYM.
21923 * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
21925 (PARMS): Do not use macros from bp-asm.h.
21929 (__mpn_add_n): Do not use BP_SYM.
21930 * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
21932 (PARMS): Do not use macros from bp-asm.h.
21935 (__mpn_addmul_1): Do not use BP_SYM.
21936 * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
21939 * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
21941 (PARMS): Do not use macros from bp-asm.h.
21944 (__mpn_lshift): Do not use BP_SYM.
21945 * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
21947 (PARMS): Do not use macros from bp-asm.h.
21951 (memcpy): Likewise. Do not use BP_SYM.
21952 * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
21953 libc_hidden_def and weak_alias.
21954 (mempcpy): Do not use BP_SYM in weak_alias.
21955 * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
21957 (PARMS): Do not use macros from bp-asm.h.
21960 [!BZERO_P] (CHR): Likewise.
21961 (memset): Likewise. Do not use BP_SYM.
21962 * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
21964 (PARMS): Do not use macros from bp-asm.h.
21967 (__mpn_mul_1): Do not use BP_SYM.
21968 * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
21970 (PARMS): Do not use macros from bp-asm.h.
21973 (__mpn_rshift): Do not use BP_SYM.
21974 * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
21976 (PARMS): Do not use macros from bp-asm.h.
21979 (strchr): Likewise. Do not use BP_SYM.
21980 (index): Do not use BP_SYM in weak_alias.
21981 * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
21983 (PARMS): Do not use macros from bp-asm.h.
21986 (STRCPY): Likewise. Remove GKM FIXME comment. Do not use BP_SYM.
21987 * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
21989 (PARMS): Do not use macros from bp-asm.h.
21990 (strlen): Do not use BP_SYM.
21991 * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
21993 (PARMS): Do not use macros from bp-asm.h.
21997 (__mpn_sub_n): Do not use BP_SYM.
21998 * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
22000 (PARMS): Do not use macros from bp-asm.h.
22003 (__mpn_submul_1): Do not use BP_SYM.
22004 * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
22006 (PARMS): Do not use macros from bp-asm.h.
22010 (__mpn_add_n): Do not use BP_SYM.
22011 * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
22014 * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
22016 (PARMS): Do not use macros from bp-asm.h.
22019 (memcmp): Do not use BP_SYM.
22020 (bcmp): Do not use BP_SYM in weak_alias.
22021 * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
22023 (PARMS): Do not use macros from bp-asm.h.
22027 (memcpy): Likewise. Do not use BP_SYM.
22028 * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
22030 (PARMS): Do not use macros from bp-asm.h.
22034 (memmove): Likewise. Do not use BP_SYM.
22035 * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
22037 (PARMS): Do not use macros from bp-asm.h.
22041 (__mempcpy): Likewise. Do not use BP_SYM.
22042 (mempcpy): Do not use BP_SYM in weak_alias.
22043 * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
22045 (PARMS): Do not use macros from bp-asm.h.
22048 [!BZERO_P] (CHR): Likewise.
22049 (memset): Likewise. Do not use BP_SYM.
22050 * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
22052 (PARMS): Do not use macros from bp-asm.h.
22054 (strcmp): Do not use BP_SYM.
22055 * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
22057 (PARMS): Do not use macros from bp-asm.h.
22060 [USE_AS_STRTOK_R] (SAVE): Likewise.
22061 (FUNCTION): Likewise. Do not use BP_SYM.
22062 * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
22064 (strtok_r): Likewise.
22065 (__GI___strtok_r): Likewise.
22066 * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
22067 (PARMS): Do not use macros from bp-asm.h.
22070 (__mpn_lshift): Do not use BP_SYM.
22071 * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
22072 (PARMS): Do not use macros from bp-asm.h.
22075 (__memchr): Do not use BP_SYM.
22076 (memchr): Do not use BP_SYM in weak_alias.
22077 * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
22078 (PARMS): Do not use macros from bp-asm.h.
22081 (memcmp): Do not use BP_SYM.
22082 (bcmp): Do not use BP_SYM in weak_alias.
22083 * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
22084 (PARMS): Do not use macros from bp-asm.h.
22087 (__mpn_mul_1): Do not use BP_SYM.
22088 * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
22090 (PARMS): Do not use macros from bp-asm.h.
22093 (__rawmemchr): Do not use BP_SYM.
22094 (rawmemchr): Do not use BP_SYM in weak_alias.
22095 * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
22096 (PARMS): Do not use macros from bp-asm.h.
22099 (__mpn_rshift): Do not use BP_SYM.
22100 * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
22101 (PARMS): Do not use macros from bp-asm.h.
22102 (SIGMSK): Likewise.
22103 (__sigsetjmp): Likewise. Do not use BP_SYM.
22104 * sysdeps/i386/start.S: Do not include "bp-sym.h".
22105 (_start): Do not use BP_SYM.
22106 * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
22107 (PARMS): Do not use macros from bp-asm.h.
22110 (__stpcpy): Likewise. Do not use BP_SYM.
22111 (stpcpy): Do not use BP_SYM in weak_alias.
22112 * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
22114 (PARMS): Do not use macros from bp-asm.h.
22118 (__stpncpy): Likewise. Do not use BP_SYM.
22119 (stpncpy): Do not use BP_SYM in weak_alias.
22120 * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
22121 (PARMS): Do not use macros from bp-asm.h.
22124 (strchr): Likewise. Do not use BP_SYM.
22125 * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
22127 (PARMS): Do not use macros from bp-asm.h.
22130 (__strchrnul): Likewise. Do not use BP_SYM.
22131 (strchrnul): Do not use BP_SYM in weak_alias.
22132 * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
22134 (PARMS): Do not use macros from bp-asm.h.
22136 (strcspn): Do not use BP_SYM.
22137 * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
22139 (PARMS): Do not use macros from bp-asm.h.
22142 (strpbrk): Likewise. Do not use BP_SYM.
22143 * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
22145 (PARMS): Do not use macros from bp-asm.h.
22148 (strrchr): Likewise. Do not use BP_SYM.
22149 * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
22150 (PARMS): Do not use macros from bp-asm.h.
22152 (strspn): Do not use BP_SYM.
22153 * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
22154 (PARMS): Do not use macros from bp-asm.h.
22158 (FUNCTION): Likewise. Do not use BP_SYM.
22159 * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
22161 (strtok_r): Likewise.
22162 (__GI___strtok_r): Likewise.
22163 * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
22164 (PARMS): Do not use macros from bp-asm.h.
22168 (__mpn_sub_n): Do not use BP_SYM.
22169 * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
22171 (PARMS): Do not use macros from bp-asm.h.
22174 (__mpn_submul_1): Do not use BP_SYM.
22175 * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
22177 * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
22179 (PARMS): Do not use macros from bp-asm.h.
22184 (__clone): Do not use BP_SYM.
22185 (clone): Do not use BP_SYM in weak_alias.
22186 * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
22188 (PARMS): Do not use macros from bp-asm.h.
22190 (__mmap64): Do not use BP_SYM.
22191 (mmap64): Do not use BP_SYM in weak_alias.
22192 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
22193 <bp-sym.h> and <bp-asm.h>.
22194 (PARMS): Do not use macros from bp-asm.h.
22195 (__posix_fadvise64_l64): Do not use BP_SYM.
22196 * sysdeps/unix/sysv/linux/i386/semtimedop.S
22197 (PARMS): Do not use macros from bp-asm.h.
22199 (semtimedop): Do not use BP_SYM.
22200 * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
22203 2013-02-21 Allan McRae <allan@archlinux.org>
22205 * manual/message.texi (Charset conversion in gettext):
22206 Move @end statement to beginning of line.
22208 2013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
22210 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
22212 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
22215 * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
22216 (denorm): Likewise.
22217 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
22218 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
22220 2013-02-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
22222 * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
22223 tail-call to the resolved function if pltexit isn't needed.
22225 2013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
22227 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
22228 or Y being zero as being unlikely.
22229 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
22232 2013-02-20 Carlos O'Donell <carlos@redhat.com>
22234 * manual/nss.texi (System Databases and Name Service Switch):
22235 Remove frobnicate @pxref.
22237 2013-02-20 Thomas Schwinge <thomas@codesourcery.com>
22239 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
22240 __attribute__ ((unused)) to __attribute__ ((__unused__)).
22242 2013-02-20 Petr Machata <pmachata@redhat.com>
22244 * elf/elf.h (R_ARM_TARGET1): New macro.
22245 (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
22246 (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
22247 (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
22248 (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
22249 (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
22250 (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
22251 (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
22252 (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
22253 (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
22254 (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
22255 (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
22256 (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
22257 (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
22258 (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
22259 (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
22260 (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
22261 (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
22262 (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
22263 (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
22264 (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
22265 (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
22266 (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
22267 (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
22268 (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
22269 (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
22270 (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
22271 (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
22272 (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
22273 (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
22274 (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
22275 (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
22276 (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
22277 (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
22278 (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
22279 (R_ARM_THM_GOT_BREL12): Likewise.
22280 (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
22281 (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
22282 (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
22283 (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
22284 (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
22285 (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
22286 (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
22287 (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
22288 (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
22290 2013-02-20 Thomas Schwinge <thomas@codesourcery.com>
22292 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
22293 __attribute_used__ to __attribute__ ((unused)).
22295 2013-02-20 Siddhesh Poyarekar <siddhesh@redhat.com>
22297 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
22299 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
22300 comment formatting.
22301 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
22303 2013-02-19 Joseph Myers <joseph@codesourcery.com>
22306 * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
22308 (ENTER): Remove both macro definitions.
22310 (CHECK_BOUNDS_LOW): Likewise.
22311 (CHECK_BOUNDS_HIGH): Likewise.
22312 (CHECK_BOUNDS_BOTH): Likewise.
22313 (CHECK_BOUNDS_BOTH_WIDE): Likewise.
22314 (RETURN_BOUNDED_POINTER): Likewise.
22315 (RETURN_NULL_BOUNDED_POINTER): Likewise.
22316 (PUSH_ERRNO_LOCATION_RETURN): Likewise.
22317 (POP_ERRNO_LOCATION_RETURN): Likewise.
22318 * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
22319 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
22320 * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
22322 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
22323 * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
22324 * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
22325 * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
22326 * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
22327 * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
22328 * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
22329 * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
22330 * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
22331 * sysdeps/i386/i486/strcat.S (strcat): Likewise.
22332 * sysdeps/i386/i486/strlen.S (strlen): Likewise.
22333 * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
22334 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
22335 * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
22337 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
22338 * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
22340 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
22341 * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
22342 * sysdeps/i386/i586/memset.S (memset): Likewise.
22343 * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
22344 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
22345 * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
22347 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
22348 * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
22349 Change uses of L(2) to L(out).
22350 * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
22351 * sysdeps/i386/i586/strlen.S (strlen): Likewise.
22352 * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
22353 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
22354 * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
22356 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
22357 * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
22359 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
22360 * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
22361 (RETURN): Do not use macro LEAVE.
22362 * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
22363 * sysdeps/i386/i686/memmove.S (memmove): Likewise.
22364 * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
22365 * sysdeps/i386/i686/memset.S (memset): Likewise.
22366 * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
22367 (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
22368 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
22369 * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
22371 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
22372 (FUNCTION): Do not use removed macros. Combine labels L(1_1),
22373 L(1_2) and L(1_3) into L(1).
22374 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
22375 * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
22376 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
22377 * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
22378 (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
22379 * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
22380 * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
22381 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
22382 * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
22384 * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
22385 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
22386 * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
22387 * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
22388 * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
22389 (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
22390 * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
22391 * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
22392 * sysdeps/i386/strcspn.S (strcspn): Likewise.
22393 * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
22394 * sysdeps/i386/strrchr.S (strrchr): Likewise.
22395 * sysdeps/i386/strspn.S (strspn): Likewise.
22396 * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
22398 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
22399 (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
22400 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
22401 (FUNCTION): Do not use removed macros. Combine labels L(1_2) and
22402 L(1_3) into L(1_1).
22403 * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
22404 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
22405 * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
22407 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
22409 2013-02-19 Jakub Jelinek <jakub@redhat.com>
22411 * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
22414 2013-02-19 Siddhesh Poyarekar <siddhesh@redhat.com>
22416 * math/atest-exp.c (exp_mpn): Remove ROUND.
22417 * math/atest-exp2.c (exp_mpn): Likewise.
22418 * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
22420 * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
22421 * stdlib/tst-tls-atexit-lib.c: Likewise.
22422 * stdlib/tst-tls-atexit.c: Likewise.
22424 2013-02-18 Mike Frysinger <vapier@gentoo.org>
22426 * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
22427 and __attribute_alloc_size__.
22429 2013-02-18 Mike Frysinger <vapier@gentoo.org>
22431 * include/programs/xmalloc.h: Change __attribute_alloc_size to
22432 __attribute_alloc_size__.
22433 * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
22434 * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
22436 2013-02-18 Mike Frysinger <vapier@gentoo.org>
22438 * include/programs/xmalloc.h: New file.
22439 * catgets/gencat.c: Include it.
22440 (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
22441 * elf/pldd.c: Likewise.
22442 * iconv/iconv_charmap.c: Likewise.
22443 * iconv/iconvconfig.c: Likewise.
22444 * iconv/strtab.c: Likewise.
22445 * locale/programs/locale.c: Likewise.
22446 * locale/programs/localedef.h: Likewise.
22447 * locale/programs/simple-hash.c: Likewise.
22448 * nscd/nscd.h: Likewise.
22449 * nss/makedb.c: Likewise.
22450 * sysdeps/generic/ldconfig.h: Likewise.
22452 2013-02-18 Siddhesh Poyarekar <siddhesh@redhat.com>
22454 * Versions.def: Add GLIBC_2.18.
22455 * include/link.h (struct link_map): New member l_tls_dtor_count.
22456 * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
22457 (__call_tls_dtors): Likewise.
22458 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
22459 __cxa_thread_atexit_impl.
22460 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
22462 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
22464 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
22466 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
22468 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
22469 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
22471 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
22473 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
22474 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
22476 * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
22477 (tests): Add test case tst-tls-atexit.
22478 (modules-names): Add shared library for tst-tls-atexit.
22479 * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
22480 (GLIBC_PRIVATE): Add __call_tls_dtors.
22481 * stdlib/cxa_thread_atexit_impl.c: New file with helper function
22483 * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
22484 * stdlib/tst-tls-atexit.c: New test case.
22485 * stdlib/tst-tls-atexit-lib.c: New test case.
22487 * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
22489 * elf/Versions (ld): Add _dl_find_dso_for_object.
22490 * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
22491 * elf/dl-open.c (_dl_find_dso_for_object): New function.
22492 (dl_open_worker): Use _dl_find_dso_for_object.
22493 * elf/dl-sym.c (do_sym): Likewise.
22494 * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
22496 2013-02-18 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
22498 * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
22499 Syntactic changes only.
22500 (_dl_runtime_profile): Do a tail-call to the resolved function.
22502 2013-02-17 Joseph Myers <joseph@codesourcery.com>
22505 * sysdeps/x86_64/bp-asm.h: Remove file.
22506 * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
22507 <bp-sym.h> and <bp-asm.h>.
22508 (__clone): Do not use BP_SYM.
22509 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
22510 <bp-sym.h> and <bp-asm.h>.
22511 * sysdeps/unix/x86_64/sysdep.S: Likewise.
22512 * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
22514 (_setjmp): Do not use BP_SYM.
22515 * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
22517 (setjmp): Do not use BP_SYM.
22518 * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
22520 (mempcpy): Do not use BP_SYM in weak_alias.
22521 * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
22523 (strchr): Do not use BP_SYM.
22524 * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
22526 * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
22527 * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
22528 (_start): Do not use BP_SYM.
22529 * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
22531 (strcat): Do not use BP_SYM.
22532 * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
22534 (STRCMP): Do not use BP_SYM.
22535 * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
22537 (STRCPY): Do not use BP_SYM.
22538 * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
22540 * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
22542 (FUNCTION): Do not use BP_SYM.
22543 * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
22545 (__GI___strtok_r): Do not use BP_SYM in strong_alias.
22547 2013-02-17 Andreas Jaeger <aj@suse.de>
22549 * time/Versions: Sort entries.
22550 * string/Versions: Likewise.
22551 * resolv/Versions: Likewise.
22552 * posix/Versions: Likewise.
22553 * iconv/Versions: Likewise.
22554 * elf/Versions: Likewise.
22555 * wcsmbs/Versions: Likewise.
22557 2013-02-15 Siddhesh Poyarekar <siddhesh@redhat.com>
22559 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
22560 loop termination condition.
22562 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
22563 variable to calculate EZ.
22566 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
22567 the lower precision input.
22569 2013-02-15 Joseph Myers <joseph@codesourcery.com>
22572 * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
22573 [!link-extra-libs] (link-extra-libs-bounded): Likewise.
22574 (run-via-rtld-prefix): Do not handle %-bp tests.
22575 (test-via-rtld-prefix): Do not mention %-bp tests in comment.
22576 (all-object-suffixes): Remove .ob.
22577 (bppfx): Remove variable.
22578 [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
22579 [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
22580 [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
22581 [$(build-bounded) = yes] (libtype.ob): Likewise.
22582 * Makerules (elide-routines.ob): Remove variable.
22583 (do-tests-clean): Do not handle *-bp.out.
22584 (common-mostlyclean): Do not handle *-bp and *-bp.out.
22585 * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
22586 [$(build-bounded) = yes] (xtests-bp.out): Likewise.
22587 (tests): Do not include $(tests-bp.out).
22588 (xtests): Do not include $(xtests-bp.out).
22589 [$(build-bounded) = yes] (binaries-bounded): Remove variable.
22590 [$(build-bounded) = yes] ($(addprefix
22591 $(objpfx),$(binaries-bounded))): Remove rule.
22592 ($(objpfx)%-bp.out): Remove rule.
22593 * config.make.in (build-bounded): Remove variable.
22594 * crypt/Makefile [$(build-bounded) = yes]
22595 ($(tests:%=$(objpfx)%-bp)): Remove dependency.
22596 * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
22597 append to variable.
22598 [$(build-bounded) = yes] (install-lib): Likewise.
22599 [$(build-bounded) = yes] (generated): Likewise.
22600 [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
22602 * intl/Makefile [$(build-bounded) = yes]
22603 ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
22604 * math/Makefile [$(build-bounded) = yes]
22605 ($(tests:%=$(objpfx)%-bp): Likewise.
22606 * misc/Makefile [$(build-bounded) = yes]
22607 ($(objpfx)tst-tsearch-bp): Likewise.
22608 * nptl/Makeconfig (bounded-thread-library): Remove variable.
22609 * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
22611 * string/Makefile (o-objects.ob): Remove variable.
22612 * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
22613 (CFLAGS-.ob): Remove variable.
22614 [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
22615 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
22616 both definitions of variable.
22617 * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
22618 (ASFLAGS-.ob): Remove variable.
22620 2013-02-14 Joseph Myers <joseph@codesourcery.com>
22623 * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
22624 Remove __BOUNDED_POINTERS__ from condition.
22625 * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
22626 * string/bits/string2.h [!__NO_STRING_INLINES &&
22627 !__BOUNDED_POINTERS__]: Likewise.
22628 * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
22630 * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
22631 Remove conditional code.
22632 * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
22633 __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
22634 !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
22638 * csu/libc-start.c: Do not include <bp-sym.h>.
22639 [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
22640 * elf/dl-open.c: Do not include <bp-sym.h>.
22641 (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
22642 * math/fegetenv.c: Do not include <bp-sym.h>.
22643 (fegetenv): Do not use BP_SYM in versioned symbols.
22644 * nptl/sysdeps/pthread/bits/libc-lockP.h
22645 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
22647 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
22648 (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
22649 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
22650 (__pthread_mutex_destroy): Likewise.
22651 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
22652 (__pthread_mutex_lock): Likewise.
22653 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
22654 (__pthread_mutex_trylock): Likewise.
22655 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
22656 (__pthread_mutex_unlock): Likewise.
22657 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
22658 (__pthread_mutexattr_init): Likewise.
22659 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
22660 (__pthread_mutexattr_destroy): Likewise.
22661 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
22662 (__pthread_mutexattr_settype): Likewise.
22663 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
22664 (__pthread_rwlock_init): Likewise.
22665 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
22666 (__pthread_rwlock_destroy): Likewise.
22667 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
22668 (__pthread_rwlock_rdlock): Likewise.
22669 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
22670 (__pthread_rwlock_tryrdlock): Likewise.
22671 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
22672 (__pthread_rwlock_wrlock): Likewise.
22673 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
22674 (__pthread_rwlock_trywrlock): Likewise.
22675 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
22676 (__pthread_rwlock_unlock): Likewise.
22677 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
22678 (__pthread_key_create): Likewise.
22679 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
22680 (__pthread_setspecific): Likewise.
22681 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
22682 (__pthread_getspecific): Likewise.
22683 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
22685 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
22686 (_pthread_cleanup_push_defer): Likewise.
22687 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
22688 (_pthread_cleanup_pop_restore): Likewise.
22689 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
22690 (pthread_setcancelstate): Likewise.
22691 * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
22693 [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
22694 (memchr): Do not use BP_SYM in weak_alias.
22695 * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
22696 (fegetenv): Do not use BP_SYM in versioned symbols.
22697 * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
22698 (fesetenv): Do not use BP_SYM in versioned symbols.
22699 * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
22700 (feupdateenv): Do not use BP_SYM in versioned symbols.
22701 * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
22702 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
22703 * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
22704 (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
22705 (open64): Do not use BP_SYM in weak_alias.
22706 * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
22707 (fegetenv): Do not use BP_SYM in versioned symbols.
22708 * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
22709 (fesetenv): Do not use BP_SYM in versioned symbols.
22710 * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
22711 (feupdateenv): Do not use BP_SYM in versioned symbols.
22712 * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
22713 (fegetexceptflag): Do not use BP_SYM in versioned symbols.
22714 * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
22715 (feraiseexcept): Do not use BP_SYM in versioned symbols.
22716 * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
22717 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
22718 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
22720 (__libc_start_main): Do not use BP_SYM.
22722 2013-02-14 Siddhesh Poyarekar <siddhesh@redhat.com>
22724 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
22725 redundant return line.
22727 (denorm): Likewise.
22728 (dbl_mp): Likewise.
22729 (sub_magnitudes): Likewise.
22735 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
22737 (denorm): Likewise.
22738 (dbl_mp): Likewise.
22739 (sub_magnitudes): Likewise.
22746 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
22748 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
22749 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
22752 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
22753 * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
22754 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
22755 of __mul for squares.
22756 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
22758 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
22760 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
22761 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
22763 2013-02-13 Joseph Myers <joseph@codesourcery.com>
22766 * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
22768 * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
22769 prototype or function definition. Rename ubp_* variables and
22770 parameters. Remove argv definitions conditional on
22771 [__BOUNDED_POINTERS__].
22772 * debug/backtrace.c (__backtrace): Do not use __unbounded.
22773 * elf/dl-runtime.c (_dl_fixup): Likewise.
22774 * include/set-hooks.h (RUN_HOOK): Likewise.
22775 * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
22777 * string/strcpy.c (strcpy): Do not use __unbounded.
22778 * sysdeps/generic/frame.h (struct layout): Likewise.
22779 * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
22780 * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
22781 * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
22782 * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
22783 * sysdeps/sparc/backtrace.c (struct layout): Likewise.
22784 (__backtrace): Likewise.
22785 * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
22787 * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
22788 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
22789 * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
22791 * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
22792 * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
22793 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
22794 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
22795 * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
22796 Do not use __unbounded.
22797 * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
22798 Rename __unboundedrlimits parameter to rlimits in prototype.
22799 * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
22800 Do not use __unbounded.
22801 * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
22802 not use __ptrvalue.
22803 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
22804 * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
22805 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
22806 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
22807 __ptrvalue or __unbounded.
22808 (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
22809 * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
22811 (__new_msgctl): Do not use __ptrvalue.
22812 * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
22814 (__libc_msgrcv): Do not use __ptrvalue.
22815 * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
22816 startup_info): Do not use __unbounded.
22817 (__libc_start_main): Likewise. Rename ubp_* variables and
22818 parameters. Remove argv definitions conditional on
22819 [__BOUNDED_POINTERS__].
22820 * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
22822 * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
22824 * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
22826 * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
22828 (__new_shmctl): Do not use __ptrvalue.
22829 * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
22830 * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
22832 * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
22833 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
22834 (__libc_sigaction): Likewise.
22835 * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
22836 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
22838 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
22840 2013-02-13 Ondřej Bílka <neleai@seznam.cz>
22842 * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
22844 * string/mempcpy.c: Implement by calling memcpy.
22846 2013-02-13 Siddhesh Poyarekar <siddhesh@redhat.com>
22848 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
22850 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
22853 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
22854 values in the mantissa.
22856 * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
22857 minimize writes to Z.
22858 (sub_magnitudes): Simplify code a bit.
22860 2013-02-12 Roland McGrath <roland@hack.frob.com>
22862 * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
22863 from the message. The linker prefixes all warnings with that already.
22865 2013-02-12 Andreas Schwab <schwab@suse.de>
22868 * posix/regexec.c (extend_buffers): Add parameter min_len.
22869 (check_matching): Pass minimum needed length.
22870 (clean_state_log_if_needed): Likewise.
22871 (get_subexp): Likewise.
22872 * posix/Makefile (tests): Add bug-regex34.
22873 (bug-regex34-ENV): Define.
22874 * posix/bug-regex34.c: New file.
22877 * posix/regcomp.c (parse_bracket_exp): When looking up collating
22878 elements compare against the byte sequence of it, not its name.
22879 * posix/Makefile (tests): Add bug-regex35.
22880 (bug-regex35-ENV): Define.
22881 * posix/bug-regex35.c: New file.
22883 2013-02-11 Tom de Vries <tom@codesourcery.com>
22885 * string/str-two-way.h: Fix typo RESULT_TYPE -> RETURN_TYPE in
22887 Add RET0_IF_0 and CHECK_EOL to macro list in comment.
22888 (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
22889 (CHECK_EOL): Add undef.
22891 2013-02-11 Ondřej Bílka <neleai@seznam.cz>
22893 * bits/stdlib-bsearch.h: New file.
22894 * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
22895 * stdlib/stdlib.h: Likewise.
22897 2013-02-11 Roland McGrath <roland@hack.frob.com>
22899 * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
22900 * manual/errno.texi (Error Messages): Fix typo in error_print_progname
22902 * manual/search.texi (Array Search Function): Add missing const in
22904 * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
22905 declaration to use rlim_t.
22906 (Basic Scheduling Functions): Remove erroneous const from
22907 sched_getparam prototype. Remove erroneous * from
22908 sched_get_priority_max and sched_get_priority_min prototypes.
22909 (Resource Usage): Fix summary @comment on vtimes to refer to
22910 sys/vtimes.h rather than vtimes.h.
22911 Add missing *s in vtimes prototype.
22912 (Limits on Resources): Fix ulimit prototype to return long int.
22913 * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
22914 prototypes to use long int rather than double.
22915 (BSD Random): Fix initstate and setstate to use char *, not void *.
22916 * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
22917 prototype to make second argument 'struct aiocb64 *const[]'.
22918 Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
22919 (Status of AIO Operations): Remove erroneous const in aio_return and
22920 aio_return64 prototypes.
22921 (Synchronizing I/O): Fix sync prototype to return void.
22922 * manual/startup.texi (Suboptions): Remove an erroneous const in
22923 getsubopt prototype.
22924 * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
22925 * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
22926 use size_t rather than int.
22927 (Scanning All Users): Likewise for getpwent_r.
22928 (Setting Groups): Add missing const to setgroups prototype.
22929 * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
22930 * manual/socket.texi (Host Names): Fix gethostbyaddr and
22931 gethostbyaddr_r prototypes to use socklen_t rather than size_t and
22932 'const void *' rather than 'const char *'.
22933 (Host Address Functions): Likewise for inet_ntop.
22934 (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
22935 (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
22936 ssize_t for return value.
22937 (Sending Data): Likewise for send, sendto, sendmsg.
22938 (Socket Option Functions): Add a missing const in setsockopt prototype.
22939 * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
22940 use wchar_t for the argument.
22941 (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
22942 * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
22944 (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
22945 double/float/long double for second argument.
22946 Fix return types of significand, significandf, significandl.
22947 * manual/filesys.texi (Setting Permissions): Use mode_t for second
22948 argument in fchmod prototype.
22949 (File Owner): Use uid_t and gid_t in fchown prototype.
22950 (File Times): Add const to utimes, futimes, and lutimes prototypes.
22951 (Making Special Files): Use mode_t and dev_t in mknod prototype.
22952 (Scanning Directory Content): Fix scandir and scandir64 prototypes to
22953 use 'const struct dirent **' as argument types to CMP function pointer
22955 (Symbolic Links): Fix readlink prototype with ssize_t as return value.
22956 (File Times): Fix summary magic @comment for struct utimbuf and utime
22957 to refer to utime.h, not time.h.
22958 * manual/string.texi (Argz Functions): Add missing const in
22959 argz_extract and argz_next prototypes.
22960 (Finding Tokens in a String): Likewise for basename.
22961 (String/Array Comparison): Fix typo in wcscasecmp prototype.
22962 (Copying and Concatenation): Fix typo in wmemmove prototype.
22963 * manual/signal.texi (Using Pause): Use (void) in pause prototype.
22964 (Signal Stack): Remove erroneous const in sigstack prototype.
22965 * manual/time.texi (Setting an Alarm): Add missing const in setitimer
22967 (Simple Calendar Time): Likewise for stime.
22968 * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
22970 * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
22971 say sys/sysctl.h instead.
22972 * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
22973 and vsyslog prototypes.
22975 2013-02-11 Tom de Vries <tom@codesourcery.com>
22977 * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
22980 2013-02-11 Roland McGrath <roland@hack.frob.com>
22982 * misc/sys/mman.h: Fix typo in mremap comment.
22984 2013-02-08 Roland McGrath <roland@hack.frob.com>
22986 * manual/examples/mkfsock.c (make_named_socket): Don't add one for
22987 the '\0' terminator.
22989 2013-02-08 Joseph Myers <joseph@codesourcery.com>
22992 * debug/segfault.c: Don't include <bp-checks.h>.
22993 * sysdeps/generic/bp-checks.h: Remove file.
22994 * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
22995 (__GETDENTS): Don't use CHECK_N.
22996 * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
22997 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
22998 (__getgroups): Don't use CHECK_N.
22999 * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
23000 (setgroups): Don't use CHECK_N.
23001 * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
23002 * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
23003 (__libc_msgrcv): Don't use CHECK_N.
23004 * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
23005 (__libc_msgsnd): Don't use CHECK_N.
23006 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
23008 (__libc_pread): Don't use CHECK_N.
23009 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
23010 include <bp-checks.h>.
23011 (__libc_pread64): Don't use CHECK_N.
23012 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
23013 include <bp-checks.h>.
23014 (__libc_pwrite): Don't use CHECK_N.
23015 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
23016 include <bp-checks.h>.
23017 (__libc_pwrite64): Don't use CHECK_N.
23018 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
23020 (__libc_pread): Don't use CHECK_N.
23021 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
23022 include <bp-checks.h>.
23023 (__libc_pread64): Don't use CHECK_N.
23024 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
23025 include <bp-checks.h>.
23026 (__libc_pwrite): Don't use CHECK_N.
23027 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
23028 include <bp-checks.h>.
23029 (__libc_pwrite64): Don't use CHECK_N.
23030 * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
23031 (do_pread): Don't use CHECK_N.
23032 * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
23033 (do_pread64): Don't use CHECK_N.
23034 * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
23035 (do_pwrite): Don't use CHECK_N.
23036 * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
23037 (do_pwrite64): Don't use CHECK_N.
23038 * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
23039 (__libc_readv): Don't use CHECK_N.
23040 * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
23041 (semop): Don't use CHECK_N.
23042 * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
23044 (semtimedop): Don't use CHECK_N.
23045 * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
23046 (__libc_pread): Don't use CHECK_N.
23047 * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
23049 (__libc_pread64): Don't use CHECK_N.
23050 * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
23052 (__libc_pwrite): Don't use CHECK_N.
23053 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
23055 (__libc_pwrite64): Don't use CHECK_N.
23056 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
23058 (__libc_msgrcv): Don't use CHECK_N.
23059 * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
23060 (__sysctl): Don't use CHECK_N. Remove GKM FIXME comment.
23061 * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
23062 (__libc_writev): Don't use CHECK_N.
23064 2013-02-08 Roland McGrath <roland@hack.frob.com>
23066 * string/strcpy.c: Removed unused variable.
23068 * Makeconfig (+sysdep-includes): Define with := rather than =.
23069 Use an existing include/ subdir of each sysdeps dir before it.
23071 2013-02-08 Carlos O'Donell <carlos@redhat.com>
23073 * nscd/connection.c (register_traced_file): Comment function.
23074 [HAVE_INOTIFY] (union __inev): Define.
23075 [HAVE_INOTIFY] (inotify_check_files): New function.
23076 [HAVE_INOTIFY] (clear_db_cache): Likewise.
23077 [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
23079 [HAVE_INOTIFY] (main_loop_epoll): Likewise.
23081 2013-02-08 Carlos O'Donell <carlos@redhat.com>
23083 * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
23084 loaded if not already and that a failure is permanent.
23086 2013-02-08 Carlos O'Donell <carlos@redhat.com>
23089 * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
23090 * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
23092 2013-02-08 Joseph Myers <joseph@codesourcery.com>
23095 * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
23096 (CHECK_1_NULL_OK): Likewise.
23097 * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
23098 (__fxstat): Do not use CHECK_1.
23099 * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
23101 (___fxstat64): Do not use CHECK_1.
23102 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
23104 (__fxstatat): Do not use CHECK_1.
23105 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
23107 (__fxstatat64): Do not use CHECK_1.
23108 * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
23110 (__fxstat): Do not use CHECK_1.
23111 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
23113 (__fxstatat): Do not use CHECK_1.
23114 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
23116 (__getresgid): Do not use CHECK_1.
23117 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
23119 (__getresuid): Do not use CHECK_1.
23120 * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
23122 (__lxstat): Do not use CHECK_1.
23123 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
23125 (__old_msgctl): Do not use CHECK_1.
23126 (__new_msgctl): Likewise.
23127 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
23129 (__new_setrlimit): Do not use CHECK_1.
23130 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
23132 (__old_shmctl): Do not use CHECK_1.
23133 (__new_shmctl): Likewise.
23134 * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
23136 (__xstat): Do not use CHECK_1.
23137 * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
23138 (__lxstat): Do not use CHECK_1.
23139 * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
23141 (___lxstat64): Do not use CHECK_1.
23142 * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
23143 (__old_msgctl): Do not use CHECK_1.
23144 (__new_msgctl): Likewise.
23145 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
23147 (__gettimeofday): Do not use CHECK_1.
23148 * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
23149 (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
23150 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
23152 (__gettimeofday): Do not use CHECK_1.
23153 * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
23154 (__old_shmctl): Do not use CHECK_1_NULL_OK.
23155 (__new_shmctl): Do not use CHECK_1.
23156 * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
23158 (do_sigtimedwait): Do not use CHECK_1.
23159 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
23161 (do_sigwaitinfo): Do not use CHECK_1.
23162 * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
23164 (msgctl): Do not use CHECK_1.
23165 * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
23167 (shmctl): Do not use CHECK_1.
23168 * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
23169 (ustat): Do not use CHECK_1.
23170 * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
23172 (__fxstat): Do not use CHECK_1.
23173 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
23175 (__fxstatat): Do not use CHECK_1.
23176 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
23178 (__lxstat): Do not use CHECK_1.
23179 * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
23181 (__xstat): Do not use CHECK_1.
23182 * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
23183 (__xstat): Do not use CHECK_1.
23184 * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
23185 (___xstat64): Do not use CHECK_1.
23188 * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
23190 (CHECK_BOUNDS_HIGH): Likewise.
23191 * string/strcpy.c: Do not include <bp-checks.h>.
23192 (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
23194 2013-02-07 Roland McGrath <roland@hack.frob.com>
23196 * nscd/nscd-client.h (__nscd_drop_map_ref):
23197 Add __attribute__ ((unused)).
23198 * nis/nss-nisplus.h (niserr2nss): Likewise.
23200 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
23201 under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
23203 * csu/libc-tls.c (init_static_tls, init_slotinfo):
23204 Remove inline keyword.
23205 * include/rounding-mode.h (round_away): Likewise.
23206 * libio/wfileops.c (adjust_wide_data): Likewise.
23207 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
23208 (__m128i_strloadu_tolower): Likewise.
23209 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
23210 (__m128i_strloadu_tolower): Likewise.
23211 * time/mktime.c (ydhms_diff): Likewise.
23212 * locale/elem-hash.h (elem_hash): Likewise.
23213 * locale/setlocale.c (setdata): Likewise.
23214 * posix/regex_internal.h (re_string_char_size_at): Likewise.
23215 (re_string_wchar_at): Likewise.
23216 (bitset_not, bitset_merge, bitset_mask): Likewise.
23217 [!(__GNUC__ > 3)] (inline): Remove macro.
23218 * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
23219 * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
23220 * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
23221 (_dl_tlsdesc_wake_up_held_fixups): Likewise.
23222 * string/memcmp.c (memcmp_bytes): Likewise.
23223 * locale/programs/locarchive.c (compute_hashval): Likewise.
23224 * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
23225 * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
23226 * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
23227 * nss/getent.c (print_rpc, print_protocols): Likewise.
23228 (print_passwd, print_group, print_aliases): Likewise.
23229 * nis/nss-nisplus.h (niserr2nss): Likewise.
23230 * nscd/connections.c (restart_p): Likewise.
23231 Change return type to bool.
23233 2013-02-05 Roland McGrath <roland@hack.frob.com>
23235 * Makeconfig (all-Depend-files): Add existing
23236 $(sorted-subdirs:=/Depend) files.
23237 (all-subdirs): Remove nss.
23238 * sysdeps/unix/inet/Subdirs: Add it here instead.
23239 * hesiod/Depend: New file.
23241 * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
23242 instead of calling alloca.
23244 * io/lseek.c (__lseek): Rename to __libc_lseek.
23245 Define __lseek as an alias.
23247 * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
23249 2013-02-04 Carlos O'Donell <carlos@redhat.com>
23251 * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
23252 else clause and remove check for non-standard endianness.
23254 2013-02-04 David S. Miller <davem@davemloft.net>
23256 * sysdeps/sparc/fpu/libm-test-ulps: Update.
23258 2013-02-04 Joseph Myers <joseph@codesourcery.com>
23261 * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
23262 (__ubp_memchr): Remove prototype.
23263 [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
23264 [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
23265 [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
23266 [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
23267 * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
23269 * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
23270 (__ubp_memchr): Likewise.
23271 * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
23272 (__ubp_memchr): Likewise.
23273 * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
23274 (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
23275 (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
23276 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
23278 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
23279 * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
23280 (__getcwd): Do not use CHECK_STRING.
23281 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
23283 (__real_chown): Do not use CHECK_STRING.
23284 * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
23286 (fchownat): Do not use CHECK_STRING.
23287 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
23289 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
23291 (__lchown): Do not use CHECK_STRING.
23292 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
23293 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
23294 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
23295 * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
23296 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
23297 include <bp-checks.h>.
23298 (truncate64): Do not use CHECK_STRING.
23299 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
23301 (__real_chown): Do not use CHECK_STRING.
23302 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
23304 (__lchown): Do not use CHECK_STRING.
23305 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
23307 (__chown): Do not use CHECK_STRING.
23308 * sysdeps/unix/sysv/linux/truncate64.c: Do not include
23310 (truncate64): Do not use CHECK_STRING.
23311 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
23313 * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
23314 (__xmknod): Do not use CHECK_STRING.
23315 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
23317 (__xmknodat): Do not use CHECK_STRING.
23318 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
23319 * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
23321 2013-02-04 Andreas Schwab <schwab@suse.de>
23324 * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
23325 * include/netdb.h: Likewise for h_errno.
23326 * elf/tst-stackguard1.c: Include <tls.h>.
23328 2013-02-02 Jan Kratochvil <jan.kratochvil@redhat.com>
23330 * elf/link.h (struct link_map): Extend the l_addr comment.
23331 * include/link.h (struct link_map): Likewise.
23333 2013-02-01 Joseph Myers <joseph@codesourcery.com>
23336 * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
23337 (BOUNDED_1): Remove macro.
23338 * debug/backtrace.c: Don't include <bp-checks.h>.
23339 (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
23340 (__backtrace): Likewise.
23341 * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
23343 (__backtrace): Don't use BOUNDED_1.
23344 * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
23346 (__backtrace): Don't use BOUNDED_1.
23347 * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
23348 (__backtrace): Don't use BOUNDED_1.
23349 * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
23350 (shmat): Don't use BOUNDED_N.
23352 2013-01-31 Joseph Myers <joseph@codesourcery.com>
23355 * sysdeps/generic/bp-start.h: Remove file.
23356 * csu/libc-start.c: Don't include <bp-start.h>.
23357 (LIBC_START_MAIN): Set up __environ directly instead of using
23358 INIT_ARGV_and_ENVIRON.
23359 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
23363 * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
23365 (CHECK_FCNTL): Likewise.
23366 (CHECK_N_PAGES): Likewise.
23369 * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
23371 (CHECK_SIGSET_NULL_OK): Likewise.
23372 * sysdeps/unix/sysv/linux/sigpending.c: Don't include
23374 (sigpending): Don't use CHECK_SIGSET.
23375 * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
23377 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
23378 * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
23380 (do_sigsuspend): Don't use CHECK_SIGSET.
23381 * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
23383 * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
23384 (do_sigwait): Don't use CHECK_SIGSET.
23385 * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
23387 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
23388 include <bp-checks.h>.
23389 (sigpending): Don't use CHECK_SIGSET.
23390 * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
23391 include <bp-checks.h>.
23392 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
23393 * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
23395 (sigpending): Don't use CHECK_SIGSET.
23396 * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
23398 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
23401 * sysdeps/generic/bp-semctl.h: Remove file.
23402 * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
23403 <bp-checks.h> and <bp-semctl.h>.
23404 (__old_semctl): Don't use CHECK_SEMCTL.
23405 (__new_semctl): Likewise.
23406 * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
23408 (__old_semctl): Don't use CHECK_SEMCTL.
23409 (__new_semctl): Likewise.
23410 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
23411 <bp-checks.h> and <bp-semctl.h>.
23412 (__old_semctl): Don't use CHECK_SEMCTL.
23413 (__new_semctl): Likewise.
23414 * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
23415 <bp-checks.h> and <bp-semctl.h>.
23416 (semctl): Don't use CHECK_SEMCTL.
23419 * Makerules (elide-bp-thunks): Remove variable.
23420 (elide-routines.oS): Don't use $(elide-bp-thunks).
23421 (elide-routines.os): Likewise.
23422 (elide-routines.o): Likewise.
23423 (elide-routines.op): Likewise.
23424 (elide-routines.og): Likewise.
23425 (objects): Don't use $(bp-thunks).
23426 * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
23428 (common-generated): Do not add s-proto-bp.d.
23429 * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
23432 Do not generate makefile rules for bounded-pointer thunks.
23433 * sysdeps/generic/bp-thunks.h: Remove file.
23434 * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
23435 * sysdeps/unix/s-proto-bp.S: Likewise.
23438 * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
23439 parts of result separately when argument is not close to line from
23440 -i to i and one part of argument is small.
23441 * math/k_casinhf.c (__kernel_casinhf): Likewise.
23442 * math/k_casinhl.c (__kernel_casinhl): Likewise.
23443 * math/libm-test.inc (cacos_test): Add more tests.
23444 (casin_test): Likewise.
23445 (casinh_test): Likewise.
23446 * sysdeps/i386/fpu/libm-test-ulps: Update.
23447 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23449 2013-01-31 David S. Miller <davem@davemloft.net>
23451 * po/de.po: Update from translation team.
23453 2013-01-25 Maxim Kuvyrkov <maxim.kuvyrkov@gmail.com>
23455 * time/tzfile.c: Include stdint.h for SIZE_MAX.
23457 2013-01-25 Thomas Schwinge <thomas@codesourcery.com>
23459 * configure.in (_AC_PROG_CC_C89): New definition.
23460 * configure: Regenerate.
23462 * configure.in (AC_PROG_CPP): New definition.
23463 * configure: Regenerate.
23465 2013-01-23 Joseph Myers <joseph@codesourcery.com>
23467 * debug/tst-backtrace.h: New file.
23468 * debug/tst-backtrace2.c: Include tst-backtrace.h.
23469 (ret): Remove variable.
23471 (FAIL): Remove macro.
23472 (NO_INLINE): Likewise.
23473 (fn1): Use match function instead of strstr.
23474 * debug/tst-backtrace3.c: Include tst-backtrace.h.
23475 (ret): Remove variable.
23477 (FAIL): Remove macro.
23478 (NO_INLINE): Likewise.
23479 (fn): Use match function instead of strstr.
23480 * debug/tst-backtrace4.c: Include tst-backtrace.h.
23481 (ret): Remove variable.
23483 (FAIL): Remove macro.
23484 (NO_INLINE): Likewise.
23485 (handle_signal): Use match function instead of strstr.
23486 * debug/tst-backtrace5.c: Include tst-backtrace.h.
23487 (ret): Remove variable.
23489 (FAIL): Remove macro.
23490 (NO_INLINE): Likewise.
23491 (handle_signal): Use match function instead of strstr.
23493 2013-01-23 Roland McGrath <roland@hack.frob.com>
23495 * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
23497 2013-01-23 David S. Miller <davem@davemloft.net>
23499 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
23500 (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
23501 argument of CAS if possible.
23502 * sysdeps/sparc/sparc64/bits/atomic.h
23503 (__arch_compare_and_exchange_val_32_acq): Likewise.
23504 (__arch_compare_and_exchange_val_64_acq): Likewise.
23506 2013-01-23 Pino Toscano <toscano.pino@tiscali.it>
23508 * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
23509 * sysdeps/posix/ulimit.c: ... this.
23510 Include <limits.h>.
23511 * sysdeps/unix/bsd/ulimit.c: Remove file.
23513 2013-01-23 Adam Conrad <adconrad@0c3.net>
23515 * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
23516 (LDFLAGS-tst-array5): Likewise.
23518 2013-01-23 Joseph Myers <joseph@codesourcery.com>
23521 * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
23522 based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
23523 (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
23524 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
23526 2013-01-21 David S. Miller <davem@davemloft.net>
23528 * sysdeps/sparc/backtrace.c: New file.
23529 * sysdeps/sparc/sparc32/backtrace.h: New file.
23530 * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
23531 * sysdeps/sparc/sparc64/backtrace.h: New file.
23532 * sysdeps/sparc/sparc64/backtrace.c: Delete.
23533 * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
23536 2013-01-21 Andreas Schwab <schwab@suse.de>
23539 * posix/wordexp.c (exec_comm): Avoid busy loop when command has
23542 2013-01-20 Andreas Schwab <schwab@linux-m68k.org>
23544 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
23546 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
23548 2013-01-18 Joseph Myers <joseph@codesourcery.com>
23549 Mark Mitchell <mark@codesourcery.com>
23550 Tom de Vries <tom@codesourcery.com>
23551 Paul Pluzhnikov <ppluzhnikov@google.com>
23553 * debug/tst-backtrace2.c: New file.
23554 * debug/tst-backtrace3.c: Likewise.
23555 * debug/tst-backtrace4.c: Likewise.
23556 * debug/tst-backtrace5.c: Likewise.
23557 * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
23558 (CFLAGS-tst-backtrace3.c): Likewise.
23559 (CFLAGS-tst-backtrace4.c): Likewise.
23560 (CFLAGS-tst-backtrace5.c): Likewise.
23561 (LDFLAGS-tst-backtrace2): Likewise.
23562 (LDFLAGS-tst-backtrace3): Likewise.
23563 (LDFLAGS-tst-backtrace4): Likewise.
23564 (LDFLAGS-tst-backtrace5): Likewise.
23565 (tests): Add new tests tst-backtrace2, tst-backtrace3,
23566 tst-backtrace4 and tst-backtrace5.
23568 2013-01-18 Anton Blanchard <anton@samba.org>
23569 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
23571 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
23572 __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
23573 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
23574 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
23575 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
23576 (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
23577 "+r" and remove output regs list as redundant. Add explicit inline
23578 asm to specify register of return val to work around compiler codegen
23579 bug. Remove (int) cast on return value. Add return type parameter to
23580 use in macro so that this macro does not truncate return value for
23582 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
23583 pass to INTERNAL_VSYSCALL_NCS.
23584 (INLINE_VSYSCALL): Add 'long int' as return type to
23585 INTERNAL_VSYSCALL_NCS macro invocation.
23586 (INTERNAL_VSYSCALL): Add 'long int' as return type to
23587 INTERNAL_VSYSCALL_NCS macro invocation.
23588 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
23590 2013-01-18 Siddhesh Poyarekar <siddhesh@redhat.com>
23593 * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
23594 Fix application of SIMD FP exception mask.
23596 * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
23597 mp_no from a power of two.
23598 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
23599 __mpexp_twomm1. Use __pow_mp.
23601 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
23604 2013-01-17 David S. Miller <davem@davemloft.net>
23606 * sysdeps/sparc/fpu/libm-test-ulps: Update.
23608 2013-01-17 Joseph Myers <joseph@codesourcery.com>
23611 * include/complex.h: Condition contents on [!_COMPLEX_H].
23612 (__kernel_casinhf): New prototype.
23613 (__kernel_casinh): Likewise.
23614 (__kernel_casinhl): Likewise.
23615 * math/Makefile (libm_calls): Add k_casinh.
23616 * math/k_casinh.c: New file.
23617 * math/k_casinhf.c: Likewise.
23618 * math/k_casinhl.c: Likewise.
23619 * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
23620 finite nonzero arguments.
23621 * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
23622 finite nonzero arguments.
23623 * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
23624 finite nonzero arguments.
23625 * math/s_casinh.c: Do not include <float.h>.
23626 (__casinh): Move code for finite nonzero arguments to k_casinh.c.
23627 * math/s_casinhf.c: Do not include <float.h>.
23628 (__casinhf): Move code for finite nonzero arguments to
23630 * math/s_casinhl.c: Do not include <float.h>.
23631 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
23633 (__casinhl): Move code for finite nonzero arguments to
23635 * math/libm-test.inc (cacos_test): Add more tests.
23636 * sysdeps/i386/fpu/libm-test-ulps: Update.
23637 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23639 2013-01-17 Pino Toscano <toscano.pino@tiscali.it>
23641 * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
23642 * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
23643 [!HAVE_MREMAP]: Remove [defined linux] case.
23644 * malloc/arena.c: Do not include <malloc-sysdep.h>.
23646 2013-01-17 Siddhesh Poyarekar <siddhesh@redhat.com>
23648 * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
23650 2013-01-17 H.J. Lu <hongjiu.lu@intel.com>
23652 * elf/elf.h (R_386_SIZE32): New relocation.
23653 * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
23655 (elf_machine_rela): Likewise.
23656 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
23657 R_X86_64_SIZE64 and R_X86_64_SIZE32.
23659 2013-01-17 Joseph Myers <joseph@codesourcery.com>
23661 * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
23662 (FP_FAST_FMA): Do not define.
23663 [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
23664 * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
23665 && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
23666 * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
23667 !_SOFT_FLOAT]: Likewise.
23668 * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
23669 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
23671 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
23672 [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
23673 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
23674 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
23675 [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
23676 [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
23679 2013-01-16 Andreas Schwab <schwab@suse.de>
23682 * include/stdlib.h (__mktemp): Add declaration.
23683 * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
23684 * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
23686 2013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
23688 * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
23690 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
23691 * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
23692 * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
23694 * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
23695 * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
23697 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
23699 * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
23700 * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
23701 * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
23703 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
23704 * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
23706 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
23708 * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
23710 2013-01-15 David S. Miller <davem@davemloft.net>
23712 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
23713 trunc{,f} to libm-sysdep_routes.
23714 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
23715 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
23717 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
23718 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
23720 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
23722 * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
23723 * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
23724 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
23725 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
23726 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
23727 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
23728 * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
23729 * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
23731 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
23732 nearbyint{,f} to libm-sysdep_routes.
23733 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
23734 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
23736 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
23738 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
23740 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
23742 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
23743 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
23744 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
23746 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
23747 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
23749 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
23750 * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
23751 * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
23753 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
23754 libc_feholdexcept and libc_fesetenv.
23756 2013-01-15 Mike Frysinger <vapier@gentoo.org>
23758 * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
23760 2013-01-14 David S. Miller <davem@davemloft.net>
23762 * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
23763 (SPARC_ASM_VIS2_IFUNC): Likewise.
23764 (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
23765 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
23766 use of 'siam' instruction.
23767 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
23769 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
23771 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
23773 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
23774 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
23775 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
23776 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
23777 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
23779 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
23781 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
23783 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
23785 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
23786 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
23787 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
23788 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
23789 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
23791 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
23792 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
23793 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
23795 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
23796 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
23797 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
23798 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
23799 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
23800 routines to libm-sysdep_routines.
23801 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
23803 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
23804 fdim/fdimf to libm-sysdep_routines.
23805 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
23807 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
23808 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
23810 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
23811 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
23812 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
23813 * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
23814 * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
23815 * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
23816 * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
23818 2013-01-14 Siddhesh Poyarekar <siddhesh@redhat.com>
23820 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
23821 to optimize copies.
23823 * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
23824 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
23825 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
23827 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
23828 local variable MPTWO.
23829 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
23832 2013-01-13 Mike Frysinger <vapier@gentoo.org>
23834 * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
23837 2013-01-13 Mike Frysinger <vapier@gentoo.org>
23839 * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
23841 2013-01-13 Mike Frysinger <vapier@gentoo.org>
23843 * manual/pattern.texi (glob_t): Document gl_flags.
23844 (glob64_t): Likewise.
23846 2013-01-11 David S. Miller <davem@davemloft.net>
23848 * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
23849 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
23850 (gmp-sysdep_routines): New variable. Add VIS3 optimized GMP routines.
23851 * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
23852 * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
23853 * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
23854 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
23855 * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
23856 * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
23857 * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
23858 * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
23859 * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
23860 * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
23862 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
23863 sparc V9 rather than using V8 code.
23864 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
23865 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
23867 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
23869 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
23872 2013-01-11 Roland McGrath <roland@hack.frob.com>
23874 * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
23875 not in the main loop.
23876 * configure: Regenerated.
23878 2013-01-11 Joseph Myers <joseph@codesourcery.com>
23880 * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
23881 * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
23883 * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise. Remove
23884 [!__GLIBC_HAVE_LONG_LONG] case.
23885 * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
23886 condition to just #else.
23887 * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
23888 __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
23889 [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
23890 * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
23892 * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
23893 * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
23894 #elif condition to just #else.
23895 * sysdeps/unix/sysv/linux/sys/sysmacros.h
23896 [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
23897 * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
23898 #elif condition to just #else.
23900 2013-01-11 Steve Ellcey <sellcey@mips.com>
23902 * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
23903 (EF_MIPS_ARCH_64): Fix value.
23904 (EF_MIPS_ARCH_32R2): New.
23905 (EF_MIPS_ARCH_64R2): New.
23907 2013-01-11 H.J. Lu <hongjiu.lu@intel.com>
23909 * Makeconfig (+link-pie-before-libc): New.
23910 (+link-pie-after-libc): Likewise.
23911 (+link-pie-tests): Likewise.
23912 (+link-pie): Rewritten.
23913 (link-before-libc): Remove $(config-LDFLAGS).
23914 (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
23915 (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
23916 (config-LDFLAGS): Renamed to ...
23917 (rtld-LDFLAGS): This.
23918 (rtld-tests-LDFLAGS): New macro.
23919 (link-libc-rpath-link): Likewise.
23920 (link-libc-tests-rpath-link): Likewise.
23921 (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
23922 (link-libc): Prepand $(link-libc-rpath-link).
23923 (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
23924 (test-program-prefix): New macro.
23925 (test-via-rtld-prefix): Likewise.
23926 (test-program-cmd): Likewise.
23927 (host-test-program-cmd): Likewise.
23928 * Makefile ($(common-objpfx)testrun.sh): Replace
23929 $(run-program-prefix) with $(test-program-prefix).
23930 * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
23932 ($(common-objpfx)shlib.lds): Likewise.
23933 (build-module-helper): Likewise.
23934 ($(common-objpfx)format.lds): Likewise.
23935 * Rules (binaries-pie-tests): New.
23936 (binaries-pie-notests): Likewise.
23937 (binaries-pie): Rewritten.
23938 ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
23939 ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
23940 ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
23941 (make-test-out): Replace $(host-built-program-cmd) with
23942 $(host-test-program-cmd).
23943 * config.make.in (build-hardcoded-path-in-tests): New variable.
23944 * configure.in (--enable-hardcoded-path-in-tests): New configure
23946 (hardcoded_path_in_tests): New AC_SUBST.
23947 * configure: Regenerated.
23948 * catgets/Makefile ($(objpfx)test-gencat.out): Replace
23949 $(built-program-cmd) with $(test-program-cmd).
23950 * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
23951 (test_program_cmd): This.
23952 * elf/Makefile ($(objpfx)order.out): Run test with
23953 $(test-program-prefix).
23954 ($(objpfx)order2.out): Likewise.
23955 ($(objpfx)tst-initorder.out): Likewise.
23956 ($(objpfx)tst-initorder2.out): Likewise.
23957 ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
23958 $(test-program-cmd).
23959 ($(objpfx)tst-array1-static.out): Likewise.
23960 ($(objpfx)tst-array2.out): Likewise.
23961 ($(objpfx)tst-array3.out): Likewise.
23962 ($(objpfx)tst-array4.out): Likewise.
23963 ($(objpfx)tst-array5.out): Likewise.
23964 ($(objpfx)tst-array5-static.out): Likewise.
23965 (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
23966 $(test-program-cmd).
23967 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
23968 $(run-program-prefix) with $(test-program-prefix).
23969 * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
23970 (test_program_prefix): This.
23971 * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
23972 $(run-program-prefix) with $(test-program-prefix).
23973 * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
23974 (test_program_prefix): This.
23975 * iconvdata/tst-tables.sh: Likewise.
23976 * intl/Makefile ($(objpfx)tst-gettext.out): Replace
23977 $(run-program-prefix) with $(test-program-prefix).
23978 ($(objpfx)tst-translit.out): Likewise.
23979 ($(objpfx)tst-gettext2.out): Likewise.
23980 ($(objpfx)tst-gettext4.out): Likewise.
23981 ($(objpfx)tst-gettext6.out): Likewise.
23982 * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
23983 (test_program_prefix): This.
23984 * intl/tst-gettext2.sh: Likewise.
23985 * intl/tst-gettext4.sh Likewise.
23986 * intl/tst-gettext6.sh: Likewise.
23987 * intl/tst-translit.sh: Likewise.
23988 * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
23989 with $(test-program-cmd).
23990 * libio/Makefile ($(objpfx)test-freopen.out): Replace
23991 $(run-program-prefix) with $(test-program-prefix).
23992 * libio/test-freopen.sh (run_program_prefix): Renamed to ...
23993 (test_program_prefix): This.
23994 * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
23995 $(run-program-prefix) with $(test-program-prefix).
23996 * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
23997 (test_program_prefix): This.
23998 * manual/install.texi: Document --enable-hardcoded-path-in-tests.
23999 * posix/Makefile ($(objpfx)globtest.out): Replace
24000 $(run-via-rtld-prefix) and $(test-wrapper) with
24001 $(test-program-prefix) and $(test-via-rtld-prefix).
24002 ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
24003 $(test-program-prefix).
24004 (tst-exec-ARGS): Replace $(host-built-program-cmd) with
24005 $(host-test-program-cmd).
24006 (tst-spawn-ARGS): Likewise.
24007 ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
24008 $(test-program-prefix).
24009 * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
24010 (test_via_rtld_prefix): This.
24011 (test_wrapper): Renamed to ...
24012 (test_program_prefix): This.
24013 (run_program_prefix): Replaced by test_program_prefix.
24014 * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
24015 (test_program_prefix): This.
24016 * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
24017 with $(host-test-program-cmd).
24018 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
24019 $(run-program-prefix) with $(test-program-prefix).
24020 ($(objpfx)tst-printf.out): Likewise.
24021 ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
24022 $(test-program-cmd).
24023 * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
24024 (test_program_prefix): This.
24025 * stdio-common/tst-unbputc.sh: Likewise.
24026 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
24027 $(run-program-prefix) with $(test-program-prefix).
24028 * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
24029 (test_program_prefix): This.
24030 * string/Makefile ($(objpfx)tst-svc.out): Replace
24031 $(built-program-cmd) with $(test-program-cmd).
24033 2013-01-11 Andreas Jaeger <aj@suse.de>
24036 * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
24037 value. Sync with Linux 3.7.
24039 2013-01-10 David S. Miller <davem@davemloft.net>
24041 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
24042 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
24043 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
24045 2013-01-10 Roland McGrath <roland@hack.frob.com>
24047 * configure.in (sysnames): Drop use of $m0sub and $msub, which are
24049 * configure: Regenerated.
24051 2013-01-10 David S. Miller <davem@davemloft.net>
24053 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
24054 sparc V9 rather than using V8 code.
24055 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
24056 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
24058 2013-01-10 Roland McGrath <roland@hack.frob.com>
24060 * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
24061 (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
24062 (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
24063 (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
24064 (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
24065 (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
24066 (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
24067 (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
24068 (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
24069 (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
24070 (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
24071 (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
24072 (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
24073 (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
24074 (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
24075 (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
24076 (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
24077 (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
24078 (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
24079 (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
24080 (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
24081 (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
24082 (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
24083 (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
24084 (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
24085 (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
24086 (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
24088 2013-01-10 David S. Miller <davem@davemloft.net>
24090 * sysdeps/sparc/fpu/libm-test-ulps: Update.
24092 2013-01-10 H.J. Lu <hongjiu.lu@intel.com>
24094 * posix/Makefile (tests-static): New variable.
24095 (tests): Add $(tests-static).
24096 (tst-exec-static-ARGS): New variable.
24097 (tst-spawn-static-ARGS): Likewise.
24098 * posix/tst-exec-static.c: New file.
24099 * posix/tst-spawn-static.c: Likewise.
24100 * posix/tst-exec.c: Support run directly.
24101 * posix/tst-spawn.c: Likewise.
24103 2013-01-10 Joseph Myers <joseph@codesourcery.com>
24105 * elf/link.h (struct dl_phdr_info): Use __extension__ with long
24107 * math/bits/mathcalls.h (llrint): Likewise.
24108 (llround): Likewise.
24109 * stdlib/stdlib.h (struct drand48_data): Likewise.
24110 * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
24111 * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
24112 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
24114 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
24116 * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
24117 (elf_greg_t): Likewise.
24118 * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
24119 (__jmp_buf): Likewise.
24120 * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
24122 (llrint): Likewise, for all definitions.
24123 (llrintl): Likewise.
24125 * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
24126 Remove [__GNUC__] condition.
24127 * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
24128 condition to just [__USE_ISOC99].
24129 [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
24131 2013-01-10 H.J. Lu <hongjiu.lu@intel.com>
24134 * sysdeps/unix/sysv/linux/x86/bits/environments.h
24135 (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
24137 (_POSIX_V6_ILP32_OFF32): Likewise.
24138 (_XBS5_ILP32_OFF32): Likewise.
24139 (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
24140 (__ILP32_OFFBIG_LDFLAGS): Likewise.
24142 2013-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
24144 * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
24146 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
24147 doubles __mpexp_twomm1. Adjust usage.
24148 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
24151 2013-01-10 Andreas Schwab <schwab@suse.de>
24154 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
24155 (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
24157 2013-01-09 David S. Miller <davem@davemloft.net>
24160 * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS)
24161 (TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT)
24162 (TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS)
24163 (TCP_FASTOPEN): Define.
24164 (tcp_repair_opt): New structure.
24165 (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
24167 (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE)
24168 (TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN)
24169 (TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
24170 (tcp_cookie_transactions): New structure.
24172 2013-01-09 Anton Blanchard <anton@samba.org>
24174 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
24175 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
24176 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
24177 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
24179 2013-01-09 Joseph Myers <joseph@codesourcery.com>
24181 * include/features.h (__USE_ANSI): Remove.
24183 2013-01-09 Roland McGrath <roland@hack.frob.com>
24185 * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
24187 * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
24189 2013-01-09 Siddhesh Poyarekar <siddhesh@redhat.com>
24191 * sysdeps/s390/fpu/libm-test-ulps: Update.
24193 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
24195 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
24199 (denorm): Likewise.
24200 (__mp_dbl): Likewise.
24201 (__dbl_mp): Likewise.
24202 (add_magnitudes): Likewise.
24203 (sub_magnitudes): Likewise.
24209 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
24213 (denorm): Likewise.
24214 (__mp_dbl): Likewise.
24215 (__dbl_mp): Likewise.
24216 (add_magnitudes): Likewise.
24217 (sub_magnitudes): Likewise.
24223 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
24227 (denorm): Likewise.
24228 (__mp_dbl): Likewise.
24229 (__dbl_mp): Likewise.
24230 (add_magnitudes): Likewise.
24231 (sub_magnitudes): Likewise.
24238 2013-01-08 Joseph Myers <joseph@codesourcery.com>
24240 * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
24241 __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
24242 * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
24243 2 && __USE_EXTERN_INLINES]: Likewise.
24245 2013-01-08 Andreas Jaeger <aj@suse.de>
24248 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
24250 * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
24251 * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
24253 2013-01-07 Anton Blanchard <anton@samba.org>
24255 * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
24256 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
24257 * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
24258 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
24259 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
24260 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
24261 * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
24262 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
24263 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
24264 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
24265 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
24266 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
24267 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
24268 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
24269 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
24270 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
24271 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
24272 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
24273 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
24274 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
24275 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
24276 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
24277 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
24278 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
24279 * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
24280 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
24281 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
24282 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
24283 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
24284 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
24285 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
24286 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
24287 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
24288 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
24289 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
24290 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
24291 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
24292 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
24293 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
24294 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
24295 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
24296 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
24297 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
24299 2013-01-07 Joseph Myers <joseph@codesourcery.com>
24301 * malloc/malloc.h (__MALLOC_P): Remove all definitions.
24302 (__MALLOC_PMT): Likewise.
24303 [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
24304 [__GNUC__], only on [_LIBC].
24305 [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
24306 [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
24307 [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
24308 * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
24309 forward declaration.
24310 (realloc_hook_ini): Likewise.
24311 (memalign_hook_ini): Likewise.
24312 (__libc_memalign): Do not use __MALLOC_PMT in variable
24314 (__libc_valloc): Likewise.
24315 (__libc_pvalloc): Likewise.
24316 (__libc_calloc): Likewise.
24317 (__posix_memalign): Likewise.
24320 * math/s_casinh.c: Include <float.h>.
24321 (__casinh): Do not do computation with squaring and square root
24322 for large arguments.
24323 * math/s_casinhf.c: Include <float.h>.
24324 (__casinhf): Do not do computation with squaring and square root
24325 for large arguments.
24326 * math/s_casinhl.c: Include <float.h>.
24327 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
24328 (__casinhl): Do not do computation with squaring and square root
24329 for large arguments.
24330 * math/libm-test.inc (casin_test): Add more tests.
24331 (casinh_test): Likewise.
24332 * sysdeps/i386/fpu/libm-test-ulps: Update.
24333 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24335 2013-01-04 H.J. Lu <hongjiu.lu@intel.com>
24337 * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
24338 (__x86_64_raw_data_cache_size): Likewise.
24339 (__x86_64_data_cache_size_half): Likewise.
24340 (__x86_64_raw_data_cache_size_half): Likewise.
24341 (__x86_64_shared_cache_size): Likewise.
24342 (__x86_64_raw_shared_cache_size): Likewise.
24343 (__x86_64_shared_cache_size_half): Likewise.
24344 (__x86_64_raw_shared_cache_size_half): Likewise.
24345 * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
24347 (__x86_data_cache_size): This.
24348 (__x86_64_raw_data_cache_size): Renamed to ...
24349 (__x86_raw_data_cache_size): This.
24350 (__x86_64_data_cache_size_half): Renamed to ...
24351 (__x86_data_cache_size_half): This.
24352 (__x86_64_raw_data_cache_size_half): Renamed to ...
24353 (__x86_raw_data_cache_size_half): This.
24354 (__x86_64_shared_cache_size): Renamed to ...
24355 (__x86_shared_cache_size): This.
24356 (__x86_64_raw_shared_cache_size): Renamed to ...
24357 (__x86_raw_shared_cache_size): This.
24358 (__x86_64_shared_cache_size_half): Renamed to ...
24359 (__x86_shared_cache_size_half): This.
24360 (__x86_64_raw_shared_cache_size_half): Renamed to ...
24361 (__x86_raw_shared_cache_size_half): This.
24362 * sysdeps/x86_64/memcpy.S: Updated.
24363 * sysdeps/x86_64/memset.S: Likewise.
24364 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
24365 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
24366 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
24368 2013-01-04 David S. Miller <davem@davemloft.net>
24370 * sysdeps/sparc/fpu/libm-test-ulps: Update.
24372 2013-01-04 Andreas Schwab <schwab@linux-m68k.org>
24374 * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
24375 1 to avoid redefinition warning.
24376 (__USE_GNU): Don't define.
24377 (init_signaling_nan): Protoize.
24379 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
24381 2013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
24383 * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
24384 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
24385 (__cpymn): Likewise.
24386 (norm): Remove commented code.
24387 (denorm): Likewise.
24388 (__mp_dbl): Likewise.
24390 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
24391 (__cpymn): Likewise.
24392 (norm): Remove commented code.
24393 (denorm): Likewise.
24394 (__mp_dbl): Likewise.
24397 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
24398 mp_no value for 1.0 and 2.0.
24399 (norm): Use RADIXI instead of radixi.d.
24400 (denorm): Likewise.
24401 (__mul): Use 0.0 instead of zero.d.
24402 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
24403 mp_no value for 1.0 and 2.0.
24404 (norm): Use RADIXI instead of radixi.d.
24405 (denorm): Likewise.
24406 (__mul): Use 0.0 instead of zero.d.
24408 2013-01-04 Joseph Myers <joseph@codesourcery.com>
24411 * math/s_casinh.c (__casinh): Reduce finite argument to first
24412 quadrant then set signs of results at the end.
24413 * math/s_casinhf.c (__casinhf): Likewise.
24414 * math/s_casinhl.c (__casinhl): Likewise.
24415 * math/libm-test.inc (casin_test): Add more tests.
24416 (casinh_test): Likewise.
24417 * sysdeps/i386/fpu/libm-test-ulps: Update.
24418 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24420 2013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
24422 * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
24424 * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
24426 * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
24428 (denorm): Likewise.
24429 (__mp_dbl): Likewise.
24432 * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
24433 and adjust the header comment.
24435 * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
24436 variable name from declaration.
24438 2013-01-03 H.J. Lu <hongjiu.lu@intel.com>
24440 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
24441 Initialize COMMON_CPUID_INDEX_7 element.
24442 * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
24443 (CPUID_RTM): Likewise.
24444 (HAS_RTM): Likewise.
24445 (COMMON_CPUID_INDEX_7): New enum.
24447 2013-01-03 Andreas Schwab <schwab@linux-m68k.org>
24450 * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
24451 size is zero, record memory as freed.
24453 2013-01-03 Andreas Jaeger <aj@suse.de>
24455 * po/ia.po: Add new Interlingua translation.
24457 2012-01-03 Allan McRae <allan@archlinux.org>
24459 * locale/programs/localedef.c: Fix description of '--posix' flag.
24461 2013-01-02 Joseph Myers <joseph@codesourcery.com>
24463 * NEWS: Update dates in second copyright notice.
24464 * README: Update copyright dates in example.
24465 * manual/libc.texinfo: Update copyright dates.
24466 * scripts/test-installation.pl: Update copyright date in --version
24469 * hurd/ctty-input.c: Fix copyright notice formatting.
24470 * hurd/ctty-output.c: Likewise.
24471 * hurd/dtable.c: Likewise.
24472 * hurd/hurd-raise.c: Likewise.
24473 * hurd/hurdprio.c: Likewise.
24474 * hurd/msgportdemux.c: Likewise.
24475 * misc/sys/file.h: Likewise.
24476 * misc/sys/ioctl.h: Likewise.
24477 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
24478 * sysdeps/mach/hurd/chdir.c: Likewise.
24479 * sysdeps/mach/hurd/fchdir.c: Likewise.
24480 * sysdeps/mach/hurd/rename.c: Likewise.
24481 * sysdeps/mach/hurd/rmdir.c: Likewise.
24482 * sysdeps/mach/hurd/seekdir.c: Likewise.
24483 * sysdeps/mach/hurd/setsid.c: Likewise.
24484 * sysdeps/posix/wait3.c: Likewise.
24486 * All files with FSF copyright notices: Update copyright dates
24487 using scripts/update-copyrights.
24488 * intl/plural.c: Regenerated.
24489 * locale/programs/charmap-kw.h: Likewise.
24490 * locale/programs/locfile-kw.h: Likewise.
24492 2013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
24494 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
24497 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
24498 calculation loop and add branch prediction.
24500 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
24501 check access beyond bounds of m1np.
24503 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
24505 (__inv): Remove local variable MPTWO to use the global
24507 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
24508 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
24510 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
24511 MP3HALFS static const.
24513 2013-01-01 David S. Miller <davem@davemloft.net>
24515 * po/ca.po: Update from translation team.
24517 2013-01-01 Joseph Myers <joseph@codesourcery.com>
24519 * scripts/update-copyrights: New file.
24520 * Makeconfig: Reformat copyright notice.
24521 * ctype/ctype.h: Likewise.
24522 * debug/swprintf_chk.c: Likewise.
24523 * elf/dl-cache.c: Likewise.
24524 * elf/dl-debug.c: Likewise.
24525 * elf/dl-object.c: Likewise.
24526 * grp/initgroups.c: Likewise.
24527 * hurd/Makefile: Likewise.
24528 * hurd/hurd/signal.h: Likewise.
24529 * hurd/hurdfault.c: Likewise.
24530 * hurd/hurdioctl.c: Likewise.
24531 * hurd/hurdlookup.c: Likewise.
24532 * hurd/intr-msg.c: Likewise.
24533 * iconv/gconv_open.c: Likewise.
24534 * libio/swprintf.c: Likewise.
24535 * locale/lc-ctype.c: Likewise.
24536 * locale/nl_langinfo.c: Likewise.
24537 * mach/Machrules: Likewise.
24538 * mach/Makefile: Likewise.
24539 * malloc/obstack.h: Likewise.
24540 * manual/Makefile: Likewise.
24541 * manual/tsort.awk: Likewise.
24542 * misc/bits/stab.def: Likewise.
24543 * nis/nis_print_group_entry.c: Likewise.
24544 * nis/nis_table.c: Likewise.
24545 * nis/nss_compat/compat-pwd.c: Likewise.
24546 * nis/nss_compat/compat-spwd.c: Likewise.
24547 * po/Makefile: Likewise.
24548 * posix/fnmatch.c: Likewise.
24549 * posix/regex.h: Likewise.
24550 * resolv/Makefile: Likewise.
24551 * resolv/nss_dns/dns-network.c: Likewise.
24552 * resolv/res_hconf.c: Likewise.
24553 * scripts/gen-sorted.awk: Likewise.
24554 * soft-fp/soft-fp.h: Likewise.
24555 * stdio-common/printf.h: Likewise.
24556 * stdlib/monetary.h: Likewise.
24557 * stdlib/random.c: Likewise.
24558 * stdlib/random_r.c: Likewise.
24559 * sysdeps/generic/Makefile: Likewise.
24560 * sysdeps/gnu/Makefile: Likewise.
24561 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
24562 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
24563 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
24564 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
24565 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
24566 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
24567 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
24568 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
24569 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
24570 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
24571 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
24572 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
24573 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
24574 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
24575 * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
24576 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
24577 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
24578 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
24579 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
24580 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
24581 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
24582 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
24583 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
24584 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
24585 * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
24586 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
24587 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
24588 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
24589 * sysdeps/mach/hurd/errnos.awk: Likewise.
24590 * sysdeps/mach/hurd/fork.c: Likewise.
24591 * sysdeps/mach/hurd/getcwd.c: Likewise.
24592 * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
24593 * sysdeps/mach/hurd/mmap.c: Likewise.
24594 * sysdeps/mach/hurd/utimes.c: Likewise.
24595 * sysdeps/mach/hurd/xmknod.c: Likewise.
24596 * sysdeps/posix/profil.c: Likewise.
24597 * sysdeps/posix/readdir_r.c: Likewise.
24598 * sysdeps/powerpc/bits/mathdef.h: Likewise.
24599 * sysdeps/powerpc/bits/setjmp.h: Likewise.
24600 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
24601 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
24602 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
24603 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
24604 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
24605 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
24606 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
24607 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
24608 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
24609 * sysdeps/pthread/lio_listio.c: Likewise.
24610 * sysdeps/sparc/dl-procinfo.h: Likewise.
24611 * sysdeps/unix/i386/sysdep.S: Likewise.
24612 * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
24613 * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
24614 * sysdeps/unix/sysv/linux/getdents.c: Likewise.
24615 * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
24616 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
24617 * sysdeps/unix/sysv/linux/semctl.c: Likewise.
24618 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
24619 * sysdeps/unix/sysv/linux/speed.c: Likewise.
24620 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
24621 * sysdeps/wordsize-32/divdi3.c: Likewise.
24622 * time/sys/time.h: Likewise.
24623 * wcsmbs/Makefile: Likewise.
24625 2013-01-01 David S. Miller <davem@davemloft.net>
24627 * po/fr.po: Update from translation team.
24629 * catgets/gencat.c: Update copyright year.
24630 * csu/version.c: Likewise.
24631 * debug/catchsegv.sh: Likewise.
24632 * debug/pcprofiledump.c: Likewise.
24633 * debug/xtrace.sh: Likewise.
24634 * elf/ldconfig.c: Likewise.
24635 * elf/ldd.bash.in: Likewise.
24636 * elf/pldd.c: Likewise.
24637 * elf/sotruss.ksh: Likewise.
24638 * elf/sprof.c: Likewise.
24639 * iconv/iconv_prog.c: Likewise.
24640 * iconv/iconvconfig.c: Likewise.
24641 * locale/programs/locale.c: Likewise.
24642 * locale/programs/localedef.c: Likewise.
24643 * login/programs/pt_chown.c: Likewise.
24644 * malloc/memusage.sh: Likewise.
24645 * malloc/memusagestat.c: Likewise.
24646 * malloc/mtrace.pl: Likewise.
24647 * nscd/nscd.c: Likewise.
24648 * nss/getent.c: Likewise.
24649 * nss/makedb.c: Likewise.
24650 * posix/getconf.c: Likewise.
24652 2012-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
24654 * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
24657 2012-12-30 Mike Frysinger <vapier@gentoo.org>
24659 * math/bits/mathcalls.h (modf): Use __nonnull.
24661 2012-12-29 Siddhesh Poyarekar <siddhesh@redhat.com>
24663 * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
24664 (split): Use macro CN instead of the bare value.
24665 * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
24667 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
24668 instead of the bare value.
24669 (power1): Likewise.
24671 2012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
24673 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
24675 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
24677 * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
24679 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
24680 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
24681 * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
24682 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
24684 2012-12-28 Andreas Jaeger <aj@suse.de>
24686 * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define. New
24687 values are from Linux 3.7.
24689 * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
24690 (TCPI_OPT_ECN_SEEN): Define. Sync with Linux 3.7.
24692 2012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
24694 * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
24697 * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
24699 * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
24700 variables with preprocessor constants.
24701 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
24702 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
24703 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
24705 2012-12-27 Bruno Haible <bruno@clisp.org>
24708 * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
24711 2012-12-27 Siddhesh Poyarekar <siddhesh@redhat.com>
24713 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
24714 and use variable directly.
24715 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
24717 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
24719 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
24720 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
24722 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
24723 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
24724 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
24725 include directive. Remove local variable MPONE.
24726 * sysdeps/ieee754/dbl-64/mplog.h: Remove.
24727 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
24728 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
24730 2012-12-25 David S. Miller <davem@davemloft.net>
24732 * version.h (RELEASE): Set to "development".
24733 (VERSION): Set to "2.17.90".
24734 * NEWS: Add 2.18 section.
24736 2012-12-21 David S. Miller <davem@davemloft.net>
24738 * po/hr.po: Update from translation team.
24740 2012-12-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
24742 * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
24744 2012-12-19 Steve Ellcey <sellcey@mips.com>
24746 * NEWS: Mention new memcpy for MIPS.
24748 2012-12-18 Marcus Shawcroft <marcus.shawcroft@linaro.org>
24750 * manual/contrib.texi (Contributors): Spelling correction.
24752 2012-12-15 David S. Miller <davem@davemloft.net>
24754 * po/ru.po: Update from translation team.
24756 2012-12-13 David S. Miller <davem@davemloft.net>
24758 * NEWS: Mention IFUNC testsuite enhancements.
24760 * po/pl.po: Update from translation team.
24761 * po/bg.po: Likewise.
24763 * manual/contrib.texi (Contributors): Update entries for Hongjiu
24764 Lu and Joseph S. Myers. Add entry for Marcus Shawcroft.
24766 2012-12-11 David S. Miller <davem@davemloft.net>
24768 * po/sv.po: Update from translation team.
24770 * po/vi.po: Update from translation team.
24772 * po/cs.po: Update from translation team.
24774 * po/de.po: Update from translation team.
24775 * po/eo.po: Likewise.
24776 * po/nl.po: Likewise.
24778 2012-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
24781 * manual/argp.texi (Argp Helper Functions): Move node to follow
24782 Argp Parsing State.
24785 * manual/conf.texi (Limits on File System Capacity): Mention if
24786 terminating null is included in the max size.
24788 2012-12-10 Andreas Jaeger <aj@suse.de>
24790 * po/cs.po: Update from translation team.
24792 2012-12-08 Siddhesh Poyarekar <siddhesh@redhat.com>
24794 * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
24795 void pointer and cast to uintptr_t.
24796 * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
24798 * sysdeps/s390/s390-64/memcpy.S: Likewise.
24799 * sysdeps/s390/s390-64/memset.S: Likewise.
24801 2012-12-08 Benno Schulenberg <bensberg@justemail.net>
24804 * menual/message.texi (Message Translation): Fix typos.
24805 (Helper programs for gettext): Likewise.
24807 2012-12-07 Andreas Schwab <schwab@linux-m68k.org>
24810 * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
24813 2012-12-07 David S. Miller <davem@davemloft.net>
24815 * po/libc.pot: Update.
24817 2012-12-07 Richard Henderson <rth@redhat.com>
24820 * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
24821 normal/normal case to before the switch.
24822 (_FP_DIV): Likewise.
24824 2012-12-06 Carlos O'Donell <carlos@systemhalted.org>
24825 Mike Frysinger <vapier@gentoo.org>
24827 * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
24828 check for __NR_fadvise64_64.
24830 2012-12-06 Chris Metcalf <cmetcalf@tilera.com>
24832 * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
24833 0, not just to plain "0" as a statement.
24834 (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
24837 2012-12-06 Joseph Myers <joseph@codesourcery.com>
24839 * NEWS: Use sourceware.org in Bugzilla URL.
24841 2012-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
24843 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
24844 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
24846 * stdio-common/tst-put-error.c (do_test): Add newline to the
24847 padded test to ensure flush.
24849 2012-12-05 Jeff Law <law@redhat.com>
24851 * sunrpc/etc.rpc (fedfs_admin): Add entry.
24853 2012-12-05 Joseph Myers <joseph@codesourcery.com>
24855 * README: Don't refer to ports add-on as distributed separately.
24856 Mention AArch64 in list of systems supported in the ports add-on.
24858 * LICENSES: Add more non-FSF copyright and license notices.
24860 * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
24863 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
24865 * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
24866 10000 as width of padded output.
24868 2012-12-04 Joseph Myers <joseph@codesourcery.com>
24870 * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
24872 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
24873 variable LX with __attribute__ ((unused)).
24874 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
24876 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
24877 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
24878 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
24879 with __attribute__ ((unused)).
24881 2012-12-04 David S. Miller <davem@abraco.davemloft.net>
24883 * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
24885 2012-12-04 Joseph Myers <joseph@codesourcery.com>
24887 * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
24888 (CFLAGS-nldbl-acos.c): New variable.
24889 [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
24890 [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
24891 [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
24892 [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
24893 [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
24894 [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
24895 [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
24896 [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
24897 [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
24898 [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
24899 [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
24900 [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
24901 [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
24902 [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
24903 [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
24904 [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
24905 [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
24906 [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
24907 [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
24908 [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
24909 [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
24910 [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
24911 [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
24912 [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
24913 [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
24914 [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
24915 [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
24916 [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
24917 [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
24918 [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
24919 [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
24920 [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
24921 [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
24922 [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
24923 [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
24924 [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
24925 [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
24926 [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
24927 [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
24928 [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
24929 [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
24930 [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
24931 [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
24932 [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
24933 [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
24934 [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
24935 [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
24936 [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
24937 [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
24938 [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
24939 [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
24940 [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
24941 [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
24942 [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
24943 [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
24944 [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
24945 [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
24946 [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
24947 [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
24948 [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
24949 [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
24950 [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
24951 [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
24952 [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
24953 [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
24954 [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
24955 [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
24956 [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
24957 [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
24958 [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
24959 [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
24960 [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
24961 [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
24962 [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
24963 [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
24964 [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
24965 [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
24966 [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
24967 [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
24968 [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
24969 [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
24970 [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
24971 [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
24972 [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
24973 [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
24974 [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
24975 [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
24976 [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
24977 [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
24978 [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
24979 [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
24980 [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
24981 [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
24982 [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
24983 [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
24984 [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
24985 [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
24987 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
24988 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
24991 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
24992 whole low double instead of just low 47 bits when splitting values
24995 2012-12-03 Allan McRae <allan@archlinux.org>
24997 * manual/stdio.texi (Predefined Printf Handlers): Remove
24998 @hsep and @vsep usage.
25000 2012-12-03 Mike Frysinger <vapier@gentoo.org>
25002 * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
25003 * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
25005 2012-12-03 Jeff Law <law@redhat.com>
25007 * time/sys/time.h (settimeofday): Do not mark TV argument
25010 2012-12-01 Mike Frysinger <vapier@gentoo.org>
25012 * libio/fileops.c (_IO_new_file_close_it): Do not always flush
25013 when currently writing and seek to current position when not.
25014 * libio/Makefile (tests): Remove bug-fclose1.
25015 * libio/bug-fclose1.c: Delete.
25017 2012-12-01 Joseph Myers <joseph@codesourcery.com>
25019 * manual/arith.texi (feenableexcept): Fix typo.
25020 (fedisableexcept): Likewise.
25022 2012-11-30 Roland McGrath <roland@hack.frob.com>
25024 * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
25025 second, differently-typed declaration, rather than a cast.
25027 2012-11-30 Siddhesh Poyarekar <siddhesh@redhat.com>
25029 * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
25030 * include/rpc/svc.h: ... here.
25032 2012-11-30 Aurelien Jarno <aurel32@debian.org>
25035 * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
25036 depending n and resplen2 to catch cases where answer
25039 2012-11-29 Carlos O'Donell <carlos@systemhalted.org>
25041 * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
25042 for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
25044 2012-11-29 Mike Frysinger <vapier@gentoo.org>
25046 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
25048 2012-11-29 Roland McGrath <roland@hack.frob.com>
25050 * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
25052 2012-11-28 Jeff Law <law@redhat.com>
25055 * nscd/grpcache.c (cache_addgr): Rename alloca_used to
25056 dataset_temporary. Track alloca usage into alloca_used.
25057 If dataset is large allocate and release it via malloc/free.
25059 2012-06-04 Florian Weimer <fweimer@redhat.com>
25062 * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
25064 2012-11-28 David S. Miller <davem@davemloft.net>
25066 * sysdeps/sparc/fpu/libm-test-ulps: Update.
25068 2012-11-28 Joseph Myers <joseph@codesourcery.com>
25071 * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
25072 of pi/2 rounded to nearest to 64 bits.
25073 (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
25074 nearest to 64 bits.
25075 (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
25078 2012-11-28 Jeff Law <law@redhat.com>
25079 Martin Osvald <mosvald@redhat.com>
25082 * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
25083 * sunrpc/svc.c: Include time.h.
25084 (__svc_accept_failed): New function.
25085 * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
25086 any reason other than EINTR, call __svc_accept_failed.
25087 * sunrpc/svc_udp.c (svcudp_recv): Similarly.
25088 * sunrpc/svc_unix.c (rendezvous_request): Similarly.
25090 2012-11-28 Andreas Schwab <schwab@suse.de>
25092 * scripts/abilist.awk: Also handle indirect functions in .opd
25095 2012-11-28 Joseph Myers <joseph@codesourcery.com>
25098 * sysdeps/x86/fpu/powl_helper.c: New file.
25099 * sysdeps/x86/fpu/Makefile: Likewise.
25100 * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
25102 (__ieee754_powl): Use __powl_helper for finite arguments except
25103 integer exponents below 8.
25104 * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
25106 (__ieee754_powl): Use __powl_helper for finite arguments except
25107 integer exponents below 8.
25108 * math/libm-test.inc (pow_test): Add more tests and enable some
25109 previously disabled tests.
25110 * sysdeps/i386/fpu/libm-test-ulps: Update.
25111 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25113 2012-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
25114 Carlos O'Donell <carlos_odonell@mentor.com>
25116 * nss/makedb.c (is_prime): Assert that input is odd and greater
25117 than 4. Note that fact in a comment too.
25118 (next_prime): Add 4 to input.
25120 2012-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
25123 * libio/Makefile (tests): Add test case tst-fwrite-error.
25124 * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
25125 * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
25126 * libio/tst-fwrite-error.c: New test case.
25128 2012-11-26 H.J. Lu <hongjiu.lu@intel.com>
25130 * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
25131 before casting to void *.
25132 * include/libc-internal.h (__pointer_type): New macro.
25133 (__integer_if_pointer_type_sub): Likewise.
25134 (__integer_if_pointer_type): Likewise.
25135 (cast_to_integer): Likewise.
25136 * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
25137 (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
25138 before casting to atomic64_t.
25139 (atomic_exchange_acq): Likewise.
25140 (__arch_exchange_and_add_body): Likewise.
25141 (__arch_add_body): Likewise.
25142 (atomic_add_negative): Likewise.
25143 (atomic_add_zero): Likewise.
25145 2012-11-26 Joseph Myers <joseph@codesourcery.com>
25147 * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
25148 (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
25149 (add_fdes): Likewise.
25150 (linear_search_fdes): Likewise.
25151 (binary_search_unencoded_fdes): Likewise.
25153 2012-11-26 Andreas Schwab <schwab@linux-m68k.org>
25155 * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
25157 2012-11-24 Adam Conrad <adconrad@0c3.net>
25159 * configure.in: Autodetect C++ header directories.
25160 * configure: Regenerated.
25162 2012-11-23 Mike Frysinger <vapier@gentoo.org>
25164 * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
25166 2012-11-23 Andreas Schwab <schwab@linux-m68k.org>
25168 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
25170 2012-11-22 Joseph Myers <joseph@codesourcery.com>
25172 * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
25173 LDBL_MANT_DIG == 106]: Disable some tests.
25174 (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
25176 (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
25180 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
25181 input for small inputs. Return +/- pi/2 for large inputs.
25182 * math/libm-test.inc (atan_test): Add more tests.
25184 * sysdeps/generic/unwind-dw2-fde-glibc.c
25185 (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
25186 __attribute__ ((unused)).
25189 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
25190 x * y if x and y are nonzero and z is zero.
25193 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
25194 nonzero exponents with absolute value below 0x1p-117 to +/-
25198 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
25199 up arguments below 2**-450, not just those below 2**-500.
25200 * math/libm-test.inc (hypot_test): Add another test.
25203 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
25204 Return a+b for ratio over 2**120, not 2**60.
25205 * math/libm-test.inc (hypot_test): Add another test.
25207 * math/libm-test.inc (clog_test): Use
25208 UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
25209 (clog10_test): Likewise.
25212 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
25214 2012-11-22 Andreas Schwab <schwab@suse.de>
25216 * sysdeps/i386/fpu/libm-test-ulps: Update.
25218 2012-11-22 Pino Toscano <toscano.pino@tiscali.it>
25220 * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
25221 printf output with newline.
25223 2012-11-21 H.J. Lu <hongjiu.lu@intel.com>
25226 * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
25227 * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
25228 -z nodlopen, -z initfirst and -z execstack support.
25229 * configure: Regenerated.
25231 * elf/elf.h (DF_1_NODIRECT): New macro.
25232 (DF_1_IGNMULDEF): Likewise.
25233 (DF_1_NOKSYMS): Likewise.
25234 (DF_1_NOHDR): Likewise.
25235 (DF_1_EDITED): Likewise.
25236 (DF_1_NORELOC): Likewise.
25237 (DF_1_SYMINTPOSE): Likewise.
25238 (DF_1_GLOBAUDIT): Likewise.
25239 (DF_1_SINGLETON): Likewise.
25240 * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
25241 DT_1_SUPPORTED_MASK bits.
25242 * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
25244 2012-11-20 Carlos O'Donell <carlos_odonell@mentor.com>
25246 * sysdeps/unix/make-syscalls.sh: Document prefixes.
25248 2012-11-20 Thomas Schwinge <thomas@codesourcery.com>
25250 * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
25253 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
25254 (sendmmsg): Move declarations...
25255 * socket/sys/socket.h: ... here.
25256 * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
25257 !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
25259 * socket/recvmmsg.c: ... this new file.
25260 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
25261 (sendmmsg): Rename to __sendmmsg, create weak alias and make
25262 definition of __sendmmsg hidden.
25263 * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
25264 [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
25265 Move ENOSYS stub into and include it from...
25266 * socket/sendmmsg.c: ... this new file.
25267 * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
25268 (sysdep_routines): Move recvmmsg and sendmmsg...
25269 * socket/Makefile (routines): ... here.
25270 * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
25271 (GLIBC_PRIVATE): Add __sendmmsg.
25272 * include/sys/socket.h (__sendmmsg): Add declarations.
25273 * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
25276 2012-11-20 Joseph Myers <joseph@codesourcery.com>
25278 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
25279 variable I1 with __attribute__ ((unused)).
25280 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
25282 2012-11-19 Joseph Myers <joseph@codesourcery.com>
25284 * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
25285 DUMMY variables with __attribute__ ((unused)).
25287 * bits/byteswap.h: Include <bits/types.h>.
25288 (__bswap_64): Use __uint64_t instead of unsigned long long int.
25290 2012-11-19 Pino Toscano <toscano.pino@tiscali.it>
25292 * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
25293 string_t. Do not manually set errno.
25294 (__ptsname_r): Change the type of PEERNAME to string_t, and check its
25295 length with __strnlen. Make sure to both set errno and return it on
25298 2012-11-19 David S. Miller <davem@davemloft.net>
25300 With help from Joseph Myers.
25301 * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
25302 very large arguments properly.
25303 * math/libm-test.inc (atan_test): New tests.
25304 (atan2_test): New tests.
25305 * sysdeps/sparc/fpu/libm-test-ulps: Update.
25306 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
25308 2012-11-19 Joseph Myers <joseph@codesourcery.com>
25311 * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
25314 * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
25315 [POSIX] (EADDRNOTAVAIL): Likewise.
25316 [POSIX] (EAFNOSUPPORT): Likewise.
25317 [POSIX] (EALREADY): Likewise.
25318 [POSIX] (ECONNABORTED): Likewise.
25319 [POSIX] (ECONNREFUSED): Likewise.
25320 [POSIX] (ECONNRESET): Likewise.
25321 [POSIX] (EDESTADDRREQ): Likewise.
25322 [POSIX] (EDQUOT): Likewise.
25323 [POSIX] (EHOSTUNREACH): Likewise.
25324 [POSIX] (EIDRM): Likewise.
25325 [POSIX] (EISCONN): Likewise.
25326 [POSIX] (ELOOP): Likewise.
25327 [POSIX] (EMULTIHOP): Likewise.
25328 [POSIX] (ENETDOWN): Likewise.
25329 [POSIX] (ENETUNREACH): Likewise.
25330 [POSIX] (ENOBUFS): Likewise.
25331 [POSIX] (ENODATA): Likewise.
25332 [POSIX] (ENOLINK): Likewise.
25333 [POSIX] (ENOMSG): Likewise.
25334 [POSIX] (ENOPROTOOPT): Likewise.
25335 [POSIX] (ENOSR): Likewise.
25336 [POSIX] (ENOSTR): Likewise.
25337 [POSIX] (ENOTCONN): Likewise.
25338 [POSIX] (ENOTSOCK): Likewise.
25339 [POSIX] (EOPNOTSUPP): Likewise.
25340 [POSIX] (EOVERFLOW): Likewise.
25341 [POSIX] (EPROTO): Likewise.
25342 [POSIX] (EPROTONOSUPPORT): Likewise.
25343 [POSIX] (EPROTOTYPE): Likewise.
25344 [POSIX] (ESTALE): Likewise.
25345 [POSIX] (ETIME): Likewise.
25346 [POSIX] (ETXTBSY): Likewise.
25347 [POSIX] (EWOULDBLOCK): Likewise.
25348 [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
25349 * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
25350 [POSIX] (SEEK_CUR): Likewise.
25351 [POSIX] (SEEK_END): Likewise.
25352 [POSIX || UNIX98] (mode_t): Do not require.
25353 [POSIX] (off_t): Likewise.
25354 [POSIX] (pid_t): Likewise.
25355 [POSIX] (sys/stat.h): Do not allow header.
25356 [POSIX] (unistd.h): Likewise.
25357 [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
25358 [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
25359 [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
25360 * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
25362 * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
25363 sigevent): Specify elements.
25364 [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
25366 [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
25367 [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
25369 * conform/data/cpio.h-data [POSIX]: Disable whole file.
25370 * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
25371 * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
25372 (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
25373 [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
25374 [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
25375 [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
25376 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
25377 [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
25378 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
25379 [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
25380 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
25381 [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
25382 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
25384 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
25386 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
25388 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
25390 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
25391 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
25392 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
25393 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
25394 [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
25395 Specify lower bound on value.
25396 [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
25397 [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
25398 [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
25399 [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
25400 [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
25401 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
25402 [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
25403 [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
25405 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
25407 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
25408 [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
25409 [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
25410 [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
25411 [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
25412 [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
25413 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
25414 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
25415 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
25416 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
25417 [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
25418 [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
25419 [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
25420 [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
25421 [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
25422 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
25424 [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
25426 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
25427 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
25428 [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
25429 [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
25430 [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
25431 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
25433 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
25434 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
25435 [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
25436 [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
25437 [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise. Give
25438 value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
25439 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
25441 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
25442 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
25443 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
25444 [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
25445 Likewise. Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
25446 [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
25447 specify as optional.
25448 [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
25449 [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
25450 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
25451 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
25452 [POSIX || XPG3] (NL_ARGMAX): Do not allow.
25453 [XPG3] (NL_LANGMAX): Likewise.
25454 [POSIX || XPG3] (NL_MSGMAX): Likewise.
25455 [POSIX || XPG3] (NL_NMAX): Likewise.
25456 [POSIX || XPG3] (NL_SETMAX): Likewise.
25457 [POSIX || XPG3] (NL_TEXTMAX): Likewise.
25458 [XPG3] (NZERO): Likewise.
25459 [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
25460 [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
25461 [!ISO && !ISO99 && !ISO11] (*_t): Allow.
25462 * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
25463 (REG_ERANGE): Expect.
25464 * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
25466 [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
25467 Use (void) in prototype.
25468 [POSIX] (*_t): Allow.
25469 * conform/data/sys/times.h-data [POSIX]: Enable whole file.
25470 * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
25471 (WRDE_BADVAL): Expect.
25473 * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
25475 [XPG3 || XPG4] (O_RSYNC): Likewise.
25476 * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
25478 [XPG3 || XPG4] (pthread_sigmask): Likewise.
25479 [XPG3 || XPG4] (sigqueue): Likewise.
25480 [XPG3 || XPG4] (sigtimedwait): Likewise.
25481 [XPG3 || XPG4] (sigwaitinfo): Likewise.
25482 * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
25483 [XPG3 || XPG4] (vsnprintf): Likewise.
25484 * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
25486 [XPG3 || XPG4] (blksize_t): Likewise.
25487 * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
25489 [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
25490 [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
25491 [XPG3 || XPG4] (struct itimerspec): Likewise.
25492 [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
25493 [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
25494 [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
25495 [XPG3 || XPG4] (clockid_t): Likewise.
25496 [XPG3 || XPG4] (timer_t): Likewise.
25497 [XPG3 || XPG4] (clock_getres): Likewise.
25498 [XPG3 || XPG4] (clock_gettime): Likewise.
25499 [XPG3 || XPG4] (clock_settime): Likewise.
25500 [XPG3 || XPG4] (nanosleep): Likewise.
25501 [XPG3 || XPG4] (timer_create): Likewise.
25502 [XPG3 || XPG4] (timer_delete): Likewise.
25503 [XPG3 || XPG4] (timer_gettime): Likewise.
25504 [XPG3 || XPG4] (timer_getoverrun): Likewise.
25505 [XPG3 || XPG4] (timer_settime): Likewise.
25506 * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
25507 [XPG3 || XPG4] (getlogin_r): Likewise.
25508 [XPG3 || XPG4] (pread): Likewise.
25509 [XPG3 || XPG4] (pthread_atfork): Likewise.
25510 [XPG3 || XPG4] (pwrite): Likewise.
25513 * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
25516 2012-11-19 Pino Toscano <toscano.pino@tiscali.it>
25518 * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
25519 finalizing MALLSTREAM.
25521 * sysdeps/mach/hurd/syncfs.c: New file.
25523 2012-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
25526 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
25527 NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
25528 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
25529 h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
25530 (_nss_dns_gethostbyname4_r): Likewise.
25531 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
25532 EAI_SYSTEM if NSS_STATUS_UNAVAIL.
25534 2012-11-19 Peng Haitao <penght@cn.fujitsu.com>
25537 * sunrpc/bindrsvprt.c: Add lock to protect static variable.
25539 2012-11-19 Steve McIntyre <steve.mcintyre@linaro.org>
25541 * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
25542 * elf/cache.c (print_entry): Print ",AArch64" for
25545 * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
25546 * elf/cache.c (print_entry): Print ",hard-float" for
25549 2012-11-18 David S. Miller <davem@davemloft.net>
25551 With help from Joseph Myers.
25552 * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
25554 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
25556 * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
25557 ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
25559 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
25560 * math/libm-test.inc (y0_test): New tests.
25561 (y1_test): New tests.
25562 * sysdeps/i386/fpu/libm-test-ulps: Update.
25563 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
25564 * sysdeps/sparc/fpu/libm-test-ulps: Update.
25566 2012-11-18 Andreas Schwab <schwab@linux-m68k.org>
25568 * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
25570 * configure: Regenerated.
25572 2012-11-17 David S. Miller <davem@davemloft.net>
25575 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
25576 nonzero exponents with absolute value below 0x1p-128 to +/-
25579 2012-11-17 Joseph Myers <joseph@codesourcery.com>
25581 * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
25583 * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
25585 * posix/getconf-speclist.c: New file.
25586 * posix/posix-envs.def: Likewise.
25587 * posix/confstr.c (START_ENV_GROUP): New macro.
25588 (END_ENV_GROUP): Likewise.
25589 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
25590 (KNOWN_PRESENT_ENV_STRING): Likewise.
25591 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
25592 (UNKNOWN_ENVIRONMENT): Likewise.
25593 (confstr): Include posix-envs.def instead of handling
25594 _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
25595 _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
25596 * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
25597 (END_ENV_GROUP): Likewise.
25598 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
25599 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
25600 (UNKNOWN_ENVIRONMENT): Likewise.
25601 (__sysconf): Include posix-envs.def instead of handling associated
25602 cases directly here.
25603 * posix/Makefile ($(objpfx)getconf.speclist): Generate by
25604 preprocessing getconf-speclist.c rather than running getconf or
25605 generating empty file.
25607 2012-11-16 Pino Toscano <toscano.pino@tiscali.it>
25609 * scripts/check-local-headers.sh: Ignore 'mach' headers.
25611 2012-11-16 Andrej Lajovic <natrij@gmail.com>
25614 * iconv/iconv_prog.c (main): Fix -c handling of '/'.
25616 2012-11-16 David S. Miller <davem@davemloft.net>
25618 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
25619 smaller than LDBL_EPSILON/2.0L, just return xm1.
25621 2012-11-16 H.J. Lu <hongjiu.lu@intel.com>
25623 * elf/tst-array1.c (init): Set constructor priority to 1000.
25624 (fini): Set destructor priority to 1000.
25625 * elf/tst-array2dep.c: Likewise.
25627 2012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
25630 * libio/fileops.c (_IO_new_file_write): Correctly return error.
25631 (_IO_new_file_xsputn): Also return EOF if none of the input
25632 data was written when overflow failed.
25633 * libio/iopadn.c (_IO_padn): Likewise.
25634 * libio/iowpadn.c (_IO_wpadn): Likewise.
25635 * stdio-common/tst-put-error.c: Add copyright notice.
25636 (do_test): Add case for printing padded string.
25637 * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
25638 _IO_padn returned error.
25639 [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
25640 * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
25643 2012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
25645 * libio/libioP.h: Add comment note that the references to C++
25646 bits are now obsolete.
25648 2012-11-15 Marcus Shawcroft <marcus.shawcroft@linaro.org>
25650 * math/libm-test.inc (check_complex): Use asprintf.
25652 2012-11-14 Joseph Myers <joseph@codesourcery.com>
25654 * debug/pcprofiledump.c (print_version): Update copyright year.
25655 * malloc/memusagestat.c (print_version): Likewise.
25657 2012-11-14 H.J. Lu <hongjiu.lu@intel.com>
25660 * elf/Makefile (tests): Add tst-audit8.
25661 ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
25662 ($(objpfx)tst-audit8.out): New target.
25663 (tst-audit8-ENV): New variable.
25664 * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
25665 audit if l_reloc_result is NULL.
25666 (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
25667 defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
25668 * elf/tst-audit8.c: New file.
25670 2012-11-14 Marcus Shawcroft <marcus.shawcroft@linaro.org>
25672 * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
25673 * misc/Makefile (CFLAGS-select.c): Define.
25674 * posix/Makefile (CFLAGS-pause.c): Define.
25676 2012-11-13 David S. Miller <davem@davemloft.net>
25678 * crypt/Makefile: Move test targets after toplevel Rules
25679 inclusion. Grab any necessary sysdep routines when linking.
25680 * crypt/md5.c (md5_process_block): Remove define, we will always
25681 name it __md5_process_block.
25682 (md5_finish_ctx): Update md5_process_block call.
25683 (md5_stream): Likewise.
25684 (md5_process_bytes): Likewise.
25685 (md5_process_block): Rename to __md5_process_block and move to ...
25686 * crypt/md5-block.c: ... here.
25687 * crypt/sha256.c (sha256_process_block): Move to ...
25688 * crypt/sha256-block.c: ... here.
25689 * crypt/sha512.c (sha512_process_block): Move to ...
25690 * crypt/sha512-block.c: ... here.
25691 * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
25693 * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
25694 * sysdeps/sparc/sparc64/multiarch/Makefile
25695 (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
25697 (localedef-aux): Add md5 crypto assembler when in locale subdir.
25698 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
25700 * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
25701 * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
25702 * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
25703 * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
25704 * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
25705 * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
25706 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
25707 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
25708 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
25710 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
25711 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
25713 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
25715 2012-11-13 Joseph Myers <joseph@codesourcery.com>
25717 * timezone/tzselect.ksh: Update from tzcode git revision
25718 a435f9f0ecafa56d9e0263835836bd0c64cd7307.
25719 * timezone/zdump.c: Likewise.
25720 * timezone/zic.c: Likewise.
25721 * timezone/Makefile ($(objpfx)version.h): Only include $(version)
25722 in TZVERSION setting, not $(PKGVERSION).
25723 ($(objpfx)tzselect): Likewise. Also substitute PKGVERSION and
25724 REPORT_BUGS_TO settings.
25727 * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
25730 2012-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
25732 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
25733 detection to immediately after _FP_ROUND().
25734 * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
25737 2012-11-11 David S. Miller <davem@davemloft.net>
25739 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
25741 (__get_clockfreq_via_proc_openprom): Use __open, __read, and
25742 __close rather than their public counterparts.
25744 2012-11-10 Joseph Myers <joseph@codesourcery.com>
25746 * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
25748 [UNIX98] (sem_timedwait): Do not expect.
25749 * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
25750 [XPG4 || UNIX98] (sockatmark): Do not expect.
25751 * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
25752 (clock_getcpuclockid): Do not expect.
25753 [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
25754 * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
25756 [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
25757 * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
25758 [UNIX98] (vwscanf): Likewise.
25759 [UNIX98] (vswscanf): Likewise.
25761 2012-11-09 Joseph Myers <joseph@codesourcery.com>
25763 * timezone/version.h: Remove file.
25764 * timezone/README: Do not refer to version.h.
25765 * timezone/Makefile ($(objpfx)zic.o): New dependency on
25766 $(objpfx)version.h.
25767 ($(objpfx)zdump.o): Likewise.
25768 ($(objpfx)version.h): New target.
25770 * timezone/tzselect.ksh: Change to verbatim copy from tzcode
25772 * timezone/README: Don't mention modification to tzselect.ksh.
25773 * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
25774 work on unmodified tzselect.ksh. Substitute version numbers in
25777 * Makefile (format-me): Remove.
25778 (INSTALL): Adjust indentation. Use commands directly instead of
25779 using $(format-me).
25781 * aclocal.m4 (ACX_PKGVERSION): New macro.
25782 (ACX_BUGURL): Likewise.
25783 * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
25784 (PKGVERSION): New AC_DEFINE_UNQUOTED.
25785 (REPORT_BUGS_TO): Likewise.
25786 * configure: Regenerated.
25787 * config.h.in (PKGVERSION): New macro.
25788 (REPORT_BUGS_TO): Likewise.
25789 * config.make.in (PKGVERSION): New variable.
25790 (PKGVERSION_TEXI): Likewise.
25791 (REPORT_BUGS_TO): Likewise.
25792 (REPORT_BUGS_TEXI): Likewise.
25793 * Makefile (format-me): Use -I$(common-objpfx)manual.
25794 (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
25795 ($(common-objpfx)manual/%): New target.
25796 (manual/%): Remove target.
25797 * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
25798 (print_version): Use PKGVERSION.
25799 * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
25800 * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
25801 and REPORT_BUGS_TO.
25802 ($(objpfx)xtrace): Likewise.
25803 * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
25804 * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
25805 (print_version): Use PKGVERSION.
25806 * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
25807 (do_version): Use PKGVERSION.
25808 * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
25810 (common-ldd-rewrite): Likewise.
25811 * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
25812 * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
25813 (print_version): Use PKGVERSION.
25814 * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
25815 * elf/pldd.c (argp_program_bug_address): Remove variable.
25816 (more_help): New function.
25817 (argp): Use more_help.
25818 (print_version): Use PKGVERSION.
25819 * elf/sln.c (main): Use PKGVERSION.
25820 (usage): Use REPORT_BUGS_TO.
25821 * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
25822 (top level): Use PKGVERSION.
25823 * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
25824 (print_version): Use PKGVERSION.
25825 * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
25826 (print_version): Use PKGVERSION.
25827 * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
25828 (print_version): Use PKGVERSION.
25829 * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
25830 (print_version): Use PKGVERSION.
25831 * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
25832 (print_version): Use PKGVERSION.
25833 * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
25834 (print_version): Use PKGVERSION.
25835 * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
25837 ($(objpfx)memusage): Likewise.
25838 * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
25839 (do_version): Use PKGVERSION.
25840 * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
25841 (print_version): Use PKGVERSION.
25842 * malloc/mtrace.pl ($PACKAGE): Remove variable.
25843 ($PKGVERSION): New variable.
25844 ($REPORT_BUGS_TO): Likewise.
25845 (usage): Use $REPORT_BUGS_TO.
25846 (top level): Use $PKGVERSION.
25847 * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
25848 ($(objpfx)pkgvers.texi): New rule.
25849 ($(objpfx)stamp-pkgvers): Likewise.
25850 * manual/install.texi: Include pkgvers.texi.
25851 (--with-pkgversion): Document new configure option.
25852 (--with-bugurl): Likewise.
25853 (Reporting Bugs): Describe Bugzilla as upstream tracker rather
25854 than necessarily for this particular distribution. Use
25855 REPORT_BUGS_TO for where to report bugs.
25856 * INSTALL: Regenerated.
25857 * manual/libc.texinfo: Include pkgvers.texi.
25858 [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
25859 * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
25860 (print_version): Use PKGVERSION.
25861 * nss/getent.c (more_help): Use REPORT_BUGS_TO.
25862 (print_version): Use PKGVERSION.
25863 * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
25864 (print_version): Use PKGVERSION.
25865 * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
25866 * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
25868 * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
25869 (print_version): Use PKGVERSION.
25870 * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
25871 (print_version): Use PKGVERSION.
25872 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
25875 * timezone/checktab.awk: Update from tzcode 2012i.
25876 * timezone/ialloc.c: Likewise.
25877 * timezone/private.h: Likewise.
25878 * timezone/scheck.c: Likewise.
25879 * timezone/tzfile.h: Likewise.
25880 * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
25881 (TZVERSION): Hardcode tzcode version number.
25882 * timezone/zdump.c: Update from tzcode 2012i.
25883 * timezone/zic.c: Likewise.
25884 * timezone/version.h: New file.
25885 * timezone/README: Describe version.h. Update upstream location.
25888 * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
25889 (mktemp): Enable declaration.
25890 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
25891 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
25892 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
25893 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
25895 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
25897 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
25899 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
25901 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
25903 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
25907 * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
25908 offset in buffer as u_int32_t not u_long. Consistently use memcpy
25909 for copies of such integer values.
25910 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
25911 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
25913 2012-11-09 Andreas Jaeger <aj@suse.de>
25915 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
25916 definitions and declarations that are provided by
25917 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
25919 2012-11-08 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
25921 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
25922 * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
25923 * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
25926 2012-11-08 Marcus Shawcroft <marcus.shawcroft@linaro.org>
25928 * elf/elf.h: Update comment before AArch64 relocations.
25930 2012-11-07 David S. Miller <davem@davemloft.net>
25932 * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
25933 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
25934 (__start_context): Declare.
25935 (__makecontext_ret): Delete.
25936 (__makecontext): Hook up __start_context instead of
25938 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
25939 (sysdep_routines): Add __start_context when in stdlib.
25941 2012-11-07 Joseph Myers <joseph@codesourcery.com>
25943 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
25944 $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
25945 * sysdeps/x86/tst-xmmymm.sh (NM): New variable. Use it instead of
25947 (OBJDUMP): New variable. Use it instead of hardcoded "objdump".
25948 (READELF): New variable. Use it instead of hardcoded "readelf".
25950 2012-11-07 H.J. Lu <hongjiu.lu@intel.com>
25952 * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
25953 * sysdeps/x86/Makefile: Here.
25954 * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
25955 * sysdeps/x86/tst-xmmymm.sh: This.
25957 2012-11-07 Joseph Myers <joseph@codesourcery.com>
25959 * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
25961 [UNIX98] (pthread_barrier_t): Do not expect.
25962 [UNIX98] (pthread_barrierattr_t): Likewise.
25963 [UNIX98] (pthread_spinlock_t): Likewise.
25964 [UNIX98] (pthread_barrier_destroy): Likewise.
25965 [UNIX98] (pthread_barrier_init): Likewise.
25966 [UNIX98] (pthread_barrier_wait): Likewise.
25967 [UNIX98] (pthread_barrierattr_destroy): Likewise.
25968 [UNIX98] (pthread_barrierattr_getpshared): Likewise.
25969 [UNIX98] (pthread_barrierattr_init): Likewise.
25970 [UNIX98] (pthread_barrierattr_setpshared): Likewise.
25971 [UNIX98] (pthread_getcpuclockid): Likewise.
25972 [UNIX98] (pthread_mutex_timedlock): Likewise.
25973 [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
25974 [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
25975 [UNIX98] (pthread_sigmask): Likewise.
25976 [UNIX98] (pthread_spin_destroy): Likewise.
25977 [UNIX98] (pthread_spin_init): Likewise.
25978 [UNIX98] (pthread_spin_lock): Likewise.
25979 [UNIX98] (pthread_spin_trylock): Likewise.
25980 [UNIX98] (pthread_spin_unlock): Likewise.
25981 * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
25983 [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
25984 [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
25985 [XPG3 || XPG4] (pthread_cond_t): Likewise.
25986 [XPG3 || XPG4] (pthread_condattr_t): Likewise.
25987 [XPG3 || XPG4] (pthread_key_t): Likewise.
25988 [XPG3 || XPG4] (pthread_mutex_t): Likewise.
25989 [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
25990 [XPG3 || XPG4] (pthread_once_t): Likewise.
25991 [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
25992 [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
25993 [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
25994 [XPG3 || XPG4] (pthread_t): Likewise.
25996 * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
25998 [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
26000 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
26001 Change function return type to int.
26003 * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
26004 Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
26005 [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
26006 [!POSIX] (POSIX_MADV_RANDOM): Likewise.
26007 [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
26008 [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
26009 [!POSIX] (posix_madvise): Likewise.
26010 (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
26012 (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
26013 (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
26014 (mode_t): Likewise.
26015 (posix_mem_offset): Likewise.
26016 (posix_typed_mem_get_info): Likewise.
26017 (posix_typed_mem_open): Likewise.
26019 * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
26020 Change condition to [XOPEN2K8].
26022 * conform/conformtest.pl: Preprocess allow-header data with -x c
26023 instead of from stdin.
26024 (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
26025 * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
26026 [C99-based standards] (cerfc): Likewise.
26027 [C99-based standards] (cexp2): Likewise.
26028 [C99-based standards] (cexpm1): Likewise.
26029 [C99-based standards] (clog10): Likewise.
26030 [C99-based standards] (clog1p): Likewise.
26031 [C99-based standards] (clog2): Likewise.
26032 [C99-based standards] (clgamma): Likewise.
26033 [C99-based standards] (ctgamma): Likewise.
26034 [C99-based standards] (cerff): Likewise.
26035 [C99-based standards] (cerfcf): Likewise.
26036 [C99-based standards] (cexp2f): Likewise.
26037 [C99-based standards] (cexpm1f): Likewise.
26038 [C99-based standards] (clog10f): Likewise.
26039 [C99-based standards] (clog1pf): Likewise.
26040 [C99-based standards] (clog2f): Likewise.
26041 [C99-based standards] (clgammaf): Likewise.
26042 [C99-based standards] (ctgammaf): Likewise.
26043 [C99-based standards] (cerfl): Likewise.
26044 [C99-based standards] (cerfcl): Likewise.
26045 [C99-based standards] (cexp2l): Likewise.
26046 [C99-based standards] (cexpm1l): Likewise.
26047 [C99-based standards] (clog10l): Likewise.
26048 [C99-based standards] (clog1pl): Likewise.
26049 [C99-based standards] (clog2l): Likewise.
26050 [C99-based standards] (clgammal): Likewise.
26051 [C99-based standards] (ctgammal): Likewise.
26052 * conform/data/inttypes.h-data [C99-based standards]: Include
26053 stdint.h-data. Remove all expectations for stdint.h contents.
26054 [C99-based standards] (PRI*): Do not allow.
26055 [C99-based standards] (SCN*): Likewise.
26056 [C99-based standards] (*_t): Likewise.
26057 [C99-based-standards] (PRId8): Expect macro.
26058 [C99-based-standards] (PRIi8): Likewise.
26059 [C99-based-standards] (PRIo8): Likewise.
26060 [C99-based-standards] (PRIu8): Likewise.
26061 [C99-based-standards] (PRIx8): Likewise.
26062 [C99-based-standards] (PRIX8): Likewise.
26063 [C99-based-standards] (SCNd8): Likewise.
26064 [C99-based-standards] (SCNi8): Likewise.
26065 [C99-based-standards] (SCNo8): Likewise.
26066 [C99-based-standards] (SCNu8): Likewise.
26067 [C99-based-standards] (SCNx8): Likewise.
26068 [C99-based-standards] (PRIdLEAST8): Likewise.
26069 [C99-based-standards] (PRIiLEAST8): Likewise.
26070 [C99-based-standards] (PRIoLEAST8): Likewise.
26071 [C99-based-standards] (PRIuLEAST8): Likewise.
26072 [C99-based-standards] (PRIxLEAST8): Likewise.
26073 [C99-based-standards] (PRIXLEAST8): Likewise.
26074 [C99-based-standards] (SCNdLEAST8): Likewise.
26075 [C99-based-standards] (SCNiLEAST8): Likewise.
26076 [C99-based-standards] (SCNoLEAST8): Likewise.
26077 [C99-based-standards] (SCNuLEAST8): Likewise.
26078 [C99-based-standards] (SCNxLEAST8): Likewise.
26079 [C99-based-standards] (PRIdFAST8): Likewise.
26080 [C99-based-standards] (PRIiFAST8): Likewise.
26081 [C99-based-standards] (PRIoFAST8): Likewise.
26082 [C99-based-standards] (PRIuFAST8): Likewise.
26083 [C99-based-standards] (PRIxFAST8): Likewise.
26084 [C99-based-standards] (PRIXFAST8): Likewise.
26085 [C99-based-standards] (SCNdFAST8): Likewise.
26086 [C99-based-standards] (SCNiFAST8): Likewise.
26087 [C99-based-standards] (SCNoFAST8): Likewise.
26088 [C99-based-standards] (SCNuFAST8): Likewise.
26089 [C99-based-standards] (SCNxFAST8): Likewise.
26090 [C99-based-standards] (PRId16): Likewise.
26091 [C99-based-standards] (PRIi16): Likewise.
26092 [C99-based-standards] (PRIo16): Likewise.
26093 [C99-based-standards] (PRIu16): Likewise.
26094 [C99-based-standards] (PRIx16): Likewise.
26095 [C99-based-standards] (PRIX16): Likewise.
26096 [C99-based-standards] (SCNd16): Likewise.
26097 [C99-based-standards] (SCNi16): Likewise.
26098 [C99-based-standards] (SCNo16): Likewise.
26099 [C99-based-standards] (SCNu16): Likewise.
26100 [C99-based-standards] (SCNx16): Likewise.
26101 [C99-based-standards] (PRIdLEAST16): Likewise.
26102 [C99-based-standards] (PRIiLEAST16): Likewise.
26103 [C99-based-standards] (PRIoLEAST16): Likewise.
26104 [C99-based-standards] (PRIuLEAST16): Likewise.
26105 [C99-based-standards] (PRIxLEAST16): Likewise.
26106 [C99-based-standards] (PRIXLEAST16): Likewise.
26107 [C99-based-standards] (SCNdLEAST16): Likewise.
26108 [C99-based-standards] (SCNiLEAST16): Likewise.
26109 [C99-based-standards] (SCNoLEAST16): Likewise.
26110 [C99-based-standards] (SCNuLEAST16): Likewise.
26111 [C99-based-standards] (SCNxLEAST16): Likewise.
26112 [C99-based-standards] (PRIdFAST16): Likewise.
26113 [C99-based-standards] (PRIiFAST16): Likewise.
26114 [C99-based-standards] (PRIoFAST16): Likewise.
26115 [C99-based-standards] (PRIuFAST16): Likewise.
26116 [C99-based-standards] (PRIxFAST16): Likewise.
26117 [C99-based-standards] (PRIXFAST16): Likewise.
26118 [C99-based-standards] (SCNdFAST16): Likewise.
26119 [C99-based-standards] (SCNiFAST16): Likewise.
26120 [C99-based-standards] (SCNoFAST16): Likewise.
26121 [C99-based-standards] (SCNuFAST16): Likewise.
26122 [C99-based-standards] (SCNxFAST16): Likewise.
26123 [C99-based-standards] (PRId32): Likewise.
26124 [C99-based-standards] (PRIi32): Likewise.
26125 [C99-based-standards] (PRIo32): Likewise.
26126 [C99-based-standards] (PRIu32): Likewise.
26127 [C99-based-standards] (PRIx32): Likewise.
26128 [C99-based-standards] (PRIX32): Likewise.
26129 [C99-based-standards] (SCNd32): Likewise.
26130 [C99-based-standards] (SCNi32): Likewise.
26131 [C99-based-standards] (SCNo32): Likewise.
26132 [C99-based-standards] (SCNu32): Likewise.
26133 [C99-based-standards] (SCNx32): Likewise.
26134 [C99-based-standards] (PRIdLEAST32): Likewise.
26135 [C99-based-standards] (PRIiLEAST32): Likewise.
26136 [C99-based-standards] (PRIoLEAST32): Likewise.
26137 [C99-based-standards] (PRIuLEAST32): Likewise.
26138 [C99-based-standards] (PRIxLEAST32): Likewise.
26139 [C99-based-standards] (PRIXLEAST32): Likewise.
26140 [C99-based-standards] (SCNdLEAST32): Likewise.
26141 [C99-based-standards] (SCNiLEAST32): Likewise.
26142 [C99-based-standards] (SCNoLEAST32): Likewise.
26143 [C99-based-standards] (SCNuLEAST32): Likewise.
26144 [C99-based-standards] (SCNxLEAST32): Likewise.
26145 [C99-based-standards] (PRIdFAST32): Likewise.
26146 [C99-based-standards] (PRIiFAST32): Likewise.
26147 [C99-based-standards] (PRIoFAST32): Likewise.
26148 [C99-based-standards] (PRIuFAST32): Likewise.
26149 [C99-based-standards] (PRIxFAST32): Likewise.
26150 [C99-based-standards] (PRIXFAST32): Likewise.
26151 [C99-based-standards] (SCNdFAST32): Likewise.
26152 [C99-based-standards] (SCNiFAST32): Likewise.
26153 [C99-based-standards] (SCNoFAST32): Likewise.
26154 [C99-based-standards] (SCNuFAST32): Likewise.
26155 [C99-based-standards] (SCNxFAST32): Likewise.
26156 [C99-based-standards] (PRId64): Likewise.
26157 [C99-based-standards] (PRIi64): Likewise.
26158 [C99-based-standards] (PRIo64): Likewise.
26159 [C99-based-standards] (PRIu64): Likewise.
26160 [C99-based-standards] (PRIx64): Likewise.
26161 [C99-based-standards] (PRIX64): Likewise.
26162 [C99-based-standards] (SCNd64): Likewise.
26163 [C99-based-standards] (SCNi64): Likewise.
26164 [C99-based-standards] (SCNo64): Likewise.
26165 [C99-based-standards] (SCNu64): Likewise.
26166 [C99-based-standards] (SCNx64): Likewise.
26167 [C99-based-standards] (PRIdLEAST64): Likewise.
26168 [C99-based-standards] (PRIiLEAST64): Likewise.
26169 [C99-based-standards] (PRIoLEAST64): Likewise.
26170 [C99-based-standards] (PRIuLEAST64): Likewise.
26171 [C99-based-standards] (PRIxLEAST64): Likewise.
26172 [C99-based-standards] (PRIXLEAST64): Likewise.
26173 [C99-based-standards] (SCNdLEAST64): Likewise.
26174 [C99-based-standards] (SCNiLEAST64): Likewise.
26175 [C99-based-standards] (SCNoLEAST64): Likewise.
26176 [C99-based-standards] (SCNuLEAST64): Likewise.
26177 [C99-based-standards] (SCNxLEAST64): Likewise.
26178 [C99-based-standards] (PRIdFAST64): Likewise.
26179 [C99-based-standards] (PRIiFAST64): Likewise.
26180 [C99-based-standards] (PRIoFAST64): Likewise.
26181 [C99-based-standards] (PRIuFAST64): Likewise.
26182 [C99-based-standards] (PRIxFAST64): Likewise.
26183 [C99-based-standards] (PRIXFAST64): Likewise.
26184 [C99-based-standards] (SCNdFAST64): Likewise.
26185 [C99-based-standards] (SCNiFAST64): Likewise.
26186 [C99-based-standards] (SCNoFAST64): Likewise.
26187 [C99-based-standards] (SCNuFAST64): Likewise.
26188 [C99-based-standards] (SCNxFAST64): Likewise.
26189 [C99-based-standards] (PRIdMAX): Likewise.
26190 [C99-based-standards] (PRIiMAX): Likewise.
26191 [C99-based-standards] (PRIoMAX): Likewise.
26192 [C99-based-standards] (PRIuMAX): Likewise.
26193 [C99-based-standards] (PRIxMAX): Likewise.
26194 [C99-based-standards] (PRIXMAX): Likewise.
26195 [C99-based-standards] (SCNdMAX): Likewise.
26196 [C99-based-standards] (SCNiMAX): Likewise.
26197 [C99-based-standards] (SCNoMAX): Likewise.
26198 [C99-based-standards] (SCNuMAX): Likewise.
26199 [C99-based-standards] (SCNxMAX): Likewise.
26200 [C99-based-standards] (PRIdPTR): Likewise.
26201 [C99-based-standards] (PRIiPTR): Likewise.
26202 [C99-based-standards] (PRIoPTR): Likewise.
26203 [C99-based-standards] (PRIuPTR): Likewise.
26204 [C99-based-standards] (PRIxPTR): Likewise.
26205 [C99-based-standards] (PRIXPTR): Likewise.
26206 [C99-based-standards] (SCNdPTR): Likewise.
26207 [C99-based-standards] (SCNiPTR): Likewise.
26208 [C99-based-standards] (SCNoPTR): Likewise.
26209 [C99-based-standards] (SCNuPTR): Likewise.
26210 [C99-based-standards] (SCNxPTR): Likewise.
26211 * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
26213 * conform/data/stdint.h-data: Update comments to clarify
26215 [C99-based standards] (INT8_MIN): Use macro-int-constant. Specify
26217 [C99-based standards] (INT8_MAX): Likewise.
26218 [C99-based standards] (INT16_MIN): Likewise.
26219 [C99-based standards] (INT16_MAX): Likewise.
26220 [C99-based standards] (INT32_MIN): Likewise.
26221 [C99-based standards] (INT32_MAX): Likewise.
26222 [C99-based standards] (INT64_MIN): Likewise.
26223 [C99-based standards] (INT64_MAX): Likewise.
26224 [C99-based standards] (UINT8_MAX): Likewise.
26225 [C99-based standards] (UINT16_MAX): Likewise.
26226 [C99-based standards] (UINT32_MAX): Likewise.
26227 [C99-based standards] (UINT64_MAX): Likewise.
26228 [C99-based standards] (INT_LEAST8_MIN): Likewise.
26229 [C99-based standards] (INT_LEAST8_MAX): Likewise.
26230 [C99-based standards] (INT_LEAST16_MIN): Likewise.
26231 [C99-based standards] (INT_LEAST16_MAX): Likewise.
26232 [C99-based standards] (INT_LEAST32_MIN): Likewise.
26233 [C99-based standards] (INT_LEAST32_MAX): Likewise.
26234 [C99-based standards] (INT_LEAST64_MIN): Likewise.
26235 [C99-based standards] (INT_LEAST64_MAX): Likewise.
26236 [C99-based standards] (UINT_LEAST8_MAX): Likewise.
26237 [C99-based standards] (UINT_LEAST16_MAX): Likewise.
26238 [C99-based standards] (UINT_LEAST32_MAX): Likewise.
26239 [C99-based standards] (UINT_LEAST64_MAX): Likewise.
26240 [C99-based standards] (INT_FAST8_MIN): Likewise.
26241 [C99-based standards] (INT_FAST8_MAX): Likewise.
26242 [C99-based standards] (INT_FAST16_MIN): Likewise.
26243 [C99-based standards] (INT_FAST16_MAX): Likewise.
26244 [C99-based standards] (INT_FAST32_MIN): Likewise.
26245 [C99-based standards] (INT_FAST32_MAX): Likewise.
26246 [C99-based standards] (INT_FAST64_MIN): Likewise.
26247 [C99-based standards] (INT_FAST64_MAX): Likewise.
26248 [C99-based standards] (UINT_FAST8_MAX): Likewise.
26249 [C99-based standards] (UINT_FAST16_MAX): Likewise.
26250 [C99-based standards] (UINT_FAST32_MAX): Likewise.
26251 [C99-based standards] (UINT_FAST64_MAX): Likewise.
26252 [C99-based standards] (INTPTR_MIN): Likewise.
26253 [C99-based standards] (INTPTR_MAX): Likewise.
26254 [C99-based standards] (UINTPTR_MAX): Likewise.
26255 [C99-based standards] (INTMAX_MIN): Likewise.
26256 [C99-based standards] (INTMAX_MAX): Likewise.
26257 [C99-based standards] (UINTMAX_MAX): Likewise.
26258 [C99-based standards] (PTRDIFF_MIN): Likewise.
26259 [C99-based standards] (PTRDIFF_MAX): Likewise.
26260 [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
26261 [C99-based standards] (SIZE_MAX): Likewise.
26262 [C99-based standards] (WCHAR_MAX): Likewise.
26263 [C99-based standards] (WINT_MAX): Likewise.
26264 [C99-based standards] (SIG_ATOMIC_MIN): Likewise. Do not specify
26265 constraint on value.
26266 [C99-based standards] (WCHAR_MIN): Likewise.
26267 [C99-based standards] (WINT_MIN): Likewise.
26268 [C99-based standards] (*_t): Allow.
26269 * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
26270 condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
26271 Include math.h-data and complex.h-data. Remove all expectations
26272 of math.h and complex.h contents.
26273 * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
26275 * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
26276 (struct tm): Expect tag.
26277 [C99-based-standards] (wcstof): Expect function.
26278 [C99-based-standards] (wcstold): Likewise.
26279 [C99-based-standards] (wcstoll): Likewise.
26280 [C99-based-standards] (wcstoull): Likewise.
26281 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
26282 macro-int-constant. Specify type.
26283 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise. Specify
26284 constraint on value.
26285 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
26287 [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
26289 [ISO C standards]: Do not allow headers.
26290 [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
26291 wcs[abcdefghijklmnopqrstuvwxyz]*.
26292 [ISO C standards] (*_t): Do not allow.
26293 * conform/data/wctype.h-data [C99-based standards] (iswblank):
26295 [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
26296 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
26298 [ISO C standards]: Do not allow headers.
26299 [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
26300 is[abcdefghijklmnopqrstuvwxyz]*.
26301 [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
26302 to[abcdefghijklmnopqrstuvwxyz]*.
26303 [ISO C standards] (*_t): Do not allow.
26304 * conform/data/stdalign.h-data: New file.
26305 * conform/data/stdbool.h-data: Likewise.
26306 * conform/data/stdnoreturn.h-data: Likewise.
26308 2012-11-07 Roland McGrath <roland@hack.frob.com>
26311 * manual/filesys.texi (Directory Entries): Typo fix.
26312 Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
26314 2012-11-07 Marcus Shawcroft <marcus.shawcroft@linaro.org>
26316 * elf/elf.h (EM_AARCH64): New macro.
26317 (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
26318 (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
26319 (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
26320 (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
26321 (R_AARCH64_TLSDESC): Likewise.
26322 (NT_ARM_TLS): Likewise.
26323 (NT_ARM_HW_BREAK): Likewise.
26324 (NT_ARM_HW_WATCH): Likewise.
26326 2012-11-07 Joseph Myers <joseph@codesourcery.com>
26329 * sysdeps/i386/fpu/e_powl.S (pm79): New object.
26330 (__ieee754_powl): Saturate nonzero exponents with absolute value
26331 below 0x1p-79 to +/- 0x1p-79.
26332 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
26333 exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
26334 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
26335 nonzero exponents with absolute value below 0x1p-32 to +/-
26337 * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
26338 (__ieee754_powl): Saturate nonzero exponents with absolute value
26339 below 0x1p-79 to +/- 0x1p-79.
26340 * math/libm-test.inc (pow_test): Add more tests.
26342 2012-11-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
26344 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
26345 _dl_s390_cap_flags with kernel. Increase string length.
26346 (_dl_s390_platforms): Add z196 and zEC12.
26348 2012-11-07 Joseph Myers <joseph@codesourcery.com>
26350 * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
26351 Change XOPEN21K to XOPEN2K.
26353 2012-11-06 Maxim Kuvyrkov <maxim@codesourcery.com>
26355 * string/memmove.c: Use memcpy when possible.
26357 2012-11-06 Andreas Jaeger <aj@suse.de>
26359 * po/eo.po: Update from translation team.
26361 2012-11-06 Joseph Myers <joseph@codesourcery.com>
26364 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
26365 exponent and small x and y exponents, scale x or y up. Increase
26366 by 2 the exponent used in scaling up.
26367 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
26368 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
26369 * math/libm-test.inc (fma_test): Add more tests.
26370 (fma_test_towardzero): Likewise.
26371 (fma_test_downward): Likewise.
26372 (fma_test_upward): Likewise.
26374 2012-11-05 Joseph Myers <joseph@codesourcery.com>
26377 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
26381 * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
26382 namespace for names of struct fields.
26383 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
26385 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
26386 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
26388 2012-11-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
26391 * sysdeps/mach/hurd/bits/errno.h: Regenerated.
26393 2012-11-04 Thomas Schwinge <thomas@codesourcery.com>
26395 * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
26399 * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
26402 2012-11-04 Joseph Myers <joseph@codesourcery.com>
26405 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
26406 definitely overflow as x * y not x * y + z.
26407 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
26408 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
26409 * math/libm-test.inc (fma_test): Add more tests.
26410 (fma_test_towardzero): Likewise.
26411 (fma_test_downward): Likewise.
26412 (fma_test_upward): Likewise.
26414 2012-11-04 Thomas Schwinge <thomas@codesourcery.com>
26418 * include/stub-tag.h: Remove file.
26419 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
26421 * manual/maint.texi (Porting): Don't reference it.
26422 * Makerules ($(objpfx)stubs): Likewise.
26423 * dirent/closedir.c: Don't include <stub-tag.h>.
26424 * dirent/dirfd.c: Likewise.
26425 * dirent/fdopendir.c: Likewise.
26426 * dirent/getdents.c: Likewise.
26427 * dirent/getdents64.c: Likewise.
26428 * dirent/opendir.c: Likewise.
26429 * dirent/readdir.c: Likewise.
26430 * dirent/readdir64.c: Likewise.
26431 * dirent/readdir64_r.c: Likewise.
26432 * dirent/readdir_r.c: Likewise.
26433 * dirent/rewinddir.c: Likewise.
26434 * dirent/seekdir.c: Likewise.
26435 * dirent/telldir.c: Likewise.
26436 * gmon/profil.c: Likewise.
26437 * grp/setgroups.c: Likewise.
26438 * inet/if_index.c: Likewise.
26439 * io/access.c: Likewise.
26440 * io/chdir.c: Likewise.
26441 * io/chmod.c: Likewise.
26442 * io/chown.c: Likewise.
26443 * io/close.c: Likewise.
26444 * io/dup.c: Likewise.
26445 * io/dup2.c: Likewise.
26446 * io/dup3.c: Likewise.
26447 * io/euidaccess.c: Likewise.
26448 * io/faccessat.c: Likewise.
26449 * io/fchdir.c: Likewise.
26450 * io/fchmod.c: Likewise.
26451 * io/fchmodat.c: Likewise.
26452 * io/fchown.c: Likewise.
26453 * io/fchownat.c: Likewise.
26454 * io/fcntl.c: Likewise.
26455 * io/flock.c: Likewise.
26456 * io/fstatfs.c: Likewise.
26457 * io/fstatfs64.c: Likewise.
26458 * io/fstatvfs.c: Likewise.
26459 * io/fstatvfs64.c: Likewise.
26460 * io/futimens.c: Likewise.
26461 * io/fxstat.c: Likewise.
26462 * io/fxstat64.c: Likewise.
26463 * io/fxstatat.c: Likewise.
26464 * io/fxstatat64.c: Likewise.
26465 * io/getcwd.c: Likewise.
26466 * io/isatty.c: Likewise.
26467 * io/lchmod.c: Likewise.
26468 * io/lchown.c: Likewise.
26469 * io/link.c: Likewise.
26470 * io/linkat.c: Likewise.
26471 * io/lseek.c: Likewise.
26472 * io/lseek64.c: Likewise.
26473 * io/lxstat64.c: Likewise.
26474 * io/mkdir.c: Likewise.
26475 * io/mkdirat.c: Likewise.
26476 * io/mkfifo.c: Likewise.
26477 * io/mkfifoat.c: Likewise.
26478 * io/open.c: Likewise.
26479 * io/open64.c: Likewise.
26480 * io/openat.c: Likewise.
26481 * io/openat64.c: Likewise.
26482 * io/pipe.c: Likewise.
26483 * io/pipe2.c: Likewise.
26484 * io/poll.c: Likewise.
26485 * io/posix_fadvise.c: Likewise.
26486 * io/posix_fadvise64.c: Likewise.
26487 * io/posix_fallocate.c: Likewise.
26488 * io/posix_fallocate64.c: Likewise.
26489 * io/read.c: Likewise.
26490 * io/readlink.c: Likewise.
26491 * io/readlinkat.c: Likewise.
26492 * io/rmdir.c: Likewise.
26493 * io/sendfile.c: Likewise.
26494 * io/sendfile64.c: Likewise.
26495 * io/statfs.c: Likewise.
26496 * io/statfs64.c: Likewise.
26497 * io/statvfs.c: Likewise.
26498 * io/statvfs64.c: Likewise.
26499 * io/symlink.c: Likewise.
26500 * io/symlinkat.c: Likewise.
26501 * io/ttyname.c: Likewise.
26502 * io/ttyname_r.c: Likewise.
26503 * io/umask.c: Likewise.
26504 * io/unlink.c: Likewise.
26505 * io/unlinkat.c: Likewise.
26506 * io/utime.c: Likewise.
26507 * io/utimensat.c: Likewise.
26508 * io/write.c: Likewise.
26509 * io/xmknod.c: Likewise.
26510 * io/xmknodat.c: Likewise.
26511 * io/xstat.c: Likewise.
26512 * io/xstat64.c: Likewise.
26513 * login/getpt.c: Likewise.
26514 * login/grantpt.c: Likewise.
26515 * login/unlockpt.c: Likewise.
26516 * math/e_acoshl.c: Likewise.
26517 * math/e_acosl.c: Likewise.
26518 * math/e_asinl.c: Likewise.
26519 * math/e_atan2l.c: Likewise.
26520 * math/e_atanhl.c: Likewise.
26521 * math/e_coshl.c: Likewise.
26522 * math/e_expl.c: Likewise.
26523 * math/e_fmodl.c: Likewise.
26524 * math/e_gammal_r.c: Likewise.
26525 * math/e_hypotl.c: Likewise.
26526 * math/e_j0l.c: Likewise.
26527 * math/e_j1l.c: Likewise.
26528 * math/e_jnl.c: Likewise.
26529 * math/e_lgammal_r.c: Likewise.
26530 * math/e_log10l.c: Likewise.
26531 * math/e_log2l.c: Likewise.
26532 * math/e_logl.c: Likewise.
26533 * math/e_powl.c: Likewise.
26534 * math/e_rem_pio2l.c: Likewise.
26535 * math/e_sinhl.c: Likewise.
26536 * math/e_sqrtl.c: Likewise.
26537 * math/fclrexcpt.c: Likewise.
26538 * math/fedisblxcpt.c: Likewise.
26539 * math/feenablxcpt.c: Likewise.
26540 * math/fegetenv.c: Likewise.
26541 * math/fegetexcept.c: Likewise.
26542 * math/fegetround.c: Likewise.
26543 * math/feholdexcpt.c: Likewise.
26544 * math/fesetenv.c: Likewise.
26545 * math/fesetround.c: Likewise.
26546 * math/feupdateenv.c: Likewise.
26547 * math/fgetexcptflg.c: Likewise.
26548 * math/fraiseexcpt.c: Likewise.
26549 * math/fsetexcptflg.c: Likewise.
26550 * math/ftestexcept.c: Likewise.
26551 * math/k_cosl.c: Likewise.
26552 * math/k_rem_pio2l.c: Likewise.
26553 * math/k_sinl.c: Likewise.
26554 * math/k_tanl.c: Likewise.
26555 * math/s_asinhl.c: Likewise.
26556 * math/s_atanl.c: Likewise.
26557 * math/s_cbrtl.c: Likewise.
26558 * math/s_erfl.c: Likewise.
26559 * math/s_expm1l.c: Likewise.
26560 * math/s_log1pl.c: Likewise.
26561 * math/s_tanhl.c: Likewise.
26562 * misc/acct.c: Likewise.
26563 * misc/brk.c: Likewise.
26564 * misc/chflags.c: Likewise.
26565 * misc/chroot.c: Likewise.
26566 * misc/fchflags.c: Likewise.
26567 * misc/fgetxattr.c: Likewise.
26568 * misc/flistxattr.c: Likewise.
26569 * misc/fremovexattr.c: Likewise.
26570 * misc/fsetxattr.c: Likewise.
26571 * misc/fsync.c: Likewise.
26572 * misc/ftruncate.c: Likewise.
26573 * misc/futimes.c: Likewise.
26574 * misc/futimesat.c: Likewise.
26575 * misc/getdomain.c: Likewise.
26576 * misc/getdtsz.c: Likewise.
26577 * misc/gethostid.c: Likewise.
26578 * misc/gethostname.c: Likewise.
26579 * misc/getloadavg.c: Likewise.
26580 * misc/getpagesize.c: Likewise.
26581 * misc/getsysstats.c: Likewise.
26582 * misc/getxattr.c: Likewise.
26583 * misc/gtty.c: Likewise.
26584 * misc/ioctl.c: Likewise.
26585 * misc/lgetxattr.c: Likewise.
26586 * misc/listxattr.c: Likewise.
26587 * misc/llistxattr.c: Likewise.
26588 * misc/lremovexattr.c: Likewise.
26589 * misc/lsetxattr.c: Likewise.
26590 * misc/lutimes.c: Likewise.
26591 * misc/madvise.c: Likewise.
26592 * misc/mincore.c: Likewise.
26593 * misc/mlock.c: Likewise.
26594 * misc/mlockall.c: Likewise.
26595 * misc/mmap.c: Likewise.
26596 * misc/mprotect.c: Likewise.
26597 * misc/msync.c: Likewise.
26598 * misc/munlock.c: Likewise.
26599 * misc/munlockall.c: Likewise.
26600 * misc/munmap.c: Likewise.
26601 * misc/preadv.c: Likewise.
26602 * misc/preadv64.c: Likewise.
26603 * misc/ptrace.c: Likewise.
26604 * misc/pwritev.c: Likewise.
26605 * misc/pwritev64.c: Likewise.
26606 * misc/readv.c: Likewise.
26607 * misc/reboot.c: Likewise.
26608 * misc/remap_file_pages.c: Likewise.
26609 * misc/removexattr.c: Likewise.
26610 * misc/revoke.c: Likewise.
26611 * misc/select.c: Likewise.
26612 * misc/setdomain.c: Likewise.
26613 * misc/setegid.c: Likewise.
26614 * misc/seteuid.c: Likewise.
26615 * misc/sethostid.c: Likewise.
26616 * misc/sethostname.c: Likewise.
26617 * misc/setregid.c: Likewise.
26618 * misc/setreuid.c: Likewise.
26619 * misc/setxattr.c: Likewise.
26620 * misc/sstk.c: Likewise.
26621 * misc/stty.c: Likewise.
26622 * misc/swapoff.c: Likewise.
26623 * misc/swapon.c: Likewise.
26624 * misc/sync.c: Likewise.
26625 * misc/syncfs.c: Likewise.
26626 * misc/syscall.c: Likewise.
26627 * misc/truncate.c: Likewise.
26628 * misc/ualarm.c: Likewise.
26629 * misc/usleep.c: Likewise.
26630 * misc/ustat.c: Likewise.
26631 * misc/utimes.c: Likewise.
26632 * misc/vhangup.c: Likewise.
26633 * misc/writev.c: Likewise.
26634 * posix/_exit.c: Likewise.
26635 * posix/alarm.c: Likewise.
26636 * posix/execve.c: Likewise.
26637 * posix/fexecve.c: Likewise.
26638 * posix/fork.c: Likewise.
26639 * posix/fpathconf.c: Likewise.
26640 * posix/getaddrinfo.c: Likewise.
26641 * posix/getegid.c: Likewise.
26642 * posix/geteuid.c: Likewise.
26643 * posix/getgid.c: Likewise.
26644 * posix/getgroups.c: Likewise.
26645 * posix/getlogin.c: Likewise.
26646 * posix/getlogin_r.c: Likewise.
26647 * posix/getpgid.c: Likewise.
26648 * posix/getpid.c: Likewise.
26649 * posix/getppid.c: Likewise.
26650 * posix/getresgid.c: Likewise.
26651 * posix/getresuid.c: Likewise.
26652 * posix/getsid.c: Likewise.
26653 * posix/getuid.c: Likewise.
26654 * posix/glob64.c: Likewise.
26655 * posix/nanosleep.c: Likewise.
26656 * posix/pathconf.c: Likewise.
26657 * posix/pause.c: Likewise.
26658 * posix/posix_madvise.c: Likewise.
26659 * posix/pread.c: Likewise.
26660 * posix/pread64.c: Likewise.
26661 * posix/pwrite.c: Likewise.
26662 * posix/pwrite64.c: Likewise.
26663 * posix/sched_getaffinity.c: Likewise.
26664 * posix/sched_getp.c: Likewise.
26665 * posix/sched_gets.c: Likewise.
26666 * posix/sched_primax.c: Likewise.
26667 * posix/sched_primin.c: Likewise.
26668 * posix/sched_rr_gi.c: Likewise.
26669 * posix/sched_setaffinity.c: Likewise.
26670 * posix/sched_setp.c: Likewise.
26671 * posix/sched_sets.c: Likewise.
26672 * posix/sched_yield.c: Likewise.
26673 * posix/setgid.c: Likewise.
26674 * posix/setlogin.c: Likewise.
26675 * posix/setpgid.c: Likewise.
26676 * posix/setresgid.c: Likewise.
26677 * posix/setresuid.c: Likewise.
26678 * posix/setsid.c: Likewise.
26679 * posix/setuid.c: Likewise.
26680 * posix/sleep.c: Likewise.
26681 * posix/spawni.c: Likewise.
26682 * posix/sysconf.c: Likewise.
26683 * posix/times.c: Likewise.
26684 * posix/wait.c: Likewise.
26685 * posix/wait3.c: Likewise.
26686 * posix/wait4.c: Likewise.
26687 * posix/waitpid.c: Likewise.
26688 * resolv/gai_sigqueue.c: Likewise.
26689 * resource/getpriority.c: Likewise.
26690 * resource/getrlimit.c: Likewise.
26691 * resource/getrusage.c: Likewise.
26692 * resource/nice.c: Likewise.
26693 * resource/setpriority.c: Likewise.
26694 * resource/setrlimit.c: Likewise.
26695 * resource/ulimit.c: Likewise.
26696 * rt/aio_cancel.c: Likewise.
26697 * rt/aio_fsync.c: Likewise.
26698 * rt/aio_read.c: Likewise.
26699 * rt/aio_sigqueue.c: Likewise.
26700 * rt/aio_suspend.c: Likewise.
26701 * rt/aio_write.c: Likewise.
26702 * rt/clock_getres.c: Likewise.
26703 * rt/clock_gettime.c: Likewise.
26704 * rt/clock_nanosleep.c: Likewise.
26705 * rt/clock_settime.c: Likewise.
26706 * rt/lio_listio.c: Likewise.
26707 * rt/mq_close.c: Likewise.
26708 * rt/mq_getattr.c: Likewise.
26709 * rt/mq_notify.c: Likewise.
26710 * rt/mq_open.c: Likewise.
26711 * rt/mq_receive.c: Likewise.
26712 * rt/mq_send.c: Likewise.
26713 * rt/mq_setattr.c: Likewise.
26714 * rt/mq_timedreceive.c: Likewise.
26715 * rt/mq_timedsend.c: Likewise.
26716 * rt/mq_unlink.c: Likewise.
26717 * rt/shm_open.c: Likewise.
26718 * rt/shm_unlink.c: Likewise.
26719 * rt/timer_create.c: Likewise.
26720 * rt/timer_delete.c: Likewise.
26721 * rt/timer_getoverr.c: Likewise.
26722 * rt/timer_gettime.c: Likewise.
26723 * rt/timer_settime.c: Likewise.
26724 * setjmp/__longjmp.c: Likewise.
26725 * setjmp/setjmp.c: Likewise.
26726 * signal/kill.c: Likewise.
26727 * signal/killpg.c: Likewise.
26728 * signal/raise.c: Likewise.
26729 * signal/sigaction.c: Likewise.
26730 * signal/sigaltstack.c: Likewise.
26731 * signal/sigblock.c: Likewise.
26732 * signal/sigignore.c: Likewise.
26733 * signal/sigintr.c: Likewise.
26734 * signal/signal.c: Likewise.
26735 * signal/sigpause.c: Likewise.
26736 * signal/sigpending.c: Likewise.
26737 * signal/sigqueue.c: Likewise.
26738 * signal/sigreturn.c: Likewise.
26739 * signal/sigset.c: Likewise.
26740 * signal/sigsetmask.c: Likewise.
26741 * signal/sigstack.c: Likewise.
26742 * signal/sigsuspend.c: Likewise.
26743 * signal/sigtimedwait.c: Likewise.
26744 * signal/sigvec.c: Likewise.
26745 * signal/sigwait.c: Likewise.
26746 * signal/sigwaitinfo.c: Likewise.
26747 * signal/sysv_signal.c: Likewise.
26748 * socket/accept.c: Likewise.
26749 * socket/accept4.c: Likewise.
26750 * socket/bind.c: Likewise.
26751 * socket/connect.c: Likewise.
26752 * socket/getpeername.c: Likewise.
26753 * socket/getsockname.c: Likewise.
26754 * socket/getsockopt.c: Likewise.
26755 * socket/isfdtype.c: Likewise.
26756 * socket/listen.c: Likewise.
26757 * socket/recv.c: Likewise.
26758 * socket/recvfrom.c: Likewise.
26759 * socket/recvmsg.c: Likewise.
26760 * socket/send.c: Likewise.
26761 * socket/sendmsg.c: Likewise.
26762 * socket/sendto.c: Likewise.
26763 * socket/setsockopt.c: Likewise.
26764 * socket/shutdown.c: Likewise.
26765 * socket/sockatmark.c: Likewise.
26766 * socket/socket.c: Likewise.
26767 * socket/socketpair.c: Likewise.
26768 * stdio-common/ctermid.c: Likewise.
26769 * stdio-common/cuserid.c: Likewise.
26770 * stdio-common/remove.c: Likewise.
26771 * stdio-common/rename.c: Likewise.
26772 * stdio-common/renameat.c: Likewise.
26773 * stdio-common/tempname.c: Likewise.
26774 * stdlib/getcontext.c: Likewise.
26775 * stdlib/makecontext.c: Likewise.
26776 * stdlib/setcontext.c: Likewise.
26777 * stdlib/swapcontext.c: Likewise.
26778 * stdlib/system.c: Likewise.
26779 * streams/fattach.c: Likewise.
26780 * streams/fdetach.c: Likewise.
26781 * streams/getmsg.c: Likewise.
26782 * streams/getpmsg.c: Likewise.
26783 * streams/putmsg.c: Likewise.
26784 * streams/putpmsg.c: Likewise.
26785 * sysdeps/unix/bsd/getpt.c: Likewise.
26786 * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
26787 * sysdeps/unix/sysv/linux/futimens.c: Likewise.
26788 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
26789 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
26791 * sysdeps/unix/sysv/linux/readahead.c: Likewise.
26792 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
26793 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
26794 * sysvipc/msgctl.c: Likewise.
26795 * sysvipc/msgget.c: Likewise.
26796 * sysvipc/msgrcv.c: Likewise.
26797 * sysvipc/msgsnd.c: Likewise.
26798 * sysvipc/semctl.c: Likewise.
26799 * sysvipc/semget.c: Likewise.
26800 * sysvipc/semop.c: Likewise.
26801 * sysvipc/semtimedop.c: Likewise.
26802 * sysvipc/shmat.c: Likewise.
26803 * sysvipc/shmctl.c: Likewise.
26804 * sysvipc/shmdt.c: Likewise.
26805 * sysvipc/shmget.c: Likewise.
26806 * termios/tcdrain.c: Likewise.
26807 * termios/tcflow.c: Likewise.
26808 * termios/tcflush.c: Likewise.
26809 * termios/tcgetattr.c: Likewise.
26810 * termios/tcgetpgrp.c: Likewise.
26811 * termios/tcsendbrk.c: Likewise.
26812 * termios/tcsetattr.c: Likewise.
26813 * termios/tcsetpgrp.c: Likewise.
26814 * time/adjtime.c: Likewise.
26815 * time/clock.c: Likewise.
26816 * time/getitimer.c: Likewise.
26817 * time/gettimeofday.c: Likewise.
26818 * time/setitimer.c: Likewise.
26819 * time/settimeofday.c: Likewise.
26820 * time/stime.c: Likewise.
26821 * time/time.c: Likewise.
26823 2012-11-04 Pino Toscano <toscano.pino@tiscali.it>
26825 * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
26828 * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
26830 * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
26832 2012-11-03 Joseph Myers <joseph@codesourcery.com>
26835 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
26836 FE_TONEAREST before applying Dekker multiplication and Knuth
26837 addition. Clear inexact exceptions and check for exact zero
26838 results afterwards.
26839 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
26840 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
26841 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
26842 * math/libm-test.inc (fma_test): Add more tests.
26843 (fma_test_towardzero): Likewise.
26844 (fma_test_downward): Likewise.
26845 (fma_test_upward): Likewise.
26846 * sysdeps/generic/math_private.h (default_libc_fesetround): New
26848 (libc_fesetround): New macro.
26849 (libc_fesetroundf): Likewise.
26850 (libc_fesetroundl): Likewise.
26851 * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
26853 (libc_fesetround_387): Likewise.
26854 (libc_fesetroundf): New macro.
26855 (libc_fesetround): Likewise.
26856 (libc_fesetroundl): Likewise.
26857 * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
26859 (libc_fesetroundf): New macro.
26860 (libc_fesetround): Likewise.
26861 (libc_fesetroundl): Likewise.
26862 * include/fenv.h (feclearexcept): Add libm_hidden_proto.
26863 * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
26864 * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
26866 * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
26867 * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
26869 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
26870 * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
26872 * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
26876 * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
26877 integer constant usable in #if and use that to give value to enum
26879 (FE_DIVBYZERO): Likewise.
26880 (FE_UNDERFLOW): Likewise.
26881 (FE_OVERFLOW): Likewise.
26882 (FE_INVALID): Likewise.
26883 (FE_INVALID_SNAN): Likewise.
26884 (FE_INVALID_ISI): Likewise.
26885 (FE_INVALID_IDI): Likewise.
26886 (FE_INVALID_ZDZ): Likewise.
26887 (FE_INVALID_IMZ): Likewise.
26888 (FE_INVALID_COMPARE): Likewise.
26889 (FE_INVALID_SOFTWARE): Likewise.
26890 (FE_INVALID_SQRT): Likewise.
26891 (FE_INVALID_INTEGER_CONVERSION): Likewise.
26892 (FE_TONEAREST): Likewise.
26893 (FE_TOWARDZERO): Likewise.
26894 (FE_UPWARD): Likewise.
26895 (FE_DOWNWARD): Likewise.
26896 * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
26897 (FE_DIVBYZERO): Likewise.
26898 (FE_OVERFLOW): Likewise.
26899 (FE_UNDERFLOW): Likewise.
26900 (FE_INEXACT): Likewise.
26901 (FE_TONEAREST): Likewise.
26902 (FE_DOWNWARD): Likewise.
26903 (FE_UPWARD): Likewise.
26904 (FE_TOWARDZERO): Likewise.
26905 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
26906 (FE_UNDERFLOW): Likewise.
26907 (FE_OVERFLOW): Likewise.
26908 (FE_DIVBYZERO): Likewise.
26909 (FE_INVALID): Likewise.
26910 (FE_TONEAREST): Likewise.
26911 (FE_TOWARDZERO): Likewise.
26912 * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
26913 (FE_OVERFLOW): Likewise.
26914 (FE_UNDERFLOW): Likewise.
26915 (FE_DIVBYZERO): Likewise.
26916 (FE_INEXACT): Likewise.
26917 (FE_TONEAREST): Likewise.
26918 (FE_TOWARDZERO): Likewise.
26919 (FE_UPWARD): Likewise.
26920 (FE_DOWNWARD): Likewise.
26921 * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
26922 (FE_DIVBYZERO): Likewise.
26923 (FE_OVERFLOW): Likewise.
26924 (FE_UNDERFLOW): Likewise.
26925 (FE_INEXACT): Likewise.
26926 (FE_TONEAREST): Likewise.
26927 (FE_DOWNWARD): Likewise.
26928 (FE_UPWARD): Likewise.
26929 (FE_TOWARDZERO): Likewise.
26931 2012-11-02 Chris Metcalf <cmetcalf@tilera.com>
26933 * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
26935 2012-11-03 Andreas Schwab <schwab@linux-m68k.org>
26937 * scripts/cross-test-ssh.sh (command): Use newlines to separate
26938 commands. Quote $PWD.
26939 (blacklist_exports): Don't use remove_newlines. Replace "declare
26941 (remove_newlines): Remove.
26943 2012-11-02 H.J. Lu <hongjiu.lu@intel.com>
26945 * stdlib/Makefile (headers): Add bits/stdlib-float.h.
26946 * stdlib/stdlib.h (atof): Moved to ...
26947 * include/bits/stdlib-float.h: Here. New file.
26948 * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
26949 * stdlib/bits/stdlib-float.h: New file.
26950 * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
26952 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
26955 2012-11-02 Joseph Myers <joseph@codesourcery.com>
26957 * conform/conformtest.pl (@headers): Add fenv.h.
26958 * conform/data/fenv.h-data: New file.
26959 * include/fenv.h [_ISOMAC]: Disable all contents of file except
26960 include of <math/fenv.h>.
26962 * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
26963 POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
26964 && !UNIX98]. Enables tests for XOPEN2K8.
26965 * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
26966 POSIX2008]: Likewise.
26968 * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
26969 (struct rusage): Do not expect type or its members.
26972 * math/math.h (FP_NAN): Define macro to integer constant usable in
26973 #if and use that to give value to enum constant.
26974 (FP_INFINITE): Likewise.
26975 (FP_ZERO): Likewise.
26976 (FP_SUBNORMAL): Likewise.
26977 (FP_NORMAL): Likewise.
26979 2012-11-02 Andreas Schwab <schwab@linux-m68k.org>
26981 * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
26982 * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
26985 2012-11-02 Roland McGrath <roland@hack.frob.com>
26987 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
26988 Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
26989 autoconf-time if not.
26990 * configure.in: Remove AC_PREREQ.
26992 2012-11-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
26994 * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
26995 __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
26996 of the internal implementation.
26998 2012-11-02 Joseph Myers <joseph@codesourcery.com>
27000 * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
27001 except include of <misc/sys/syslog.h>.
27003 2012-11-01 Andreas Schwab <schwab@linux-m68k.org>
27005 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
27006 function returns with a NULL context exit with zero.
27008 2012-11-01 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
27010 * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
27012 2012-11-01 H.J. Lu <hongjiu.lu@intel.com>
27014 * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
27015 (run_program_cmd): This.
27016 * localedata/tst-langinfo.sh (run_program_prefix): Removed.
27017 (tst_langinfo): New variable. Use it.
27019 2012-11-01 Sebastan Andrzej Siewior <bigeasy@linutronix.de>
27021 * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
27022 floating point opcodes.
27024 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
27026 * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
27029 * elf/dl-support.c: Unconditionally include "setup-vdso.h".
27031 * sysdeps/mach/hurd/powerpc: Remove directory.
27032 * sysdeps/mach/powerpc: Likewise.
27034 2012-11-01 Andreas Schwab <schwab@linux-m68k.org>
27036 * scripts/check-local-headers.sh: Ignore c++ headers.
27038 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
27040 * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
27041 __libc_cleanup_region_start argument.
27043 2012-11-01 Joseph Myers <joseph@codesourcery.com>
27047 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
27048 x * y using scaling, not as x * y + z.
27049 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
27050 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
27051 * math/libm-test.inc (fma_test): Add more tests.
27052 (fma_test_towardzero): Likewise.
27053 (fma_test_downward): Likewise.
27054 (fma_test_upward): Likewise.
27056 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
27058 * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
27060 2012-10-31 Joseph Myers <joseph@codesourcery.com>
27062 * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
27065 2012-10-31 Thomas Schwinge <thomas@codesourcery.com>
27067 * rt/tst-shm.c (worker): Correct checking for mmap failure.
27069 2012-10-31 Andreas Schwab <schwab@linux-m68k.org>
27071 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
27073 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
27076 2012-10-31 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
27078 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
27079 Fix the order of the list for glibc 2.17.
27080 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
27083 2012-10-31 Andreas Schwab <schwab@linux-m68k.org>
27085 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
27087 2012-10-31 Joseph Myers <joseph@codesourcery.com>
27090 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
27091 for low part of x being zero before using __atanl (y).
27092 * math/libm-test.inc (atan2_test): Add another test.
27094 * manual/install.texi (Configuring and compiling): Document
27095 general use of test-wrapper and test-wrapper-env.
27096 * INSTALL: Regenerated.
27098 * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
27099 (__fma): Do not extract and scale down low bits on after-rounding
27100 systems when result rounded to normal precision would have normal
27102 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
27103 (__fmal): Do not extract and scale down low bits on after-rounding
27104 systems when result rounded to normal precision would have normal
27106 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
27107 (__fmal): Do not extract and scale down low bits on after-rounding
27108 systems when result rounded to normal precision would have normal
27110 * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
27112 (fma_test): Add more tests.
27113 (fma_test_towardzero): Likewise.
27114 (fma_test_downward): Likewise.
27115 (fma_test_upward): Likewise.
27117 2012-10-30 H.J. Lu <hongjiu.lu@intel.com>
27119 * sysdeps/i386/tininess.h: Renamed to ...
27120 * sysdeps/x86/tininess.h: This.
27121 * sysdeps/x86_64/tininess.h: Removed.
27123 2012-10-30 Joseph Myers <joseph@codesourcery.com>
27125 * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
27126 input. Use $(build-program-cmd).
27127 ($(objpfx)tst-array1-static.out): Likewise.
27128 ($(objpfx)tst-array2.out): Likewise.
27129 ($(objpfx)tst-array3.out): Likewise.
27130 ($(objpfx)tst-array4.out): Likewise.
27131 ($(objpfx)tst-array5.out): Likewise.
27132 ($(objpfx)tst-array5-static.out): Likewise.
27134 2012-10-30 Chris Metcalf <cmetcalf@tilera.com>
27136 * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
27139 * nss/nsswitch.h (nss_interface_function): Provide new
27140 macro for use with NSS functions.
27141 * grp/initgroups.c: Use new macro.
27142 * nss/getXXbyYY.c: Likewise.
27143 * nss/getXXbyYY_r.c: Likewise.
27144 * nss/getXXent.c: Likewise.
27145 * nss/getXXent_r.c: Likewise.
27146 * sysdeps/posix/getaddrinfo.c: Likewise.
27148 2012-10-30 Andreas Jaeger <aj@suse.de>
27150 * po/ru.po: Update Russion translation from translation project.
27152 2012-10-30 Joseph Myers <joseph@codesourcery.com>
27156 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
27157 result and shift together with sticky bit instead of replicating
27158 round-to-nearest rounding.
27159 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
27160 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
27161 * math/libm-test.inc (fma_test): Add more tests. Do not permit
27162 missing underflow exceptions.
27163 (fma_test_towardzero): Add more tests.
27164 (fma_test_downward): Likewise.
27165 (fma_test_upward): Likewise.
27168 * sysdeps/generic/tininess.h: New file.
27169 * sysdeps/i386/tininess.h: Likewise.
27170 * sysdeps/sh/tininess.h: Likewise.
27171 * sysdeps/x86_64/tininess.h: Likewise.
27172 * stdlib/tst-strtod-underflow.c: Likewise.
27173 * stdlib/tst-tininess.c: Likewise.
27174 * stdlib/strtod_l.c: Include <tininess.h>.
27175 (round_and_return): Do not set errno for exact underflow cases.
27176 Force an underflow exception when setting errno for underflow.
27177 Determine underflow based on rounding to normal precision if
27178 TININESS_AFTER_ROUNDING.
27179 * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
27180 ERANGE for exact underflow cases.
27181 * stdlib/Makefile (tests): Add tst-tininess and
27182 tst-strtod-underflow.
27183 ($(objpfx)tst-tininess): Use $(link-libm).
27184 ($(objpfx)tst-strtod-underflow): Likewise.
27186 2012-10-30 Andreas Jaeger <aj@suse.de>
27189 * elf/Makefile (tests): Remove conditional for have-initfini-array
27190 since this is now always required and the variable does not exist
27192 (tests-static): Likewise.
27193 (modules-names): Likewise.
27195 * po/eo.po: Add Esperanto translation from translation project.
27197 * elf/tst-array1.c (fini_array): Make writeable so that it can be
27198 merged with constructor/destructor.
27199 (init_array): Likewise.
27200 * elf/tst-array2dep.c (fini_array): Likewise.
27201 (init_array): Likewise.
27203 2012-10-29 Mike Frysinger <vapier@gentoo.org>
27205 * manual/message.texi: Delete @cartouche tags.
27207 2012-10-29 Pino Toscano <toscano.pino@tiscali.it>
27209 * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
27211 * sysdeps/mach/hurd/fsync.c: Likewise.
27213 * sysdeps/pthread/aio_notify.c (__aio_notify_only)
27214 [_POSIX_REALTIME_SIGNALS]: Change condition to
27215 [_POSIX_REALTIME_SIGNALS > 0].
27217 2012-10-27 Andreas Jaeger <aj@suse.de>
27219 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
27220 [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
27221 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
27222 [__WORDSIZE != 64]: Likewise.
27224 2012-10-26 H.J. Lu <hongjiu.lu@intel.com>
27226 * iconvdata/tst-table.sh: Remove ${SHELL}.
27227 * iconvdata/tst-tables.sh: Likewise.
27229 2012-10-25 David S. Miller <davem@davemloft.net>
27231 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
27232 (__get_clockfreq_via_proc_openprom): Use strtoumax instead
27235 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
27237 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
27238 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
27239 * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
27242 2012-10-25 Roland McGrath <roland@hack.frob.com>
27244 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
27245 (__get_clockfreq_via_proc_openprom): Use __getdents instead of
27248 2012-10-25 Joseph Myers <joseph@codesourcery.com>
27249 Jim Blandy <jimb@codesourcery.com>
27251 * scripts/cross-test-ssh.sh: New file.
27252 * manual/install.texi (Configuring and compiling): Document use of
27254 * INSTALL: Regenerated.
27256 2012-10-25 Pino Toscano <toscano.pino@tiscali.it>
27258 * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
27261 2012-10-25 Joseph Myers <joseph@codesourcery.com>
27263 * Makeconfig (run-program-prefix): Fix comment.
27265 2012-10-24 Joseph Myers <joseph@codesourcery.com>
27266 Jim Blandy <jimb@codesourcery.com>
27268 * Makeconfig (test-wrapper): New variable,
27269 (test-wrapper-env): Likewise.
27270 [$(cross-compiling) = yes && $(test-wrapper) != ""]
27271 (run-built-tests): Define to yes.
27272 (run-program-prefix): Use $(test-wrapper).
27273 (built-program-cmd): Likewise.
27274 * Rules (make-test-out): Use $(test-wrapper-env) and
27275 $(host-built-program-cmd).
27276 * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
27277 ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
27279 ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
27280 $(test-wrapper-env) to tst-rtld-load-self.sh.
27281 ($(objpfx)order2.out): Use $(test-wrapper).
27282 ($(objpfx)tst-initorder.out): Likewise.
27283 ($(objpfx)tst-initorder2.out): Likewise.
27284 ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
27285 * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
27286 (test_wrapper_env): New variable. Use it to run ld.so.
27287 * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
27288 Use it to run ld.so.
27289 (test_wrapper_env): Likewise.
27290 * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
27291 $(test-wrapper) to run-iconv-test.sh.
27292 * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
27293 (ICONV): Use $test_wrapper.
27294 * posix/Makefile ($(objpfx)globtest.out): Pass
27295 $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
27296 globtest.sh, not $(run-program-prefix).
27297 * posix/globtest.sh (run_via_rtld_prefix): New variable.
27298 (test_wrapper): Likewise.
27299 (test_wrapper_env): Likewise. Use it to run globtest with HOME
27300 set together with run_via_rtld_prefix.
27301 (run_program_prefix): Define in terms of test_wrapper and
27302 run_via_rtld_prefix.
27304 2012-10-24 Roland McGrath <roland@hack.frob.com>
27306 * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
27307 * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
27311 * include/time.h: Remove librt_hidden_proto (clock_gettime).
27312 Declare __clock_getres, __clock_gettime, __clock_settime,
27313 __clock_nanosleep, and __clock_getcpuclockid.
27314 * rt/clock_gettime.c: Define __clock_gettime as an alias.
27315 Remove librt_hidden_def (clock_gettime).
27316 * sysdeps/unix/clock_gettime.c: Likewise.
27317 * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
27318 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
27319 * rt/clock_getres.c: Define __clock_getres as an alias.
27320 * sysdeps/posix/clock_getres.c: Likewise.
27321 * rt/clock_settime.c: Define __clock_settime as an alias.
27322 * sysdeps/unix/clock_settime.c: Likewise.
27323 * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
27324 * sysdeps/unix/clock_nanosleep.c: Likewise.
27325 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
27326 * rt/clock-compat.c: New file.
27327 * rt/Makefile (librt-routines): Add clock-compat and move
27328 $(clock-routines) to ...
27329 (routines): ... here, new variable.
27330 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
27331 Don't add get_clockfreq here.
27332 * rt/Versions (libc: GLIBC_2.17): New version set.
27333 Add clock_* symbols here.
27334 (libc: GLIBC_PRIVATE): New version set. Add __clock_* symbols here.
27335 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
27336 (GLIBC_2.17): Add clock_* symbols.
27337 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
27338 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
27339 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
27340 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
27342 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
27344 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
27345 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
27346 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
27347 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
27348 * NEWS: Mention the move.
27350 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
27351 Use __open, __read, __close rather than their public counterparts.
27352 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
27353 (__get_clockfreq_via_cpuinfo): Likewise.
27354 (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
27355 (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
27357 * config.h.in (HAVE_IFUNC): New #undef.
27358 * configure.in: Define it if libc_cv_ld_gnu_indirect_function
27360 * configure: Regenerated.
27362 2012-10-24 Mike Frysinger <vapier@gentoo.org>
27364 * configure.in: Move READELF check to start of file.
27365 (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
27366 libc_cv_asm_gnu_indirect_function in the process.
27367 * configure: Regenerated.
27369 2012-10-24 Mike Frysinger <vapier@gentoo.org>
27371 * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
27372 send the output to /dev/null.
27373 (libc_cv_cc_with_libunwind): Likewise.
27374 (libc_cv_as_noexecstack): Likewise.
27375 * configure: Regenerate.
27377 2012-10-24 Joseph Myers <joseph@codesourcery.com>
27379 * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
27381 * posix/globtest.sh (TMPDIR): Do not set.
27382 (testdir): Define using ${common_objpfx}posix not $TMPDIR.
27383 (testout): Likewise.
27385 2012-10-24 Andreas Jaeger <aj@suse.de>
27387 * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
27388 types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
27389 [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
27390 [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
27391 posix_fadvise64, posix_fallocate64.
27393 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
27394 (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
27395 (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
27397 (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
27399 (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
27401 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
27402 (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
27403 <bits/fcntl-linux.h>.
27404 (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
27406 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
27407 (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
27408 (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
27409 (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
27410 [__WORDSIZE != 64]: Likewise.
27412 2012-10-23 Joseph Myers <joseph@codesourcery.com>
27414 * Makeconfig (run-built-tests): New variable.
27415 * Rules [$(cross-compiling) = yes]: Change condition to
27416 [$(run-built-tests) = no].
27417 * catgets/Makefile [$(cross-compiling) != yes]: Change condition
27418 to [$(run-built-tests) = yes].
27419 * elf/Makefile [$(cross-compiling) = no]: Likewise
27420 * grp/Makefile [$(cross-compiling) = no]: Likewise.
27421 * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
27422 * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
27423 * intl/Makefile [$(cross-compiling) = no]: Likewise.
27424 * io/Makefile [$(cross-compiling) = no]: Likewise.
27425 * libio/Makefile [$(cross-compiling) = no]: Likewise.
27426 * malloc/Makefile [$(cross-compiling) = no]: Likewise.
27427 * misc/Makefile [$(cross-compiling) = no]: Likewise.
27428 * posix/Makefile [$(cross-compiling) = no]: Likewise.
27429 * resolv/Makefile [$(cross-compiling) = no]: Likewise.
27430 * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
27431 * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
27432 * string/Makefile [$(cross-compiling) = no]: Likewise.
27434 * posix/Makefile ($(objpfx)globtest.out): Pass
27435 $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
27436 $(rtld-installed-name).
27437 * posix/globtest.sh (elf_objpfx): Remove variable.
27438 (rtld_installed_name): Likewise.
27439 (library_path): Likewise.
27440 (run_program_prefix): New variable. Use for running globtest
27443 2012-10-23 Jim Blandy <jimb@codesourcery.com>
27444 Joseph Myers <joseph@codesourcery.com>
27446 * Makeconfig (host-built-program-cmd): New variable.
27447 * elf/Makefile (tst-stackguard1-ARGS): Use
27448 $(host-built-program-cmd).
27449 * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
27450 (tst-spawn-ARGS): Likewise.
27451 * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
27453 2012-10-23 Joseph Myers <joseph@codesourcery.com>
27454 Jim Blandy <jimb@codesourcery.com>
27456 * Makeconfig (run-via-rtld-prefix): New variable.
27457 (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
27458 (built-program-cmd): Likewise.
27460 2012-10-22 Andreas Jaeger <aj@suse.de>
27462 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
27463 __O_RSYNC if it exists, otherwise to O_SYNC.
27465 2012-10-22 Jim Blandy <jimb@codesourcery.com>
27466 Joseph Myers <joseph@codesourcery.com>
27468 * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
27470 * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
27472 * posix/tst-getconf.sh: Redirect getconf stdin in loop from
27475 2012-10-22 Andreas Jaeger <aj@suse.de>
27477 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
27479 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
27481 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
27482 bits/fcntl-linux.h.
27484 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
27485 (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
27487 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
27489 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
27492 2012-10-21 Jim Blandy <jimb@codesourcery.com>
27493 Joseph Myers <joseph@codesourcery.com>
27495 * config.make.in (NM): New variable.
27497 2012-10-21 Andreas Jaeger <aj@suse.de>
27499 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
27500 definitions and declarations that are provided by
27501 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
27503 2012-10-20 H.J. Lu <hongjiu.lu@intel.com>
27506 * elf/Makefile (tests-static): Add tst-leaks1-static.
27507 (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
27508 ($(objpfx)tst-leaks1-static): New rule.
27509 ($(objpfx)tst-leaks1-static-mem): Likewise.
27510 (tst-leaks1-static-ENV): New macro.
27511 * elf/dl-open.c (dl_open_worker): Check the main application
27512 only if SHARED is defined.
27513 * elf/tst-leaks1-static.c: New file.
27515 2012-10-20 Andreas Jaeger <aj@suse.de>
27517 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
27518 generic values for Linux.
27519 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
27520 and declarations that are provided by <bits/fcntl-linux.h> and
27521 include <bits/fcntl-linux.h>.
27522 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
27523 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
27525 2012-10-20 Roland McGrath <roland@hack.frob.com>
27527 * io/fcntl.h: Move include of <bits/types.h> to the top and
27528 include it unconditionally.
27530 2012-10-20 H.J. Lu <hongjiu.lu@intel.com>
27532 * wcsmbs/Makefile (tests-ifunc): New variable.
27533 (tests): Add $(tests-ifunc).
27534 * wcsmbs/test-wcschr-ifunc.c: New file.
27535 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
27536 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
27537 * wcsmbs/test-wcslen-ifunc.c: Likewise.
27538 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
27539 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
27541 * string/Makefile (tests-ifunc): New variable.
27542 (tests): Add $(tests-ifunc).
27543 * string/test-memccpy.c (TEST_NAME): New macro.
27544 * string/test-memchr.c (TEST_NAME): Likewise.
27545 * string/test-memcmp.c (TEST_NAME): Likewise.
27546 * string/test-memcpy.c (TEST_NAME): Likewise.
27547 * string/test-memmem.c (TEST_NAME): Likewise.
27548 * string/test-memmove.c (TEST_NAME): Likewise.
27549 * string/test-memset.c (TEST_NAME): Likewise.
27550 * string/test-rawmemchr.c (TEST_NAME): Likewise.
27551 * string/test-stpcpy.c (TEST_NAME): Likewise.
27552 * string/test-stpncpy.c (TEST_NAME): Likewise.
27553 * string/test-strcasecmp.c (TEST_NAME): Likewise.
27554 * string/test-strcasestr.c (TEST_NAME): Likewise.
27555 * string/test-strcat.c (TEST_NAME): Likewise.
27556 * string/test-strchr.c (TEST_NAME): Likewise.
27557 * string/test-strcmp.c(TEST_NAME): Likewise.
27558 * string/test-strcpy.c (TEST_NAME): Likewise.
27559 * string/test-strcspn.c (TEST_NAME): Likewise.
27560 * string/test-strlen.c (TEST_NAME): Likewise.
27561 * string/test-strncasecmp.c (TEST_NAME): Likewise.
27562 * string/test-strncmp.c (TEST_NAME): Likewise.
27563 * string/test-strncpy.c (TEST_NAME): Likewise.
27564 * string/test-strnlen.c (TEST_NAME): Likewise.
27565 * string/test-strpbrk.c (TEST_NAME): Likewise.
27566 * string/test-strrchr.c (TEST_NAME): Likewise.
27567 * string/test-strspn.c (TEST_NAME): Likewise.
27568 * string/test-strstr.c (TEST_NAME): Likewise.
27569 * string/test-bcopy-ifunc.c: New file.
27570 * string/test-bzero-ifunc.c: Likewise.
27571 * string/test-memccpy-ifunc.c: Likewise.
27572 * string/test-memchr-ifunc.c: Likewise.
27573 * string/test-memcmp-ifunc.c: Likewise.
27574 * string/test-memcpy-ifunc.c: Likewise.
27575 * string/test-memmem-ifunc.c: Likewise.
27576 * string/test-memmove-ifunc.c: Likewise.
27577 * string/test-mempcpy-ifunc.c: Likewise.
27578 * string/test-memset-ifunc.c: Likewise.
27579 * string/test-rawmemchr-ifunc.c: Likewise.
27580 * string/test-stpcpy-ifunc.c: Likewise.
27581 * string/test-stpncpy-ifunc.c: Likewise.
27582 * string/test-strcasecmp-ifunc.c: Likewise.
27583 * string/test-strcasestr-ifunc.c: Likewise.
27584 * string/test-strcat-ifunc.c: Likewise.
27585 * string/test-strchr-ifunc.c: Likewise.
27586 * string/test-strchrnul-ifunc.c: Likewise.
27587 * string/test-strcmp-ifunc.c: Likewise.
27588 * string/test-strcpy-ifunc.c: Likewise.
27589 * string/test-strcspn-ifunc.c: Likewise.
27590 * string/test-strlen-ifunc.c: Likewise.
27591 * string/test-strncasecmp-ifunc.c: Likewise.
27592 * string/test-strncat-ifunc.c: Likewise.
27593 * string/test-strncmp-ifunc.c: Likewise.
27594 * string/test-strncpy-ifunc.c: Likewise.
27595 * string/test-strnlen-ifunc.c: Likewise.
27596 * string/test-strpbrk-ifunc.c: Likewise.
27597 * string/test-strrchr-ifunc.c: Likewise.
27598 * string/test-strspn-ifunc.c: Likewise.
27599 * string/test-strstr-ifunc.c: Likewise.
27601 * debug/Makefile (tests-ifunc): New variable.
27602 (tests): Add $(tests-ifunc).
27603 * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
27604 * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
27605 * debug/test-stpcpy_chk-ifunc.c: New file.
27606 * debug/test-strcpy_chk-ifunc.c: Likewise.
27608 2012-10-20 Siddhesh Poyarekar <siddhesh@redhat.com>
27611 * elf/dl-load.c (open_verify): Retry read if the entire ELF
27612 header is not read in.
27614 2012-10-19 Joseph Myers <joseph@codesourcery.com>
27616 * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh. Pass
27617 script to $(SHELL) as $<. Pass $(common-objpfx) to script
27618 directly. Pass built executable to script as
27619 $(built-program-cmd).
27620 * io/ftwtest-sh (ldso): Remove variable. Run ftwtest directly as
27621 $testprogram without using LD_LIBRARY_PATH and $ldso.
27623 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
27624 $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
27625 $(rtld-installed-name).
27626 * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
27627 (rtld_installed_name): Likewise.
27628 (library_path): Likewise.
27629 (run_program_prefix): New variable. Use it to run tst_fgetgrent.
27630 * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
27631 $(run-program-prefix) to tst-tables.sh.
27632 * iconvdata/tst-table.sh (run_program_prefix): New variable. Use
27633 it to run tst-table-from and tst-table-to.
27634 * iconvdata/tst-tables.sh (run_program_prefix): New variable.
27635 Pass it to tst-table.sh.
27636 * intl/Makefile ($(objpfx)tst-gettext.out): Pass
27637 $(run-program-prefix) to tst-gettext.sh.
27638 ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
27640 ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
27642 * intl/tst-gettext.sh (run_program_prefix): New variable. Use it
27643 to run tst-gettext.
27644 * intl/tst-gettext2.sh (run_program_prefix): New variable. Use it
27645 to run tst-gettext2.
27646 * intl/tst-translit.sh (run_program_prefix): New variable. Use it
27647 to run tst-translit.
27648 * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
27649 $(run-program-prefix) to tst-mtrace.sh.
27650 * malloc/tst-mtrace.sh (run_program_prefix): New variable. Use it
27652 * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
27653 $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
27654 $(rtld-installed-name).
27655 * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
27656 (rtld_installed_name): Likewise.
27657 (run_program_prefix): New variable. Use it to run wordexp-test.
27659 * Makeconfig (ARCH): Remove all definitions.
27660 (machine): Likewise.
27661 [ARCH]: Remove conditional code.
27662 [!objdir]: Give error.
27663 [!objdir] (objpfx): Remove.
27664 [!objdir] (common-objpfx): Likewise.
27665 [!objdir] (common-objdir): Likewise.
27666 * configure.in (config_makefile): Remove. Hardcode Makefile in
27667 AC_CONFIG_FILES call.
27668 * configure: Regenerated.
27671 * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
27673 (testout): Likewise.
27675 * posix/Makefile ($(objpfx)tst-getconf.out): Pass
27676 $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
27677 $(rtld-installed-name).
27678 * posix/tst-getconf.sh (elf_objpfx): Remove variable.
27679 (rtld_installed_name): Likwise.
27680 (runit): Remove function.
27681 (run_getconf): New variable, Use it for running getconf binary.
27683 2012-10-18 H.J. Lu <hongjiu.lu@intel.com>
27686 * string/test-memmem.c (check_result): New function.
27687 (do_one_test): Use it.
27688 (check1): New function.
27689 (test_main): Use it.
27691 2012-10-18 Markus Trippelsdorf <markus@trippelsdorf.de>
27693 * math/Makefile: Comment on slow compilation of test-tgmath2.c.
27695 2012-10-18 Joseph Myers <joseph@codesourcery.com>
27697 * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
27698 (_G_LSEEK64): Likewise.
27699 (_G_MMAP64): Likewise.
27700 (_G_FSTAT64): Likewise.
27701 * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
27702 (_G_LSEEK64): Likewise.
27703 (_G_MMAP64): Likewise.
27704 (_G_FSTAT64): Likewise.
27705 * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
27706 unconditional. Call __mmap64 directly.
27707 (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
27708 (mmap_remap_check) [_G_LSEEK64]: Make code unconditional. Call
27709 __lseek64 directly.
27710 (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
27711 (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional. Call
27713 (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
27714 (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional. Call
27715 __lseek64 directly.
27716 (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
27717 (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional. Call
27718 __lseek64 directly.
27719 (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
27720 (_IO_file_seek) [_G_LSEEK64]: Make code unconditional. Call
27721 __lseek64 directly.
27722 (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
27723 (_IO_file_stat) [_G_FSTAT64]: Make code unconditional. Call
27724 __fxstat64 directly.
27725 (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
27726 * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
27728 (freopen64) [!_G_OPEN64]: Remove conditional code.
27729 * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
27731 (fseeko64) [!_G_LSEEK64]: Remove conditional code.
27732 * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
27734 (ftello64) [!_G_LSEEK64]: Remove conditional code.
27735 * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
27737 (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
27738 * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
27740 (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
27741 * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
27743 (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
27744 * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
27746 (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
27747 * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
27749 (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
27751 2012-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
27754 * manual/memory.texi (Malloc Tunable Parameters): Add note
27755 about free list pointers overwriting some perturb bytes.
27756 Wording suggested by Roland McGrath.
27758 2012-10-17 Joseph Myers <joseph@codesourcery.com>
27760 * math/libm-test.inc (gamma_test): Do not call feclearexcept.
27761 (lgamma_test): Likewise.
27762 (tgamma_test): Likewise.
27764 2012-10-16 Florian Weimer <fweimer@redhat.com>
27767 * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
27768 (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
27770 2012-10-16 Maxim Kuvyrkov <maxim@codesourcery.com>
27772 * NEWS: Mention BZ #14716.
27773 * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
27774 when removing AVAILABLE1_USES_J macro.
27776 2012-10-12 H.J. Lu <hongjiu.lu@intel.com>
27778 * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
27779 (__bswap_64): __uint64_t for unsigned 64-bit int.
27781 2012-10-12 Andreas Schwab <schwab@linux-m68k.org>
27783 * include/string.h (memmem): Declare libc hidden alias.
27784 * string/memmem.c (memmem): Define libc hidden alias.
27785 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
27786 __read, __close instead of open, read, close.
27788 2012-10-11 H.J. Lu <hongjiu.lu@intel.com>
27790 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
27791 * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
27793 * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
27794 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
27795 * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
27797 (__rawmemchr_sse2): Likewise.
27798 * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
27799 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
27800 (__strchr_sse2): Likewise.
27801 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
27802 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
27803 (__strcasecmp_sse2): Likewise.
27804 (__strncasecmp_sse2): Likewise.
27805 * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
27806 * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
27807 * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
27808 * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
27809 (__strrchr_sse2): Likewise.
27810 * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
27812 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
27813 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
27814 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
27815 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
27816 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
27817 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
27818 * sysdeps/x86_64/multiarch/memset.S: Likewise.
27819 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
27820 * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
27821 * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
27822 * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
27823 * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
27824 * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
27825 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
27826 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
27827 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
27828 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
27829 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
27830 * sysdeps/x86_64/multiarch/strlen.S: Likewise.
27831 * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
27832 * sysdeps/x86_64/multiarch/strncat.S: Likewise.
27833 * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
27834 * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
27835 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
27836 * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
27837 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
27838 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
27839 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
27840 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
27841 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
27843 * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
27845 * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
27846 * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
27847 * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
27848 * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
27850 * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
27852 * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
27853 * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
27854 * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
27855 * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
27857 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
27858 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
27859 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
27860 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
27861 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
27862 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
27863 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
27864 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
27865 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
27866 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
27867 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
27868 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
27869 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
27870 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
27871 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
27872 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
27873 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
27874 * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
27875 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
27876 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
27877 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
27878 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
27879 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
27880 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
27881 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
27882 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
27883 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
27884 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
27885 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
27886 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
27887 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
27888 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
27889 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
27890 * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
27891 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
27892 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
27893 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
27894 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
27895 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
27896 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
27897 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
27899 * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
27900 [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
27901 * include/ifunc-impl-list.h: New file.
27902 * misc/ifunc-impl-list.c: Likewise.
27903 * misc/Makefile (routines): Add ifunc-impl-list.
27904 * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
27905 * string/test-string.h: Include <ifunc-impl-list.h>.
27906 (func_list, func_count, impl_count, impl_array) [TEST_IFUNC &&
27907 TEST_NAME]: New variables.
27908 (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
27910 (test_init): Call __libc_ifunc_impl_list to initialize
27911 func_list if TEST_IFUNC and TEST_NAME are defined.
27913 * string/Makefile (strop-tests): Add bcopy and bzero.
27914 * string/test-bcopy.c: New file.
27915 * string/test-bzero.c: Likewise.
27916 * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
27918 * string/test-memset.c: Support bzero test if TEST_BZERO is
27920 * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
27922 * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
27924 * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
27927 2012-10-10 Joseph Myers <joseph@codesourcery.com>
27929 * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
27930 * configure: Regenerated.
27932 * Makeconfig (+link-static-before-libc): Don't include
27933 $(link-static-libc).
27935 * libio/libio.h (_IO_pos_t): Remove.
27937 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
27939 * NEWS: Add note about FIPS mode. Wording suggested by Roland
27942 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
27944 * crypt/crypt-entry.c: Include fips-private.h.
27945 (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
27946 * crypt/md5c-test.c (main): Tolerate disabled MD5.
27947 * sysdeps/unix/sysv/linux/fips-private.h: New file.
27948 * sysdeps/generic/fips-private.h: New file, dummy fallback.
27950 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
27952 * crypt/crypt-private.h: Include stdbool.h.
27953 (_ufc_setup_salt_r): Return bool.
27954 * crypt/crypt-entry.c: Include errno.h.
27955 (__crypt_r): Return NULL with EINVAL for bad salt.
27956 * crypt/crypt_util.c (bad_for_salt): New.
27957 (_ufc_setup_salt_r): Check that salt is long enough and within
27958 the specified alphabet.
27959 * crypt/badsalttest.c: New file.
27960 * crypt/Makefile (tests): Add it.
27961 ($(objpfx)badsalttest): New.
27963 2012-10-09 Maxim Kuvyrkov <maxim@codesourcery.com>
27965 * NEWS: Add entry for BZ #14602.
27967 2012-10-09 Joseph Myers <joseph@codesourcery.com>
27969 * math/gen-libm-test.pl (parse_args): Handle comparison macros as
27971 * math/libm-test.inc: Update comment listing what functions and
27973 (isgreater_test): New function.
27974 (isgreaterequal_test): Likewise.
27975 (isless_test): Likewise.
27976 (islessequal_test): Likewise.
27977 (islessgreater_test): Likewise.
27978 (isunordered_test): Likewise.
27979 (main): Call the new functions.
27981 2012-10-09 Roland McGrath <roland@hack.frob.com>
27983 * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
27984 _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
27985 AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
27986 * sysdeps/i386/configure: Regenerated.
27987 * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
27988 * sysdeps/mach/configure: Regenerated.
27989 * sysdeps/mach/hurd/configure: Regenerated.
27990 * sysdeps/powerpc/configure: Regenerated.
27991 * sysdeps/powerpc/powerpc32/configure: Regenerated.
27992 * sysdeps/powerpc/powerpc64/configure: Regenerated.
27993 * sysdeps/s390/s390-32/configure: Regenerated.
27994 * sysdeps/s390/s390-64/configure: Regenerated.
27995 * sysdeps/sh/configure: Regenerated.
27996 * sysdeps/sparc/configure: Regenerated.
27997 * sysdeps/unix/sysv/linux/configure: Regenerated.
27998 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
27999 * sysdeps/x86_64/configure: Regenerated.
28001 * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
28002 defined. Don't check if MAP is NULL.
28004 2012-10-09 Joseph Myers <joseph@codesourcery.com>
28006 * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
28007 (_G_stat64): Likewise.
28008 * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
28009 (_G_stat64): Likewise.
28010 * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
28011 instead of struct _G_stat64.
28012 * libio/fileops.c (mmap_remap_check): Likewise.
28013 (decide_maybe_mmap): Likewise.
28014 (_IO_new_file_seekoff): Likewise.
28015 (_IO_file_stat): Likewise.
28016 * libio/libio.h (_IO_off64_t): Define to __off64_t, not
28018 * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
28019 instead of struct _G_stat64.
28020 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
28022 2012-10-08 Maxim Kuvyrkov <maxim@codesourcery.com>
28025 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
28027 (CHECK_EOL): New macro.
28028 (two_way_short_needle): Check beginning of haystack for EOL. Use
28030 * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
28031 Replace with CHECK_EOL.
28032 * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
28033 Replace with CHECK_EOL.
28035 2012-10-08 Joseph Myers <joseph@codesourcery.com>
28037 * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
28039 * math/libm-test.inc: Update comment listing what functions and
28041 (finite_test): New function.
28042 (isinf_test): Likewise.
28043 (isnan_test): Likewise.
28044 (fpclassify_test): Test subnormal input.
28045 (isfinite_test): Likewise.
28046 (isnormal_test): Likewise.
28047 (main): Call the new functions.
28049 2012-10-08 Jonathan Nieder <jrnieder@gmail.com>
28052 * Makerules (%.dynsym): Force C locale when running
28053 $(OBJDUMP) --dynamic-syms.
28055 2012-10-08 Andreas Schwab <schwab@linux-m68k.org>
28057 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
28060 2012-10-06 David S. Miller <davem@davemloft.net>
28062 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
28063 upper 32-bits of the length value in %o2 since we use branch-on-register
28064 tests which consider the entire 64-bit register.
28066 2012-10-06 H.J. Lu <hongjiu.lu@intel.com>
28068 * string/test-strstr.c (check2): Add a test for page boundary.
28070 2012-10-05 David S. Miller <davem@davemloft.net>
28072 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
28073 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
28075 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
28077 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
28078 * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
28079 and bzero when HWCAP_SPARC_CRYPTO is present.
28081 2012-10-05 H.J. Lu <hongjiu.lu@intel.com>
28084 * string/test-strstr.c (check2): New function.
28085 (test_main): Call check2.
28087 * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
28089 * string/bug-strcasestr1.c (do_test): Moved to ...
28090 * string/test-strcasestr.c (check1): Here. New function.
28091 (do_one_test): Break out result checking code into ...
28092 (check_result): This. New function.
28093 (do_one_test): Call check_result.
28094 (test_main): Call check1.
28095 * string/bug-strchr1.c (do_test): Moved to ...
28096 * string/test-strchr.c (check1): Here. New function.
28097 (do_one_test): Break out result checking code into ...
28098 (check_result): This. New function.
28099 (do_one_test): Call check_result.
28100 (test_main): Call check1.
28101 * string/bug-strstr1.c (main): Moved to ...
28102 * string/test-strstr.c (check1): Here. New function.
28103 (do_one_test): Break out result checking code into ...
28104 (check_result): This. New function.
28105 (do_one_test): Call check_result.
28106 (test_main): Call check1.
28107 * string/bug-strcasestr1.c: Removed.
28108 * string/bug-strchr1.c: Likewise.
28109 * string/bug-strstr1.c: Likewise.
28111 * elf/Makefile (dl-routines): Add hwcaps.
28112 * elf/dl-support.c (_dl_important_hwcaps): Removed.
28113 * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
28114 (_dl_important_hwcaps): Moved to ...
28115 * elf/dl-hwcaps.c: Here. New file.
28116 * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
28119 * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
28120 if IS_IN_rtld isn't defined.
28122 * elf/dl-support.c (_dl_sysinfo_map): New.
28123 Include "get-dynamic-info.h" and "setup-vdso.h".
28124 (_dl_non_dynamic_init): Call setup_vdso.
28125 * elf/dynamic-link.h: Don't include <assert.h>.
28126 (elf_get_dynamic_info): Moved to ...
28127 * elf/get-dynamic-info.h: Here. New file.
28128 * elf/dynamic-link.h: Include "get-dynamic-info.h".
28129 * elf/rtld.c (dl_main): Break out vDSO setup code into ...
28130 * elf/setup-vdso.h: Here. New file.
28131 * elf/rtld.c: Include "setup-vdso.h".
28132 (dl_main): Call setup_vdso.
28134 2012-10-05 Joseph Myers <joseph@codesourcery.com>
28136 * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
28137 creal in comment listing functions tested. List finite, isinf,
28138 isnan, isless, islessequal, isgreater, isgreaterequal,
28139 islessgreater, isunordered, lgamma_r and pow10 as functions and
28140 macros not tested. Mention which functions not tested are aliases
28141 for other functions. Fix typo. Note that signs of NaNs are not
28144 * scripts/config.guess: Update from config.git.
28145 * scripts/config.sub: Likewise.
28147 2012-10-04 Roland McGrath <roland@hack.frob.com>
28149 * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
28150 * misc/madvise.c (madvise): Renamed to __madvise.
28151 Make madvise a weak alias.
28152 * include/sys/mman.h: Declare __madvise.
28153 Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
28154 * sysdeps/unix/syscalls.list
28155 (madvise): Make __madvise the strong name, and madvise a weak alias.
28156 * sysdeps/unix/sysv/linux/syscalls.list
28157 (madvise, mmap): Remove redundant entries.
28158 * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
28159 * malloc/malloc.c (mtrim): Likewise.
28160 * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
28162 2012-10-03 Roland McGrath <roland@hack.frob.com>
28164 * sysdeps/mach/hurd/dl-cache.c: File removed.
28165 * config.h.in (USE_LDCONFIG): New #undef.
28166 * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
28167 * configure: Regenerated.
28168 * elf/Makefile (dl-routines): Add dl-cache only under
28169 [$(use-ldconfig) = yes].
28170 * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
28171 cache on [USE_LDCONFIG].
28172 * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
28174 * elf/rtld.c (dl_main): Likewise.
28176 2012-10-03 Pino Toscano <toscano.pino@tiscali.it>
28178 * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
28179 _SC_LEVEL4_CACHE_LINESIZE.
28181 2012-10-03 Roland McGrath <roland@hack.frob.com>
28183 * sysdeps/unix/bsd/confstr.h: File removed.
28185 2012-10-02 Alexandre Oliva <aoliva@redhat.com>
28187 * scripts/check-local-headers.sh: Exclude sys/sdt.h and
28190 2012-10-02 Roland McGrath <roland@hack.frob.com>
28192 * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
28193 Make 'mapoff' field ElfW(Off) rather than off_t.
28195 2012-10-02 Dmitry V. Levin <ldv@altlinux.org>
28197 * nscd/Makefile: Remove nscd-cflags and all its users.
28198 (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
28199 (CFLAGS-nonlib): Add compiler flags for nscd modules.
28202 * malloc.c (malloc_printerr): Clarify error message.
28204 2012-10-02 H.J. Lu <hongjiu.lu@intel.com>
28207 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
28208 Set bit_FMA_Usable if FMA is supported.
28209 * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
28211 (bit_FMA4_Usable): Updated.
28212 (index_FMA_Usable): New macro.
28213 (CPUID_FMA): Likewise
28214 (HAS_FMA): Defined with bit_FMA_Usable.
28216 2012-10-01 Roland McGrath <roland@hack.frob.com>
28218 * bits/types.h (__swblk_t): Type removed.
28219 * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
28220 * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
28221 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
28222 (__SWBLK_T_TYPE): Likewise.
28223 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
28224 (__SWBLK_T_TYPE): Likewise.
28225 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
28226 (__SWBLK_T_TYPE): Likewise.
28227 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
28228 (__SWBLK_T_TYPE): Likewise.
28230 2012-10-01 Patsy Franklin <pfrankli@redhat.com>
28231 Honza Horak <hhorak@redhat.com>
28233 * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
28234 (xdr_mapname): Use YPMAXMAP as maxsize.
28235 (xdr_peername): Use YPMAXPEER as maxsize.
28236 (xdr_keydat): Use YPAXRECORD as maxsize.
28237 (xdr_valdat): Use YPMAXRECORD as maxsize.
28239 2012-10-01 Roland McGrath <roland@hack.frob.com>
28241 * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
28243 * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
28244 * csu/init-first.c: ... here.
28245 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
28246 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
28247 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
28248 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
28249 * sysdeps/i386/init-first.c: File removed.
28250 * sysdeps/sh/init-first.c: File removed.
28252 2012-10-01 Joseph Myers <joseph@codesourcery.com>
28255 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
28256 if x * y might underflow to zero and z is zero.
28257 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
28258 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
28259 * math/libm-test.inc (min_subnorm_value): New variable.
28260 (fma_test): Add more tests.
28261 (fma_test_towardzero): Likewise.
28262 (fma_test_downward): Likewise
28263 (fma_test_upward): Likewise.
28264 (initialize): Set min_subnorm_value.
28266 2012-09-29 Joseph Myers <joseph@codesourcery.com>
28269 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
28271 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
28272 mode for addition resulting in exact zero.
28273 * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
28274 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
28276 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
28277 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
28278 * math/libm-test.inc (fma_test): Add more tests.
28279 (fma_test_towardzero): New function.
28280 (fma_test_downward): Likewise.
28281 (fma_test_upward): Likewise.
28282 (main): Call the new functions.
28284 2012-09-28 David S. Miller <davem@davemloft.net>
28286 * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
28288 2012-09-28 Roland McGrath <roland@hack.frob.com>
28290 * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
28291 instead of SIGALRM.
28293 * sysdeps/gnu/_G_config.h: Moved to ...
28294 * sysdeps/unix/sysv/linux/_G_config.h: ... here.
28295 * sysdeps/mach/hurd/_G_config.h: Moved to ...
28296 * sysdeps/generic/_G_config.h: ... here.
28298 * io/open.c (__open): Renamed to __libc_open. Make __open an alias.
28300 * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
28302 * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
28303 Conditionalize target on [libnss_test1.so-version].
28305 * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
28307 * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
28308 (elfobjdir): Move out of conditionals.
28310 * nss/nsswitch.c (nss_new_service): Conditionalize definition and
28311 declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
28312 (__nss_lookup_function): Conditionalize label remove_from_tree on
28313 [!DO_STATIC_NSS || SHARED], matching its only use.
28315 2012-09-28 David S. Miller <davem@davemloft.net>
28317 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
28318 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
28320 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
28322 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
28323 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
28324 when HWCAP_SPARC_CRYPTO is present.
28326 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
28328 * io/tst-mknodat.c: Create a FIFO instead of a socket.
28330 2012-09-28 Andreas Schwab <schwab@linux-m68k.org>
28333 * stdio-common/vfprintf.c (process_string_arg): Revert
28336 2011-09-28 Jonathan Nieder <jrnieder@gmail.com>
28338 * stdio-common/Makefile (tst-sprintf-ENV): Set environment
28340 * stdio-common/tst-sprintf.c: Include <locale.h>
28341 (main): Test sprintf's handling of incomplete multibyte
28344 2012-09-28 H.J. Lu <hongjiu.lu@intel.com>
28346 * elf/dl-runtime.c (VERSYMIDX): Removed.
28347 * elf/dl-version.c (VERSYMIDX): Likewise.
28348 * elf/do-rel.h (VERSYMIDX): Likewise.
28349 (VALIDX): Likewise.
28350 * elf/dynamic-link.h (VERSYMIDX): Likewise.
28351 * elf/rtld.c (VALIDX): Likewise.
28352 (ADDRIDX): Likewise.
28353 * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
28354 * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
28355 * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
28356 * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
28357 (VALIDX): Likewise.
28358 (ADDRIDX): Likewise.
28360 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
28362 * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
28364 2012-09-28 Dmitry V. Levin <ldv@altlinux.org>
28367 * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
28369 * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
28370 addresses are in the same scope as 192.0.2/24.
28371 * posix/gai.conf: Document new scope table defaults.
28373 2012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
28376 * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
28377 for ftell. Compute offsets from write pointers instead.
28378 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
28380 2012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
28383 * libio/Makefile (tests): New test case tst-fseek.
28384 * libio/tst-fseek.c: New test case to verify that fseek/ftell
28385 combination works in wide mode.
28386 * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
28387 state when the external buffer state changes.
28389 2012-09-27 David S. Miller <davem@davemloft.net>
28392 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
28393 pass reloc->r_addend in as the 'high' argument to
28394 sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
28396 * sysdeps/sparc/fpu/libm-test-ulps: Update.
28398 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
28400 * rt/tst-aio2.c: Include <pthread.h>.
28401 * rt/tst-aio3.c: Likewise.
28403 2012-09-27 Steve Ellcey <sellcey@mips.com>
28405 * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
28407 2012-09-27 H.J. Lu <hongjiu.lu@intel.com>
28409 * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
28410 contents on [SHARED].
28412 2012-09-26 Marek Polacek <polacek@redhat.com>
28416 * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
28417 for C++ and GCC <4.3 as well as for non GCC compilers.
28419 2012-09-26 Markus Trippelsdorf <markus@trippelsdorf.de>
28421 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
28423 2012-09-25 Roland McGrath <roland@hack.frob.com>
28425 * Makefile.in (all, install): Declare with .PHONY.
28426 Reported by Michael Hope <michael.hope@linaro.org>.
28428 2012-09-25 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
28430 * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
28431 * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
28433 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
28435 (sydep_routines): Add the new and the internal functions.
28436 * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
28437 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
28438 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
28439 (GLIBC_2.17): Add the new function.
28440 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
28441 (GLIBC_2.17): Likewise.
28442 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
28443 (GLIBC_2.17): Likewise.
28444 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
28445 (GLIBC_2.17): Likewise.
28446 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
28448 2012-09-25 Alan Modra <amodra@gmail.com>
28450 * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
28451 Add release barrier before setting once_control to say
28452 initialisation is done. Add hints on lwarx. Use macro in
28454 (clear_once_control): Add release barrier.
28456 2012-09-25 Joseph Myers <joseph@codesourcery.com>
28459 * math/s_clog.c (__clog): Handle more values close to |z| = 1
28461 * math/s_clog10.c (__clog10): Likewise.
28462 * math/s_clog10f.c (__clog10f): Likewise.
28463 * math/s_clog10l.c (__clog10l): Likewise.
28464 * math/s_clogf.c (__clogf): Likewise.
28465 * math/s_clogl.c (__clogl): Likewise.
28466 * math/Makefile (libm-calls): Add x2y2m1.
28467 * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
28468 (__x2y2m1): Likewise.
28469 (__x2y2m1l): Likewise.
28470 * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
28471 * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
28472 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
28473 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
28474 * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
28475 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
28476 * math/libm-test.inc (clog_test, clog10_test): Add more tests.
28477 * sysdeps/i386/fpu/libm-test-ulps: Update.
28478 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28481 * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
28482 int as type of variable DEPTH.
28483 (glob): Use size_t instead of int as type of variables NEWCOUNT
28486 2012-09-25 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
28488 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
28489 Add s_sincosf-sse2.
28490 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
28491 * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
28492 * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
28493 macros for using routine as __sincosf_ia32.
28494 Use macro for function declaration and weak_alias.
28495 * sysdeps/i386/fpu/libm-test-ulps: Update.
28497 * sysdeps/x86_64/fpu/s_sincosf.S: New file.
28498 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
28500 * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
28501 subnormal argument.
28502 * math/s_cexpf.c (__cexpf): Likewise.
28503 * math/s_csinf.c (__csinf): Likewise.
28504 * math/s_csinhf.c (__csinhf): Likewise.
28505 * math/s_ctanf.c (__ctanf): Likewise.
28506 * math/s_ctanhf.c (__ctanhf): Likewise.
28507 * math/s_ccosh.c (__ccoshf): Likewise.
28508 * math/s_cexp.c (__cexpl): Likewise.
28509 * math/s_csin.c (__csin): Likewise.
28510 * math/s_csinh.c (__csinh): Likewise.
28511 * math/s_ctan.c (__ctan): Likewise.
28512 * math/s_ctanh.c (ctanh): Likewise.
28513 * math/s_ccoshl.c (__ccoshl): Likewise.
28514 * math/s_cexpl.c (__cexpl): Likewise.
28515 * math/s_csinl.c (__csinl): Likewise.
28516 * math/s_csinhl.c (__csinhl): Likewise.
28517 * math/s_ctanl.c (__ctanl): Likewise.
28518 * math/s_ctanhl.c (__ctanhl): Likewise.
28520 2012-09-25 Joseph Myers <joseph@codesourcery.com>
28522 * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
28523 (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
28524 (_IO_off_t): Define to __off_t, not _G_off_t.
28525 (_IO_pid_t): Define to __pid_t, not _G_pid_t.
28526 (_IO_uid_t): Define to __uid_t, not _G_uid_t.
28527 (_IO_wint_t): Define to wint_t, not _G_wint_t.
28528 * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
28529 type of __dummy and __dummy2 fields.
28530 * sysdeps/generic/_G_config.h (_G_size_t): Remove.
28531 (_G_ssize_t): Likewise.
28532 (_G_off_t): Likewise.
28533 (_G_pid_t): Likewise.
28534 (_G_uid_t): Likewise.
28535 (_G_wchar_t): Likewise.
28536 (_G_wint_t): Likewise.
28537 * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
28538 (_G_ssize_t): Likewise.
28539 (_G_off_t): Likewise.
28540 (_G_pid_t): Likewise.
28541 (_G_uid_t): Likewise.
28542 (_G_wchar_t): Likewise.
28543 (_G_wint_t): Likewise.
28544 * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
28545 (_G_ssize_t): Likewise.
28546 (_G_off_t): Likewise.
28547 (_G_pid_t): Likewise.
28548 (_G_uid_t): Likewise.
28549 (_G_wchar_t): Likewise.
28550 (_G_wint_t): Likewise.
28552 2012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
28554 * malloc/arena.c: Include malloc-sysdep.h.
28555 (shrink_heap): Use check_may_shrink_heap to decide if madvise
28556 is sufficient to shrink the heap or an unmap is needed.
28557 * sysdeps/generic/malloc-sysdep.h: New file. Define
28558 new function check_may_shrink_heap.
28559 * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file. Define
28560 new function check_may_shrink_heap.
28562 2012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
28564 * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
28567 2012-09-24 Dmitry V. Levin <ldv@altlinux.org>
28569 * catgets/test-gencat.sh: Add "set -e".
28570 * elf/tst-pathopt.sh: Likewise.
28571 * grp/tst_fgetgrent.sh: Likewise.
28572 * iconvdata/run-iconv-test.sh: Likewise.
28573 * intl/tst-gettext.sh: Likewise.
28574 * intl/tst-gettext2.sh: Likewise.
28575 * intl/tst-gettext4.sh: Likewise.
28576 * intl/tst-gettext6.sh: Likewise.
28577 * intl/tst-translit.sh: Likewise.
28578 * io/ftwtest-sh: Likewise.
28579 * libio/test-freopen.sh: Likewise.
28580 * malloc/tst-mtrace.sh: Likewise.
28581 * posix/globtest.sh: Likewise.
28582 * posix/tst-getconf.sh: Likewise.
28583 * posix/wordexp-tst.sh: Likewise.
28584 * stdio-common/tst-printf.sh: Likewise.
28585 * stdio-common/tst-unbputc.sh: Likewise.
28586 * stdlib/tst-fmtmsg.sh: Likewise.
28587 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
28588 * catgets/Makefile: Do not specify -e option when running
28589 testsuite shell scripts.
28590 * elf/Makefile: Likewise.
28591 * grp/Makefile: Likewise.
28592 * iconvdata/Makefile: Likewise.
28593 * intl/Makefile: Likewise.
28594 * io/Makefile: Likewise.
28595 * libio/Makefile: Likewise.
28596 * malloc/Makefile: Likewise.
28597 * posix/Makefile: Likewise.
28598 * stdio-common/Makefile: Likewise.
28599 * stdlib/Makefile: Likewise.
28600 * sysdeps/x86_64/Makefile: Likewise.
28602 * io/ftwtest-sh: Add copyright header.
28603 * posix/globtest.sh: Likewise.
28604 * posix/tst-getconf.sh: Likewise.
28605 * posix/wordexp-tst.sh: Likewise.
28606 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
28608 2012-09-24 H.J. Lu <hongjiu.lu@intel.com>
28611 * Makeconfig (+link): Defined as $(+link-static) if
28612 $(build-shared) isn't yes.
28613 (link-tests): Defined as $(+link-static-tests) if $(build-shared)
28615 (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
28617 * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
28620 * malloc/arena.c (heap_trim): Properly get fencepost and adjust
28621 new chunk size with MALLOC_ALIGN_MASK.
28623 2012-09-24 Joseph Myers <joseph@codesourcery.com>
28626 * stdio-common/printf_fphex.c: Include <stdbool.h> and
28628 (__printf_fphex): Determine rounding using get_rounding_mode and
28630 * stdio-common/tst-printf-round.c (struct hex_test): New
28632 (hex_tests): New variable.
28633 (test_hex_in_one_mode): New function.
28634 (do_test): Also run tests for hex float output.
28636 2012-09-21 Joseph Myers <joseph@codesourcery.com>
28638 * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
28639 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
28640 * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
28641 * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
28642 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
28643 * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
28644 * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
28645 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
28647 2012-09-20 Joseph Myers <joseph@codesourcery.com>
28649 * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
28650 * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
28651 * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
28652 * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
28654 2012-09-19 Dmitry V. Levin <ldv@altlinux.org>
28657 * elf/rtld.c (dl_main): Limit the check for self loading to normal
28659 * elf/tst-rtld-load-self.sh: New test.
28660 * elf/Makefile: Run it.
28662 2012-09-18 Joseph Myers <joseph@codesourcery.com>
28664 * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
28665 (tst-writev-ENV): Remove.
28666 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
28668 2012-09-17 Chris Metcalf <cmetcalf@tilera.com>
28670 * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
28672 2012-09-17 Joseph Myers <joseph@codesourcery.com>
28674 * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
28676 * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
28678 * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
28679 * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
28680 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
28683 2012-09-14 H.J. Lu <hongjiu.lu@intel.com>
28686 * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
28687 * config.make.in (have-cpp-asm-debuginfo): Removed.
28688 * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
28689 * configure: Regenerated.
28691 2012-09-14 Joseph Myers <joseph@codesourcery.com>
28694 * stdio-common/printf_fp.c: Include <stdbool.h> and
28696 (___printf_fp): Determine rounding using get_rounding_mode and
28698 * stdio-common/tst-printf-round.c: New file.
28699 * stdio-common/Makefile (tests): Add tst-printf-round.
28700 (link-libm): New variable.
28701 ($(objpfx)tst-printf-round): Depend in $(link-libm).
28703 2012-09-13 H.J. Lu <hongjiu.lu@intel.com>
28706 * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
28707 * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
28709 * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
28712 2012-09-13 Joseph Myers <joseph@codesourcery.com>
28714 * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
28715 * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
28716 * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
28717 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
28719 2012-09-12 Joseph Myers <joseph@codesourcery.com>
28722 * include/rounding-mode.h: New file.
28723 * sysdeps/generic/get-rounding-mode.h: Likewise.
28724 * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
28725 * stdlib/strtod_l.c: Include <rounding-mode.h>.
28726 (MAX_VALUE): New macro.
28727 (MIN_VALUE): Likewise.
28728 (overflow_value): New function.
28729 (underflow_value): Likewise.
28730 (round_and_return): Use overflow_value and underflow_value to
28731 determine return values in overflow and underflow cases. Use
28732 round_away to determine rounding depending on rounding mode.
28733 (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
28734 determine return values in overflow and underflow cases.
28735 * stdlib/tst-strtod-round.c: Include <fenv.h>.
28736 (struct test_results): New structure.
28737 (struct test): Use struct test_results to store expected results
28738 for all rounding modes.
28739 (TEST): Include expected results for all rounding modes.
28740 (test_in_one_mode): New function.
28741 (do_test): Use test_in_one_mode to compute and check results.
28742 Check results for all rounding modes.
28743 * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
28746 2012-12-09 Allan McRae <allan@archlinux.org>
28748 * sysdeps/i386/fpu/libm-test-ulps: Update
28750 2012-09-11 Joseph Myers <joseph@codesourcery.com>
28752 * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
28753 (_G_int32_t): Likewise.
28754 (_G_uint16_t): Likewise.
28755 (_G_uint32_t): Likewise.
28756 (_G_HAVE_BOOL): Likewise.
28757 (_G_HAVE_ATEXIT): Likewise.
28758 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
28759 (_G_HAVE_IO_FILE_OPEN): Likewise.
28760 * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
28761 (_G_int32_t): Likewise.
28762 (_G_uint16_t): Likewise.
28763 (_G_uint32_t): Likewise.
28764 (_G_HAVE_BOOL): Likewise.
28765 (_G_HAVE_ATEXIT): Likewise.
28766 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
28767 (_G_HAVE_IO_FILE_OPEN): Likewise.
28768 * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
28769 (_G_int32_t): Likewise.
28770 (_G_uint16_t): Likewise.
28771 (_G_uint32_t): Likewise.
28772 (_G_HAVE_BOOL): Likewise.
28773 (_G_HAVE_ATEXIT): Likewise.
28774 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
28775 (_G_HAVE_IO_FILE_OPEN): Likewise.
28777 2012-09-11 H.J. Lu <hongjiu.lu@intel.com>
28779 * csu/libc-tls.c: Update copyright years.
28781 2012-09-10 Joseph Myers <joseph@codesourcery.com>
28783 * libioP.h [_G_USING_THUNKS]: Make code unconditional.
28784 [!_G_USING_THUNKS]: Remove conditional code.
28785 * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
28786 * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
28788 * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
28789 [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
28790 * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
28791 (_G_VTABLE_LABEL_PREFIX): Likewise.
28792 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
28793 * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
28794 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
28795 (_G_VTABLE_LABEL_PREFIX): Likewise.
28796 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
28797 * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
28798 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
28799 (_G_VTABLE_LABEL_PREFIX): Likewise.
28800 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
28802 2012-09-10 H.J. Lu <hongjiu.lu@intel.com>
28804 * libio/Makefile: Include ../Makeconfig before tests.
28805 (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
28806 only if $(build-shared) is yes.
28808 * iconv/gconv_db.c: Update copyright years.
28810 2012-09-10 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
28812 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
28813 unwind info if defined PIC. Fix special cases description.
28814 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
28816 * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
28818 * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
28820 2012-09-07 H.J. Lu <hongjiu.lu@intel.com>
28822 * scripts/check-local-headers.sh: Add "shopt -s nullglob".
28824 * iconv/gconv_db.c (free_derivation): Check if deriv->steps
28827 * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
28828 (LDLIBS-tst-chk4): This.
28829 (LDFLAGS-tst-chk5): Renamed to ...
28830 (LDLIBS-tst-chk5): This.
28831 (LDFLAGS-tst-chk6): Renamed to ...
28832 (LDLIBS-tst-chk6): This.
28833 (LDFLAGS-tst-lfschk4): Renamed to ...
28834 (LDLIBS-tst-lfschk4): This.
28835 (LDFLAGS-tst-lfschk5): Renamed to ...
28836 (LDLIBS-tst-lfschk5): This.
28837 (LDFLAGS-tst-lfschk6): Renamed to ...
28838 (LDLIBS-tst-lfschk6): This.
28840 * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
28841 on $(common-objpfx)soversions.mk.
28843 2012-09-07 Joseph Myers <joseph@codesourcery.com>
28846 * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
28849 2012-09-07 Siddhesh Poyarekar <siddhesh@redhat.com>
28851 * malloc/arena.c (arena_get_retry): New function that gets
28852 another arena for the caller to try its request on.
28853 * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
28854 current arena cannot fulfill the request.
28855 (__libc_memalign): Likewise.
28856 (__libc_memalign): Likewise.
28857 (__libc_pvalloc): Likewise.
28858 (__libc_calloc): Likewise.
28860 2012-09-05 John Tobey <john.tobey@gmail.com>
28863 * manual/arith.texi (Operations on Complex): Fix description
28864 of carg branch cut.
28866 2012-09-06 Joseph Myers <joseph@codesourcery.com>
28869 * manual/socket.texi (Host Addresses): Use www.gnu.org as example
28873 * manual/memory.texi (Memory): Make order of menu items match
28876 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
28878 * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
28879 (_dl_initial_dtv): New. Defined if SHARED isn't defined.
28880 (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
28882 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
28884 * csu/libc-tls.c (static_dtv): Renamed to ...
28885 (_dl_static_dtv): This. Make it global.
28886 (_dl_initial_dtv): Removed.
28887 (__libc_setup_tls): Updated.
28888 * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
28889 (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
28892 2012-09-06 Petr Machata <pmachata@redhat.com>
28894 * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
28895 (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
28896 (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
28897 (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
28899 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
28902 * csu/libc-tls.c (_dl_initial_dtv): New variable.
28903 * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
28906 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
28909 * Makeconfig (link-static-before-libc): Replace $(+prector)
28911 (link-static-after-libc): Replace $(+postctor) with
28913 (link-bounded): Replace $(+prector)/$(+postctor) with
28914 $(+prectorT)/$(+postctorT).
28915 (+prectorT): New macro.
28916 (+postctorT): Likewise.
28918 2012-09-06 Joseph Myers <joseph@codesourcery.com>
28920 * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
28921 (round_str): Handle values above the maximum for IBM long double
28923 * stdlib/tst-strtod-round.c (tests): Regenerated.
28925 2012-09-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
28927 * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
28929 * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
28930 zarch_nohighgprs around the zarch optimized routines.
28931 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
28932 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
28933 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
28936 2012-09-05 David S. Miller <davem@davemloft.net>
28938 * sysdeps/sparc/fpu/libm-test-ulps: Update.
28940 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE)
28941 (HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
28942 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
28943 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
28946 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
28948 * malloc/arena.c: Fold copyright years.
28949 * malloc/mcheck.c, malloc/memusage.c: Likewise.
28951 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
28953 * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
28955 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
28957 * manual/contrib.texi (Contributors): Fix typo. Complete entry.
28959 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
28961 * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
28962 change internal state upon failure.
28964 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
28966 * malloc/mcheck.c (mcheck_check_all): Fix typo.
28967 * malloc/memusage.c (mmap): Likewise.
28968 (mmap64, mremap): Likewise. Adjust name in comment.
28970 2012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
28972 * libio/fileops.c: Fix typos in comments.
28973 * libio/oldfileops.c: Likewise.
28974 * libio/wfileops.c: Likewise.
28976 2012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
28979 * malloc/Makefile (tests): Add tst-malloc-usable test case.
28980 (tst-malloc-usable-ENV): Set environment for test case.
28981 * malloc/hooks.c (malloc_check_get_size): New function to get
28983 * malloc/malloc.c (musable): Use malloc_check_get_size.
28984 * malloc/tst-malloc-usable.c: New test case.
28986 2012-09-05 Andreas Schwab <schwab@linux-m68k.org>
28988 * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
28990 2012-09-05 Allan McRae <allan@archlinux.org>
28993 * configure.in (CXX_SYSINCLUDES): Use compiler output to
28994 determine header location.
28995 * configure: Regenerated.
28997 2012-09-05 Andreas Schwab <schwab@linux-m68k.org>
28999 * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
29001 * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
29002 LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
29004 (test): Regenerate.
29006 2012-09-04 David S. Miller <davem@davemloft.net>
29008 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
29009 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
29010 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
29012 2012-09-04 Florian Weimer <fweimer@redhat.com>
29014 * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
29017 * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
29019 2012-09-04 Joseph Myers <joseph@codesourcery.com>
29022 * libio/iogetdelim.c: Include <limits.h>.
29023 (_IO_getdelim): Avoid integer overflow in testing whether cur_len
29024 + len + 1 would overflow.
29026 2012-09-03 Andreas Jaeger <aj@suse.de>
29028 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
29029 * sysdeps/i386/fpu/libm-test-ulps: Update.
29031 2012-09-03 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
29033 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
29034 Add s_sinf-sse2, s_conf-sse2.
29036 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
29037 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
29038 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
29039 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
29041 * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
29042 for using routine as __sinf_ia32.
29043 Use macro for function declaration and weak_alias.
29044 * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
29045 for using routine as __cosf_ia32.
29046 Use macro for function declaration and weak_alias.
29048 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
29049 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
29051 * sysdeps/x86_64/fpu/s_sinf.S: New file.
29052 * sysdeps/x86_64/fpu/s_cosf.S: New file.
29053 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
29055 * math/libm-test.inc (cos_test): Add more test cases.
29056 (sin_test): Likewise.
29057 (sincos_test): Likewise.
29059 2012-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
29061 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
29062 (IFUNC_RESOLVE): Make pointers to the specialized implementations
29064 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
29066 2012-09-02 H.J. Lu <hongjiu.lu@intel.com>
29069 * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
29070 first element of the GOT.
29071 (elf_machine_load_address): Return the difference between
29072 the runtime address of _DYNAMIC and elf_machine_dynamic ().
29074 2012-09-01 Allan McRae <allan@archlinux.org>
29077 * configure.in (AWK): Require gawk version 3.0 or later.
29078 * configure: Regenerated.
29080 2012-09-01 Joseph Myers <joseph@codesourcery.com>
29082 * sysdeps/unix/sysv/linux/kernel-features.h
29083 (__ASSUME_POSIX_CPU_TIMERS): Remove.
29084 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
29085 [__NR_clock_getres]: Make code unconditional.
29086 [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
29087 (clock_getcpuclockid): Remove code left unreachable by removal of
29089 * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
29090 code unconditional.
29091 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
29092 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
29093 * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
29094 Make code unconditional.
29095 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
29096 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
29097 * sysdeps/unix/sysv/linux/clock_settime.c
29098 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
29100 [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
29101 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
29103 2012-08-29 H.J. Lu <hongjiu.lu@intel.com>
29106 * Makefile (install): Also pass LD_SO=$(ld.so-version) to
29107 scripts/test-installation.pl.
29109 * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
29110 and $ld_so_version if it is set.
29112 2012-08-29 Siddhesh Poyarekar <siddhesh@redhat.com>
29115 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
29116 failure if reading from procfs failed.
29117 * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
29119 2012-08-27 Joseph Myers <joseph@codesourcery.com>
29121 * sysdeps/unix/sysv/linux/kernel-features.h
29122 (__ASSUME_STAT64_SYSCALL): Remove all definitions.
29123 * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
29124 Remove conditional code.
29125 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
29126 * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
29127 Remove conditional code.
29128 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
29129 * sysdeps/unix/sysv/linux/i386/fxstat.c
29130 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
29131 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
29132 * sysdeps/unix/sysv/linux/i386/fxstatat.c
29133 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
29134 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
29135 * sysdeps/unix/sysv/linux/i386/lxstat.c
29136 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
29137 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
29138 * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
29139 Remove conditional code.
29140 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
29141 * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
29142 Remove conditional code.
29143 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
29144 * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
29145 <kernel-features.h>.
29146 [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
29148 * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
29149 Remove conditional code.
29150 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
29151 * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
29152 Remove conditional.
29154 2012-08-27 Mike Frysinger <vapier@gentoo.org>
29157 * NEWS: Add fixed bug number.
29159 2012-08-27 Joseph Myers <joseph@codesourcery.com>
29162 * stdlib/strtod_l.c (round_and_return): Return -0.0 for
29163 underflowing exponent in case of negative sign.
29164 * stdlib/tst-strtod-round-data: Add more tests.
29165 * stdlib/tst-strtod-round.c (tests): Regenerated.
29168 * stdlib/strtod_l.c (NDIG): Remove.
29169 (HEXNDIG): Likewise.
29170 (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
29171 smallest representable value.
29172 (____STRTOF_INTERNAL): Use all fractional decimal digits that may
29173 lie within an exact representation of 1/2 ulp of the result.
29174 * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
29176 (TENS_P9_IDX): Define unconditionally.
29177 (TENS_P9_SIZE): Likewise.
29178 (TENS_P10_IDX): Likewise.
29179 (TENS_P10_SIZE): Likewise.
29180 [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
29181 to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
29182 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
29183 entries for 10^2^13 and 10^2^14.
29184 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
29185 (TENS_P13_IDX): Define.
29186 (TENS_P13_SIZE): Likewise.
29187 (TENS_P14_IDX): Likewise.
29188 (TENS_P14_SIZE): Likewise.
29189 (_fpioconst_pow10): Change array size to
29190 FPIOCONST_POW10_ARRAY_SIZE. Make entries for 10^2^9 and 10^2^10
29192 (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
29193 1024]: Add entries for 10^2^13 and 10^2^14.
29194 [LAST_POW10 > _LAST_POW10]: Remove #error.
29195 * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
29196 (_fpioconst_pow10): Change array size to
29197 FPIOCONST_POW10_ARRAY_SIZE.
29198 * stdlib/gen-fpioconst.c: New file.
29199 * stdlib/gen-tst-strtod-round.c: Likewise.
29200 * stdlib/tst-strtod-round-data: Likewise.
29201 * stdlib/tst-strtod-round.c: Likewise.
29202 * stdlib/Makefile (tests): Add tst-strtod-round.
29205 * stdlib/strtod_l.c: Include <stdint.h>.
29206 (NDEBUG): Do not define.
29207 (round_and_return): Change EXPONENT parameter to type intmax_t.
29208 Rearrange calculations to avoid internal overflow possibilities.
29209 (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
29210 Rearrange calculations to avoid internal overflow possibilities.
29211 Assert that number fits inside MPNSIZE limbs.
29212 (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
29213 Change DIG_NO, INT_NO and LEAD_ZERO to type size_t. Rearrange
29214 calculations and add assertions to avoid internal overflow
29215 possibilities. Add casts to avoid signed/unsigned operations.
29216 * stdlib/tst-strtod-overflow.c: New file.
29217 * stdlib/Makefile (tests): Add tst-strtod-overflow.
29219 2012-08-25 Marek Polacek <polacek@redhat.com>
29221 * time/time.h: Fix some typos in comments.
29223 2012-08-23 Roland McGrath <roland@hack.frob.com>
29225 * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
29226 * posix/tst-rfc3484-2.c: Likewise.
29227 * posix/tst-rfc3484-3.c: Likewise.
29229 2012-08-23 Steve McIntyre <steve.mcintyre@linaro.org>
29231 * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
29232 (EF_ARM_ABI_FLOAT_HARD): Likewise.
29234 2012-08-23 Joseph Myers <joseph@codesourcery.com>
29236 * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
29237 #include of fxstatat64.c.
29239 2012-08-22 Roland McGrath <roland@hack.frob.com>
29241 * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
29242 * shadow/getspent_r.c: Likewise.
29243 * shadow/getspnam.c: Likewise.
29244 * shadow/getspnam_r.c: Likewise.
29245 * gshadow/getsgent.c: Likewise.
29246 * gshadow/getsgent_r.c: Likewise.
29247 * gshadow/getsgnam.c: Likewise.
29248 * gshadow/getsgnam_r.c: Likewise.
29249 * inet/getnetbyad.c: Likewise.
29250 * inet/getnetbyad_r.c: Likewise.
29251 * inet/getnetbynm.c: Likewise.
29252 * inet/getnetbynm_r.c: Likewise.
29253 * inet/getnetent.c: Likewise.
29254 * inet/getnetent_r.c: Likewise.
29255 * inet/getproto.c: Likewise.
29256 * inet/getproto_r.c: Likewise.
29257 * inet/getprtent.c: Likewise.
29258 * inet/getprtent_r.c: Likewise.
29259 * inet/getprtname.c: Likewise.
29260 * inet/getprtname_r.c: Likewise.
29261 * inet/getrpcbyname.c: Likewise.
29262 * inet/getrpcbyname_r.c: Likewise.
29263 * inet/getrpcbynumber.c: Likewise.
29264 * inet/getrpcbynumber_r.c: Likewise.
29265 * inet/getrpcent.c: Likewise.
29266 * inet/getrpcent_r.c: Likewise.
29267 * inet/getaliasent.c: Likewise.
29268 * inet/getaliasent_r.c: Likewise.
29269 * inet/getaliasname.c: Likewise.
29270 * inet/getaliasname_r.c: Likewise.
29271 * nscd/getgrgid_r.c: Likewise.
29272 * nscd/getgrnam_r.c: Likewise.
29273 * nscd/gethstbyad_r.c: Likewise.
29274 * nscd/gethstbynm3_r.c: Likewise.
29275 * nscd/getpwnam_r.c: Likewise.
29276 * nscd/getpwuid_r.c: Likewise.
29277 * nscd/getsrvbynm_r.c: Likewise.
29278 * nscd/getsrvbypt_r.c: Likewise.
29279 * nscd/gai.c: Likewise.
29281 * configure.in (build_nscd): New substituted variable, set
29282 by --disable-build-nscd and defaults to $use_nscd.
29283 * configure: Regenerated.
29284 * config.make.in (build-nscd): New substituted variable.
29285 * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
29286 Change conditional to require [$(build-nscd) = yes] as well.
29287 * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
29290 * configure.in (use_nscd): New substituted variable, set by
29291 --disable-nscd. If enabled, define USE_NSCD.
29292 * configure: Regenerated.
29293 * config.h.in: Add USE_NSCD.
29294 * config.make.in (use-nscd): New substituted variable.
29295 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
29296 (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
29297 (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
29298 * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
29299 (CFLAGS-getgrnam_r.c): Likewise.
29300 (CFLAGS-initgroups.c): Likewise.
29301 * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
29302 * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
29304 * inet/getnetgrent_r.c
29305 (nscd_setnetgrent): New function, broken out of ...
29306 (setnetgrent): ... here. Call it.
29307 (innetgr): Conditionalize nscd bits on [USE_NSCD].
29308 (nscd_getnetgrent): Conditionalize on [USE_NSCD].
29309 (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
29310 * nscd/Makefile (routines, aux): Move definitions after include of
29311 Makeconfig. Conditionalize on [$(use-nscd) != no].
29312 * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
29313 Conditionalize on [USE_NSCD].
29314 (is_nscd, nscd_init_cb): Likewise.
29315 (nss_load_library): Conditionalize init callback on [USE_NSCD].
29316 * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
29317 * nss/nss_db/db-init.c: Likewise.
29318 * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
29320 * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
29321 (make_request): Use it.
29322 (cache_valid_p): New function.
29323 (__check_pf): Use it.
29324 * NEWS: Add item for --disable-nscd.
29326 2012-08-22 Dmitry V. Levin <ldv@altlinux.org>
29328 * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
29329 to support sed >= 4.2.1-20-ga9bf076.
29330 * configure: Regenerated.
29332 2012-08-22 Roland McGrath <roland@hack.frob.com>
29334 * csu/libc-start.c (apply_irel): Move extern declarations inside here.
29335 Conditionalize whole body on [IREL].
29337 2012-08-22 Jeff Law <law@redhat.com>
29340 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
29341 if the family is PF_UNSPEC.
29343 2012-08-22 Mike Frysinger <vapier@gentoo.org>
29345 * Makerules (lib-version): Rename from V.
29346 (install-lib-nosubdir): Change V to lib-version.
29348 2012-08-22 Will Schmidt <will_schmidt@vnet.ibm.com>
29351 * powerpc32/power6/wcschr.c: New file.
29352 * powerpc32/power6/wcscpy.c: New file.
29353 * powerpc32/power6/wcsrchr.c: New file.
29354 * powerpc64/power6/wcschr.c: New file.
29355 * powerpc64/power6/wcscpy.c: New file.
29356 * powerpc64/power6/wcsrchr.c: New file.
29358 2012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
29360 * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
29361 (two_way_short_needle): Use it.
29362 * string/strstr.c (AVAILABLE1_USES_J): Define.
29363 * string/strcasestr.c: Likewise.
29365 * string/str-two-way.h (two_way_short_needle): Use pointers instead of
29367 * string/strcasestr.c (TOLOWER): Make side-effect safe.
29370 * NEWS: Add an entry.
29371 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
29372 define their defaults.
29373 (two_way_short_needle): Detect end-of-string on-the-fly.
29374 * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
29375 (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
29376 * string/bug-strcasestr1.c: New test.
29377 * string/Makefile: Run it.
29379 2012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
29382 * string/str-two-way.h (two_way_short_needle): Optimize matching of
29383 the first character.
29385 2012-08-21 Roland McGrath <roland@hack.frob.com>
29387 * csu/elf-init.c (__libc_csu_irel): Function removed.
29388 * csu/libc-start.c (apply_irel): New function.
29389 (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
29391 2012-08-21 Joseph Myers <joseph@codesourcery.com>
29393 * sysdeps/unix/sysv/linux/kernel-features.h
29394 (__ASSUME_FADVISE64_64_SYSCALL): Remove.
29395 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
29396 <kernel-features.h>.
29397 [__NR_fadvise64_64]: Make code unconditional.
29398 [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
29399 [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
29400 !__NR_fadvise64_64)]: Likewise.
29401 [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
29402 !__NR_fadvise64_64))]: Likewise.
29403 [__NR_fadvise64]: Make code unconditional.
29404 [!__NR_fadvise64]: Remove conditional code.
29405 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
29406 <kernel-features.h>.
29407 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
29409 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
29411 * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
29412 not include <kernel-features.h>.
29413 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
29415 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
29417 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
29418 include <kernel-features.h>.
29419 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
29421 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
29424 2012-08-21 Will Schmidt <will_schmidt@vnet.ibm.com>
29426 * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
29427 slight instruction rearrangements per scrollpipe analysis.
29428 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
29430 2012-08-20 Roland McGrath <roland@hack.frob.com>
29432 * manual/syslog.texi (syslog; vsyslog, closelog):
29433 Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
29434 Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
29436 * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
29437 DSOCAPS to match condition on defining it.
29439 2012-08-20 Joseph Myers <joseph@codesourcery.com>
29441 * sysdeps/unix/sysv/linux/kernel-features.h
29442 (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
29443 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
29444 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
29445 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
29446 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
29447 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
29448 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
29449 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
29450 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
29451 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
29453 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
29454 __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
29456 * sysdeps/unix/sysv/linux/kernel-features.h
29457 (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
29458 * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
29460 [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
29461 * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
29462 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
29463 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
29464 * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
29465 Make code unconditional.
29466 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
29467 (__mmap64) [!__NR_mmap2]: Likewise.
29468 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
29469 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
29470 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
29471 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
29472 [__NR_mmap2]: Make code unconditional.
29473 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
29474 (__mmap64) [!__NR_mmap2]: Likewise.
29476 2012-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
29478 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
29480 2012-08-18 Andreas Jaeger <aj@suse.de>
29482 * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
29484 2012-08-18 Mike Frysinger <vapier@gentoo.org>
29486 * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
29487 * include/unistd.h (__have_sock_cloexec): Likewise.
29488 (__have_pipe2): Likewise.
29489 (__have_dup3): Likewise.
29491 2012-08-18 Mike Frysinger <vapier@gentoo.org>
29494 * include/unistd.h (__have_pipe2): Change define into an extern int.
29495 (__have_dup3): Likewise.
29496 * socket/have_sock_cloexec.c: Include fcntl.h.
29497 (__have_pipe2): New variable.
29498 (__have_dup3): Likewise.
29500 2012-08-17 Mike Frysinger <vapier@gentoo.org>
29502 * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
29504 2012-08-17 Marek Polacek <polacek@redhat.com>
29506 * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
29507 ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
29509 2012-08-17 Roland McGrath <roland@hack.frob.com>
29511 * configure.in: Add AC_SUBST for sysheaders.
29512 * configure: Regenerated.
29513 * config.make.in (sysheaders): New substituted variable.
29515 * sysdeps/unix/mkfifo.c: Moved ...
29516 * sysdeps/posix/mkfifo.c: ... here.
29517 * sysdeps/unix/mkfifoat.c: Moved ...
29518 * sysdeps/posix/mkfifoat.c: ... here.
29520 * sysdeps/unix/utime.c: Moved ...
29521 * sysdeps/posix/utime.c: ... here.
29523 * sysdeps/unix/time.c: Moved ...
29524 * sysdeps/posix/time.c: ... here.
29525 * sysdeps/unix/sysv/linux/time.c: Adjust #include.
29526 * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
29528 * sysdeps/unix/nice.c: Moved ...
29529 * sysdeps/posix/nice.c: ... here.
29531 * sysdeps/unix/alarm.c: Moved ...
29532 * sysdeps/posix/alarm.c: ... here.
29534 * intl/Makefile ($(codeset_mo)): Depend on the input file.
29536 2012-08-17 Jeff Law <law@redhat.com>
29538 * intl/Makefile (codeset_mo): New variable.
29539 ($(codeset_mo)): New target.
29540 (tst-codeset.out): Depend on that. Remove explicit rule.
29541 (tst-gettext3.out, tst-gettext5.out): Likewise.
29542 (LOCPATH-ENV, tst-codeset-ENV): New variables.
29543 (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
29544 * intl/tst-codeset.sh: Remove.
29545 * intl/tst-gettext3.sh: Likewise.
29546 * intl/tst-gettext5.sh: Likewise.
29548 2012-08-17 Roland McGrath <roland@hack.frob.com>
29550 * sysdeps/unix/inet/syscalls.list: File removed. Move contents into ...
29551 * sysdeps/unix/syscalls.list: ... here.
29553 * sysdeps/posix/getaddrinfo.c
29554 (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
29555 (gaiconf_init, gaiconf_reload): Use them.
29556 [!_STATBUF_ST_NSEC]
29557 (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
29558 Define using time_t rather than struct timespec.
29560 * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
29561 (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
29563 * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
29565 (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
29566 (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
29569 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
29570 __libc_cleanup_push argument.
29572 * bits/param.h: New file.
29573 * misc/sys/param.h: New file.
29574 * include/sys/param.h: New file.
29575 * misc/Makefile (headers): Add bits/param.h.
29576 * sysdeps/generic/sys/param.h: File removed.
29577 * sysdeps/unix/sysv/linux/bits/param.h: New file.
29578 * sysdeps/unix/sysv/linux/sys/param.h: File removed.
29579 * sysdeps/mach/hurd/bits/param.h: New file.
29580 * sysdeps/mach/hurd/sys/param.h: File removed.
29582 * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
29585 * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
29587 * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
29588 (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
29591 * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
29592 * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
29593 rather than -D_IO_MTSAFE_IO conditionally.
29594 * stdio-common/Makefile (CPPFLAGS): Likewise.
29595 * wcsmbs/Makefile (CPPFLAGS): Likewise.
29596 * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
29597 Use $(libio-mtsafe).
29598 * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
29599 of -D_IO_MTSAFE_IO.
29600 (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
29601 (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
29602 (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
29603 (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
29604 (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
29605 (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
29606 (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
29607 (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
29608 (CFLAGS-fread_u_chk.c): Likewise.
29609 (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
29610 (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
29611 (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
29612 (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
29613 * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
29614 * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
29615 * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
29616 * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
29617 * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
29619 * libio/Makefile: Test [$(libc-reentrant) = yes]
29620 instead of [$(filter %REENTRANT, $(defines)) nonempty].
29623 [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
29624 * sysdeps/pthread/configure: File removed.
29625 * sysdeps/pthread/Makeconfig: New file.
29626 * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
29627 * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
29629 2012-08-16 Gary Benson <gbenson@redhat.com>
29631 * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
29632 unmapping the first object in a namespace.
29634 2012-08-16 Roland McGrath <roland@hack.frob.com>
29636 * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
29637 (__internal_setnetgrent): ... this. Add internal_function to
29638 definition. Add libc_hidden_def.
29639 (setnetgrent): Update caller.
29640 (internal_endnetgrent): Renamed to ...
29641 (__internal_endnetgrent): ... this. Add internal_function to
29642 definition. Add libc_hidden_def.
29643 (endnetgrent): Update caller.
29644 (internal_getnetgrent_r): Renamed to ...
29645 (__internal_getnetgrent_r): ... this. Add internal_function to
29646 definition. Add libc_hidden_def.
29647 (__getnetgrent_r): Update caller.
29648 * inet/netgroup.h: Update declarations. Add libc_hidden_proto uses.
29650 2012-08-16 Joseph Myers <joseph@codesourcery.com>
29652 * stdlib/longlong.h: Update from GCC.
29654 2012-08-16 Roland McGrath <roland@hack.frob.com>
29656 * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
29657 on _QL, which is set by umul_ppmm but never used.
29658 * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
29659 variables, which are set by GMP macros but never used.
29660 * stdio-common/_itowa.c (_itowa): Likewise.
29661 * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
29662 * stdlib/mod_1.c (mpn_mod_1): Likewise.
29664 2012-08-16 Carlos O'Donell <carlos_odonell@mentor.com>
29666 * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
29667 struct La_sh_regs is not constant.
29668 * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
29669 <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
29670 and struct La_sparc64_regs are not constant.
29672 2012-08-16 Joseph Myers <joseph@codesourcery.com>
29674 * sysdeps/unix/sysv/linux/kernel-features.h
29675 (__ASSUME_POSIX_TIMERS): Remove.
29676 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
29677 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
29678 * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
29679 Make code unconditional.
29680 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
29681 * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
29682 Make code unconditional.
29683 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
29684 * sysdeps/unix/sysv/linux/clock_nanosleep.c
29685 [__ASSUME_POSIX_TIMERS]: Make code unconditional.
29686 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
29687 * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
29688 Make code unconditional.
29689 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
29690 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
29691 (__libc_missing_posix_timers): Remove.
29693 2012-08-15 Roland McGrath <roland@hack.frob.com>
29695 * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
29696 check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
29698 * bits/libc-lock.h (__rtld_lock_initialize): New macro.
29700 * elf/dl-sym.c: Include <stdlib.h>.
29702 * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
29703 constants, which avoids warnings in 32-bit builds.
29705 * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
29706 (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
29708 * misc/lseek.c: File moved to ...
29709 * io/lseek.c: ... here.
29711 * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
29713 * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
29714 shifting LEN more than 31 bits at once.
29716 2012-08-15 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
29719 * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
29720 segmentation fault for a case of two empty input strings.
29721 * string/test-strncasecmp.c (check1): Renamed to...
29722 (bz12205): ...this.
29723 (bz14195): Add new testcase for two empty input strings and N > 0.
29724 (test_main): Call new testcase, adapt for renamed function.
29726 2012-08-15 Andreas Jaeger <aj@suse.de>
29729 * crypt/md5test2.c: New test, based on test supplied by Serge
29730 Belyshev <belyshev@depni.sinp.msu.ru>.
29731 * crypt/Makefile (xtests): Add md5test-giant..
29732 * crypt/Makefile ($(objpfx)md5test-giant): Add.
29734 2012-08-15 Paul Eggert <eggert@cs.ucla.edu>
29737 * crypt/md5.c (md5_process_block): Don't assume the buffer
29738 length is less than 2**32.
29739 * crypt/sha512.c (sha512_process_block): Don't assume the buffer
29740 length is less than 2**64.
29742 2012-08-15 Roland McGrath <roland@hack.frob.com>
29744 * string/str-two-way.h: Include <sys/param.h>.
29745 (MAX): Macro removed.
29747 * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
29748 Move #define and #undef of memmove to just before and after
29749 including <string.h>.
29751 * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
29752 [!NOT_IN_libc]: Move #define and #undef of memmove to just before
29753 and after including <string.h>. Move declarations of
29754 __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
29755 to before #include "string/memmove.c".
29757 * include/dirent.h: Declare __getdirentries.
29759 * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
29760 using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
29762 2012-08-14 Mike Frysinger <vapier@gentoo.org>
29764 * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
29765 * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
29766 * sysdeps/i386/configure: Regenerated.
29767 * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
29768 STABS_CURRENT_FILE, and STABS_FUN.
29769 (END): Remove call to STABS_FUN_END.
29770 (STABS_CURRENT_FILE1): Delete.
29771 (STABS_CURRENT_FILE): Likewise.
29772 (STABS_FUN): Likewise.
29773 (STABS_FUN_END): Likewise.
29774 (STABS_FUN2): Likewise.
29775 * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
29776 * sysdeps/x86_64/configure: Regenerated.
29778 2012-08-14 Roland McGrath <roland@hack.frob.com>
29780 * elf/dl-open.c: Include <atomic.h>.
29781 * elf/dl-lookup.c: Likewise.
29783 2012-08-14 Joseph Myers <joseph@codesourcery.com>
29785 * sysdeps/unix/sysv/linux/kernel-features.h
29786 (__ASSUME_CLONE_THREAD_FLAGS): Remove.
29787 * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
29789 * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
29791 * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
29792 condition on __ASSUME_CLONE_THREAD_FLAGS.
29794 2012-08-14 Andreas Jaeger <aj@suse.de>
29796 * sysdeps/i386/fpu/libm-test-ulps: Update.
29798 2012-08-13 Maxim Kuvyrkov <maxim@codesourcery.com>
29800 * include/atomic.h (atomic_exchange_and_add): Split into ...
29801 (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
29804 2012-08-13 Markus Trippelsdorf <markus@trippelsdorf.de>
29806 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
29808 2012-08-13 Jeff Law <law@redhat.com>
29810 * manual/stdio.texi (snprintf): Clarify handling of the trailing
29811 null byte in the output string.
29813 2012-08-10 Joseph Myers <joseph@codesourcery.com>
29815 * sysdeps/unix/sysv/linux/kernel-features.h
29816 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
29817 [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
29818 (__ASSUME_ARG_MAX_STACK_BASED): Define.
29819 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
29820 [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
29821 !__ASSUME_ARG_MAX_STACK_BASED. Compare version with
29822 __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
29824 2012-08-09 Jeff Law <law@redhat.com>
29827 * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
29828 When avoid_arena is set, don't retry in the that arena. Pick the
29829 next one, whatever it might be.
29830 (arena_get2): New parameter avoid_arena, pass through to reused_arena.
29831 (arena_lock): Pass in new parameter to arena_get2.
29832 * malloc/malloc.c (__libc_memalign): Pass in new parameter to
29834 (__libc_malloc): Unify retrying after main arena failure with
29835 __libc_memalign version.
29836 (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
29838 2012-08-09 H.J. Lu <hongjiu.lu@intel.com>
29841 * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
29842 to __redirect_strstr.
29843 (__strstr_sse42): Use typeof __redirect_strstr.
29844 (__strstr_ia32): Likewise.
29845 (__libc_strstr): New prototype.
29846 (strstr): Renamed to ...
29847 (__libc_strstr): This.
29848 (strstr): New strong alias of __libc_strstr.
29849 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
29850 * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
29853 (__libc_time): New prototype.
29854 (time_ifunc): Replace time with __libc_time.
29855 (time): New strong alias and hidden definition of __libc_time.
29856 (__GI_time): Remove strong alias.
29857 * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
29858 Include <stddef.h>.
29859 (memmove): Redefined to __redirect_memmove.
29860 (__memmove_sse2): Use typeof __redirect_memmove.
29861 (__memmove_ssse3): Likewise.
29862 (__memmove_ssse3_back): Likewise.
29863 (__libc_memmove): New prototype.
29864 (memmove): Renamed to ...
29865 (__libc_memmove): This.
29866 (memmove): New strong alias of __libc_memmove.
29868 2012-08-08 Mark Salter <msalter@redhat.com>
29871 (R_MN10300_TLS_GD): Define.
29872 (R_MN10300_TLS_LD): Likewise.
29873 (R_MN10300_TLS_LDO): Likewise.
29874 (R_MN10300_TLS_GOTIE): Likewise.
29875 (R_MN10300_TLS_IE): Likewise.
29876 (R_MN10300_TLS_LE): Likewise.
29877 (R_MN10300_TLS_DTPMOD): Likewise.
29878 (R_MN10300_TLS_DTPOFF): Likewise.
29879 (R_MN10300_TLS_TPOFF): Likewise.
29880 (R_MN10300_SYM_DIFF): Likewise.
29881 (R_MN10300_ALIGN): Likewise.
29882 (R_MN10300_NUM): Update.
29884 2012-08-08 Joseph Myers <joseph@codesourcery.com>
29886 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
29889 2012-08-08 Roland McGrath <roland@hack.frob.com>
29891 * sysdeps/posix/fdopendir.c: Include <stddef.h>.
29893 * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
29894 sysdeps/unix -> sysdeps/posix move.
29895 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
29897 2012-08-07 Allan McRae <allan@archlinux.org>
29900 * sunrpc/rpc_main.c (SVR4_CPP): Remove.
29901 (SUNOS_CPP): Likewise.
29902 (find_cpp): Fall back to selecting system cpp when /lib/cpp is
29904 (open_input): Call CPP using execvp.
29906 2012-08-07 Joseph Myers <joseph@codesourcery.com>
29908 * sysdeps/unix/sysv/linux/kernel-features.h
29909 (__ASSUME_PROT_GROWSUPDOWN): Remove.
29910 (__ASSUME_NO_CLONE_DETACHED): Likewise.
29911 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
29912 (__ASSUME_WAITID_SYSCALL): Likewise.
29913 * sysdeps/unix/sysv/linux/dl-execstack.c
29914 (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
29915 code unconditional.
29916 (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
29918 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
29919 [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
29920 (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
29922 * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
29924 [__ASSUME_WAITID_SYSCALL]: Likewise.
29925 [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
29927 2012-08-07 Roland McGrath <roland@hack.frob.com>
29929 * sysdeps/unix/closedir.c: Renamed to ...
29930 * sysdeps/posix/closedir.c: ... here.
29931 * sysdeps/unix/dirfd.c: Renamed to ...
29932 * sysdeps/posix/dirfd.c: ... here.
29933 * sysdeps/unix/dirstream.h: Renamed to ...
29934 * sysdeps/posix/dirstream.h: ... here.
29935 * sysdeps/unix/fdopendir.c: Renamed to ...
29936 * sysdeps/posix/fdopendir.c: ... here.
29937 * sysdeps/unix/opendir.c: Renamed to ...
29938 * sysdeps/posix/opendir.c: ... here.
29939 * sysdeps/unix/readdir.c: Renamed to ...
29940 * sysdeps/posix/readdir.c: ... here.
29941 * sysdeps/unix/readdir_r.c: Renamed to ...
29942 * sysdeps/posix/readdir_r.c: ... here.
29943 * sysdeps/unix/rewinddir.c: Renamed to ...
29944 * sysdeps/posix/rewinddir.c: ... here.
29945 * sysdeps/unix/seekdir.c: Renamed to ...
29946 * sysdeps/posix/seekdir.c: ... here.
29947 * sysdeps/unix/telldir.c: Renamed to ...
29948 * sysdeps/posix/telldir.c: ... here.
29949 * sysdeps/unix/sysv/linux/opendir.c: Update #include.
29950 * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
29951 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
29952 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
29954 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
29955 * bits/fcntl.h: ... here.
29957 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
29959 (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
29960 [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
29961 (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
29962 (struct flock): Move l_start, l_len to the beginning.
29963 Use __pid_t for l_pid.
29964 [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
29965 [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
29966 [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
29967 (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
29968 [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
29969 [__USE_LARGEFILE64] (struct flock64): New type.
29970 (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
29972 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
29973 * bits/dirent.h: ... here.
29975 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
29976 [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
29978 2012-08-07 Joseph Myers <joseph@codesourcery.com>
29980 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
29981 Change from 2.6.0 to 2.6.16.
29982 * sysdeps/unix/sysv/linux/configure: Regenerated.
29983 * sysdeps/unix/sysv/linux/kernel-features.h
29984 (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
29985 (__ASSUME_TGKILL): Define conditional on architectures, not kernel
29987 (__ASSUME_UTIMES): Likewise.
29988 (__ASSUME_CLONE_STOPPED): Remove.
29989 (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
29990 architectures, not kernel version.
29991 (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
29992 (__ASSUME_NO_CLONE_DETACHED): Likewise.
29993 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
29994 (__ASSUME_WAITID_SYSCALL): Likewise.
29995 [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
29996 condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
29997 * README: State 2.6.16 as minimum Linux kernel version. Do not
29998 refer to older versions.
30000 2012-08-06 Roland McGrath <roland@hack.frob.com>
30002 * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
30003 Define alphasort64 as an alias.
30004 * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
30005 Define versionsort64 as an alias.
30006 * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
30007 Define scandir64 as an alias.
30008 * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
30009 Define scandirat64 as an alias.
30010 * dirent/alphasort64.c (alphasort64):
30011 Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
30012 * dirent/versionsort64.c: Likewise.
30013 * dirent/scandir64.c: Likewise.
30014 * dirent/scandirat64.c: Likewise.
30015 * sysdeps/wordsize-64/alphasort.c: File removed.
30016 * sysdeps/wordsize-64/alphasort64.c: File removed.
30017 * sysdeps/wordsize-64/scandir.c: File removed.
30018 * sysdeps/wordsize-64/scandir64.c: File removed.
30019 * sysdeps/wordsize-64/scandirat.c: File removed.
30020 * sysdeps/wordsize-64/scandirat64.c: File removed.
30021 * sysdeps/wordsize-64/versionsort.c: File removed.
30022 * sysdeps/wordsize-64/versionsort64.c: File removed.
30023 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
30024 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
30025 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
30026 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
30027 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
30028 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
30029 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
30030 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
30032 * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
30033 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
30034 [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
30035 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
30036 [defined __arch64__ || defined __sparcv9]
30037 (__INO_T_MATCHES_INO64_T): New macro.
30038 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
30039 [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
30040 * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
30041 * sysdeps/unix/sysv/linux/bits/dirent.h
30042 [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
30043 (_DIRENT_MATCHES_DIRENT64): New macro.
30045 * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
30046 Define lockf64 as an alias.
30047 * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
30048 Define fseeko64 as an alias.
30049 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
30050 Define ftello64 as an alias.
30051 * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
30052 Define _IO_fgetpos64 and fgetpos64 as aliases.
30053 * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
30054 Define _IO_fsetpos64 and fsetpos64 as aliases.
30055 * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
30056 Conditionalize body on this.
30057 * libio/fseeko64.c: Likewise.
30058 * libio/ftello64.c: Likewise.
30059 * libio/iofgetpos64.c: Likewise.
30060 * libio/iofsetpos64.c: Likewise.
30061 * sysdeps/wordsize-64/lockf.c: File removed.
30062 * sysdeps/wordsize-64/lockf64.c: File removed.
30063 * sysdeps/wordsize-64/fseeko.c: File removed.
30064 * sysdeps/wordsize-64/fseeko64.c: File removed.
30065 * sysdeps/wordsize-64/ftello.c: File removed.
30066 * sysdeps/wordsize-64/ftello64.c: File removed.
30067 * sysdeps/wordsize-64/iofgetpos.c: File removed.
30068 * sysdeps/wordsize-64/iofgetpos64.c: File removed.
30069 * sysdeps/wordsize-64/iofsetpos.c: File removed.
30070 * sysdeps/wordsize-64/iofsetpos64.c: File removed.
30071 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
30072 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
30073 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
30074 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
30075 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
30076 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
30077 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
30078 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
30079 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
30080 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
30082 * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
30083 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
30084 [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
30085 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
30086 [defined __arch64__ || defined __sparcv9]
30087 (__OFF_T_MATCHES_OFF64_T): New macro.
30088 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
30089 [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
30090 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
30091 (__OFF_T_MATCHES_OFF64_T): New macro.
30093 2012-08-06 H.J. Lu <hongjiu.lu@intel.com>
30095 * stdlib/secure-getenv.c (__secure_getenv): Replace
30096 GLIBC_2_16 with GLIBC_2_17.
30098 2012-08-06 H.J. Lu <hongjiu.lu@intel.com>
30100 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
30101 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
30103 2012-08-03 David S. Miller <davem@davemloft.net>
30105 * sysdeps/sparc/fpu/libm-test-ulps: Update.
30107 2012-08-03 Joseph Myers <joseph@codesourcery.com>
30109 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
30111 (__ASSUME_CORRECT_SI_PID): Likewise.
30112 (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
30113 (__ASSUME_TMPFS_NAME): Likewise.
30114 * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
30115 [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
30116 * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
30117 (HAVE_AUX_SECURE): Make definition unconditional.
30118 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
30119 [!__ASSUME_TMPFS_NAME]: Remove conditional code.
30121 2012-08-03 Roland McGrath <roland@hack.frob.com>
30123 * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
30124 * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
30125 * sysdeps/mach/hurd/eloop-threshold.h: New file.
30126 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
30127 __eloop_threshold instead of SYMLOOP_MAX.
30129 * sysdeps/generic/eloop-threshold.h: New file.
30130 * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
30132 * elf/chroot_canon.c (chroot_canon): Likewise.
30134 2012-08-03 Joseph Myers <joseph@codesourcery.com>
30137 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
30138 Change to 2.6.0 everywhere.
30139 * sysdeps/unix/sysv/linux/configure: Regenerated.
30140 * sysdeps/unix/sysv/linux/kernel-features.h
30141 (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
30142 (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
30144 (__ASSUME_POSIX_TIMERS): Define unconditionally.
30145 (__ASSUME_FUTEX_REQUEUE): Remove.
30146 (__ASSUME_STATFS64): Define unconditionally.
30147 (__ASSUME_AT_SECURE): Likewise.
30148 (__ASSUME_CORRECT_SI_PID): Likewise.
30149 (__ASSUME_TGKILL): Define without depending on kernel version for
30151 (__ASSUME_UTIMES): Likewise.
30152 (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
30154 (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
30155 (__ASSUME_TMPFS_NAME): Likewise.
30156 * README: Update reference to Linux kernel versions.
30158 2012-08-02 Marek Polacek <polacek@redhat.com>
30161 * configure.in (libc_cv_asm_type_prefix): Remove test. Replace
30162 libc_cv_asm_type_prefix with %.
30163 * configure: Regenerated.
30164 * include/libc-symbols.h: Remove comment about
30165 ASM_TYPE_DIRECTIVE_PREFIX. Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
30166 (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
30167 (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
30168 (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
30169 (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
30170 * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
30171 [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
30172 [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
30173 * elf/tst-unique2mod1.c: Likewise.
30174 * elf/tst-unique1mod2.c: Likewise.
30175 * elf/tst-unique1mod1.c: Likewise.
30176 * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
30177 * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
30178 Replace ASM_TYPE_DIRECTIVE with .type.
30179 * sysdeps/s390/s390-64/sysdep.h: Likewise.
30180 * sysdeps/i386/sysdep.h: Likewise.
30181 * sysdeps/x86_64/sysdep.h: Likewise.
30182 * sysdeps/sh/sysdep.h: Likewise.
30183 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
30184 Do not define ASM_TYPE_DIRECTIVE.
30185 * sysdeps/powerpc/sysdep.h: Likewise.
30186 * sysdeps/powerpc/powerpc32/sysdep.h:
30187 Replace ASM_TYPE_DIRECTIVE with .type.
30188 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
30189 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
30190 * sysdeps/i386/fpu/e_powf.S: Likewise.
30191 * sysdeps/i386/fpu/e_expl.S: Likewise.
30192 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
30193 * sysdeps/i386/fpu/e_acosh.S: Likewise.
30194 * sysdeps/i386/fpu/e_pow.S: Likewise.
30195 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
30196 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
30197 * sysdeps/i386/fpu/s_expm1.S: Likewise.
30198 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
30199 * sysdeps/i386/fpu/e_log2.S: Likewise.
30200 * sysdeps/i386/fpu/e_log2l.S: Likewise.
30201 * sysdeps/i386/fpu/e_scalb.S: Likewise.
30202 * sysdeps/i386/fpu/e_powl.S: Likewise.
30203 * sysdeps/i386/fpu/e_log10f.S: Likewise.
30204 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
30205 * sysdeps/i386/fpu/e_logl.S: Likewise.
30206 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
30207 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
30208 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
30209 * sysdeps/i386/fpu/e_log2f.S: Likewise.
30210 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
30211 * sysdeps/i386/fpu/e_log.S: Likewise.
30212 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
30213 * sysdeps/i386/fpu/e_logf.S: Likewise.
30214 * sysdeps/i386/fpu/e_log10l.S: Likewise.
30215 * sysdeps/i386/fpu/e_atanh.S: Likewise.
30216 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
30217 * sysdeps/i386/fpu/e_log10.S: Likewise.
30218 * sysdeps/i386/fpu/s_frexp.S: Likewise.
30219 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
30220 * sysdeps/i386/fpu/s_asinh.S: Likewise.
30221 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
30222 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
30223 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
30224 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
30225 * sysdeps/i386/i686/strtok.S: Likewise.
30226 * sysdeps/i386/i386-mcount.S: Likewise.
30227 * sysdeps/i386/strtok.S: Likewise.
30228 * sysdeps/x86_64/fpu/e_expl.S: Likewise.
30229 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
30230 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
30231 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
30232 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
30233 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
30234 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
30235 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
30236 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
30237 * sysdeps/x86_64/_mcount.S: Likewise.
30238 * sysdeps/x86_64/strtok.S: Likewise.
30239 * sysdeps/sh/_mcount.S: Likewise.
30241 2012-08-01 Roland McGrath <roland@hack.frob.com>
30243 * libio/iofopen.c: Include <fcntl.h>.
30244 [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
30245 (_IO_fopen64, fopen64): Define as aliases.
30246 * libio/iofopen64.c: Include <fcntl.h>.
30247 [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
30248 Conditionalize body on this.
30249 * sysdeps/wordsize-64/iofopen.c: File removed.
30250 * sysdeps/wordsize-64/iofopen64.c: File removed.
30252 2012-08-01 Marek Polacek <polacek@redhat.com>
30254 * libc/Makeconfig: Use elf in place of binfmt-subdir.
30255 Use dlfcn directly instead of a variable.
30256 (binfmt-subdir): Do not define.
30259 2012-08-01 Joseph Myers <joseph@codesourcery.com>
30261 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
30262 Remove all definitions.
30263 * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
30264 <kernel-features.h>.
30265 [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
30266 (miss_F_GETOWN_EX): Remove all definitions.
30267 [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
30269 [!__ASSUME_FCNTL64]: Remove conditional code.
30270 [__ASSUME_FCNTL64]: Make code unconditional.
30271 * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
30272 <kernel-features.h>.
30273 [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
30274 (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
30275 (lockf64) [__NR_fcntl64]: Make code unconditional.
30276 (lockf64) [__ASSUME_FCNTL64]: Likewise.
30278 * sysdeps/unix/sysv/linux/kernel-features.h
30279 (__ASSUME_VFORK_SYSCALL): Remove all definitions.
30280 * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
30281 Make code unconditional.
30282 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
30283 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
30284 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
30285 [__NR_vfork]: Make code unconditional.
30286 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
30287 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
30288 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
30289 [__NR_vfork]: Make code unconditional.
30290 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
30291 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
30293 2012-08-01 Roland McGrath <roland@hack.frob.com>
30295 * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
30296 (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
30298 * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
30299 Define mkstemp64 as an alias.
30300 * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
30301 Define mkstemps64 as an alias.
30302 * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
30303 Define mkostemp64 as an alias.
30304 * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
30305 Define mkostemps64 as an alias.
30306 * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
30307 Conditionalize body on this.
30308 * misc/mkostemp64.c: Likewise.
30309 * misc/mkostemps64.c: Likewise.
30310 * misc/mkstemps64.c: Likewise.
30311 * sysdeps/wordsize-64/mkstemp64.c: File removed.
30312 * sysdeps/wordsize-64/mkostemp64.c: File removed.
30313 * sysdeps/wordsize-64/mkostemp.c: File removed.
30314 * sysdeps/wordsize-64/mkstemp.c: File removed.
30315 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
30316 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
30317 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
30318 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
30321 * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
30322 * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
30323 * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
30324 * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
30326 * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
30327 compat_symbol macros from <shlib-compat.h> rather than the underlying
30328 default_symbol_version and symbol_version macros, so that DEFAULT
30329 lines in shlib-versions are respected.
30330 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
30332 2012-08-01 Florian Weimer <fweimer@redhat.com>
30334 * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
30335 Declare with warn_unused_result.
30336 (setgid, setregid, setegid, setresgid): Likewise.
30337 * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
30339 * WUR-REPORT: Remove set*id functions.
30341 2012-07-31 Pino Toscano <toscano.pino@tiscali.it>
30343 * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
30345 2012-07-31 Roland McGrath <roland@hack.frob.com>
30348 * include/sys/socket.h (__libc_accept, __libc_accept4):
30349 Add attribute_hidden.
30350 * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
30352 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
30354 * inet/getnetgrent_r.c (setup): Likewise.
30356 * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
30358 2012-07-31 David S. Miller <davem@davemloft.net>
30360 * sysdeps/sparc/fpu/libm-test-ulps: Update.
30362 2012-07-31 Joseph Myers <joseph@codesourcery.com>
30365 * math/s_clog.c (__clog): Use __log1p if larger part has absolute
30366 value between 1.0 and 2.0 and smaller part has absolute value less
30368 * math/s_clog10.c (__clog10): Likewise.
30369 * math/s_clog10f.c (__clog10f): Likewise.
30370 * math/s_clog10l.c (__clog10l): Likewise.
30371 * math/s_clogf.c (__clogf): Likewise.
30372 * math/s_clogl.c (__clogl): Likewise.
30373 * math/libm-test.inc (clog_test): Add more tests.
30374 (clog10_test): Likewise.
30375 * sysdeps/i386/fpu/libm-test-ulps: Update.
30376 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30378 2012-07-31 Florian Weimer <fweimer@redhat.com>
30380 * stdlib/tst-secure-getenv.c: Use printf for error reporting.
30381 Exit with zero in case no suitable GID is found, and write a
30382 message to standard error.
30384 2012-07-30 Roland McGrath <roland@hack.frob.com>
30386 * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
30388 (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
30389 (MAXPATHLEN): Removed.
30390 (NOGROUP, NODEV): New macros.
30391 (setbit, clrbit, isset, isclr): New macros.
30392 (howmany, roundup, powerof2): New macros.
30393 (DEV_BSIZE): New macro.
30395 * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
30396 * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
30398 * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
30399 definition on [!__NO_LONG_DOUBLE_MATH].
30401 * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
30402 PTR_MANGLE and PTR_DEMANGLE.
30404 * socket/accept4.c (accept4): Rename to __libc_accept4.
30405 Define accept4 as a weak alias.
30407 * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
30408 on [_DIRENT_HAVE_D_TYPE].
30409 * io/ftw.c (ftw_dir): Likewise.
30411 * io/xmknod.c (__xmknod): Don't check PATH for being null.
30413 * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
30415 * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
30416 Use the BSD numbers rather than the arbitrary ones we had.
30417 (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
30418 (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
30419 (SIGXCPU, SIGXFSZ): New macros.
30422 * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
30423 initializer on [_LIBC_REENTRANT].
30425 * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
30426 definitions inside [_POSIX_MAPPED_FILES].
30428 * posix/regex.c: Include <sys/param.h> for MIN/MAX.
30430 * dirent/opendir.c: Include <fcntl.h>.
30432 * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
30433 (__libc_getspecific): Likewise.
30434 (__libc_key_create): Likewise.
30436 * stdio-common/tmpfile64.c: Include <fcntl.h> first.
30437 [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
30438 * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
30439 (tmpfile64): Define as alias.
30440 * sysdeps/wordsize-64/tmpfile.c: File removed.
30441 * sysdeps/wordsize-64/tmpfile64.c: File removed.
30442 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
30443 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
30445 * stdio-common/vfscanf.c: Include <stdbool.h>.
30446 * nss/makedb.c: Likewise.
30447 * stdio-common/_i18n_number.h: Likewise.
30448 * argp/argp-help.c: Likewise.
30449 * posix/wordexp.c: Likewise.
30450 * sysdeps/posix/spawni.c: Likewise.
30451 * nss/nss_files/files-initgroups.c: Likewise.
30452 * stdio-common/reg-modifier.c: Include <stdlib.h>.
30453 * nss/nss_files/files-initgroups.c: Likewise.
30454 * nss/nss_db/db-netgrp.c: Likewise.
30455 * nss/nss_db/db-initgroups.c: Likewise.
30456 * io/fchmodat.c: Include <sys/stat.h>.
30458 * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
30459 __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
30461 * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
30464 * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
30465 Add multiple inclusion protection.
30467 2012-07-27 David S. Miller <davem@davemloft.net>
30469 * sysdeps/sparc/fpu/libm-test-ulps: Update.
30471 2012-07-27 Gary Benson <gbenson@redhat.com>
30474 * elf/rtld.c: Include <stap-probe.h>.
30475 (dl_main): Added static probes "init_start" and "init_complete".
30476 * elf/dl-load.c: Include <stap-probe.h>.
30477 (lose): Take new parameter "nsid".
30478 Added static probe "map_failed".
30479 (_dl_map_object_from_fd): Pass namespace id to lose.
30480 Added static probe "map_start".
30481 (open_verify): Pass namespace id to lose.
30482 * elf/dl-open.c: Include <stap-probe.h>.
30483 (dl_open_worker) Added static probes "map_complete", "reloc_start"
30484 and "reloc_complete".
30485 * elf/dl-close.c: Include <stap-probe.h>.
30486 (_dl_close_worker): Added static probes "unmap_start" and
30488 * elf/rtld-debugger-interface.txt: New file documenting the above.
30490 2012-07-26 Roland McGrath <roland@hack.frob.com>
30492 * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
30493 rather than a string variable.
30494 * sunrpc/rpc_main.c (h_output): Likewise.
30495 * sunrpc/rpc_svcout.c (write_real_program): Likewise.
30497 2012-07-26 Pino Toscano <toscano.pino@tiscali.it>
30499 * inet/check_native.c: New file.
30501 2012-07-26 Joseph Myers <joseph@codesourcery.com>
30504 * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
30505 if larger part has absolute value 1.0.
30506 * math/s_clog10.c (__clog10): Likewise.
30507 * math/s_clog10f.c (__clog10f): Likewise.
30508 * math/s_clog10l.c (__clog10l): Likewise.
30509 * math/s_clogf.c (__clogf): Likewise.
30510 * math/s_clogl.c (__clogl): Likewise.
30511 * math/libm-test.inc (clog_test): Add more tests.
30512 (clog10_test): Likewise.
30513 * sysdeps/i386/fpu/libm-test-ulps: Update.
30514 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30516 * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
30517 (pltexit): Likewise.
30518 (La_regs): Likewise.
30519 (La_retval): Likewise.
30520 (int_retval): Likewise.
30521 Update #error for removed macros to refer only to definitions in
30523 * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
30525 (pltexit): Likewise.
30526 (La_regs): Likewise.
30527 (La_retval): Likewise.
30528 (int_retval): Likewise.
30529 * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
30531 (pltexit): Likewise.
30532 (La_regs): Likewise.
30533 (La_retval): Likewise.
30534 (int_retval): Likewise.
30535 * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
30537 (pltexit): Likewise.
30538 (La_regs): Likewise.
30539 (La_retval): Likewise.
30540 (int_retval): Likewise.
30541 * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
30543 (pltexit): Likewise.
30544 (La_regs): Likewise.
30545 (La_retval): Likewise.
30546 (int_retval): Likewise.
30547 * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
30549 (pltexit): Likewise.
30550 (La_regs): Likewise.
30551 (La_retval): Likewise.
30552 (int_retval): Likewise.
30553 * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
30555 (pltexit): Likewise.
30556 (La_regs): Likewise.
30557 (La_retval): Likewise.
30558 (int_retval): Likewise.
30559 * sysdeps/generic/tst-audit.h: Update comment to refer only to
30560 macro definitions in tst-audit.h.
30561 * sysdeps/i386/tst-audit.h: New file.
30562 * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
30563 * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
30564 * sysdeps/s390/s390-32/tst-audit.h: Likewise.
30565 * sysdeps/s390/s390-64/tst-audit.h: Likewise.
30566 * sysdeps/sh/tst-audit.h: Likewise.
30567 * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
30568 * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
30569 * sysdeps/x86_64/tst-audit.h: Likewise.
30571 2012-07-26 Andreas Jaeger <aj@suse.de>
30573 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
30576 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
30577 new value PTRACE_EVENT_SECCOMP from Linux 3.5.
30578 (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
30580 * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
30581 * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
30582 * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
30584 * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
30587 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
30589 (si_call_addr, si_syscall, si_arch): Define new macro.
30590 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
30592 (si_call_addr, si_syscall, si_arch): Define new marcro.
30593 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
30595 (si_call_addr, si_syscall, si_arch): Define new macro.
30596 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
30598 (si_call_addr, si_syscall, si_arch): Define new macro.
30600 2012-07-25 Joseph Myers <joseph@codesourcery.com>
30603 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
30604 Change to 2.4.21 where previously 2.4.1.
30605 * sysdeps/unix/sysv/linux/configure: Regenerated.
30606 * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
30607 __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
30608 Linux kernel version.
30609 (__ASSUME_STD_AUXV): Remove.
30610 [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
30612 [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
30613 (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
30614 (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
30615 (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
30616 (__ASSUME_NETLINK_SUPPORT): Likewise.
30617 * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
30618 (__no_netlink_support): Remove conditional definition.
30619 * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
30621 (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
30622 [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
30623 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
30624 (if_nameindex_ioctl): Remove.
30625 (if_nameindex_netlink): Do not handle __no_netlink_support.
30626 (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
30628 * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
30629 Remove conditional code.
30630 (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
30632 (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
30634 [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
30635 [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
30636 * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
30638 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
30639 [!__ASSUME_STD_AUXV]: Remove conditional code.
30640 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
30641 [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
30642 [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
30643 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
30644 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
30645 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
30647 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
30648 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
30649 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
30650 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
30652 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
30653 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
30654 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
30656 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
30657 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
30659 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
30660 (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
30661 code unconditional.
30662 (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
30664 (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
30666 (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
30668 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
30669 (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
30671 (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
30673 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
30674 (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
30675 code unconditional.
30676 (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
30678 (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
30680 (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
30682 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
30683 (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
30684 code unconditional.
30685 (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
30687 (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
30689 (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
30692 2012-07-25 Andreas Schwab <schwab@linux-m68k.org>
30694 * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
30695 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
30696 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
30697 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
30698 * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
30699 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
30700 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
30701 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
30702 * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
30703 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
30704 * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
30705 * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
30706 * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
30707 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
30708 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
30709 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
30710 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
30711 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
30712 * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
30713 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
30714 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
30715 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
30716 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
30718 2012-07-25 Florian Weimer <fweimer@redhat.com>
30720 * Versions.def: Add GLIBC_2.17.
30721 * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
30722 * include/stdlib.h: Rename __secure_getenv to secure_getenv.
30723 Introduce __libc_secure_getenv.
30724 * stdlib/Versions (2.17): Add secure_getenv
30725 (GLIBC_PRIVATE): Add __libc_secure_getenv.
30726 * stdlib/secure-getenv.c: Rename __secure_getenv to
30727 __libc_secure_getenv. Add secure_getenv alias. Add compatibility
30728 symbol __secure_getenv for GLIBC_2.0.
30729 * stdlib/tst-secure-getenv.c: New.
30730 * stdlib/Makefile (tests): Add testcase.
30731 * manual/startup.texi (Environment Access): Document
30733 * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
30734 __libc_secure_getenv.
30735 * inet/ruserpass.c (ruserpass): Likewise.
30736 * malloc/mtrace.c (mtrace): Likewise.
30737 * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
30738 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
30739 * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
30740 * sysdeps/posix/tempname.c: Likewise. Evaluate
30741 HAVE_SECURE_GETENV.
30742 * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
30743 __secure_getenv to __libc_secure_getenv.
30744 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
30745 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
30747 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
30749 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
30750 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
30751 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
30752 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
30753 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
30754 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
30755 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
30757 2012-07-25 Joseph Myers <joseph@codesourcery.com>
30759 * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
30760 (struct La_i86_retval): Likewise.
30761 (struct La_x86_64_regs): Likewise.
30762 (struct La_x86_64_retval): Likewise.
30763 (struct La_x32_regs): Likewise.
30764 (struct La_x32_retval): Likewise.
30765 (struct La_ppc32_regs): Likewise.
30766 (struct La_ppc32_retval): Likewise.
30767 (struct La_ppc64_regs): Likewise.
30768 (struct La_ppc64_retval): Likewise.
30769 (struct La_sh_regs): Likewise.
30770 (struct La_sh_retval): Likewise.
30771 (struct La_s390_32_regs): Likewise.
30772 (struct La_s390_32_retval): Likewise.
30773 (struct La_s390_64_regs): Likewise.
30774 (struct La_s390_64_retval): Likewise.
30775 (struct La_sparc32_regs): Likewise.
30776 (struct La_sparc32_retval): Likewise.
30777 (struct La_sparc64_regs): Likewise.
30778 (struct La_sparc64_retval): Likewise.
30779 (struct audit_ifaces): Remove architecture-specific pltenter and
30781 * sysdeps/i386/ldsodefs.h: New file.
30782 * sysdeps/powerpc/ldsodefs.h: Likewise.
30783 * sysdeps/s390/ldsodefs.h: Likewise.
30784 * sysdeps/sh/ldsodefs.h: Likewise.
30785 * sysdeps/sparc/ldsodefs.h: Likewise.
30786 * sysdeps/x86_64/ldsodefs.h: Likewise.
30788 2012-07-25 Marek Polacek <polacek@redhat.com>
30791 * math/libm-test.inc (yn_test): Add another test.
30792 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
30793 to ERANGE when the result is +-Inf.
30794 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
30795 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
30796 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
30797 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
30799 2012-07-24 Joseph Myers <joseph@codesourcery.com>
30801 * conform/data/time.h-data (NULL): Use macro-constant. Require
30803 (CLOCKS_PER_SEC): Use macro instead of constant. Specify type as
30805 [ISO11] (TIME_UTC): Use macro-int-constant. Require value > 0.
30807 2012-07-23 Thomas Schwinge <thomas@codesourcery.com>
30809 * configure.in <sysdeps resolving>: Correct printing
30811 * configure: Regenerate.
30813 2012-07-22 Thomas Schwinge <thomas@codesourcery.com>
30815 * math/w_ilogb.c: Include <limits.h>.
30816 * math/w_ilogbl.c: Likewise.
30818 2012-07-20 Joseph Myers <joseph@codesourcery.com>
30820 * manual/lang.texi (__va_copy): Document primarily as ISO C99
30821 va_copy. Document allowing for unavailable va_copy only as
30822 pre-C99 compatibility.
30823 * manual/string.texi (Copying and Concatenation): Use va_copy
30824 instead of __va_copy in concat example.
30826 2012-07-20 Pino Toscano <toscano.pino@tiscali.it>
30828 * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
30829 (__sendto): Use create_address_port. Initialize APORT and deallocate
30832 * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
30833 with O_NOLINK passed to __file_name_lookup.
30835 * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
30836 with O_NOLINK passed to __file_name_lookup.
30838 * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
30839 negative N or less than NGIDS.
30841 * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
30842 type to string_t. Set ERANGE as errno and return it if NAME is not big
30843 enough. Use memcpy instead of strncpy.
30845 2012-07-20 Joseph Myers <joseph@codesourcery.com>
30847 * elf/Makefile (check-data): Remove.
30848 (localplt.data): New vpath directive.
30849 ($(objpfx)check-localplt.out): Use localplt.data from vpath
30850 instead of $(check-data).
30851 * scripts/data/localplt-generic.data: Move to ...
30852 * sysdeps/generic/localplt.data: ... here.
30853 * scripts/data/localplt-i386-linux-gnu.data: Move to ...
30854 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
30855 * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
30856 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
30858 * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
30859 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
30861 * scripts/data/localplt-s390-linux-gnu.data: Move to ...
30862 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
30864 * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
30865 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
30867 * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
30868 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
30870 * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
30871 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
30874 2012-07-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30876 * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
30877 PPC32 and PPC64 files.
30878 * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
30879 * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
30881 2012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
30883 * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
30884 __makecontext_ret to ...
30885 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
30886 ... here and call exit if uc_link is NULL. New file.
30887 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
30888 __makecontext_ret.S.
30889 * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
30890 __makecontext_ret to ...
30891 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
30892 ... here and call exit if uc_link is NULL. New file.
30893 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
30894 __makecontext_ret.S.
30896 2012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
30898 * elf/elf.h (R_390_IRELATIVE): New definition.
30899 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
30900 resolver function for IFUNC symbols. Support R_390_IRELATIVE.
30901 (elf_machine_lazy_rel): Support R_390_IRELATIVE.
30902 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
30903 (elf_machine_lazy_rel): Likewise.
30904 * sysdeps/s390/dl-irel.h: New file.
30905 * sysdeps/s390/s390-64/memcpy.S: New asm code.
30906 * sysdeps/s390/s390-64/memset.S: New asm code.
30907 * sysdeps/s390/s390-64/memcmp.S: New asm code.
30908 * sysdeps/s390/s390-64/multiarch/memset.S: New file.
30909 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
30910 * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
30911 * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
30912 * sysdeps/s390/s390-64/multiarch/Makefile: New file.
30913 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
30914 * sysdeps/s390/s390-32/multiarch/Makefile: New file.
30915 * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
30916 * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
30917 * sysdeps/s390/s390-32/multiarch/memset.S: New file.
30918 * sysdeps/s390/s390-32/memcpy.S: New asm code.
30919 * sysdeps/s390/s390-32/memset.S: New asm code.
30920 * sysdeps/s390/s390-32/memcmp.S: New asm code.
30922 2012-07-17 Marek Polacek <polacek@redhat.com>
30925 * sysdeps/s390/s390-32/configure.in: Remove TLS check.
30926 * sysdeps/s390/s390-64/configure.in: Likewise.
30927 * sysdeps/sparc/configure.in: Likewise.
30928 * sysdeps/powerpc/powerpc32/configure.in: Likewise.
30929 * sysdeps/powerpc/powerpc64/configure.in: Likewise.
30930 * sysdeps/i386/configure.in: Likewise.
30931 * sysdeps/x86_64/configure.in: Likewise.
30932 * sysdeps/sh/configure.in: Likewise.
30933 * sysdeps/s390/s390-32/configure: Regenerated.
30934 * sysdeps/s390/s390-64/configure: Likewise.
30935 * sysdeps/x86_64/configure: Likewise.
30936 * sysdeps/sh/configure: Likewise.
30937 * sysdeps/powerpc/powerpc64/configure: Likewise.
30938 * sysdeps/powerpc/powerpc32/configure: Likewise.
30939 * sysdeps/sparc/configure: Likwise.
30940 * sysdeps/i386/configure: Likewise.
30942 * elf/dl-open.c: Comment fixes.
30944 2012-07-17 Joseph Myers <joseph@codesourcery.com>
30946 * Makefile [CXX] (check-data): Remove.
30947 [CXX] (c++-types.data): New vpath directive.
30948 [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
30949 vpath. Do not allow for C++ type data being missing.
30950 * scripts/data/c++-types-alpha-linux-gnu.data: Move to
30951 ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
30952 * scripts/data/c++-types-ia64-linux-gnu.data: Move to
30953 ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
30954 * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
30955 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
30956 * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
30957 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
30959 * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
30960 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
30962 * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
30963 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
30965 * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
30966 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
30968 * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
30969 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
30971 * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
30972 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
30974 * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
30975 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
30977 * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
30978 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
30980 * elf/tls-macros.h (TLS_LE): Move architecture-specific
30981 definitions to architecture-specific files.
30982 (TLS_IE): Likewise.
30983 (TLS_LD): Likewise.
30984 (TLS_GD): Likewise.
30985 * sysdeps/i386/tls-macros.h: New file.
30986 * sysdeps/powerpc/tls-macros.h: Likewise.
30987 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
30988 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
30989 * sysdeps/sh/tls-macros.h: Likewise.
30990 * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
30991 * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
30992 * sysdeps/x86_64/tls-macros.h: Likewise.
30994 2012-07-17 Thomas Schwinge <thomas@codesourcery.com>
30996 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
30997 zero value for regular exit case.
30999 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
31000 (__start_context): Preserve zero value for regular exit case.
31002 2012-07-17 Thomas Schwinge <thomas@codesourcery.com>
31003 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
31005 * manual/setjmp.texi (setcontext): Clarify normal process
31006 termination when uc_link is the null pointer.
31007 * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
31010 2012-07-16 Andreas Schwab <schwab@linux-m68k.org>
31012 * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
31013 preprocessor. Test for each exception mask separately.
31015 2012-07-16 Andreas Jaeger <aj@suse.de>
31017 * po/ru.po: Update from translation team.
31019 2012-07-15 Joseph Myers <joseph@codesourcery.com>
31021 * conform/data/string.h-data (NULL): Use macro-constant. Require
31023 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
31024 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
31025 (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
31026 (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
31027 [ISO || ISO99 || ISO11] (*_t): Do not allow.
31029 2012-07-13 Andreas Jaeger <aj@suse.de>
31031 * po/fr.po: Update from translation team.
31033 2012-07-12 Marek Polacek <polacek@redhat.com>
31036 * math/libm-test.inc (yn_test): Add test for BZ #14173.
31037 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
31040 2012-07-12 Joseph Myers <joseph@codesourcery.com>
31043 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
31044 Change to 2.4.1 where previously 2.4.0.
31045 * sysdeps/unix/sysv/linux/configure: Regenerated.
31046 * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
31047 (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
31049 [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
31050 (__ASSUME_AT_CLKTCK): Remove.
31051 (__ASSUME_AT_PAGESIZE): Likewise.
31052 (__ASSUME_AT_XID): Likewise.
31053 (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
31054 [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
31055 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
31057 (HAVE_AUX_PAGESIZE): Likewise.
31058 * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
31059 [__ASSUME_AT_CLKTCK]: Make code unconditional.
31060 [!__ASSUME_AT_CLKTCK]: Remove conditional code.
31062 2012-07-12 Jeroen van Bemmel <jvb127@gmail.com>
31065 * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
31066 the temporary buffer used to invoke __gethostbyname2_r,
31067 __gethostbyaddr_r and gethostbyname4_r to make room for struct
31068 host_data / struct gaih_addrtuple.
31069 * resolv/nss_dns/dns-host.c (global scope): Move definition of
31070 implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
31071 header file nss/nsswitch.h.
31072 * nss/nsswitch.h (global scope): Add definition of implementation
31073 constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
31074 resolv/nss_dns/dns-host.c).
31076 2012-07-11 Andreas Jaeger <aj@suse.de>
31078 * po/fr.po: Update from translation team.
31080 * po/sv.po: Update from translation team
31081 * po/fr.po: Another update from translation team.
31083 2012-07-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31085 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
31086 for subnormals or multiply small sinh result by itself.
31087 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
31088 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
31090 2012-07-11 David S. Miller <davem@davemloft.net>
31092 * sysdeps/sparc/fpu/libm-test-ulps: Update.
31094 2012-07-10 Andreas Schwab <schwab@linux-m68k.org>
31097 * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
31098 (INTERNAL_MARK): Shift it here.
31100 2012-07-10 Marek Polacek <polacek@redhat.com>
31103 * configure.in (libc_cv_asm_global_directive): Remove test. Replace
31104 libc_cv_asm_global_directive with .globl.
31105 * configure: Regenerated.
31106 * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
31108 * sysdeps/i386/configure: Regenerated.
31109 * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
31111 * sysdeps/x86_64/configure: Regenerated.
31112 * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
31113 * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
31114 * elf/tst-unique2mod2.c: Likewise.
31115 * elf/tst-unique2mod1.c: Likewise.
31116 * elf/tst-unique1mod2.c: Likewise.
31117 * elf/tst-unique1mod1.c: Likewise.
31118 * sysdeps/s390/s390-32/sysdep.h: Likewise.
31119 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
31120 * sysdeps/s390/s390-64/sysdep.h: Likewise.
31121 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
31122 * sysdeps/mach/sysdep.h: Likewise.
31123 * sysdeps/i386/sysdep.h: Likewise.
31124 * sysdeps/i386/i386-mcount.S: Likewise.
31125 * sysdeps/x86_64/_mcount.S: Likewise.
31126 * sysdeps/x86_64/sysdep.h: Likewise.
31127 * sysdeps/sh/_mcount.S: Likewise.
31128 * sysdeps/sh/sysdep.h: Likewise.
31129 * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
31130 * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
31131 * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
31132 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
31133 * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
31134 * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
31135 * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
31136 * locale/localeinfo.h: Likewise.
31137 (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
31138 (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
31140 2012-07-09 Roland McGrath <roland@hack.frob.com>
31143 * manual/charset.texi (Extended Char Intro): Word use fix, "operating
31145 * manual/message.texi (The Uniforum approach): Likewise.
31146 * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
31147 (glibc iconv Implementation): Likewise.
31149 2012-07-09 Joseph Myers <joseph@codesourcery.com>
31152 * math/s_clog.c (__clog): Avoid scaling a value down where that
31153 could result in underflow.
31154 * math/s_clog10.c (__clog10): Likewise.
31155 * math/s_clog10f.c (__clog10f): Likewise.
31156 * math/s_clog10l.c (__clog10l): Likewise.
31157 * math/s_clogf.c (__clogf): Likewise.
31158 * math/s_clogl.c (__clogl): Likewise.
31159 * math/libm-test.inc (clog_test): Add more tests.
31160 (clog10_test): Likewise.
31161 * sysdeps/i386/fpu/libm-test-ulps: Update.
31162 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31164 2012-07-06 Andreas Schwab <schwab@linux-m68k.org>
31167 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
31168 by 7 not 8 to examine high bit of fractional part.
31171 * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
31172 for call to __mcount_internal.
31173 * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
31174 (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
31175 * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
31177 2012-07-06 Joseph Myers <joseph@codesourcery.com>
31180 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
31181 approximation for values within 0x1p-13f of an odd multiple of
31183 * math/libm-test.inc (tan_test): Do not allow spurious underflow
31184 exception. Add more tests.
31185 * sysdeps/i386/fpu/libm-test-ulps: Update.
31188 * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
31189 inputs and return -1 for them. Do not check for +Inf in case not
31190 reachable for +Inf.
31191 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
31192 * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
31193 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
31194 and return -1 for them. Do not check for +Inf in case not
31195 reachable for +Inf.
31196 * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
31198 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
31199 and return -1 for them. Do not check for +Inf in case not
31200 reachable for +Inf.
31201 * math/libm-test.inc (expm1_test): Add more tests. Do not allow
31202 spurious underflow.
31203 * sysdeps/i386/fpu/libm-test-ulps: Update.
31204 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31206 2012-07-06 Mike Frysinger <vapier@gentoo.org>
31208 * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
31210 2012-07-05 Joseph Myers <joseph@codesourcery.com>
31214 * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
31215 could result in spurious underflow. Scale down values above
31216 DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
31217 * math/s_csqrtf.c (__csqrtf): Likewise.
31218 * math/s_csqrtl.c (__csqrtl): Likewise.
31219 * math/libm-test.inc (csqrt_test): Add more tests. Do not allow
31220 spurious underflow.
31221 * sysdeps/i386/fpu/libm-test-ulps: Update.
31222 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31224 2012-07-04 Andreas Schwab <schwab@linux-m68k.org>
31226 * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
31228 * catgets/xopen-msg.awk: New file.
31229 * catgets/xopen-msg.sed: Removed.
31231 * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
31233 * intl/po2test.awk: New file.
31234 * intl/po2test.sed: Removed.
31236 2012-07-04 Joseph Myers <joseph@codesourcery.com>
31239 * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
31240 or multiply small sinh result by itself.
31241 * math/s_ctanf.c (__ctanf): Likewise.
31242 * math/s_ctanh.c (__ctanh): Likewise.
31243 * math/s_ctanhf.c (__ctanhf): Likewise.
31244 * math/s_ctanhl.c (__ctanhl): Likewise.
31245 * math/s_ctanl.c (__ctanl): Likewise.
31246 * math/libm-test.inc (ctan_test_tonearest): New function.
31247 (ctan_test_towardzero): Likewise.
31248 (ctan_test_downward): Likewise.
31249 (ctan_test_upward): Likewise.
31250 (ctanh_test_tonearest): Likewise.
31251 (ctanh_test_towardzero): Likewise.
31252 (ctanh_test_downward): Likewise.
31253 (ctanh_test_upward): Likewise.
31254 (main): Call these new functions.
31255 * sysdeps/i386/fpu/libm-test-ulps: Update.
31256 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31258 2012-07-03 Mike Frysinger <vapier@gentoo.org>
31260 * .gitignore: Delete /ports entry.
31262 2012-07-03 Andreas Jaeger <aj@suse.de>
31264 * po/bg.po: Update from translation team.
31265 * po/cs.po: Likewise.
31266 * po/de.po: Likewise.
31267 * po/hr.po: Likewise.
31268 * po/nl.pl: Likewise.
31269 * po/pl.po: Likewise.
31270 * po/vi.po: Likewise.
31272 2012-07-03 Joseph Myers <joseph@codesourcery.com>
31274 * Makeconfig [!+link] (+link-before-libc): New variable.
31275 [!+link] (+link-after-libc): Likewise.
31276 [!+link] (+link-tests): Likewise.
31277 [!+link] (+link): Define in terms of $(+link-before-libc) and
31278 $(+link-after-libc).
31279 [!+link-static] (+link-static-before-libc): New variable.
31280 [!+link-static] (+link-static-after-libc): Likewise.
31281 [!+link-static] (+link-static-tests): Likewise.
31282 [!+link-static] (+link-static): Define in terms of
31283 $(+link-static-before-libc) and $(+link-static-after-libc).
31284 [build-shared] (link-libc-before-gnulib): New variable.
31285 [build-shared] (link-libc-tests): Likewise.
31286 [build-shared] (link-libc): Define in terms of
31287 $(link-libc-before-gnulib).
31288 [!build-shared] (link-libc-tests): New variable.
31289 (link-libc-static-tests): New variable.
31290 [!gnulib] (gnulib-arch): New variable.
31291 [!gnulib] (gnulib-tests): Likewise.
31292 [!gnulib] (static-gnulib-arch): Likewise.
31293 [!gnulib] (static-gnulib-tests): Likewise.
31294 [!gnulib] (gnulib): Use $(gnulib-arch). Do not use $(libgcc_eh).
31295 Define with "=" instead of ":=".
31296 [!gnulib] (static-gnulib): Use $(static-gnulib-arch). Do not use
31297 -lgcc_eh $(libunwind). Define with "=" instead of ":=".
31298 * Rules (binaries-all-notests): New variable.
31299 (binaries-all-tests): Likewise.
31300 (binaries-static-notests): Likewise.
31301 (binaries-static-tests): Likewise.
31302 (binaries-all): Define using $(binaries-all-notests) and
31303 $(binaries-all-tests).
31304 (binaries-static): Define using $(binaries-static-notests) and
31305 $(binaries-static-tests).
31306 (binaries-shared-tests): New variable.
31307 (binaries-shared-notests): Likewise.
31308 (binaries-shared): Remove variable.
31309 ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
31310 ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
31311 ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
31312 ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
31313 ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
31314 ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
31315 * elf/Makefile (sln-modules): New variable.
31316 (extra-objs): Add $(sln-modules:=.o).
31317 (ldconfig-modules): Add static-stubs.
31318 ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
31319 * elf/static-stubs.c: New file.
31322 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
31323 by 7 not 8 to examine high bit of fractional part. Use volatile
31324 variables when splitting into final array of floats if
31325 __FLT_EVAL_METHOD__ != 0.
31326 * math/libm-test.inc (cos_test): Add another test.
31327 (sin_test): Likewise.
31328 * sysdeps/i386/fpu/libm-test-ulps: Update.
31331 * math/libm-test.inc (cosh_test): Add more tests.
31333 * version.h (RELEASE): Set to "development".
31334 (VERSION): Set to "2.16.90".
31336 2012-06-30 Carlos O'Donell <carlos_odonell@mentor.com>
31338 * NEWS: Update copyright. Remove last-updated date.
31339 Mention math library bug fixes and timezone data changes.
31340 * README: Mention GNU/Hurd, x32, and HPPA support status.
31342 2012-06-28 Thomas Schwinge <thomas@codesourcery.com>
31344 * manual/contrib.texi (Contributors): Sort alphabetically by last name.
31346 2012-06-27 Andreas Jaeger <aj@suse.de>
31348 * manual/contrib.texi (Contributors): Add Samuel Thibault.
31350 2012-06-25 Andreas Jaeger <aj@suse.de>
31352 * sysdeps/s390/fpu/libm-test-ulps: Update.
31354 2012-06-23 Andreas Schwab <schwab@linux-m68k.org>
31355 Thomas Schwinge <thomas@codesourcery.com>
31357 * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
31358 * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
31359 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
31362 2012-06-23 Thomas Schwinge <thomas@codesourcery.com>
31364 * sysdeps/mach/start.c: Remove file.
31365 * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
31366 * sysdeps/i386/init-first.c: Fix comment regarding start.S.
31367 * sysdeps/sh/init-first.c: Likewise.
31369 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
31370 registers for frame unwinding purposes, add CFI directives.
31371 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
31372 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
31373 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
31376 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
31377 __fortify_fail returning.
31378 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
31380 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
31381 sysdeps/sh/____longjmp_chk.S.
31382 * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
31383 on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
31384 * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
31385 (gen-as-const-headers): Append sigaltstack-offsets.sym.
31387 * sysdeps/sh/abort-instr.h: New file.
31388 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
31389 process in case exit returns.
31391 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
31392 initialize the GOT register before use.
31394 * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
31395 calculation of ARGC > 4.
31397 * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
31398 meaningful names to some local labels.
31400 2012-06-22 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
31401 Kaz Kojima <kkojima@rr.iij4u.or.jp>
31403 * sysdeps/unix/sysv/linux/sh/bits/atomic.h
31404 (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
31405 (__arch_compare_and_exchange_val_16_acq): Likewise.
31406 (__arch_compare_and_exchange_val_32_acq): Likewise.
31407 (atomic_exchange_and_add): Fix gUSA sequence.
31408 (atomic_add): Likewise.
31409 (atomic_add_negative): Likewise.
31410 (atomic_add_zero): Likewise.
31411 (atomic_bit_test_set): Likewise.
31413 2012-06-22 Andreas Schwab <schwab@redhat.com>
31416 * include/link.h (struct link_map): Add l_free_initfini.
31417 * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
31419 * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
31420 * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
31421 * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
31424 2012-06-22 Carlos O'Donell <carlos_odonell@mentor.com>
31426 * configure.in: Use AC_LANG_SOURCE.
31427 * configure: Regenerate.
31429 2012-06-22 Roland McGrath <roland@hack.frob.com>
31431 * configure.in (libc_cv_localstatedir): New substituted variable.
31432 * configure: Regenerated.
31433 * config.make.in (localstatedir): New variable, substituted from
31434 libc_cv_localstatedir.
31435 * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
31436 * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
31437 ${prefix}/var to /var when we change ${prefix}/etc to /etc.
31438 * sysdeps/gnu/configure: Regenerated.
31440 2012-06-21 Jeff Law <law@redhat.com>
31443 * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
31444 free. Simplify list management for _LIBC case.
31446 2012-06-21 Joseph Myers <joseph@codesourcery.com>
31449 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
31450 Clear sign bit of 64-bit integer value before comparing against
31453 * sysdeps/mach/configure: Regenerated.
31455 2012-06-21 H.J. Lu <hongjiu.lu@intel.com>
31458 * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
31460 2012-06-21 Jeff Law <law@redhat.com>
31463 * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection. Use
31464 uint16_t for elements in the "seen" array to avoid char overflows.
31465 * elf/dl-fini.c (_dl_sort_fini): Likewise.
31466 * elf/dl-open.c (dl_open_worker): Likewise.
31468 2012-06-21 Carlos O'Donell <carlos_odonell@mentor.com>
31470 * scripts/list-sources.sh: Scan PORTS for translations.
31471 * po/libc.pot: Regenerated.
31473 2012-06-21 Andreas Jaeger <aj@suse.de>
31476 * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
31478 * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
31479 * bits/byteswap-16.h (__bswap_16): Likewise.
31480 * bits/byteswap.h (__bswap_constant_16): Likewise.
31482 2012-06-18 H.J. Lu <hongjiu.lu@intel.com>
31485 * sysdeps/i386/fpu_control.h: Removed.
31486 * sysdeps/x86_64/fpu_control.h: Moved to ...
31487 * sysdeps/x86/fpu_control.h: Here.
31489 * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
31490 (_FPU_SETCW): Likewise.
31492 2012-06-15 H.J. Lu <hongjiu.lu@intel.com>
31495 * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
31496 * sysdeps/x86/fpu/bits/mathinline.h: This.
31497 * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
31501 * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
31502 functions if __x86_64__ is defined.
31504 2012-06-15 Chung-Lin Tang <cltang@codesourcery.com>
31506 * string/endian.h: Add !__ASSEMBLER__ condition for including
31507 conversion interfaces.
31509 2012-06-15 Joseph Myers <joseph@codesourcery.com>
31512 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
31513 of ABS(x) in calculating zero to negative powers other than odd
31515 * math/libm-test.inc (pow_test): Add more tests.
31517 2012-06-15 Andreas Jaeger <aj@suse.de>
31519 * manual/contrib.texi (Contributors): Update entry of Liubov
31520 Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
31523 2012-06-15 Cyril Hrubis <metan@ucw.cz>
31525 * string/string.h: Add __wur to GNU version of strerror_r.
31527 2012-06-14 H.J. Lu <hongjiu.lu@intel.com>
31530 * string/Makefile (tests): Add tst-strtok_r.
31531 * string/tst-strtok_r.c: New file.
31532 * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
31533 RAX_LP/RDX_LP on SAVE_PTR.
31535 2012-06-14 Roland McGrath <roland@hack.frob.com>
31537 * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
31539 2012-06-14 Joseph Myers <joseph@codesourcery.com>
31541 * libm_test.inc (csqrt_test): Allow more spurious underflow
31543 (j0_test): Likewise.
31544 (j1_test): Likewise.
31545 (y0_test): Likewise.
31546 (y1_test): Likewise.
31548 2012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
31550 * po/Makefile (libc.pot): Use UTF-8 charset.
31552 2012-06-13 Paul Pluzhnikov <ppluzhnikov@google.com>
31555 Suppress sign-conversion warning from FD_SET.
31556 See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
31557 * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
31558 not unsigned long int.
31559 * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
31561 2012-06-12 H.J. Lu <hongjiu.lu@intel.com>
31565 * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
31566 __extern_always_inline instead of __extern_inline.
31567 (__signbitf): Support __SSE2_MATH__ and C++ namespace.
31568 (__signbit): Likewise.
31569 (__signbitl): Support C++ namespace.
31570 (lrintf): New inline function.
31572 (llrintf): Likewise.
31573 (llrint): Likewise.
31583 (floorf): Likewise.
31584 (nearbyint): Likewise.
31585 (nearbyintf): Likewise.
31587 2012-06-12 Thomas Schwinge <thomas@codesourcery.com>
31589 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
31590 non-default versions.
31592 2012-06-11 Roland McGrath <roland@hack.frob.com>
31595 * manual/argp.texi (Argp): Reword argp_parse description slightly.
31597 2012-06-09 Thomas Schwinge <thomas@codesourcery.com>
31599 * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
31600 (FE_UPWARD, FE_DOWNWARD): Don't define.
31601 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
31602 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
31604 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
31606 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
31607 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
31609 2012-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
31611 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
31612 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
31613 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
31614 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
31616 2012-06-06 H.J. Lu <hongjiu.lu@intel.com>
31619 * sysdeps/i386/fpu/bits/fenv.h: Removed.
31620 * sysdeps/i386/fpu/Implies: New file.
31621 * sysdeps/x86_64/fpu/Implies: Likewise.
31622 * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
31623 * sysdeps/x86/fpu/bits/fenv.h: This.
31625 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
31628 2012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
31631 * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
31632 character 0xffff that matches the last element of the
31635 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31637 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
31640 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31642 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
31643 values higher than 25.6283.
31645 2012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31647 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
31648 subnormal exponent extraction and add some __builtin_expect.
31649 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
31650 Fix for subnormal mantissa calculation.
31652 2012-06-04 Mike Frysinger <vapier@gentoo.org>
31654 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
31655 cpu2 is -1 and errno is not ENOSYS.
31657 2012-06-04 H.J. Lu <hongjiu.lu@intel.com>
31660 * sysdeps/i386/i486/bits/string.h: Renamed to ...
31661 * sysdeps/x86/bits/string.h: This.
31662 * sysdeps/x86_64/bits/string.h: Removed.
31664 * sysdeps/i386/i486/bits/string.h: Define inline functions only
31665 if not compiling for x86-64, but compiling for >= i486.
31667 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
31668 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
31670 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
31671 New macro from Linux kernel 3.4.0.
31672 (FP_XSTATE_MAGIC2): Likewise.
31673 (FP_XSTATE_MAGIC2_SIZE): Likewise.
31674 (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
31675 (struct _fpx_sw_bytes): New struct.
31676 (struct _xsave_hdr): Likewise.
31677 (struct _ymmh_state): Likewise.
31678 (struct _xstate): Likewise.
31680 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
31681 * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
31682 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
31683 * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
31684 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
31685 * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
31687 * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
31688 * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
31689 * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
31690 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
31691 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
31692 * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
31694 2012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
31697 * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
31698 * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
31699 (sysdep_headers): Include sys/platform/ppc.h.
31700 * sysdeps/powerpc/test-gettimebase.c: Test for
31701 __ppc_get_timebase() to catch future ISA opcode/insn changes.
31702 * manual/Makefile (appendices): Include platform.texi.
31703 * manual/contrib.texi (Contributors): Update @node pointers.
31704 * manual/maint.texi (Maintenance): Likewise.
31705 (Platform): New node.
31706 * manual/platform.texi: New file. Document the new features.
31708 2012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
31709 Jakub Jelinek <jakub@redhat.com>
31712 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
31713 where __builtin_expect is unavailable.
31715 2012-06-03 David S. Miller <davem@davemloft.net>
31717 * stdlib/longlong.h: Updated from GCC.
31719 2012-06-02 Andreas Schwab <schwab@linux-m68k.org>
31722 * sysdeps/powerpc/powerpc32/mcount.c: New file.
31723 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
31725 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
31726 (GLIBC_2.16): Likewise.
31728 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
31730 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
31732 2012-06-01 Joseph Myers <joseph@codesourcery.com>
31734 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
31735 (default-abi): New variable.
31736 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
31737 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
31739 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
31741 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
31743 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
31746 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
31747 definition. Document in comment.
31749 2012-06-01 David S. Miller <davem@davemloft.net>
31751 * stdlib/longlong.h: Updated from GCC.
31753 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
31756 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
31757 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
31758 sys/debugreg.h sys/io.h here.
31759 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
31760 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
31762 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
31763 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
31764 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
31765 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
31766 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
31767 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
31769 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
31770 Define only if __x86_64__ is defined.
31772 2012-06-01 Joseph Myers <joseph@codesourcery.com>
31775 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
31776 Use int64_t for variable i.
31777 * math/libm-test.inc (fmod_test): Add more tests.
31779 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
31780 z computation is not scheduled after fetestexcept.
31781 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
31782 Use math_force_eval instead of asm to ensure calculation scheduled
31783 before exception test.
31784 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
31785 Ensure a1 + u.d computation is not scheduled after fetestexcept.
31787 2012-06-01 Aurelien Jarno <aurelien@aurel32.net>
31789 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
31790 computation is not scheduled after fetestexcept.
31792 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
31795 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
31796 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
31798 2012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31800 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
31801 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
31803 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
31806 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
31808 (__WCHAR_MIN): Support __WORDSIZE == 64.
31809 (__WCHAR_MAX): Likewise.
31811 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
31812 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
31815 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
31816 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
31819 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
31820 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
31822 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
31823 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
31825 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
31826 Defined to 1 if __x86_64__ isn't defined.
31827 (_STAT_VER_LINUX_OLD): New.
31828 (st_atime): Remove duplicate.
31829 (st_mtime): Likewise.
31830 (st_ctime): Likewise.
31832 2012-05-31 David S. Miller <davem@davemloft.net>
31834 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
31837 2012-06-01 Andreas Schwab <schwab@linux-m68k.org>
31839 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
31843 * elf/dl-reloc.c: Include <_itoa.h>.
31844 (_dl_reloc_bad_type): Remove use of INTUSE.
31845 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
31846 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
31847 * stdio-common/psiginfo.c (psiginfo): Likewise.
31848 * stdio-common/psignal.c (psignal): Likewise.
31849 * string/strsignal.c (strsignal): Likewise.
31850 * include/signal.h (_sys_siglist): Declare hidden proto.
31851 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
31852 INTVARDEF with libc_hidden_data_def.
31853 * stdio-common/itoa-udigits.c: Likewise.
31854 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
31855 (_itoa_lower_digits_internal): Remove declaration.
31856 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
31857 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
31858 (_sys_sigabbrev_internal): Remove aliases.
31859 (_sys_siglist): Define hidden alias.
31861 2012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
31863 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
31866 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
31869 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
31870 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
31872 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
31873 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
31874 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
31875 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
31876 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
31877 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
31879 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
31880 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
31881 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
31883 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
31891 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
31892 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
31893 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
31895 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
31896 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
31897 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
31898 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
31899 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
31900 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
31902 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
31903 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
31905 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
31906 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
31908 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
31909 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
31910 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
31912 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
31913 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
31915 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
31917 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
31918 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
31919 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
31921 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
31923 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
31925 2012-05-31 Joseph Myers <joseph@codesourcery.com>
31927 * math/math.h (M_El): Use two more decimal places.
31928 (M_LOG2El): Likewise.
31929 (M_LOG10El): Likewise.
31930 (M_LN2l): Likewise.
31931 (M_LN10l): Likewise.
31933 (M_PI_2l): Likewise.
31934 (M_PI_4l): Likewise.
31935 (M_1_PIl): Likewise.
31936 (M_2_PIl): Likewise.
31937 (M_2_SQRTPIl): Likewise.
31938 (M_SQRT2l): Likewise.
31939 (M_SQRT1_2l): Likewise.
31941 2012-05-31 David S. Miller <davem@davemloft.net>
31943 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
31944 values between float registers.
31945 * sysdeps/sparc/sparc64/memset.S: Likewise.
31946 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
31948 2012-05-31 Mike Frysinger <vapier@gentoo.org>
31950 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
31951 -D_FORTIFY_SOURCE=1.
31952 (CPPFLAGS-tst-longjmp_chk.c): Define.
31953 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
31954 (CPPFLAGS-tst-longjmp_chk2.c): Define.
31955 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
31956 CFLAGS-tst-wchar-h.c.
31958 2012-05-31 Marek Polacek <polacek@redhat.com>
31961 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
31962 __endmntent_internal): Remove declaration.
31963 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
31964 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
31965 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
31967 2012-05-30 David S. Miller <davem@davemloft.net>
31969 * sysdeps/sparc/sparc32/soft-fp/q_util.c
31970 (___Q_simulate_exceptions): Use real FP ops rather than writing
31972 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
31975 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
31978 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
31979 * sysdeps/x86/bits/xtitypes.h: This.
31981 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
31982 * sysdeps/x86/bits/wordsize.h: This.
31984 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
31985 * sysdeps/x86/bits/huge_vall.h: This.
31987 * sysdeps/i386/bits/select.h: Removed.
31988 * sysdeps/x86_64/bits/select.h: Renamed to ...
31989 * sysdeps/x86/bits/select.h: This.
31991 * sysdeps/i386/bits/setjmp.h: Removed.
31992 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
31993 * sysdeps/x86/bits/setjmp.h: This.
31995 * sysdeps/i386/bits/mathdef.h: Removed.
31996 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
31997 * sysdeps/x86/bits/mathdef.h: This.
31999 2012-05-30 Andreas Schwab <schwab@linux-m68k.org>
32002 * include/sys/socket.h (__connect_internal)
32003 (__libc_sa_len_internal): Remove declaration.
32004 (__connect, __libc_sa_len): Declare hidden_proto.
32005 (SA_LEN): Remove use of INTUSE.
32006 * socket/connect.c: Add libc_hidden_def.
32007 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
32008 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
32009 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
32011 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
32012 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
32013 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
32014 of adding _internal alias.
32016 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
32019 * sysdeps/i386/bits/link.h: Removed.
32020 * sysdeps/i386/bits/linkmap.h: Likewise.
32021 * sysdeps/x86_64/bits/link.h: Renamed to ...
32022 * sysdeps/x86/bits/link.h: This.
32023 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
32024 * sysdeps/x86/bits/linkmap.h: This.
32026 * sysdeps/i386/bits/endian.h: Removed.
32027 * sysdeps/x86_64/bits/endian.h: Renamed to ...
32028 * sysdeps/x86/bits/endian.h: This.
32030 * sysdeps/i386/bits/byteswap.h: Removed.
32031 * sysdeps/i386/bits/byteswap-16.h: Likewise.
32032 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
32033 * sysdeps/x86/bits/byteswap.h: This.
32034 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
32035 * sysdeps/x86/bits/byteswap-16.h: This.
32036 * sysdeps/i386/Implies: Add x86.
32037 * sysdeps/x86_64/Implies: Likewise.
32039 2012-05-30 David S. Miller <davem@davemloft.net>
32041 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
32042 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
32043 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
32044 (FP_TRAPPING_EXCEPTIONS): Define.
32045 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
32046 (FP_TRAPPING_EXCEPTIONS): Define.
32047 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
32048 subnormals only when inexact has been signalled or underflow
32049 exceptions are enabled.
32050 (_FP_PACK_CANONICAL): Likewise.
32052 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
32055 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
32056 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
32058 2012-05-30 Richard Henderson <rth@twiddle.net>
32060 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
32061 with #ifndef NOT_IN_libc.
32063 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
32064 marked to avoid plt entry.
32066 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
32069 * Makeconfig (default-abi): New macro.
32070 (abi-includes): Likewise.
32071 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
32072 $(abi-$(default-abi)-lib-soname) for soname if defined.
32073 ($(common-objpfx)gnu/lib-names.stmp): Generate from
32075 * Makefile (installed-stubs): Likewise.
32076 * include/stubs-biarch.h: Removed.
32077 * scripts/lib-names.awk: Only handle one library at a time.
32078 * scripts/soversions.awk: Remove WORDSIZE support.
32079 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
32081 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
32083 (syscall-list-default-condition): Likewise.
32084 (syscall-list-default-condition): Likewise.
32085 (syscall-list-includes): Likewise.
32086 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
32087 syscall-list-* with abi-*. Handle undefined abi-variants.
32088 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
32089 * sysdeps/unix/sysv/linux/i386/Implies: New file.
32090 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
32091 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
32092 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
32093 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
32095 (syscall-list-32-options): Likewise.
32096 (syscall-list-32-condition): Likewise.
32097 (syscall-list-64-options): Likewise.
32098 (syscall-list-64-condition): Likewise.
32099 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
32101 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
32104 (abi-64-ld-soname): New macro.
32105 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
32106 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
32109 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
32110 * sysdeps/x86_64/x32/shlib-versions: Likewise.
32112 2012-05-30 Joseph Myers <joseph@codesourcery.com>
32114 * sysdeps/unix/sysv/linux/kernel-features.h
32115 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
32116 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
32117 include <kernel-features.h>.
32118 [!__NR_ftruncate64]: Remove conditional code.
32119 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
32120 [__NR_ftruncate64]: Make code unconditional.
32121 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
32122 * sysdeps/unix/sysv/linux/truncate64.c: Do not
32123 include <kernel-features.h>.
32124 [!__NR_ftruncate64]: Remove conditional code.
32125 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
32126 [__NR_ftruncate64]: Make code unconditional.
32127 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
32128 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
32129 include <kernel-features.h>.
32130 [!__NR_ftruncate64]: Remove conditional code.
32131 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
32132 [__NR_ftruncate64]: Make code unconditional.
32133 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
32134 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
32135 include <kernel-features.h>.
32136 [!__NR_ftruncate64]: Remove conditional code.
32137 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
32138 [__NR_ftruncate64]: Make code unconditional.
32139 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
32141 * configure.in (libc_cv_fpie): Weaken to a compile test using
32142 LIBC_TRY_CC_OPTION.
32143 * configure: Regenerated.
32145 2012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
32147 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
32148 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
32149 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
32150 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
32152 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
32153 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
32154 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
32155 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
32156 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
32157 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
32160 2012-05-27 David S. Miller <davem@davemloft.net>
32162 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
32164 (__Q_simulate_exceptions): Return void. Change to simulate
32165 exceptions by writing into the %fsr.
32166 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
32167 (__Qp_handle_exceptions): Likewise.
32169 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
32170 __Qp_handle_exceptions.
32171 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
32172 __Qp_handle_exceptions.
32173 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
32174 as unused and give dummy FP_RND_NEAREST initializer.
32175 (FP_INHIBIT_RESULTS): Define.
32176 (___Q_simulate_exceptions): Update declaration.
32177 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
32179 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
32180 as unused and give dummy FP_RND_NEAREST initializer.
32181 (__Qp_handle_exceptions): Update declaration.
32182 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
32185 2012-05-27 Thomas Schwinge <thomas@codesourcery.com>
32187 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
32188 the temporary FPU control word.
32189 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
32190 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
32191 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
32192 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
32193 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
32194 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
32195 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
32196 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
32197 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
32198 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
32199 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
32201 2012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
32203 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
32206 2012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
32208 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
32209 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
32210 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
32211 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
32213 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
32214 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
32217 2012-05-27 Ulrich Drepper <drepper@gmail.com>
32219 * po/h.po: Update from translation team.
32221 2012-05-26 Andreas Schwab <schwab@linux-m68k.org>
32223 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
32225 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
32226 handling of denormals.
32227 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
32228 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
32229 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
32230 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
32231 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
32232 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
32233 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
32236 2012-05-26 Marek Polacek <polacek@redhat.com>
32239 * math/libm-test.inc (fma_test): Don't always expect underflow
32242 2012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
32245 * elf/tst-execstack.c: Include stackinfo.h.
32246 (do_test): Adjust test case to ensure that pthread_getattr_np
32247 behaviour remains the same after marking stack executable.
32249 2012-05-25 Joseph Myers <joseph@codesourcery.com>
32251 * sysdeps/unix/sysv/linux/kernel-features.h
32252 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
32253 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
32255 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
32256 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
32257 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
32259 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
32260 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
32262 2012-05-25 H.J. Lu <hongjiu.lu@intel.com>
32264 * configure.in: Define the default includes to being none.
32265 * configure: Regenerated.
32267 2012-05-25 Roland McGrath <roland@hack.frob.com>
32269 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
32270 * sysdeps/x86_64/setjmp.S: Likewise.
32271 * sysdeps/i386/bsd-setjmp.S: Likewise.
32272 * sysdeps/i386/bsd-_setjmp.S: Likewise.
32273 * sysdeps/i386/setjmp.S: Likewise.
32274 * sysdeps/i386/__longjmp.S: Likewise.
32275 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
32276 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
32278 * include/stap-probe.h: New file.
32279 * configure.in: Handle --enable-systemtap.
32280 * configure: Regenerated.
32281 * config.h.in (USE_STAP_PROBE): New #undef.
32282 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
32283 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
32284 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
32286 2012-05-25 Joseph Myers <joseph@codesourcery.com>
32289 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
32290 to 2.4.0 where earlier.
32291 * sysdeps/unix/sysv/linux/configure: Regenerated.
32292 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
32293 <kernel-features.h>.
32294 [__ASSUME_32BITUIDS]: Make code unconditional.
32295 [!__ASSUME_32BITUIDS]: Remove conditional code.
32296 * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
32297 <kernel-features.h>.
32298 [__ASSUME_32BITUIDS]: Make code unconditional.
32299 [!__ASSUME_32BITUIDS]: Remove conditional code.
32300 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
32301 [__ASSUME_32BITUIDS]: Make code unconditional.
32302 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
32303 * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
32304 <kernel-features.h>.
32305 [__ASSUME_32BITUIDS]: Make code unconditional.
32306 [!__ASSUME_32BITUIDS]: Remove conditional code.
32307 * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
32308 <kernel-features.h>.
32309 [__ASSUME_32BITUIDS]: Make code unconditional.
32310 [!__ASSUME_32BITUIDS]: Remove conditional code.
32311 * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
32312 <kernel-features.h>.
32313 [__ASSUME_32BITUIDS]: Make code unconditional.
32314 [!__ASSUME_32BITUIDS]: Remove conditional code.
32315 * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
32316 <kernel-features.h>.
32317 [__ASSUME_32BITUIDS]: Make code unconditional.
32318 [!__ASSUME_32BITUIDS]: Remove conditional code.
32319 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
32320 <kernel-features.h>.
32321 [__ASSUME_32BITUIDS]: Make code unconditional.
32322 [!__ASSUME_32BITUIDS]: Remove conditional code.
32323 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
32324 <kernel-features.h>.
32325 [__ASSUME_32BITUIDS]: Make code unconditional.
32326 [!__ASSUME_32BITUIDS]: Remove conditional code.
32327 * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
32328 <kernel-features.h>.
32329 [__ASSUME_32BITUIDS]: Make code unconditional.
32330 [!__ASSUME_32BITUIDS]: Remove conditional code.
32331 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
32332 <kernel-features.h>.
32333 [__ASSUME_32BITUIDS]: Make code unconditional.
32334 [!__ASSUME_32BITUIDS]: Remove conditional code.
32335 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
32336 <kernel-features.h>.
32337 [__ASSUME_32BITUIDS]: Make code unconditional.
32338 [!__ASSUME_32BITUIDS]: Remove conditional code.
32339 * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
32340 <kernel-features.h>.
32341 [__ASSUME_32BITUIDS]: Make code unconditional.
32342 [!__ASSUME_32BITUIDS]: Remove conditional code.
32343 * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
32344 <kernel-features.h>.
32345 [__NR_setresgid] (__setresgid): Do not declare.
32346 [__ASSUME_32BITUIDS]: Make code unconditional.
32347 [!__ASSUME_32BITUIDS]: Remove conditional code.
32348 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
32349 <kernel-features.h>.
32350 [__NR_setresuid] (__setresuid): Do not declare.
32351 [__ASSUME_32BITUIDS]: Make code unconditional.
32352 [!__ASSUME_32BITUIDS]: Remove conditional code.
32353 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
32354 <kernel-features.h>.
32355 [__ASSUME_32BITUIDS]: Make code unconditional.
32356 [!__ASSUME_32BITUIDS]: Remove conditional code.
32357 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
32358 <kernel-features.h>.
32359 [__ASSUME_32BITUIDS]: Make code unconditional.
32360 [!__ASSUME_32BITUIDS]: Remove conditional code.
32361 * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
32362 <kernel-features.h>.
32363 [__ASSUME_32BITUIDS]: Make code unconditional.
32364 [!__ASSUME_32BITUIDS]: Remove conditional code.
32365 * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
32366 <kernel-features.h>.
32367 [__ASSUME_32BITUIDS]: Make code unconditional.
32368 [!__ASSUME_32BITUIDS]: Remove conditional code.
32369 * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
32370 <kernel-features.h>.
32371 [__ASSUME_32BITUIDS]: Make code unconditional.
32372 [!__ASSUME_32BITUIDS]: Remove conditional code.
32373 * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
32374 <kernel-features.h>.
32375 [__ASSUME_32BITUIDS]: Make code unconditional.
32376 [!__ASSUME_32BITUIDS]: Remove conditional code.
32377 * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
32378 <kernel-features.h>.
32379 [__ASSUME_32BITUIDS]: Make code unconditional.
32380 [!__ASSUME_32BITUIDS]: Remove conditional code.
32381 * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
32382 <kernel-features.h>.
32383 [__ASSUME_32BITUIDS]: Make code unconditional.
32384 [!__ASSUME_32BITUIDS]: Remove conditional code.
32385 * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
32386 <kernel-features.h>.
32387 [__ASSUME_32BITUIDS]: Make code unconditional.
32388 [!__ASSUME_32BITUIDS]: Remove conditional code.
32389 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
32390 <kernel-features.h>.
32391 [__ASSUME_32BITUIDS]: Make code unconditional.
32392 [!__ASSUME_32BITUIDS]: Remove conditional code.
32393 * sysdeps/unix/sysv/linux/kernel-features.h
32394 (__ASSUME_SETRESUID_SYSCALL): Remove.
32395 (__ASSUME_SETRESGID_SYSCALL): Likewise.
32396 (__ASSUME_32BITUIDS): Likewise.
32397 (__ASSUME_LDT_WORKS): Likewise.
32398 (__ASSUME_O_DIRECTORY): Likewise.
32399 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
32400 architecture but not kernel version.
32401 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
32402 (__ASSUME_MMAP2_SYSCALL): Likewise.
32403 (__ASSUME_STAT64_SYSCALL): Likewise.
32404 (__ASSUME_IPC64): Likewise.
32405 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
32406 <kernel-features.h>.
32407 [__ASSUME_32BITUIDS]: Make code unconditional.
32408 [!__ASSUME_32BITUIDS]: Remove conditional code.
32409 * sysdeps/unix/sysv/linux/opendir.c: Do not include
32410 <kernel-features.h>.
32411 [__ASSUME_O_DIRECTORY]: Make code unconditional.
32412 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
32413 132096]: Remove conditional code.
32414 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
32415 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
32416 <kernel-features.h>.
32417 [__ASSUME_32BITUIDS]: Make code unconditional.
32418 [!__ASSUME_32BITUIDS]: Remove conditional code.
32419 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
32420 <kernel-features.h>.
32421 [__ASSUME_32BITUIDS]: Make code unconditional.
32422 [!__ASSUME_32BITUIDS]: Remove conditional code.
32423 * sysdeps/unix/sysv/linux/setegid.c: Do not include
32424 <kernel-features.h>.
32425 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
32427 (__setresgid): Do not declare.
32428 [__ASSUME_32BITUIDS]: Make code unconditional.
32429 [!__ASSUME_32BITUIDS]: Remove conditional code.
32430 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
32431 <kernel-features.h>.
32432 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
32434 (__setresuid): Do not declare.
32435 [__ASSUME_32BITUIDS]: Make code unconditional.
32436 [!__ASSUME_32BITUIDS]: Remove conditional code.
32437 * sysdeps/unix/sysv/linux/sh/chown.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/sparc/sparc32/semctl.c: Do not include
32442 <kernel-features.h>.
32443 [__ASSUME_32BITUIDS]: Make code unconditional.
32444 [!__ASSUME_32BITUIDS]: Remove conditional code.
32446 2012-05-25 Richard Henderson <rth@twiddle.net>
32448 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
32449 dl_hwcap to ifunc resolver.
32450 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
32452 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
32453 dl_hwcap to ifunc resolver.
32454 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
32456 2012-05-24 Joseph Myers <joseph@codesourcery.com>
32459 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
32460 for |x| <= 2**-26, not 2**-57.
32461 * math/libm-test.inc (acos_test): Do not allow spurious underflow
32464 2012-05-24 Jeff Law <law@redhat.com>
32466 * stdio-common/Makefile (tests): Add bug25.
32467 * stdio-common/bug25.c: New test.
32469 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
32472 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
32473 multiple of MALLOC_ALIGNMENT in size.
32474 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
32476 2012-05-24 Joseph Myers <joseph@codesourcery.com>
32478 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
32480 (FILENAME_MAX): Use macro-int-constant.
32481 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
32482 (_IOFBF): Use macro-int-constant.
32483 (_IOLBF): Likewise.
32484 (_IONBF): Likewise.
32485 (SEEK_CUR): Likewise.
32486 (SEEK_END): Likewise.
32487 (SEEK_SET): Likewise.
32488 (TMP_MAX): Likewise.
32489 (EOF): Use macro-int-constant. Require < 0.
32490 (NULL): Use macro-constant. Require == 0.
32491 (stdin): Require type to be FILE *.
32492 (stdout): Likewise.
32493 (stderr): Likewise.
32494 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
32495 macro-int-constant.
32496 (EXIT_SUCCESS): Likewise.
32497 (NULL): Use macro-constant. Require == 0.
32498 (RAND_MAX): Use macro-int-constant.
32499 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
32500 [C99-based standards] (strtof): Require function.
32501 [C99-based standards] (strtold): Likewise.
32502 [C99-based standards] (strtoll): Likewise.
32503 [C99-based standards] (strtoull): Likewise.
32504 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
32505 [ISO || ISO99 || ISO11] (limits.h): Likewise.
32506 [ISO || ISO99 || ISO11] (math.h): Likewise.
32507 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
32508 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
32509 [ISO || ISO99 || ISO11] (*_t): Do not allow.
32511 2012-05-24 Andreas Schwab <schwab@linux-m68k.org>
32514 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
32515 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
32516 * intl/dgettext.c (DCGETTEXT): Likewise.
32517 * intl/gettext.c (DCGETTEXT): Likewise.
32518 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
32519 * posix/regex_internal.h (gettext): Likewise.
32520 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
32521 Remove declaration.
32522 * include/argz.h (__argz_count_internal)
32523 (__argz_stringify_internal): Remove declaration.
32524 (__argz_count, __argz_stringify): Declare hidden proto.
32525 * intl/dcgettext.c: Remove use of INTDEF.
32526 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
32527 * string/argz-stringify.c: Likewise.
32528 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
32529 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
32530 Declare hidden proto.
32531 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
32532 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
32533 Declare hidden proto.
32534 * include/stdio.h (__asprintf_internal): Don't declare.
32535 (__asprintf): Don't define as macro. Declare hidden proto.
32536 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
32537 (__fsetlocking): Declare hidden proto.
32538 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
32539 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
32541 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
32542 (_IO_setlinebuf): Remove use of INTUSE.
32543 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
32544 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
32545 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
32546 Remove declaration.
32547 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
32548 (_IO_do_flush): Remove use of INTUSE.
32549 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
32550 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
32551 (_IO_adjust_column, _IO_least_wmarker)
32552 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
32553 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
32554 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
32555 (_IO_default_doallocate, _IO_wdefault_doallocate)
32556 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
32557 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
32558 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
32559 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
32560 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
32561 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
32562 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
32563 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
32564 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
32565 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
32566 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
32567 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
32568 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
32570 (_IO_flush_all_internal, _IO_adjust_column_internal)
32571 (_IO_default_uflow_internal, _IO_default_finish_internal)
32572 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
32573 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
32574 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
32575 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
32576 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
32577 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
32578 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
32579 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
32580 (_IO_file_close_internal, _IO_file_close_it_internal)
32581 (_IO_file_underflow_internal, _IO_file_overflow_internal)
32582 (_IO_file_init_internal, _IO_file_attach_internal)
32583 (_IO_file_fopen_internal, _IO_file_read_internal)
32584 (_IO_file_sync_internal, _IO_file_seek_internal)
32585 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
32586 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
32587 (_IO_str_underflow_internal, _IO_str_overflow_internal)
32588 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
32589 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
32590 (_IO_list_all_internal, _IO_link_in_internal)
32591 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
32592 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
32593 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
32594 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
32595 (_IO_do_write_internal, _IO_padn_internal)
32596 (_IO_getline_info_internal, _IO_getline_internal)
32597 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
32598 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
32599 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
32600 (_IO_vfscanf_internal, _IO_vfprintf_internal)
32601 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
32602 (_IO_init_internal, _IO_un_link_internal): Don't declare.
32603 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
32604 with libc_hidden_ver, remove use of INTUSE.
32605 * libio/genops.c: Likewise.
32606 * libio/freopen.c: Likewise.
32607 * libio/freopen64.c: Likewise.
32608 * libio/iofclose.c: Likewise.
32609 * libio/iofdopen.c: Likewise.
32610 * libio/iofflush.c: Likewise.
32611 * libio/iofflush_u.c: Likewise.
32612 * libio/iofgets.c: Likewise.
32613 * libio/iofgets_u.c: Likewise.
32614 * libio/iofopen.c: Likewise.
32615 * libio/iofopncook.c: Likewise.
32616 * libio/iofread.c: Likewise.
32617 * libio/iofread_u.c: Likewise.
32618 * libio/ioftell.c: Likewise.
32619 * libio/iofwrite.c: Likewise.
32620 * libio/iogetline.c: Likewise.
32621 * libio/iogets.c: Likewise.
32622 * libio/iogetwline.c: Likewise.
32623 * libio/iopadn.c: Likewise.
32624 * libio/iopopen.c: Likewise.
32625 * libio/ioseekoff.c: Likewise.
32626 * libio/ioseekpos.c: Likewise.
32627 * libio/iosetbuffer.c: Likewise.
32628 * libio/iosetvbuf.c: Likewise.
32629 * libio/ioungetc.c: Likewise.
32630 * libio/ioungetwc.c: Likewise.
32631 * libio/iovdprintf.c: Likewise.
32632 * libio/iovsprintf.c: Likewise.
32633 * libio/iovsscanf.c: Likewise.
32634 * libio/memstream.c: Likewise.
32635 * libio/obprintf.c: Likewise.
32636 * libio/oldfileops.c: Likewise.
32637 * libio/oldiofclose.c: Likewise.
32638 * libio/oldiofdopen.c: Likewise.
32639 * libio/oldiofopen.c: Likewise.
32640 * libio/oldiopopen.c: Likewise.
32641 * libio/oldstdfiles.c: Likewise.
32642 * libio/putc.c: Likewise.
32643 * libio/setbuf.c: Likewise.
32644 * libio/setlinebuf.c: Likewise.
32645 * libio/stdfiles.c: Likewise.
32646 * libio/strops.c: Likewise.
32647 * libio/vasprintf.c: Likewise.
32648 * libio/vscanf.c: Likewise.
32649 * libio/vsnprintf.c: Likewise.
32650 * libio/vswprintf.c: Likewise.
32651 * libio/wfiledoalloc.c: Likewise.
32652 * libio/wfileops.c: Likewise.
32653 * libio/wgenops.c: Likewise.
32654 * libio/wmemstream.c: Likewise.
32655 * libio/wstrops.c: Likewise.
32656 * libio/__fpurge.c: Likewise.
32657 * libio/__fsetlocking.c: Likewise.
32658 * assert/assert.c: Likewise.
32659 * debug/fgets_chk.c: Likewise.
32660 * debug/fgets_u_chk.c: Likewise.
32661 * debug/fread_chk.c: Likewise.
32662 * debug/fread_u_chk.c: Likewise.
32663 * debug/gets_chk.c: Likewise.
32664 * debug/obprintf_chk.c: Likewise.
32665 * debug/vasprintf_chk.c: Likewise.
32666 * debug/vdprintf_chk.c: Likewise.
32667 * debug/vsnprintf_chk.c: Likewise.
32668 * debug/vsprintf_chk.c: Likewise.
32669 * malloc/mtrace.c: Likewise.
32670 * misc/error.c: Likewise.
32671 * misc/syslog.c: Likewise.
32672 * stdio-common/asprintf.c: Likewise.
32673 * stdio-common/fxprintf.c: Likewise.
32674 * stdio-common/getw.c: Likewise.
32675 * stdio-common/isoc99_fscanf.c: Likewise.
32676 * stdio-common/isoc99_scanf.c: Likewise.
32677 * stdio-common/isoc99_vfscanf.c: Likewise.
32678 * stdio-common/isoc99_vscanf.c: Likewise.
32679 * stdio-common/isoc99_vsscanf.c: Likewise.
32680 * stdio-common/printf-prs.c: Likewise.
32681 * stdio-common/printf_fp.c: Likewise.
32682 * stdio-common/printf_fphex.c: Likewise.
32683 * stdio-common/printf_size.c: Likewise.
32684 * stdio-common/putw.c: Likewise.
32685 * stdio-common/scanf.c: Likewise.
32686 * stdio-common/sprintf.c: Likewise.
32687 * stdio-common/tmpfile.c: Likewise.
32688 * stdio-common/vfprintf.c: Likewise.
32689 * stdio-common/vfscanf.c: Likewise.
32690 * stdlib/strfmon_l.c: Likewise.
32691 * sunrpc/openchild.c: Likewise.
32692 * sunrpc/xdr_stdio.c: Likewise.
32693 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
32694 * sysdeps/mach/hurd/tmpfile.c: Likewise.
32696 2012-05-24 Roland McGrath <roland@hack.frob.com>
32698 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
32700 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
32701 in the third column, to generate for the shared library an IFUNC
32702 that uses _dl_vdso_vsym.
32703 * Makerules (COMPILE.c, compile-stdin.c): New variables.
32704 * Makeconfig (object-suffixes-noshared): New variable.
32706 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
32707 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
32708 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
32709 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
32712 * include/sys/time.h (__gettimeofday): Remove macro.
32713 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
32714 * time/gettimeofday.c (__gettimeofday): Remove #undef.
32716 (__gettimeofday): Add libc_hidden_def.
32717 (gettimeofday): Add libc_hidden_weak.
32718 * sysdeps/mach/gettimeofday.c: Likewise.
32719 * sysdeps/posix/gettimeofday.c: Likewise.
32720 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
32721 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
32722 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
32723 (__gettimeofday_internal): Remove strong_alias.
32724 (__gettimeofday): Add libc_hidden_def.
32725 (gettimeofday): Add libc_hidden_weak.
32726 * sysdeps/unix/syscalls.list (gettimeofday):
32727 Remove __gettimeofday_internal alias.
32729 2012-05-24 Daniel Jacobowitz <drow@false.org>
32730 H.J. Lu <hongjiu.lu@intel.com>
32733 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
32734 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
32735 (largebin_index_32_big): New.
32736 (largebin_index): Use it for 16-byte alignment.
32737 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
32738 correction with front_misalign.
32740 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
32742 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
32743 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
32745 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
32747 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
32749 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
32751 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
32753 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
32755 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
32757 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
32759 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
32761 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
32763 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
32765 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
32768 * scripts/data/c++-types-x32-linux-gnu.data: New file.
32769 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
32771 2012-05-24 Joseph Myers <joseph@codesourcery.com>
32775 * math/libm-test.inc (exp_test): Add test from bug 14036.
32776 (pow_test): Add test from bug 10846.
32778 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
32780 (special_function): Do not include flags in test name.
32781 (parse_args): Likewise.
32782 * sysdeps/i386/fpu/libm-test-ulps: Update.
32783 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
32784 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
32785 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
32786 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32788 * math/gen-libm-test.pl (%beautify): Add entries for underflow
32790 * math/libm-test.inc ("Philosophy"): Update comment about
32792 (UNDERFLOW_EXCEPTION): New macro.
32793 (UNDERFLOW_EXCEPTION_OK): Likewise.
32794 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
32795 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
32796 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
32797 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
32798 (INVALID_EXCEPTION_OK): Update value.
32799 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
32800 (OVERFLOW_EXCEPTION_OK): Likewise.
32801 (IGNORE_ZERO_INF_SIGN): Likewise.
32802 (test_exceptions): Handle underflow exceptions.
32803 (acos_test): Update for underflow exception expectations.
32804 (cexp_test): Likewise.
32805 (clog_test): Likewise.
32806 (clog10_test): Likewise.
32807 (csqrt_test): Likewise.
32808 (ctan_test): Likewise.
32809 (ctanh_test): Likewise.
32810 (exp_test): Likewise.
32811 (exp10_test): Likewise.
32812 (exp2_test): Likewise.
32813 (expm1_test): Likewise.
32814 (fma_test): Likewise.
32815 (j0_test): Likewise.
32816 (jn_test): Likewise.
32817 (nexttoward_test): Likewise.
32818 (pow_test): Likewise.
32819 (scalbn_test): Likewise.
32820 (scalbln_test): Likewise.
32821 (tan_test): Likewise.
32822 (y1_test): Likewise.
32823 * sysdeps/i386/fpu/libm-test-ulps: Update.
32824 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32826 2012-05-23 David S. Miller <davem@davemloft.net>
32828 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
32829 (__libc_sigaction): Remove unused local variables.
32831 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
32833 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
32835 2012-05-23 Paul Eggert <eggert@cs.ucla.edu>
32837 mktime: avoid signed integer overflow
32838 * time/mktime.c (__mktime_internal): Do not mishandle the case
32839 where diff == INT_MIN.
32841 mktime: simplify computation of average
32842 * time/mktime.c (ranged_convert): Use new time_t_avg function
32843 instead of rolling our own (probably-slower) code.
32845 mktime: do not assume signed right shift propagates sign bit
32846 * time/mktime.c (isdst_differ): New static function.
32847 (__mktime_internal): No need to normalize tm_isdst now.
32848 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
32851 mktime: merge another wrapv change from gnulib
32852 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
32853 from some compilers.
32855 mktime: remove incorrect attempt at unusual arithmetics
32856 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
32857 The code didn't really work on such machines anyway.
32858 (TYPE_MINIMUM): Assume two's complement.
32859 (twos_complement_arithmetic): Verify that long_int and time_t
32860 are two's complement (or unsigned, in the latter case).
32862 mktime: check signed shifts on long_int and time_t, too
32863 * time/mktime.c (SHR): Check that shifts work as desired
32864 on the types long_int and time_t too, as SHR is used on
32867 mktime: do not assume 'long' is wide enough
32868 * time/mktime.c (verify): Move decl up.
32869 (long_int): New type.
32870 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
32871 to remove assumption in the code that 'long' is wide enough to
32872 store year values. This assumption is not true on x32 and on
32873 some non-glibc platforms.
32875 mktime: merge wrapv change from gnulib
32876 * time/mktime.c (WRAPV): New macro.
32877 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
32878 (guess_time_tm, __mktime_internal): Do not assume that signed
32879 integer overflow wraps around; modern compilers generate code
32880 where this assumption is no longer valid.
32882 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
32884 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
32885 Replace "jmp L(pseudo_end)" with "ret".
32886 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
32889 2012-05-23 Andreas Jaeger <aj@suse.de>
32891 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
32892 * sysdeps/unix/sysv/linux/poll.c: Remove file.
32894 2012-05-23 Andreas Jaeger <aj@suse.de>
32895 Maximilian Attems <max@stro.at>
32897 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
32900 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
32902 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
32903 code so that pseudo_end is just ret and the stack pointer is
32904 correct also for static library in error case.
32906 2012-05-23 Joseph Myers <joseph@codesourcery.com>
32908 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
32909 move to syscalls.list.
32910 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
32911 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
32912 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
32913 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
32915 * manual/install.texi (Running make install): Do not mention Linux
32916 kernel version for which pt_chown is not needed.
32917 (Linux): Do not mention problems with nscd with 2.0 kernels.
32918 * INSTALL: Regenerated.
32920 2012-05-23 Andreas Jaeger <aj@suse.de>
32922 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
32923 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
32925 * sysdeps/unix/sysv/linux/s390/bits/mman.h
32926 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
32927 * sysdeps/unix/sysv/linux/sh/bits/mman.h
32928 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
32929 * sysdeps/unix/sysv/linux/i386/bits/mman.h
32930 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
32931 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
32932 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
32933 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
32934 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
32935 * sysdeps/unix/sysv/linux/bits/in.h
32936 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
32938 2012-05-22 Roland McGrath <roland@hack.frob.com>
32940 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
32941 (PREPARE_VERSION): Just use assert instead, it will be elided
32942 under [NDEBUG] anyway.
32944 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
32946 * sysdeps/unix/sysv/linux/Makefile: Include
32947 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
32948 (sysdep_routines): Remove sysctl.
32949 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
32950 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
32951 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
32952 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
32953 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
32955 2012-05-22 Andreas Jaeger <aj@suse.de>
32957 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
32958 that pseudo_end is just ret and the stack pointer is correct also
32959 for static library in error case.
32961 2012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
32964 * nss/nsswitch.c (defconfig_entries): New variable.
32965 (__nss_database_lookup): Don't leak defconfig entries.
32966 (nss_parse_service_list): Don't leak on error paths.
32967 (free_database_entries): New function.
32968 (free_defconfig): New function.
32969 (free_mem): Move common code to free_database_entries.
32971 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
32973 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
32975 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
32977 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
32978 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
32979 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
32981 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
32982 (INTERNAL_SYSCALL_TYPES): Likewise.
32983 (LOAD_ARGS_TYPES_[1-6]): Likewise.
32984 (LOAD_REGS_TYPES_[1-6]): Likewise.
32985 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
32986 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
32988 2012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
32990 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
32991 copysignl for GLIBC_2_0.
32992 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
32993 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
32994 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
32995 logbl for GLIBC_2_0.
32996 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
32997 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
32999 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
33001 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
33002 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
33004 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
33007 * time/mktime.c: Update copyright years.
33009 2012-05-22 Paul Eggert <eggert@cs.ucla.edu>
33011 mktime: merge comment-quoting-style change from gnulib
33012 * time/mktime.c: Quote 'like this' in comments.
33013 The GNU coding standards suggest that we no longer quote `like this',
33014 as "`" and "'" are typically rendered asymmetrically nowadays.
33015 The typical gnulib style is to quote 'like this' when quoting
33016 code, and "like this" when quoting English.
33018 * time/mktime.c (compile-command): Add "-I.".
33020 mktime: merge mktime-internal.h change from gnulib
33021 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
33023 mktime: merge time_r change from gnulib
33024 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
33026 mktime: merge DEBUG change from gnulib
33027 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
33028 case system <time.h> has a #define.
33030 mktime: merge <sys/types.h> change from gnulib
33031 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
33032 since <time.t> is now guaranteed to define time_t.
33034 mktime: merge HAVE_CONFIG_H change from gnulib
33035 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
33037 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
33039 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
33042 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
33044 (struct rusage): Use anonymous union to pad each field to
33047 2012-05-21 David S. Miller <davem@davemloft.net>
33049 * Makefules (o-iterator): Remove .s cases.
33050 (compile-command.s): Delete.
33051 (COMPILE.s): Delete.
33052 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
33054 2012-05-21 Joseph Myers <joseph@codesourcery.com>
33056 * configure.in (libc_cv_predef_stack_protector): Only consider
33057 "foobar" and "__stack_chk_fail" lines in libc_undefs.
33058 * configure: Regenerated.
33060 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
33062 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
33063 New macro. Use R*LP on int and pointer.
33064 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
33065 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
33066 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
33067 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
33069 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
33070 [__WORDSIZE_TIME64_COMPAT32] instead of
33071 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
33072 (struct utmp): Likewise.
33073 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
33074 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
33076 (__WORDSIZE_TIME64_COMPAT32): This.
33077 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
33078 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
33079 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
33080 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
33081 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
33082 (__WORDSIZE_TIME64_COMPAT32): New macro.
33084 2012-05-21 Andreas Jaeger <aj@suse.de>
33086 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
33087 only if [SHARED]. Add prototype for __wcschr_ia32.
33089 2012-05-21 Roland McGrath <roland@hack.frob.com>
33091 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
33092 of %rbp unmolested in the jmp_buf while mangling the low bits.
33093 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
33094 unmolested high bits of %rbp while demangling the low bits.
33095 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
33097 2012-05-21 Andreas Jaeger <aj@suse.de>
33099 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
33100 * sunrpc/svc_simple.c: Use it for registerrpc.
33101 * sunrpc/xcrypt.c: Use it for passwd2des.
33103 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
33105 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
33107 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
33108 Don't define if [__SYSCALL_WORDSIZE != 32].
33109 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
33112 2012-05-21 Bruno Haible <bruno@clisp.org>
33113 Andreas Jaeger <aj@suse.de>
33115 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
33116 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
33117 inptr and inend for must_buffer_ch.
33118 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
33119 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
33120 * stdio-common/Makefile (tests): Remove bug15.
33121 (bug15-ENV): Remove macro.
33122 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
33125 2012-05-19 Andreas Jaeger <aj@suse.de>
33126 Roland McGrath <roland@hack.frob.com>
33128 * manual/contrib.texi: Completely rewritten. It contains now an
33129 alphabetical list of contributors and their contributions.
33131 2012-05-21 Richard Henderson <rth@twiddle.net>
33133 * misc/getauxval.c (__getauxval): Use unsigned long int.
33134 * misc/sys/auxv.h: Include <sys/cdefs.h>.
33135 (getauxval): Use unsigned long int.
33137 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
33139 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
33141 2012-05-21 Roland McGrath <roland@hack.frob.com>
33143 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
33144 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
33145 __alignof__ (long double).
33147 2012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
33149 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
33151 2012-05-20 Richard Henderson <rth@twiddle.net>
33153 * misc/getauxval.c: New file.
33154 * misc/sys/auxv.h: New file.
33155 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
33156 (routines): Add getauxval.
33157 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
33158 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
33159 * elf/dl-sysdep.c (_dl_auxv): Remove.
33160 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
33161 * elf/dl-support.c (_dl_auxv): New variable.
33162 (_dl_aux_init): Initialize it.
33163 * manual/startup.texi (Auxiliary Vector): New node.
33164 * sysdeps/generic/bits/hwcap.h: New file.
33165 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
33166 * sysdeps/powerpc/sysdep.h: ... here. Include it.
33167 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
33168 * sysdeps/sparc/sysdep.h: ... here. Include it.
33169 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
33170 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
33171 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
33173 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
33174 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
33175 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
33176 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
33177 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
33178 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
33179 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
33180 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
33182 2012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
33184 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
33186 2012-05-19 David S. Miller <davem@davemloft.net>
33188 * sysdeps/sparc/fpu/libm-test-ulps: Update.
33190 2012-05-19 Joseph Myers <joseph@codesourcery.com>
33193 * math/s_ccosh.c: Include <float.h>
33194 (__ccosh): Avoid internal overflow calculating sinh and cosh
33195 values before multiplying by sin and cos values.
33196 * math/s_ccoshf.c: Likewise.
33197 * math/s_ccoshl.c: Likewise.
33198 * math/s_csin.c: Likewise.
33199 * math/s_csinf.c: Likewise.
33200 * math/s_csinl.c: Likewise.
33201 * math/s_csinh.c: Likewise.
33202 * math/s_csinhf.c: Likewise.
33203 * math/s_csinhl.c: Likewise.
33204 * math/libm-test.inc (ccos_test): Add more tests.
33205 (ccosh_test): Likewise.
33206 (csin_test): Likewise.
33207 (csinh_test): Likewise.
33208 * sysdeps/i386/fpu/libm-test-ulps: Update.
33209 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33211 2012-05-19 H.J. Lu <hongjiu.lu@intel.com>
33213 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
33214 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
33216 * sysdeps/x86_64/x32/_itoa.h: Add comment.
33218 2012-05-19 Joseph Myers <joseph@codesourcery.com>
33220 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
33221 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
33222 * sysdeps/powerpc/soft-fp/Versions: Likewise.
33223 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
33224 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
33225 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
33226 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
33227 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
33228 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
33229 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
33230 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
33231 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
33232 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
33233 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
33234 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
33235 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
33236 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
33237 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
33238 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
33239 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
33240 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
33241 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
33242 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
33243 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
33244 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
33245 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
33246 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
33247 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
33248 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
33249 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
33250 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
33252 2012-05-18 Andreas Jaeger <aj@suse.de>
33254 * csu/.gitignore: Delete.
33256 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
33258 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
33259 (timex): Use __syscall_slong_t.
33261 2012-05-18 Andreas Jaeger <aj@suse.de>
33262 Carlos O'Donell <carlos_odonell@mentor.com>
33264 * manual/install.texi (Configuring and compiling): Update
33265 description about files modified in the source directory.
33266 * INSTALL: Regenerated.
33268 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
33270 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
33271 value. Use "or" to set return value to -1.
33272 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
33273 negate return value.
33275 2012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
33277 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c)
33278 (CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
33279 failure if the compiler has Graphite support disabled.
33280 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
33282 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c)
33283 (CFLAGS-memmove.c): Likewise.
33284 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
33287 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
33289 * sysdeps/x86_64/x32/_itoa.h: New file.
33291 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
33292 getdents system call only if kernel and user dirents have the
33293 same d_ino and d_off.
33295 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
33296 LLONG_MAX != LONG_MAX.
33297 (_itoa_word): Use _ITOA_WORD_TYPE on value.
33298 (_fitoa_word): Likewise.
33300 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
33302 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
33303 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
33304 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
33306 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
33307 include <bits/wordsize.h>. Check __x86_64__ instead of
33309 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
33310 if __x86_64__ is defined. Use anonymous union on fpstate.
33312 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
33315 2012-05-18 Andreas Schwab <schwab@linux-m68k.org>
33317 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
33318 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
33319 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
33320 Refer to _rtld_local_ro instead of _rtld_global_ro.
33321 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
33323 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
33325 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
33327 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
33328 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
33329 of _rtld_global, and rtld_progname instead of _dl_argv[0].
33331 * sysdeps/powerpc/powerpc32/dl-machine.c
33332 (__elf_machine_runtime_setup) [PROF]: Don't reference
33335 2012-05-18 Andreas Jaeger <aj@suse.de>
33337 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
33338 function only available for GCCs before 3.4 since GCC 3.4
33339 introduced a builtin.
33341 (llrintf): Likewise.
33342 (llrint): Likewise.
33349 (nearbyint): Likewise.
33350 (nearbyintf): Likewise.
33354 (floorf): Likewise.
33356 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
33358 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
33359 on both fields and cast pointer to __syscall_ulong_t.
33361 * bits/types.h (__fsword_t): New type.
33362 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
33363 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
33364 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
33365 (__FSWORD_T_TYPE): Likewise.
33366 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
33367 (__FSWORD_T_TYPE): Likewise.
33368 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
33369 (__FSWORD_T_TYPE): Likewise.
33370 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
33371 (__FSWORD_T_TYPE): Likewise.
33372 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
33373 __SWORD_TYPE with __fsword_t.
33374 (statfs64): Likewise.
33376 2012-05-17 David S. Miller <davem@davemloft.net>
33378 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
33380 2012-05-17 Andreas Jaeger <aj@suse.de>
33382 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
33385 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
33387 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
33389 2012-05-17 Andreas Jaeger <aj@suse.de>
33391 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
33394 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
33396 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
33398 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
33400 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
33401 * sysdeps/x86_64/tst-mallocalign1.c: New file.
33403 2012-05-17 Andreas Jaeger <aj@suse.de>
33404 Carlos O'Donell <carlos_odonell@mentor.com>
33407 * sysdeps/x86_64/multiarch/init-arch.h
33408 (bit_YMM_Usable): Rename to...
33409 (bit_AVX_Usable): ... this.
33410 (bit_FMA4_Usable): New macro.
33411 (bit_XMM_state): New macro.
33412 (bit_YMM_state): New macro.
33413 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
33414 [__ASSEMBLER__] (index_AVX_Usable): ... this.
33415 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
33416 (CPUID_OSXSAVE): New macro.
33417 (CPUID_AVX): New macro.
33418 (CPUID_FMA4): New macro.
33419 (index_YMM_Usable): Rename to...
33420 (index_AVX_Usable): ... this.
33421 (HAS_AVX): Use HAS_ARCH_FEATURE.
33422 (HAS_FMA4): Likewise.
33423 (HAS_YMM_USABLE): Remove.
33424 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
33425 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
33427 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
33428 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
33429 * sysdeps/x86_64/multiarch/Makefile: Likewise.
33430 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
33431 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
33433 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
33435 * math/libm-test.c: Support platforms without multiple rounding modes.
33436 * math/bug-nextafter.c: Support platforms without FP exceptions.
33437 * math/bug-nexttoward.c: Likewise.
33438 * math/test-fenv.c: Likewise.
33439 * math/test-misc.c: Likewise.
33440 * stdlib/bug-getcontext.c: Likewise.
33442 2012-05-17 Andreas Jaeger <aj@suse.de>
33444 * manual/examples/search.c (critter_cmp): Change signature to
33446 * manual/string.texi (Collation Functions): Likewise.
33448 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
33450 * bits/types.h: Fold copyright years.
33451 * bits/typesizes.h: Likewise.
33452 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
33453 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
33454 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
33455 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
33456 * time/time.h: Likewise.
33458 2012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
33461 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
33462 in instead of returning them. Return void.
33463 (__libc_mallinfo): Accumulate over all arenas.
33464 (__malloc_stats): Adjust for change in int_mallinfo interface.
33466 2012-05-16 Roland McGrath <roland@hack.frob.com>
33469 * configure.in (NM): Add AC_CHECK_TOOL for it.
33470 (libc_extra_cflags): New substituted variable.
33471 Check for -fstack-protector being used implicitly.
33472 * configure: Regenerated.
33473 * config.make.in (config-extra-cflags): New variable,
33474 gets @libc_extra_cflags@.
33475 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
33478 * configure.in: Check for _FORTIFY_SOURCE being predefined.
33479 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
33480 * configure: Regenerated.
33481 * config.make.in (CPPUNDEFS): New substituted variable.
33482 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
33483 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
33484 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
33486 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
33488 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
33489 (mq_attr): Use __syscall_slong_t.
33491 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
33493 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
33494 Check __x86_64__ instead of __WORDSIZE.
33495 (_STAT_VER_LINUX): Likewise.
33496 (stat): Check __x86_64__ instead of __WORDSIZE. Use
33497 __syscall_ulong_t and __syscall_slong_t.
33498 (stat64): Likewise.
33500 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
33502 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
33504 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
33506 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
33508 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
33510 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
33513 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
33514 include <bits/wordsize.h>. Check __x86_64__ instead of
33516 (greg_t): Use "__extension__ long long int" if __x86_64__ is
33518 (mcontext_t): Replace "unsigned long" with "unsigned long long".
33520 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
33521 include <bits/wordsize.h>. Check __x86_64__ instead of
33523 (user_regs_struct): Use "__extension__ unsigned long long"
33524 instead of "unsigned long" if __x86_64__ is defined.
33525 (user): Likewise. Pad after pointer field if __ILP32__ is
33528 2012-05-16 Joseph Myers <joseph@codesourcery.com>
33530 * configure.in (makeinfo): Require version 4.5 or later. Allow
33532 * configure: Regenerated.
33533 * manual/install.texi (texinfo): Increase version requirement to
33535 * INSTALL: Regenerated.
33537 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
33539 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
33541 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
33543 * sysdeps/x86_64/x32/ffs.c: New file.
33545 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
33547 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
33548 defined. Use __syscall_ulong_t.
33549 (shminfo): Use __syscall_ulong_t.
33550 (shm_info): Likewise.
33552 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
33555 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
33557 (msgqnum_t): Use __syscall_ulong_t.
33558 (msglen_t): Likewise.
33559 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
33562 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
33563 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
33565 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
33567 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
33568 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
33570 * sysvipc/sys/msg.h (msgbuf): Replace long int with
33573 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
33574 include <bits/wordsize.h>. Check __x86_64__ instead of
33577 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
33578 "unsigned long long int" if __x86_64__ is defined.
33579 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
33581 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
33582 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
33583 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
33585 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
33587 (GET_PC): Cast to uintptr_t first.
33588 (GET_FRAME): Likewise.
33589 (GET_STACK): Likewise.
33591 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
33592 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
33593 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
33594 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
33595 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
33596 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
33597 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
33598 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
33599 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
33600 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
33601 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
33602 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
33603 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
33604 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
33605 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
33606 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
33607 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
33608 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
33609 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
33610 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
33611 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
33612 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
33613 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
33614 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
33615 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
33616 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
33617 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
33618 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
33619 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
33621 2012-05-16 Andreas Schwab <schwab@linux-m68k.org>
33623 * Makerules (+depfiles): Also collect depfiles from .oS in
33625 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
33626 .oS, $(libnldbl-routines)).
33628 * Makerules (native-compile-mkdep-flags): Define.
33629 * sunrpc/Makefile (extra-objs): Add $(addprefix
33630 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
33631 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
33632 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
33633 calling $(make-target-directory).
33635 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
33637 * bits/types.h (__snseconds_t): Removed.
33638 * time/time.h (struct timespec): Replace __snseconds_t with
33640 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
33641 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
33643 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
33644 (__SNSECONDS_T_TYPE): Likewise.
33645 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
33646 (__SNSECONDS_T_TYPE): Likewise.
33647 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
33648 (__SNSECONDS_T_TYPE): Likewise.
33650 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
33652 * sysdeps/mach/hurd/bits/typesizes.h
33653 (__SYSCALL_SLONG_TYPE): New macro.
33654 (__SYSCALL_ULONG_TYPE): Likewise.
33656 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
33658 * bits/types.h (__syscall_slong_t): New type.
33659 (__syscall_ulong_t): Likewise.
33661 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
33662 (__SYSCALL_ULONG_TYPE): Likewise.
33663 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
33664 (__SYSCALL_SLONG_TYPE): Likewise.
33665 (__SYSCALL_ULONG_TYPE): Likewise.
33666 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
33667 (__SYSCALL_SLONG_TYPE): Likewise.
33668 (__SYSCALL_ULONG_TYPE): Likewise.
33669 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
33670 (__SYSCALL_SLONG_TYPE): Likewise.
33671 (__SYSCALL_ULONG_TYPE): Likewise.
33673 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
33675 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
33676 Add sigaltstack-offsets.sym.
33677 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
33678 <sigaltstack-offsets.h>.
33679 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
33680 longjmp_msg pointer.
33681 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
33682 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
33684 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
33686 2012-05-15 Joseph Myers <joseph@codesourcery.com>
33688 * elf/stackguard-macros.h: Remove file.
33689 * sysdeps/generic/stackguard-macros.h: New file.
33690 * sysdeps/i386/stackguard-macros.h: Likewise.
33691 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
33692 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
33693 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
33694 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
33695 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
33696 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
33697 * sysdeps/x86_64/stackguard-macros.h: Likewise.
33698 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
33699 <elf/stackguard-macros.h>.
33702 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
33703 __aligned__ in attribute.
33704 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
33705 (gregset_t): Likewise.
33707 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
33709 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
33710 * sysdeps/x86_64/64/Implies-after: Here. New file.
33711 * sysdeps/x86_64/x32/Implies-after: New file.
33713 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
33715 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
33716 and access return value for _dl_profile_fixup. Use R10_LP to
33719 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
33721 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
33723 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
33725 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
33726 * sysdeps/x86_64/x32/sysdep.h: New file.
33728 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
33730 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
33731 * sysdeps/x86_64/setjmp.S: Likewise.
33733 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
33735 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
33736 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
33737 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
33738 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
33739 remove unused global constant.
33741 2012-05-15 Chris Metcalf <cmetcalf@tilera.com>
33743 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
33744 include of <not-cancel.h>.
33746 2012-05-15 Roland McGrath <roland@hack.frob.com>
33748 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
33750 2012-05-15 Jeff Law <law@redhat.com>
33751 Andreas Jaeger <aj@suse.de>
33754 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
33756 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
33757 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
33758 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
33759 code changing __hst_map_handle.map.
33761 2012-05-15 Roland McGrath <roland@hack.frob.com>
33763 * configure.in (sysnames): Look for Implies-before and Implies-after
33765 * configure: Regenerated.
33767 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
33769 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
33770 8-byte data alignment with LP_SIZE alignment.
33772 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
33774 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
33777 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
33779 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
33781 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
33783 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
33784 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
33785 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
33787 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
33789 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
33791 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
33792 (stackinfo_sub_sp): Likewise.
33794 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
33796 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
33799 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
33801 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
33804 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
33806 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
33809 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
33811 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
33813 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
33815 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
33816 into R11_LP and load __x86_64_shared_cache_size_half into
33819 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
33821 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
33824 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
33826 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
33828 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
33830 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
33832 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
33833 powerpc32/power7/fpu/s_logb.c via #include.
33834 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
33835 powerpc32/power7/fpu/s_logbf.c via #include.
33836 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
33837 powerpc32/power7/fpu/s_logbl.c via #include.
33839 2012-05-15 Joseph Myers <joseph@codesourcery.com>
33841 * README.libm: Remove file.
33843 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
33845 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
33846 count for x32. Use R*_LP and omit operand-size suffix.
33848 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
33850 * shlib-versions: Move x86_64-.*-linux.* entries to ...
33851 * sysdeps/x86_64/64/shlib-versions: Here. New file.
33852 * sysdeps/x86_64/x32/shlib-versions: New file.
33854 2012-05-14 Roland McGrath <roland@hack.frob.com>
33856 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
33857 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
33858 Use _dl_fatal_printf instead.
33860 2012-05-14 Joseph Myers <joseph@codesourcery.com>
33862 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
33863 set if not set by the user. Do not allow for being unset.
33864 * sysdeps/unix/sysv/linux/configure: Regenerated.
33866 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
33868 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
33869 the `q' suffix from lea and replace .quad with ASM_ADDR.
33871 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
33873 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
33874 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
33876 (PTR_DEMANGLE): Likewise.
33878 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
33880 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
33882 (ASM_ADDR): Likewise.
33883 (RAX_LP): Likewise.
33884 (RBP_LP): Likewise.
33885 (RBX_LP): Likewise.
33886 (RCX_LP): Likewise.
33887 (RDI_LP): Likewise.
33888 (RSI_LP): Likewise.
33889 (RSP_LP): Likewise.
33892 (R10_LP): Likewise.
33893 (R10_LP): Likewise.
33894 (R11_LP): Likewise.
33895 (R12_LP): Likewise.
33896 (R13_LP): Likewise.
33897 (R14_LP): Likewise.
33898 (R15_LP): Likewise.
33900 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
33902 * sysdeps/x86_64/x32/dl-machine.h: New file.
33904 2012-05-14 Andreas Jaeger <aj@suse.de>
33906 * manual/Makefile (subdir): Remove export of subdir.
33907 (all): Remove target.
33908 (.PHONY): Remove all from list.
33909 (mkinstalldirs): Remove.
33910 (.PHONY): Remove installdirs from list.
33911 ($(inst_infodir)/libc.info): Use make-target-directory.
33912 (installdirs): Remove.
33913 (subdir_%): Remove.
33914 (glibc-targets): Remove.
33917 ($(objpfx)stubs ../po/manual.pot): Remove.
33918 ($(objpfx)stamp%): Remove.
33919 (make-target-directory): Remove.
33920 (subdir_install): Remove.
33921 (routines): Remove.
33928 * manual/.gitignore: Remove, it's not needed anymore.
33929 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
33931 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
33933 (texis): Renamed to $(objpfx)texis.
33934 (texis-path): New, contains path to generated files.
33935 (chapters.%): Use texis-path for complete path, add extra argument
33937 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
33938 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
33939 (summary,texi, stamp-summary): Use complete path of
33940 files. Generate files in build dir.
33941 (dir-add.texi): Build in build dir.
33942 (libm-err.texi,stamp-libm-err): Likewise.
33943 (version.texi, stamp-version): Likewise.
33944 (.%c.texi): Likewise.
33945 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
33946 (mostlyclean): Remove target.
33947 (realclean): Remove target.
33948 (generated): Add new variable with contents from mostlyclean and
33949 realclean, remove entries duplicated in common-mostlyclean, add
33950 stamp-libm-err and stamp-version.
33951 (generated-dirs): Add libc directory.
33952 ($(inst_infodir)/libc.info): Install files from build dir.
33954 * manual/install.texi (Configuring and compiling): Adjust since
33955 the info files are not part of the tar ball anymore.
33957 2012-05-14 Andreas Jaeger <aj@suse.de>
33959 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
33962 2012-05-14 Joseph Myers <joseph@codesourcery.com>
33965 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
33966 to 2.2.0 where earlier.
33967 * sysdeps/unix/sysv/linux/configure: Regenerated.
33968 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
33969 Remove conditional code.
33970 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
33971 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
33972 Remove conditional code.
33973 [!__NR_lchown]: Likewise.
33974 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
33975 [__NR_lchown]: Likewise.
33976 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
33977 comment referencing __ASSUME_LCHOWN_SYSCALL.
33978 * sysdeps/unix/sysv/linux/i386/sigaction.c
33979 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
33980 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
33981 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
33982 Remove conditional code.
33983 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
33984 (__protocol_available): Remove #if 0 code.
33985 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
33987 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
33988 * sysdeps/unix/sysv/linux/kernel-features.h
33989 (__ASSUME_GETCWD_SYSCALL): Don't define.
33990 (__ASSUME_REALTIME_SIGNALS): Likewise.
33991 (__ASSUME_PREAD_SYSCALL): Likewise.
33992 (__ASSUME_PWRITE_SYSCALL): Likewise.
33993 (__ASSUME_POLL_SYSCALL): Likewise.
33994 (__ASSUME_LCHOWN_SYSCALL): Likewise.
33995 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
33997 (__ASSUME_SIOCGIFNAME): Don't define.
33998 (__ASSUME_MSG_NOSIGNAL): Likewise.
33999 (__ASSUME_SENDFILE): Define unconditionally.
34000 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
34001 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
34003 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
34004 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
34005 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
34006 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
34007 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
34008 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
34009 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
34010 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
34011 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
34012 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
34013 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
34014 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
34015 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
34016 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
34017 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
34018 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
34019 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
34020 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
34021 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
34022 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
34023 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
34024 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
34025 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
34026 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
34027 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
34028 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
34029 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
34030 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
34031 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
34032 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
34033 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
34034 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
34035 Remove conditional code.
34036 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
34037 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
34038 Remove conditional code.
34039 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
34040 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
34041 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
34042 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
34043 Remove conditional code.
34044 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
34045 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
34046 Remove conditional code.
34047 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
34048 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
34049 Remove conditional code.
34050 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
34051 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
34052 Remove conditional code.
34053 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
34054 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
34055 Remove conditional code.
34056 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
34057 * sysdeps/unix/sysv/linux/sh/pwrite64.c
34058 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
34059 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
34060 * sysdeps/unix/sysv/linux/sigaction.c
34061 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
34062 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
34063 * sysdeps/unix/sysv/linux/sigpending.c
34064 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
34065 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
34066 * sysdeps/unix/sysv/linux/sigprocmask.c
34067 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
34068 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
34069 * sysdeps/unix/sysv/linux/sigsuspend.c
34070 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
34071 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
34072 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
34073 (__libc_missing_rt_sigs): Remove.
34074 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
34075 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
34076 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
34077 Remove conditional code.
34078 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
34079 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
34081 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
34082 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
34083 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
34084 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
34086 2012-05-14 Andreas Jaeger <aj@suse.de>
34088 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
34089 it's not used in glibc.
34090 (__coshm1): Likewise.
34091 (__acosh1p): Likewise.
34094 * manual/string.texi (Copying and Concatenation): Add missing
34095 variable in concat example.
34096 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
34098 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
34101 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
34102 __builtin_clzl with __builtin_clzll.
34104 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
34107 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
34110 2012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
34112 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
34113 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
34114 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
34115 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
34117 2012-05-14 Mike Frysinger <vapier@gentoo.org>
34119 * NEWS: Update ia64 info.
34121 2012-05-12 Andreas Schwab <schwab@linux-m68k.org>
34123 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
34126 2012-05-12 Thomas Schwinge <thomas@codesourcery.com>
34128 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
34129 * sysdeps/unix/syscalls.list (dup3): Likewise.
34130 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
34131 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
34133 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
34135 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
34136 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
34138 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
34140 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
34142 (TLS_IE): Use mov/add instead of movq/addq to load thread
34144 (TLS_GD_PREFIX): New.
34147 2012-05-11 David S. Miller <davem@davemloft.net>
34149 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
34150 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
34151 (_FPU_SETCW): Likewise.
34153 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
34155 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
34156 is 32-byte aligned.
34158 2012-05-11 Andreas Schwab <schwab@linux-m68k.org>
34161 * iconvdata/gb18030.c: Update tables.
34162 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
34163 characters specially.
34164 (BODY for TO_LOOP): Add encoding of missing ranges.
34166 2012-05-11 Thomas Schwinge <thomas@codesourcery.com>
34169 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
34170 * sysdeps/mach/hurd/dup3.c: Likewise.
34171 * sysdeps/mach/hurd/readlinkat.c: Likewise.
34172 * sysdeps/powerpc/memmove.c:: Likewise.
34174 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
34176 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
34177 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
34179 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
34181 * elf/elf.h (R_X86_64_RELATIVE64): New.
34182 (R_X86_64_NUM): Updated.
34183 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
34184 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
34185 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
34186 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
34187 tst-quad1pie tst-quad2pie
34188 (modules-names): Add tst-quadmod1 tst-quadmod2.
34189 ($(objpfx)tst-quad1): New dependency.
34190 ($(objpfx)tst-quad2): Likewise.
34191 ($(objpfx)tst-quad1pie): Likewise.
34192 ($(objpfx)tst-quad2pie): Likewise.
34193 * sysdeps/x86_64/tst-quad1.c: New file.
34194 * sysdeps/x86_64/tst-quad1pie.c: New file.
34195 * sysdeps/x86_64/tst-quad2.c: Likewise.
34196 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
34197 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
34198 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
34199 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
34200 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
34202 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
34204 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
34205 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
34206 * streams/stropts.h (t_scalar_t): Define type.
34208 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
34209 (_PATH_PRESERVE): Set to "/var/lib".
34210 (_PATH_RWHODIR): Set to "/var/spool/rwho".
34212 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
34215 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
34216 if __dir_mkfile succeeded.
34218 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
34219 checking for _hurd_dtablesize. Unlock it right after having
34220 finished _hurd_dtable allocation.
34222 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
34224 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
34225 * sysdeps/mach/hurd/configure: Regenerated.
34226 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
34227 special-casing to...
34228 * sysdeps/gnu/configure.in: ... this new file.
34229 * sysdeps/unix/sysv/linux/configure: Regenerated.
34230 * sysdeps/gnu/configure: New generated file.
34232 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
34233 for Linux: use nsec instead of usec, as well as:
34234 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
34235 members of type struct timespec.
34236 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
34238 (struct stat64): Likewise.
34239 (_STATBUF_ST_NSEC): New macro.
34240 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
34242 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
34243 __strtoul_internal rather than strtoul.
34245 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
34247 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
34250 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
34252 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
34253 which preserves existing values.
34254 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
34256 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
34258 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
34259 TIMEOUT values. Return EINVAL for NFDS values either negative or
34260 greater than FD_SETSIZE.
34262 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
34264 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
34265 allocated, call __vm_protect to finish enabling the existing space, and
34266 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
34267 allocate the remainder.
34269 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
34271 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
34272 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
34274 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
34276 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
34277 sysdeps/mach/hurd/readlink.c.
34279 * posix/tst-sysconf.c (posix_options): Only use
34280 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
34281 _POSIX_SYNCHRONIZED_IO when they are defined
34282 * sysdeps/mach/hurd/bits/posix_opt.h:
34283 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
34284 (_XOPEN_REALTIME): Undefine macro.
34285 (_XOPEN_REALTIME_THREADS): Undefine macro.
34286 (_XOPEN_SHM): Undefine macro.
34287 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
34289 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
34291 (_POSIX_ASYNC_IO): Undefine macro.
34292 (_POSIX_PRIORITIZED_IO): Undefine macro.
34293 (_POSIX_SPIN_LOCKS): Define macro to -1.
34295 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
34296 SA_NODEFER, SA_RESETHAND.
34297 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
34298 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
34301 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
34303 * elf/Makefile (pldd-modules): Define unconditionally.
34305 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
34307 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
34309 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
34311 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
34312 Return ENOENT when name is empty.
34313 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
34315 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
34317 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
34319 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
34321 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
34323 Fix mlock in all cases except non-readable pages.
34324 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
34325 instead of VM_PROT_ALL as parameter to __vm_wire function.
34327 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
34328 (__mkdir): When path is `/', just fail with EEXIST.
34329 * sysdeps/mach/hurd/mkdirat.c: Likewise.
34331 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
34333 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
34334 <sys/uio.h> (for writev).
34335 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
34336 and <sys/param.h> (for MIN).
34338 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
34340 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
34341 REQUESTED_TIME. Properly set the remaining time and return EINTR
34344 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
34346 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
34347 Depend on against $(link-rpcuserlibs).
34349 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
34351 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
34352 (__libc_stack_end): Do not use attribute_relro.
34353 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
34354 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
34355 to libthread-provided value.
34356 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
34359 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
34362 * bits/libc-lock.h (__libc_once_get): New macro.
34363 * sysdeps/mach/bits/libc-lock.h: Likewise.
34364 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
34365 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
34366 instead of using implementation details.
34368 * libio/fileops.c: Unconditionally include <kernel-features.h>.
34369 * libio/freopen.c: Likewise.
34370 * libio/freopen64.c: Likewise.
34371 * misc/syslog.c: Likewise.
34372 * nscd/connections.c: Likewise.
34373 * nscd/netgroupcache.c: Likewise.
34374 * sysdeps/posix/getcwd.c: Likewise.
34376 2012-05-10 Roland McGrath <roland@hack.frob.com>
34378 * math/w_ilogbf.c: Add #include <limits.h>.
34380 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
34382 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
34383 path instead of returning without unlocking.
34385 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
34386 immediate-write ioctls.
34387 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
34389 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
34391 * sysdeps/mach/hurd/i386/init-first.c (init): Use
34392 __builtin_frame_address instead of making assumptions about the
34393 location of the return address relative to DATA. Force early load of
34394 the return address.
34395 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
34396 __builtin_frame_address.
34399 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
34400 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
34401 implement dup3 and do some further code clean-ups.
34402 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
34403 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
34405 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
34407 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
34409 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
34410 HURD_CRITICAL_END around holding _hurd_dtable_lock.
34411 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
34412 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
34413 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
34416 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
34417 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
34418 when handler == SIG_ERR, not when handler != SIG_ERR.
34420 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
34422 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
34423 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
34426 accept4 for GNU Hurd.
34427 * include/sys/socket.h (__libc_accept4): New prototype.
34428 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
34429 to implement __libc_accept4.
34430 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
34432 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
34434 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
34435 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
34436 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
34437 signal-defines.sym.
34439 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
34441 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
34443 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
34445 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
34446 assertion on O_CLOEXEC flag.
34447 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
34448 * hurd/intern-fd.c: Likewise.
34449 * hurd/port2fd.c: Likewise.
34451 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
34454 * bits/in.h (IPV6_PKTINFO): Define new macro.
34455 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
34457 2012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
34462 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
34463 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
34464 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
34465 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
34466 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
34467 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
34468 * math/libm-test.inc (logb_test) : Additional logb tests.
34470 2012-05-09 Andreas Schwab <schwab@linux-m68k.org>
34471 Andreas Jaeger <aj@suse.de>
34473 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
34474 * configure: Regenerated.
34475 * config.h.in (LINK_OBSOLETE_RPC): New macro.
34476 * config.make.in (link-obsolete-rpc): New substituted variable.
34477 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
34478 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
34479 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
34480 (shared-only-routines): Don't set it under [link-obsolete-rpc],
34481 so that libc.a contains the symbols.
34482 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
34483 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
34484 * sunrpc/auth_none.c: Likewise.
34485 * sunrpc/auth_unix.c: Likewise.
34486 * sunrpc/authdes_prot.c: Likewise.
34487 * sunrpc/authuxprot.c: Likewise.
34488 * sunrpc/clnt_gen.c: Likewise.
34489 * sunrpc/clnt_perr.c: Likewise.
34490 * sunrpc/clnt_raw.c: Likewise.
34491 * sunrpc/clnt_simp.c: Likewise.
34492 * sunrpc/clnt_tcp.c: Likewise.
34493 * sunrpc/clnt_udp.c: Likewise.
34494 * sunrpc/clnt_unix.c: Likewise.
34495 * sunrpc/des_crypt.c: Likewise.
34496 * sunrpc/des_soft.c: Likewise.
34497 * sunrpc/get_myaddr.c: Likewise.
34498 * sunrpc/key_call.c: Likewise.
34499 * sunrpc/key_prot.c: Likewise.
34500 * sunrpc/netname.c: Likewise.
34501 * sunrpc/pm_getmaps.c: Likewise.
34502 * sunrpc/pm_getport.c: Likewise.
34503 * sunrpc/pmap_clnt.c: Likewise.
34504 * sunrpc/pmap_prot.c: Likewise.
34505 * sunrpc/pmap_prot2.c: Likewise.
34506 * sunrpc/pmap_rmt.c: Likewise.
34507 * sunrpc/publickey.c: Likewise.
34508 * sunrpc/rpc_cmsg.c: Likewise.
34509 * sunrpc/rpc_common.c: Likewise.
34510 * sunrpc/rpc_dtable.c: Likewise.
34511 * sunrpc/rpc_prot.c: Likewise.
34512 * sunrpc/rpc_thread.c: Likewise.
34513 * sunrpc/rtime.c: Likewise.
34514 * sunrpc/svc.c: Likewise.
34515 * sunrpc/svc_auth.c: Likewise.
34516 * sunrpc/svc_raw.c: Likewise.
34517 * sunrpc/svc_run.c: Likewise.
34518 * sunrpc/svc_tcp.c: Likewise.
34519 * sunrpc/svc_udp.c: Likewise.
34520 * sunrpc/svc_unix.c: Likewise.
34521 * sunrpc/svcauth_des.c: Likewise.
34522 * sunrpc/xcrypt.c: Likewise.
34523 * sunrpc/xdr.c: Likewise.
34524 * sunrpc/xdr_array.c: Likewise.
34525 * sunrpc/xdr_float.c: Likewise.
34526 * sunrpc/xdr_intXX_t.c: Likewise.
34527 * sunrpc/xdr_mem.c: Likewise.
34528 * sunrpc/xdr_rec.c: Likewise.
34529 * sunrpc/xdr_ref.c: Likewise.
34530 * sunrpc/xdr_sizeof.c: Likewise.
34531 * sunrpc/xdr_stdio.c: Likewise.
34533 2012-05-10 Roland McGrath <roland@hack.frob.com>
34535 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
34536 change. Update copyright years.
34538 2012-05-10 Joseph Myers <joseph@codesourcery.com>
34540 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
34542 2012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
34543 Joseph Myers <joseph@codesourcery.com>
34544 Paul Pluzhnikov <ppluzhnikov@google.com>
34547 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
34549 [cross-compiling] (extra-libs): Likewise.
34550 [cross-compiling] (extra-libs-others): Likewise.
34551 [cross-compiling] (librpcsvc-routines): Likewise.
34552 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
34553 [cross-compiling] (omit-deps): Likewise.
34554 (sunrpc-CPPFLAGS): New variable.
34555 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
34556 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
34557 (cross-rpcgen-objs): New variable.
34558 (extra-objs): Append $(cross-rpcgen-objs).
34559 ($(cross-rpcgen-objs)): New rule.
34560 ($(objpfx)cross-rpcgen): Likewise.
34561 (rpcgen-cmd): Define to use $(built-program-file). Expand
34563 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
34564 ($(objpfx)x%.stmp): Likewise.
34565 * sunrpc/proto.h [IS_IN_build] (_): Define.
34566 [IS_IN_build] (_libc_intl_domainname): Likewise.
34568 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
34570 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
34571 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
34572 and R_X86_64_TPOFF64.
34574 2012-05-10 Joseph Myers <joseph@codesourcery.com>
34576 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
34577 sysdeps/unix/sysv/syscalls.list.
34580 * sysdeps/unix/sysv/syscalls.list: Remove file.
34582 2012-05-10 Paul Eggert <eggert@cs.ucla.edu>
34585 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
34586 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
34587 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
34588 (__LC_IDENTIFICATION): Make these macros useful in #if
34589 expressions, as required by C99.
34591 2012-05-10 Andreas Schwab <schwab@linux-m68k.org>
34593 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
34594 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
34597 2012-05-09 H.J. Lu <hongjiu.lu@intel.com>
34599 * stdlib/longlong.h: Updated from GCC.
34601 2012-05-09 Andreas Jaeger <aj@suse.de>
34603 * nscd/nscd.c (run_modes): Make named enum, reorder so that
34604 default is first entry.
34605 (run_mode): Set type.
34606 (main): Remove informal message about syslog.
34607 (options): Fix typo.
34610 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
34613 (llrintf): Likewise.
34614 (llrint): Likewise.
34617 (nearbyint): Likewise.
34618 (nearbyintf): Likewise.
34620 2012-05-09 Andreas Jaeger <aj@suse.de>
34621 Pedro Alves <palves@redhat.com>
34623 * nscd/nscd.c (run_mode): Use enum.
34624 (main): Cleanup coding style issue.
34626 2012-05-09 Alexandre Oliva <aoliva@redhat.com>
34627 Andreas Jaeger <aj@suse.de>
34629 * nscd/nscd.c (go_background): Replaced with...
34630 (run_mode): ... this.
34631 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
34632 (options): Add -F --foreground.
34633 (main): Implement it.
34634 (parse_opt): Parse it.
34636 2012-05-09 Andreas Jaeger <aj@suse.de>
34639 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
34640 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
34641 -Wconversion warning.
34642 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
34645 2012-05-09 Joseph Myers <joseph@codesourcery.com>
34647 * conform/data/locale.h-data (NULL): Use macro-constant. Require
34649 (LC_ALL): Use macro-int-constant.
34650 (LC_COLLATE): Likewise.
34651 (LC_CTYPE): Likewise.
34652 (LC_MESSAGES): Likewise.
34653 (LC_MONETARY): Likewise.
34654 (LC_NUMERIC): Likewise.
34655 (LC_TIME): Likewise.
34656 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
34657 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
34658 [ISO || ISO99 || ISO11] (*_t): Do not allow.
34659 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
34661 [C99-based standards] (float_t): Expect type.
34662 [C99-based standards] (double_t): Expect type.
34663 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
34665 [C99-based standards] (HUGE_VALL): Likewise.
34666 [C99-based standards] (INFINITY): Likewise.
34667 [C99-based standards] (NAN): Likewise.
34668 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
34669 [C99-based standards] (FP_NAN): Likewise.
34670 [C99-based standards] (FP_NORMAL): Likewise.
34671 [C99-based standards] (FP_SUBNORMAL): Likewise.
34672 [C99-based standards] (FP_ZERO): Likewise.
34673 [C99-based standards] (FP_FAST_FMA): Use
34674 optional-macro-int-constant. Specify type. Require == 1.
34675 [C99-based standards] (FP_FAST_FMAF): Likewise.
34676 [C99-based standards] (FP_FAST_FMAL): Likewise.
34677 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
34678 [C99-based standards] (FP_ILOGBNAN): Likewise.
34679 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
34681 [C99-based standards] (MATH_ERREXCEPT): Likewise.
34682 [C99-based standards] (math_errhandling): Specify type.
34683 [ISO99 || ISO11] (signgam): Do not allow.
34684 [non-C99-based standards] (copysignf): Do not allow.
34685 [non-C99-based standards] (exp2f): Likewise.
34686 [non-C99-based standards] (log2f): Likewise.
34687 [non-C99-based standards] (modff): Allow.
34688 [non-C99-based standards] (erff): Do not allow.
34689 [non-C99-based standards] (erfcf): Likewise.
34690 [non-C99-based standards] (gammaf): Likewise.
34691 [non-C99-based standards] (hypotf): Likewise.
34692 [non-C99-based standards] (j0f): Likewise.
34693 [non-C99-based standards] (j1f): Likewise.
34694 [non-C99-based standards] (jnf): Likewise.
34695 [non-C99-based standards] (lgammaf): Likewise.
34696 [non-C99-based standards] (tgammaf): Likewise.
34697 [non-C99-based standards] (y0f): Likewise.
34698 [non-C99-based standards] (y1f): Likewise.
34699 [non-C99-based standards] (ynf): Likewise.
34700 [non-C99-based standards] (isnanf): Likewise.
34701 [non-C99-based standards] (acoshf): Likewise.
34702 [non-C99-based standards] (asinhf): Likewise.
34703 [non-C99-based standards] (atanhf): Likewise.
34704 [non-C99-based standards] (cbrtf): Likewise.
34705 [non-C99-based standards] (expm1f): Likewise.
34706 [non-C99-based standards] (ilogbf): Likewise.
34707 [non-C99-based standards] (log1pf): Likewise.
34708 [non-C99-based standards] (logbf): Likewise.
34709 [non-C99-based standards] (nextafterf): Likewise.
34710 [non-C99-based standards] (remainderf): Likewise.
34711 [non-C99-based standards] (rintf): Likewise.
34712 [non-C99-based standards] (scalbf): Likewise.
34713 [non-C99-based standards] (copysignl): Likewise.
34714 [non-C99-based standards] (exp2l): Likewise.
34715 [non-C99-based standards] (log2l): Likewise.
34716 [non-C99-based standards] (modfl): Allow.
34717 [non-C99-based standards] (erfl): Do not allow.
34718 [non-C99-based standards] (erfcl): Likewise.
34719 [non-C99-based standards] (gammal): Likewise.
34720 [non-C99-based standards] (hypotl): Likewise.
34721 [non-C99-based standards] (j0l): Likewise.
34722 [non-C99-based standards] (j1l): Likewise.
34723 [non-C99-based standards] (jnl): Likewise.
34724 [non-C99-based standards] (lgammal): Likewise.
34725 [non-C99-based standards] (tgammal): Likewise.
34726 [non-C99-based standards] (y0l): Likewise.
34727 [non-C99-based standards] (y1l): Likewise.
34728 [non-C99-based standards] (ynl): Likewise.
34729 [non-C99-based standards] (isnanl): Likewise.
34730 [non-C99-based standards] (acoshl): Likewise.
34731 [non-C99-based standards] (asinhl): Likewise.
34732 [non-C99-based standards] (atanhl): Likewise.
34733 [non-C99-based standards] (cbrtl): Likewise.
34734 [non-C99-based standards] (expm1l): Likewise.
34735 [non-C99-based standards] (ilogbl): Likewise.
34736 [non-C99-based standards] (log1pl): Likewise.
34737 [non-C99-based standards] (logbl): Likewise.
34738 [non-C99-based standards] (nextafterl): Likewise.
34739 [non-C99-based standards] (remainderl): Likewise.
34740 [non-C99-based standards] (rintl): Likewise.
34741 [non-C99-based standards] (scalbl): Likewise.
34742 [ISO || ISO99 || ISO11] (*_t): Do not allow.
34743 [non-C99-based standards] (FP_*): Do not allow.
34744 [C99-based standards] (FP_*): Change to
34745 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
34746 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
34748 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
34749 (SIG_ERR): Likewise.
34750 [X/Open-based standards] (SIG_HOLD): Likewise.
34751 (SIG_IGN): Likewise.
34752 (SIGABRT): Use macro-int-constant. Specify type. Require
34754 (SIGFPE): Likewise.
34755 (SIGILL): Likewise.
34756 (SIGINT): Likewise.
34757 (SIGSEGV): Likewise.
34758 (SIGTER): Likewise.
34759 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
34760 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
34761 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
34762 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
34763 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
34764 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
34765 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
34766 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
34767 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
34768 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
34769 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
34770 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
34771 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
34772 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
34773 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
34774 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
34775 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
34776 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
34777 [X/Open-based standards] (SIGTRAP): Likewise.
34778 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
34779 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
34780 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
34781 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
34782 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
34785 2012-05-08 Ian Wienand <ianw@vmware.com>
34788 * time/tzset.c (__tzset_parse_tz): Update default rules for
34789 daylight time changes in the Energy Policy Act of 2005.
34791 2012-05-09 Andreas Jaeger <aj@suse.de>
34794 * elf/ldconfig.c (parse_conf): Change string to make clear that
34795 ldconfig only issued a warning if ld.so.conf does not exist.
34797 2012-05-08 David S. Miller <davem@davemloft.net>
34799 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
34800 movxtod instead of popping the value on the stack.
34802 * sysdeps/sparc/fpu/libm-test-ulps: Update.
34804 2012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
34806 * config.h.in: Add HAVE_ARM_PCS_VFP.
34808 2012-05-08 Roland Mc Grath <roland@hack.frob.com>
34811 * include/features.h: Warn if user requests __FORTIFY_SOURCE
34812 checking but the checks are disabled for any reason.
34814 2012-05-08 H.J. Lu <hongjiu.lu@intel.com>
34816 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
34817 and ELF64_R_TYPE with ELFW(R_TYPE).
34819 2012-05-08 Joseph Myers <joseph@codesourcery.com>
34821 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
34822 (ulimit): Likewise.
34824 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
34825 (settimeofday): Likewise.
34827 2012-05-08 Mike Frysinger <vapier@gentoo.org>
34829 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
34830 a struct th_u2 inside the union, and move tu_block/tu_code into
34831 a new th_u3 union of tu_block/tu_code inside of that. Move
34832 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
34833 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
34834 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
34835 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
34836 (th_stuff): Change to th_u1.tu_stuff.
34838 (th_msg): Change to th_u1.th_u2.tu_data.
34840 2012-05-07 David S. Miller <davem@davemloft.net>
34842 * sysdeps/sparc/fpu/libm-test-ulps: Update.
34845 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
34846 (SETUP_PIC_REG): Use it.
34847 (SETUP_PIC_REG_LEAF): Use it.
34849 2012-05-07 Joseph Myers <joseph@codesourcery.com>
34853 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
34855 (EXPL_FINITE): Likewise.
34856 (FLDLOG): Likewise.
34857 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
34858 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
34860 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
34862 (EXPL_FINITE): Likewise.
34863 (FLDLOG): Likewise.
34864 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
34865 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
34867 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
34868 test of -max_value argument for long double.
34869 * sysdeps/i386/fpu/libm-test-ulps: Update.
34870 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34872 2012-05-06 David S. Miller <davem@davemloft.net>
34874 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
34875 quad soft-float symbols whose references which are compiler
34877 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
34879 2012-05-06 Joseph Myers <joseph@codesourcery.com>
34883 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
34885 (EXPL_FINITE): Likewise.
34886 (FLDLOG): Likewise.
34889 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
34890 Adjust comments for base varying.
34891 (__expl_finite): Change alias to EXPL_FINITE.
34892 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
34894 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
34895 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
34896 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
34897 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
34898 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
34900 (EXPL_FINITE): Likewise.
34901 (FLDLOG): Likewise.
34904 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
34905 Adjust comments for base varying.
34906 (__expl_finite): Change alias to EXPL_FINITE.
34907 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
34909 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
34912 * math/libm-test.inc (check_float_internal): Correct ulp
34913 calculation for subnormal expected results.
34915 2012-05-06 Andreas Jaeger <aj@suse.de>
34917 * Makeconfig (+math-flags): New, set to -frounding-math.
34918 (+cflags): Add +math-flags so that all of glibc gets compiled with
34921 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
34923 2012-05-05 Joseph Myers <joseph@codesourcery.com>
34925 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
34931 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
34932 (__ieee754_expl): Allow for and saturate large arguments.
34933 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
34934 (u_threshold): Likewise.
34935 (__exp): Call __ieee754_exp before checking for overflow and
34937 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
34938 (u_threshold): Likewise.
34939 (__expf): Call __ieee754_expf before checking for overflow and
34941 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
34942 (u_threshold): Likewise.
34943 (__expl): Call __ieee754_expl before checking for overflow and
34945 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
34946 (__ieee754_expl): Allow for and saturate large arguments.
34947 * math/libm-test.inc (exp_test): Add another test. Do not allow
34948 missing overflow exception on overflow.
34949 (expm1_test): Do not allow missing overflow exception on overflow.
34951 * sysdeps/i386/fpu/e_expl.c: Move to ...
34952 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
34953 rather than using inline asm.
34954 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
34955 * sysdeps/x86_64/fpu/e_expl.S: Copy from
34956 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
34958 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
34961 (signal): Likewise.
34965 2012-05-04 Joseph Myers <joseph@codesourcery.com>
34967 * sysdeps/unix/syscalls.list (adjtime): Add entry from
34968 sysdeps/unix/common/syscalls.list.
34969 (fchmod): Likewise.
34970 (fchown): Likewise.
34971 (ftruncate): Likewise.
34972 (getrusage): Likewise.
34973 (gettimeofday): Likewise.
34974 (setpgid): Likewise.
34975 (setregid): Likewise.
34976 (setreuid): Likewise.
34977 (sigaction): Likewise.
34978 (truncate): Likewise.
34979 (vhangup): Likewise.
34980 * sysdeps/unix/common/syscalls.list: Remove file.
34981 * sysdeps/unix/bsd/Implies: Don't include unix/common.
34982 * sysdeps/unix/sysv/linux/Implies: Likewise.
34984 2012-05-04 H.J. Lu <hongjiu.lu@intel.com>
34986 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
34987 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
34988 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
34990 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
34992 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
34994 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
34995 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
34997 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
34998 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
35000 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
35001 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
35003 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
35004 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
35006 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
35007 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
35009 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
35010 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
35012 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
35014 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
35016 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
35018 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
35020 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
35021 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
35023 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
35025 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
35027 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
35029 2012-05-04 Joseph Myers <joseph@codesourcery.com>
35031 * sysdeps/unix/common/bits/dirent.h: Remove file.
35032 * sysdeps/unix/common/bits/fcntl.h: Likewise.
35034 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
35035 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
35036 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
35037 * sysdeps/unix/bsd/isatty.c: Likewise.
35038 * sysdeps/unix/bsd/tcdrain.c: Likewise.
35039 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
35040 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
35042 2012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
35045 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
35046 long double comparison inaccuracies.
35047 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
35048 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
35050 2012-05-04 Andreas Schwab <schwab@linux-m68k.org>
35052 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
35053 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
35055 2012-05-04 Joseph Myers <joseph@codesourcery.com>
35058 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
35059 nonzero digits before rounding a hex value.
35060 * stdlib/tst-strtod.c (tests): Add another test.
35062 2012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
35064 * sysdeps/s390/fpu/libm-test-ulps: Update.
35066 2012-05-03 Andreas Jaeger <aj@suse.de>
35068 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
35069 does not get optimized out.
35070 (malloc_opt_barrier): New.
35072 2012-05-03 Andreas Jaeger <aj@suse.de>
35073 Roland McGrath <roland@hack.frob.com>
35075 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
35076 intermediate file deletion.
35077 (generated): Add .symlist files.
35079 2012-05-03 Joseph Myers <joseph@codesourcery.com>
35082 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
35083 Redirect under this condition.
35084 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
35085 [__USE_GNU] (__dprintf_chk): Not under this condition.
35086 [__USE_GNU] (__vdprintf_chk): Likewise.
35087 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
35088 under this condition.
35089 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
35090 [__USE_XOPEN2K8] (dprintf): Define under this condition.
35091 [__USE_XOPEN2K8] (vdprintf): Likewise.
35092 [__USE_GNU] (__dprintf_chk): Not under this condition.
35093 [__USE_GNU] (__vdprintf_chk): Likewise.
35094 [__USE_GNU] (dprintf): Likewise.
35095 [__USE_GNU] (vdprintf): Likewise.
35097 2012-05-03 Roland McGrath <roland@hack.frob.com>
35099 * elf/Makefile (common-generated): Set this instead of generated for
35100 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
35101 $(all-built-dso)-derived lists.
35103 2012-05-03 Andreas Jaeger <aj@suse.de>
35105 * sysdeps/i386/fpu/libm-test-ulps: Update.
35108 * FAQ.in: Likewise.
35109 * scripts/gen-FAQ.pl: Likewise.
35110 * manual/install.texi (Installation): Point to online location of
35112 * Makefile (files-for-dist): Remove FAQ.
35115 2012-05-02 Allan McRae <allan@archlinux.org>
35117 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
35118 (LDFLAGS-reldepmod5.so): Likewise.
35119 (LDFLAGS-reldep6mod1.so): Likewise.
35120 (LDFLAGS-reldep6mod4.so): Likewise.
35121 (LDFLAGS-reldep8mod3.so): Likewise.
35122 (LDFLAGS-unload4mod1.so): Likewise.
35123 (LDFLAGS-unload4mod2.so): Likewise.
35124 (LDFLAGS-tst-initorder): Likewise.
35125 (LDFLAGS-tst-initordera2.so): Likewise.
35126 (LDFLAGS-tst-initordera3.so): Likewise.
35127 (LDFLAGS-tst-initordera4.so): Likewise.
35128 (LDFLAGS-tst-initorderb2.so): Likewise.
35129 (LDFLAGS-noload): Likewise.
35130 (LDFLAGS-next): Likewise.
35131 (LDFLAGS-order2mod1.so): Likewise.
35132 (LDFLAGS-order2mod2.so): Likewise.
35133 (LDFLAGS-tst-initorder2): Likewise.
35134 (LDFLAGS-tst-initorder2a.so): Likewise.
35135 (LDFLAGS-tst-initorder2b.so): Likewise.
35136 (LDFLAGS-tst-initorder2c.so): Likewise.
35137 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
35139 2012-05-02 David S. Miller <davem@davemloft.net>
35141 * sysdeps/sparc/fpu/libm-test-ulps: Update.
35143 2012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
35146 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
35148 2012-05-02 Andreas Jaeger <aj@suse.de>
35150 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
35151 since we manipulate rounding mode.
35152 (CPPFLAGS-test-idouble.c): Likewise.
35153 (CPPFLAGS-test-ifloat.c): Likewise.
35154 (CFLAGS-test-ldouble.c): Likewise.
35155 (CFLAGS-test-double.c): Likewise.
35156 (CFLAGS-test-float.c): Likewise.
35157 (CFLAGS-test-misc.c): Likewise.
35158 (CFLAGS-test-test-fenv.c): Likewise.
35160 2012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
35164 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
35165 comparisons to determine direction to adjust input.
35167 2012-05-01 Roland McGrath <roland@hack.frob.com>
35169 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
35170 output to the target.
35172 * scripts/localplt.awk: New file.
35173 * elf/Makefile ($(objpfx)check-localplt): Target removed.
35174 (check-localplt-CFLAGS): Variable removed.
35175 ($(all-built-dso:=.jmprel)): New static pattern rule.
35176 (generated): Add those targets.
35177 (localplt-built-dso): New variable.
35178 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
35180 * elf/check-localplt.c: File removed.
35182 * scripts/check-execstack.awk: New file.
35183 * elf/Makefile ($(objpfx)check-execstack): Target removed.
35184 (check-execstack-CFLAGS): Variable removed.
35185 ($(objpfx)check-execstack.h): Target removed.
35186 ($(objpfx)execstack-default): New target.
35187 (generated): Add that instead of check-execstack.h.
35188 ($(all-built-dso:=.phdr)): New static pattern rule.
35189 (generated): Add those targets.
35190 * elf/check-execstack.c: File removed.
35192 * scripts/check-textrel.awk: New file.
35193 * elf/Makefile ($(objpfx)check-textrel): Target removed.
35194 (check-textrel-CFLAGS): Variable removed.
35195 (all-built-dso): Use := to define.o
35196 ($(all-built-dso:=.dyn)): New static pattern rule.
35197 (generated): Add those targets.
35198 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
35199 * config.make.in (READELF): New substituted variable.
35200 * elf/check-textrel.c: File removed.
35202 2012-05-01 Joseph Myers <joseph@codesourcery.com>
35204 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
35206 * conform/data/ctype.h-data [C99-based standards] (isblank):
35208 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
35209 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
35210 [ISO || ISO99 || ISO11] (*_t): Do not allow.
35211 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
35212 Specify type. Require positive value.
35213 (EILSEQ): Likewise.
35214 (ERANGE): Likewise.
35215 [ISO || POSIX] (EILSEQ): Do not expect.
35216 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
35217 Specify type. Require positive value.
35218 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
35219 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
35220 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
35221 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
35222 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
35223 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
35224 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
35225 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
35226 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
35227 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
35228 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
35229 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
35230 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
35231 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
35232 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
35233 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
35234 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
35235 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
35236 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
35237 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
35238 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
35239 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
35240 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
35241 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
35242 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
35243 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
35244 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
35245 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
35246 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
35247 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
35248 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
35249 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
35250 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
35251 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
35252 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
35253 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
35254 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
35255 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
35256 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
35257 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
35258 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
35259 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
35260 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
35261 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
35262 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
35263 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
35264 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
35265 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
35266 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
35267 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
35268 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
35269 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
35270 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
35271 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
35272 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
35273 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
35274 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
35275 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
35276 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
35277 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
35278 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
35279 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
35280 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
35281 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
35282 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
35283 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
35284 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
35285 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
35286 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
35287 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
35288 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
35289 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
35290 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
35291 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
35292 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
35293 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
35294 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
35296 (FLT_ROUNDS): Expect as macro, not constant.
35297 (FLT_MANT_DIG): Use macro-int-constant.
35298 (DBL_MANT_DIG): Likewise.
35299 (LDBL_MANT_DIG): Likewise.
35300 (FLT_DIG): Likewise.
35301 (DBL_DIG): Likewise.
35302 (LDBL_DIG): Likewise.
35303 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
35304 (DBL_MIN_EXP): Likewise.
35305 (LDBL_MIN_EXP): Likewise.
35306 (FLT_MAX_EXP): Use macro-int-constant.
35307 (DBL_MAX_EXP): Likewise.
35308 (LDBL_MAX_EXP): Likewise.
35309 (FLT_MAX_10_EXP): Likewise.
35310 (DBL_MAX_10_EXP): Likewise.
35311 (LDBL_MAX_10_EXP): Likewise.
35312 (FLT_MAX): Use macro-constant.
35313 (DBL_MAX): Likewise.
35314 (LDBL_MAX): Likewise.
35315 (FLT_EPSILON): Use macro-constant. Give upper bound.
35316 (DBL_EPSILON): Likewise.
35317 (LDBL_EPSILON): Likewise.
35318 (FLT_MIN): Likewise.
35319 (DBL_MIN): Likewise.
35320 (LDBL_MIN): Likewise.
35321 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
35322 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
35323 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
35324 [ISO11] (FLT_HAS_SUBNORM): Likewise.
35325 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
35326 [ISO11] (DBL_DECIMAL_DIG): Likewise.
35327 [ISO11] (FLT_DECIMAL_DIG): Likewise.
35328 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
35329 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
35330 [ISO11] (FLT_TRUE_MIN): Likewise.
35331 [ISO11] (LDBL_TRUE_MIN): Likewise.
35332 [ISO || ISO99 || ISO11] (*_t): Do not allow.
35333 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
35334 (SCHAR_MIN): Use macro-int-constant. Specify type.
35335 (SCHAR_MAX): Likewise.
35336 (UCHAR_MAX): Likewise.
35337 (CHAR_MIN): Likewise.
35338 (CHAR_MAX): Likewise.
35339 (MB_LEN_MAX): Use macro-int-constant.
35340 (SHRT_MIN): Use macro-int-constant. Specify type.
35341 (SHRT_MAX): Likewise.
35342 (USHRT_MAX): Likewise.
35343 (INT_MAX): Likewise.
35344 (INT_MIN): Use macro-int-constant. Specify type. Make upper
35346 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
35348 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
35350 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
35351 bound negative. Suffix upper bound with "L".
35352 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
35354 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
35356 [C99-based standards] (LLONG_MAX): Likewise.
35357 [C99-based standards] (ULLONG_MAX): Likewise.
35358 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
35360 [ISO11] (max_align_t): Require type.
35361 [ISO || ISO99 || ISO11] (*_t): Do not allow.
35363 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
35364 from $CFLAGS, without defining away __attribute__ calls.
35365 (checknamespace): Use $CFLAGS_namespace.
35367 * conform/conformtest.pl (@keywords): Only include C99 keywords
35368 for standards based on C99 or C11.
35370 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
35372 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
35375 * conform/conformtest.pl: Handle "macro-int-constant" and test for
35376 usability of symbols in #if.
35378 * conform/conformtest.pl: If macro or constant types start
35379 "promoted:", expect the symbol to be of the following type
35380 promoted by the integer promotions.
35382 * conform/conformtest.pl: Parse all "constant" and "macro" lines
35383 in one place. Also handle "macro-constant".
35385 * conform/conformtest.pl: Only accept expected macro values with
35386 "==". Parse all "macro" lines in one place.
35387 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
35389 * conform/conformtest.pl: Handle braced types on "constant" lines
35390 instead of handling "typed-constant".
35391 * conform/data/signal.h-data: Use "constant" instead of
35394 * conform/conformtest.pl: Handle "optional-" at start of lines in
35395 one place rather than duplicating several cases. Handle each
35396 format of "macro" line with initial "optional-".
35398 * conform/conformtest.pl: Only accept expected constant or
35399 optional-constant values with "==". Parse all "constant" lines in
35400 one place. Parse all "optional-constant" lines in one place.
35401 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
35402 * conform/data/fmtmsg.h-data: Likewise.
35403 * conform/data/netinet/in.h-data: Likewise.
35404 * conform/data/tar.h-data: Likewise.
35405 * conform/data/limits.h-data: Use "==" form on "constant" and
35406 "optional-constant" lines.
35408 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
35409 Use -std=c99 for XOPEN2K.
35410 (@knownproblems): Remove.
35411 (newtoken): Don't check %isknown.
35413 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
35414 Do not expect macro.
35415 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
35416 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
35417 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
35418 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
35419 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
35420 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
35421 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
35422 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
35423 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
35424 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
35425 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
35426 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
35427 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
35428 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
35429 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
35430 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
35431 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
35432 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
35433 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
35434 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
35435 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
35436 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
35437 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
35438 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
35439 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
35440 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
35441 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
35442 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
35443 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
35444 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
35445 [XPG3] (acosh): Likewise.
35446 [XPG3] (asinh): Likewise.
35447 [XPG3] (atanh): Likewise.
35448 [XPG3] (cbrt): Likewise.
35449 [XPG3] (expm1): Likewise.
35450 [XPG3] (ilogb): Likewise.
35451 [XPG3] (log1p): Likewise.
35452 [XPG3] (logb): Likewise.
35453 [XPG3] (nextafter): Likewise.
35454 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
35455 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
35456 [XPG3] (remainder): Likewise.
35457 [XPG3] (rint): Likewise.
35458 [XPG3 || XPG4 || UNIX98] (round): Likewise.
35459 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
35460 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
35461 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
35462 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
35463 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
35464 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
35465 [UNIX98 || XOPEN2K] (scalb): Expect.
35466 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
35467 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
35468 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
35469 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
35470 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
35471 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
35472 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
35473 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
35474 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
35475 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
35476 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
35477 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
35478 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
35479 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
35480 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
35481 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
35482 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
35483 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
35484 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
35485 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
35486 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
35487 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
35488 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
35489 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
35490 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
35491 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
35492 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
35493 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
35494 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
35495 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
35496 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
35497 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
35498 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
35499 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
35500 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
35501 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
35502 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
35503 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
35504 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
35505 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
35506 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
35507 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
35508 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
35509 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
35510 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
35511 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
35512 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
35513 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
35514 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
35515 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
35516 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
35517 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
35518 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
35519 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
35520 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
35521 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
35522 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
35523 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
35524 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
35525 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
35526 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
35527 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
35528 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
35529 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
35530 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
35531 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
35532 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
35533 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
35534 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
35535 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
35536 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
35537 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
35538 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
35539 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
35540 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
35541 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
35542 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
35543 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
35544 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
35545 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
35546 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
35547 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
35548 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
35549 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
35550 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
35551 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
35552 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
35553 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
35554 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
35555 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
35556 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
35557 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
35558 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
35559 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
35560 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
35561 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
35562 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
35563 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
35564 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
35565 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
35566 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
35567 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
35568 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
35569 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
35570 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
35571 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
35572 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
35573 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
35574 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
35575 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
35576 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
35577 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
35578 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
35579 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
35580 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
35581 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
35582 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
35583 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
35584 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
35585 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
35586 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
35587 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
35588 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
35589 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
35590 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
35591 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
35592 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
35593 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
35594 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
35595 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
35596 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
35597 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
35598 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
35599 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
35600 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
35601 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
35602 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
35604 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
35605 _XOPEN_SOURCE_EXTENDED for XPG4.
35607 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
35609 * Makeconfig (localtime): Remove variable.
35610 (inst_localtime-file): Likewise.
35612 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
35614 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
35616 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
35618 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
35620 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
35622 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
35624 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
35626 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
35628 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
35630 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
35633 2012-05-01 Joseph Myers <joseph@codesourcery.com>
35637 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
35638 comparisons to determine direction to adjust input.
35639 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
35640 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
35641 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
35643 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
35645 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
35647 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
35648 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
35650 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
35652 * math/libm-test.inc (nexttoward_test): Add more tests.
35654 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
35657 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
35658 in version GLIBC_2.1, not GLIBC_2.0.
35659 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
35662 2012-04-30 Joseph Myers <joseph@codesourcery.com>
35665 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
35667 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
35668 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
35669 * math/libm-test.inc (acos_test): Add more tests.
35670 (asin_test): Likewise.
35671 * sysdeps/i386/fpu/libm-test-ulps: Update.
35672 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35675 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
35677 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
35678 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
35679 * math/libm-test.inc (acos_test_tonearest): New function.
35680 (acos_test_towardzero): Likewise.
35681 (acos_test_downward): Likewise.
35682 (acos_test_upward): Likewise.
35683 (asin_test_tonearest): Likewise.
35684 (asin_test_towardzero): Likewise.
35685 (asin_test_downward): Likewise.
35686 (asin_test_upward): Likewise.
35687 (main): Call the new functions.
35688 * sysdeps/i386/fpu/libm-test-ulps: Update.
35689 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
35693 * math/e_exp10.c: Include <float.h>.
35694 (__ieee754_exp10): Handle underflow here rather than multiplying
35695 large negative argument by M_LN10.
35696 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
35698 * math/e_exp10l.c: Include <float.h>.
35699 (__ieee754_exp10l): Handle underflow here rather than multiplying
35700 large negative argument by M_LN10l.
35701 * math/libm-test.inc (exp10_test): Add another test. Do not allow
35702 spurious overflow exception on underflow.
35704 2012-04-29 Marek Polacek <polacek@redhat.com>
35706 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
35707 (__fortify_function): New macro.
35708 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
35709 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
35710 __extern_always_inline.
35711 * libio/bits/stdio2.h: Likewise.
35712 * libio/bits/stdio.h: Likewise.
35713 * string/string.h: Likewise.
35714 * string/bits/string3.h: Likewise.
35715 * include/stdio.h: Likewise.
35716 * stdlib/bits/stdlib.h: Likewise.
35717 * stdlib/stdlib.h: Likewise.
35718 * rt/bits/mqueue2.h: Likewise.
35719 * rt/mqueue.h: Likewise.
35720 * posix/bits/unistd.h: Likewise.
35721 * posix/unistd.h: Likewise.
35722 * io/bits/poll2.h: Likewise.
35723 * io/bits/fcntl2.h: Likewise.
35724 * io/fcntl.h: Likewise.
35725 * io/sys/poll.h: Likewise.
35726 * misc/bits/syslog.h: Likewise.
35727 * misc/bits/syslog-ldbl.h: Likewise.
35728 * misc/sys/syslog.h: Likewise.
35729 * socket/bits/socket2.h: Likewise.
35730 * socket/sys/socket.h: Likewise.
35731 * debug/tst-chk1.c: Likewise.
35732 * wcsmbs/bits/wchar2.h: Likewise.
35733 * wcsmbs/bits/wchar-ldbl.h: Likewise.
35734 * wcsmbs/wchar.h: Likewise.
35736 2012-04-29 Andreas Jaeger <aj@suse.de>
35738 * Makerules (tests): Remove enable-check-abi protection.
35739 (check-abi-warn): Remove.
35740 (check-abi-%): Remove check-abi-warn usage.
35742 * configure.in: Remove check-abi configure option.
35743 * configure: Regenerated.
35744 * config.make.in (enable-check-abi): Remove.
35746 2012-04-28 Andreas Schwab <schwab@linux-m68k.org>
35749 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
35750 double functions to double *_finite functions.
35753 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
35754 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
35756 * stdio-common/Makefile (tests): Add tst-sprintf3.
35757 * stdio-common/tst-sprintf3.c: New file.
35759 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
35760 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
35762 2012-04-28 Joseph Myers <joseph@codesourcery.com>
35764 * conform/conformtest.pl: Remove duplicate typed-constant
35767 2012-04-28 David S. Miller <davem@davemloft.net>
35769 * Makerules (%.abilist): Add vpath on sysdep_dirs.
35770 (check-abi-%): Remove AWK script prerequisite and explicit
35772 (check-abi): Rewrite to just diff the symlist with the abilist.
35773 (config-tls, config-abi-config): Delete, no longer used.
35774 (update-abi-%): Remove AWK script and explicit abilist directory.
35775 (update-abi): Rewrite to simply compare and conditionally copy the
35776 symlist and the sysdep abilist file. Remove update-abi-config
35778 * abilist/ld.abilist: Remove.
35779 * abilist/libBrokenLocale.abilist: Remove.
35780 * abilist/libanl.abilist: Remove.
35781 * abilist/libcrypt.abilist: Remove.
35782 * abilist/libdl.abilist: Remove.
35783 * abilist/librt.abilist: Remove.
35784 * abilist/libthread_db.abilist: Remove.
35785 * abilist/libutil.abilist: Remove.
35786 * scripts/extract-abilist.awk: Remove.
35787 * scripts/merge-abilist.awk: Remove.
35788 * sysdeps/generic/libcidn.abilist: New file.
35789 * sysdeps/generic/libnss_compat.abilist: New file.
35790 * sysdeps/generic/libnss_db.abilist: New file.
35791 * sysdeps/generic/libnss_dns.abilist: New file.
35792 * sysdeps/generic/libnss_files.abilist: New file.
35793 * sysdeps/generic/libnss_hesiod.abilist: New file.
35794 * sysdeps/generic/libnss_nis.abilist: New file.
35795 * sysdeps/generic/libnss_nisplus.abilist: New file.
35796 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
35797 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
35798 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
35800 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
35801 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
35802 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
35803 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
35804 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
35805 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
35806 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
35807 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
35808 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
35810 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
35811 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
35812 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
35813 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
35815 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
35816 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
35817 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
35818 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
35819 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
35820 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
35822 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
35823 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
35824 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
35826 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
35827 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
35829 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
35831 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
35833 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
35835 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
35837 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
35839 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
35841 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
35843 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
35845 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
35847 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
35849 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
35851 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
35853 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
35855 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
35857 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
35859 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
35861 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
35863 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
35865 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
35867 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
35869 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
35871 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
35873 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
35875 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
35877 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
35879 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
35880 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
35882 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
35884 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
35886 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
35888 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
35890 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
35892 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
35894 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
35896 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
35898 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
35900 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
35902 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
35904 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
35905 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
35907 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
35909 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
35911 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
35913 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
35915 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
35917 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
35919 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
35921 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
35923 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
35925 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
35927 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
35929 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
35930 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
35931 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
35933 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
35934 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
35935 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
35936 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
35937 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
35938 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
35939 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
35940 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
35941 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
35942 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
35943 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
35944 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
35946 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
35948 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
35950 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
35952 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
35954 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
35956 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
35958 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
35960 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
35962 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
35964 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
35966 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
35968 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
35969 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
35971 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
35973 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
35975 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
35977 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
35979 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
35981 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
35983 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
35985 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
35987 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
35989 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
35991 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
35994 2012-04-28 Joseph Myers <joseph@codesourcery.com>
35996 * conform/conformtest.pl: Fix typo in handling typed-constant from
35999 2012-04-27 Joseph Myers <joseph@codesourcery.com>
36001 * README: Cut down references to pre-2.6 Linux kernels and
36002 Linuxthreads. Update lists of configurations in libc and ports
36003 and sort alphabetically. Say "or newer" with Linux kernel version
36006 * config.h.in [IS_IN_build]: Allow compiling without optimization.
36008 2012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
36011 * math/libm-test.inc (logb_test_downward): New test to expose
36012 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
36015 2012-04-27 Joseph Myers <joseph@codesourcery.com>
36018 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
36020 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
36021 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
36023 2012-04-26 Joseph Myers <joseph@codesourcery.com>
36025 * sysdeps/unix/i386/brk.S: Remove file.
36026 * sysdeps/unix/i386/dl-brk.S: Likewise.
36027 * sysdeps/unix/i386/pipe.S: Likewise.
36028 * sysdeps/unix/i386/sigreturn.S: Likewise.
36029 * sysdeps/unix/i386/syscall.S: Likewise.
36030 * sysdeps/unix/i386/vfork.S: Likewise.
36031 * sysdeps/unix/i386/wait.S: Likewise.
36033 * sysdeps/unix/common/tcsendbrk.c: Move to ...
36034 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
36036 * configure.in (arm*-none*): Do not allow without
36037 --enable-hacker-mode.
36038 (netbsd*): Remove case setting base_os.
36039 (386bsd*): Likewise.
36040 (freebsd*): Likewise.
36043 (sunos*): Likewise.
36044 (ultrix*): Likewise.
36045 (newsos*): Likewise.
36046 (dynix*): Likewise.
36052 (minix*): Likewise.
36053 (irix4*): Likewise.
36054 (irix6*): Likewise.
36055 (solaris[2-9]*): Likewise.
36057 * configure: Regenerated.
36059 2012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
36062 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
36063 overflow or cancellation in calculating denominator.
36064 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
36065 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
36066 down expression to avoid unexpected rounding in newer GCCs.
36067 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
36069 2012-04-26 David S. Miller <davem@davemloft.net>
36071 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
36072 long-double compat symbols.
36073 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
36074 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
36075 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
36076 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
36077 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
36078 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
36079 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
36080 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
36081 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
36082 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
36083 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
36084 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
36085 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
36087 2012-04-25 David S. Miller <davem@davemloft.net>
36089 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
36090 HWCAP_* values only after the memory barriers have been defined.
36091 (atomic_full_barrier): Define.
36092 (atomic_read_barrier): Define.
36093 (atomic_write_barrier): Define.
36095 2012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
36097 * shlib-versions: Add libgcc_s version information.
36098 * sysdeps/generic/libgcc_s.h: Remove.
36099 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
36101 * sysdeps/gnu/unwind-resume.c: Likewise.
36102 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
36104 2012-04-25 David S. Miller <davem@davemloft.net>
36106 * sysdeps/unix/sparc/brk.S: Delete.
36107 * sysdeps/unix/sparc/dl-brk.S: Delete.
36108 * sysdeps/unix/sparc/pipe.S: Delete.
36109 * sysdeps/unix/sparc/sysdep.S: Delete.
36110 * sysdeps/unix/sparc/sysdep.h: Delete.
36111 * sysdeps/unix/sparc/vfork.S: Delete.
36112 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG)
36113 (SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
36114 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO)
36115 (ret_ERRVAL, r0, r1, MOVE): Define.
36116 (JUMPTARGET): Remove.
36117 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
36118 sysdeps/unix/sparc/sysdep.h
36119 (ENTRY, END): Remove.
36120 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
36122 2012-04-25 Joseph Myers <joseph@codesourcery.com>
36124 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
36125 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
36128 * timezone/README: Update upstream location and email address for
36130 * timezone/zdump.c: Update from tzcode 2012b.
36131 * timezone/zic.c: Likewise.
36133 * configure.in (libc_cv_as_needed): Remove test.
36134 * configure: Regenerated.
36135 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
36136 conditional definition.
36137 [$(have-as-needed) != yes] (no-as-needed): Likewise.
36138 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
36139 * config.make.in (have-as-needed): Remove variable.
36141 2012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
36142 Paul Pluzhnikov <ppluzhnikov@google.com>
36144 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
36147 2012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
36149 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
36150 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
36151 * sysdeps/sh/strlen.S: Likewise.
36153 2012-04-24 Joseph Myers <joseph@codesourcery.com>
36155 * sysdeps/unix/fork.S: Remove file.
36156 * sysdeps/unix/i386/fork.S: Likewise.
36157 * sysdeps/unix/sparc/fork.S: Likewise.
36159 * sysdeps/unix/system.c: Remove file.
36160 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
36162 * sysdeps/unix/getegid.S: Remove file.
36163 * sysdeps/unix/geteuid.S: Likewise.
36165 2012-04-24 Roland McGrath <roland@hack.frob.com>
36167 * scripts/check-localplt.awk: New file.
36168 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
36170 * scripts/data/localplt-generic.data: Add a comment.
36172 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
36173 NODE when __dir_mkfile failed.
36174 * sysdeps/mach/hurd/symlinkat.c: Likewise.
36175 Reported by Ludovic Courtès <ludo@gnu.org>.
36177 2012-04-24 Andreas Jaeger <aj@suse.de>
36179 * Makerules (common-clean): Also remove gen-as-const-headers
36182 2012-04-24 Joseph Myers <joseph@codesourcery.com>
36184 * Makerules (native-compile): Do not change working directory for
36185 build. Use $(OUTPUT_OPTION) in command.
36186 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
36188 2012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
36191 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
36192 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
36193 * math/libm-test.inc (floor_test): Add more tests.
36194 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
36196 2012-04-24 Joseph Myers <joseph@codesourcery.com>
36198 * sysdeps/unix/getdents.c: Remove file.
36199 * sysdeps/unix/sysv/getdents.c: Likewise.
36200 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
36202 * sysdeps/unix/syscalls.list (madvise): Add syscall from
36203 sysdeps/unix/mman/syscalls.list.
36205 (mprotect): Likewise.
36207 (munmap): Likewise.
36208 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
36209 * sysdeps/unix/mman/syscalls.list: Remove.
36210 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
36212 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
36213 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
36214 * configure: Regenerated.
36215 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
36216 $(libgcc_s_suffix).
36217 * config.make.in (libgcc_s_suffix): Remove variable.
36219 2012-04-23 Joseph Myers <joseph@codesourcery.com>
36221 * sysdeps/unix/sysv/gethostname.c: Move to ...
36222 * sysdeps/posix/gethostname.c: ... here.
36224 * sysdeps/unix/execve.S: Remove file.
36226 * sysdeps/unix/_exit.S: Remove file.
36228 2012-04-23 Andreas Jaeger <aj@suse.de>
36231 * manual/Makefile: Remove make dist support, there's no
36232 need for a stand-alone documentation tar ball.
36233 (TEXI2DVI): Define always, it's not in Makeconfig.
36236 (edition): Removed.
36237 (glibc-doc-$(edition).tar): Removed
36241 (ETAGS): Remove, it's in Makeconfig.
36242 (move-if-change): Remove, it's in Makeconfig.
36244 2012-04-23 Paul Eggert <eggert@cs.ucla.edu>
36247 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
36248 (strtod, strtof, strtold, strtol, strtoul, strtoq)
36249 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
36250 (strtod_l, strtof_l, strtold_l): Remove __wur.
36251 It is not necessarily an error to ignore strtol's return value.
36252 One can reliably look at the stored endptr to decide whether
36253 the number had valid syntax.
36255 2012-04-21 Andreas Jaeger <aj@suse.de>
36258 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
36260 2012-04-21 Joseph Myers <joseph@codesourcery.com>
36262 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
36263 * sysdeps/unix/sysv/Versions: Remove file.
36265 2012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
36268 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
36270 2012-04-21 Nick Alcock <nick.alcock@oracle.com>
36273 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
36274 version from __vm86.
36276 2012-04-20 Joseph Myers <joseph@codesourcery.com>
36278 * sysdeps/unix/common/lxstat.c: Remove file.
36279 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
36281 * sysdeps/unix/sysv/Makefile: Remove file.
36283 * sysdeps/unix/sysv/direct.h: Remove file.
36285 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
36286 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
36287 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
36288 * sysdeps/unix/sysv/bits/signum.h: Likewise.
36289 * sysdeps/unix/sysv/bits/stat.h: Likewise.
36290 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
36291 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
36293 * sysdeps/unix/sysv/setrlimit.c: Remove file.
36295 * sysdeps/unix/xmknod.c: Remove file.
36296 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
36298 * sysdeps/unix/sysv/settimeofday.c: Remove file.
36300 * sysdeps/unix/sysv/i386/time.S: Remove file.
36302 * sysdeps/unix/fxstat.c: Remove file.
36303 * sysdeps/unix/xstat.c: Likewise.
36304 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
36306 * sysdeps/unix/sysv/sigaction.c: Remove file.
36308 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
36309 (sysdep_headers): Remove variable.
36310 [termio.h not in sysdep_headers] (generated): Likewise.
36311 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
36312 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
36313 * sysdeps/unix/sysv/tcdrain.c: Likewise.
36314 * sysdeps/unix/sysv/tcflow.c: Likewise.
36315 * sysdeps/unix/sysv/tcflush.c: Likewise.
36316 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
36317 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
36318 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
36319 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
36320 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
36322 * sysdeps/unix/siglist.c: Remove file.
36324 * sysdeps/unix/getppid.S: Remove file.
36326 * sysdeps/unix/mkdir.c: Remove file.
36327 * sysdeps/unix/rmdir.c: Likewise.
36329 2012-04-19 Andreas Schwab <schwab@linux-m68k.org>
36331 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
36333 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
36334 errlist-compat value.
36336 2012-04-18 David S. Miller <davem@davemloft.net>
36338 * sysdeps/generic/memcopy.h (reg_char): Delete.
36339 * debug/strcat_chk.c: Use char, not reg_char.
36340 * debug/strcpy_chk.c: Likewise.
36341 * debug/strncat_chk.c: Likewise.
36342 * debug/strncpy_chk.c: Likewise.
36343 * string/memchr.c: Likewise.
36344 * string/memrchr.c: Likewise.
36345 * string/rawmemchr.c: Likewise.
36346 * string/strcat.c: Likewise.
36347 * string/strchr.c: Likewise.
36348 * string/strchrnul.c: Likewise.
36349 * string/strcmp.c: Likewise.
36350 * string/strcpy.c: Likewise.
36351 * string/strncat.c: Likewise.
36352 * string/strncmp.c: Likewise.
36353 * string/strncpy.c: Likewise.
36355 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
36357 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
36358 __builtin_memcopy is called when src and dest ranges are known to not
36361 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
36363 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
36364 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
36365 fwd_align_merge macro call.
36366 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
36367 bwd_align_merge macro call.
36368 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
36370 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
36372 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
36373 bwd_align_merge macros.
36374 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
36375 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
36376 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
36378 2012-04-18 David S. Miller <davem@davemloft.net>
36380 * sysdeps/sparc/sparc64/memcopy.h: Delete.
36382 2012-04-18 Andreas Jaeger <aj@suse.de>
36385 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
36386 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
36387 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
36389 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
36390 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
36391 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
36393 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
36394 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
36395 Adjust for changed ldbl-128 files.
36397 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
36398 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
36399 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
36401 2012-04-17 David S. Miller <davem@davemloft.net>
36403 * sysdeps/sparc/sparc32/memcopy.h: Delete.
36405 2012-04-17 Andreas Schwab <schwab@linux-m68k.org>
36407 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
36408 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
36409 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
36410 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
36411 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
36412 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
36414 2012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
36417 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
36418 * math/libm-test.inc: Add ilogb errno and exception tests.
36419 * math/w_ilogb.c: New file: ilogb wrapper.
36420 * math/w_ilogbf.c: New file: ilogbf wrapper.
36421 * math/w_ilogbl.c: New file: ilogbl wrapper.
36422 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
36423 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
36424 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
36425 exception being thrown with 0.0 as argument.
36426 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
36427 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
36428 exception being thrown with 0.0 as argument.
36429 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
36430 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
36431 exception being thrown with 0.0 as argument.
36432 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
36433 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
36434 exception being thrown with 0.0 as argument.
36435 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
36436 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
36437 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
36438 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
36439 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
36440 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
36441 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
36442 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
36443 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
36445 2012-04-17 Petr Baudis <pasky@ucw.cz>
36447 * include/sys/uio.h: Change __vector to __iovec to avoid clash
36450 2012-04-16 Marek Polacek <polacek@redhat.com>
36452 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
36454 2012-04-16 Marek Polacek <polacek@redhat.com>
36456 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
36457 operands of fdivp instruction.
36459 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
36461 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
36462 * elf/tst-auditmod3b.c: Likewise.
36463 * elf/tst-auditmod4b.c: Likewise.
36464 * elf/tst-auditmod5b.c: Likewise.
36465 * elf/tst-auditmod6b.c: Likewise.
36466 * elf/tst-auditmod6c.c: Likewise.
36467 * elf/tst-auditmod7b.c: Likewise.
36468 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
36469 * sysdeps/x86_64/preconfigure.in: Likewise.
36470 * sysdeps/x86_64/preconfigure: Regenerated.
36472 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
36474 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
36477 2012-04-13 Antoine Balestrat <merkil33@gmail.com>
36479 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
36480 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
36482 2012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
36485 * locale/iso-639.def: Fix gl language name. Spotted by
36488 2012-04-12 Roland McGrath <roland@hack.frob.com>
36491 * libio/libio.h (__io_write_fn): Update comment.
36493 2012-04-12 Petr Baudis <pasky@ucw.cz>
36496 * stdio.texi (Hook Functions): The user provided writer function
36497 is not allowed to return -1.
36499 2012-04-11 David S. Miller <davem@davemloft.net>
36501 * sysdeps/sparc/fpu/libm-test-ulps: Update.
36503 2012-04-11 Mike Frysinger <vapier@gentoo.org>
36505 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
36506 Add a leading slash to rtkaio.
36508 2012-04-11 Jim Meyering <meyering@redhat.com>
36511 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
36512 It is not necessarily an error to ignore fwrite's return
36513 value. One can reliably use ferror to test for errors after
36516 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
36518 * bits/types.h (__snseconds_t): New type.
36519 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
36521 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
36522 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
36523 (__SNSECONDS_T_TYPE): Likewise.
36524 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
36525 (__SNSECONDS_T_TYPE): Likewise.
36526 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
36527 (__SNSECONDS_T_TYPE): Likewise.
36529 2012-04-10 Andreas Jaeger <aj@suse.de>
36532 * manual/time.texi (Processor Time): Return type of times is
36533 elapsed real time since an arbitrary point in the past.
36534 (CPU Time): Move CLK_TCK from here...
36535 (Processor Time): ...to here. Correct description.
36536 * manual/conf.texi (Constants for Sysconf): Correct description of
36539 2012-04-10 David S. Miller <davem@davemloft.net>
36542 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
36543 where the is a gap between DT_REL(A) and DT_JMPREL.
36545 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
36547 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
36548 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
36549 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
36551 2012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
36553 * elf/dl-support.c (_dl_inhibit_cache): New variable.
36554 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
36555 (dl_main): Handle --inhibit-cache.
36556 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
36558 * elf/dl-load.c (_dl_map_object): Use it.
36559 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
36561 2012-04-09 Joseph Myers <joseph@codesourcery.com>
36564 * sysdeps/i386/fpu/e_powl.S (p78): New object.
36565 (__ieee754_powl): Saturate large exponents rather than testing for
36566 overflow of y*log2(x).
36567 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
36568 * math/libm-test.inc (pow_test): Do not permit spurious overflow
36572 * math/s_ctan.c: Include <float.h>.
36573 (__ctan): Avoid internal overflow or cancellation in calculating
36575 * math/s_ctanf.c: Likewise.
36576 * math/s_ctanl.c: Likewise.
36577 * math/s_ctanh.c: Likewise.
36578 * math/s_ctanhf.c: Likewise.
36579 * math/s_ctanhl.c: Likewise.
36580 * math/libm-test.inc (ctan_test): Add more tests.
36581 (ctanh_test): Likewise.
36582 * sysdeps/i386/fpu/libm-test-ulps: Update.
36583 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36585 2012-04-09 Andreas Jaeger <aj@suse.de>
36588 * manual/filesys.texi (Directory Entries): Mention that d_namlen
36589 is an optional BSD extension.
36592 * manual/stdio.texi (Opening Streams): Document additional fopen
36595 2012-04-09 Roland McGrath <roland@hack.frob.com>
36597 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
36598 %eax without telling the compiler.
36600 2012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
36603 * manual/install.texi: Use sourceware.org.
36605 2012-04-09 Joseph Myers <joseph@codesourcery.com>
36608 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
36609 (__ieee754_pow): Generate overflow and underflow using huge*huge
36610 and tiny*tiny rather than just returning constant infinity or zero
36611 for large exponents.
36612 * math/libm-test.inc (pow_test): Require overflow exceptions for
36613 applicable cases of large exponents.
36616 * sysdeps/i386/fpu/e_pow.S (p10): New object.
36617 (__ieee754_pow): Use iterative multiplication algorithm only for
36618 integer exponents with absolute value below 1024. Check for odd
36619 integer exponents when using algorithm for real exponents.
36620 * math/libm-test.inc (pow_test): Add more tests.
36621 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
36623 2012-04-08 Joseph Myers <joseph@codesourcery.com>
36626 * math/libm-test.inc (exp_test): Do not allow overflow exception
36629 2012-04-08 Aurelien Jarno <aurelien@aurel32.net>
36632 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
36633 instead of __kernel_standard_f.
36635 2012-04-08 Mike Frysinger <vapier@gentoo.org>
36637 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
36638 * sysdeps/x86_64/memset_chk.S: Likewise.
36640 2012-04-08 Andreas Jaeger <aj@suse.de>
36643 * manual/startup.texi (Environment Access): Describe return value
36644 for putenv and setenv.
36647 * manual/filesys.texi (Directory Entries): Add description for
36651 * manual/filesys.texi (Directory Entries): Clarify that it's file
36652 system not operating system in the description of DT_UNKNOWN.
36655 * manual/syslog.texi (closelog): Fix reference, it's openlog.
36657 2012-04-08 Stephen Compall <s11@member.fsf.org>
36660 * manual/llio.texi (Opening and Closing Files): Add cross
36661 reference to explain mode argument.
36663 2012-04-07 Mike Frysinger <vapier@gentoo.org>
36665 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
36666 * sysdeps/x86_64/memset_chk.S: Likewise.
36668 2012-04-07 David S. Miller <davem@davemloft.net>
36670 * elf/elf.h (R_SPARC_WDISP10): Define.
36671 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
36673 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
36674 R_SPARC_SIZE64 and R_SPARC_H34.
36676 2012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
36678 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
36679 conditions and remove no longer applicable assertion.
36681 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
36683 * bits/byteswap.h: Include <features.h>.
36684 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
36685 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
36687 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
36689 * bits/byteswap.h (__bswap_16): Removed.
36690 Include <bits/byteswap-16.h> to get __bswap_16.
36691 * sysdeps/i386/bits/byteswap.h: Likewise.
36692 * sysdeps/s390/bits/byteswap.h: Likewise.
36693 * sysdeps/x86_64/bits/byteswap.h: Likewise.
36694 * bits/byteswap-16.h: New file.
36695 * sysdeps/i386/bits/byteswap-16.h: Likewise.
36696 * sysdeps/s390/bits/byteswap-16.h: Likewise.
36697 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
36698 * string/Makefile (headers): Add bits/byteswap-16.h.
36700 2012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
36703 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
36705 * nss/Makefile (tests-static, tests): Add tst-nss-static.
36706 * nss/tst-nss-static.c: New.
36708 2012-04-06 Robert Millan <rmh@gnu.org>
36711 * manual/llio.texi (File Position Primitive): lseek
36712 refers to WHENCE when it really means OFFSET.
36714 2012-04-06 Andreas Jaeger <aj@suse.de>
36716 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
36717 strncmp declarations.
36719 * abilist/libc.abilist: Add __poll and __ppoll.
36721 2012-04-05 David S. Miller <davem@davemloft.net>
36723 * scripts/check-local-headers.sh: Accept a host triplet in the
36724 path matched by the exclude regexp.
36726 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
36728 * sysdeps/powerpc/powerpc32/dl-machine.h
36729 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
36730 * sysdeps/s390/s390-32/dl-machine.h
36731 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
36732 * sysdeps/sparc/sparc32/dl-machine.h
36733 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
36734 * sysdeps/sparc/sparc64/dl-machine.h
36735 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
36737 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
36739 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
36740 undefined symbol errors.
36742 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
36745 2012-04-05 Michael Matz <matz@suse.de>
36748 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
36750 2012-04-05 Andreas Jaeger <aj@suse.de>
36753 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
36756 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
36758 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
36759 which ROUND is no valid rounding mode.
36761 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
36763 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
36765 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
36767 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
36769 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
36770 an exception using FPU order intentionally.
36772 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
36774 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
36775 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
36776 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
36777 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
36779 2012-04-05 Simon Josefsson <simon@josefsson.org>
36782 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
36783 EINVAL when BUFLEN is too smal.
36785 2012-04-05 Thomas Schwinge <thomas@codesourcery.com>
36788 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
36789 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
36791 2012-04-03 Andreas Jaeger <aj@suse.de>
36794 * manual/setjmp.texi (System V contexts): Fix sentence.
36797 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
36798 New macro for this case.
36799 [!__GNUC__] (__bswap_64): New inline function for this case.
36800 * sysdeps/x86_64/bits/byteswap.h: Likewise.
36801 * bits/byteswap.h: Likewise.
36802 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
36803 ull, guard with __GLIBC_HAVE_LONG_LONG.
36805 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
36806 __GLIBC_HAVE_LONG_LONG.
36808 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
36809 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
36811 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
36814 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
36815 inptr and inend, rather than using last_ch.
36817 2012-04-02 David S. Miller <davem@davemloft.net>
36819 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
36820 * stdio-common/printf-parse.h (read_int): Change return type to
36821 'int', return -1 on INT_MAX overflow.
36822 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
36823 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
36824 overflows INT_MAX. Check for overflow of in-format-string precision
36825 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
36826 SIZE_MAX not INT_MAX for integer overflow test.
36827 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
36828 skip the construct in the format string but do not record anything.
36829 * stdio-common/bug22.c: Adjust to test both width/prevision
36830 INT_MAX overflow as well as total length INT_MAX overflow. Check
36831 explicitly for proper errno values.
36833 2012-04-02 Thomas Schwinge <thomas@codesourcery.com>
36835 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
36837 * string/test-strcmp.c [! WIDE]: Likewise.
36838 * time/tst-mktime2.c: Likewise for INT_MAX.
36839 * string/test-string.h: #include <sys/param.h> for MIN.
36841 * csu/init-first.c (__libc_init_first): Call __ctype_init.
36842 * sysdeps/i386/init-first.c (init): Likewise.
36843 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
36844 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
36845 * sysdeps/sh/init-first.c (init): Likewise.
36847 2012-04-01 Ulrich Drepper <drepper@gmail.com>
36849 * po/ru.po: Update from translation team.
36850 * po/vi.po: Likewise.
36852 2012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
36854 * resolv/nss_dns/dns-host.c: Merge copyright years.
36856 2012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
36858 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
36859 Optimize memcpy with prefetch if
36860 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
36861 src, dst pointers have unequal 16 byte alignments.
36863 2012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
36866 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
36867 from a CNAME entry and return the minimum ttl for the query.
36868 (gaih_getanswer_slice): Likewise.
36870 2012-03-30 Jeff Law <law@redhat.com>
36872 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
36874 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
36875 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
36877 * resolv/nss_dns/dns-host.c: Update copyright year.
36879 2012-03-30 Ulrich Drepper <drepper@gmail.com>
36881 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
36882 requests to save a system call. Fix check that all bytes are sent.
36884 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
36885 comments for sendmmsg.
36887 2012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
36890 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
36891 with only 1 character between 0x0041 and 0x01b0.
36892 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
36893 * wcsmbs/tst-mbsnrtowcs.c: New file.
36895 2012-03-29 David S. Miller <davem@davemloft.net>
36897 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
36898 small copies by hand.
36900 2012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
36903 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss)
36904 (_nss_compat_initgroups_dyn): Fall back to malloc/free for large
36907 2012-03-28 David S. Miller <davem@davemloft.net>
36909 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
36910 that branches into memcpy.
36911 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
36912 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
36913 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
36914 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
36915 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
36917 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
36918 implementation too.
36919 * sysdeps/sparc/mempcpy.S: New file.
36921 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
36922 the IFUNC routine in the libc case.
36923 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
36925 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
36926 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
36927 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
36928 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
36929 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
36930 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
36931 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
36932 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
36934 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
36935 loop to 256 bytes instead of 64 bytes and fix test signedness.
36937 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
36938 * sysdeps/sparc/sparc32/Makefile: rather than here...
36939 * sysdeps/sparc/sparc64/Makefile: and here.
36941 2012-03-28 Ulrich Drepper <drepper@gmail.com>
36943 * malloc/mallocbug.c: Avoid warnings about unused variables.
36945 2012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
36948 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
36949 in the right place. Discard and retry query if response is
36950 larger than input buffer size.
36952 2012-03-28 Joseph Myers <joseph@codesourcery.com>
36957 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
36958 x for large integer exponent.
36959 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
36960 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
36961 sign of result as needed afterwards.
36962 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
36963 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
36964 result for underflowing pow the same as for overflow.
36965 (__kernel_standard_l): Handle powl overflow and underflow here
36966 rather than calling __kernel_standard.
36967 * math/libm-test.inc (pow_test): Add more tests.
36982 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
36983 * sysdeps/ieee754/k_standard.c: Include <float.h>.
36984 (__kernel_standard_l): New function.
36985 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
36987 * math/w_acosl.c (__acosl): Likewise.
36988 * math/w_asinl.c (__asinl): Likewise.
36989 * math/w_atan2l.c (__atan2l): Likewise.
36990 * math/w_atanhl.c (__atanhl): Likewise.
36991 * math/w_coshl.c (__coshl): Likewise.
36992 * math/w_exp10l.c (__exp10l): Likewise.
36993 * math/w_exp2l.c (__exp2l): Likewise.
36994 * math/w_fmodl.c (__fmodl): Likewise.
36995 * math/w_hypotl.c (__hypotl): Likewise.
36996 * math/w_j0l.c (__j0l, __y0l): Likewise.
36997 * math/w_j1l.c (__j1l, __y1l): Likewise.
36998 * math/w_jnl.c (__jnl, __ynl): Likewise.
36999 * math/w_lgammal.c (__lgammal): Likewise.
37000 * math/w_log10l.c (__log10l): Likewise.
37001 * math/w_log2l.c (__log2l): Likewise.
37002 * math/w_logl.c (__logl): Likewise.
37003 * math/w_powl.c (__powl): Likewise.
37004 * math/w_remainderl.c (__remainderl): Likewise.
37005 * math/w_scalbl.c (sysv_scalbl): Likewise.
37006 * math/w_sinhl.c (__sinhl): Likewise.
37007 * math/w_sqrtl.c (__sqrtl): Likewise.
37008 * math/w_tgammal.c (__tgammal): Likewise.
37009 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
37010 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
37011 * math/libm-test.inc (acos_test): Add more tests.
37012 (acosh_test): Likewise.
37013 (asin_test): Likewise.
37014 (atanh_test): Likewise.
37015 (exp_test): Likewise.
37016 (exp10_test): Likewise.
37017 (exp2_test): Likewise.
37018 (expm1_test): Likewise.
37019 (lgamma_test): Likewise.
37020 (log_test): Likewise.
37021 (log10_test): Likewise.
37022 (log1p_test): Likewise.
37023 (log2_test): Likewise.
37024 (pow_test): Do not allow some spurious overflow exceptions.
37025 (sqrt_test): Add more tests.
37026 (tgamma_test): Likewise.
37027 (y0_test): Likewise.
37028 (y1_test): Likewise.
37029 (yn_test): Likewise.
37031 2012-03-27 Anton Blanchard <anton@samba.org>
37033 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
37035 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
37036 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
37037 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
37039 2012-03-27 David S. Miller <davem@davemloft.net>
37041 * conform/Makefile: Run run-conformtest.sh using $(BASH).
37043 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
37044 have-as-vis3 check.
37046 2012-03-27 Andreas Jaeger <aj@suse.de>
37048 * sysdeps/x86_64/elf/configure.in: Moved to ...
37049 * sysdeps/x86_64/configure.in: ... here.
37050 * sysdeps/x86_64/elf/start.S: Moved to ...
37051 * sysdeps/x86_64/start.S: ... here.
37052 * sysdeps/x86_64/elf/configure: Delete.
37054 * sysdeps/x86_64/configure.in: Merge contents from
37055 sysdeps/i386/configure.in (without i686 check).
37057 * sysdeps/i386/elf/Versions: Merge into ...
37058 * sysdeps/i386/Versions: ... this.
37059 * sysdeps/i386/elf/Versions: Delete file.
37060 * sysdeps/i386/elf/start.S: Moved to ...
37061 * sysdeps/i386/start.S: ...here.
37062 * sysdeps/i386/elf/configure.in: Merge into...
37063 * sysdeps/i386/configure.in: ...here.
37064 * sysdeps/i386/elf/configure.in: Delete file.
37065 * sysdeps/i386/elf/configure: Delete file.
37067 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
37068 * debug/backtracesyms.c: ... here.
37069 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
37070 * debug/backtracesymsfd.c: ... here.
37071 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
37072 * sysdeps/generic/ifunc-sel.h: ... here.
37074 * sysdeps/unix/i386/start.c: Delete file.
37075 * sysdeps/unix/sparc/start.c: Delete file.
37076 * sysdeps/unix/start.c: Delete file.
37078 * sysdeps/sh/elf/configure.in: Moved to ...
37079 * sysdeps/sh/configure.in: ... here.
37080 * sysdeps/sh/elf/start.S: Moved to ...
37081 * sysdeps/sh/start.S: ... here.
37082 * sysdeps/sh/elf/configure: Delete file.
37084 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
37085 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
37086 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
37087 * sysdeps/powerpc/powerpc64/entry.h: ... here.
37088 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
37089 * sysdeps/powerpc/powerpc64/start.S: here.
37090 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
37091 * sysdeps/powerpc/powerpc64/Makefile: ... this.
37092 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
37093 * sysdeps/powerpc/powerpc64/configure.in: ... this.
37094 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
37096 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
37097 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
37098 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
37099 * sysdeps/powerpc/powerpc32/start.S: ... here.
37100 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
37101 * sysdeps/powerpc/powerpc32/configure.in: ... this.
37102 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
37104 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
37105 * sysdeps/powerpc/ifunc-sel.h: ... here.
37106 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
37107 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
37109 * sysdeps/sparc/elf/configure.in: Moved to ...
37110 * sysdeps/sparc/configure.in: ... here.
37111 * sysdeps/sparc/elf/configure: Delete file.
37112 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
37113 * sysdeps/sparc/sparc32/start.S: ... here.
37114 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
37115 * sysdeps/sparc/sparc64/start.S: ... here.
37116 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
37117 * sysdeps/sparc/sparc32/Makefile: ... this.
37118 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
37119 * sysdeps/sparc/sparc64/Makefile: ... this.
37121 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
37122 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
37123 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
37124 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
37125 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
37126 * sysdeps/s390/s390-32/setjmp.S: ... here.
37127 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
37128 * sysdeps/s390/s390-32/configure.in: ... here.
37129 * sysdeps/s390/s390-32/elf/configure: Delete file.
37130 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
37131 * sysdeps/s390/s390-32/start.S: ... here.
37133 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
37134 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
37135 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
37136 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
37137 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
37138 * sysdeps/s390/s390-64/setjmp.S: ... here.
37139 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
37140 * sysdeps/s390/s390-64/configure.in: ... here
37141 * sysdeps/s390/s390-64/elf/configure: Delete file.
37142 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
37143 * sysdeps/s390/s390-64/start.S: ... here.
37144 * sysdeps/s390/s390-64/elf/configure: Delete.
37146 * configure.in: Remove support for elf directories in sysdeps.
37148 * configure: Regenerated.
37149 * sysdeps/i386/configure: Regenerated.
37150 * sysdeps/powerpc/powerpc32/configure: Regenerated.
37151 * sysdeps/powerpc/powerpc64/configure: Regenerated.
37152 * sysdeps/s390/s390-32/configure: Regenerated.
37153 * sysdeps/s390/s390-64/configure: Regenerated.
37154 * sysdeps/sh/configure: Regenerated.
37155 * sysdeps/sparc/configure: Regenerated.
37156 * sysdeps/x86_64/configure: Regenerated.
37158 2012-03-26 Andreas Schwab <schwab@linux-m68k.org>
37160 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
37162 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
37163 denormal result into account.
37165 2012-03-25 Roland McGrath <roland@hack.frob.com>
37167 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
37168 Reported by Allan McRae <allan@archlinux.org>.
37170 2012-03-23 Jeff Law <law@redhat.com>
37172 * nss/getnssent.c (__nss_getent): Fix typo.
37174 2012-03-23 David S. Miller <davem@davemloft.net>
37176 * sysdeps/sparc/fpu/libm-test-ulps: Update.
37178 2012-03-23 H.J. Lu <hongjiu.lu@intel.com>
37180 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
37181 to pad to uint64_t for each field.
37182 (dl_tls_index): Replace unsigned long with uint64_t.
37184 2012-03-23 Daniel Jacobowitz <dmj@google.com>
37185 Paul Pluzhnikov <ppluzhnikov@google.com>
37188 * grp/Makefile (otherlibs): Don't set it.
37189 * inet/Makefile (otherlibs): Likewise.
37190 * login/Makefile (otherlibs): Likewise.
37191 * nscd/Makefile (otherlibs): Likewise.
37192 * posix/Makefile (otherlibs): Likewise.
37193 * pwd/Makefile (otherlibs): Likewise.
37194 * rt/Makefile (otherlibs): Likewise.
37195 * sunrpc/Makefile (otherlibs): Likewise.
37196 * nss/Makefile (otherlibs): Likewise.
37197 Add libnss_files to routines and static-only-routines.
37198 ($(objpfx)getent): Remove rule.
37199 * resolv/Makefile: Add libnss_dns and libresolv to routines and
37200 static-only-routines.
37202 2012-03-22 Joseph Myers <joseph@codesourcery.com>
37205 * math/s_cexp.c: Include <float.h>.
37206 (__cexp): Handle exp result overflowing not necessarily
37207 overflowing both real and imaginary parts of result.
37208 * math/s_cexpf.c: Likewise.
37209 * math/s_cexpl.c: Likewise.
37210 * math/libm-test.inc (cexp_test): Add more tests.
37211 * sysdeps/i386/fpu/libm-test-ulps: Update.
37212 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37214 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
37216 * include/link.h (ELFW): New macro.
37217 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
37218 Replace ELF64_R_TYPE with ELFW(R_TYPE).
37220 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
37222 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
37225 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
37227 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
37229 (struct La_x32_retval): Likewise.
37231 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
37233 * sysdeps/x86_64/preconfigure.in: New file.
37234 * sysdeps/x86_64/preconfigure: New generated file.
37236 2012-03-22 Joseph Myers <joseph@codesourcery.com>
37239 * math/e_exp2l.c: Include <float.h>.
37240 (__ieee754_exp2l): Handle overflow and underflow cases
37241 separately. Only pass fractional part of argument to
37243 * math/libm-test.inc (exp2_test): Add more tests.
37245 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
37246 negating x to take absolute value.
37247 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
37249 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
37250 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
37252 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
37253 computing low part if x was negated.
37254 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
37256 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
37258 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
37259 la_x32_gnu_pltexit.
37260 (pltexit): Cast int_retval to ptrdiff_t.
37261 * elf/tst-auditmod3b.c: Likewise.
37262 * elf/tst-auditmod4b.c: Likewise.
37263 * elf/tst-auditmod5b.c: Likewise.
37264 * elf/tst-auditmod6b.c: Likewise.
37265 * elf/tst-auditmod6c.c: Likewise.
37266 * elf/tst-auditmod7b.c: Likewise.
37268 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
37269 and x32_gnu_pltexit.
37271 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
37272 __ELF_NATIVE_CLASS.
37273 (La_x32_regs): New macro.
37274 (La_x32_retval): Likewise.
37275 (la_x32_gnu_pltenter): New function prototype.
37276 (la_x32_gnu_pltexit): Likewise.
37278 2012-03-21 Andreas Schwab <schwab@linux-m68k.org>
37280 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
37283 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
37285 * configure.in (libc_cv_cc_nofma): Check for option to disable
37286 generation of FMA instructions.
37287 * configure: Regenerate.
37288 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
37289 * sysdeps/ieee754/dbl-64/Makefile: New file.
37290 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
37291 Remove brandred-fma4.
37292 (CFLAGS-brandred-fma4.c): Remove.
37293 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
37294 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
37296 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
37299 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
37301 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
37302 LLONG_MAX != LONG_MAX.
37303 (_itoa_word): Use _ITOA_WORD_TYPE on value.
37304 (_fitoa_word): Likewise.
37305 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
37306 LLONG_MAX != LONG_MAX.
37307 * stdio-common/_itowa.h: Include <_itoa.h>.
37308 (_itowa_word): Use _ITOA_WORD_TYPE on value.
37309 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
37310 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
37311 only if not defined.
37312 (_ITOA_WORD_TYPE): Likewise.
37313 (_itoa_word): Use _ITOA_WORD_TYPE on value.
37314 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
37316 2012-03-21 David S. Miller <davem@davemloft.net>
37318 * sysdeps/sparc/fpu/libm-test-ulps: Update.
37320 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
37322 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
37323 of x86_64 when setting libc_cv_slibdir, libdir and
37325 * sysdeps/unix/sysv/linux/configure: Regenerated.
37327 2012-03-21 Joseph Myers <joseph@codesourcery.com>
37329 * manual/lang.texi (Old Varargs): Remove section.
37330 (How Variadic): Update menu.
37331 (va_start): Do not mention varargs.h.
37333 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
37334 Joseph Myers <joseph@codesourcery.com>
37336 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
37338 * configure: Regenerated.
37340 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
37342 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
37343 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
37346 2012-03-21 Joseph Myers <joseph@codesourcery.com>
37349 * Makefile (files-for-dist): Remove NOTES.
37350 (NOTES): Remove rule.
37351 * README: Don't refer to NOTES.
37352 * manual/creature.texi: Don't include macros.texi.
37353 * manual/intro.texi (creature.texi): Remove comment referring to
37356 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
37357 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
37358 * configure: Regenerated.
37359 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
37360 LIBC_TRY_CC_OPTION.
37361 (libc_cv_as_i686): Likewise.
37362 (libc_cv_cc_avx): Likewise.
37363 (libc_cv_cc_sse2avx): Likewise.
37364 (libc_cv_cc_fma4): Likewise.
37365 (libc_cv_cc_novzeroupper): Likewise.
37366 * sysdeps/i386/configure: Regenerated.
37369 * sysdeps/i386/fpu/s_cexp.S: Remove.
37370 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
37371 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
37372 * math/libm-test.inc (cexp_test): Add more tests.
37373 * sysdeps/i386/fpu/libm-test-ulps: Update.
37374 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37376 2012-03-21 Allan McRae <allan@archlinux.org>
37378 * timezone/Makefile: Do not install iso3166.tab and zone.tab
37380 2012-03-21 Joseph Myers <joseph@codesourcery.com>
37383 * math/w_exp2.c: Do not include <float.h>.
37384 (o_threshold, u_threshold): Remove.
37385 (__exp2): Calculate result before checking finiteness and calling
37387 * math/w_exp2f.c: Likewise.
37388 * math/w_exp2l.c: Likewise.
37389 * math/libm-test.inc (exp2_test): Require overflow exception for
37393 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
37394 range of signed 64-bit integers before using fistpll. Remove
37395 checks for whether integers fit in mantissa bits.
37396 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
37397 the range of signed 32-bit integers before using fistpl. Remove
37398 checks for whether integers fit in mantissa bits.
37399 * sysdeps/i386/fpu/e_powl.S (p64): New object.
37400 (__ieee754_powl): Test for y outside the range of signed 64-bit
37401 integers before using fistpll. Reduce 64-bit values to 63-bit
37403 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
37404 divide-by-zero is raised for zero to large negative powers.
37405 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
37406 (__ieee754_powl): Test for y outside the range of signed 64-bit
37407 integers before using fistpll. Reduce 64-bit values to 63-bit
37409 * math/libm-test.inc (pow_test): Add more tests.
37411 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
37413 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
37414 <stdio-common/_itoa.h>.
37415 * debug/segfault.c: Likewise.
37416 * elf/dl-cache.c: Likewise.
37417 * elf/dl-minimal.c: Likewise.
37418 * elf/dl-misc.c: Likewise.
37419 * elf/dl-sysdep.c: Likewise.
37420 * elf/dl-version.c: Likewise.
37421 * elf/rtld.c: Likewise.
37422 * hurd/hurdsock.c: Likewise.
37423 * hurd/lookup-retry.c: Likewise.
37424 * malloc/malloc.c: Likewise.
37425 * malloc/mtrace.c: Likewise.
37426 * nscd/nscd_getgr_r.c: Likewise.
37427 * nscd/nscd_getpw_r.c: Likewise.
37428 * nscd/nscd_getserv_r.c: Likewise.
37429 * posix/getopt_init.c: Likewise.
37430 * posix/wordexp.c: Likewise.
37431 * stdio-common/_itoa.c: Likewise.
37432 * stdio-common/printf_fphex.c: Likewise.
37433 * stdio-common/vfprintf.c: Likewise.
37434 * string/_strerror.c: Likewise.
37435 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
37436 * sysdeps/i386/i686/hp-timing.h: Likewise.
37437 * sysdeps/mach/_strerror.c: Likewise.
37438 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
37439 * sysdeps/mach/hurd/sethostid.c: Likewise.
37440 * sysdeps/mach/hurd/xmknodat.c: Likewise.
37441 * sysdeps/mach/xpg-strerror.c: Likewise.
37442 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
37443 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
37444 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
37445 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
37446 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
37447 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
37448 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
37449 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
37450 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
37451 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
37452 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
37453 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
37454 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
37455 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
37456 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
37457 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
37458 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
37459 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
37460 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
37461 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
37462 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
37464 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
37466 * stdio-common/_itoa.h: Moved to ...
37467 * sysdeps/generic/_itoa.h: Here.
37469 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
37471 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
37472 instead of "_itoa.h" and "_itowa.h".
37473 * stdio-common/vfprintf.: Likewise.
37475 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
37477 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
37479 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
37480 (__signbit): Likwise.
37481 (llrintf): Likwise.
37484 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
37486 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
37489 2012-03-20 Joseph Myers <joseph@codesourcery.com>
37491 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
37492 OVERFLOW_EXCEPTION_OK.
37493 * math/libm-test.inc ("Philosophy"): Update comment about
37495 (OVERFLOW_EXCEPTION): Define.
37496 (OVERFLOW_EXCEPTION_OK): Likewise.
37497 (INVALID_EXCEPTION_OK): Renumber.
37498 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
37499 (IGNORE_ZERO_INF_SIGN): Likewise.
37500 (test_exceptions): Handle FE_OVERFLOW.
37501 (exp10_test): Expect overflow exceptions.
37502 (exp2_test): Likewise.
37503 (expm1_test): Likewise.
37504 (nextafter_test): Likewise.
37505 (pow_test): Likewise.
37506 (scalbn_test): Likewise.
37507 (scalbln_test): Likewise.
37509 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
37511 * sysdeps/x86_64/bits/atomic.h
37512 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
37514 (atomic_exchange_acq): Likewise.
37515 (__arch_exchange_and_add_body): Likewise.
37516 (__arch_add_body): Likewise.
37517 (atomic_add_negative): Likewise.
37518 (atomic_add_zero): Likewise.
37520 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
37522 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
37523 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
37525 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
37527 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
37528 Check __x86_64__ instead of __WORDSIZE.
37530 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
37532 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
37534 2012-03-19 David S. Miller <davem@davemloft.net>
37536 * sysdeps/sparc/fpu/libm-test-ulps: Update.
37538 * sysdeps/sparc/fpu/fenv_private.h: New file.
37539 * sysdeps/sparc/fpu/math_private.h: Use it.
37540 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
37542 (libc_feholdexcept_setround, libc_feholdexcept_setroundf)
37543 (libc_feholdexcept_setroundl): Remove.
37544 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
37546 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
37547 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
37549 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
37551 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
37552 int64_t instead of long int.
37553 (INSERT_WORDS64): Likwise.
37555 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
37557 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
37558 _Unwind_GetCFA return to _Unwind_Ptr first.
37560 2012-03-19 Joseph Myers <joseph@codesourcery.com>
37563 * math/s_clog.c: Include <float.h>.
37564 (__clog): Scale large or subnormal inputs.
37565 * math/s_clogf.c: Likewise.
37566 * math/s_clogl.c: Likewise.
37567 * math/s_clog10.c: Include <float.h>.
37568 (M_LOG10_2): Define.
37569 (__clog10): Scale large or subnormal inputs.
37570 * math/s_clog10f.c: Likewise.
37571 * math/s_clog10l.c: Likewise.
37572 * math/libm-test.inc (clog_test): Add more tests.
37573 (clog10_test): Likewise.
37574 * sysdeps/i386/fpu/libm-test-ulps: Update.
37575 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37578 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
37580 * math/libm-test.inc (atan2_test): Add another test.
37582 * Makerules (common-objdir-compile): Remove.
37583 * sysdeps/unix/Makefile (config-generated): Do not add
37584 $(unix-generated) to variable.
37585 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
37586 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
37588 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
37590 [generic bits/local_lim.h] (before-compile): Do not append to
37592 [generic bits/local_lim.h] (common-generated): Likewise.
37593 [generic sys/param.h] (before-compile): Do not append to variable.
37594 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
37595 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
37596 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
37597 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
37599 [generic sys/param.h] (sys/param.h-includes): Remove variable.
37600 [generic sys/param.h] (sys/param.h-includes): Remove rule.
37601 [generic sys/param.h] ($(addprefix
37602 $(common-objpfx),$(sys/param.h-includes))): Likewise.
37603 [generic sys/param.h] (common-generated): Do not append to
37605 [generic sys/param.h] (sysdep_headers): Likewise.
37606 [generic bits/errno.h] (before-compile): Do not append to
37608 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
37610 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
37611 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
37612 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
37613 [generic bits/errno.h] (common-generated): Do not append to
37615 [generic bits/ioctls.h] (before-compile): Do not append to
37617 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
37619 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
37620 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
37621 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
37623 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
37624 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
37625 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
37626 [generic bits/ioctls.h] (common-generated): Do not append to
37628 [generic sys/syscall.h] (syscall.h): Remove variable.
37629 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
37631 [generic sys/syscall.h] (before-compile): Do not append to
37633 [generic sys/syscall.h] (common-generated): Likewise.
37634 * sysdeps/unix/errnos-tmpl.c: Remove file.
37635 * sysdeps/unix/errnos.awk: Likewise.
37636 * sysdeps/unix/ioctls-tmpl.c: Likewise.
37637 * sysdeps/unix/ioctls.awk: Likewise.
37638 * sysdeps/unix/mk-local_lim.c: Likewise.
37639 * sysdeps/unix/snarf-ioctls: Likewise.
37641 2012-03-19 Richard Henderson <rth@twiddle.net>
37643 * sysdeps/i386/fpu/fenv_private.h: New file.
37644 * sysdeps/i386/fpu/math_private.h: Use it.
37645 (math_opt_barrier, math_force_eval): Remove.
37646 (libc_feholdexcept_setround_53bit): Remove.
37647 (libc_feupdateenv_53bit): Remove.
37648 * sysdeps/x86_64/fpu/math_private.h: Likewise.
37649 (math_opt_barrier, math_force_eval): Remove.
37650 (libc_feholdexcept): Remove.
37651 (libc_feholdexcept_setround): Remove.
37652 (libc_fetestexcept, libc_fesetenv): Remove.
37653 (libc_feupdateenv_test): Remove.
37654 (libc_feupdateenv, libc_feholdsetround): Remove.
37655 (libc_feresetround): Remove.
37657 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
37658 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
37660 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
37661 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
37662 (libc_feupdateenv_testl): New.
37663 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
37664 (libc_feupdateenv_testf): New.
37665 (libc_feupdateenv): Use libc_feupdateenv_test.
37666 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
37667 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
37669 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
37670 (libc_feholdsetroundf, libc_feholdsetroundl): New.
37671 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
37672 (libc_feresetround_noex): New.
37673 (libc_feresetround_noexf): New.
37674 (libc_feresetround_noexl): New.
37675 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
37676 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
37677 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
37678 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
37680 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
37681 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
37683 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
37684 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
37685 SET_RESTORE_ROUND_NOEX.
37686 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
37687 SET_RESTORE_ROUND_NOEXF.
37688 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
37689 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
37690 (libc_feholdsetroundf): New.
37691 (libc_feresetround, libc_feresetroundf): New.
37693 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
37694 (libc_feholdexcept_setround_53bit): Convert from macro to function.
37695 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
37697 * sysdeps/generic/math_private.h: Include <fenv.h>.
37698 (default_libc_feholdexcept): New.
37699 (default_libc_feholdexcept_setround): New.
37700 (default_libc_fesetenv, default_libc_feupdateenv): New.
37701 (libc_feholdexcept): Only define if undefined.
37702 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
37703 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
37704 (libc_feholdexcept_setroundl): Likewise.
37705 (libc_feholdexcept_setround_53bit): Likewise.
37706 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
37707 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
37708 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
37709 (libc_feupdateenv_53bit): Likewise.
37710 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
37711 (libc_feholdexcept): Convert from macro to inline function.
37712 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
37713 (libc_fesetenv, libc_feupdateenv): Likewise.
37715 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
37716 not previously defined.
37717 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
37718 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
37719 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
37720 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
37721 * sysdeps/ieee754/flt-32/math_private.h: New file.
37722 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
37723 math_private.h below SET_FLOAT_WORD.
37724 (__isnan, __isinf_ns, __finite): Remove.
37725 (__isnanf, __isinf_nsf, __finitef): Remove.
37727 2012-03-18 Andreas Schwab <schwab@linux-m68k.org>
37729 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
37731 2012-03-17 David S. Miller <davem@davemloft.net>
37734 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
37737 2012-03-16 David S. Miller <davem@davemloft.net>
37739 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
37743 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
37745 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
37746 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
37747 sysdep_routines when subdir is sysvipc.
37748 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
37749 __getshmlba helper.
37751 * sysdeps/sparc/fpu/libm-test/ulps: Update.
37753 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
37755 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
37758 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
37760 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
37761 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
37762 (__lround): Renamed to ...
37763 (__llround): This. Replace long int with long long int.
37764 Define lround functions as aliases of llround functions.
37765 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
37767 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
37769 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
37770 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
37771 adresses to uintptr_t. Replace "long int" and "unsigned long
37772 int" with "greg_t" on va_arg.
37774 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
37776 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
37777 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
37779 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
37780 Move e_machine check before EI_CLASS check. Handle x32
37781 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
37782 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
37783 SKIP_EM_IA_64 and include
37784 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
37786 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
37787 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
37788 (add_system_dir): New macro.
37790 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
37791 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
37793 2012-03-16 Joseph Myers <joseph@codesourcery.com>
37804 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
37806 * math/w_j0f.c (j0f): Likewise.
37808 * math/w_j0l.c (__j0l): Likewise.
37810 * math/w_j1.c (j1): Likewise.
37812 * math/w_j1f.c (j1f): Likewise.
37814 * math/w_j1l.c (__j1l): Likewise.
37816 * math/w_jn.c (jn): Likewise.
37818 * math/w_jnf.c (jnf): Likewise.
37820 * math/w_jnl.c (__jnl): Likewise.
37822 * math/libm-test.inc (j0_test): Add more tests.
37823 (j1_test): Likewise.
37824 (jn_test): Likewise. Add trailing semicolon to existing test.
37825 (y0_test): Likewise.
37826 (y1_test): Likewise.
37827 * sysdeps/i386/fpu/libm-test-ulps: Update.
37828 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37832 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
37833 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
37834 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
37835 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
37836 (__tanl): Set errno for infinite argument.
37837 * sysdeps/i386/fpu/mptan.c: Remove.
37838 * sysdeps/i386/fpu/s_tan.S: Likewise.
37839 * sysdeps/i386/fpu/s_tanl.S: Likewise.
37840 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
37841 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
37842 * math/libm-test.inc (tan_test): Add more tests and enable more
37843 tests for double and long double.
37844 * sysdeps/i386/fpu/libm-test-ulps: Update.
37845 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37847 2012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
37849 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
37850 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
37852 2012-03-16 Roland McGrath <roland@hack.frob.com>
37854 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
37855 * configure.in: Use it for both main tree and add-ons.
37856 * configure: Regenerated.
37858 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
37860 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
37862 2012-03-16 Joseph Myers <joseph@codesourcery.com>
37864 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
37868 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
37869 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
37870 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
37871 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
37872 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
37874 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
37875 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
37876 != 0 for prec == 2.
37877 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
37878 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
37879 * sysdeps/i386/fpu/s_cosl.S: Likewise.
37880 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
37881 * sysdeps/i386/fpu/s_sinl.S: Likewise.
37882 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
37883 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
37884 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
37885 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
37886 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
37887 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
37888 * math/libm-test.inc (cos_test): Add more tests and enable more
37889 tests for long double.
37890 (sin_test): Likewise.
37891 (sincos_test): Likewise.
37892 * sysdeps/i386/fpu/libm-test-ulps: Update.
37893 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37895 2012-03-16 David S. Miller <davem@davemloft.net>
37897 * sysdeps/sparc/fpu/math_private.h: New file.
37899 2012-03-15 David S. Miller <davem@davemloft.net>
37901 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
37903 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
37904 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
37906 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
37907 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
37908 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
37909 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
37910 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
37911 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
37913 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
37915 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
37916 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
37918 * sysdeps/sparc/sparc-ifunc.h: New file.
37919 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
37921 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
37922 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
37924 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
37926 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
37927 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
37928 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
37929 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
37931 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
37932 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
37933 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
37934 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
37935 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
37937 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
37939 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
37940 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
37941 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
37942 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
37943 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
37944 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
37945 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
37946 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
37947 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
37948 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
37949 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
37950 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
37951 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
37952 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
37953 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
37954 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
37955 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
37956 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
37957 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
37958 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
37959 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
37960 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
37961 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
37962 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
37964 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
37966 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
37968 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
37970 2012-03-15 Andreas Jaeger <aj@suse.de>
37973 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
37974 ieee754/flt-32 implementation for sin, cos and sincos.
37975 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
37976 * sysdeps/i386/fpu/s_cosf.S: Likewise.
37977 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
37978 * sysdeps/i386/fpu/s_sinf.S: Likewise.
37979 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
37980 ieee754/flt-32 implementation for tan.
37982 * math/libm-test.inc (cos_test): Enable some large input tests for
37984 (sin_test): Likewise.
37985 (sincos_test): Likewise.
37986 (tan_test): Add tests for large input.
37988 * sysdeps/i386/fpu/libm-test-ulps: Update.
37990 2012-03-15 Andreas Jaeger <aj@suse.de>
37993 * math/libm-test.inc (cos_test): Add more test cases.
37994 (sin_test): Likewise.
37995 (sincos_test): Likewise.
37997 2012-03-15 Andreas Jaeger <aj@suse.de>
38000 * math/libm-test.inc (cos_test): Add a test case for large input
38002 (sin_test): Likewise.
38003 (sincos_test): Likewise.
38005 2012-03-15 Andreas Jaeger <aj@suse.de>
38006 Joseph Myers <joseph@codesourcery.com>
38009 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
38010 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
38011 * sysdeps/i386/fpu/branred.c: Likewise.
38012 * sysdeps/i386/fpu/dosincos.c: Likewise.
38013 * sysdeps/i386/fpu/mpa.c: Likewise.
38014 * sysdeps/i386/fpu/s_cos.S: Likewise.
38015 * sysdeps/i386/fpu/s_sin.S: Likewise.
38016 * sysdeps/i386/fpu/s_sincos.S: Likewise.
38017 * sysdeps/i386/fpu/sincos32.c: Likewise.
38019 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
38021 (libc_feupdateenv_53bit): Define.
38022 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
38024 (libc_feupdateenv_53bit): Define.
38026 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
38027 53 bit (without extend i386 double precision).
38029 * math/libm-test.inc (sincos_test): Add tests for large input.
38033 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
38035 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
38037 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
38039 2012-03-15 David S. Miller <davem@davemloft.net>
38041 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
38042 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
38043 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
38044 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
38045 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
38046 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
38047 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
38048 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
38049 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
38050 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
38051 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
38052 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
38053 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
38054 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
38055 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
38056 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
38058 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
38059 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
38061 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
38062 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
38064 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
38065 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
38067 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
38068 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
38069 fmin/fmax sysdep routines.
38070 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
38072 2012-03-14 David S. Miller <davem@davemloft.net>
38074 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
38075 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
38076 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
38077 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
38078 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
38079 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
38080 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
38081 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
38082 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
38083 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
38084 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
38085 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
38086 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
38087 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
38088 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
38089 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
38090 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
38091 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
38092 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
38093 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
38094 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
38095 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
38096 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
38097 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
38098 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
38099 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
38100 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
38101 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
38102 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
38104 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
38106 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
38107 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
38109 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
38110 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
38112 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
38113 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
38115 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
38116 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
38118 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
38119 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
38121 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
38123 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
38125 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
38127 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
38129 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
38131 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
38133 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
38134 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
38136 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
38137 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
38139 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
38140 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
38142 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
38143 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
38146 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
38149 * sysdeps/sparc/fpu/libm-test-ulps: Update.
38151 * sysdeps/sparc/configure.in: New file.
38152 * sysdeps/sparc/configure: Generate.
38153 * configure.in (libc_cv_sparc_as_vis3): Substitute.
38154 * configure: Regenerate.
38155 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
38156 * config.make.in (have-as-vis3): New.
38157 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
38158 available use -Av9d instead of -Av9a.
38159 * sysdeps/sparc/sparc64/Makefile: Likewise.
38160 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
38161 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
38163 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
38165 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
38167 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
38169 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
38170 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
38171 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
38172 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
38173 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
38175 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
38176 fzeros/fnegs to load 0x80000000 into a float register instead of
38178 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
38180 2012-03-14 Joseph Myers <joseph@codesourcery.com>
38182 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
38184 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
38185 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
38186 ($(inst_includedir)/bits/syscall.h): Remove rule.
38187 ($(objpfx)bits/syscall.d): Include instead of
38188 $(objpfx)syscall-list.d.
38189 (generated): Change syscall-list.h and syscall-list.d to
38190 bits/syscall.h and bits/syscall.d.
38192 2012-03-14 Roland McGrath <roland@hack.frob.com>
38195 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
38197 2012-03-14 Joseph Myers <joseph@codesourcery.com>
38200 * math/s_csqrt.c: Include <float.h>.
38201 (__csqrt): Scale large or subnormal inputs.
38202 * math/s_csqrtf.c: Likewise.
38203 * math/s_csqrtl.c: Likewise.
38204 * math/libm-test.inc (csqrt_test): Add more tests.
38205 * sysdeps/i386/fpu/libm-test-ulps: Update.
38206 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38209 * math/libm-test.inc (hypot_test): Add more tests.
38211 2012-03-13 David S. Miller <davem@davemloft.net>
38214 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
38215 double-precision for the calculation instead of scaling.
38217 2012-03-13 Joseph Myers <joseph@codesourcery.com>
38219 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
38220 manipulate bits before adding and subtracting TWO52[sx].
38221 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
38222 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
38224 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
38226 2012-03-13 David S. Miller <davem@davemloft.net>
38228 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
38229 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
38230 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
38231 rtld-global-offsets.h
38232 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
38234 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
38237 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
38239 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
38240 'err' in the ifdef scope in which it is actually used.
38242 * nss/nss_db/db-init.c: Include string.h
38244 2012-03-12 David S. Miller <davem@davemloft.net>
38246 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
38247 masking out of the most significant byte of random value used.
38248 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
38249 Fix coding style in previous change.
38251 * sysdeps/unix/sysv/linux/kernel-features.h
38252 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
38253 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
38255 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
38258 2012-03-11 David S. Miller <davem@davemloft.net>
38260 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
38261 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
38262 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
38263 for 'resultvar' otherwise things get truncated on 64-bit.
38265 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
38266 Fix masking out of the most significant byte of random value used.
38268 * sysdeps/sparc/fpu/libm-test-ulps: Update.
38270 2012-03-10 Andreas Schwab <schwab@linux-m68k.org>
38272 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
38274 2012-03-09 David S. Miller <davem@davemloft.net>
38276 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
38277 variables with appropriate CPP guards.
38278 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr
38279 from the frame pointer, not the stack pointer. Correct layout
38280 comments. Fix test on resulting framesize and the management of
38281 the outregs buffer for pltexit. Preserve floating point return
38282 values across _dl_call_pltexit call.
38283 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
38284 framesize and the management of the outregs buffer for pltexit.
38285 Preserve floating point return values across _dl_call_pltexit
38287 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter)
38288 (la_sparc64_gnu_pltenter, la_sparc32_gnu_pltexit)
38289 (la_sparc64_gnu_pltexit): New functions.
38290 (print_exit): Fix format string for return register value.
38292 2012-03-10 Joseph Myers <joseph@codesourcery.com>
38294 * sunrpc/Makefile (others): Add rpcgen.
38295 ($(objpfx)rpcgen): Remove special build rule and dependency on
38297 * sunrpc/rpcgen.c: New file.
38299 2012-03-09 Paul Eggert <eggert@cs.ucla.edu>
38302 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
38303 * stdio-common/bug-vfprintf-nargs.c: Likewise.
38304 * sysdeps/i386/crti.S: Likewise.
38305 * sysdeps/i386/crtn.S: Likewise.
38306 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
38307 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
38308 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
38309 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
38310 * sysdeps/sh/crti.S: Likewise.
38311 * sysdeps/sh/crtn.S: Likewise.
38312 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
38315 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
38317 * locale/programs/locfile-kw.gperf: Likewise.
38318 * locale/programs/charmap-kw.h: Regenerated.
38319 * locale/programs/locfile-kw.h: Likewise.
38322 * intl/plural.y: Replace FSF snail mail address with URL.
38323 * intl/plural.c: Regenerated.
38325 2012-03-09 Richard Henderson <rth@twiddle.net>
38327 * include/math_private.h: Remove file.
38328 * math/math_private.h: Move file ...
38329 * sysdeps/generic/math_private.h: ... here.
38331 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
38332 * sysdeps/powerpc/fpu/math_private.h: Likewise.
38333 * sysdeps/x86_64/fpu/math_private.h: Likewise.
38335 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
38336 and <math_private.h>.
38337 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
38338 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
38339 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
38340 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
38341 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
38342 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
38343 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
38344 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
38345 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
38346 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
38347 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
38348 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
38349 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
38350 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
38351 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
38352 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
38353 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
38354 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
38355 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
38356 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
38357 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
38358 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
38359 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
38360 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
38361 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
38362 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
38363 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
38364 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
38365 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
38366 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
38367 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
38368 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
38369 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
38370 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
38371 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
38372 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
38373 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
38374 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
38375 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
38376 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
38377 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
38378 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
38379 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
38380 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
38381 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
38382 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
38383 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
38384 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
38385 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
38386 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
38387 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
38388 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
38389 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
38390 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
38391 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
38392 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
38393 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
38394 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
38395 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
38396 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
38397 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
38398 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
38399 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
38400 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
38401 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
38402 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
38403 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
38404 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
38405 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
38406 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
38407 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
38408 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
38409 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
38410 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
38411 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
38412 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
38413 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
38414 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
38415 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
38416 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
38417 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
38418 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
38419 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
38420 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
38421 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
38422 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
38423 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
38424 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
38425 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
38426 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
38427 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
38428 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
38429 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
38430 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
38431 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
38432 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
38433 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
38434 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
38435 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
38436 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
38437 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
38438 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
38439 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
38440 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
38441 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
38442 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
38443 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
38444 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
38445 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
38446 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
38447 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
38448 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
38449 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
38450 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
38451 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
38452 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
38453 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
38454 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
38455 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
38456 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
38457 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
38458 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
38459 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
38460 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
38461 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
38462 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
38463 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
38464 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
38465 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
38466 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
38467 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
38468 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
38469 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
38470 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
38471 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
38472 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
38473 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
38474 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
38475 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
38476 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
38477 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
38478 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
38479 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
38480 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
38481 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
38482 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
38483 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
38484 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
38485 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
38486 * sysdeps/ieee754/k_standard.c: Likewise.
38487 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
38488 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
38489 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
38490 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
38491 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
38492 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
38493 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
38494 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
38495 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
38496 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
38497 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
38498 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
38499 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
38500 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
38501 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
38502 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
38503 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
38504 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
38505 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
38506 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
38507 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
38508 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
38509 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
38510 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
38511 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
38512 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
38513 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
38514 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
38515 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
38516 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
38517 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
38518 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
38519 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
38520 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
38521 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
38522 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
38523 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
38524 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
38525 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
38526 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
38527 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
38528 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
38529 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
38530 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
38531 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
38532 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
38533 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
38534 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
38535 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
38536 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
38537 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
38538 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
38539 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
38540 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
38541 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
38542 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
38543 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
38544 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
38545 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
38546 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
38547 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
38548 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
38549 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
38550 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
38551 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
38552 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
38553 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
38554 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
38555 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
38556 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
38557 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
38558 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
38559 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
38560 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
38561 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
38562 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
38563 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
38564 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
38565 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
38566 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
38567 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
38568 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
38569 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
38570 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
38571 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
38572 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
38573 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
38574 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
38575 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
38576 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
38577 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
38578 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
38579 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
38580 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
38581 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
38582 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
38583 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
38584 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
38585 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
38586 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
38587 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
38588 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
38589 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
38590 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
38591 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
38592 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
38593 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
38594 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
38595 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
38596 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
38597 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
38598 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
38599 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
38600 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
38601 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
38602 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
38603 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
38604 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
38605 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
38606 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
38607 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
38608 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
38609 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
38610 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
38611 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
38612 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
38613 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
38614 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
38615 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
38616 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
38617 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
38618 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
38619 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
38620 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
38621 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
38622 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
38623 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
38624 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
38625 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
38626 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
38627 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
38628 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
38629 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
38630 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
38631 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
38632 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
38633 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
38634 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
38635 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
38636 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
38637 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
38638 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
38639 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
38640 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
38641 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
38642 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
38643 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
38644 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
38645 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
38646 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
38647 * sysdeps/ieee754/s_lib_version.c: Likewise.
38648 * sysdeps/ieee754/s_matherr.c: Likewise.
38649 * sysdeps/ieee754/s_signgam.c: Likewise.
38650 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
38651 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
38652 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
38653 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
38654 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
38655 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
38656 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
38657 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
38658 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
38659 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
38660 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
38661 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
38662 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
38663 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
38664 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
38665 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
38666 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
38667 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
38668 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
38669 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
38670 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
38672 2012-03-09 Joseph Myers <joseph@codesourcery.com>
38674 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
38675 * sunrpc/rpc_main.c: Likewise.
38676 * sunrpc/rpc_svcout.c: Likewise.
38678 2012-03-09 David S. Miller <davem@davemloft.net>
38680 * include/math_private.h: New file.
38682 2012-03-09 Joseph Myers <joseph@codesourcery.com>
38684 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
38685 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
38686 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
38687 from <bits/socket_type.h>.
38688 (enum __socket_type): Don't define here.
38689 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
38690 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
38691 bits/socket_type.h.
38694 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
38695 checking __USE_GNU.
38697 * Makerules ($(inst_includedir)/%.h): New rule.
38698 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
38699 (install-others): Remove variable setting.
38700 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
38702 2012-03-08 Richard Henderson <rth@twiddle.net>
38704 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
38705 from macro to inline function; merge with the
38706 !__LIBC_INTERNAL_MATH_INLINES version.
38707 (__ieee754_sqrtf): Likewise.
38709 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
38710 to inline function.
38711 (__rintf, __floor, __floorf): Likewise.
38713 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
38714 macro to inline function.
38715 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
38717 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
38718 not <math/math_private.h>.
38720 2012-03-08 David S. Miller <davem@davemloft.net>
38722 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
38724 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
38726 2012-03-08 Thomas Schwinge <thomas@codesourcery.com>
38728 * resolv/gai_misc.c (handle_requests): Fix struct timespec
38730 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
38731 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
38733 2012-03-08 Ulrich Drepper <drepper@gmail.com>
38735 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
38736 be defined individually, they must be defined as a block. Define
38737 S for printing a string instead of hidint the different by using a
38738 macro for adding the 'l'.
38739 * stdio-common/tst-fphex-wide.c: Adjust.
38741 2012-03-07 Marek Polacek <polacek@redhat.com>
38743 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
38745 2012-03-08 Marek Polacek <polacek@redhat.com>
38748 * stdio-common/Makefile (tests): Add tst-fphex-wide.
38749 * stdio-common/tst-fphex.c: Define a few macros to make the
38750 test reusable. Use them.
38751 * stdio-common/tst-fphex-wide.c: New file.
38753 2012-03-08 Joseph Myers <joseph@codesourcery.com>
38756 * manual/macros.texi (gnusystems): New macro.
38757 (nongnusystems): Likewise.
38758 (gnulinuxhurdsystems): Likewise.
38759 (gnuhurdsystems): Likewise..
38760 (gnulinuxsystems): Likewise.
38761 * manual/charset.texi: Use new macros or @theglibc{} to refer to
38762 variants of the GNU system, not "GNU system".
38763 * manual/conf.texi: Likewise.
38764 * manual/errno.texi: Likewise. Update example of errno macro
38766 * manual/filesys.texi: Likewise.
38767 (getumask): Document as specific to GNU/Hurd.
38768 * manual/install.texi: Likewise. Reword some references to
38770 * manual/intro.texi: Likewise.
38771 * manual/io.texi: Likewise.
38772 (File Name Portability): Detail which constraints are inapplicable
38773 to all GNU systems and which are only inapplicable to GNU/Hurd.
38774 * manual/job.texi: Likewise.
38775 * manual/llio.texi: Likewise.
38776 (O_NOCTTY): Document as present on GNU/Linux.
38777 * manual/maint.texi: Likewise.
38778 * manual/memory.texi: Likewise.
38779 * manual/pattern.texi: Likewise.
38780 * manual/pipe.texi: Likewise.
38781 * manual/process.texi: Likewise.
38782 * manual/resource.texi: Likewise.
38783 (RUSAGE_CHILDREN): Remove statement about specifying a particular
38785 * manual/setjmp.texi: Likewise.
38786 * manual/signal.texi: Likewise.
38787 * manual/startup.texi: Likewise.
38788 * manual/stdio.texi: Likewise.
38789 * manual/terminal.texi: Likewise.
38790 (ONLCR): Document as POSIX.
38791 (OXTABS): Document availability on GNU/Linux as XTABS.
38792 (ONOEOT): Document availability separately from other bits.
38793 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
38794 * manual/time.texi: Likewise.
38795 * manual/users.texi: Likewise.
38796 * INSTALL: Regenerated.
38797 * sysdeps/gnu/errlist.c: Regenerated.
38799 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
38800 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
38801 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
38803 * configure: Regenerated.
38805 2012-03-07 Joseph Myers <joseph@codesourcery.com>
38807 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
38808 default includes instead of AC_HEADER_CHECK.
38809 * sysdeps/i386/configure: Regenerated.
38812 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
38813 * math/s_cacoshf.c (__cacoshf): Likewise.
38814 * math/s_cacoshl.c (__cacoshl): Likewise.
38815 * math/s_casinh.c (__casinh): Set signs of result from argument.
38816 * math/s_casinhf.c (__casinhf): Likewise.
38817 * math/s_casinhl.c (__casinhl): Likewise.
38818 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
38819 (casinh_test): Add more tests.
38820 * sysdeps/i386/fpu/libm-test-ulps: Update.
38821 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38823 2012-03-07 Ulrich Drepper <drepper@gmail.com>
38825 * po/zh_TW.po: Update from translation team.
38827 * login/Makefile (distribute): Remove variable.
38828 * catgets/Makefile: Likewise.
38829 * mach/Makefile: Likewise.
38830 * malloc/Makefile: Likewise.
38831 * misc/Makefile: Likewise.
38832 * iconv/Makefile: Likewise.
38833 * nscd/Makefile: Likewise.
38834 * hurd/Makefile: Likewise.
38835 * manual/Makefile: Likewise.
38836 * locale/Makefile: Likewise.
38837 * intl/Makefile: Likewise.
38838 * conform/Makefile: Likewise.
38839 * nss/Makefile: Likewise.
38840 * time/Makefile: Likewise.
38841 * soft-fp/Makefile: Likewise.
38842 * dirent/Makefile: Likewise.
38843 * gmon/Makefile: Likewise.
38844 * po/Makefile: Likewise.
38845 * rt/Makefile: Likewise.
38846 * socket/Makefile: Likewise.
38847 * math/Makefile: Likewise.
38848 * signal/Makefile: Likewise.
38849 * debug/Makefile: Likewise.
38850 * elf/Makefile: Likewise.
38851 * timezone/Makefile: Likewise.
38852 * stdlib/Makefile: Likewise.
38853 * iconvdata/Makefile: Likewise.
38854 * sunrpc/Makefile: Likewise.
38855 * io/Makefile: Likewise.
38856 * argp/Makefile: Likewise.
38857 * inet/Makefile: Likewise.
38858 * hesiod/Makefile: Likewise.
38859 * grp/Makefile: Likewise.
38860 * csu/Makefile: Likewise.
38861 * wctype/Makefile: Likewise.
38862 * crypt/Makefile: Likewise.
38863 * libio/Makefile: Likewise.
38864 * string/Makefile: Likewise.
38865 * nis/Makefile: Likewise.
38866 * resolv/Makefile: Likewise.
38867 * stdio-common/Makefile: Likewise.
38868 * wcsmbs/Makefile: Likewise.
38869 * dlfcn/Makefile: Likewise.
38870 * posix/Makefile: Likewise.
38873 * timezone/Makefile: Don't install timezone files, just the programs
38876 2012-03-06 Ulrich Drepper <drepper@gmail.com>
38878 * nss/databases.def: Add missing gshadow entry.
38880 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
38882 2012-03-06 Marek Polacek <polacek@redhat.com>
38885 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
38886 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
38887 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
38888 * stdio-common/tst-long-dbl-fphex.c: New file.
38890 2012-03-06 David S. Miller <davem@davemloft.net>
38892 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
38893 (set_obp_int): New function.
38894 (get_obp_int): New function.
38895 (__get_clockfreq_via_dev_openprom): Likewise.
38896 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
38897 Avoid unused variable warnings on 'val' and use builtin_expect.
38898 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
38900 (INLINE_CLONE_SYSCALL): Likewise.
38902 2012-03-05 David S. Miller <davem@davemloft.net>
38904 * sysdeps/sparc/fpu/libm-test-ulps: Update.
38906 2012-03-05 Andreas Schwab <schwab@linux-m68k.org>
38908 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
38910 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
38911 only for |x| >= 40.
38912 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
38914 2012-03-05 H.J. Lu <hongjiu.lu@intel.com>
38916 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
38917 Replace gettimeofday with __vdso_gettimeofday.
38919 * sysdeps/unix/sysv/linux/x86_64/init-first.c
38920 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
38921 __vdso_clock_gettime and __vdso_getcpu.
38923 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
38924 time with __vdso_time.
38926 2012-03-05 Joseph Myers <joseph@codesourcery.com>
38928 * manual/lang.texi (size_t): Note types to which size_t may be
38929 equivalent with the GNU C Library, but do not describe when
38930 differences between them are significant.
38932 2012-03-05 Andreas Jaeger <aj@suse.de>
38934 * sysdeps/i386/fpu/libm-test-ulps: Update.
38936 2012-03-05 Joseph Myers <joseph@codesourcery.com>
38939 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
38940 (__ieee754_pow): Save and restore rounding mode and use
38941 round-to-nearest for main computations.
38942 * math/libm-test.inc (pow_test_tonearest): New function.
38943 (pow_test_towardzero): Likewise.
38944 (pow_test_downward): Likewise.
38945 (pow_test_upward): Likewise.
38946 (main): Call the new functions.
38947 * sysdeps/i386/fpu/libm-test-ulps: Update.
38948 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38951 * math/libm-test.inc (cosh_test_tonearest): New function.
38952 (cosh_test_towardzero): Likewise.
38953 (cosh_test_downward): Likewise.
38954 (cosh_test_upward): Likewise.
38955 (sinh_test_tonearest): Likewise.
38956 (sinh_test_towardzero): Likewise.
38957 (sinh_test_downward): Likewise.
38958 (sinh_test_upward): Likewise.
38959 (main): Call the new functions.
38960 * sysdeps/i386/fpu/libm-test-ulps: Update.
38961 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38963 2012-03-05 Tom de Vries <tom@codesourcery.com>
38965 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
38966 default stack guard is set in last bytes.
38967 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
38969 2012-03-05 Kees Cook <keescook@chromium.org>
38971 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
38974 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
38975 possibly allocate from heap instead of stack.
38976 * stdio-common/bug-vfprintf-nargs.c: New file.
38977 * stdio-common/Makefile (tests): Add nargs overflow test.
38979 2012-03-03 Andreas Schwab <schwab@linux-m68k.org>
38981 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
38983 2012-03-03 Marek Polacek <polacek@redhat.com>
38985 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
38986 * math/math_private.h: Likewise.
38987 * stdlib/tst-strtod.c: Likewise.
38988 * sysdeps/i386/i486/bits/atomic.h: Likewise.
38989 * sysdeps/x86_64/bits/atomic.h: Likewise.
38991 2012-03-02 David S. Miller <davem@davemloft.net>
38993 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
38994 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
38995 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
38996 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
38997 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
38998 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
38999 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
39000 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
39002 2012-03-02 Roland McGrath <roland@hack.frob.com>
39005 * manual/examples/README: New file, says the example source files
39006 can be used under GPL>=2.
39007 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
39008 line containing just "*/".
39009 * manual/examples/add.c: Add copyright header (GPL>=2).
39010 * manual/examples/argp-ex1.c: Likewise.
39011 * manual/examples/argp-ex2.c: Likewise.
39012 * manual/examples/argp-ex3.c: Likewise.
39013 * manual/examples/argp-ex4.c: Likewise.
39014 * manual/examples/atexit.c: Likewise.
39015 * manual/examples/db.c: Likewise.
39016 * manual/examples/dir.c: Likewise.
39017 * manual/examples/dir2.c: Likewise.
39018 * manual/examples/execinfo.c: Likewise.
39019 * manual/examples/filecli.c: Likewise.
39020 * manual/examples/filesrv.c: Likewise.
39021 * manual/examples/fmtmsgexpl.c: Likewise.
39022 * manual/examples/genpass.c: Likewise.
39023 * manual/examples/inetcli.c: Likewise.
39024 * manual/examples/inetsrv.c: Likewise.
39025 * manual/examples/isockad.c: Likewise.
39026 * manual/examples/longopt.c: Likewise.
39027 * manual/examples/memopen.c: Likewise.
39028 * manual/examples/memstrm.c: Likewise.
39029 * manual/examples/mkfsock.c: Likewise.
39030 * manual/examples/mkisock.c: Likewise.
39031 * manual/examples/mygetpass.c: Likewise.
39032 * manual/examples/pipe.c: Likewise.
39033 * manual/examples/popen.c: Likewise.
39034 * manual/examples/rprintf.c: Likewise.
39035 * manual/examples/search.c: Likewise.
39036 * manual/examples/select.c: Likewise.
39037 * manual/examples/setjmp.c: Likewise.
39038 * manual/examples/sigh1.c: Likewise.
39039 * manual/examples/sigusr.c: Likewise.
39040 * manual/examples/stpcpy.c: Likewise.
39041 * manual/examples/strdupa.c: Likewise.
39042 * manual/examples/strftim.c: Likewise.
39043 * manual/examples/strncat.c: Likewise.
39044 * manual/examples/subopt.c: Likewise.
39045 * manual/examples/swapcontext.c: Likewise.
39046 * manual/examples/termios.c: Likewise.
39047 * manual/examples/testopt.c: Likewise.
39048 * manual/examples/testpass.c: Likewise.
39049 * manual/examples/timeval_subtract.c: Likewise.
39052 * manual/time.texi (Elapsed Time): Move timeval_subtract example
39054 * manual/timeval_subtract.c.texi: ... here, new file.
39056 2012-03-02 David S. Miller <davem@davemloft.net>
39058 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
39060 2012-03-02 Joseph Myers <joseph@codesourcery.com>
39063 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
39064 (__sin): Save and restore rounding mode and use round-to-nearest
39065 for all computations.
39066 (__cos): Save and restore rounding mode and use round-to-nearest
39067 for all computations.
39068 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
39070 (tan): Save and restore rounding mode and use round-to-nearest for
39072 * math/libm-test.inc (cos_test_tonearest): New function.
39073 (cos_test_towardzero): Likewise.
39074 (cos_test_downward): Likewise.
39075 (cos_test_upward): Likewise.
39076 (sin_test_tonearest): Likewise.
39077 (sin_test_towardzero): Likewise.
39078 (sin_test_downward): Likewise.
39079 (sin_test_upward): Likewise.
39080 (tan_test_tonearest): Likewise.
39081 (tan_test_towardzero): Likewise.
39082 (tan_test_downward): Likewise.
39083 (tan_test_upward): Likewise.
39084 (main): Call the new functions.
39085 * sysdeps/i386/fpu/libm-test-ulps: Update.
39086 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39089 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
39090 small n, then large n, before computing and testing k+n.
39091 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
39092 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
39094 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
39096 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
39097 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
39098 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
39099 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
39100 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
39101 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
39102 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
39103 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
39104 * math/libm-test.inc (scalbn_test): Add more tests.
39105 (scalbln_test): Likewise.
39107 * manual/filesys.texi (mode_t): Describe constraints on size and
39108 signedness, not exact equivalence to a particular type.
39110 (ino64_t): Likewise.
39112 (nlink_t): Likewise.
39113 (blkcnt_t): Likewise.
39114 (blkcnt64_t): Likewise.
39115 * manual/llio.texi (off_t): Likewise.
39118 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
39119 (__ieee754_exp): Save and restore rounding mode and use
39120 round-to-nearest for all computations.
39121 * math/libm-test.inc (exp_test_tonearest): New function.
39122 (exp_test_towardzero): Likewise.
39123 (exp_test_downward): Likewise.
39124 (exp_test_upward): Likewise.
39125 (main): Call the new functions.
39126 * sysdeps/i386/fpu/libm-test-ulps: Update.
39127 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39129 2012-03-01 Chris Demetriou <cgd@google.com>
39131 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
39132 have predictable order.
39134 2012-03-01 David S. Miller <davem@davemloft.net>
39136 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
39138 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
39139 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
39140 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
39141 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
39143 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
39144 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
39145 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
39146 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
39147 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
39148 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
39149 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
39150 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
39151 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
39153 * sysdeps/sparc/fpu/libm-test-ulps: Update.
39155 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
39156 * sysdeps/sparc/fpu/libm-test-ulps: to here.
39157 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
39159 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
39160 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
39161 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
39162 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
39163 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
39164 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
39165 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
39166 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
39167 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
39168 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
39169 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
39170 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
39171 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
39172 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
39173 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
39174 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
39175 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
39176 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
39177 * sysdeps/sparc/elf/configure: Regenerated.
39179 2012-03-01 Joseph Myers <joseph@codesourcery.com>
39181 * configure.in (AS, LD): Require binutils 2.20 or later.
39182 * configure: Regenerated.
39183 * manual/install.texi (Tools for Compilation): Give binutils 2.20
39184 as required minimum version.
39185 * INSTALL: Regenerated.
39189 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
39190 before squaring exponent.
39191 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
39192 bottom long double and 27 bits of top long double before squaring
39194 * math/libm-test.inc (erfc_test): Add more tests.
39195 * sysdeps/i386/fpu/libm-test-ulps: Update.
39196 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
39197 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39199 2012-03-01 Kai Tietz <ktietz@redhat.com>
39201 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
39202 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
39203 containing bit-fields.
39204 * soft-fp/extended.h (_FP_UNION_E): Likewise.
39205 * soft-fp/single.h (_FP_UNION_S): Likewise.
39206 * soft-fp/double.h (_FP_UNION_D): Likewise.
39208 2012-02-29 Joseph Myers <joseph@codesourcery.com>
39211 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
39212 not include ../strcmp.S.
39213 [USE_AS_STRNCASECMP_L]: Likewise.
39214 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
39215 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
39216 * sysdeps/i386/i686/multiarch/strncase_l-c.c
39217 (__strncasecmp_l_ia32): Define as alias to
39218 __strncasecmp_l_nonascii.
39221 * math/libm-test.inc (expm1_test): Add test for bug 5794.
39222 * sysdeps/i386/fpu/libm-test-ulps: Update.
39223 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39225 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
39226 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39228 2012-02-29 Jeff Law <law@redhat.com>
39230 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
39231 out of bounds read.
39233 2012-02-29 Marek Polacek <polacek@redhat.com>
39236 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
39237 * elf/Makefile: Add rules to run tst-unused-dep.out.
39239 2012-02-28 David S. Miller <davem@davemloft.net>
39241 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
39242 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
39243 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
39244 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
39245 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
39246 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
39248 2012-02-29 Joseph Myers <joseph@codesourcery.com>
39250 * math/libm-test.inc (llround_test): Move one test from
39251 lround_test. Use TEST_f_L in moved test.
39252 (lround_test): Move misplaced test to llround_test. Add testcase
39255 2012-02-28 Ulrich Drepper <drepper@gmail.com>
39257 * sysdeps/x86_64/fpu/e_expf.S: New file.
39258 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
39260 2012-02-28 Stanislav Brabec <sbrabec@suse.cz>
39263 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
39264 of remain_len that may cause incomplete multi-byte character and
39266 * posix/bug-regex33.c: New file.
39267 * posix/Makefile (tests): Add bug-regex33.
39269 2012-02-28 Joseph Myers <joseph@codesourcery.com>
39271 * manual/macros.texi: New file.
39272 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
39273 * manual/libc.texinfo: Include macros.texi.
39274 * manual/creatute.texi: Likewise.
39275 * manual/install.texi: Likewise.
39276 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
39277 @glibcadj{} in references to the GNU C Library.
39278 * manual/charset.texi: Likewise.
39279 * manual/conf.texi: Likewise.
39280 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
39281 when not using those macros.
39282 * manual/creature.texi: Likewise.
39283 * manual/crypt.texi: Likewise.
39284 * manual/errno.texi: Likewise.
39285 * manual/filesys.texi: Likewise.
39286 * manual/header.texi: Likewise.
39287 * manual/install.texi: Likewise.
39288 * manual/intro.texi: Likewise.
39289 * manual/io.texi: Likewise.
39290 * manual/job.texi: Likewise.
39291 * manual/lang.texi: Likewise.
39292 * manual/libc.texiinfo: Likewise.
39293 * manual/llio.texi: Likewise.
39294 * manual/locale.texi: Likewise.
39295 * manual/maint.texi: Likewise.
39296 * manual/math.texi: Likewise.
39297 * manual/memory.texi: Likewise.
39298 * manual/message.texi: Likewise.
39299 * manual/nss.texi: Likewise.
39300 * manual/pattern.texi: Likewise.
39301 * manual/process.texi: Likewise.
39302 * manual/resource.texi: Likewise.
39303 * manual/search.texi: Likewise.
39304 * manual/setjmp.texi: Likewise.
39305 * manual/signal.texi: Likewise.
39306 * manual/socket.texi: Likewise.
39307 * manual/startup.texi: Likewise.
39308 * manual/stdio.texi: Likewise.
39309 * manual/string.texi: Likewise.
39310 * manual/sysinfo.texi: Likewise.
39311 * manual/syslog.texi: Likewise.
39312 * manual/terminal.texi: Likewise.
39313 * manual/time.texi: Likewise.
39314 * manual/users.texi: Likewise.
39315 * INSTALL: Regenerated.
39316 * NOTES: Regenerated.
39317 * sysdeps/gnu/errlist.c: Regenerated.
39319 2012-02-28 Andreas Schwab <schwab@linux-m68k.org>
39321 * include/dirent.h: Include <dirstream.h> before
39324 2012-02-28 David S. Miller <davem@davemloft.net>
39326 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
39327 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
39328 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
39329 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
39331 2012-02-27 David S. Miller <davem@davemloft.net>
39333 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
39334 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
39335 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
39336 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
39338 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
39339 frame pointer instead of stack pointer relative arg slot.
39340 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
39341 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
39342 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
39344 2012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
39347 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
39349 2012-02-27 David S. Miller <davem@davemloft.net>
39351 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
39352 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
39353 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
39354 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
39355 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
39356 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
39357 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
39358 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
39360 2012-02-27 Joseph Myers <joseph@codesourcery.com>
39362 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
39363 later. Allow versions 5-9.
39364 * configure: Regenerated.
39365 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
39366 required minimum version and 4.6 as recommended version. Do not
39367 mention bugs in GCC 2.7 and 2.8.
39368 * INSTALL: Regenerated.
39370 2012-02-27 David S. Miller <davem@davemloft.net>
39372 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
39373 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
39374 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
39375 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
39376 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
39377 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
39378 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
39379 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
39381 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
39382 manipulate bits before adding and subtracting TWO112[sx].
39383 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
39385 2012-02-27 Roland McGrath <roland@hack.frob.com>
39388 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
39389 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
39390 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
39391 being in POSIX, because they are in 1003.1-2008.
39393 * rt/tst-aio.c: Include <fcntl.h>.
39394 * rt/tst-aio7.c: Likewise.
39395 * rt/tst-aio64.c: Likewise.
39397 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
39399 2012-02-27 Joseph Myers <joseph@codesourcery.com>
39401 * manual/install.texi (--with-headers): Describe headers as
39402 interface headers, not private headers.
39403 (Specific advice for GNU/Linux systems): Describe use of headers
39404 from "make headers_install", not private headers from older
39406 * INSTALL: Regenerated.
39407 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
39409 * sysdeps/unix/sysv/linux/configure: Regenerated.
39411 * manual/llio.texi (fclean): Remove documentation.
39413 * manual/Makefile (libc-texi-generated): New variable. Include
39415 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
39416 $(libc-texi-generated), not duplicated list of files.
39417 (version.texi, stamp-version): New rules.
39418 (realclean): Remove $(libc-texi-generated), not individual files
39419 from that list. Do not remove dir-add.texinfo.
39420 * manual/libc.texinfo: Comment out uses of edition numbers and
39421 references to printed manual. Remove last-updated dates.
39422 (EDITION): Comment out.
39424 (VERSION, UPDATED): Remove.
39425 (version.texi): Include.
39427 2012-02-27 Andreas Schwab <schwab@linux-m68k.org>
39429 * sysdeps/posix/spawni.c: Include <signal.h>.
39430 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
39431 * sysdeps/pthread/aio_fsync.c: Likewise.
39433 2012-02-26 Ulrich Drepper <drepper@gmail.com>
39435 * conform/Makefile (tests): Run only when not cross-compiling and
39436 when fast-check is not defined.
39438 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
39439 * conform/data/limits.h-data: Fixes for POSIX2008.
39440 * conform/run-conformtest.sh: Run all tests.
39441 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
39443 * include/bits/dlfcn.h: Likewise.
39444 * include/langinfo.h: Likewise.
39445 * include/monetary.h: Likewise.
39446 * include/sys/poll.h: Likewise.
39448 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
39450 * posix/spawn.h: Define __need_sigset_t.
39451 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
39452 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
39453 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
39454 to get sigevent_t only.
39455 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
39456 only for __USE_GNU.
39457 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
39458 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
39459 process_vm_writev only for __USE_GNU.
39460 * termios/termios.h: Declare tcgetsid also for POSIX2008.
39462 * conform/Makefile: For now ignore errors from run-conformtest.
39463 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
39464 POSIX to avoid namespace pollution. Don't prepend headers.
39465 * conform/data/aio.h-data: Fixes for POSIX testing.
39466 * conform/data/fcntl.h-data: Likewise.
39467 * conform/data/glob.h-data: Likewise.
39468 * conform/data/grp.h-data: Likewise.
39469 * conform/data/pthread.h-data: Likewise.
39470 * conform/data/pwd.h-data: Likewise.
39471 * conform/data/signal.h-data: Likewise.
39472 * conform/data/spawn.h-data: Likewise.
39473 * conform/data/stdio.h-data: Likewise.
39474 * conform/data/stdlib.h-data: Likewise.
39475 * conform/data/stropts.h-data: Likewise.
39476 * conform/data/sys/mman.h-data: Likewise.
39477 * conform/data/sys/stat.h-data: Likewise.
39478 * conform/data/sys/types.h-data: Likewise.
39479 * conform/data/sys/wait.h-data: Likewise.
39480 * conform/data/time.h-data: Likewise.
39481 * conform/data/unistd.h-data: Likewise.
39482 * conform/data/utime.h-data: Likewise.
39484 * io/sys/stat.h: fchmod was always in POSIX.
39485 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
39486 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
39487 * rt/aio.h: Define __need_timespec before including <time.h>.
39488 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
39489 struct. Add forward declaration of pthread_attr_t and use it in
39491 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
39492 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
39493 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
39494 always remove CLK_TCK definition.
39496 2012-02-26 Andreas Schwab <schwab@linux-m68k.org>
39498 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
39500 2012-02-25 Ulrich Drepper <drepper@gmail.com>
39502 * conform/run-conformtest.sh: New file.
39503 * conform/Makefile: Run run-conformtest for tests.
39504 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
39507 * conform/data/uchar.h-data: New file.
39508 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
39509 * conform/data/arpa/inet.h-data: Likewise.
39510 * conform/data/assert.h-data: Likewise.
39511 * conform/data/complex.h-data: Likewise.
39512 * conform/data/cpio.h-data: Likewise.
39513 * conform/data/ctype.h-data: Likewise.
39514 * conform/data/dirent.h-data: Likewise.
39515 * conform/data/dlfcn.h-data: Likewise.
39516 * conform/data/errno.h-data: Likewise.
39517 * conform/data/fcntl.h-data: Likewise.
39518 * conform/data/float.h-data: Likewise.
39519 * conform/data/fmtmsg.h-data: Likewise.
39520 * conform/data/fnmatch.h-data: Likewise.
39521 * conform/data/ftw.h-data: Likewise.
39522 * conform/data/glob.h-data: Likewise.
39523 * conform/data/grp.h-data: Likewise.
39524 * conform/data/iconv.h-data: Likewise.
39525 * conform/data/inttypes.h-data: Likewise.
39526 * conform/data/langinfo.h-data: Likewise.
39527 * conform/data/libgen.h-data: Likewise.
39528 * conform/data/limits.h-data: Likewise.
39529 * conform/data/locale.h-data: Likewise.
39530 * conform/data/math.h-data: Likewise.
39531 * conform/data/monetary.h-data: Likewise.
39532 * conform/data/mqueue.h-data: Likewise.
39533 * conform/data/ndbm.h-data: Likewise.
39534 * conform/data/net/if.h-data: Likewise.
39535 * conform/data/netdb.h-data: Likewise.
39536 * conform/data/netinet/in.h-data: Likewise.
39537 * conform/data/nl_types.h-data: Likewise.
39538 * conform/data/poll.h-data: Likewise.
39539 * conform/data/pthread.h-data: Likewise.
39540 * conform/data/pwd.h-data: Likewise.
39541 * conform/data/regex.h-data: Likewise.
39542 * conform/data/sched.h-data: Likewise.
39543 * conform/data/search.h-data: Likewise.
39544 * conform/data/semaphore.h-data: Likewise.
39545 * conform/data/setjmp.h-data: Likewise.
39546 * conform/data/signal.h-data: Likewise.
39547 * conform/data/spawn.h-data: Likewise.
39548 * conform/data/stdarg.h-data: Likewise.
39549 * conform/data/stdio.h-data: Likewise.
39550 * conform/data/stdlib.h-data: Likewise.
39551 * conform/data/string.h-data: Likewise.
39552 * conform/data/strings.h-data: Likewise.
39553 * conform/data/stropts.h-data: Likewise.
39554 * conform/data/sys/ipc.h-data: Likewise.
39555 * conform/data/sys/mman.h-data: Likewise.
39556 * conform/data/sys/msg.h-data: Likewise.
39557 * conform/data/sys/resource.h-data: Likewise.
39558 * conform/data/sys/select.h-data: Likewise.
39559 * conform/data/sys/sem.h-data: Likewise.
39560 * conform/data/sys/shm.h-data: Likewise.
39561 * conform/data/sys/socket.h-data: Likewise.
39562 * conform/data/sys/stat.h-data: Likewise.
39563 * conform/data/sys/statvfs.h-data: Likewise.
39564 * conform/data/sys/time.h-data: Likewise.
39565 * conform/data/sys/timeb.h-data: Likewise.
39566 * conform/data/sys/times.h-data: Likewise.
39567 * conform/data/sys/types.h-data: Likewise.
39568 * conform/data/sys/uio.h-data: Likewise.
39569 * conform/data/sys/un.h-data: Likewise.
39570 * conform/data/sys/utsname.h-data: Likewise.
39571 * conform/data/sys/wait.h-data: Likewise.
39572 * conform/data/syslog.h-data: Likewise.
39573 * conform/data/tar.h-data: Likewise.
39574 * conform/data/termios.h-data: Likewise.
39575 * conform/data/utime.h-data: Likewise.
39576 * conform/data/utmpx.h-data: Likewise.
39577 * conform/data/varargs.h-data: Likewise.
39578 * conform/data/wchar.h-data: Likewise.
39579 * conform/data/wctype.h-data: Likewise.
39580 * conform/data/wordexp.h-data: Likewise.
39582 * include/stropts.h: New file.
39583 * include/uchar.h: New file.
39584 * include/aio.h: Changes to allow conformtest.pl to use the headers.
39585 * include/assert.h: Likewise.
39586 * include/ctype.h: Likewise.
39587 * include/dirent.h: Likewise.
39588 * include/dlfcn.h: Likewise.
39589 * include/fcntl.h: Likewise.
39590 * include/fnmatch.h: Likewise.
39591 * include/glob.h: Likewise.
39592 * include/grp.h: Likewise.
39593 * include/libio.h: Likewise.
39594 * include/locale.h: Likewise.
39595 * include/math.h: Likewise.
39596 * include/net/if.h: Likewise.
39597 * include/netdb.h: Likewise.
39598 * include/netinet/in.h: Likewise.
39599 * include/pthread.h: Likewise.
39600 * include/pwd.h: Likewise.
39601 * include/regex.h: Likewise.
39602 * include/sched.h: Likewise.
39603 * include/search.h: Likewise.
39604 * include/setjmp.h: Likewise.
39605 * include/signal.h: Likewise.
39606 * include/stdio.h: Likewise.
39607 * include/stdlib.h: Likewise.
39608 * include/string.h: Likewise.
39609 * include/sys/cdefs.h: Likewise.
39610 * include/sys/mman.h: Likewise.
39611 * include/sys/msg.h: Likewise.
39612 * include/sys/resource.h: Likewise.
39613 * include/sys/select.h: Likewise.
39614 * include/sys/socket.h: Likewise.
39615 * include/sys/stat.h: Likewise.
39616 * include/sys/statvfs.h: Likewise.
39617 * include/sys/time.h: Likewise.
39618 * include/sys/times.h: Likewise.
39619 * include/sys/uio.h: Likewise.
39620 * include/sys/utsname.h: Likewise.
39621 * include/sys/wait.h: Likewise.
39622 * include/termios.h: Likewise.
39623 * include/time.h: Likewise.
39624 * include/ulimit.h: Likewise.
39625 * include/unistd.h: Likewise.
39626 * include/utime.h: Likewise.
39627 * include/wchar.h: Likewise.
39628 * include/wctype.h: Likewise.
39629 * include/wordexp.h: Likewise.
39631 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
39633 * time/time.h: TIME_UTC must be a macro.
39634 Make timespec_get available for ISO C11 only as well.
39636 2012-02-24 Ulrich Drepper <drepper@gmail.com>
39638 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
39639 Reported by Peng Haitao <penght@cn.fujitsu.com>.
39641 2012-02-24 Joseph Myers <joseph@codesourcery.com>
39643 * configure.in: Use -o not -a in test for unsupported multi-arch.
39645 2012-02-24 Joseph Myers <joseph@codesourcery.com>
39647 * manual/texinfo.tex: Update to version 2012-01-19.16.
39649 2012-02-24 Joseph Myers <joseph@codesourcery.com>
39651 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
39653 2012-02-24 Roland McGrath <roland@hack.frob.com>
39656 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
39657 * manual/fdl-1.3.texi: New file.
39658 * manual/fdl-1.1.texi: File removed.
39661 * manual/libc.texinfo (FDL_VERSION): New @set.
39662 Use it for mention of FDL in cover text.
39663 (Documentation License): Use it in @include file name.
39665 2012-02-22 Joseph Myers <joseph@codesourcery.com>
39666 Roland McGrath <roland@hack.frob.com>
39669 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN)
39670 (not LONG_LONG_MAX and LONG_LONG_MIN.
39671 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
39672 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
39674 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
39676 2012-02-22 Joseph Myers <joseph@codesourcery.com>
39680 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
39681 manipulate bits before adding and subtracting TWO23[sx].
39682 * math/libm-test.inc (nearbyint_test): Add more tests.
39684 2012-02-22 Joseph Myers <joseph@codesourcery.com>
39687 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
39688 bits before adding and subtracting TWO23[sx].
39689 * math/libm-test.inc (rint_test): Add more tests.
39690 (rint_test_tonearest): Likewise.
39691 (rint_test_towardzero): Likewise.
39692 (rint_test_downward): Likewise.
39693 (rint_test_upward: Likewise.
39695 2012-02-22 Joseph Myers <joseph@codesourcery.com>
39698 * include/stdc-predef.h: New file. Extracted from features.h.
39699 * include/features.h: Include stdc-predef.h.
39700 * Makefile (headers): Add stdc-predef.h.
39701 * CONFORMANCE (Compiler limitations): Update.
39703 2012-02-22 Joseph Myers <joseph@codesourcery.com>
39705 * manual/libc.texinfo (VERSION, UPDATED): Revert.
39707 2012-02-21 David S. Miller <davem@davemloft.net>
39709 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
39710 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
39712 2012-02-20 David S. Miller <davem@davemloft.net>
39714 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
39715 using a normal save/restore sequence, rather than allocating a
39716 dummy stack frame just to store a frame pointer and restore.
39717 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
39719 2012-02-21 Joseph Myers <joseph@codesourcery.com>
39721 * manual/install.texi: Fix stray word in line-wrapped comment.
39723 2012-02-20 David S. Miller <davem@davemloft.net>
39725 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
39726 both binutils and gcc support GOTDATA.
39728 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
39729 "rd %pc" in the PIC register setup sequences.
39731 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
39732 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
39733 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
39734 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
39735 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
39736 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
39737 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
39738 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
39739 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
39740 (SYSCALL_ERROR_HANDLER): Likewise.
39741 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
39742 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
39743 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
39744 (SYSCALL_ERROR_HANDLER): Likewise.
39746 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
39747 (HAVE_GCC_GOTDATA): New.
39748 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
39749 relocation support in both binutils and gcc.
39750 * sysdeps/sparc/elf/configure: Regenerate.
39752 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
39753 * sysdeps/sparc/sparc32/elf/configure: Delete.
39754 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
39755 * sysdeps/sparc/sparc64/elf/configure: Delete.
39756 * sysdeps/sparc/elf/configure.in: New file.
39757 * sysdeps/sparc/elf/configure: Generate.
39759 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
39760 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
39761 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
39762 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
39763 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
39765 2012-02-21 Joseph Myers <joseph@codesourcery.com>
39767 * manual/install.texi: Do not mention specific glibc version
39769 * manual/libc.texinfo (VERSION, UPDATED): Update.
39770 (@copying): Use @copyright{} and range of years.
39772 2012-02-21 Joseph Myers <joseph@codesourcery.com>
39775 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
39776 [crti.S not in sysdirs] (generated): Do not append.
39777 [crti.S not in sysdirs] (omit-deps): Likewise.
39778 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
39779 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
39780 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
39781 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
39782 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
39784 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
39785 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
39786 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
39787 * csu/defs.awk: Remove file.
39788 * sysdeps/generic/initfini.c: Likewise.
39789 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
39791 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
39794 2012-02-20 Joseph Myers <joseph@codesourcery.com>
39796 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
39797 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
39798 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
39799 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
39800 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
39801 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
39803 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
39804 (__EPOLL_PACKED): Define to empty if not defined by
39806 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
39807 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
39810 2012-02-20 Joseph Myers <joseph@codesourcery.com>
39812 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
39813 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
39814 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
39815 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
39817 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
39818 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
39821 2012-02-20 Joseph Myers <joseph@codesourcery.com>
39823 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
39825 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
39826 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
39827 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
39828 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39830 2012-02-20 Aurelien Jarno <aurelien@aurel32.net>
39832 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
39833 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
39835 2012-02-19 Andreas Schwab <schwab@linux-m68k.org>
39837 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
39838 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
39840 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
39842 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
39845 2012-02-19 Aurelien Jarno <aurelien@aurel32.net>
39847 * math/w_acos.c: Use non-signaling floating-point comparisons.
39848 * math/w_acosf.c: Likewise.
39849 * math/w_acosh.c: Likewise.
39850 * math/w_acoshf.c: Likewise.
39851 * math/w_acoshl.c: Likewise.
39852 * math/w_acosl.c: Likewise.
39853 * math/w_asin.c: Likewise.
39854 * math/w_asinf.c: Likewise.
39855 * math/w_asinl.c: Likewise.
39856 * math/w_atanh.c: Likewise.
39857 * math/w_atanhf.c: Likewise.
39858 * math/w_atanhl.c: Likewise.
39859 * math/w_exp2.c: Likewise.
39860 * math/w_exp2f.c: Likewise.
39861 * math/w_exp2l.c: Likewise.
39862 * math/w_j0.c: Likewise.
39863 * math/w_j0f.c: Likewise.
39864 * math/w_j0l.c: Likewise.
39865 * math/w_j1.c: Likewise.
39866 * math/w_j1f.c: Likewise.
39867 * math/w_j1l.c: Likewise.
39868 * math/w_jn.c: Likewise.
39869 * math/w_jnf.c: Likewise.
39870 * math/w_log.c: Likewise.
39871 * math/w_log10.c: Likewise.
39872 * math/w_log10f.c: Likewise.
39873 * math/w_log10l.c: Likewise.
39874 * math/w_log2.c: Likewise.
39875 * math/w_log2f.c: Likewise.
39876 * math/w_log2l.c: Likewise.
39877 * math/w_logf.c: Likewise.
39878 * math/w_logl.c: Likewise.
39879 * math/w_sqrt.c: Likewise.
39880 * math/w_sqrtf.c: Likewise.
39881 * math/w_sqrtl.c: Likewise.
39882 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
39883 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
39884 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
39885 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
39886 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
39888 2012-02-19 Joseph Myers <joseph@codesourcery.com>
39891 * manual/string.texi (strnlen): Use correct parameter name in
39892 equivalent expression.
39894 2012-02-19 Joseph Myers <joseph@codesourcery.com>
39897 * manual/users.texi (seteuid): Consistently use neweuid for
39900 2012-02-19 Joseph Myers <joseph@codesourcery.com>
39903 * manual/nss.texi (Services in the NSS configuration): Correct
39904 list of services in example configuration file.
39906 2012-02-19 Nick Bowler <nbowler@draconx.ca>
39909 * manual/arith.texi: Remove statements about negative zero
39910 behaving identically to zero.
39912 2012-02-18 Joseph Myers <joseph@codesourcery.com>
39915 * manual/install.texi: Do not document upgrading from libc5.
39917 2012-02-18 Joseph Myers <joseph@codesourcery.com>
39920 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
39922 2012-02-18 David S. Miller <davem@davemloft.net>
39924 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
39925 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
39926 %o7 across the call.
39927 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
39929 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
39930 SETUP_PIC_REG_LEAF.
39931 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
39932 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
39933 * sysdeps/sparc/crtn.S: Likewise.
39935 2012-02-17 Ulrich Drepper <drepper@gmail.com>
39937 * aout/Makefile: Remove.
39939 2012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
39942 * manual/examples/argp-ex1.c (main): Format definition in GNU
39944 * manual/examples/argp-ex2.c (main): Likewise.
39945 * manual/examples/argp-ex3.c (main): Likewise.
39946 * manual/examples/argp-ex4.c (main): Likewise.
39947 * manual/examples/longopt.c (main): Use new-style prototype
39949 * manual/examples/strncat.c (main): Specify return type and use
39950 (void) for arguments.
39951 * manual/examples/subopt.c (main): Use char **argv argument.
39953 2012-02-17 Joseph Myers <joseph@codesourcery.com>
39956 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
39959 2012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
39962 * manual/string.texi (strchr): Change when strchrnul is
39965 2012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
39968 * manual/locale.texi (setlocale): Document LOCPATH.
39970 2012-02-17 Joseph Myers <joseph@codesourcery.com>
39973 * manual/process.texi (execle): Move @dots{} before last argument.
39975 2012-02-17 Paul Bolle <pebolle@tiscali.nl>
39978 * manual/charset.texi (Generic Charset Conversion): Fix typo
39979 (LC_TYPE -> LC_CTYPE).
39981 2012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
39984 * manual/arith.texi (scalbn): Use @var{} on parameter names.
39985 (scalbnf): Likewise.
39986 (scalbnl): Likewise.
39987 (scalbln): Likewise.
39988 (scalblnf): Likewise.
39989 (scalblnl): Likewise.
39990 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
39991 (vwarnx): Likewise.
39994 * manual/filesys.texi (telldir): Use braces around return type.
39995 * manual/llio.texi (mmap): Add space after comma.
39996 (mmap64): Likewise.
39997 * manual/math.texi (jn): Use @var{} on parameter names.
40003 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
40005 * manual/resource.texi (ulimit): Use @dots{} instead of literal
40007 (sched_get_priority_min): Remove semicolon on @deftypefun line.
40008 (sched_get_priority_max): Likewise.
40009 * manual/signal.texi (sigvec): Add space after comma.
40010 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
40012 (if_indextoname): Likewise.
40013 (if_freenameindex): Likewise.
40014 (sendto): Use ',' instead of '.' in prototype.
40015 * manual/startup.texi (syscall): Use @dots{} instead of literal
40017 * manual/stdio.texi (__fpending): Separate initial words of
40018 paragraph from @deftypefun line.
40019 * manual/syslog.texi (syslog): Use @dots{} instead of literal
40021 (vsyslog): Use @var{} on parameter names.
40022 * manual/terminal.texi (stty): Use @var{} on parameter names.
40023 * manual/users.texi (getutmp): Use @var{} on parameter names.
40024 (getutmpx): Likewise.
40026 2012-02-17 Joseph Myers <joseph@codesourcery.com>
40029 * manual/stdio.texi (fopen): Fix typos in description of
40032 2012-02-17 Aurelien Jarno <aurelien@aurel32.net>
40035 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
40036 get clock_id definition.
40038 2012-02-17 Thomas Schwinge <thomas@schwinge.name>
40041 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
40042 (madvise): Cast every argument to void on its own.
40044 2012-02-17 Joseph Myers <joseph@codesourcery.com>
40047 * manual/startup.texi (Exit Status): Fix typo.
40049 2012-02-17 Joseph Myers <joseph@codesourcery.com>
40052 * manual/examples/argp-ex1.c: Include <stdlib.h>.
40053 * manual/examples/argp-ex2.c: Likewise.
40054 * manual/examples/argp-ex3.c: Likewise.
40056 2012-02-16 Richard Henderson <rth@redhat.com>
40058 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
40059 * sysdeps/s390/s390-32/initfini.c: Remove.
40060 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
40061 * sysdeps/s390/s390-64/initfini.c: Remove.
40063 2012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
40065 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
40066 compiler output for sysdeps/generic/initfini.c.
40067 * sysdeps/sh/elf/initfini.c: Remove file.
40069 2012-02-16 David S. Miller <davem@davemloft.net>
40072 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
40074 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
40075 * sysdeps/sparc/crti.S: New file.
40076 * sysdeps/sparc/crtn.S: New file.
40077 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
40078 * sysdeps/sparc/sparc64/Makefile: Likewise.
40080 2012-02-15 Mike Frysinger <vapier@gentoo.org>
40083 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
40085 2012-02-15 Roland McGrath <roland@hack.frob.com>
40088 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
40090 * mach/devstream.c (cookie_io_functions_t): Macro removed.
40091 (write, read, close): Likewise.
40092 Patch by Aurelien Jarno <aurelien@aurel32.net>.
40094 2012-02-15 Joseph Myers <joseph@codesourcery.com>
40096 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
40097 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
40098 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
40099 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
40101 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
40102 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
40105 2012-02-14 Marek Polacek <polacek@redhat.com>
40107 * sysdeps/x86_64/crti.S: New file.
40108 * sysdeps/x86_64/crtn.S: New file.
40109 * sysdeps/x86_64/elf/initfini.c: Remove file.
40111 2012-02-13 Joseph Myers <joseph@codesourcery.com>
40113 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
40114 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
40115 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
40116 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
40118 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
40119 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
40122 2012-02-13 Joseph Myers <joseph@codesourcery.com>
40124 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
40125 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
40126 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
40127 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
40129 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
40130 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
40133 2012-02-10 Thomas Schwinge <thomas@codesourcery.com>
40135 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
40136 __feraiseexcept instead of feraiseexcept.
40138 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
40139 nanosleep invocations.
40140 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
40141 strings, and add error checking for a nanosleep invocations.
40143 2012-02-09 Paul Eggert <eggert@cs.ucla.edu>
40145 Replace FSF snail mail address with URLs, as per GNU coding standards.
40146 Most of the snail mail addresses were wrong anyway, and omitting
40147 them makes the source code easier to maintain. Almost all of the
40148 changes are to license notices and to locale LC_IDENTIFICATION
40149 addresses, except for this one:
40150 * manual/libc.texinfo: In "Published by", give the FSF's URL,
40151 not its snail mail address.
40153 2012-02-09 Richard Henderson <rth@twiddle.net>
40155 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
40156 of kernel-features.h.
40158 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
40160 2012-02-08 Marek Polacek <polacek@redhat.com>
40162 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
40163 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
40164 * sysdeps/gnu/_G_config.h: Likewise.
40165 * sysdeps/generic/_G_config.h: Likewise.
40167 2012-02-08 Andreas Schwab <schwab@linux-m68k.org>
40169 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
40171 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40173 * sysdeps/powerpc/powerpc32/crti.S: New file.
40174 * sysdeps/powerpc/powerpc32/crtn.S: New file.
40175 * sysdeps/powerpc/powerpc64/crti.S: New file.
40176 * sysdeps/powerpc/powerpc64/crtn.S: New file.
40178 * Makeconfig (have-initfini): Don't set.
40179 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
40180 * configure.in (nopic_initfini): Don't substitute.
40181 * config.h.in (HAVE_INITFINI): Don't #undef.
40182 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
40183 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
40185 2012-02-08 Joseph Myers <joseph@codesourcery.com>
40187 Support crti.S and crtn.S provided directly by architectures.
40188 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
40189 [crti.S in sysdirs] (omit-deps): Likewise.
40190 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
40191 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
40192 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
40193 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
40194 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
40195 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
40196 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
40197 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
40198 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
40199 compiler output for sysdeps/generic/initfini.c.
40200 * sysdeps/i386/elf/Makefile: Remove file.
40201 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
40203 2012-02-07 Marek Polacek <polacek@redhat.com>
40205 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
40206 * sysdeps/gnu/_G_config.h: Likewise.
40207 * sysdeps/mach/hurd/_G_config.h: Likewise.
40209 2012-02-07 Marek Polacek <polacek@redhat.com>
40211 * math/Makefile (tests): Add tst-CMPLX2.
40212 * math/tst-CMPLX2.c: New file.
40214 2012-02-07 Andreas Schwab <schwab@linux-m68k.org>
40216 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
40218 * math/libm-test.inc (jn_test): Add missing L suffix.
40220 2012-02-06 Marek Polacek <polacek@redhat.com>
40222 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
40223 * sysdeps/i386/fpu/e_powf.S: Likewise.
40224 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
40225 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
40226 * sysdeps/i386/fpu/e_acosh.S: Likewise.
40227 * sysdeps/i386/fpu/e_pow.S: Likewise.
40228 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
40229 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
40230 * sysdeps/i386/fpu/s_expm1.S: Likewise.
40231 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
40232 * sysdeps/i386/fpu/e_log2.S: Likewise.
40233 * sysdeps/i386/fpu/e_log2l.S: Likewise.
40234 * sysdeps/i386/fpu/e_scalb.S: Likewise.
40235 * sysdeps/i386/fpu/e_powl.S: Likewise.
40236 * sysdeps/i386/fpu/s_log1p.S: Likewise.
40237 * sysdeps/i386/fpu/e_log10f.S: Likewise.
40238 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
40239 * sysdeps/i386/fpu/e_logl.S: Likewise.
40240 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
40241 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
40242 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
40243 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
40244 * sysdeps/i386/fpu/e_log2f.S: Likewise.
40245 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
40246 * sysdeps/i386/fpu/e_log.S: Likewise.
40247 * sysdeps/i386/fpu/s_cexp.S: Likewise.
40248 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
40249 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
40250 * sysdeps/i386/fpu/e_logf.S: Likewise.
40251 * sysdeps/i386/fpu/e_log10l.S: Likewise.
40252 * sysdeps/i386/fpu/e_atanh.S: Likewise.
40253 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
40254 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
40255 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
40256 * sysdeps/i386/fpu/e_log10.S: Likewise.
40257 * sysdeps/i386/fpu/s_frexp.S: Likewise.
40258 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
40259 * sysdeps/i386/fpu/s_asinh.S: Likewise.
40260 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
40261 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
40262 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
40263 * sysdeps/i386/asm-syntax.h: Likewise.
40264 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
40265 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
40266 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
40267 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
40268 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
40269 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
40270 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
40271 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
40272 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
40273 * sysdeps/powerpc/sysdep.h: Likewise.
40274 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
40275 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
40277 2012-02-06 Joseph Myers <joseph@codesourcery.com>
40280 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
40282 2012-02-06 Joseph Myers <joseph@codesourcery.com>
40284 * sysdeps/i386/sysdep.h: Include <features.h>.
40285 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
40288 2012-02-05 Joseph Myers <joseph@codesourcery.com>
40290 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
40292 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
40295 2012-02-03 Joseph Myers <joseph@codesourcery.com>
40297 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
40298 (SETUP_PIC_REG): Use GET_PC_THUNK.
40299 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
40302 2012-02-03 Joseph Myers <joseph@codesourcery.com>
40304 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
40305 for non-PIC compilation.
40306 (SETUP_PIC_REG): Add .p2align directive.
40307 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
40308 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
40309 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
40310 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
40311 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
40312 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
40313 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
40314 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
40315 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
40316 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
40317 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
40318 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
40319 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
40320 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
40321 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
40322 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
40323 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
40324 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
40325 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
40326 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
40327 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
40328 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
40329 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
40330 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
40331 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
40332 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
40333 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
40334 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
40335 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
40336 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
40337 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
40338 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
40339 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
40340 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
40341 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
40342 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
40343 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
40344 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
40345 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
40346 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
40347 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
40349 2012-02-03 Joseph Myers <joseph@codesourcery.com>
40351 * math/tst-CMPLX.c: Include <stdio.h>.
40353 2012-01-31 Joseph Myers <joseph@codesourcery.com>
40355 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
40357 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
40358 * sysdeps/sparc/bits/mathdef.h: Likewise.
40360 2012-01-31 Marek Polacek <polacek@redhat.com>
40362 * libio/libio.h: Don't define _PARAMS.
40363 * locale/programs/config.h: Don't define PARAMS.
40364 * stdlib/strtol_l.c: Likewise.
40365 (__strtol_l): Remove PARAMS from the prototype.
40367 2012-01-31 Ulrich Drepper <drepper@gmail.com>
40369 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
40370 names. Just use the correct names. Remove unnecessary wrapper
40372 * malloc/arena.c: Likewise.
40373 * malloc/hooks.c: Likewise.
40375 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
40376 ARENA_TEST says not to. Simplify test for creation of a new arena.
40377 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
40379 2012-01-30 Ulrich Drepper <drepper@gmail.com>
40381 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
40383 (update_get_addr): New function.
40384 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
40385 GET_ADDR_MODULE parameter.
40387 2012-01-30 Joseph Myers <joseph@codesourcery.com>
40389 * crypt/cert.c: Remove __STDC__ conditionals.
40390 * crypt/crypt-entry.c: Likewise.
40391 * crypt/crypt_util.c: Likewise.
40392 * libio/filedoalloc.c: Likewise.
40393 * libio/fileops.c: Likewise.
40394 * libio/genops.c: Likewise.
40395 * libio/iofclose.c: Likewise.
40396 * libio/iofdopen.c: Likewise.
40397 * libio/iofopen.c: Likewise.
40398 * libio/iofopen64.c: Likewise.
40399 * libio/iogetdelim.c: Likewise.
40400 * libio/iopopen.c: Likewise.
40401 * libio/obprintf.c: Likewise.
40402 * libio/oldfileops.c: Likewise.
40403 * libio/oldiofclose.c: Likewise.
40404 * libio/oldiofdopen.c: Likewise.
40405 * libio/oldiofopen.c: Likewise.
40406 * libio/oldiopopen.c: Likewise.
40407 * libio/wfiledoalloc.c: Likewise.
40408 * libio/wgenops.c: Likewise.
40409 * locale/programs/xmalloc.c: Likewise.
40410 * misc/syslog.c: Likewise.
40411 * stdio-common/xbug.c: Likewise.
40412 * string/memchr.c: Likewise.
40413 * string/memcmp.c: Likewise.
40414 * string/memrchr.c: Likewise.
40415 * string/rawmemchr.c: Likewise.
40416 * sysdeps/posix/getcwd.c: Likewise.
40417 * time/strftime_l.c: Likewise.
40419 2012-01-30 Joseph Myers <joseph@codesourcery.com>
40421 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
40422 * config.make.in (config-cflags-sse2avx): Define.
40423 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
40426 2012-01-29 Chris Metcalf <cmetcalf@tilera.com>
40428 * scripts/config.guess: Update from upstream config git repository.
40429 * scripts/config.sub: Likewise.
40431 2012-01-28 Chris Metcalf <cmetcalf@tilera.com>
40433 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
40435 (R_TILEPRO_*, R_TILEGX_*): New macros.
40437 * scripts/firstversions.awk: Fix bug in version range handling.
40439 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
40441 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
40443 * include/sys/epoll.h: New file.
40444 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
40447 2012-01-28 Ulrich Drepper <drepper@gmail.com>
40449 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
40450 Avoid unnecessary __WORDSIZE == 64 test.
40451 (fmaxf): Use VEX format if possible.
40456 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
40457 * math/math_private.h: Remove libc_fegetround* and
40459 * sysdeps/i386/configure.in: Check for -msse2avx.
40460 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
40461 also if SSE2AVX is defined.
40462 Remove libc_fegetround* and libc_fesetround*.
40463 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
40464 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
40465 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
40467 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
40468 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
40469 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
40470 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
40471 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
40473 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
40475 2012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
40477 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
40479 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
40481 2012-01-27 Ulrich Drepper <drepper@gmail.com>
40484 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
40486 * Makeconfig (libm): Define.
40487 * elf/Makefile: Add rules to build and run tst-relsort1.
40488 * elf/tst-relsort1.c: New file.
40489 * elf/tst-relsort1mod1.c: New file.
40490 * elf/tst-relsort1mod2.c: New file.
40492 2012-01-27 Joseph Myers <joseph@codesourcery.com>
40494 * math/s_ldexp.c: Remove __STDC__ conditionals.
40495 * math/s_ldexpf.c: Likewise.
40496 * math/s_ldexpl.c: Likewise.
40497 * math/s_nextafter.c: Likewise.
40498 * math/s_nexttowardf.c: Likewise.
40499 * math/s_significand.c: Likewise.
40500 * math/s_significandf.c: Likewise.
40501 * math/s_significandl.c: Likewise.
40502 * math/w_jnl.c: Likewise.
40503 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
40504 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
40505 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
40506 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
40507 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
40508 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
40509 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
40510 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
40511 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
40512 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
40513 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
40514 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
40515 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
40516 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
40517 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
40518 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
40519 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
40520 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
40521 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
40522 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
40523 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
40524 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
40525 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
40526 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
40527 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
40528 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
40529 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
40530 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
40531 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
40532 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
40533 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
40534 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
40535 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
40536 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
40537 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
40538 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
40539 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
40540 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
40541 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
40542 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
40543 * sysdeps/ieee754/k_standard.c: Likewise.
40544 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
40545 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
40546 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
40547 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
40548 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
40549 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
40550 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
40551 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
40552 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
40553 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
40554 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
40555 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
40556 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
40557 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
40558 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
40559 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
40560 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
40561 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
40562 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
40563 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
40564 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
40565 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
40566 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
40567 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
40568 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
40569 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
40570 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
40571 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
40572 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
40573 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
40574 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
40575 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
40576 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
40577 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
40578 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
40579 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
40580 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
40581 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
40582 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
40583 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
40584 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
40585 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
40586 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
40587 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
40588 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
40589 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
40590 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
40591 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
40592 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
40593 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
40594 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
40595 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
40596 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
40597 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
40598 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
40599 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
40600 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
40601 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
40602 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
40603 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
40604 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
40605 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
40606 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
40607 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
40608 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
40609 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
40610 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
40611 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
40612 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
40613 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
40614 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
40615 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
40616 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
40617 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
40618 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
40619 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
40620 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
40621 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
40622 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
40623 * sysdeps/ieee754/s_matherr.c: Likewise.
40624 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
40625 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
40626 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
40627 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
40629 2012-01-26 Joseph Myers <joseph@codesourcery.com>
40631 * crypt/md5.h: Remove __STDC__ conditionals.
40632 * libio/libioP.h: Likewise.
40633 * locale/programs/config.h: Likewise.
40634 * sysdeps/generic/sysdep.h: Likewise.
40635 * sysdeps/i386/asm-syntax.h: Likewise.
40636 * sysdeps/s390/asm-syntax.h: Likewise.
40637 * sysdeps/unix/sysdep.h: Likewise.
40638 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
40639 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
40641 2012-01-26 Joseph Myers <joseph@codesourcery.com>
40643 * libio/libio.h: Remove __STDC__ conditionals.
40644 * malloc/obstack.h: Likewise.
40645 * math/complex.h: Likewise.
40646 * math/math.h: Likewise.
40647 * sysdeps/generic/_G_config.h: Likewise.
40648 * sysdeps/gnu/_G_config.h: Likewise.
40649 * sysdeps/mach/hurd/_G_config.h: Likewise.
40650 * sysdeps/powerpc/bits/mathdef.h: Likewise.
40651 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
40652 * sysdeps/sparc/bits/mathdef.h: Likewise.
40654 2012-01-26 Ulrich Drepper <drepper@gmail.com>
40657 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
40658 Clean up HAS_* macros.
40659 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
40660 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
40662 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
40664 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
40665 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
40666 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
40667 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
40668 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
40670 2012-01-25 Joseph Myers <joseph@codesourcery.com>
40672 * elf/tst-unique3.cc (gets): Remove declaration.
40673 * elf/tst-unique3lib.cc (gets): Likewise.
40674 * elf/tst-unique3lib2.cc (gets): Likewise.
40675 * elf/tst-unique4.cc (gets): Likewise.
40677 2012-01-24 Ulrich Drepper <drepper@gmail.com>
40679 * include/stdio.h: Add C++ protection. Add gets declarations and
40681 * debug/tst-chk1.c: Don't declare gets here.
40682 * stdio-common/tst-gets.c: Likewise.
40684 2012-01-24 Joseph Myers <joseph@codesourcery.com>
40686 * posix/glob: Remove directory.
40688 2012-01-24 Joseph Myers <joseph@codesourcery.com>
40690 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
40692 2012-01-22 Pino Toscano <toscano.pino@tiscali.it>
40694 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
40695 of the non-standard EPFNOSUPPORT.
40697 2011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
40699 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
40700 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
40701 ANYWHERE set to 1 only on KERN_NO_SPACE error.
40703 2012-01-21 Ulrich Drepper <drepper@gmail.com>
40705 * wcsmbs/uchar.h: Test __STDC_VERSION__.
40707 2012-01-20 Ulrich Drepper <drepper@gmail.com>
40709 * nscd/aicache.c (addhstaiX): Do not cache negative results of
40711 * nscd/grpcache.c (cache_addgr): Likewise.
40712 * nscd/hstcache.c (cache_addhst): Likewise.
40713 * nscd/initgrcache.c (addinitgroupsX): Likewise.
40714 * nscd/pwdcache.c (cache_addpw): Likewise.
40715 * nscd/servicescache.c (cache_addserv): Likewise.
40717 2012-01-16 Ulrich Drepper <drepper@gmail.com>
40719 * malloc/malloc.c: Various cleanups.
40720 * malloc/hooks.c: Likewise.
40722 * stdlib/Makefile (tests): Add bug-fmtmsg1.
40723 * stdlib/bug-fmtmsg1.c: New file.
40725 * stdlib/fmtmsg.c (init): Add missing unlock.
40726 Patch by Peng Haitao <penght@cn.fujitsu.com>.
40728 2012-01-12 Marek Polacek <polacek@redhat.com>
40730 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
40733 2012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
40735 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
40736 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
40737 macro to ensure uniqueness of label name.
40738 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
40739 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
40741 2012-01-11 Ulrich Drepper <drepper@gmail.com>
40743 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
40745 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
40746 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
40747 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
40748 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
40750 2012-01-10 Ulrich Drepper <drepper@gmail.com>
40752 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
40754 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
40755 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
40756 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
40758 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
40760 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
40761 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
40762 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
40763 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
40765 * math/bits/math-finite.h: Add ldexp support.
40767 2012-01-10 Marek Polacek <polacek@redhat.com>
40769 * locale/programs/localedef.h (show_archive_content): Add noreturn
40772 2012-01-09 Ulrich Drepper <drepper@gmail.com>
40774 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
40776 2012-01-08 Ulrich Drepper <drepper@gmail.com>
40778 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
40780 * io/Makefile (headers): Add bits/poll2.h.
40782 2011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
40784 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
40785 typo #include statement.
40787 2012-01-08 Ulrich Drepper <drepper@gmail.com>
40789 * include/sys/cdefs.h: Define __attribute_alloc_size.
40790 * catgets/gencat.c: Add alloc_size attribute and apply consistently
40791 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
40792 * elf/pldd.c: Likewise.
40793 * iconv/iconv_charmap.c: Likewise.
40794 * iconv/iconvconfig.c: Likewise.
40795 * iconv/strtab.c: Likewise.
40796 * locale/programs/locale.c: Likewise.
40797 * locale/programs/localedef.h: Likewise.
40798 * locale/programs/simple-hash.c: Likewise.
40799 * nscd/nscd.h: Likewise.
40800 * nss/makedb.c: Likewise.
40801 * sysdeps/generic/ldconfig.h: Likewise.
40802 * locale/programs/localedef.c: Remove xmalloc prototype.
40803 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
40805 2012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
40807 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
40810 2012-01-08 Ulrich Drepper <drepper@gmail.com>
40812 * math/Makefile (tests): Add tst-CMPLX.
40813 * math/tst-CMPLX.c: New file.
40815 * math/complex.h (CMPLXL): Fix typo.
40817 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
40818 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
40820 * debug/tst-chk1.c: Add poll and ppoll tests.
40821 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
40822 * include/sys/poll.h: Add hidden proto for ppoll.
40823 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
40824 * sysdeps/mach/hurd/ppoll.c: Likewise.
40825 * io/ppoll.c: Likewise.
40826 * debug/poll_chk.c: New file.
40827 * debug/ppoll_chk.c: New file.
40828 * include/bits/poll2.h: New file.
40829 * io/bits/poll2.h: New file.
40832 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
40834 * configure.in: static is always set to yes. Remove.
40835 * config.make.in: Don't set build-static.
40836 * Makeconfig: Remove use of build-static.
40837 * dlfcn/Makefile: Likewise.
40838 * elf/Makefile: Likewise.
40839 * math/Makefile: Likewise.
40840 * misc/Makefile: Likewise.
40841 * nptl/Makefile: Likewise.
40842 * sysdeps/mach/hurd/Makefile: Likewise.
40844 * configure.in: PWD_P is not used anymore.
40845 * config.make.in: Remove PWD_P entry.
40847 * configure.in: Remove last remnants of RANLIB.
40848 No need to check for signed size_t anymore.
40849 Don't set libc_commonpagesize and libc_relro_required here for Alpha
40851 Remove __builtin_expect test because we require at least gcc 3.4.
40852 * aclocal.m4: Likewise.
40854 * wcsmbs/mbrtoc16.c: Implement using towc function.
40855 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
40856 * wcsmbs/wcsmbsload.c: Likewise.
40857 * iconv/gconv_simple.c: Likewise.
40858 * iconv/gconv_int.h: Likewise.
40859 * iconv/gconv_builtin.h: Likewise.
40860 * iconv/iconv_prog.c: Remove CHAR16 handling.
40862 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
40864 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
40866 * configure.in: Remove --with-elf and --enable-bounded options.
40867 Dont set base_machine for ia64. More non-ELF conditions removed.
40868 Remove testing and setting of leading underscore information.
40869 * config.make.in (build-bounded): Set to no.
40870 * config.h.in: Remove NO_UNDERSCORES entry.
40871 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
40873 * csu/start.c: Remove !NO_UNDERSCORE code.
40874 * locale/localeinfo.h: Likewise.
40875 * sysdeps/generic/machine-gmon.h: Likewise.
40876 * sysdeps/generic/sysdep.h: Likewise.
40877 * sysdeps/i386/sysdep.h: Likewise.
40878 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
40879 * sysdeps/mach/sysdep.h: Likewise.
40880 * sysdeps/s390/s390-32/sysdep.h: Likewise.
40881 * sysdeps/s390/s390-64/sysdep.h: Likewise.
40882 * sysdeps/sh/sysdep.h: Likewise.
40883 * sysdeps/sparc/sparc32/alloca.S: Likewise.
40884 * sysdeps/unix/i386/sysdep.S: Likewise.
40885 * sysdeps/unix/sparc/start.c: Likewise.
40886 * sysdeps/unix/sparc/sysdep.S: Likewise.
40887 * sysdeps/unix/sparc/sysdep.h: Likewise.
40888 * sysdeps/unix/start.c: Likewise.
40889 * sysdeps/unix/x86_64/sysdep.S: Likewise.
40890 * sysdeps/x86_64/sysdep.h: Likewise.
40892 2012-01-07 Ulrich Drepper <drepper@gmail.com>
40895 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
40897 * argp/argp-fmtstream.h: Use const instead __const.
40898 * argp/argp.h: Likewise.
40899 * assert/assert.h: Likewise.
40900 * bits/fenv.h: Likewise.
40901 * bits/sched.h: Likewise.
40902 * bits/sigset.h: Likewise.
40903 * bits/sigthread.h: Likewise.
40904 * catgets/nl_types.h: Likewise.
40905 * conform/data/pthread.h-data: Likewise.
40906 * crypt/crypt-private.h: Likewise.
40907 * crypt/crypt.h: Likewise.
40908 * crypt/crypt_util.c: Likewise.
40909 * ctype/ctype.h: Likewise.
40910 * debug/execinfo.h: Likewise.
40911 * debug/mbsnrtowcs_chk.c: Likewise.
40912 * debug/mbsrtowcs_chk.c: Likewise.
40913 * debug/wcsnrtombs_chk.c: Likewise.
40914 * debug/wcsrtombs_chk.c: Likewise.
40915 * debug/wcstombs_chk.c: Likewise.
40916 * dirent/dirent.h: Likewise.
40917 * dlfcn/dlfcn.h: Likewise.
40918 * elf/neededtest4.c: Likewise.
40919 * grp/grp.h: Likewise.
40920 * gshadow/gshadow.h: Likewise.
40921 * iconv/gconv.h: Likewise.
40922 * iconv/gconv_int.h: Likewise.
40923 * iconv/gconv_simple.c: Likewise.
40924 * iconv/iconv.h: Likewise.
40925 * iconv/loop.c: Likewise.
40926 * iconv/skeleton.c: Likewise.
40927 * include/aio.h: Likewise.
40928 * include/aliases.h: Likewise.
40929 * include/argz.h: Likewise.
40930 * include/arpa/inet.h: Likewise.
40931 * include/assert.h: Likewise.
40932 * include/dirent.h: Likewise.
40933 * include/dlfcn.h: Likewise.
40934 * include/execinfo.h: Likewise.
40935 * include/fcntl.h: Likewise.
40936 * include/fenv.h: Likewise.
40937 * include/glob.h: Likewise.
40938 * include/grp.h: Likewise.
40939 * include/libintl.h: Likewise.
40940 * include/mntent.h: Likewise.
40941 * include/netdb.h: Likewise.
40942 * include/pwd.h: Likewise.
40943 * include/rpc/netdb.h: Likewise.
40944 * include/sched.h: Likewise.
40945 * include/search.h: Likewise.
40946 * include/shadow.h: Likewise.
40947 * include/signal.h: Likewise.
40948 * include/stdio.h: Likewise.
40949 * include/stdlib.h: Likewise.
40950 * include/string.h: Likewise.
40951 * include/sys/socket.h: Likewise.
40952 * include/sys/stat.h: Likewise.
40953 * include/sys/statfs.h: Likewise.
40954 * include/sys/statvfs.h: Likewise.
40955 * include/sys/syslog.h: Likewise.
40956 * include/sys/time.h: Likewise.
40957 * include/sys/uio.h: Likewise.
40958 * include/time.h: Likewise.
40959 * include/unistd.h: Likewise.
40960 * include/utmp.h: Likewise.
40961 * include/wchar.h: Likewise.
40962 * include/wctype.h: Likewise.
40963 * inet/aliases.h: Likewise.
40964 * inet/arpa/inet.h: Likewise.
40965 * inet/netinet/ether.h: Likewise.
40966 * inet/netinet/in.h: Likewise.
40967 * intl/libintl.h: Likewise.
40968 * io/bits/fcntl2.h: Likewise.
40969 * io/fcntl.h: Likewise.
40970 * io/ftw.h: Likewise.
40971 * io/sys/poll.h: Likewise.
40972 * io/sys/stat.h: Likewise.
40973 * io/sys/statfs.h: Likewise.
40974 * io/sys/statvfs.h: Likewise.
40975 * io/utime.h: Likewise.
40976 * libio/bits/stdio.h: Likewise.
40977 * libio/bits/stdio2.h: Likewise.
40978 * libio/libio.h: Likewise.
40979 * libio/libioP.h: Likewise.
40980 * libio/stdio.h: Likewise.
40981 * locale/lc-ctype.c: Likewise.
40982 * locale/locale.h: Likewise.
40983 * login/utmp.h: Likewise.
40984 * malloc/arena.c: Likewise.
40985 * malloc/malloc.c: Likewise.
40986 * malloc/malloc.h: Likewise.
40987 * malloc/mcheck.c: Likewise.
40988 * malloc/mtrace.c: Likewise.
40989 * math/bits/mathcalls.h: Likewise.
40990 * math/fenv.h: Likewise.
40991 * math/math_private.h: Likewise.
40992 * misc/bits/error.h: Likewise.
40993 * misc/bits/syslog.h: Likewise.
40994 * misc/err.h: Likewise.
40995 * misc/error.h: Likewise.
40996 * misc/fstab.h: Likewise.
40997 * misc/mntent.h: Likewise.
40998 * misc/regexp.h: Likewise.
40999 * misc/search.h: Likewise.
41000 * misc/sgtty.h: Likewise.
41001 * misc/sys/mman.h: Likewise.
41002 * misc/sys/syslog.h: Likewise.
41003 * misc/sys/uio.h: Likewise.
41004 * misc/sys/xattr.h: Likewise.
41005 * misc/ttyent.h: Likewise.
41006 * nis/rpcsvc/ypclnt.h: Likewise.
41007 * nss/nss.h: Likewise.
41008 * posix/bits/unistd.h: Likewise.
41009 * posix/fnmatch.h: Likewise.
41010 * posix/glob.h: Likewise.
41011 * posix/sched.h: Likewise.
41012 * posix/spawn.h: Likewise.
41013 * posix/sys/wait.h: Likewise.
41014 * posix/unistd.h: Likewise.
41015 * posix/wordexp.h: Likewise.
41016 * pwd/pwd.h: Likewise.
41017 * resolv/netdb.h: Likewise.
41018 * resource/sys/resource.h: Likewise.
41019 * rt/aio.h: Likewise.
41020 * rt/bits/mqueue2.h: Likewise.
41021 * rt/mqueue.h: Likewise.
41022 * shadow/shadow.h: Likewise.
41023 * signal/signal.h: Likewise.
41024 * socket/send.c: Likewise.
41025 * socket/sendto.c: Likewise.
41026 * socket/sys/socket.h: Likewise.
41027 * stdio-common/printf.h: Likewise.
41028 * stdlib/bits/stdlib.h: Likewise.
41029 * stdlib/fmtmsg.h: Likewise.
41030 * stdlib/monetary.h: Likewise.
41031 * stdlib/stdlib.h: Likewise.
41032 * stdlib/ucontext.h: Likewise.
41033 * streams/stropts.h: Likewise.
41034 * string/argz.h: Likewise.
41035 * string/bits/string2.h: Likewise.
41036 * string/string.h: Likewise.
41037 * string/strings.h: Likewise.
41038 * sunrpc/rpc/auth.h: Likewise.
41039 * sunrpc/rpc/auth_des.h: Likewise.
41040 * sunrpc/rpc/clnt.h: Likewise.
41041 * sunrpc/rpc/netdb.h: Likewise.
41042 * sunrpc/rpc/pmap_clnt.h: Likewise.
41043 * sunrpc/rpc/xdr.h: Likewise.
41044 * sysdeps/generic/inttypes.h: Likewise.
41045 * sysdeps/generic/net/if.h: Likewise.
41046 * sysdeps/generic/sys/swap.h: Likewise.
41047 * sysdeps/gnu/net/if.h: Likewise.
41048 * sysdeps/gnu/utmpx.h: Likewise.
41049 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
41050 * sysdeps/i386/i486/bits/string.h: Likewise.
41051 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
41052 * sysdeps/s390/bits/string.h: Likewise.
41053 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
41054 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
41055 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
41056 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
41057 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
41058 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
41059 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
41060 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
41061 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
41062 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
41063 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
41064 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
41065 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
41066 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
41067 * sysdeps/unix/sysv/linux/readv.c: Likewise.
41068 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
41069 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
41070 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
41071 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
41072 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
41073 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
41074 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
41075 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
41076 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
41077 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
41078 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
41079 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
41080 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
41081 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
41082 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
41083 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
41084 * sysvipc/sys/ipc.h: Likewise.
41085 * sysvipc/sys/msg.h: Likewise.
41086 * sysvipc/sys/sem.h: Likewise.
41087 * sysvipc/sys/shm.h: Likewise.
41088 * termios/termios.h: Likewise.
41089 * time/sys/time.h: Likewise.
41090 * time/time.h: Likewise.
41091 * wcsmbs/bits/wchar2.h: Likewise.
41092 * wcsmbs/uchar.h: Likewise.
41093 * wcsmbs/wchar.h: Likewise.
41094 * wctype/wctype.h: Likewise.
41097 * Makeconfig: Remove all but ELF support including AIX support.
41098 * Makerules: Likewise.
41099 * config.h.in: Likewise.
41100 * config.make.in: Likewise.
41101 * configure: Likewise.
41102 * configure.in: Likewise.
41103 * csu/Makefile: Likewise.
41104 * csu/version.c: Likewise.
41105 * debug/Makefile: Likewise.
41106 * dlfcn/Makefile: Likewise.
41107 * elf/Makefile: Likewise.
41108 * extra-lib.mk: Likewise.
41109 * iconv/Makefile: Likewise.
41110 * include/libc-symbols.h: Likewise.
41111 * include/shlib-compat.h: Likewise.
41112 * resolv/Makefile: Likewise.
41113 * resolv/res_libc.c: Likewise.
41114 * rt/Makefile: Likewise.
41115 * sysdeps/i386/asm-syntax.h: Likewise.
41116 * sysdeps/i386/sysdep.h: Likewise.
41117 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
41118 * sysdeps/mach/sysdep.h: Likewise.
41119 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
41120 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
41121 * sysdeps/s390/asm-syntax.h: Likewise.
41122 * sysdeps/s390/s390-32/sysdep.h: Likewise.
41123 * sysdeps/s390/s390-64/sysdep.h: Likewise.
41124 * sysdeps/sh/sysdep.h: Likewise.
41125 * sysdeps/unix/sparc/sysdep.h: Likewise.
41126 * sysdeps/wordsize-32/divdi3.c: Likewise.
41127 * sysdeps/x86_64/sysdep.h: Likewise.
41129 * argp/Versions: Remove _argp_unlock_xxx.
41132 * abilist/ld.abilist: Update. Adjust for removal of tls option.
41133 * abilist/libBrokenLocale.abilist: Likewise.
41134 * abilist/libanl.abilist: Likewise.
41135 * abilist/libc.abilist: Likewise.
41136 * abilist/libcrypt.abilist: Likewise.
41137 * abilist/libdl.abilist: Likewise.
41138 * abilist/libm.abilist: Likewise.
41139 * abilist/libnsl.abilist: Likewise.
41140 * abilist/libpthread.abilist: Likewise.
41141 * abilist/libresolv.abilist: Likewise.
41142 * abilist/librt.abilist: Likewise.
41143 * abilist/libthread_db.abilist: Likewise.
41144 * abilist/libutil.abilist: Likewise.
41145 * abilist/libnss_db.abilist: New file.
41147 * scripts/abilist.awk: Add support for indirect functions.
41149 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
41151 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
41153 * shlib-versions: Remove entries for ports architectures.
41155 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
41157 * elf/stackguard-macros.h: Remove support for IA-64.
41158 * elf/tst-auditmod1.c: Likewise.
41159 * sysdeps/generic/ldsodefs.h: Likewise.
41161 * sysdeps/unix/sysv/linux/configure.in: Ports should define
41162 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
41166 * configure.in: Remove --enable-omitfp support.
41168 * config.make.in: Likewise.
41169 * Makeconfig: Likewise.
41170 * manual/install.texi: Likewise.
41172 In case anyone cares, the IA-64 architecture could move to ports.
41173 * sysdeps/ia64/*: Removed.
41174 * sysdeps/unix/sysv/linux/ia64/*: Removed.
41175 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
41178 * configure.in: Remove entries for unsupported architectures.
41181 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
41182 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
41184 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
41185 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
41186 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
41187 fall back to using wcrtomb.
41188 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
41189 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
41191 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
41192 * wcsmbs/tst-c16c32-1.c: New file.
41194 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
41197 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
41199 * elf/tst-unique3.cc: Add explicit declaration of gets.
41200 * elf/tst-unique3lib.cc: Likewise.
41201 * elf/tst-unique3lib2.cc: Likewise.
41202 * elf/tst-unique4.cc: Likewise.
41204 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
41206 2012-01-06 Joseph Myers <joseph@codesourcery.com>
41209 * assert/assert.h (static_assert): Don't define for C++.
41210 * libio/stdio.h (gets): Do declare for C++ <= C++11.
41211 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
41213 2012-01-03 Ulrich Drepper <drepper@gmail.com>
41215 * iconv/loop.c (single loop): Fix assertion in storing of
41218 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
41220 2012-01-01 Ulrich Drepper <drepper@gmail.com>
41222 * posix/getconf.c: Update copyright year.
41223 * nss/getent.c: Likewise.
41224 * nss/makedb.c: Likewise.
41225 * iconv/iconvconfig.c: Likewise.
41226 * iconv/iconv_prog.c: Likewise.
41227 * elf/ldconfig.c: Likewise.
41228 * elf/pldd.c: Likewise.
41229 * elf/sotruss.ksh: Likewise.
41230 * catgets/gencat.c: Likewise.
41231 * csu/version.c: Likewise.
41232 * elf/ldd.bash.in: Likewise.
41233 * elf/sprof.c (print_version): Likewise.
41234 * locale/programs/locale.c: Likewise.
41235 * locale/programs/localedef.c: Likewise.
41236 * login/programs/pt_chown.c: Likewise.
41237 * nscd/nscd.c (print_version): Likewise.
41238 * debug/xtrace.sh: Likewise.
41239 * malloc/memusage.sh: Likewise.
41240 * malloc/mtrace.pl: Likewise.
41241 * debug/catchsegv.sh: Likewise.
41243 2011-12-30 Jakub Jelinek <jakub@redhat.com>
41245 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
41248 2011-12-24 Ulrich Drepper <drepper@gmail.com>
41251 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
41252 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
41254 * iconv/gconv_int.h: Likewise.
41255 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
41256 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
41257 from libc for GLIBC_2.16.
41258 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
41259 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
41260 * wcsmbs/uchar.h: Really define mbstate_t.
41261 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
41262 * wcsmbs/c16rtomb.c: New file.
41263 * wcsmbs/mbrtoc16.c: New file.
41264 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
41265 for C/POSIX locale.
41266 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
41267 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
41269 * wcsmbs/wchar.h: Add missing __restrict.
41271 2011-12-23 Ulrich Drepper <drepper@gmail.com>
41274 * time/Makefile (routines): Add timespec_get.
41275 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
41276 * time/time.h: Define TIME_UTC and declare timespec_get. Define
41277 timespec for ISO C11.
41278 * time/timespec_get.c: New file.
41279 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
41280 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
41283 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
41284 * stdlib/stdlib.h: Declare aligned_alloc.
41285 * Versions.def: Add GLIBC_2.16 for libc.
41286 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
41289 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
41292 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
41296 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
41299 * assert/assert.h (static_assert): Define.
41301 * version.h: Update for 2.16 development version.
41304 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
41307 * version.h (RELEASE): Bump for 2.15 release.
41308 * include/features.h (__GLIBC_MINOR__): Bump to 15.
41310 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
41311 Patch by Marek Polacek <mpolacek@redhat.com>.
41313 * bits/byteswap.h: Protect long long constants with __extension__.
41314 * sysdeps/i386/bits/byteswap.h: Likewise.
41315 * sysdeps/ia64/bits/byteswap.h: Likewise.
41316 * sysdeps/s390/bits/byteswap.h: Likewise.
41317 * sysdeps/x86_64/bits/byteswap.h: Likewise.
41319 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
41322 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
41323 destination buffer.
41324 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
41326 2011-12-23 Marek Polacek <polacek@redhat.com>
41328 * elf/dl-addr.c (determine_info): Add inline keyword.
41329 * elf/tst-auditmod4b.c (check_avx): Likewise.
41330 * elf/tst-auditmod6b.c (check_avx): Likewise.
41331 * elf/tst-auditmod6c.c (check_avx): Likewise.
41332 * elf/tst-auditmod7b.c (check_avx): Likewise.
41334 2011-12-23 Ulrich Drepper <drepper@gmail.com>
41336 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
41339 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
41342 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
41343 processing for last bytes.
41345 2011-08-06 Bruno Haible <bruno@clisp.org>
41348 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
41349 U+0385, not to U+1FEE.
41352 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
41353 entry for U+00A5 U+0301.
41355 2011-12-22 Ulrich Drepper <drepper@gmail.com>
41358 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
41359 buffer for the output is too small.
41361 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
41365 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
41366 SSE flags if possible.
41368 2011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
41371 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
41372 processing for last bytes.
41374 2011-12-22 Joseph Myers <joseph@codesourcery.com>
41376 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
41377 (syscall-list-default-options, syscall-list-default-condition)
41378 (syscall-list-includes): Define.
41379 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
41380 list of ABIs and options and #if conditions for each ABI. Do not
41381 handle common syscalls between ABIs specially.
41382 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
41384 (syscall-list-variants, syscall-list-32bit-options)
41385 (syscall-list-32bit-condition, syscall-list-64bit-options)
41386 (syscall-list-64bit-condition): Define.
41387 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
41388 (syscall-list-variants, syscall-list-32bit-options)
41389 (syscall-list-32bit-condition, syscall-list-64bit-options)
41390 (syscall-list-64bit-condition): Define.
41391 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
41393 (syscall-list-variants, syscall-list-32bit-options)
41394 (syscall-list-32bit-condition, syscall-list-64bit-options)
41395 (syscall-list-64bit-condition): Define.
41396 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
41398 (syscall-list-variants, syscall-list-32bit-options)
41399 (syscall-list-32bit-condition, syscall-list-64bit-options)
41400 (syscall-list-64bit-condition): Define.
41402 2011-12-22 Ulrich Drepper <drepper@gmail.com>
41404 * locale/iso-639.def: Add brx entry.
41407 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
41408 Proposed by Mariusz_Cukr <marcukr@op.pl>.
41410 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
41411 __feraiseexcept_renamed.
41413 2011-12-21 Ulrich Drepper <drepper@gmail.com>
41416 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
41417 EPOLLET with unsigned values.
41418 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
41419 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
41421 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
41422 to large cancellation.
41423 * math/s_cacoshf.c: Likewise.
41424 * math/s_cacoshl.c: Likewise.
41426 2011-11-18 Richard B. Kreckel <kreckel@ginac.de>
41430 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
41431 * math/s_cacoshf.c: Likewise.
41432 * math/s_cacoshl.c: Likewise.
41434 2011-12-21 Ulrich Drepper <drepper@gmail.com>
41437 * iconv/gconv.h: Define __GCONV_SWAP.
41438 * iconvdata/unicode.c: The swap bit must be stored in __flags.
41439 * iconvdata/utf-16.c: Likewise.
41440 * iconvdata/utf-32.c: Likewise.
41442 2011-12-21 Andreas Schwab <schwab@linux-m68k.org>
41445 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
41446 numerator after shifting it by one limb.
41448 2011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
41450 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
41451 under [__USE_EXTERN_INLINES].
41453 2011-12-17 Ulrich Drepper <drepper@gmail.com>
41456 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
41458 2011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
41460 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
41461 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
41463 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
41464 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
41465 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
41466 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
41467 for strncasecmp/strncasecmp_l compilation.
41468 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
41469 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
41471 2011-12-08 Marek Polacek <mpolacek@redhat.com>
41474 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
41477 2011-12-17 Ulrich Drepper <drepper@gmail.com>
41480 * time/tzfile.c (__tzfile_read): Check values from file header.
41482 2011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
41484 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
41485 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
41486 * powerpc/powerpc32/dl-start.S: Likewise.
41487 * powerpc/powerpc32/elf/start.S: Likewise.
41488 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
41489 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
41490 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
41491 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
41492 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
41493 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
41494 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
41495 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
41496 * powerpc/powerpc32/fpu/s_round.S: Likewise.
41497 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
41498 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
41499 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
41500 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
41501 * powerpc/powerpc32/memset.S: Likewise.
41502 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
41503 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
41504 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
41505 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
41506 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
41507 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
41508 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
41509 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
41510 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
41511 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
41512 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
41513 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
41514 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
41516 2011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
41518 * math/libm-test.inc: Added more nearbyint tests.
41519 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
41520 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
41521 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
41522 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
41524 2011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
41526 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
41529 2011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
41531 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
41532 Add wcscpy-ssse3 wcscpy-c.
41533 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
41534 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
41535 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
41536 * sysdeps/x86_64/wcschr.S: New file.
41537 * sysdeps/x86_64/wcsrchr.S: New file.
41538 * string/test-strcmp.c: Remove checking of wcscmp function for
41540 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
41541 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
41542 wcsrchr-sse2 wcsrchr-c.
41543 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
41544 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
41545 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
41546 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
41547 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
41548 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
41549 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
41550 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
41551 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
41552 * wcsmbc/wcschr.c (WCSCHR): New macro.
41554 2011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
41556 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
41557 * wcsmbs/test-wcsrchr.c: New file.
41558 * string/test-strrchr.c: Add wcsrchr support.
41560 * wcsmbs/test-wcscpy.c: New file.
41561 * string/test-strcpy.c: Add wcscpy support.
41564 2011-12-10 Ulrich Drepper <drepper@gmail.com>
41566 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
41569 2011-12-06 Andreas Schwab <schwab@linux-m68k.org>
41572 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
41574 2011-12-04 Ulrich Drepper <drepper@gmail.com>
41576 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
41577 Minor optimizations.
41579 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
41580 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
41581 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
41583 2011-12-03 Ulrich Drepper <drepper@gmail.com>
41585 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
41586 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
41587 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
41588 for gcc to avoid warnings.
41589 * inet/Makefile (tests): Add tst-checks.
41590 * inet/tst-checks.c: New file.
41592 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
41595 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
41598 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
41599 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
41601 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
41603 2011-12-02 Ulrich Drepper <drepper@gmail.com>
41605 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
41608 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
41610 2011-11-29 Joseph Myers <joseph@codesourcery.com>
41612 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
41613 conditional on GCC version.
41614 (__arch_compare_and_exchange_val_8_acq)
41615 (__arch_compare_and_exchange_val_16_acq)
41616 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
41617 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
41618 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
41620 2011-12-02 Joseph Myers <joseph@codesourcery.com>
41622 * sysdeps/sh/backtrace.c: New file.
41624 2011-12-02 Andreas Schwab <schwab@redhat.com>
41626 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
41629 2011-12-01 Andreas Schwab <schwab@redhat.com>
41631 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
41632 falling back to utime.
41634 2011-11-30 Andreas Schwab <schwab@redhat.com>
41636 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
41637 expectations for float.
41639 2011-11-29 Andreas Schwab <schwab@redhat.com>
41641 * locale/weight.h (findidx): Add parameter len.
41642 * locale/weightwc.h (findidx): Likewise.
41643 * posix/fnmatch_loop.c (FCT): Adjust caller.
41644 * posix/regcomp.c (build_equiv_class): Likewise.
41645 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
41646 * posix/regexec.c (check_node_accept_bytes): Likewise.
41647 * string/strcoll_l.c (STRCOLL): Likewise.
41648 * string/strxfrm_l.c (STRXFRM): Likewise.
41650 2011-11-17 Ulrich Drepper <drepper@gmail.com>
41652 * Makefile.in: Remove CVSOPT handling.
41653 * configure.in: Remove use of AC_REVISION.
41654 * iconvdata/Makefile (distribute): No need to filter out CVS.
41655 * scripts/list-sources.sh: Remove CVS, subversion and monotone
41658 2011-11-16 Andreas Schwab <schwab@redhat.com>
41660 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
41661 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
41662 [USE_AS_STRNCASECMP_L]: Likewise.
41663 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
41664 NO_TLS_DIRECT_SEG_REFS.
41665 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
41666 Fix argument offsets for non-PIC.
41667 [USE_AS_STRNCASECMP_L]: Likewise.
41668 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
41669 NO_TLS_DIRECT_SEG_REFS.
41671 2011-11-15 Ulrich Drepper <drepper@gmail.com>
41673 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
41675 * locale/loadlocale.c (_nl_load_locale): Likewise.
41677 2011-11-15 Andreas Schwab <schwab@redhat.com>
41679 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
41680 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
41681 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
41682 (SYSCALL_GETTIME): Set errno on error.
41684 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
41685 count references to noai6ai_cached.
41687 2011-11-15 Ulrich Drepper <drepper@gmail.com>
41689 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
41691 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
41692 FD_CLOEXEC for /proc/self/maps.
41694 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
41695 FD_CLOEXEC for /proc/meminfo.
41697 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
41700 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
41701 FD_CLOEXEC for given file.
41703 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
41705 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
41706 FD_CLOEXEC for /etc/hosts.
41707 (_gethtent): Likewise.
41709 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
41711 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
41712 cancellation and set FD_CLOEXEC for /etc/netgroup.
41714 * nss/nss_files/files-key.c (search): Don't allow cancellation when
41715 reading /etc/publickey.
41717 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
41718 allow cancellation when reading /etc/group.
41720 * nss/nss_files/files-alias.c (internal_setent): Don't allow
41722 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
41724 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
41725 when using data file.
41727 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
41729 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
41730 (write_nis_obj): Use "c" and "e" in fopen.
41732 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
41734 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
41736 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
41738 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
41740 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
41743 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
41745 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
41747 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
41749 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
41750 file parsing and set FD_CLOEXEC.
41752 2011-11-14 Ulrich Drepper <drepper@gmail.com>
41754 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
41756 2011-11-14 Andreas Schwab <schwab@redhat.com>
41758 * malloc/arena.c (arena_get2): Don't call reused_arena when
41759 _int_new_arena failed.
41761 2011-11-14 Ulrich Drepper <drepper@gmail.com>
41763 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
41764 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
41765 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
41766 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
41767 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
41768 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
41769 to compile strcasecmp and strncasecmp.
41770 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
41771 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
41773 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
41775 2011-11-13 Ulrich Drepper <drepper@gmail.com>
41777 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
41778 locale-defines.sym to gen-as-const-headers.
41779 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
41780 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
41781 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
41782 to compile strcasecmp and strncasecmp.
41783 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
41784 strcasecmp_l and strncasecmp_l.
41785 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
41786 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
41787 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
41788 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
41789 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
41790 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
41791 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
41792 * sysdeps/i386/i686/multiarch/strncase.S: New file.
41793 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
41794 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
41795 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
41797 2011-11-12 Ulrich Drepper <drepper@gmail.com>
41799 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
41800 result of SYSDEP_GETTIME_CPU to retval.
41801 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
41802 parameter list to macro. Remove trailing semicolon. Adjust users.
41804 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
41807 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
41809 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
41811 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
41812 from unused variable.
41814 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
41816 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
41819 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
41822 * sunrpc/rpc_prot.c (rejected): Fix case value.
41824 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
41825 unsigned long long int to avoid warnings in shift.
41827 * posix/regex_internal.c (re_string_reconstruct): Actually use result
41829 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
41832 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
41833 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
41834 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
41836 * nis/nis_table.c (nis_list): Use variable of correct type for
41837 result of __follow_path call.
41839 2011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
41841 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
41842 of math functions ceil, trunc, floor, round, and sqrt, when
41843 avaliable on the platform.
41844 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
41846 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
41847 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
41848 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
41850 2011-10-30 Marek Polacek <mpolacek@redhat.com>
41852 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
41853 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
41855 2011-11-11 Roland McGrath <roland@hack.frob.com>
41857 * include/unistd.h: Fix __readlink return type.
41858 Reported by Chris Metcalf <cmetcalf@tilera.com>.
41860 2011-11-11 Ulrich Drepper <drepper@gmail.com>
41862 * stdlib/ucontext.h: Undo last change for makecontext.
41864 2011-11-11 Andreas Schwab <schwab@redhat.com>
41866 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
41868 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
41869 * setjmp/setjmp.h: Mark functions as non-leaf.
41870 * setjmp/bits/setjmp2.h: Likewise.
41871 * stdlib/ucontext.h: Likewise.
41873 2011-11-10 Andreas Schwab <schwab@redhat.com>
41875 * malloc/arena.c (_int_new_arena): Don't increment narenas.
41876 (reused_arena): Don't check arena limit.
41877 (arena_get2): Atomically check arena limit.
41879 2011-11-08 Ulrich Drepper <drepper@gmail.com>
41881 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
41882 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
41884 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
41887 2011-11-07 Andreas Schwab <schwab@redhat.com>
41889 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
41890 handler when locking.
41892 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
41893 Fix size of allocated buffer.
41895 2011-11-04 Andreas Schwab <schwab@redhat.com>
41898 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
41899 declarations for long double functions.
41900 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
41902 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
41904 2011-11-03 Andreas Schwab <schwab@redhat.com>
41906 * nscd/nscd.c (main): Don't start AVC thread until credentials are
41909 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
41912 2011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
41914 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
41916 2011-11-01 Andreas Schwab <schwab@linux-m68k.org>
41918 * include/alloca.h (stackinfo_alloca_round): Define.
41919 (extend_alloca): Use it.
41920 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
41921 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
41924 * scripts/check-local-headers.sh: Ignore libaudit.h.
41926 * nscd/Makefile (extra-objs): Make recursively expanded.
41928 2011-11-01 Ulrich Drepper <drepper@gmail.com>
41930 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
41931 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
41933 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
41934 * posix/tst-rfc3484-2.c: Likewise.
41935 * posix/tst-rfc3484-3.c: Likewise.
41937 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
41939 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
41941 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
41942 process_vm_writev from libc using GLIBC_2.15 version.
41944 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
41946 2011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
41948 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
41951 2011-10-31 Ulrich Drepper <drepper@gmail.com>
41954 * nss/getent.c (initgroups_keys): Show error message in case no group
41957 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
41958 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
41959 __bump_nl_timestamp.
41960 * nscd/connections (nscd_init): When host database is served open
41961 netlink socket and request notification about configuration changes.
41962 (main_loop_poll): Track netlink file descriptor and bump timestamp
41963 in case data becomes available.
41964 (main_loop_epoll): Likewise.
41965 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
41966 (database_pers_head): Add extra_data fileds.
41967 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
41968 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
41969 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
41971 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
41972 in6ai data, call __free_in6ai.
41973 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
41974 Add -DHAVE_NETLINK.
41975 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
41976 interface information. Reuse previous data if netlink timestamp
41978 (__bump_nl_timestamp): New function.
41979 (__free_in6ai): New function.
41981 2011-10-30 Ulrich Drepper <drepper@gmail.com>
41983 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
41984 close_not_cancel_no_status here.
41985 (__check_pf): Reorganize code a bit to not call close twice if OOM.
41987 2011-10-29 Ulrich Drepper <drepper@gmail.com>
41990 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
41993 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
41994 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
41995 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
41997 2011-07-03 Andreas Jaeger <aj@suse.de>
42000 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
42001 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
42002 * math/libm-test.inc (sin_test): Add test case.
42004 2011-10-29 Ulrich Drepper <drepper@gmail.com>
42007 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
42008 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
42010 * elf/chroot_canon.c (chroot_canon): Cleanups.
42012 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
42015 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
42016 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
42018 * string/test-strchr.c: Make usable for strchrnul testing.
42019 * string/test-strchrnul.c: New file.
42020 * string/Makefile (strop-tests): Add strchrnul.
42022 * po/it.po: Update from translation team.
42023 * po/es.po: Likewise.
42025 2011-10-28 Ulrich Drepper <drepper@gmail.com>
42027 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
42028 the three constants needed as parameters. Drop the others.
42029 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
42030 __m128i_strloadu_tolower.
42031 Create and initialize variable zero and use it in all the places
42032 where _mm_setzero_si128 was used.
42034 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
42035 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
42036 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
42037 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
42039 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
42040 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
42041 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
42042 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
42043 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
42044 __mpranred, __mptan.
42045 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
42046 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
42047 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
42048 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
42049 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
42050 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
42051 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
42052 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
42053 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
42055 2011-10-28 Andreas Schwab <schwab@redhat.com>
42057 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
42058 redefine if SHARED.
42059 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
42061 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
42062 wide char related routines to wcsmbs subdir.
42064 2011-10-27 Andreas Schwab <schwab@redhat.com>
42067 * misc/sys/cdefs.h (__THROWNL): Define.
42068 * posix/unistd.h: Use __THREADNL instead of __THREAD
42069 for memory synchronization functions.
42071 2011-10-26 Roland McGrath <roland@hack.frob.com>
42074 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
42076 * manual/stdio.texi (Obstack Streams): Node removed.
42078 2011-10-26 Andreas Schwab <schwab@redhat.com>
42080 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
42081 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
42082 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
42084 * math/math_private.h (math_force_eval): Allow non-addressable
42086 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
42088 2011-10-25 Ulrich Drepper <drepper@gmail.com>
42090 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
42091 file is not needed.
42093 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
42094 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
42095 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
42096 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
42097 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
42098 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
42099 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
42100 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
42102 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
42103 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
42104 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
42105 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
42106 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
42107 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
42108 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
42109 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
42110 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
42111 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
42112 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
42113 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
42114 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
42115 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
42116 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
42117 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
42118 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
42119 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
42120 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
42122 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
42123 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
42125 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
42126 place. Use VEX encoding when compiling for AVX.
42128 2011-10-25 Andreas Schwab <schwab@redhat.com>
42130 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
42131 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
42133 * string/test-strchr.c (do_test): Don't generate NUL bytes.
42135 2011-10-25 Ulrich Drepper <drepper@gmail.com>
42137 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
42138 useless if() expression.
42139 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
42140 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
42141 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
42142 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
42143 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
42144 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
42145 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
42146 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
42147 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
42148 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
42149 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
42150 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
42151 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
42152 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
42153 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
42154 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
42155 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
42156 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
42157 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
42159 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
42161 2011-10-25 Andreas Schwab <schwab@redhat.com>
42163 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
42165 * elf/dl-fini.c (_dl_sort_fini): Likewise.
42167 2011-10-25 Ulrich Drepper <drepper@gmail.com>
42169 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
42170 .text section. Avoid duplicate constants.
42171 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
42172 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
42173 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
42174 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
42175 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
42176 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
42177 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
42178 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
42179 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
42180 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
42181 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
42182 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
42183 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
42184 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
42185 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
42186 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
42187 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
42188 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
42189 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
42190 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
42191 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
42192 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
42193 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
42194 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
42195 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
42196 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
42197 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
42198 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
42199 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
42200 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
42201 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
42202 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
42203 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
42204 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
42205 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
42206 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
42207 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
42208 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
42209 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
42210 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
42211 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
42212 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
42213 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
42214 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
42215 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
42217 2011-10-24 Ulrich Drepper <drepper@gmail.com>
42219 * sysdeps/x86_64/dla.h: Move to ...
42220 * sysdeps/x86_64/fpu/dla.h: ...here.
42221 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
42222 situations. Use __builtin_fma only for gcc 4.6 and up.
42224 * config.make.in: Add have-mfma4 entry.
42225 * configure.in: Substitute libc_cv_cc_fma4.
42226 * math/Makefile (dbl-only-routines): Add sincostab.
42227 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
42228 Use __sincostab not sincos.
42229 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
42231 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
42232 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
42233 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
42234 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
42236 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
42237 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
42238 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
42239 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
42241 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
42242 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
42244 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
42245 define aliases when function name is a macro.
42246 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
42247 sysdeps/ieee754/dbl-64/sincos.tbl.
42248 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
42249 fma4-enabled routines.
42250 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
42251 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
42252 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
42253 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
42254 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
42255 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
42256 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
42257 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
42258 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
42259 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
42260 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
42261 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
42262 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
42263 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
42264 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
42265 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
42266 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
42267 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
42268 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
42269 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
42270 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
42271 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
42272 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
42273 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
42274 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
42275 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
42276 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
42277 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
42278 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
42279 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
42281 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
42283 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
42284 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
42285 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
42286 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
42287 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
42288 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
42289 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
42290 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
42292 2011-10-24 Andreas Schwab <schwab@redhat.com>
42294 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
42296 2011-10-23 Ulrich Drepper <drepper@gmail.com>
42298 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
42300 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
42302 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
42304 * string/strnlen.c: Don't define STRNLEN, reverse logic.
42305 Remove unused variable magic_bits.
42306 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
42308 * string/strnlen.c: Define and use STRNLEN macro.
42309 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
42310 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
42311 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
42312 * wcsmbs/wcslen.c: Define and use WCSLEN.
42313 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
42314 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
42315 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
42316 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
42317 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
42318 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
42319 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
42321 2011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
42323 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
42324 strnlen-sse2-no-bsf.
42325 Rename strlen-no-bsf to strlen-sse2-no-bsf.
42326 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
42327 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
42328 Add strnlen support.
42329 (USE_AS_STRNLEN): New macro.
42330 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
42331 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
42332 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
42333 * sysdeps/x86_64/wcslen.S: New file.
42335 2011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
42337 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
42338 XMM-moves are used for copying on small sizes.
42340 2011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
42342 * wcsmbs/Makefile (strop-tests): Add wcschr.
42343 * wcsmbs/test-wcschr.c: New file.
42344 * string/test-strchr.c: Update.
42345 Add wcschr support.
42348 2011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
42350 * wcsmbs/Makefile (strop-tests): Add wcslen.
42351 * wcsmbs/test-wcslen.c: New file.
42352 * string/test-strlen.c: Update.
42353 Add wcslen support.
42356 2011-10-23 Ulrich Drepper <drepper@gmail.com>
42358 * po/it.po: Update from translation team.
42360 2011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
42362 * sysdeps/x86_64/wcscmp.S: Update.
42363 Fix wrong comparison semantics.
42364 wcscmp shall use signed comparison not unsigned.
42365 Don't use substraction to avoid overflow bug.
42366 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
42367 * wcsmbc/wcscmp.c: Likewise.
42368 * string/test-strcmp.c: Likewise.
42369 Add new tests to check cases with negative values.
42371 2011-10-23 Ulrich Drepper <drepper@gmail.com>
42373 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
42374 * sysdeps/x86_64/dla.h: ...here. New file.
42375 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
42376 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
42377 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
42378 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
42379 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
42380 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
42381 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
42382 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
42383 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
42385 2011-10-23 Andreas Schwab <schwab@linux-m68k.org>
42387 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
42388 __ynl_finite aliases.
42390 2011-10-22 Ulrich Drepper <drepper@gmail.com>
42392 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
42394 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
42396 [DLA_FMA] (EMULV): Use DLA_FMA.
42397 [DLA_FMA] (MUL12): Use EMULV.
42398 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
42399 that are not needed.
42400 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
42401 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
42402 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
42403 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
42404 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
42405 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
42406 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
42408 2011-10-22 Andreas Schwab <schwab@linux-m68k.org>
42410 * math/s_nan.c: Undef __nan.
42411 * math/s_nanf.c: Undef __nanf.
42412 * math/s_nanl.c: Undef __nanl.
42413 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
42416 2011-10-22 Ulrich Drepper <drepper@gmail.com>
42418 * math/s_catan.c: Add branch predictions.
42419 * math/s_catanf.c: Likewise.
42420 * math/s_catanh.c: Likewise.
42421 * math/s_catanhf.c: Likewise.
42422 * math/s_catanhl.c: Likewise.
42423 * math/s_catanl.c: Likewise.
42424 * math/s_cexp.c: Likewise.
42425 * math/s_cexpf.c: Likewise.
42426 * math/s_cexpl.c: Likewise.
42427 * math/s_clog.c: Likewise.
42428 * math/s_clog10.c: Likewise.
42429 * math/s_clog10f.c: Likewise.
42430 * math/s_clog10l.c: Likewise.
42431 * math/s_clogf.c: Likewise.
42432 * math/s_clogl.c: Likewise.
42433 * math/s_csqrt.c: Likewise.
42434 * math/s_csqrtf.c: Likewise.
42435 * math/s_csqrtl.c: Likewise.
42436 * math/s_ctanf.c: Likewise.
42437 * math/s_ctanh.c: Likewise.
42438 * math/s_ctanhf.c: Likewise.
42439 * math/s_ctanhl.c: Likewise.
42440 * math/s_ctanl.c: Likewise.
42442 * math/math_private.h: Define __nan, __nanf, __nanl.
42443 * math/s_cacosh.c: Include <math_private.h>.
42444 * math/s_cacoshl.c: Likewise.
42445 * math/s_casinh.c: Likewise.
42446 * math/s_casinhf.c: Likewise.
42447 * math/s_casinhl.c: Likewise.
42448 * math/s_ccos.c: Rely entire on ccosh.
42449 * math/s_ccosf.c: Rely entire on ccoshf.
42450 * math/s_ccosl.c: Rely entirely on ccoshl.
42451 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
42452 Remove tests for FE_INVALID.
42453 * math/s_ccoshf.c: Likewise.
42454 * math/s_ccoshl.c: Likewise.
42455 * math/s_csin.c: Likewise.
42456 * math/s_csinf.c: Likewise.
42457 * math/s_csinh.c Likewise.
42458 * math/s_csinhf.c: Likewise.
42459 * math/s_csinhl.c: Likewise.
42460 * math/s_csinl.c: Likewise.
42461 * math/s_ctan.c: Likewise.
42462 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
42463 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
42464 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
42466 2011-10-21 Ulrich Drepper <drepper@gmail.com>
42468 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
42469 compilation problems.
42471 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
42474 2011-10-20 Ulrich Drepper <drepper@gmail.com>
42476 * sysdeps/i386/configure.in: Test for -mfma4 option.
42477 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
42478 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
42479 COMMON_CPUID_INDEX_80000001.
42480 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
42481 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
42482 use it if FMA3 is not supported.
42483 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
42485 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
42486 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
42488 2011-10-20 Andreas Schwab <schwab@redhat.com>
42491 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
42492 it would create a cycle with a link time dependency.
42494 2011-10-19 Ulrich Drepper <drepper@gmail.com>
42496 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
42498 * string/Makefile (strop-tests): Add rawmemchr.
42499 * string/test-rawmemchr.c: New file.
42501 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
42502 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
42503 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
42504 when compiling str{,n}casecmp and when AVX is available. Hook up
42505 new optimized code in initializers.
42507 2011-10-19 Andreas Schwab <schwab@redhat.com>
42509 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
42510 __feraiseexcept instead of feraiseexcept.
42512 2011-10-18 Ulrich Drepper <drepper@gmail.com>
42514 * math/math_private.h: Define defaults for libc_fetestexcept and
42516 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
42517 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
42518 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
42519 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
42520 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
42521 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
42522 libc_fetestexcept and libc_feupdateenv.
42524 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
42525 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
42526 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
42527 * sysdeps/x86_64/fpu/math_private.h: Define special version of
42528 libc_feholdexcept_setround.
42530 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
42531 Add s_nearbyint-c and s_nearbyintf-c.
42532 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
42533 nearbyintf inlines.
42534 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
42535 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
42536 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
42537 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
42539 * math/math_private.h: Define defaults for libc_fegetround,
42540 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
42541 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
42542 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
42543 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
42544 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
42545 standard functions.
42546 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
42547 Remove comments and hacks for old compiler versions.
42548 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
42549 libc_fegetround, libc_fesetround, libc_feholdexcept, and
42550 libc_feholdexceptl.
42552 2011-10-18 Andreas Schwab <schwab@redhat.com>
42554 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
42555 (__feraiseexcept_renamed): Add __NTH.
42556 (feraiseexcept): Add __NTH. Rename local variables to fix
42557 namespace violations.
42559 2011-10-17 Ulrich Drepper <drepper@gmail.com>
42561 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
42563 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
42565 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
42566 recently added interfaces.
42567 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
42569 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
42570 about macro parameter expansion.
42572 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
42573 __NO_MATH_INLINES is defined. Cleanups.
42575 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
42576 and __floorf is target has SSE4.1.
42577 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
42578 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
42579 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
42580 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
42582 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
42584 (floorf): Likewise.
42586 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
42588 2011-10-17 Andreas Schwab <schwab@redhat.com>
42590 * misc/sys/cdefs.h: Fix last change.
42592 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
42595 2011-10-16 Ulrich Drepper <drepper@gmail.com>
42597 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
42599 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
42600 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
42601 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
42602 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
42603 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
42604 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
42605 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
42606 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
42607 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
42608 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
42609 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
42610 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
42611 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
42612 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
42613 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
42614 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
42615 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
42616 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
42617 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
42618 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
42619 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
42620 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
42622 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
42623 ceil, ceilf, floor, floorf.
42625 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
42626 Perform IRELATIVE relocations last.
42628 * elf/do-rel.h: Add another parameter nrelative, replacing the
42629 local variable with the same name. Change name of the function
42630 to end in Rel or Rela (uppercase).
42631 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
42632 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
42633 elf_dynamic_do_##reloc function.
42635 2011-10-15 Ulrich Drepper <drepper@gmail.com>
42637 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
42638 is sufficient, at least on modern CPUs.
42640 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
42642 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
42643 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
42645 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
42647 * math/bits/math-finite.h: Add entries for exp.
42648 * math/e_expl.c: Add __*_finite alias.
42649 * sysdeps/i386/fpu/e_exp.S: Likewise.
42650 * sysdeps/i386/fpu/e_expf.S: Likewise.
42651 * sysdeps/i386/fpu/e_expl.c: Likewise.
42652 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
42653 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
42654 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
42655 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
42656 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
42657 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
42658 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
42660 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
42661 is sufficient, at least on modern CPUs.
42663 * ctype/ctype-info.c (__ctype_init): Define.
42664 * include/ctype.h (__ctype_init): Declare.
42665 (__ctype_b_loc): The variable is always initialized.
42666 (__ctype_toupper_loc): Likewise.
42667 (__ctype_tolower_loc): Likewise.
42668 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
42669 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
42671 2011-10-15 Andreas Schwab <schwab@linux-m68k.org>
42673 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
42675 * configure.in: Also look in $cxxmachine/include for C++ system
42678 2011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
42680 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
42681 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
42682 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
42683 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
42684 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
42685 (USE_AS_WMEMCMP): New macro.
42687 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
42688 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
42689 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
42690 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
42691 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
42692 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
42693 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
42694 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
42695 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
42696 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
42697 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
42698 (USE_AS_WMEMCMP): New macro.
42699 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
42700 * sysdeps/string/test-memcmp.c: Update.
42701 Fix simple_wmemcmp.
42703 * wcsmbs/wmemcmp.c: Update.
42704 (WMEMCMP): New macro.
42707 2011-10-12 Andreas Jaeger <aj@suse.de>
42710 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
42712 2011-10-15 Ulrich Drepper <drepper@gmail.com>
42714 * libio/iofwide.c (do_length): Avoid warning.
42716 * ctype/ctype.h (__isctype_f): Add missing __THROW.
42718 2011-10-14 Ulrich Drepper <drepper@gmail.com>
42720 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
42722 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
42723 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
42724 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
42725 * sysdeps/i386/i686/fpu/e_log.S: New file.
42726 * sysdeps/i386/i686/fpu/e_logf.S: New file.
42727 * sysdeps/i386/i686/fpu/e_logl.S: New file.
42729 * ctype/ctype.h: Add support for inlined isXXX functions when
42730 compiling C++ code.
42732 2011-10-14 Andreas Schwab <schwab@redhat.com>
42734 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
42736 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
42738 2011-10-13 Roland McGrath <roland@hack.frob.com>
42741 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
42743 2011-10-13 Andreas Schwab <schwab@redhat.com>
42745 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
42746 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
42749 * sysdeps/x86_64/memrchr.S: Check for zero size.
42751 * string/stratcliff.c: Add memrchr tests.
42753 2011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
42755 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
42756 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
42757 rawmemchr-sse2 rawmemchr-sse2-bsf.
42758 * sysdeps/i386/i686/multiarch/memchr.S: New file.
42759 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
42760 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
42761 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
42762 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
42763 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
42764 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
42765 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
42766 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
42767 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
42768 * string/memrchr.c (MEMRCHR): New macro.
42770 2011-10-12 Ulrich Drepper <drepper@gmail.com>
42772 Add integration with gcc's -ffinite-math-only and optimize wrapper
42774 * Versions.def: Define GLIBC_2.15 version for libm.
42775 * math/Makefile (headers): Add bits/math-finite.h.
42776 * math/bits/math-finite.h: New file.
42777 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
42778 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
42779 * math/e_acoshl.c: Add __*_finite alias.
42780 * math/e_acosl.c: Likewise.
42781 * math/e_asinl.c: Likewise.
42782 * math/e_atan2l.c: Likewise.
42783 * math/e_atanhl.c: Likewise.
42784 * math/e_coshl.c: Likewise.
42785 * math/e_exp10.c: Likewise.
42786 * math/e_exp10f.c: Likewise.
42787 * math/e_exp10l.c: Likewise.
42788 * math/e_exp2l.c: Likewise.
42789 * math/e_fmodl.c: Likewise.
42790 * math/e_gammal_r.c: Likewise.
42791 * math/e_hypotl.c: Likewise.
42792 * math/e_j0l.c: Likewise.
42793 * math/e_j1l.c: Likewise.
42794 * math/e_jnl.c: Likewise.
42795 * math/e_lgammal_r.c: Likewise.
42796 * math/e_log10l.c: Likewise.
42797 * math/e_log2l.c: Likewise.
42798 * math/e_logl.c: Likewise.
42799 * math/e_powl.c: Likewise.
42800 * math/e_sinhl.c: Likewise.
42801 * math/e_sqrtl.c: Likewise.
42802 * math/e_scalb.c: Completely rewritten and optimized.
42803 * math/e_scalbf.c: Likewise.
42804 * math/e_scalbl.c: Likewise.
42805 * math/w_acos.c: Likewise.
42806 * math/w_acosf.c: Likewise.
42807 * math/w_acosl.c: Likewise.
42808 * math/w_acosh.c: Likewise.
42809 * math/w_acoshf.c: Likewise.
42810 * math/w_acoshl.c: Likewise.
42811 * math/w_asin.c: Likewise.
42812 * math/w_asinf.c: Likewise.
42813 * math/w_asinl.c: Likewise.
42814 * math/w_atan2.c: Likewise.
42815 * math/w_atan2f.c: Likewise.
42816 * math/w_atan2l.c: Likewise.
42817 * math/w_atanh.c: Likewise.
42818 * math/w_atanhf.c: Likewise.
42819 * math/w_atanhl.c: Likewise.
42820 * math/w_exp10.c: Likewise.
42821 * math/w_exp10f.c: Likewise.
42822 * math/w_exp10l.c: Likewise.
42823 * math/w_fmod.c: Likewise.
42824 * math/w_fmodf.c: Likewise.
42825 * math/w_fmodl.c: Likewise.
42826 * math/w_j0.c: Likewise.
42827 * math/w_j0f.c: Likewise.
42828 * math/w_j0l.c: Likewise.
42829 * math/w_j1.c: Likewise.
42830 * math/w_j1f.c: Likewise.
42831 * math/w_j1l.c: Likewise.
42832 * math/w_jn.c: Likewise.
42833 * math/w_jnf.c: Likewise.
42834 * math/w_log.c: Likewise.
42835 * math/w_logf.c: Likewise.
42836 * math/w_logl.c: Likewise.
42837 * math/w_log10.c: Likewise.
42838 * math/w_log10f.c: Likewise.
42839 * math/w_log10l.c: Likewise.
42840 * math/w_log2.c: Likewise.
42841 * math/w_log2f.c: Likewise.
42842 * math/w_log2l.c: Likewise.
42843 * math/w_pow.c: Likewise.
42844 * math/w_powf.c: Likewise.
42845 * math/w_powl.c: Likewise.
42846 * math/w_remainder.c: Likewise.
42847 * math/w_remainderf.c: Likewise.
42848 * math/w_remainderl.c: Likewise.
42849 * math/w_scalb.c: Likewise.
42850 * math/w_scalbf.c: Likewise.
42851 * math/w_scalbl.c: Likewise.
42852 * math/w_sqrt.c: Likewise.
42853 * math/w_sqrtf.c: Likewise.
42854 * math/w_sqrtl.c: Likewise.
42855 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
42856 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
42858 * math/math_private.h: Declare __kernel_standard_f.
42859 * math/w_cosh.c: Remove cruft and optimize a bit.
42860 * math/w_coshf.c: Likewise.
42861 * math/w_coshl.c: Likewise.
42862 * math/w_exp2.c: Likewise.
42863 * math/w_exp2f.c: Likewise.
42864 * math/w_exp2l.c: Likewise.
42865 * math/w_hypot.c: Likewise.
42866 * math/w_hypotf.c: Likewise.
42867 * math/w_hypotl.c: Likewise.
42868 * math/w_lgamma.c: Likewise.
42869 * math/w_lgamma_r.c: Likewise.
42870 * math/w_lgammaf.c: Likewise.
42871 * math/w_lgammaf_r.c: Likewise.
42872 * math/w_lgammal.c: Likewise.
42873 * math/w_lgammal_r.c: Likewise.
42874 * math/w_sinh.c: Likewise.
42875 * math/w_sinhf.c: Likewise.
42876 * math/w_sinhl.c: Likewise.
42877 * math/w_tgamma.c: Likewise.
42878 * math/w_tgammaf.c: Likewise.
42879 * math/w_tgammal.c: Likewise.
42880 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
42881 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
42882 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
42883 Minor optimizations. Pretty printing. Remove cruft.
42884 * sysdeps/i386/fpu/e_acosf.S: Likewise.
42885 * sysdeps/i386/fpu/e_acosh.S: Likewise.
42886 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
42887 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
42888 * sysdeps/i386/fpu/e_acosl.c: Likewise.
42889 * sysdeps/i386/fpu/e_asin.S: Likewise.
42890 * sysdeps/i386/fpu/e_asinf.S: Likewise.
42891 * sysdeps/i386/fpu/e_atan2.S: Likewise.
42892 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
42893 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
42894 * sysdeps/i386/fpu/e_atanh.S: Likewise.
42895 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
42896 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
42897 * sysdeps/i386/fpu/e_exp10.S: Likewise.
42898 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
42899 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
42900 * sysdeps/i386/fpu/e_exp2.S: Likewise.
42901 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
42902 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
42903 * sysdeps/i386/fpu/e_fmod.S: Likewise.
42904 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
42905 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
42906 * sysdeps/i386/fpu/e_hypot.S: Likewise.
42907 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
42908 * sysdeps/i386/fpu/e_log.S: Likewise.
42909 * sysdeps/i386/fpu/e_log10.S: Likewise.
42910 * sysdeps/i386/fpu/e_log10f.S: Likewise.
42911 * sysdeps/i386/fpu/e_log10l.S: Likewise.
42912 * sysdeps/i386/fpu/e_log2.S: Likewise.
42913 * sysdeps/i386/fpu/e_log2f.S: Likewise.
42914 * sysdeps/i386/fpu/e_log2l.S: Likewise.
42915 * sysdeps/i386/fpu/e_logf.S: Likewise.
42916 * sysdeps/i386/fpu/e_logl.S: Likewise.
42917 * sysdeps/i386/fpu/e_pow.S: Likewise.
42918 * sysdeps/i386/fpu/e_powf.S: Likewise.
42919 * sysdeps/i386/fpu/e_powl.S: Likewise.
42920 * sysdeps/i386/fpu/e_remainder.S: Likewise.
42921 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
42922 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
42923 * sysdeps/i386/fpu/e_scalb.S: Likewise.
42924 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
42925 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
42926 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
42927 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
42928 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
42929 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
42930 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
42931 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
42932 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
42933 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
42934 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
42935 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
42936 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
42937 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
42938 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
42939 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
42940 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
42941 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
42942 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
42943 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
42944 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
42945 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
42946 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
42947 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
42948 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
42949 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
42950 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
42951 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
42952 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
42953 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
42954 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
42955 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
42956 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
42957 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
42958 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
42959 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
42960 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
42961 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
42962 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
42963 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
42964 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
42965 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
42966 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
42967 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
42968 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
42969 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
42970 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
42971 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
42972 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
42973 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
42974 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
42975 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
42976 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
42977 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
42978 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
42979 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
42980 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
42981 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
42982 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
42983 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
42984 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
42985 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
42986 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
42987 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
42988 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
42989 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
42990 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
42991 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
42992 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
42993 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
42994 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
42995 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
42996 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
42997 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
42998 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
42999 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
43000 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
43001 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
43002 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
43003 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
43004 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
43005 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
43006 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
43007 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
43008 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
43009 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
43010 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
43011 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
43012 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
43013 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
43014 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
43015 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
43016 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
43017 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
43018 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
43019 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
43020 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
43021 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
43022 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
43023 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
43024 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
43025 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
43026 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
43027 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
43028 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
43029 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
43030 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
43031 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
43032 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
43033 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
43034 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
43035 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
43036 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
43037 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
43038 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
43039 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
43040 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
43041 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
43042 (__isnanf): Likewise.
43043 (__isinf_ns): Likewise.
43044 (__isinf_nsf): Likewise.
43045 (__finite): Likewise.
43046 (__finitef): Likewise.
43047 (__ieee754_sqrt): Define as macro.
43048 (__ieee754_sqrtf): Define as macro.
43049 (__ieee754_sqrtl): Define as macro.
43050 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
43052 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
43053 __FINITE_MATH_ONLY__ consistent.
43054 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
43056 2011-10-10 Andreas Schwab <schwab@linux-m68k.org>
43058 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
43061 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
43063 2011-10-09 Ulrich Drepper <drepper@gmail.com>
43065 * po/ja.po: Update from translation team.
43067 2011-10-08 Roland McGrath <roland@hack.frob.com>
43069 * locale/programs/locarchive.c (prepare_address_space): New function.
43070 (create_archive, enlarge_archive, open_archive): Use it.
43072 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
43073 inside [SHARED], where it is used.
43075 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
43077 * nss/getent.c (netgroup_keys): Remove unused variable.
43078 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
43080 2011-10-08 Ulrich Drepper <drepper@gmail.com>
43082 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
43083 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
43084 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
43085 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
43086 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
43087 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
43088 * math/Makefile (libm-calls): Add s_isinf_ns.
43089 * math/divtc3.c: Use __isinf_nsl instead of isinf.
43090 * math/multc3.c: Likewise.
43091 * math/s_casin.c: Likewise.
43092 * math/s_casinf.c: Likewise.
43093 * math/s_casinl.c: Likewise.
43094 * math/s_ccos.c: Likewise.
43095 * math/s_ccosf.c: Likewise.
43096 * math/s_ccosl.c: Likewise.
43097 * math/s_ctan.c: Likewise.
43098 * math/s_ctanf.c: Likewise.
43099 * math/s_ctanh.c: Likewise.
43100 * math/s_ctanhf.c: Likewise.
43101 * math/s_ctanhl.c: Likewise.
43102 * math/s_ctanl.c: Likewise.
43103 * math/w_fmod.c: Likewise.
43104 * math/w_fmodf.c: Likewise.
43105 * math/w_fmodl.c: Likewise.
43106 * math/w_remainder.c: Likewise.
43107 * math/w_remainderf.c: Likewise.
43108 * math/w_remainderl.c: Likewise.
43109 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
43110 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
43111 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
43112 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
43113 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
43114 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
43115 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
43116 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
43118 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
43120 * stdio-common/printf_fphex.c: Likewise.
43121 * stdio-common/printf_size.c: Likewise.
43123 * math/e_exp10.c: Include math_private.h using <...> not "...".
43124 * math/e_exp10f.c: Likewise.
43125 * math/e_exp10l.c: Likewise.
43126 * math/e_exp2l.c: Likewise.
43127 * math/e_j0l.c: Likewise.
43128 * math/e_j1l.c: Likewise.
43129 * math/e_jnl.c: Likewise.
43130 * math/e_lgammal_r.c: Likewise.
43131 * math/e_rem_pio2l.c: Likewise.
43132 * math/e_scalb.c: Likewise.
43133 * math/e_scalbf.c: Likewise.
43134 * math/e_scalbl.c: Likewise.
43135 * math/k_cosl.c: Likewise.
43136 * math/k_sinl.c: Likewise.
43137 * math/k_tanl.c: Likewise.
43138 * math/s_cacoshf.c: Likewise.
43139 * math/s_catan.c: Likewise.
43140 * math/s_catanf.c: Likewise.
43141 * math/s_catanh.c: Likewise.
43142 * math/s_catanhf.c: Likewise.
43143 * math/s_catanhl.c: Likewise.
43144 * math/s_catanl.c: Likewise.
43145 * math/s_ccosh.c: Likewise.
43146 * math/s_ccoshf.c: Likewise.
43147 * math/s_ccoshl.c: Likewise.
43148 * math/s_cexp.c: Likewise.
43149 * math/s_cexpf.c: Likewise.
43150 * math/s_cexpl.c: Likewise.
43151 * math/s_clog.c: Likewise.
43152 * math/s_clog10.c: Likewise.
43153 * math/s_clog10f.c: Likewise.
43154 * math/s_clog10l.c: Likewise.
43155 * math/s_clogf.c: Likewise.
43156 * math/s_clogl.c: Likewise.
43157 * math/s_csin.c: Likewise.
43158 * math/s_csinf.c: Likewise.
43159 * math/s_csinh.c: Likewise.
43160 * math/s_csinhf.c: Likewise.
43161 * math/s_csinhl.c: Likewise.
43162 * math/s_csinl.c: Likewise.
43163 * math/s_csqrt.c: Likewise.
43164 * math/s_csqrtf.c: Likewise.
43165 * math/s_csqrtl.c: Likewise.
43166 * math/s_ctan.c: Likewise.
43167 * math/s_ctanf.c: Likewise.
43168 * math/s_ctanh.c: Likewise.
43169 * math/s_ctanhf.c: Likewise.
43170 * math/s_ctanhl.c: Likewise.
43171 * math/s_ctanl.c: Likewise.
43172 * math/s_ldexp.c: Likewise.
43173 * math/s_ldexpf.c: Likewise.
43174 * math/s_ldexpl.c: Likewise.
43175 * math/s_significand.c: Likewise.
43176 * math/s_significandf.c: Likewise.
43177 * math/s_significandl.c: Likewise.
43178 * math/w_acos.c: Likewise.
43179 * math/w_acosf.c: Likewise.
43180 * math/w_acosh.c: Likewise.
43181 * math/w_acoshf.c: Likewise.
43182 * math/w_acoshl.c: Likewise.
43183 * math/w_acosl.c: Likewise.
43184 * math/w_asin.c: Likewise.
43185 * math/w_asinf.c: Likewise.
43186 * math/w_asinl.c: Likewise.
43187 * math/w_atan2.c: Likewise.
43188 * math/w_atan2f.c: Likewise.
43189 * math/w_atan2l.c: Likewise.
43190 * math/w_atanh.c: Likewise.
43191 * math/w_atanhf.c: Likewise.
43192 * math/w_atanhl.c: Likewise.
43193 * math/w_cosh.c: Likewise.
43194 * math/w_coshf.c: Likewise.
43195 * math/w_coshl.c: Likewise.
43196 * math/w_dremf.c: Likewise.
43197 * math/w_exp10.c: Likewise.
43198 * math/w_exp10f.c: Likewise.
43199 * math/w_exp10l.c: Likewise.
43200 * math/w_exp2.c: Likewise.
43201 * math/w_exp2f.c: Likewise.
43202 * math/w_fmod.c: Likewise.
43203 * math/w_fmodf.c: Likewise.
43204 * math/w_fmodl.c: Likewise.
43205 * math/w_hypot.c: Likewise.
43206 * math/w_hypotf.c: Likewise.
43207 * math/w_hypotl.c: Likewise.
43208 * math/w_j0.c: Likewise.
43209 * math/w_j0f.c: Likewise.
43210 * math/w_j0l.c: Likewise.
43211 * math/w_j1.c: Likewise.
43212 * math/w_j1f.c: Likewise.
43213 * math/w_j1l.c: Likewise.
43214 * math/w_jn.c: Likewise.
43215 * math/w_jnf.c: Likewise.
43216 * math/w_jnl.c: Likewise.
43217 * math/w_lgamma.c: Likewise.
43218 * math/w_lgamma_r.c: Likewise.
43219 * math/w_lgammaf.c: Likewise.
43220 * math/w_lgammaf_r.c: Likewise.
43221 * math/w_lgammal.c: Likewise.
43222 * math/w_lgammal_r.c: Likewise.
43223 * math/w_log.c: Likewise.
43224 * math/w_log10.c: Likewise.
43225 * math/w_log10f.c: Likewise.
43226 * math/w_log10l.c: Likewise.
43227 * math/w_log2.c: Likewise.
43228 * math/w_log2f.c: Likewise.
43229 * math/w_log2l.c: Likewise.
43230 * math/w_logf.c: Likewise.
43231 * math/w_logl.c: Likewise.
43232 * math/w_pow.c: Likewise.
43233 * math/w_powf.c: Likewise.
43234 * math/w_powl.c: Likewise.
43235 * math/w_remainder.c: Likewise.
43236 * math/w_remainderf.c: Likewise.
43237 * math/w_remainderl.c: Likewise.
43238 * math/w_scalb.c: Likewise.
43239 * math/w_scalbf.c: Likewise.
43240 * math/w_scalbl.c: Likewise.
43241 * math/w_sinh.c: Likewise.
43242 * math/w_sinhf.c: Likewise.
43243 * math/w_sinhl.c: Likewise.
43244 * math/w_sqrt.c: Likewise.
43245 * math/w_sqrtf.c: Likewise.
43246 * math/w_sqrtl.c: Likewise.
43247 * math/w_tgamma.c: Likewise.
43248 * math/w_tgammaf.c: Likewise.
43249 * math/w_tgammal.c: Likewise.
43251 * po/ja.po: Update from translation team.
43253 2011-09-29 Andreas Jaeger <aj@suse.de>
43256 * sunrpc/netname.c (netname2host): Fix logic.
43260 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
43262 * math/w_remainder.c (__remainder): Likewise.
43263 * math/w_remainderf.c (__remainderf): Likewise.
43264 * math/libm-test.inc (remainder_test): Add test cases.
43266 2011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
43268 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
43271 2011-10-07 Ulrich Drepper <drepper@gmail.com>
43273 * string/test-memcmp.c: Avoid unncessary #defines.
43274 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
43276 2011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
43278 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
43279 Use new sse2 version for core i3 - i7 as it's faster
43280 than sse42 version.
43281 (bit_Prefer_PMINUB_for_stringop): New.
43282 * sysdeps/x86_64/rawmemchr.S: Update.
43283 Replace with faster SSE2 version.
43284 * sysdeps/x86_64/memrchr.S: New file.
43285 * sysdeps/x86_64/memchr.S: Update.
43286 Replace with faster SSE2 version.
43288 2011-09-12 Marek Polacek <mpolacek@redhat.com>
43290 * elf/dl-load.c (lose): Add cast to avoid warning.
43292 2011-10-07 Ulrich Drepper <drepper@gmail.com>
43294 * po/ca.po: Update from translation team.
43296 * inet/getnetgrent_r.c: Hook up nscd.
43297 * nscd/Makefile (routines): Add nscd_netgroup.
43298 (nscd-modules): Add netgroupcache.
43299 (CFLAGS-netgroupcache.c): Define.
43300 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
43301 (cache_search): Add const to second parameter.
43302 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
43304 (dbs): Add netgrdb entry.
43305 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
43306 (verify_persistent_db): Handle netgrdb.
43307 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
43308 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
43310 (netgroup_response_header): Define.
43311 (innetgroup_response_header): Define.
43312 (datahead): Add netgroup_response_header and innetgroup_response_header
43314 * nscd/nscd.conf: Add entries for netgroup cache.
43315 * nscd/nscd.h (dbtype): Add netgrdb.
43316 (_PATH_NSCD_NETGROUP_DB): Define.
43317 (netgroup_iov_disabled): Declare.
43318 (xmalloc, xcalloc, xrealloc): Move declarations here.
43319 (cache_search): Adjust prototype.
43320 Add netgroup-related prototypes.
43321 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
43322 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
43323 (__nscd_innetgr): Declare.
43324 * nscd/selinux.c (perms): Use access_vector_t as element type and
43325 add netgroup-related initializers.
43326 * nscd/netgroupcache.c: New file.
43327 * nscd/nscd_netgroup.c: New file.
43328 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
43329 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
43330 For four parameters use innetgr.
43331 * nss/nss_files/files-init.c: Add definition and callback for netgr.
43332 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
43333 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
43334 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
43336 * nscd/connections.c (register_traced_file): Don't register file
43337 for disabled databases.
43339 2011-10-06 Ulrich Drepper <drepper@gmail.com>
43341 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
43343 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
43344 from tree and freeing node.
43346 2011-09-25 Jiri Olsa <jolsa@redhat.com>
43348 * nss/nsswitch.c (__nss_database_lookup): Handle
43349 nss_parse_service_list out of memory case.
43351 2011-09-15 Jiri Olsa <jolsa@redhat.com>
43353 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
43354 out of memory case.
43356 2011-10-04 Andreas Schwab <schwab@redhat.com>
43358 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
43359 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
43361 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
43362 elf_machine_rela, elf_machine_lazy_rel.
43363 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
43364 (ELF_DYNAMIC_DO_REL): Likewise.
43365 (ELF_DYNAMIC_DO_RELA): Likewise.
43366 (ELF_DYNAMIC_RELOCATE): Likewise.
43367 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
43368 to ELF_DYNAMIC_DO_REL.
43369 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
43370 (dl_main): In trace mode always set __RTLD_NOIFUNC.
43371 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
43373 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
43374 skip_ifunc, don't call ifunc function if non-zero.
43375 (elf_machine_rela): Likewise.
43376 (elf_machine_lazy_rel): Likewise.
43377 (elf_machine_lazy_rela): Likewise.
43378 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
43379 (elf_machine_lazy_rel): Likewise.
43380 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
43382 (elf_machine_lazy_rel): Likewise.
43383 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
43385 (elf_machine_lazy_rel): Likewise.
43386 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
43387 (elf_machine_lazy_rel): Likewise.
43388 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
43389 (elf_machine_lazy_rel): Likewise.
43390 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
43391 (elf_machine_lazy_rel): Likewise.
43392 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
43393 (elf_machine_lazy_rel): Likewise.
43394 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
43395 (elf_machine_lazy_rel): Likewise.
43396 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
43397 (elf_machine_lazy_rel): Likewise.
43399 2011-09-28 Ulrich Drepper <drepper@gmail.com>
43401 * nss/nss_files/files-init.c (_nss_files_init): Use static
43402 initialization for all the *_traced_file variables.
43404 2011-09-28 Andreas Schwab <schwab@redhat.com>
43406 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
43408 2011-09-27 Roland McGrath <roland@hack.frob.com>
43411 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
43413 2011-09-27 Andreas Schwab <schwab@redhat.com>
43415 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
43416 Reread the line before reparsing it.
43418 2011-09-26 Andreas Schwab <schwab@redhat.com>
43420 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
43422 2011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
43423 Maxim Kuvyrkov <maxim@codesourcery.com>
43424 Joseph Myers <joseph@codesourcery.com>
43426 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
43427 if needed for __stack_chk_guard.
43429 2011-09-19 Roland McGrath <roland@hack.frob.com>
43431 * sysdeps/posix/spawni.c (script_execute): Always define it.
43432 It will be optimized away if unused.
43433 (maybe_script_execute): New function.
43434 (__spawni): Call it.
43436 * Makerules: Don't include tls.make.
43437 (config-tls): Always set to thread.
43438 * tls.make.c: File removed.
43440 2011-09-19 Mike Frysinger <vapier@gentoo.org>
43442 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
43443 * config.make.in (CPPFLAGS-config): New substituted variable.
43445 2011-09-15 Ulrich Drepper <drepper@gmail.com>
43447 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
43450 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
43451 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
43453 2011-09-15 Roland McGrath <roland@hack.frob.com>
43455 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
43456 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
43457 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
43458 (CALL_FAIL): Likewise.
43459 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
43460 (CALL_FAIL): Macro removed.
43461 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
43463 2011-09-15 Ulrich Drepper <drepper@gmail.com>
43465 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
43466 for __FINITE_MATH_ONLY__ == 1.
43468 2011-09-15 Andreas Schwab <schwab@redhat.com>
43470 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
43471 __ieee754_sqrt instead of sqrt.
43472 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
43473 __ieee754_sqrtf instead of sqrtf.
43474 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
43475 __floorf instead of floorf.
43476 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
43477 __floorf, __truncf instead of floorf, truncf.
43479 2011-09-14 Ulrich Drepper <drepper@gmail.com>
43481 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
43483 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
43484 __extern_always_inline.
43485 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
43488 2011-09-14 Andreas Schwab <schwab@redhat.com>
43490 * elf/rtld.c (dl_main): Also relocate in dependency order when
43491 doing symbol dependency testing.
43493 2011-09-13 Andreas Schwab <schwab@linux-m68k.org>
43495 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
43496 Always define `refsym'.
43498 2011-09-13 Andreas Schwab <schwab@redhat.com>
43500 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
43501 (__FD_ELT): Renamed from __FDELT.
43502 * misc/bits/select2.h (__FD_ELT): Likewise.
43503 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
43504 __FD_MASK instead of __FDELT, __FDMASK.
43505 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
43507 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
43510 * elf/Makefile (gen-ldd): Fix pattern.
43512 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
43513 (init_tls): Likewise.
43515 2011-09-12 Ulrich Drepper <drepper@gmail.com>
43517 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
43519 2011-09-12 Andreas Schwab <schwab@redhat.com>
43521 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
43522 `struct cmsghdr *' instead of `void *'.
43523 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
43526 2011-09-11 Andreas Schwab <schwab@linux-m68k.org>
43528 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
43530 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
43531 ldd_rewrite_script.
43533 2011-09-11 Ulrich Drepper <drepper@gmail.com>
43535 * configure.in: Remove --with-tls option.
43536 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
43537 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
43538 out in case it is missing.
43539 * sysdeps/ia64/elf/configure.in: Likewise.
43540 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
43541 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
43542 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
43543 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
43544 * sysdeps/sh/elf/configure.in: Likewise.
43545 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
43546 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
43547 * sysdeps/x86_64/elf/configure.in: Likewise.
43548 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
43549 * sysdeps/mach/hurd/tls.h: Likewise.
43552 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
43555 * configure.in: Fix use of AC_INIT.
43557 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
43559 2011-09-10 Ulrich Drepper <drepper@gmail.com>
43561 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
43563 * malloc/hooks.c: Likewise.
43566 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
43567 variables statically.
43568 (narenas): Initialize.
43569 (list_lock): Initialize.
43570 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
43571 initializtion of main_arena and list_lock. Small cleanups.
43572 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
43573 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
43574 Add initializers to main_arena and mp_.
43575 (malloc_state): Remove pagesize member. Change all users to use
43578 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
43579 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
43580 is always initialized.
43582 * malloc/malloc.c: Removed unused configurations and dead code.
43583 * malloc/arena.c: Likewise.
43584 * malloc/hooks.c: Likewise.
43585 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
43587 * include/tls.h: Removed. USE___THREAD must always be defined.
43588 * bits/libc-tsd.h: Don't handle !USE___THREAD.
43589 * elf/dl-libc.c: Likewise.
43590 * elf/dl-tsd.c: Likewise.
43591 * include/errno.h: Likewise.
43592 * include/netdb.h: Likewise.
43593 * include/resolv.h: Likewise.
43594 * inet/herrno-loc.c: Likewise.
43595 * inet/herrno.c: Likewise.
43596 * malloc/arena.c: Likewise.
43597 * malloc/hooks.c: Likewise.
43598 * malloc/malloc.c: Likewise.
43599 * resolv/res-state.c: Likewise.
43600 * resolv/res_libc.c: Likewise.
43601 * sysdeps/i386/dl-machine.h: Likewise.
43602 * sysdeps/ia64/dl-machine.h: Likewise.
43603 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
43604 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
43605 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
43606 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
43607 * sysdeps/sh/dl-machine.h: Likewise.
43608 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
43609 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
43610 * sysdeps/unix/i386/sysdep.S: Likewise.
43611 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
43612 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
43613 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
43614 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
43615 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
43616 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
43617 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
43618 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
43619 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
43620 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
43621 * sysdeps/unix/x86_64/sysdep.S: Likewise.
43622 * sysdeps/x86_64/dl-machine.h: Likewise.
43623 * tls.make.c: Likewise.
43625 * configure.in: Remove --with-__thread option. Make tests for
43626 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
43627 tls_model attribute fail if no support is available. Remove
43629 * Makeconfig: Adjust for dropped configure option. All features are
43631 * Makerules: Likewise.
43632 * Versions.def: Likewise.
43633 * argp/argp-fmtstream.c: Likewise.
43634 * argp/argp-fmtstream.h: Likewise.
43635 * argp/argp-help.c: Likewise.
43636 * assert/assert.c: Likewise.
43637 * config.h.in: Likewise.
43638 * config.make.in: Likewise.
43639 * configure: Likewise.
43640 * configure.in: Likewise.
43641 * csu/Versions: Likewise.
43642 * csu/init.c: Likewise.
43643 * elf/tst-audit2.c: Likewise.
43644 * elf/tst-tls10.c: Likewise.
43645 * elf/tst-tls10.h: Likewise.
43646 * elf/tst-tls11.c: Likewise.
43647 * elf/tst-tls12.c: Likewise.
43648 * elf/tst-tls14.c: Likewise.
43649 * elf/tst-tlsmod11.c: Likewise.
43650 * elf/tst-tlsmod12.c: Likewise.
43651 * elf/tst-tlsmod13.c: Likewise.
43652 * elf/tst-tlsmod13a.c: Likewise.
43653 * elf/tst-tlsmod14a.c: Likewise.
43654 * elf/tst-tlsmod15b.c: Likewise.
43655 * elf/tst-tlsmod16a.c: Likewise.
43656 * elf/tst-tlsmod16b.c: Likewise.
43657 * elf/tst-tlsmod7.c: Likewise.
43658 * elf/tst-tlsmod8.c: Likewise.
43659 * elf/tst-tlsmod9.c: Likewise.
43660 * gmon/gmon.c: Likewise.
43661 * grp/fgetgrent_r.c: Likewise.
43662 * grp/putgrent.c: Likewise.
43663 * hurd/fopenport.c: Likewise.
43664 * include/libc-symbols.h: Likewise.
43665 * include/tls.h: Likewise.
43666 * intl/gettextP.h: Likewise.
43667 * intl/loadinfo.h: Likewise.
43668 * locale/global-locale.c: Likewise.
43669 * locale/localeinfo.h: Likewise.
43670 * mach/devstream.c: Likewise.
43671 * malloc/arena.c: Likewise.
43672 * malloc/set-freeres.c: Likewise.
43673 * misc/err.c: Likewise.
43674 * misc/getttyent.c: Likewise.
43675 * misc/mntent_r.c: Likewise.
43676 * posix/getopt.c: Likewise.
43677 * posix/wordexp.c: Likewise.
43678 * pwd/fgetpwent_r.c: Likewise.
43679 * resolv/Versions: Likewise.
43680 * resolv/res_hconf.c: Likewise.
43681 * shadow/fgetspent_r.c: Likewise.
43682 * shadow/putspent.c: Likewise.
43683 * stdio-common/printf_fphex.c: Likewise.
43684 * stdio-common/tmpfile.c: Likewise.
43685 * stdlib/abort.c: Likewise.
43686 * stdlib/fmtmsg.c: Likewise.
43687 * sunrpc/auth_unix.c: Likewise.
43688 * sunrpc/clnt_perr.c: Likewise.
43689 * sunrpc/clnt_tcp.c: Likewise.
43690 * sunrpc/clnt_udp.c: Likewise.
43691 * sunrpc/clnt_unix.c: Likewise.
43692 * sunrpc/openchild.c: Likewise.
43693 * sunrpc/svc_simple.c: Likewise.
43694 * sunrpc/svc_tcp.c: Likewise.
43695 * sunrpc/svc_udp.c: Likewise.
43696 * sunrpc/svc_unix.c: Likewise.
43697 * sunrpc/xdr.c: Likewise.
43698 * sunrpc/xdr_array.c: Likewise.
43699 * sunrpc/xdr_rec.c: Likewise.
43700 * sunrpc/xdr_ref.c: Likewise.
43701 * sunrpc/xdr_stdio.c: Likewise.
43703 2011-09-09 Ulrich Drepper <drepper@gmail.com>
43705 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
43707 2011-07-03 Andreas Jaeger <aj@suse.de>
43709 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
43710 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
43711 regenerate with gen-libm-tests.pl.
43713 2010-05-12 Petr Baudis <pasky@suse.cz>
43716 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
43717 around j0() zero points by switching to j1().
43718 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
43719 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
43720 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
43721 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
43723 2011-09-09 Ulrich Drepper <drepper@gmail.com>
43725 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
43727 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
43729 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
43730 Patch in part by Pavel Roskin <proski@gnu.org>.
43733 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
43735 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
43736 Free memory block if necessary.
43739 * libio/genops.c (INTDEF): For string streams the _lock pointer can
43740 be NULL. Don't lock in this case.
43742 2011-09-09 Roland McGrath <roland@hack.frob.com>
43744 * elf/elf.h (ELFOSABI_GNU): New macro.
43745 (ELFOSABI_LINUX): Define to that.
43747 2011-07-29 Denis Zaitceff <zaitceff@gmail.com>
43749 * string/strncat.c (strncat): Undef the symbol in case it has been
43750 defined in bits/string.h.
43752 2011-09-09 Ulrich Drepper <drepper@gmail.com>
43754 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
43756 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
43759 2011-08-17 Andreas Jaeger <aj@suse.de>
43761 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
43763 2011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
43764 Ian Lance Taylor <iant@google.com>
43766 * math/libm-test.inc (lround_test): New testcase.
43767 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
43769 2011-09-08 Ulrich Drepper <drepper@gmail.com>
43771 * Makefile: Remove support for automatic cvs check-ins.
43772 * Makerules: Likewise.
43773 * config.make.in: Likewise.
43774 * configure.in: Likewise.
43775 * intl/Makefile: Likewise.
43776 * locale/Makefile: Likewise.
43777 * po/Makefile: Likewise.
43778 * posix/Makefile: Likewise.
43779 * sysdeps/gnu/Makefile: Likewise.
43780 * sysdeps/mach/hurd/Makefile: Likewise.
43781 * sysdeps/sparc/sparc32/Makefile: Likewise.
43784 * posix/Makefile (bug-regex32-ENV): Define.
43785 Patch by John Stanley <jpsinthemix@verizon.net>.
43787 * misc/Makefile (headers): Add bits/select2.h.
43788 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
43789 * misc/bits/select2.h: New file.
43790 * include/bits/select2.h: New file.
43791 * debug/Makefile (routines): Add fdelt_chk.
43792 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
43793 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
43795 * debug/fdelt_chk.c: New file.
43797 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
43798 * wcsmbs/test-wmemcmp.c: Likewise.
43799 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
43800 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
43802 2011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
43804 * string/Makefile (strop-tests): Add memcmp.
43805 * string/test-wmemcmp.c: New file.
43806 * string/test-memcmp.c: Add wmemcmp support.
43808 2011-09-08 Roland McGrath <roland@hack.frob.com>
43811 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
43814 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
43815 garbage value in a __mach_port_mod_refs call in the cases of the
43816 task-self and thread-self ports.
43818 2011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
43820 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
43822 2011-09-08 Andreas Schwab <schwab@redhat.com>
43824 * elf/dl-load.c (lose): Check for non-null L.
43826 2011-09-07 Ulrich Drepper <drepper@gmail.com>
43828 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
43830 * elf/dl-libc.c (dlerror_run): Pass back error code from
43834 * elf/dl-load.c (lose): Free l_origin if it is valid.
43836 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
43838 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
43839 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
43840 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
43841 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
43842 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
43843 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
43845 2011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
43847 * sysdeps/powerpc/fpu/e_hypot.c: New file.
43848 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
43849 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
43850 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
43851 * sysdeps/powerpc/fpu/k_cosf.c: New file.
43852 * sysdeps/powerpc/fpu/k_sinf.c: New file.
43853 * sysdeps/powerpc/fpu/s_cosf.c: New file.
43854 * sysdeps/powerpc/fpu/s_sinf.c: New file.
43855 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
43856 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
43858 2011-08-15 Alan Modra <amodra@gmail.com>
43861 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
43862 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
43863 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
43864 ppc_mcount to static-only-routines.
43865 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
43867 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
43868 __mcount_internal with usual JUMPTARGET. Remove useless nop.
43870 2011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
43872 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
43873 for finite and infinity parameters.
43875 2011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
43877 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
43878 and add nop instructions for throughput optimization.
43879 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
43881 2011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
43883 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
43884 aligned copy for power7 with vector-scalar instructions.
43885 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
43887 2011-07-24 H.J. Lu <hongjiu.lu@intel.com>
43889 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
43892 2011-09-07 Andreas Schwab <schwab@redhat.com>
43895 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
43898 2011-09-07 Ulrich Drepper <drepper@gmail.com>
43900 * sysdeps/unix/sysv/linux/x86_64/init-first.c
43901 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
43902 syscall wrapper around clock_gettime in __vdso_clock_gettime.
43903 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
43906 2011-09-06 Ulrich Drepper <drepper@gmail.com>
43908 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
43909 Forgot to demangle the pointer.
43911 * sysdeps/i386/sysdep.h: Define atom_text_section.
43912 * sysdeps/x86_64/sysdep.h: Likewise.
43913 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
43914 section with atom_text_section.
43915 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
43916 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
43917 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
43918 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
43919 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
43921 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
43922 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
43923 already be defined. Change to take two parameters and don't assign
43924 result to variable. Adjust all users.
43925 Define INTERNAL_GETTIME if not already defined.
43926 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
43928 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
43929 HAVE_CLOCK_GETTIME_VSYSCALL.
43930 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
43932 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
43933 gettimeofday vsyscall, just use time.
43935 2011-09-06 Andreas Schwab <schwab@redhat.com>
43937 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
43940 2011-09-06 Ulrich Drepper <drepper@gmail.com>
43942 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
43944 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
43946 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
43947 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
43948 syscall if possible.
43950 2011-09-05 Ulrich Drepper <drepper@gmail.com>
43952 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
43953 e_ident. Don't pass to find_mapsXX.
43954 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
43956 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
43958 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
43959 strchr-sse2-no-bsf strrchr-sse2-no-bsf
43960 * sysdeps/x86_64/multiarch/strchr.S: Update.
43961 Check bit_slow_BSF bit.
43962 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
43963 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
43964 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
43966 2011-09-05 Ulrich Drepper <drepper@gmail.com>
43969 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
43971 (tryshell): Define.
43972 (__spawni): Change last parameter to be flag. Test
43973 SPAWN_XFLAGS_USE_PATH flag to use path or not.
43974 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
43975 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
43976 * posix/spawni.c: Likewise.
43977 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
43978 * posix/spawnp.c: Likewise. Change normal version to use
43979 SPAWN_XFLAGS_USE_PATH.
43980 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
43981 SPAWN_XFLAGS_TRY_SHELL.
43984 * posix/glob.h: Remove gcc 1.x support.
43987 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
43989 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
43991 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
43992 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
43994 * sysdeps/i386/i686/multiarch/strchr.S: New file.
43995 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
43996 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
43997 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
43998 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
43999 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
44001 2011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
44003 * sysdeps/x86_64/wcscmp.S: New file.
44005 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
44006 wcscmp-c wcscmp-sse2
44007 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
44008 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
44009 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
44010 * wcsmbs/wcscmp.c: Allow renaming.
44012 2011-09-05 David S. Miller <davem@davemloft.net>
44014 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
44015 stack slot, rather than the struct return pointer slot.
44016 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
44017 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
44018 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
44019 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
44021 2011-09-05 Ulrich Drepper <drepper@gmail.com>
44023 * po/ja.po: Update from translation team.
44026 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
44027 kernel in 64-bit binaries.
44029 2011-09-01 David S. Miller <davem@davemloft.net>
44031 * elf/elf.h (HWCAP_SPARC_*): Move to..
44032 * sysdeps/sparc/sysdep.h: this new file and add new values.
44033 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
44034 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
44035 _DL_HWCAP_COUNT to 24.
44036 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
44038 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
44039 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
44040 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
44041 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
44042 instead of magic constants.
44043 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
44045 2011-08-31 David S. Miller <davem@davemloft.net>
44047 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
44048 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
44049 Reimplement to do errno handling inline.
44050 (SYSCALL_ERROR_HANDLER): New macro.
44051 (__SYSCALL_STRING): Do not do errno handling in asm.
44052 (__CLONE_SYSCALL_STRING): Delete.
44053 (__INTERNAL_SYSCALL_STRING): Delete.
44054 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
44055 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
44056 (PSEUDO): Reimplement to do errno handling inline.
44057 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
44058 (SYSCALL_ERROR_HANDLER): New macro.
44059 (__SYSCALL_STRING): Do not do errno handling in asm.
44060 (__CLONE_SYSCALL_STRING): Delete.
44061 (__INTERNAL_SYSCALL_STRING): Delete.
44062 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
44063 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
44065 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
44066 (inline_syscall*): Add 'err' argument.
44067 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
44068 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
44069 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
44070 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
44072 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
44073 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
44075 2011-08-30 Andreas Schwab <schwab@redhat.com>
44077 * elf/rtld.c (dl_main): Relocate objects in dependency order.
44079 2011-08-29 Jiri Olsa <jolsa@redhat.com>
44081 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
44084 2011-08-24 David S. Miller <davem@davemloft.net>
44086 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
44088 2011-08-24 Andreas Schwab <schwab@redhat.com>
44090 * elf/Makefile: Add rules to build and run unload8 test.
44091 * elf/unload8.c: New file.
44092 * elf/unload8mod1.c: New file.
44093 * elf/unload8mod1x.c: New file.
44094 * elf/unload8mod2.c: New file.
44095 * elf/unload8mod3.c: New file.
44097 * elf/dl-close.c (_dl_close_worker): Reset private search list if
44100 2011-08-23 David S. Miller <davem@davemloft.net>
44102 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
44103 subtract stack bias.
44104 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
44105 %sp not %fp in calculations.
44106 (_JMPBUF_UNWINDS_ADJ): Likewise.
44108 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
44109 (aio_suspend): Call it to force an exception region around the
44110 AIO_MISC_WAIT() invocation.
44112 2011-08-23 Andreas Schwab <schwab@redhat.com>
44114 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
44117 2011-07-04 Aurelien Jarno <aurelien@aurel32.net>
44119 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
44121 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
44122 and <dl-machine.h>.
44123 (Elf64_FuncDesc): Remove.
44125 2011-08-22 David S. Miller <davem@davemloft.net>
44127 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
44128 sigaltstack check, add missing cfi directives.
44129 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
44130 missing cfi directives, and sigaltstack handling.
44132 2011-08-16 Andreas Schwab <schwab@redhat.com>
44135 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
44136 object is seen twice.
44137 * elf/dl-fini.c (_dl_sort_fini): Likewise.
44139 * elf/Makefile (distribute): Add tst-initorder2.c.
44140 (tests): Add tst-initorder2.
44141 (modules-names): Add tst-initorder2a tst-initorder2b
44142 tst-initorder2c tst-initorder2d. Add rules to build them.
44143 ($(objpfx)tst-initorder2.out): New rule.
44144 * elf/tst-initorder2.c: New file.
44145 * elf/tst-initorder2.exp: New file.
44147 2011-08-22 Andreas Schwab <schwab@redhat.com>
44149 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
44151 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
44152 dependencies back to end of function.
44154 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
44155 $(elfobjdir)/ld.so.
44157 2011-08-21 Ulrich Drepper <drepper@gmail.com>
44159 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
44160 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
44161 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
44162 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
44163 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
44164 of __vdso_gettimeofday.
44165 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
44166 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
44168 (_libc_vdso_platform_setup): Remove initialization of
44169 __vdso_gettimeofday and __vdso_time.
44171 2011-08-20 Ulrich Drepper <drepper@gmail.com>
44173 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
44174 and fgetc_unlocked.
44175 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
44178 * elf/dl-open.c (add_to_global): Report additions to the global scope
44179 for LD_DEBUG=scopes.
44180 (dl_open_worker): Also print scope of newly loaded dependencies.
44181 (_dl_show_scope): Indicate if there is no scope.
44184 * stdio-common/Makefile (tests): Add bug24.
44185 * stdio-common/bug24.c: New file.
44187 2011-08-19 Andreas Jaeger <aj@suse.de>
44190 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
44191 non-existant file when using close-on-exec mode.
44193 2011-08-20 Ulrich Drepper <drepper@gmail.com>
44195 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
44196 the very first instruction.
44198 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
44199 the CFI state in the end.
44200 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
44201 inclusion of dl-trampoline.h.
44202 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
44204 2011-08-19 Andreas Schwab <schwab@redhat.com>
44206 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
44207 expectations for long double.
44209 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
44210 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
44212 2011-08-14 David S. Miller <davem@davemloft.net>
44214 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
44215 artificual limit depends upon the system page size.
44217 2011-08-17 Ulrich Drepper <drepper@gmail.com>
44219 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
44220 * resolv/Makefile: Define CFLAGS-libresolv.
44222 2011-08-17 Andreas Schwab <schwab@redhat.com>
44224 * nss/makedb.c (compute_tables): Make variables used in nested
44227 2011-08-17 Ulrich Drepper <drepper@gmail.com>
44229 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
44230 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
44231 if buffer was too small.
44233 * elf/pldd.c (main): Attach to all threads in the process.
44234 Rewrite /proc handling to use *at functions.
44236 2011-08-16 Ulrich Drepper <drepper@gmail.com>
44238 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
44239 specifies first scope to show.
44240 (dl_open_worker): Update callers. Move printing scope of new
44241 object to before the relocation.
44242 * elf/rtld.c (dl_main): Update _dl_show_scope call.
44243 * sysdeps/generic/ldsodefs.h: Update declaration.
44245 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
44246 string for the scope number.
44248 2011-08-14 Ulrich Drepper <drepper@gmail.com>
44250 * nscd/servicescache.c (cache_addserv): Make sure written is always
44253 2011-08-14 Roland McGrath <roland@hack.frob.com>
44255 * sysdeps/i386/i486/bits/atomic.h
44256 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
44257 statement expression, so as to suppress "set but not used" warning.
44258 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
44260 * string/strncat.c (STRNCAT): Use prototype definition.
44262 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
44263 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
44265 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
44266 (localedef-modules): Add localedef.
44267 (locale-modules): Add locale.
44269 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
44270 * elf/rtld.c (dl_main): Invert order of assignment in last change,
44271 to avoid a warning.
44273 2011-08-14 David S. Miller <davem@davemloft.net>
44275 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
44276 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
44278 2011-08-13 Ulrich Drepper <drepper@gmail.com>
44280 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
44281 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
44282 * elf/rtld.c (dl_main): Set l_name of vDSO.
44283 Call _dl_show_scope when DL_DEBUG_SCOPES.
44284 (process_dl_debug): Recognize scopes flag and also set it for all.
44285 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
44286 Declare _dl_show_scope.
44288 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
44289 (do_dlopen): Pass caller_dlopen to dl_open.
44290 (__libc_dlopen_mode): Initialize caller_dlopen.
44292 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
44293 of libc. Make tolower call locale-independent. Optimize a bit by
44294 using isdigit instead of isalnum.
44295 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
44297 2011-08-12 Ulrich Drepper <drepper@gmail.com>
44299 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
44300 was a dependency or dynamically loaded.
44302 2011-08-11 Ulrich Drepper <drepper@gmail.com>
44304 * intl/l10nflist.c: Allow architecture-specific pop function.
44305 * sysdeps/x86_64/l10nflist.c: New file.
44307 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
44310 2011-08-10 Andreas Schwab <schwab@redhat.com>
44312 * include/dirent.h: Add libc_hidden_proto for scandirat and
44313 scandirat64. Don't declare __scandirat64.
44314 * dirent/scandirat.c: Add libc_hidden_def.
44315 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
44316 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
44318 2011-08-10 David S. Miller <davem@davemloft.net>
44320 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
44322 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
44323 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
44324 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
44326 2011-08-09 Ulrich Drepper <drepper@gmail.com>
44328 * Versions.def [libc]: Add GLIBC_2.15.
44329 * dirent/Makefile (routines): Add scandirat and scandirat64.
44330 * dirent/Versions [libc]: Export scandirat and scandirat64 for
44332 * dirent/dirent.h: Declare scandirat and scandirat64.
44333 * dirent/scandirat.c: New file.
44334 * dirent/scandirat64.c: New file.
44335 * sysdeps/wordsize-64/scandirat.c: New file.
44336 * sysdeps/wordsize-64/scandirat64.c: New file.
44337 * dirent/opendir.c: Define opendirat.
44338 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
44340 * dirent/scandir64.c: Adjust for scandir.c change.
44341 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
44342 __scandirat64, and __scandir_cancel_handler.
44343 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
44344 additional parameter and use openat instead of open (outside of ld.so).
44345 Add new __opendir as wrapper around __opendirat.
44346 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
44347 here without requiring old scandirat implementation.
44349 2011-08-08 Ulrich Drepper <drepper@gmail.com>
44351 * dirent/scandir.c (cancel_handler): Renamed to
44352 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
44353 defined. Adjust users.
44354 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
44355 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
44357 2011-08-04 Ulrich Drepper <drepper@gmail.com>
44359 * string/test-string.h (IMPL): Use __STRING to expand name and then
44362 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
44365 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
44367 * string/Makefile: Update.
44368 (strop-tests): Append strncat.
44369 * string/test-wcscmp.c: New file.
44370 New comprehensive test for wcscmp.
44371 * string/test-strcmp.c: Update.
44372 (WIDE): New define.
44374 2011-07-22 Andreas Schwab <schwab@redhat.com>
44376 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
44379 2011-07-26 Andreas Schwab <schwab@redhat.com>
44381 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
44382 encoding to ACE if AI_IDN.
44384 2011-08-01 Jakub Jelinek <jakub@redhat.com>
44386 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
44387 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
44389 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
44391 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
44392 Fix overflow bug in strncat.
44393 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
44395 * string/test-strncat.c: Update.
44396 Add new tests for checking overflow bugs.
44398 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
44400 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
44401 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
44402 * sysdeps/i386/i686/multiarch/strcat.S: New file.
44403 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
44404 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
44405 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
44406 * sysdeps/i386/i686/multiarch/strncat.S: New file.
44407 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
44408 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
44410 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
44411 (USE_AS_STRCAT): Define.
44412 Add strcat and strncat support.
44413 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
44415 2011-07-25 Andreas Schwab <schwab@redhat.com>
44417 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
44418 __n bigger than INT_MAX+1.
44419 (__strncmp_g): Likewise.
44421 2011-07-23 Ulrich Drepper <drepper@gmail.com>
44423 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
44424 * libio/stido.h: Likewise.
44426 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
44428 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
44431 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
44432 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
44433 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
44434 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
44435 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
44438 * scripts/test-installation.pl: Don't expect libnss_test1 to be
44441 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
44443 (_dl_x86_64_save_sse): Likewise.
44445 2011-07-22 Ulrich Drepper <drepper@gmail.com>
44447 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
44449 (_dl_x86_64_save_sse): Likewise.
44451 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
44453 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
44455 2011-07-21 Andreas Schwab <schwab@redhat.com>
44457 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
44459 (_dl_x86_64_save_sse): Use correct AVX check.
44461 2011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
44463 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
44464 bug in strncpy/strncat.
44465 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
44467 2011-07-21 Ulrich Drepper <drepper@gmail.com>
44469 * string/tester.c (test_strcat): Add tests for different alignments
44470 of source and destination.
44471 (test_strncat): Likewise.
44473 2011-07-20 Ulrich Drepper <drepper@gmail.com>
44476 * posix/glob.c (glob): Check passed in values before using them in
44477 expressions to avoid some overflows.
44478 (glob_in_dir): Likewise.
44481 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
44482 check for AVX enablement so that we don't crash with old kernels and
44484 * elf/tst-audit4.c: Add same checks here.
44485 * elf/tst-audit6.c: Likewise.
44487 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
44489 2011-07-09 Andreas Schwab <schwab@linux-m68k.org>
44491 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
44493 2011-07-20 Ulrich Drepper <drepper@gmail.com>
44495 * po/cs.po: Update from translation team.
44496 * po/bg.po: Likewise.
44498 2011-07-12 Marek Polacek <mpolacek@redhat.com>
44500 * misc/sys/cdefs.h: Add support for const attribute.
44501 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
44502 to gnu_dev_{major,minor,makedev} functions.
44504 2011-07-20 Marek Polacek <mpolacek@redhat.com>
44506 * intl/dcigettext.c (get_output_charset): Add missing bracket.
44508 2011-07-20 Andreas Schwab <schwab@redhat.com>
44510 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
44513 2011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
44515 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
44516 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
44517 register in order to avoid conflicts with the soft frame pointer
44518 being held in r11 when necessary.
44519 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
44520 (INTERNAL_VSYSCALL_NCS): Likewise.
44522 2011-07-14 Marek Polacek <mpolacek@redhat.com>
44524 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
44525 * elf/dl-fini.c (_dl_fini): Adjust caller.
44526 * elf/dl-close.c (_dl_close_worker): Likewise.
44527 * sysdeps/generic/ldsodefs.h: Adjust declaration.
44529 2011-07-15 Marek Polacek <mpolacek@redhat.com>
44531 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
44532 "aux_cache->nlibs < 0".
44534 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
44535 in the reload-count case.
44537 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
44539 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
44540 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
44541 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
44542 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
44543 * sysdeps/x86_64/multiarch/strcat.S: New file.
44544 * sysdeps/x86_64/multiarch/strncat.S: New file.
44545 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
44546 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
44547 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
44548 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
44549 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
44550 (USE_AS_STRCAT): Define.
44551 Add strcat and strncat support.
44552 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
44553 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
44554 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
44555 * string/strncat.c: Update.
44556 (USE_AS_STRNCAT): Define.
44557 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
44558 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
44560 * sysdeps/x86_64/multiarch/init-arch.h
44561 (bit_Prefer_PMINUB_for_stringop): New.
44562 (index_Prefer_PMINUB_for_stringop): Likewise.
44563 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
44564 bit_Prefer_PMINUB_for_stringop.
44566 2011-07-19 Ulrich Drepper <drepper@gmail.com>
44568 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
44570 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
44571 of casting of buffer.
44572 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
44573 buffer32 and buffer64.
44574 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
44575 writes instead of casting of buffer.
44576 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
44578 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
44581 2011-07-19 Andreas Schwab <schwab@redhat.com>
44583 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
44585 2011-07-19 Ulrich Drepper <drepper@gmail.com>
44587 * nscd/nscd.c (termination_handler): Don't do anything for a database
44588 if it has not yet been initialized.
44590 2011-07-18 Ulrich Drepper <drepper@gmail.com>
44592 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
44594 2011-07-15 Marek Polacek <mpolacek@redhat.com>
44596 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
44598 2011-07-18 Ulrich Drepper <drepper@gmail.com>
44600 * po/nl.po: Update from translation team.
44601 * po/sv.po: Likewise.
44603 2011-07-16 Roland McGrath <roland@hack.frob.com>
44605 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
44606 now disallowed by GCC.
44608 * configure.in (use-default-link): Default to yes if a test -shared
44609 link meets our qualifications.
44610 * configure: Regenerated.
44612 * config.make.in (output-format): New variable.
44613 * configure.in: Check for ld --print-output-format support.
44614 * configure: Regenerated.
44615 * Makerules ($(common-objpfx)format.lds)
44616 [$(output-format) != unknown]: Just use $(output-format),
44617 instead of the linker-script munging.
44619 2011-07-14 Roland McGrath <roland@hack.frob.com>
44621 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
44622 of $(common-objpfx)shlib.lds.
44623 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
44625 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
44626 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
44628 * configure.in (-z relro check): Adjust test code to add a large
44629 writable data section after it.
44630 * configure: Regenerated.
44632 2011-07-11 Roland McGrath <roland@hack.frob.com>
44634 * configure.in (-z relro check): Fix test code to make the variable
44636 * configure: Regenerated.
44638 2011-07-11 Ulrich Drepper <drepper@gmail.com>
44640 * nscd/nscd.h (struct traced_file): Define.
44641 (struct database_dyn): Remove inotify_descr, reset_res, and filename
44642 elements. Add traced_files.
44643 (inotify_fd): Declare.
44644 (register_traced_file): Declare.
44645 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
44646 (inotify_fd): Export.
44647 (resolv_conf_descr): Remove.
44648 (nscd_init): Move inotify descriptor creation to main.
44649 Don't register files for notification here.
44650 (register_traced_file): New function.
44651 (invalidate_cache): Don't use reset_res to determine whether to call
44652 res_init, go through the list of registered files.
44653 (main_loop_poll): The inotify descriptors are now stored in the
44654 structures for the traced files.
44655 (main_loop_epoll): Likewise
44656 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
44657 to __nss_disable_nscd.
44658 * nscd/cache.c (prune_cache): There is no single inotify descriptor
44659 for a database anymore. Check the records for all the registered
44661 * nss/Makefile (libnss_files-routines): Add files-init.
44662 (libnss_db-routines): Add db-init.
44663 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
44664 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
44665 * nss/nss_db/db-init.c: New file.
44666 * nss/nss_files/files-init.c: New file.
44667 * nss/nsswitch.c (nss_load_library): New function. Broken out of
44668 __nss_lookup_function.
44669 (__nss_lookup_function): Call nss_load_library.
44670 (nss_load_all_libraries): New function.
44671 (__nss_disable_nscd): Take parameter with callback function for files
44672 to register. Set is_nscd. Load all the DSOs for the NSS modules
44673 used for the cached services.
44674 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
44675 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
44676 options for features to all the files in nscd.
44678 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
44680 2011-07-10 Roland McGrath <roland@hack.frob.com>
44682 * csu/elf-init.c (__libc_csu_init): Comment typo.
44684 2011-07-09 Ulrich Drepper <drepper@gmail.com>
44686 * po/pl.po: Update from translation team.
44687 * po/ja.po: Likewise.
44688 * po/ru.po: Likewise.
44689 * po/ko.po: Likewise.
44690 * po/fr.po: Likewise.
44692 2011-07-09 Roland McGrath <roland@hack.frob.com>
44694 * configure.in (.ctors/.dtors header and trailer check):
44695 Use an empirical test on a built program.
44696 * configure: Regenerated.
44698 * configure.in (-z relro check): Use an empirical test on a built DSO.
44699 Detect, but do not require, on ia64.
44700 * configure: Regenerated.
44702 * configure.in (READELF): Find it with AC_CHECK_TOOL.
44703 Update tests that use readelf to use $READELF instead.
44704 * configure: Regenerated.
44706 2011-07-08 Ulrich Drepper <drepper@gmail.com>
44708 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
44709 if the result is not used.
44711 2011-07-05 Andreas Jaeger <aj@suse.de>
44714 * stdlib/tst-strtod.c: Add testcase.
44716 2011-07-07 Ulrich Drepper <drepper@gmail.com>
44718 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
44719 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
44720 The latter has a higher limit. Take additional parameter to pass to
44722 (__pathconf): Pass file to __statfs_link_max.
44723 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
44725 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
44729 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
44730 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
44732 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
44733 (__statfs_filesize_max): Likewise.
44734 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
44736 2011-07-05 Andreas Jaeger <aj@suse.de>
44738 * resolv/res_comp.c (dn_skipname): Remove unused variable.
44740 2011-07-06 Marek Polacek <mpolacek@redhat.com>
44742 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
44744 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
44747 2011-07-04 H.J. Lu <hongjiu.lu@intel.com>
44749 * Makefile (strop-tests): Add strncat.
44750 * string/test-strncat.c: New file.
44752 2011-06-30 Marek Polacek <mpolacek@redhat.com>
44754 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
44756 2011-06-21 Andreas Jaeger <aj@suse.de>
44758 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
44759 Copy rule from iconvdata/Makefile.
44761 2011-07-06 Ulrich Drepper <drepper@gmail.com>
44764 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
44765 but no long options are defined, just return 'W'.
44767 2011-06-22 Marek Polacek <mpolacek@redhat.com>
44770 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
44772 2011-07-06 Ulrich Drepper <drepper@gmail.com>
44774 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
44776 (innetgr): Likewise.
44778 2011-07-05 Roland McGrath <roland@hack.frob.com>
44780 * config.make.in (install_root): Default to $(DESTDIR).
44782 2011-07-05 Ulrich Drepper <drepper@gmail.com>
44784 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
44786 2011-07-02 Roland McGrath <roland@hack.frob.com>
44788 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
44790 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
44791 containing directory rather than embedding absolute directory names.
44793 * scripts/check-local-headers.sh: Rewritten using awk.
44794 Match by word, not by line. Print error messages for matches.
44795 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
44797 * Makerules [shlib-lds-flags empty]:
44798 ($(common-objpfx)libc_pic.opts): New target.
44799 ($(common-objpfx)libc_pic.os.clean): New target.
44800 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
44802 * config.make.in (OBJCOPY): New variable.
44803 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
44804 * configure: Regenerated.
44806 * config.make.in (use-default-link): New variable.
44807 * configure.in (use_default_link): Grok --with-default-link to set it.
44808 * configure: Regenerated.
44809 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
44810 (shlib-lds, shlib-lds-flags): Define to empty.
44812 * Makerules (shlib-lds): New variable.
44813 (shlib-lds-flags): New variable.
44814 (build-shlib, build-moduile, build-module-asneeded): Use it.
44815 ($(common-objpfx)libc.so): Use $(shlib-lds).
44816 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
44817 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
44819 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
44820 DT_FLAGS/DT_FLAGS_1 with zero flags.
44822 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
44823 linker script munging.
44825 2011-07-02 Ulrich Drepper <drepper@gmail.com>
44827 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
44829 * crypt/sha512.c (sha512_process_block): Perform total addition using
44830 128-bit if possible.
44831 (__sha512_finish_ctx): Likewise.
44832 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
44834 * crypt/sha256.c (SWAP64): Define.
44835 (sha256_process_block): Perform total addition using 64-bit if
44837 (__sha256_finish_ctx): Likewise.
44839 2011-07-01 Ulrich Drepper <drepper@gmail.com>
44841 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
44842 * nscd/initgrcache.c (addinitgroupsX): Likewise.
44843 * nscd/hstcache.c (cache_addhst): Likewise.
44844 * nscd/grpcache.c (cache_addgr): Likewise.
44845 * nscd/aicache.c (addhstaiX): Likewise
44846 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
44848 2011-07-01 Thorsten Kukuk <kukuk@suse.de>
44850 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
44851 * nscd/initgrcache.c (addinitgroupsX): Likewise.
44852 * nscd/hstcache.c (cache_addhst): Likewise.
44853 * nscd/grpcache.c (cache_addgr): Likewise.
44854 * nscd/aicache.c (addhstaiX): Likewise
44856 2011-07-01 Andreas Schwab <schwab@redhat.com>
44858 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
44859 domain only when needed.
44861 2011-06-30 Andreas Schwab <schwab@redhat.com>
44863 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
44864 is always restored.
44866 2011-06-29 Ulrich Drepper <drepper@gmail.com>
44868 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
44869 are re-adding the entry.
44870 * nscd/servicescache.c (cache_addserv): Likewise.
44872 2011-06-30 Aurelien Jarno <aurelien@aurel32.net>
44874 * sysdeps/generic/dl-irel.h: fix protection against multiple
44876 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
44878 2011-06-28 Ulrich Drepper <drepper@gmail.com>
44881 * malloc/memusage.sh: Fix quoting in message.
44882 * debug/xtrace.sh: Likewise.
44884 * configure.in: Remove support for --experimental-malloc option, make
44886 * config.make.in: Likewise.
44887 * malloc/Makefile: Likewise.
44889 2011-06-27 Andreas Schwab <schwab@redhat.com>
44891 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
44892 two-byte characters.
44894 2011-06-27 Roland McGrath <roland@hack.frob.com>
44896 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
44897 AC_CACHE_CHECK invocation.
44898 * configure: Regenerated.
44900 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
44902 2011-06-27 Ulrich Drepper <drepper@gmail.com>
44905 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
44906 bit from old_res_options.
44908 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
44910 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
44911 value type for setfct.
44913 2011-06-23 H.J. Lu <hongjiu.lu@intel.com>
44915 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
44916 __gettimeofday instead of gettimeofday.
44918 2011-06-26 Ulrich Drepper <drepper@gmail.com>
44920 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
44922 2011-06-24 H.J. Lu <hongjiu.lu@intel.com>
44924 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
44926 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
44929 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
44931 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
44932 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
44933 strcpy-sse2-unaligned strncpy-sse2-unaligned
44934 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
44935 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
44936 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
44937 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
44938 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
44939 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
44940 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
44941 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
44942 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
44943 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
44944 (STRCPY): Support SSE2 and SSSE3 versions.
44946 2011-06-24 Ulrich Drepper <drepper@gmail.com>
44949 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
44950 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
44951 kernels which artificially limit size of requests.
44953 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
44955 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
44956 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
44957 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
44958 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
44959 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
44960 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
44961 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
44962 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
44963 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
44964 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
44965 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
44966 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
44967 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
44968 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
44969 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
44970 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
44971 Enable unaligned load optimization for Intel Core i3, i5 and i7
44973 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
44975 (index_Fast_Unaligned_Load): Define.
44976 (HAS_FAST_UNALIGNED_LOAD): Define.
44978 2011-06-23 Marek Polacek <mpolacek@redhat.com>
44980 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
44982 2011-06-22 Ulrich Drepper <drepper@gmail.com>
44985 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
44986 until it is clear that the information is realy needed.
44987 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
44989 2011-06-22 Andreas Schwab <schwab@redhat.com>
44991 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
44993 2011-06-22 Ulrich Drepper <drepper@gmail.com>
44995 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
44996 /sys/devices/system/cpu/online if it is usable.
44998 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
44999 reading the information from the /proc filesystem to once a second.
45001 2011-06-21 Andreas Jaeger <aj@suse.de>
45003 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
45004 NULL after inclusion of kernel headers.
45006 2011-06-21 Ulrich Drepper <drepper@gmail.com>
45008 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
45009 calls to internal_setent.
45012 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
45013 addresses using gethostbyname4_r ignore IPv4 addresses.
45015 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
45016 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
45018 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
45020 2011-06-20 David S. Miller <davem@davemloft.net>
45022 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
45024 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
45026 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
45027 (elf_irel): Use it.
45028 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
45029 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
45030 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
45031 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
45032 * sysdeps/x86_64/dl-irel.h: Likewise.
45034 * elf/dl-runtime.c: Use elf_ifunc_invoke.
45035 * elf/dl-sym.c: Likewise.
45037 2011-06-15 Ulrich Drepper <drepper@gmail.com>
45039 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
45040 need to dereference resplen2.
45042 2011-06-14 Andreas Schwab <schwab@redhat.com>
45044 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
45046 2011-06-15 Ulrich Drepper <drepper@gmail.com>
45048 * Makeconfig: Define vardbdir and inst_vardbdir.
45049 * nss/Makefile: Add rules to install db-Makefile.
45051 * nss/nss_db/db-XXX.c: Cleanup.
45053 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
45054 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
45056 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
45057 * nss/makedb.c: Implement -g option to specify that value strings
45058 are generated and should not be added to table iterated over for
45060 * nss/nss_db/db-initgroups.c: New file.
45062 * nss/getent.c: Add support for initgroups lookups through getgrouplist
45065 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
45066 (internal_getgrouplist): Adjust to name change.
45067 Update use_initgroups_entry if this is not the first call.
45068 * nss/databases.def: Add initgroups entry.
45070 * nss/makedb.c (compute_tables): Check result of multiple hash table
45071 sizes to minimize maximum chain length.
45073 2011-06-14 Ulrich Drepper <drepper@gmail.com>
45075 * Versions.def: Add entry for libnss_db.
45076 * shlib-versions: Likewise.
45077 * nss/Makefile: Add rules to build libnss_db.
45078 * nss/Versions: Add libnss_db information. Organize libnss_files
45080 * nss/db-Makefile: Add gshadow support. Change rules for the new
45081 makedb progra. Some minor improvements to generate smaller files.
45082 * nss/nss_db/nss_db.h: Move NSS database header data structures to
45084 * nss/makedb.c: ...here.
45085 Improve database format to be smaller and require less memory at
45087 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
45089 * nss/nss_db/db-netgrp.c: Likewise.
45090 * nss/nss_db/db-open.c: Likewise.
45091 * nss/nss_files/flies-XXX.x: Adjust comments.
45092 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
45093 * nss/nss_files/files-grp.c: Likewise.
45094 * nss/nss_files/files-hosts.c: Likewise.
45095 * nss/nss_files/files-network.c: Likewise.
45096 * nss/nss_files/files-proto.c: Likewise.
45097 * nss/nss_files/files-pwd.c: Likewise.
45098 * nss/nss_files/files-rpc.c: Likewise.
45099 * nss/nss_files/files-service.c: Likewise.
45100 * nss/nss_files/files-sgrp.c: Likewise.
45101 * nss/nss_files/files-spwd.c: Likewise.
45102 * nss/nss_db/db-alias.c: Removed.
45103 * nss/nss_db/dummy-db.h: Removed.
45105 2011-06-02 Ulrich Drepper <drepper@gmail.com>
45107 * nss/makedb.c: Rewritten to not use database library.
45108 * nss/Makefile: Update to build new makedb program.
45110 2011-06-14 Andreas Jaeger <aj@suse.de>
45112 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
45113 memset declaration.
45115 2011-06-10 Andreas Schwab <schwab@redhat.com>
45117 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
45120 2011-06-10 Roland McGrath <roland@hack.frob.com>
45122 * Makerules (shlib.lds): Fail if the linker script comes out empty.
45123 * elf/Makefile ($(objpfx)ld.so): Likewise.
45125 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
45126 Don't list ld.so twice in dependencies.
45128 * posix/bug-regex31.c: Include <stdlib.h>.
45130 * nscd/hstcache.c (cache_addhst): Remove unused variable.
45132 * nis/nss_compat/compat-spwd.c
45133 (getspent_next_nss_netgr): Remove unused variable.
45134 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
45136 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
45137 nonmembers" output to use the right array.
45139 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
45141 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
45143 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
45144 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
45145 * catgets/gencat.c (read_input_file): Likewise.
45146 * locale/programs/locarchive.c (enlarge_archive): Likewise.
45148 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
45149 variable definition inside #if's controlling its use.
45151 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
45153 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
45155 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
45157 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
45160 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
45162 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
45163 * configure: Regenerated.
45165 * Makerules: Revert last change.
45166 * elf/Makefile: Likewise.
45168 2011-06-09 Roland McGrath <roland@hack.frob.com>
45170 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
45171 * elf/Makefile ($(objpfx)librtld.os): Likewise.
45172 (reloc-link): Likewise.
45174 2011-06-09 Ulrich Drepper <drepper@gmail.com>
45176 * elf/Makefile: Add rules to build pldd.
45177 * elf/pldd.c: New file.
45178 * elf/pldd-xx.c: New file.
45180 2011-06-07 Ulrich Drepper <drepper@gmail.com>
45182 * version.h: Update for 2.15 development version.
45184 2011-06-07 David S. Miller <davem@davemloft.net>
45186 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
45188 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
45189 elf_machine_lazy_rel): Likewise.
45190 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
45191 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
45192 elf_machine_lazy_rel): Likewise.
45193 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
45194 dl_hwcap via passed in argument.
45195 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
45198 2011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
45200 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
45202 2011-06-06 Roland McGrath <roland@hack.frob.com>
45205 * manual/fdl-1.1.texi: New file, verbatim from:
45206 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
45207 * manual/lgpl-2.1.texi: New file, verbatim from:
45208 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
45209 * manual/Makefile (licenses): New variable, list those new file names.
45211 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
45213 * manual/fdl.texi: File removed.
45214 * manual/lesser.texi: File removed.
45215 * manual/libc.texinfo (Copying, Documentation License):
45216 Use new @include file names, put @appendix directive before @include.
45218 2011-06-04 Jakub Jelinek <jakub@redhat.com>
45221 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
45222 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
45223 (mq_open): Add __NTH.
45225 2011-06-02 H.J. Lu <hongjiu.lu@intel.com>
45227 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
45228 Assume Intel Core i3/i5/i7 processor if AVX is available.
45230 2011-05-31 Ulrich Drepper <drepper@gmail.com>
45232 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
45235 2011-05-31 Andreas Schwab <schwab@redhat.com>
45237 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
45238 memory. Use alloca_account. Fix memory leak when retrying.
45240 2011-05-31 Ulrich Drepper <drepper@gmail.com>
45242 * version.h (RELEASE): Bump for 2.14 release.
45243 * include/features.h (__GLIBC_MINOR__): Bump to 14.
45245 * config.make.in (RANLIB): Remove entry.
45247 2011-05-30 Ulrich Drepper <drepper@gmail.com>
45249 * po/Makefile (po-sed-cmd): Add ksh to extensions.
45250 (libc.pot): Work around missing support for .ksh extension in xgettext.
45253 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
45254 if both request failed.
45255 (send_dg): In case of server errors clear resplen or *resplen2.
45258 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
45259 when there are multiple maps.
45260 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
45261 (_dl_fini): Remove test here.
45263 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
45265 2011-05-29 Ulrich Drepper <drepper@gmail.com>
45268 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
45269 bit from old_res_options.
45270 (gaih_inet): Likewise.
45273 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
45276 * resolv/res_init.c (res_setoptions): Make the code more compact.
45279 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
45283 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
45285 * malloc/malloc.h: Mark malloc hook variables as deprecated.
45288 * malloc/malloc.h: Declare malloc hook variables as volatile.
45290 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
45294 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
45295 raise in the comment.
45296 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
45297 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
45298 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
45300 2011-05-28 Ulrich Drepper <drepper@gmail.com>
45303 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
45304 grow the buffers more if it already has to be sufficient.
45305 (build_wcs_upper_buffer): Likewise.
45306 * posix/regexec.c (check_matching): Likewise.
45307 (clean_state_log_if_needed): Likewise.
45308 (extend_buffers): Don't enlarge buffers beyond size of the input
45310 Patches mostly by Emil Wojak <emil@wojak.eu>.
45311 * posix/bug-regex32.c: New file.
45312 * posix/Makefile (tests): Add bug-regex32.
45314 * locale/findlocale.c (_nl_find_locale): Return right away if
45315 _nl_explode_name failed.
45316 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
45318 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
45320 * debug/xtrace.sh: Unify messages.
45321 * malloc/memusage.sh: Likewise.
45324 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
45325 time symbol from vDSO. Substitute with vsyscall if not available.
45326 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
45329 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
45330 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
45331 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
45332 Add sendmmsg and internal_sendmmsg.
45333 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
45334 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
45335 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
45337 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
45338 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
45339 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
45341 2011-05-27 Ulrich Drepper <drepper@gmail.com>
45344 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
45345 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
45347 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
45351 * iconvdata/Makefile (tests): Add bug-iconv9.
45352 * iconvdata/bug-iconv9.c: New file.
45354 2011-05-27 Andreas Schwab <schwab@redhat.com>
45357 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
45359 2011-05-25 Jakub Jelinek <jakub@redhat.com>
45361 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
45362 (struct user_regs_struct): Change intcs field back to cs.
45364 2011-05-25 Ulrich Drepper <drepper@gmail.com>
45366 * po/ja.po: Update from translation team.
45368 2011-05-23 Ulrich Drepper <drepper@gmail.com>
45371 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
45372 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
45374 2011-05-20 Andreas Schwab <schwab@redhat.com>
45376 * stdlib/longlong.h: Update from GCC.
45378 2011-05-23 Andreas Schwab <schwab@redhat.com>
45380 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
45382 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
45383 Add parameter name.
45384 (__sysconf): Pass it down.
45386 2011-05-22 Ulrich Drepper <drepper@gmail.com>
45389 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
45391 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
45392 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
45393 add in in __libc_use_alloca calls. Adjust callers.
45394 (glob): Use malloc in some situations.
45396 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
45397 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
45400 2011-05-21 Ulrich Drepper <drepper@gmail.com>
45402 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
45403 and CLOCK_BOOTTIME_ALARM.
45406 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
45409 * string/_strerror.c (__strerror_r): Print negative errors as signed
45413 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
45414 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
45415 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
45417 * configure.in: Fix typo in redirection and correct removal of test
45418 files in two cases.
45421 * locale/setlocale.c (new_composite_name): Fix test to check for
45422 identical name of all categories.
45425 * libio/filedoalloc.c (local_isatty): New function.
45426 (_IO_file_doallocate): Use local_isatty.
45427 * stdio-common/perror.c (perror): In case a new stream is used
45428 forward the stream error.
45429 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
45432 2011-05-20 Ulrich Drepper <drepper@gmail.com>
45435 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
45437 * include/alloca.h (extend_alloca_account): Define.
45440 * posix/regex.h: Fix comments with documentation of user-accessible
45441 fields after compilation and describe correct free'ing of pattern
45442 after re_compile_pattern.
45443 Patch by Reuben Thomas <rrt@sc3d.org>.
45445 2011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
45447 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
45448 and -mno-altivec to prevent the compiler from using Altivec and/or
45449 VSX instructions when the corresponding registers are not available.
45451 2011-05-19 Andreas Schwab <schwab@redhat.com>
45453 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
45455 2011-05-19 Ulrich Drepper <drepper@gmail.com>
45457 * libio/freopen.c (freopen): Use __dup2, not dup2.
45458 * libio/freopen64.c (freopen64): Likewise.
45460 2011-05-17 H.J. Lu <hongjiu.lu@intel.com>
45463 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
45464 * math/Makefile (tests): Add test-powl.
45465 (CFLAGS-test-powl.c): Define.
45466 * math/test-powl.c: New file.
45468 2011-05-16 H.J. Lu <hongjiu.lu@intel.com>
45470 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
45472 2011-05-17 Ulrich Drepper <drepper@gmail.com>
45475 * iconvdata/gb18030.c: Update to GB18020-2005.
45477 2011-05-16 Ulrich Drepper <drepper@gmail.com>
45479 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
45480 RE_SYNTAX_POSIX_AWK): Update to match recent development.
45481 Patch by Aharon Robbins <arnold@skeeve.com>.
45484 * stdlib/putenv.c (putenv): Don't always create copy of the variable
45488 * misc/pselect.c (__pselect): Handle timeout value errors hidden
45489 through underflows.
45492 * misc/error.c (error_at_line): Ensure file_name and old_file_name
45493 point to strings before performing equality test for error_one_per_line
45497 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
45500 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
45501 (struct user_fpregs_struct): Avoid __uint*_t types.
45504 * malloc/mtrace.c (tr_where): Add additional parameter to point to
45505 symbol info. Use it instead of calling _dl_addr locally.
45506 (lock_and_info): New function.
45507 (tr_freehook): Call lock_and_info and pass symbol info as additional
45508 parameter to tr_where.
45509 (tr_mallochook): Likewise.
45510 (tr_reallochook): Likewise.
45511 (tr_memalignhook): Likewise.
45513 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
45514 used and couldn't be at all thread-safe.
45516 2011-05-15 Ulrich Drepper <drepper@gmail.com>
45518 * libio/freopen.c (freopen): Don't close old file descriptor
45519 before the new one is opened. Instead dup the new file descriptor
45520 to the old one after the new stream is created.
45521 * libio/freopen64.c (freopen64): Likewise.
45522 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
45523 * libio/fileops.c (_IO_new_file_close_it): Handle new
45524 _IO_FLAGS2_NOCLOSE flag.
45525 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
45526 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
45527 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
45528 _IO_FLAGS2_NOCLOSE flag.
45529 * include/unistd.h: Add hidden_proto for dup3.
45530 Define __have_dup3.
45531 * io/dup3.c: Define hidden symbol.
45532 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
45535 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
45536 when an incomplete long option is used.
45537 * posix/tst-getopt_long1.c: New file.
45538 * posix/Makefile (tests): Add tst-getopt_long1.
45541 * scripts/config.guess: Update from autoconf-2.68.
45542 * scripts/config.sub: Likewise.
45545 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
45547 (has_cpuclock): ...this. New function.
45548 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
45549 macro here based on has_cpuclock code.
45552 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
45553 First byte (not low byte) is now always NUL.
45554 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
45556 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
45557 Use non-cancelable interfaces.
45560 * locale/iso-639.def: Add entry for Sorani.
45563 * include/stdlib.h: Move include protection to the right place.
45564 Define abort_msg_s. Declare __abort_msg with it.
45565 * stdlib/abort.c (__abort_msg): Adjust type.
45566 * assert/assert.c (__assert_fail_base): New function. Majority
45567 of code from __assert_fail. Allocate memory for __abort_msg with
45569 (__assert_fail): Now call __assert_fail_base.
45570 * assert/assert-perr.c: Remove bulk of implementation. Use
45571 __assert_fail_base.
45572 * include/assert.hL Declare __assert_fail_base.
45573 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
45575 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
45577 2011-05-14 Ulrich Drepper <drepper@gmail.com>
45581 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
45582 until all modules are registered in the DTV.
45583 * elf/Makefile: Add rules to build and run tst-tls19.
45584 * elf/tst-tls19.c: New file.
45585 * elf/tst-tls19mod1.c: New file.
45586 * elf/tst-tls19mod2.c: New file.
45587 * elf/tst-tls19mod3.c: New file.
45588 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
45591 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
45595 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
45596 two-byte sequence errors.
45597 * iconvdata/Makefile (tests): Add bug-iconv8.
45598 * iconvdata/bug-iconv8.c: New file.
45601 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
45604 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
45607 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
45608 (dummy_getcfa): New function.
45609 (init): Get _Unwind_GetCFA address, use dummy if not found.
45610 (backtrace_helper): In recursion check, also check whether CFA changes.
45611 (__backtrace): Completely initialize arg.
45613 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
45614 storing incomplete byte sequence in state object. Avoid testing for
45615 guaranteed too small input if we know there is enough data available.
45617 2011-05-11 Andreas Schwab <schwab@redhat.com>
45619 * Makeconfig (+link-pie): Indent.
45620 * Rules (binaries-pie): Define if $(have-fpie) and
45622 (binaries-shared): Also filter out $(binaries-pie).
45623 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
45624 * nscd/Makefile (others-pie): Add nscd.
45625 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
45626 ($(objpfx)nscd): Remove command override.
45627 * login/Makefile (others-pie): Add pt_chown.
45628 ($(objpfx)pt_chown): Remove command override.
45629 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
45630 remove command overrides.
45632 2011-05-13 Ulrich Drepper <drepper@gmail.com>
45634 * libio/tst_putwc.c: Fix error messages.
45637 * libio/fileops.c (_IO_new_file_close_it): Always flush when
45638 currently writing and seek to current position when not.
45639 * libio/Makefile (tests): Add bug-fclose1.
45640 * libio/bug-fclose1.c: New file.
45642 2011-05-12 Ulrich Drepper <drepper@gmail.com>
45645 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
45646 don't set DF_1_NODELETE here.
45647 (do_lookup_x): When entering new entry test for copy relocation
45648 and if necessary set DF_1_NODELETE flag.
45649 * elf/tst-unique4.cc: New file.
45650 * elf/tst-unique4.h: New file.
45651 * elf/tst-unique4lib.cc: New file.
45652 * elf/Makefile: Add rules to build and run tst-unique4.
45653 Patch by Piotr Bury <pbury@goahead.com>.
45655 2011-05-11 Ulrich Drepper <drepper@gmail.com>
45658 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
45661 * misc/mntent_r.c (addmntent): Flush the stream after the output
45664 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
45665 (is_trusted_path_normalize): Skip initial colon. Append slash
45666 to empty buffer. Duplicate is_trusted_path code but allow
45667 constructed patch to be prefix.
45668 (is_dst): Allow $ORIGIN followed by /.
45669 (_dl_dst_substitute): Correct clearing of check_for_trusted.
45670 Correct testing of result of is_trusted_path_normalize
45671 (decompose_rpath): Fix warning.
45673 2011-05-10 Ulrich Drepper <drepper@gmail.com>
45676 * grp/initgroups.c (internal_getgrouplist): When we found the service
45677 list through the initgroups entry in nsswitch.conf do not always
45678 continue on a successful lookup. Don't always use the
45679 __nss_group_database value if it is set.
45680 * nss/nsswitch.conf (initgroups): Change action for successful db
45681 lookup to continue for compatibility.
45683 2011-05-09 Ulrich Drepper <drepper@gmail.com>
45686 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
45688 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
45690 * iconvdata/tst-tables.sh: Likewise.
45691 * iconvdata/cp770.c: New file.
45692 * iconvdata/cp771.c: New file.
45693 * iconvdata/cp772.c: New file.
45694 * iconvdata/cp773.c: New file.
45695 * iconvdata/cp774.c: New file.
45696 * iconvdata/testdata/CP770: New file.
45697 * iconvdata/testdata/CP770..UTF8: New file.
45698 * iconvdata/testdata/CP771: New file.
45699 * iconvdata/testdata/CP771..UTF8: New file.
45700 * iconvdata/testdata/CP772: New file.
45701 * iconvdata/testdata/CP772..UTF8: New file.
45702 * iconvdata/testdata/CP773: New file.
45703 * iconvdata/testdata/CP773..UTF8: New file.
45704 * iconvdata/testdata/CP774: New file.
45705 * iconvdata/testdata/CP774..UTF8: New file.
45707 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
45709 * iconvdata/gen-8bit-gap.sh: Likewise.
45710 * iconvdata/gen-8bit.sh: Likewise.
45712 * locale/iso-639.def: Add ary entry.
45715 * locale/C-translit.h.in: Add U20A1 transliteration.
45718 * locale/iso-639.def: Add wae entry.
45719 Patch by Kevin Bortis <bortis@translate-wae.ch>.
45722 * locale/programs/localedef.c (construct_output_path): Use ssize_t
45726 * locale/C-translit.h.in: Add entry for U20B9.
45727 Patch by pravin.d.s@gmail.com.
45729 2011-05-08 Ulrich Drepper <drepper@gmail.com>
45732 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
45733 ENAMETOOLONG use generic getcwd.
45734 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
45735 in rtld. Use *stat64.
45736 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
45737 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
45738 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
45739 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
45740 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
45741 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
45742 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
45743 __fstatat64 macros.
45744 * include/dirent.h: Add libc_hidden_proto for rewinddir.
45745 * dirent/rewinddir.c: Add libc_hidden_def.
45746 * sysdeps/mach/hurd/rewinddir.c: Likewise.
45747 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
45749 * include/dirent.h (__alloc_dir): Add flags parameter.
45750 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
45751 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
45753 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
45754 from fdopendir if O_CLOEXEC is already set.
45756 2011-03-15 Alan Modra <amodra@gmail.com>
45758 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
45759 l_tls_firstbyte_offset non-zero. Save padding offset in
45760 l_tls_firstbyte_offset for later use.
45761 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
45762 freeing static tls block.
45764 2011-03-05 Jonathan Nieder <jrnieder@gmail.com>
45766 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
45767 where #ifdef was intended. The intent is to prevent ARG_MAX from
45768 being defined by the kernel headers.
45770 2011-05-07 Ulrich Drepper <drepper@gmail.com>
45773 * resolv/resolv.h: Define RES_NOTLDQUERY.
45774 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
45775 no-tld-query and set RES_NOTLDQUERY.
45776 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
45777 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
45778 modern BIND to search name as TLD unless forbidden.
45780 2011-05-07 Petr Baudis <pasky@suse.cz>
45781 Ulrich Drepper <drepper@gmail.com>
45784 * elf/dl-load.c (fillin_rpath): Move trusted path check...
45785 (is_trusted_path): ...to here.
45786 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
45787 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
45788 using is_trusted_path_normalize() in setuid scripts.
45790 2011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
45792 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
45793 __BEGIN/__END_DECLS.
45795 2011-05-06 Ulrich Drepper <drepper@gmail.com>
45797 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
45798 NSS_STATUS_NOTFOUND if no record was found.
45800 2011-05-05 Andreas Schwab <schwab@redhat.com>
45802 * sunrpc/Makefile (headers): Add rpc/netdb.h.
45803 (headers-not-in-tirpc): Remove rpc/netdb.h
45804 * resolv/netdb.h: Revert last change.
45806 2011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
45808 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
45809 circular dependency between libgcc.a and libc.a.
45811 2011-05-05 Andreas Schwab <schwab@redhat.com>
45813 * resolv/netdb.h: Don't include <rpc/netdb.h>.
45814 * nis/Makefile: Don't install rpcsvc/*.
45815 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
45816 instead of <rpc/types.h>.
45817 (MAXHOSTNAMELEN): Define.
45819 2011-05-03 Andreas Schwab <schwab@redhat.com>
45821 * elf/ldconfig.c (add_dir): Don't crash on empty path.
45823 2011-04-28 Maciej Babinski <mbabinski@google.com>
45826 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
45827 gethostbyname4_r when IPv6 results are possible.
45829 2011-05-02 Ulrich Drepper <drepper@gmail.com>
45832 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
45833 _PC_PIPE_BUF handling.
45835 2011-04-30 Bruno Haible <bruno@clisp.org>
45838 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
45839 * resolv/netdb.h (getnameinfo): Change type of flags parameter
45841 * inet/getnameinfo.c (getnameinfo): Likewise.
45843 2011-04-29 Ulrich Drepper <drepper@gmail.com>
45845 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
45846 to groups setting in database lookup.
45847 * nss/nsswitch.conf: Add initgroups entry.
45849 2011-04-22 Ulrich Drepper <drepper@gmail.com>
45852 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
45854 Patch by Eric Blake <eblake@redhat.com>.
45856 2011-04-20 H.J. Lu <hongjiu.lu@intel.com>
45858 * sunrpc/Makefile (need-export-routines): Add svc_run.
45859 (routines): Remove svc_run.
45860 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
45861 * sunrpc/clnt_perr.c (clnt_perrno): Export.
45862 * sunrpc/svc_run.c (svc_run): Likewise.
45863 * sunrpc/svc_udp.c (svcudp_create): Likewise.
45865 2011-04-21 Ulrich Drepper <drepper@gmail.com>
45867 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
45868 problem in reallocation in last patch.
45870 2011-04-20 Ulrich Drepper <drepper@gmail.com>
45872 * sunrpc/Makefile: Move inclusion of Rules.
45874 2011-04-19 Ulrich Drepper <drepper@gmail.com>
45876 * nss/nss_files/files-initgroups.c: New file.
45877 * nss/Makefile (libnss_files-routines): Add files-initgroups.
45878 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
45879 _nss_files_initgroups_dyn.
45881 2011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
45883 * elf/elf.h (R_ARM_IRELATIVE): Define.
45885 2011-04-19 Ulrich Drepper <drepper@gmail.com>
45887 * po/ru.po: Update from translation team.
45889 2011-04-17 Ulrich Drepper <drepper@gmail.com>
45891 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
45894 2011-02-06 Mike Frysinger <vapier@gentoo.org>
45897 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
45898 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
45899 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
45900 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
45901 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
45903 2011-03-28 Andreas Schwab <schwab@linux-m68k.org>
45905 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
45907 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
45908 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
45909 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
45911 2011-04-17 Ulrich Drepper <drepper@gmail.com>
45914 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
45916 * stdlib/bug-getcontext.c: New file.
45917 * stdlib/Makefile: Add rules to build and run bug-getcontext.
45919 2011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
45921 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
45922 instructions into .machine "z9-109".
45923 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
45924 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
45926 2011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
45928 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
45929 between environment variables and auxiliary vector.
45931 2011-04-16 Ulrich Drepper <drepper@gmail.com>
45933 * Makefile: Add rules to build linkobj/libc.so.
45934 * include/libc-symbols.h: Define libc_hidden_nolink.
45935 * include/rpc/auth.h: Mark functions which are to be hidden.
45936 * include/rpc/auth_des.h: Likewise.
45937 * include/rpc/auth_unix.h: Likewise.
45938 * include/rpc/clnt.h: Likewise.
45939 * include/rpc/des_crypt.h: Likewise.
45940 * include/rpc/key_prot.h: Likewise.
45941 * include/rpc/pmap_clnt.h: Likewise.
45942 * include/rpc/pmap_prot.h: Likewise.
45943 * include/rpc/pmap_rmt.h: Likewise.
45944 * include/rpc/rpc_msg.h: Likewise.
45945 * include/rpc/svc.h: Likewise.
45946 * include/rpc/svc_auth.h: Likewise.
45947 * include/rpc/xdr.h: Likewise.
45948 * nis/Makefile: Link all DSOs against linkobj/libc.so.
45949 * nss/Makefile: Likewise.
45950 * sunrpc/Makefile: Don't install headers. Build library with normal
45951 entry points. Don't build rpcinfo. Link RPC tests appropriately.
45952 * sunrpc/auth_des.c: Hide exported symbols by default, export some
45953 for the compat linking library. Remove use of INTDEF/INTUSE.
45954 * sunrpc/auth_none.c: Likewise.
45955 * sunrpc/auth_unix.c: Likewise.
45956 * sunrpc/authdes_prot.c: Likewise.
45957 * sunrpc/authuxprot.c: Likewise.
45958 * sunrpc/clnt_gen.c: Likewise.
45959 * sunrpc/clnt_perr.c: Likewise.
45960 * sunrpc/clnt_raw.c: Likewise.
45961 * sunrpc/clnt_simp.c: Likewise.
45962 * sunrpc/clnt_tcp.c: Likewise.
45963 * sunrpc/clnt_udp.c: Likewise.
45964 * sunrpc/clnt_unix.c: Likewise.
45965 * sunrpc/des_crypt.c: Likewise.
45966 * sunrpc/des_soft.c: Likewise.
45967 * sunrpc/get_myaddr.c: Likewise.
45968 * sunrpc/key_call.c: Likewise.
45969 * sunrpc/key_prot.c: Likewise.
45970 * sunrpc/netname.c: Likewise.
45971 * sunrpc/pm_getmaps.c: Likewise.
45972 * sunrpc/pm_getport.c: Likewise.
45973 * sunrpc/pmap_clnt.c: Likewise.
45974 * sunrpc/pmap_prot.c: Likewise.
45975 * sunrpc/pmap_prot2.c: Likewise.
45976 * sunrpc/pmap_rmt.c: Likewise.
45977 * sunrpc/publickey.c: Likewise.
45978 * sunrpc/rpc_cmsg.c: Likewise.
45979 * sunrpc/rpc_common.c: Likewise.
45980 * sunrpc/rpc_dtable.c: Likewise.
45981 * sunrpc/rpc_prot.c: Likewise.
45982 * sunrpc/rpc_thread.c: Likewise.
45983 * sunrpc/rtime.c: Likewise.
45984 * sunrpc/svc.c: Likewise.
45985 * sunrpc/svc_auth.c: Likewise.
45986 * sunrpc/svc_authux.c: Likewise.
45987 * sunrpc/svc_raw.c: Likewise.
45988 * sunrpc/svc_run.c: Likewise.
45989 * sunrpc/svc_simple.c: Likewise.
45990 * sunrpc/svc_tcp.c: Likewise.
45991 * sunrpc/svc_udp.c: Likewise.
45992 * sunrpc/svc_unix.c: Likewise.
45993 * sunrpc/svcauth_des.c: Likewise.
45994 * sunrpc/xcrypt.c: Likewise.
45995 * sunrpc/xdr.c: Likewise.
45996 * sunrpc/xdr_array.c: Likewise.
45997 * sunrpc/xdr_float.c: Likewise.
45998 * sunrpc/xdr_intXX_t.c: Likewise.
45999 * sunrpc/xdr_mem.c: Likewise.
46000 * sunrpc/xdr_rec.c: Likewise.
46001 * sunrpc/xdr_ref.c: Likewise.
46002 * sunrpc/xdr_sizeof.c: Likewise.
46003 * sunrpc/xdr_stdio.c: Likewise.
46005 2011-04-10 Ulrich Drepper <drepper@gmail.com>
46008 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
46009 * sysdeps/ia64/dl-tls.h: Likewise.
46010 * sysdeps/powerpc/dl-tls.h: Likewise.
46011 * sysdeps/s390/dl-tls.h: Likewise.
46012 * sysdeps/sh/dl-tls.h: Likewise.
46013 * sysdeps/sparc/dl-tls.h: Likewise.
46014 * sysdeps/x86_64/dl-tls.h: Likewise.
46015 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
46017 2011-03-14 Andreas Schwab <schwab@redhat.com>
46019 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
46020 rpath element also skip the following colon.
46021 (expand_dynamic_string_token): Add is_path parameter and pass
46022 down to DL_DST_REQUIRED and _dl_dst_substitute.
46023 (decompose_rpath): Call expand_dynamic_string_token with
46024 non-zero is_path. Ignore empty rpaths.
46025 (_dl_map_object_from_fd): Call expand_dynamic_string_token
46028 2011-04-08 Andreas Schwab <schwab@linux-m68k.org>
46030 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
46033 2011-04-09 Ulrich Drepper <drepper@gmail.com>
46036 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
46037 Patch by Filipe David Manana <fdmanana@apache.org>.
46039 2011-04-07 Andreas Schwab <schwab@redhat.com>
46041 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
46042 Maintain aligned stack.
46043 (CHECK_RSP): Remove unused macro.
46045 2011-04-03 Ulrich Drepper <drepper@gmail.com>
46047 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
46048 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
46050 2011-04-02 Ulrich Drepper <drepper@gmail.com>
46052 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
46054 * include/features.h: Mention __USE_XOPEN2K8 in comment.
46056 2011-03-26 H.J. Lu <hongjiu.lu@intel.com>
46059 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
46060 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
46061 * sysdeps/x86_64/memmove.c: New file.
46062 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
46063 (memcpy): Renamed to ...
46064 (__new_memcpy): This.
46065 (memcpy): Provide GLIBC_2_14 memcpy.
46066 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
46067 (memcpy): Provide GLIBC_2_2_5 memcpy.
46069 2011-04-01 Ulrich Drepper <drepper@gmail.com>
46072 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
46074 2011-03-30 Andreas Schwab <schwab@redhat.com>
46076 * misc/syncfs.c: New file.
46077 * misc/Makefile (routines): Add syncfs.
46078 * posix/unistd.h: Declare syncfs.
46079 * sysdeps/unix/syscalls.list: Add syncfs.
46081 2011-04-01 Andreas Schwab <schwab@redhat.com>
46083 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
46085 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
46086 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
46087 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
46088 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
46089 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
46090 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
46091 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
46093 2011-04-01 Ulrich Drepper <drepper@gmail.com>
46095 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
46096 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
46097 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
46098 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
46099 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
46100 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
46101 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
46103 * io/Makefile: Compile fallocate.c, fallocate64.c, and
46104 sync_file_range.c with -fexceptions.
46105 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
46106 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
46107 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
46108 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
46109 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
46110 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
46111 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
46112 sync_file_range as cancellation point
46113 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
46114 now a wrapper around __call_sync_file_range with cancellation handling.
46115 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
46116 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
46117 function name to __call_sync_file_range.
46118 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
46119 Add call_sync_file_range.
46121 2011-04-01 Andreas Schwab <schwab@redhat.com>
46123 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
46126 2011-04-01 Ulrich Drepper <drepper@gmail.com>
46128 * iconv/iconv.h: Fix typo in comment.
46129 * io/fcntl.h: Likewise.
46130 * libio/stdio.h: Likewise.
46131 * posix/spawn.h: Likewise.
46132 * posix/unistd.h: Likewise.
46133 * stdlib/stdlib.h: Likewise.
46134 * time/time.h: Likewise.
46135 * wcsmbs/wchar.h: Likewise.
46137 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
46138 open_by_handle): Add.
46139 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
46140 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
46141 Augment a few comments.
46142 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
46143 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
46144 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
46145 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
46146 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
46147 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
46150 * io/fcntl.h (AT_EMPTY_PATH): Define.
46152 2011-03-30 Ulrich Drepper <drepper@gmail.com>
46154 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
46155 * sysdeps/unix/sysv/linux/bits/time.h: New file.
46156 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
46158 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
46159 * Versions.def: Add GLIBC_2.14.
46160 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
46163 2011-03-22 Ulrich Drepper <drepper@gmail.com>
46165 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
46167 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
46169 2011-03-20 H.J. Lu <hongjiu.lu@intel.com>
46172 * string/test-strncmp.c (do_page_test): New function.
46173 (check2): Likewise.
46174 (test_main): Call check2.
46175 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
46177 2011-03-20 Ulrich Drepper <drepper@gmail.com>
46180 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
46181 Handle cache information in CPU leaf 4.
46182 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
46184 2011-03-18 Ulrich Drepper <drepper@gmail.com>
46187 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
46188 character representation.
46189 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
46191 2011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
46193 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
46194 END(__isnan) to END(__isnanf) to match function entry point/label
46195 EALIGN(__isnanf,...).
46197 2011-03-10 Jakub Jelinek <jakub@redhat.com>
46199 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
46201 2011-03-10 Ulrich Drepper <drepper@gmail.com>
46204 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
46205 copy from the symbol referenced in the relocation to initialize the
46207 Patch by Piotr Bury <pbury@goahead.com>.
46208 * elf/Makefile: Add rules to build and tst-unique3.
46209 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
46210 * elf/tst-unique3.cc: New file.
46211 * elf/tst-unique3.h: New file.
46212 * elf/tst-unique3lib.cc: New file.
46213 * elf/tst-unique3lib2.cc: New file.
46215 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
46217 2011-03-10 Mike Frysinger <vapier@gentoo.org>
46219 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
46220 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
46223 2011-03-06 Ulrich Drepper <drepper@gmail.com>
46225 * elf/dl-load.c (_dl_map_object): If we are looking for the first
46226 to-be-loaded object along a path to loader is ld.so.
46228 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
46229 Ulrich Drepper <drepper@gmail.com>
46231 * sysdeps/x86_64/memset.S: After aligning destination, code
46232 branches to different locations depending on the value of
46233 misalignment, when multiarch is enabled. Fix this.
46235 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
46237 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
46238 Set _x86_64_preferred_memory_instruction for AMD processsors.
46239 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
46240 Set bit_Prefer_SSE_for_memop for AMD processors.
46242 2011-03-04 Ulrich Drepper <drepper@gmail.com>
46244 * libio/fmemopen.c (fmemopen): Optimize a bit.
46246 2011-03-03 Andreas Schwab <schwab@redhat.com>
46248 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
46250 2011-03-03 Roland McGrath <roland@redhat.com>
46252 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
46254 2011-02-28 Aurelien Jarno <aurelien@aurel32.net>
46256 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
46257 __bzero_ultra1 instead of __memset_ultra1.
46259 2011-02-23 Andreas Schwab <schwab@redhat.com>
46260 Ulrich Drepper <drepper@gmail.com>
46263 * include/link.h (struct link_map): Add l_orig_initfini.
46264 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
46265 returning unsuccessfully.
46266 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
46267 close of a file loaded at startup, restore the original l_initfini
46269 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
46270 list, store the pointer.
46271 * elf/Makefile ($(objpfx)noload-mem): New rule.
46272 (noload-ENV): Define.
46273 (tests): Add $(objpfx)noload-mem.
46274 * elf/noload.c: Include <memcheck.h>.
46275 (main): Call mtrace. Close all opened handles.
46277 2011-02-17 Andreas Schwab <schwab@redhat.com>
46280 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
46281 dependencies are missing.
46283 2011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
46285 Fix __if_freereq crash: Unlike the generic version which uses free,
46287 * sysdeps/mach/hurd/ifreq.h: New file.
46289 2011-01-27 Petr Baudis <pasky@suse.cz>
46290 Ulrich Drepper <drepper@gmail.com>
46293 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
46294 to extend_alloca().
46295 * stdio-common/bug23.c: New file.
46296 * stdio-common/Makefile (tests): Add bug23.
46298 2010-09-28 Andreas Schwab <schwab@redhat.com>
46299 Ulrich Drepper <drepper@gmail.com>
46302 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
46303 before performing relro protection. At old place add assertion
46304 to make sure nothing changed.
46306 2011-02-17 Nathan Sidwell <nathan@codesourcery.com>
46307 Glauber de Oliveira Costa <glommer@gmail.com>
46309 * elf/elf.h: Add new ARM TLS relocs.
46311 2011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
46313 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
46314 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
46316 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
46318 * sysdeps/wordsize-64/tst-writev.c: New file.
46320 2011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
46322 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
46323 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
46324 insns in _dl_start to prevent a TOC reference before relocs are
46327 2011-02-15 Ulrich Drepper <drepper@gmail.com>
46330 * Makeconfig: Remove RANLIB definition.
46331 * Makerules: Don't use RANLIB.
46332 * aclocal.m4: Remove ranlib test.
46333 * configure.in: No need to check for ranlib.
46334 * elf/rtld-Rules: Don't use RANLIB.
46336 2011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
46338 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
46340 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
46341 inclusion protection macro.
46343 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
46344 SIGRTMIN and SIGRTMAX and print information in that case only when
46345 SIGRTMIN is defined.
46347 2011-02-11 Jakub Jelinek <jakub@redhat.com>
46349 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
46350 arginfo fn returning -1.
46352 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
46353 and thousands string is zero terminated.
46355 2011-02-03 Andreas Schwab <schwab@redhat.com>
46357 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
46358 sysdeps/unix/sysv/linux/bits/socket.h.
46360 2011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
46362 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
46363 (__CPU_COUNT): Remove old macros.
46364 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
46365 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
46366 (__CPU_ALLOC, __CPU_FREE): Add macros.
46367 (__sched_cpualloc, __sched_cpufree): Add declarations.
46369 2011-02-05 Ulrich Drepper <drepper@gmail.com>
46371 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
46372 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
46373 * nscd/aicache.c (addhstaiX): Return timeout of added value.
46374 (readdhstai): Return value of addhstaiX call.
46375 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
46376 (addgrbyX): Return value returned by cache_addgr.
46377 (readdgrbyname): Return value returned by addgrbyX.
46378 (readdgrbygid): Likewise.
46379 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
46380 (addpwbyX): Return value returned by cache_addpw.
46381 (readdpwbyname): Return value returned by addhstbyX.
46382 (readdpwbyuid): Likewise.
46383 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
46384 (addservbyX): Return value returned by cache_addserv.
46385 (readdservbyname): Return value returned by addservbyX:
46386 (readdservbyport): Likewise.
46387 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
46388 (addhstbyX): Return value returned by cache_addhst.
46389 (readdhstbyname): Return value returned by addhstbyX.
46390 (readdhstbyaddr): Likewise.
46391 (readdhstbynamev6): Likewise.
46392 (readdhstbyaddrv6): Likewise.
46393 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
46394 (readdinitgroups): Return value returned by addinitgroupsX.
46395 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
46396 (prune_cache): Keep track of timeout value of re-added entries.
46397 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
46398 * nscd/nscd.h: Adjust prototypes of readd* functions.
46400 2011-02-04 Roland McGrath <roland@redhat.com>
46402 * nis/nis_server.c (nis_servstate): Use the right name for 0.
46403 (nis_stats): Likewise.
46404 * nis/nis_modify.c (nis_modify): Likewise.
46405 * nis/nis_remove.c (nis_remove): Likewise.
46406 * nis/nis_add.c (nis_add): Likewise.
46408 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
46410 * posix/fnmatch_loop.c: Add some consts.
46412 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
46414 2011-02-02 H.J. Lu <hongjiu.lu@intel.com>
46417 * config.make.in (config-cflags-novzeroupper): Define.
46418 * configure.in: Substitute libc_cv_cc_novzeroupper.
46419 * elf/Makefile (AVX-CFLAGS): Define.
46420 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
46421 (CFLAGS-tst-auditmod4a.c): Likewise.
46422 (CFLAGS-tst-auditmod4b.c): Likewise.
46423 (CFLAGS-tst-auditmod6b.c): Likewise.
46424 (CFLAGS-tst-auditmod6c.c): Likewise.
46425 (CFLAGS-tst-auditmod7b.c): Likewise.
46426 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
46428 2011-02-02 Ulrich Drepper <drepper@gmail.com>
46430 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
46431 function to the callback.
46432 Patch partly by Jiri Olsa <jolsa@redhat.com>.
46434 2011-02-02 Andreas Schwab <schwab@redhat.com>
46436 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
46439 2011-01-19 Ulrich Drepper <drepper@gmail.com>
46442 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
46444 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
46446 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
46449 * elf/Makefile: Add rules to build and run new test.
46450 * elf/tst-initorder.c: New file.
46451 * elf/tst-initorder.exp: New file.
46452 * elf/tst-initordera1.c: New file.
46453 * elf/tst-initordera2.c: New file.
46454 * elf/tst-initordera3.c: New file.
46455 * elf/tst-initordera4.c: New file.
46456 * elf/tst-initorderb1.c: New file.
46457 * elf/tst-initorderb2.c: New file.
46458 * elf/tst-order-a1.c: New file.
46459 * elf/tst-order-a2.c: New file.
46460 * elf/tst-order-a3.c: New file.
46461 * elf/tst-order-a4.c: New file.
46462 * elf/tst-order-b1.c: New file.
46463 * elf/tst-order-b2.c: New file.
46464 * elf/tst-order-main.c: New file.
46465 New test case by George Gensure <werkt0@gmail.com>.
46467 2010-10-01 Andreas Schwab <schwab@redhat.com>
46469 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
46470 decoding ACE if AI_CANONIDN.
46472 2011-01-18 Ulrich Drepper <drepper@gmail.com>
46474 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
46476 2011-01-17 Ulrich Drepper <drepper@gmail.com>
46478 * version.h (RELEASE): Bump for 2.13 release.
46479 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
46481 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
46483 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
46485 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
46486 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
46487 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
46488 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
46489 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
46490 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
46492 * posix/getconf.c: Update copyright year.
46493 * catgets/gencat.c: Likewise.
46494 * csu/version.c: Likewise.
46495 * debug/catchsegv.sh: Likewise.
46496 * debug/xtrace.sh: Likewise.
46497 * elf/ldconfig.c: Likewise.
46498 * elf/ldd.bash.in: Likewise.
46499 * elf/sprof.c (print_version): Likewise.
46500 * iconv/iconv_prog.c: Likewise.
46501 * iconv/iconvconfig.c: Likewise.
46502 * locale/programs/locale.c: Likewise.
46503 * locale/programs/localedef.c: Likewise.
46504 * malloc/memusage.sh: Likewise.
46505 * malloc/mtrace.pl: Likewise.
46506 * nscd/nscd.c (print_version): Likewise.
46507 * nss/getent.c: Likewise.
46509 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
46510 PF_CAIF, and PF_ALG.
46511 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
46513 2011-01-16 Andreas Schwab <schwab@linux-m68k.org>
46515 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
46516 (modules-names): Use them.
46517 (ifunc-test-modules, ifunc-pie-tests): Define.
46518 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
46519 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
46520 (test-extras): Likewise.
46521 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
46522 $(compile-command.c).
46523 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
46524 (all-built-dso): Define.
46525 (check-textrel.out, check-execstack.out): Depend on it.
46527 * configure.in: Don't override --enable-multi-arch.
46529 2011-01-15 Ulrich Drepper <drepper@gmail.com>
46532 * nscd/hstcache.c (tryagain): Define.
46533 (cache_addhst): Return tryagain not notfound for temporary errors.
46534 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
46537 2011-01-14 Ulrich Drepper <drepper@gmail.com>
46540 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
46541 to make the syscall.
46542 * sysdeps/unix/sysv/linux/setgroups.c: New file.
46545 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
46546 and fall back to matching as normal character if the string ends before
46547 the matching ']' is found. This is what POSIX requires.
46548 * posix/testfnm.c: Adjust test result.
46549 * posix/globtest.sh: Adjust test result. Add new test.
46550 * posix/tst-fnmatch.input: Likewise.
46551 * posix/tst-fnmatch2.c: Add new test.
46553 2010-12-28 Andreas Schwab <schwab@linux-m68k.org>
46555 * elf/Makefile (check-execstack): Revert last change. Depend on
46557 (check-execstack.h): New target.
46558 (generated): Add check-execstack.h.
46559 * elf/check-execstack.c: Include "check-execstack.h".
46560 (main): Revert last change.
46561 (handle_file): Return zero if GNU_STACK is absent and
46562 DEFAULT_STACK_PERMS doesn't include PF_X.
46564 2011-01-13 Ulrich Drepper <drepper@gmail.com>
46566 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
46567 in child fails because the descriptor is already closed.
46568 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
46569 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
46570 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
46573 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
46577 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
46578 temporary buffer used to handle multi lookups locally.
46579 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
46581 2011-01-12 Ulrich Drepper <drepper@gmail.com>
46583 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
46586 2011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
46588 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
46589 alignment for SSE2.
46591 2011-01-12 Ulrich Drepper <drepper@gmail.com>
46594 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
46595 characters. When rounding increased number of integer digits recompute
46597 * stdio-common/tst-grouping.c: New file.
46598 * stdio-common/Makefile: Add rules to build and run tst-grouping.
46600 2011-01-09 Ulrich Drepper <drepper@gmail.com>
46602 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
46603 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
46605 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
46607 * bits/select.h: Likewise.
46609 2011-01-08 Ulrich Drepper <drepper@gmail.com>
46611 * po/ja.po: Update from translation team.
46613 2011-01-04 David S. Miller <davem@sunset.davemloft.net>
46616 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
46617 implementation just like for lxstat, fxstatat, et al.
46619 2010-12-27 Jim Meyering <meyering@redhat.com>
46622 * posix/regexec.c (build_trtable): Return failure indication upon
46623 calloc failure. Otherwise, re_search_internal could infloop on OOM.
46625 2010-12-25 Ulrich Drepper <drepper@gmail.com>
46628 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
46629 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
46630 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
46631 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
46634 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
46637 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
46638 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
46640 2010-12-15 H.J. Lu <hongjiu.lu@intel.com>
46642 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
46643 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
46644 script has SORT_BY_INIT_PRIORITY.
46645 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
46646 NO_CTORS_DTORS_SECTIONS is defined.
46647 * elf/soinit.c: Likewise.
46648 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
46649 NO_CTORS_DTORS_SECTIONS is defined.
46650 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
46651 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
46652 * sysdeps/sh/init-first.c: Likewise.
46653 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
46655 2010-12-24 Ulrich Drepper <drepper@gmail.com>
46657 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
46658 always use the slow path.
46660 2010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
46662 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
46663 similar rule which adds the sysdep directories to the header search in
46664 order to pick up the correct platform stackinfo.h.
46665 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
46666 perform test if it is, otherwise return successfully without testing.
46667 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
46668 DEFAULT_STACK_PERMS define in stackinfo.h.
46669 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
46670 defined in stackinfo.h.
46671 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
46672 DEFAULT_STACK_PERMS defined in stackinfo.h.
46673 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
46674 * sysdeps/ia64/stackinfo.h: Likewise.
46675 * sysdeps/s390/stackinfo.h: Likewise.
46676 * sysdeps/sh/stackinfo.h: Likewise.
46677 * sysdeps/sparc/stackinfo.h: Likewise.
46678 * sysdeps/x86_64/stackinfo.h: Likewise.
46679 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
46680 PF_X for powerpc64. Retain PF_X for powerpc32.
46682 2010-12-19 Ulrich Drepper <drepper@gmail.com>
46684 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
46686 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
46687 GETDENTS_64BIT_ALIGNED.
46689 2010-12-14 Ulrich Drepper <dreper@gmail.com>
46691 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
46693 2010-12-10 Andreas Schwab <schwab@redhat.com>
46695 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
46698 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
46699 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
46701 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
46702 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
46704 2010-12-09 Ulrich Drepper <drepper@gmail.com>
46707 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
46710 2010-12-09 Jakub Jelinek <jakub@redhat.com>
46712 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
46714 2010-12-03 Ulrich Drepper <drepper@gmail.com>
46716 * po/it.po: Update from translation team.
46718 2010-12-01 H.J. Lu <hongjiu.lu@intel.com>
46720 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
46723 2010-11-30 Ulrich Drepper <drepper@gmail.com>
46725 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
46727 2010-11-24 Andreas Schwab <schwab@redhat.com>
46729 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
46731 (gaih_getanswer_slice): Likewise.
46733 2010-10-20 Jakub Jelinek <jakub@redhat.com>
46735 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
46737 2010-05-31 Petr Baudis <pasky@suse.cz>
46740 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
46741 silently even in the chroot mode.
46743 2010-11-22 Ulrich Drepper <drepper@gmail.com>
46745 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
46746 last patch a bit. Pretty printing
46748 2010-05-31 Petr Baudis <pasky@suse.cz>
46751 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
46752 initialization of skip_initgroups_dyn.
46754 2010-11-19 Ulrich Drepper <drepper@gmail.com>
46756 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
46757 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
46759 2010-11-16 Ulrich Drepper <drepper@gmail.com>
46761 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
46763 2010-11-11 Andreas Schwab <schwab@redhat.com>
46765 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
46766 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
46767 (tst-fnmatch-ENV): Set MALLOC_TRACE.
46768 ($(objpfx)tst-fnmatch-mem): New rule.
46769 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
46770 * posix/tst-fnmatch.c (main): Call mtrace.
46772 2010-11-11 H.J. Lu <hongjiu.lu@intel.com>
46774 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
46775 Support Intel processor model 6 and model 0x2c.
46777 2010-11-10 Luis Machado <luisgpm@br.ibm.com>
46779 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
46782 2010-11-09 H.J. Lu <hongjiu.lu@intel.com>
46785 * string/test-strncasecmp.c (check_result): New function.
46786 (do_one_test): Use it.
46787 (check1): New function.
46788 (test_main): Use it.
46789 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
46790 Support strcasecmp and strncasecmp.
46792 2010-11-08 Ulrich Drepper <drepper@gmail.com>
46795 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
46796 * sysdeps/x86_64/bits/byteswap.h: Likewise.
46798 2010-11-07 H.J. Lu <hongjiu.lu@intel.com>
46800 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
46802 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
46804 * sysdeps/x86_64/multiarch/bzero.S: New file.
46805 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
46806 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
46807 * sysdeps/x86_64/multiarch/memset.S: New file.
46808 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
46809 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
46810 Set bit_Prefer_SSE_for_memop for Intel processors.
46811 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
46813 (index_Prefer_SSE_for_memop): Define.
46814 (HAS_PREFER_SSE_FOR_MEMOP): Define.
46816 2010-11-04 Luis Machado <luisgpm@br.ibm.com>
46818 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
46819 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
46821 2010-11-03 H.J. Lu <hongjiu.lu@intel.com>
46824 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
46825 (__x86_64_raw_data_cache_size_half): Likewise.
46826 (__x86_64_raw_shared_cache_size): Likewise.
46827 (__x86_64_raw_shared_cache_size_half): Likewise.
46829 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
46830 (__x86_64_raw_data_cache_size_half): Likewise.
46831 (__x86_64_raw_shared_cache_size): Likewise.
46832 (__x86_64_raw_shared_cache_size_half): Likewise.
46833 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
46834 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
46835 and __x86_64_raw_shared_cache_size_half. Round
46836 __x86_64_data_cache_size_half, __x86_64_data_cache_size
46837 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
46838 to multiple of 256 bytes.
46840 2010-11-03 Ulrich Drepper <drepper@gmail.com>
46843 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
46844 of inacessible symlinks. Verify result of symlink before returning it.
46845 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
46846 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
46848 2010-10-28 Erich Ritz <erichritz@gmail.com>
46850 * math/math.h (isinf): Fix typo in comment.
46852 2010-11-01 Ulrich Drepper <drepper@gmail.com>
46854 * po/da.po: Update from translation team.
46856 2010-10-26 Ulrich Drepper <drepper@gmail.com>
46858 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
46859 is added to the list.
46861 2010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
46862 Ulrich Drepper <drepper@gmail.com>
46864 * elf/dl-object.c (_dl_new_object): Don't append the new object to
46865 the global list here. Move code to...
46866 (_dl_add_to_namespace_list): ...here. New function.
46867 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
46868 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
46869 * elf/dl-load.c (lose): Don't remove the element from the list.
46870 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
46871 (_dl_map_object): Likewise.
46873 2010-10-25 Ulrich Drepper <drepper@gmail.com>
46876 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
46877 into all bytes of SSE register.
46878 Patch by Richard Li <richardpku@gmail.com>.
46880 2010-10-24 Ulrich Drepper <drepper@gmail.com>
46883 * malloc/malloc.c (_int_free): Fill correct number of bytes when
46886 2010-10-20 Michael B. Brutman <brutman@us.ibm.com>
46888 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
46889 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
46890 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
46891 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
46892 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
46894 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
46896 2010-10-22 Andreas Schwab <schwab@redhat.com>
46898 * include/dlfcn.h (__RTLD_SECURE): Define.
46899 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
46900 mode & __RTLD_SECURE instead.
46901 (open_path): Rename preloaded parameter to secure.
46902 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
46903 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
46904 * elf/dl-deps.c (openaux): Likewise.
46905 * elf/rtld.c (struct map_args): Remove is_preloaded.
46906 (map_doit): Don't use it.
46907 (dl_main): Likewise.
46908 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
46909 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
46911 2010-09-09 Andreas Schwab <schwab@redhat.com>
46913 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
46914 (sysd-rules-targets): Remove duplicates.
46915 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
46916 rtld-%.$o dependency.
46918 2010-10-18 Andreas Schwab <schwab@redhat.com>
46920 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
46921 _dl_map_object do it.
46923 2010-10-19 Ulrich Drepper <drepper@gmail.com>
46925 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
46926 fast fma builtins, define the macros in the C99 standard.
46927 (FP_FAST_FMAF): Likewise.
46928 (FP_FAST_FMAL): Likewise.
46929 * sysdeps/x86_64/bits/mathdef.h: Likewise.
46931 * bits/mathdef.h: Update copyright year.
46932 * sysdeps/powerpc/bits/mathdef.h: Likewise.
46934 2010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
46936 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
46937 builtins, define the macros in the C99 standard.
46938 (FP_FAST_FMAF): Likewise.
46939 (FP_FAST_FMAL): Likewise.
46940 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
46942 (FP_FAST_FMAF): Likewise.
46944 2010-10-15 Jakub Jelinek <jakub@redhat.com>
46947 * math/libm-test.inc (fma_test): Some new testcases.
46948 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
46949 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
46950 y and infinite z. Do multiplication by C already in long double.
46951 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
46952 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
46953 y and infinite z. Do bitwise or of inexact bit into u.d.
46954 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
46955 * sysdeps/i386/fpu/s_fmaf.S: Removed.
46956 * sysdeps/i386/fpu/s_fma.S: Removed.
46957 * sysdeps/i386/fpu/s_fmal.S: Removed.
46959 2010-10-16 Jakub Jelinek <jakub@redhat.com>
46962 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
46963 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
46964 computation is not scheduled after fetestexcept. Fix value
46965 of minimum denormal long double.
46967 2010-10-14 Jakub Jelinek <jakub@redhat.com>
46970 * math/libm-test.inc (fma_test): Add some more tests.
46971 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
46974 2010-10-15 Andreas Schwab <schwab@redhat.com>
46976 * scripts/data/localplt-s390-linux-gnu.data: New file.
46977 * scripts/data/localplt-s390x-linux-gnu.data: New file.
46979 2010-10-13 Jakub Jelinek <jakub@redhat.com>
46982 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
46983 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
46985 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
46987 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
46988 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
46989 if one of x and y is very large and the other is subnormal.
46990 * sysdeps/s390/fpu/s_fmaf.c: New file.
46991 * sysdeps/s390/fpu/s_fma.c: New file.
46992 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
46993 * sysdeps/powerpc/fpu/s_fma.S: New file.
46994 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
46995 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
46996 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
46998 2010-10-12 Jakub Jelinek <jakub@redhat.com>
47001 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
47003 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
47004 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
47005 * sysdeps/i386/i686/multiarch/s_fma.c: Include
47006 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
47007 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
47008 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
47009 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
47011 2010-10-12 Ulrich Drepper <drepper@redhat.com>
47014 * posix/regcomp.c (parse_branch): One more memory leak plugged.
47015 * posix/bug-regex31.input: Add test case.
47017 2010-10-11 Ulrich Drepper <drepper@gmail.com>
47019 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
47020 * posix/bug-regex31.input: New file.
47023 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
47024 (parse_sub_exp): Fix last change, use postorder.
47026 * posix/bug-regex31.c: New file.
47027 * posix/Makefile: Add rules to build and run bug-regex31.
47029 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
47032 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
47035 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
47036 to have entries in sys_siglist.
47039 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
47042 2010-10-07 Jakub Jelinek <jakub@redhat.com>
47045 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
47046 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
47047 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
47048 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
47049 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
47050 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
47051 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
47052 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
47053 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
47054 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
47055 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
47056 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
47057 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
47058 * math/ftestexcept.c (fetestexcept): Likewise.
47059 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
47060 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
47061 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
47062 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
47063 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
47064 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
47065 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
47067 2010-10-11 Ulrich Drepper <drepper@gmail.com>
47070 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
47073 2010-10-06 Ulrich Drepper <drepper@gmail.com>
47075 * string/bug-strstr1.c: New file.
47076 * string/Makefile: Add rules to build and run bug-strstr1.
47078 2010-10-05 Eric Blake <eblake@redhat.com>
47081 * string/str-two-way.h (two_way_long_needle): Always clear memory
47082 when skipping input due to the shift table.
47084 2010-10-03 Ulrich Drepper <drepper@gmail.com>
47087 * malloc/mcheck.c: Handle large requests.
47090 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
47091 for strncmp and strncasecmp.
47092 * string/stratcliff.c: Add tests for strcmp and strncmp.
47093 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
47095 2010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
47097 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
47100 2010-09-30 Andreas Jaeger <aj@suse.de>
47102 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
47103 (CGROUP_SUPER_MAGIC): Define.
47104 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
47105 Handle btrfs and cgroup file systems.
47106 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
47109 2010-09-27 Luis Machado <luisgpm@br.ibm.com>
47111 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
47112 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
47114 2010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
47117 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
47118 trying to locate the ELF header.
47120 2010-09-27 Andreas Schwab <schwab@redhat.com>
47123 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
47124 Mask out sign-bit copies when constructing f_fsid.
47126 2010-09-24 Petr Baudis <pasky@suse.cz>
47128 * debug/stack_chk_fail_local.c: Add missing licence exception.
47129 * debug/warning-nop.c: Likewise.
47131 2010-09-15 Joseph Myers <joseph@codesourcery.com>
47133 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
47134 implementing getdents64 using getdents syscall, set d_type if
47135 __ASSUME_GETDENTS32_D_TYPE.
47137 2010-09-16 Andreas Schwab <schwab@redhat.com>
47139 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
47140 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
47142 2010-09-21 Ulrich Drepper <drepper@redhat.com>
47145 * posix/unistd.h: Undo change of feature selection for ftruncate from
47148 2010-09-20 Ulrich Drepper <drepper@redhat.com>
47150 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
47153 2010-09-20 Andreas Schwab <schwab@redhat.com>
47155 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
47157 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
47159 2010-09-14 Andreas Schwab <schwab@redhat.com>
47161 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
47162 variables after CHECK_SP call.
47163 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
47165 2010-09-13 Andreas Schwab <schwab@redhat.com>
47166 Ulrich Drepper <drepper@redhat.com>
47168 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
47169 re-relocationg ld.so.
47170 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
47171 _dl_init_paths call.
47172 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
47175 2010-09-14 Ulrich Drepper <drepper@redhat.com>
47177 * resolv/res_init.c (__res_vinit): Count the default server we added.
47179 2010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
47180 Ulrich Drepper <drepper@redhat.com>
47183 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
47184 (____longjmp_chk): Use %ebx for saving value across system call.
47187 2010-09-06 Andreas Schwab <schwab@redhat.com>
47189 * manual/Makefile: Don't mix pattern rules with normal rules.
47191 2010-09-05 Andreas Schwab <schwab@linux-m68k.org>
47193 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
47195 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
47196 * libio/iofopncook.c (_IO_cookie_init): Likewise.
47197 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
47198 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
47199 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
47202 2010-09-04 Ulrich Drepper <drepper@redhat.com>
47205 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
47206 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
47208 2010-09-02 Ulrich Drepper <drepper@redhat.com>
47210 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
47211 * sysdeps/x86_64/addmul_1.S: Likewise.
47212 * sysdeps/x86_64/lshift.S: Likewise.
47213 * sysdeps/x86_64/mul_1.S: Likewise.
47214 * sysdeps/x86_64/rshift.S: Likewise.
47215 * sysdeps/x86_64/sub_n.S: Likewise.
47216 * sysdeps/x86_64/submul_1.S: Likewise.
47218 2010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
47220 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
47221 Define __sched_param instead of SCHED_* and sched_param when
47222 <bits/sched.h> is included with __need_schedparam defined.
47223 * bits/sched.h [__need_schedparam]
47224 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
47225 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
47226 (__defined_schedparam): Define to 1.
47227 (__sched_param): New structure, identical to sched_param.
47228 (__need_schedparam): Undefine.
47230 2010-08-31 Mike Frysinger <vapier@gentoo.org>
47232 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
47233 (epoll_create1): Declare.
47235 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
47237 2010-08-31 Andreas Schwab <schwab@redhat.com>
47240 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
47241 shifting retval into place.
47243 2010-09-01 Ulrich Drepper <drepper@redhat.com>
47245 * nis/rpcsvc/nis.h: Update copyright notice.
47246 * nis/rpcsvc/nis.x: Likewise.
47247 * nis/rpcsvc/nis_callback.h: Likewise.
47248 * nis/rpcsvc/nis_callback.x: Likewise.
47249 * nis/rpcsvc/nis_object.x: Likewise.
47250 * nis/rpcsvc/nis_tags.h: Likewise.
47251 * nis/rpcsvc/yp.h: Likewise.
47252 * nis/rpcsvc/yp.x: Likewise.
47253 * nis/rpcsvc/ypupd.h: Likewise.
47254 * nis/yp_xdr.c: Likewise.
47255 * nis/ypupdate_xdr.c: Likewise.
47257 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
47258 mainly the body of pmap_getport. Add parameters to specify timeouts.
47259 (pmap_getport): Use __libc_rpc_getport.
47260 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
47261 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
47262 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
47264 2010-08-31 Andreas Schwab <schwab@linux-m68k.org>
47266 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
47269 2010-08-27 Roland McGrath <roland@redhat.com>
47271 * sysdeps/i386/i686/multiarch/Makefile
47272 (CFLAGS-varshift.c): New variable.
47274 2010-08-27 Ulrich Drepper <drepper@redhat.com>
47276 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
47277 * sysdeps/i386/i686/multiarch/varshift.c: New file.
47279 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
47281 * sysdeps/x86_64/strlen.S: Minimal code improvement.
47283 2010-08-26 H.J. Lu <hongjiu.lu@intel.com>
47285 * sysdeps/x86_64/strlen.S: Unroll the loop.
47286 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
47287 strlen-sse2 strlen-sse2-bsf.
47288 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
47289 __strlen_no_bsf if bit_Slow_BSF is set.
47290 (__strlen_sse42): Removed.
47291 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
47292 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
47294 2010-08-25 Roland McGrath <roland@redhat.com>
47296 * sysdeps/x86_64/multiarch/varshift.S: File removed.
47297 * sysdeps/x86_64/multiarch/varshift.c: New file.
47298 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
47299 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
47300 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
47301 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
47303 2010-08-25 H.J. Lu <hongjiu.lu@intel.com>
47305 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
47306 strlen-sse2 strlen-sse2-bsf.
47307 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
47308 __strlen_sse2_bsf if bit_Slow_BSF is unset.
47309 (__strlen_sse2): Removed.
47310 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
47311 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
47312 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
47313 bit_Slow_BSF for Atom.
47314 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
47315 (index_Slow_BSF): Define.
47316 (HAS_SLOW_BSF): Define.
47318 2010-08-25 Ulrich Drepper <drepper@redhat.com>
47321 * resolv/res_init.c (__res_vinit): When no server address at all
47322 is given default to loopback.
47324 2010-08-24 Roland McGrath <roland@redhat.com>
47326 * configure.in: Remove config-name.h generation.
47327 * configure: Regenerated.
47328 * config-name.in: File removed.
47329 * scripts/config-uname.sh: New file.
47330 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
47331 ($(objdir)config-name.h): New target.
47333 * sunrpc/rpc_parse.h: Avoid nested comment.
47335 2010-08-24 Richard Henderson <rth@redhat.com>
47336 Ulrich Drepper <drepper@redhat.com>
47337 H.J. Lu <hongjiu.lu@intel.com>
47339 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
47340 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
47341 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
47342 Replace _mm_srli_si128 with __m128i_shift_right. Replace
47343 _mm_alignr_epi8 with _mm_loadu_si128.
47344 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
47345 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
47346 (__m128i_shift_right): Removed.
47347 * sysdeps/i386/i686/multiarch/varshift.h: New file.
47348 * sysdeps/i386/i686/multiarch/varshift.S: New file.
47349 * sysdeps/x86_64/multiarch/varshift.h: New file.
47350 * sysdeps/x86_64/multiarch/varshift.S: New file.
47352 2010-08-21 Mike Frysinger <vapier@gentoo.org>
47354 * configure.in: Move assembler checks to before sysdep dir checking.
47356 2010-08-20 Petr Baudis <pasky@suse.cz>
47358 * LICENSES: Sync the sunrpc license.
47360 2010-08-19 Ulrich Drepper <drepper@redhat.com>
47362 * sunrpc/auth_des.c: Update copyright notice once again.
47363 * sunrpc/auth_none.c: Likewise.
47364 * sunrpc/auth_unix.c: Likewise.
47365 * sunrpc/authdes_prot.c: Likewise.
47366 * sunrpc/authuxprot.c: Likewise.
47367 * sunrpc/bindrsvprt.c: Likewise.
47368 * sunrpc/clnt_gen.c: Likewise.
47369 * sunrpc/clnt_perr.c: Likewise.
47370 * sunrpc/clnt_raw.c: Likewise.
47371 * sunrpc/clnt_simp.c: Likewise.
47372 * sunrpc/clnt_tcp.c: Likewise.
47373 * sunrpc/clnt_udp.c: Likewise.
47374 * sunrpc/clnt_unix.c: Likewise.
47375 * sunrpc/des_crypt.c: Likewise.
47376 * sunrpc/des_soft.c: Likewise.
47377 * sunrpc/get_myaddr.c: Likewise.
47378 * sunrpc/getrpcport.c: Likewise.
47379 * sunrpc/key_call.c: Likewise.
47380 * sunrpc/key_prot.c: Likewise.
47381 * sunrpc/openchild.c: Likewise.
47382 * sunrpc/pm_getmaps.c: Likewise.
47383 * sunrpc/pm_getport.c: Likewise.
47384 * sunrpc/pmap_clnt.c: Likewise.
47385 * sunrpc/pmap_prot.c: Likewise.
47386 * sunrpc/pmap_prot2.c: Likewise.
47387 * sunrpc/pmap_rmt.c: Likewise.
47388 * sunrpc/rpc/auth.h: Likewise.
47389 * sunrpc/rpc/auth_unix.h: Likewise.
47390 * sunrpc/rpc/clnt.h: Likewise.
47391 * sunrpc/rpc/des_crypt.h: Likewise.
47392 * sunrpc/rpc/key_prot.h: Likewise.
47393 * sunrpc/rpc/netdb.h: Likewise.
47394 * sunrpc/rpc/pmap_clnt.h: Likewise.
47395 * sunrpc/rpc/pmap_prot.h: Likewise.
47396 * sunrpc/rpc/pmap_rmt.h: Likewise.
47397 * sunrpc/rpc/rpc.h: Likewise.
47398 * sunrpc/rpc/rpc_des.h: Likewise.
47399 * sunrpc/rpc/rpc_msg.h: Likewise.
47400 * sunrpc/rpc/svc.h: Likewise.
47401 * sunrpc/rpc/svc_auth.h: Likewise.
47402 * sunrpc/rpc/types.h: Likewise.
47403 * sunrpc/rpc/xdr.h: Likewise.
47404 * sunrpc/rpc_clntout.c: Likewise.
47405 * sunrpc/rpc_cmsg.c: Likewise.
47406 * sunrpc/rpc_common.c: Likewise.
47407 * sunrpc/rpc_cout.c: Likewise.
47408 * sunrpc/rpc_dtable.c: Likewise.
47409 * sunrpc/rpc_hout.c: Likewise.
47410 * sunrpc/rpc_main.c: Likewise.
47411 * sunrpc/rpc_parse.c: Likewise.
47412 * sunrpc/rpc_parse.h: Likewise.
47413 * sunrpc/rpc_prot.c: Likewise.
47414 * sunrpc/rpc_sample.c: Likewise.
47415 * sunrpc/rpc_scan.c: Likewise.
47416 * sunrpc/rpc_scan.h: Likewise.
47417 * sunrpc/rpc_svcout.c: Likewise.
47418 * sunrpc/rpc_tblout.c: Likewise.
47419 * sunrpc/rpc_util.c: Likewise.
47420 * sunrpc/rpc_util.h: Likewise.
47421 * sunrpc/rpcinfo.c: Likewise.
47422 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
47423 * sunrpc/rpcsvc/key_prot.x: Likewise.
47424 * sunrpc/rpcsvc/klm_prot.x: Likewise.
47425 * sunrpc/rpcsvc/mount.x: Likewise.
47426 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
47427 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
47428 * sunrpc/rpcsvc/rex.x: Likewise.
47429 * sunrpc/rpcsvc/rstat.x: Likewise.
47430 * sunrpc/rpcsvc/rusers.x: Likewise.
47431 * sunrpc/rpcsvc/sm_inter.x: Likewise.
47432 * sunrpc/rpcsvc/spray.x: Likewise.
47433 * sunrpc/rpcsvc/yppasswd.x: Likewise.
47434 * sunrpc/rtime.c: Likewise.
47435 * sunrpc/svc.c: Likewise.
47436 * sunrpc/svc_auth.c: Likewise.
47437 * sunrpc/svc_authux.c: Likewise.
47438 * sunrpc/svc_raw.c: Likewise.
47439 * sunrpc/svc_run.c: Likewise.
47440 * sunrpc/svc_simple.c: Likewise.
47441 * sunrpc/svc_tcp.c: Likewise.
47442 * sunrpc/svc_udp.c: Likewise.
47443 * sunrpc/svc_unix.c: Likewise.
47444 * sunrpc/svcauth_des.c: Likewise.
47445 * sunrpc/xcrypt.c: Likewise.
47446 * sunrpc/xdr.c: Likewise.
47447 * sunrpc/xdr_array.c: Likewise.
47448 * sunrpc/xdr_float.c: Likewise.
47449 * sunrpc/xdr_mem.c: Likewise.
47450 * sunrpc/xdr_rec.c: Likewise.
47451 * sunrpc/xdr_ref.c: Likewise.
47452 * sunrpc/xdr_sizeof.c: Likewise.
47453 * sunrpc/xdr_stdio.c: Likewise.
47455 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
47458 2010-08-19 Andreas Schwab <schwab@redhat.com>
47460 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
47462 2010-08-19 Luis Machado <luisgpm@br.ibm.com>
47464 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
47465 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
47466 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
47467 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
47468 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
47469 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
47470 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
47471 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
47472 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
47473 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
47474 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
47475 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
47476 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
47477 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
47479 2010-07-26 Anton Blanchard <anton@samba.org>
47481 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
47482 * malloc/arena.c (heap_trim): Likewise.
47484 2010-08-16 Ulrich Drepper <drepper@redhat.com>
47486 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
47488 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
47489 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
47491 2010-08-12 H.J. Lu <hongjiu.lu@intel.com>
47493 * sysdeps/i386/elf/Makefile: New file.
47495 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
47497 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
47498 from fanotify_init.
47499 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
47500 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
47502 2010-08-15 Ulrich Drepper <drepper@redhat.com>
47504 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
47506 * sysdeps/multiarch/strcmp.S: Likewise.
47508 2010-08-14 Ulrich Drepper <drepper@redhat.com>
47510 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
47511 strncase_l-nonascii.
47512 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
47513 Add strncase_l-ssse3.
47514 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
47515 * sysdeps/x86_64/strcmp.S: Likewise.
47516 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
47517 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
47518 * sysdeps/x86_64/strncase.S: New file.
47519 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
47520 * sysdeps/x86_64/strncase_l.S: New file.
47521 * string/Makefile (strop-tests): Add strncasecmp.
47522 * string/test-strncasecmp.c: New file.
47524 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
47527 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
47528 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
47530 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
47532 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
47534 2010-08-12 Ulrich Drepper <drepper@redhat.com>
47536 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
47537 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
47538 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
47540 2010-05-01 Alan Modra <amodra@gmail.com>
47542 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
47543 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
47544 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
47545 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
47546 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
47547 tidying. Don't tail-call __sigjmp_save for static lib.
47548 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
47550 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
47551 (CALL_MCOUNT): Add eh info, and nop after bl.
47552 (TAIL_CALL_SYSCALL_ERROR): New macro.
47553 (PSEUDO_RET): Use it.
47554 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
47555 Correct save location of integer regs and cr.
47556 (_dl_profile_resolve): Correct cr save location. Delete nops
47557 after bl when SHARED. Reduce cfi size a little by better
47558 placement of cfi directives.
47559 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
47560 make a stack frame. Instead use parm save area as a temp.
47561 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
47562 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
47563 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
47564 Don't make a stack frame for parent, use parm save area.
47565 Increase child stack frame to 112 bytes. Don't save unused reg,
47566 and adjust reg usage. Set up cfi on error recovery and
47567 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
47568 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
47569 (__makecontext): Add dummy nop after jump to exit.
47570 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
47571 Use correct parm save area and cr save, reduce stack frame.
47572 Correct cfi for possible PSEUDO_RET frame setup.
47573 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
47574 Branch to local label emitted by PSEUDO_RET rather than
47577 2010-08-12 Andreas Schwab <schwab@redhat.com>
47580 * locale/programs/locale.c (print_assignment): New function.
47581 (show_locale_vars): Use it.
47583 2010-08-11 Ulrich Drepper <drepper@redhat.com>
47585 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
47587 (struct statfs64): Likewise.
47588 (_STATFS_F_FLAGS): Define.
47589 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
47590 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
47591 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
47592 (ST_VALID): Define locally.
47593 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
47594 __statvfs_getflags, use the provided value.
47595 * sysdeps/unix/sysv/linux/kernel-features.h: Define
47596 __ASSUME_STATFS_F_FLAGS.
47598 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
47600 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
47601 Add sys/fanotify.h.
47602 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
47603 fanotify_mask for GLIBC_2.13.
47604 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
47605 fanotify_init and fanotify_mark.
47606 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
47607 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
47609 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
47611 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
47612 prlimit64 for GLIBC_2.13.
47613 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
47615 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
47617 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
47618 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
47619 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
47620 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
47621 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
47623 * sysdeps/unix/sysv/linux/prlimit.c: New file.
47626 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
47627 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
47629 * nss/Makefile: Add rules to build and run tst-nss-test1.
47630 * shlib-versions: Add entry for libnss_test1.
47631 * nss/nss_test1.c: New file.
47632 * nss/tst-nss-test1.c: New file.
47634 * nss/nsswitch.c (__nss_database_custom): Define new variable.
47635 (__nss_configure_lookup): Set appropriate entry in
47636 __nss_configure_lookup to true.
47637 * nss/nsswitch.h: Define enum with indeces of databases in
47638 databases and __nss_database_custom arrays. Declare
47639 __nss_database_custom.
47640 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
47641 to avoid using nscd when custom rules are installed.
47642 * nss/getXXbyYY_r.c: Likewise.
47643 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
47645 * nss/nss_files/files-parse.c: Whitespace fixes.
47647 2010-08-09 Ulrich Drepper <drepper@redhat.com>
47650 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
47651 * posix/fnmatch_loop.c: Likewise.
47653 2010-07-17 Andi Kleen <ak@linux.intel.com>
47655 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
47656 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
47657 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
47658 * Versions.def [GLIBC_2.13]: Add.
47660 2010-08-06 Ulrich Drepper <drepper@redhat.com>
47662 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
47663 Also fail if tpwd after pwuid call is NULL.
47665 2010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
47667 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
47668 when converting to ms.
47670 2010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
47672 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
47673 EOPNOTSUPP errors with ENOTTY.
47674 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
47675 EOPNOTSUPP errors with ENOTTY.
47677 2010-07-31 Ulrich Drepper <drepper@redhat.com>
47679 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
47680 Add strcasecmp_l-ssse3.
47681 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
47683 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
47684 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
47685 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
47687 2010-07-30 Ulrich Drepper <drepper@redhat.com>
47689 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
47691 * string/Makefile (strop-tests): Add strcasecmp.
47692 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
47693 strcasecmp_l-nonascii.
47694 (gen-as-const-headers): Add locale-defines.sym.
47695 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
47696 * sysdeps/x86_64/strcasecmp.S: New file.
47697 * sysdeps/x86_64/strcasecmp_l.S: New file.
47698 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
47699 * sysdeps/x86_64/locale-defines.sym: New file.
47700 * string/test-strcasecmp.c: New file.
47702 * string/test-strcasestr.c: Test both ends of the range of characters.
47703 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
47705 2010-07-29 Roland McGrath <roland@redhat.com>
47708 * manual/locale.texi (Yes-or-No Questions): Fix example code.
47710 2010-07-27 Ulrich Drepper <drepper@redhat.com>
47712 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
47715 2010-07-27 Andreas Schwab <schwab@redhat.com>
47717 * manual/memory.texi (Malloc Tunable Parameters): Document
47720 2010-07-26 Roland McGrath <roland@redhat.com>
47723 * configure.in (-fgnu89-inline check): Set and substitute
47724 gnu89_inline, not libc_cv_gnu89_inline.
47725 * configure: Regenerated.
47726 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
47728 2010-07-26 Ulrich Drepper <drepper@redhat.com>
47730 * string/test-strnlen.c: New file.
47731 * string/Makefile (strop-tests): Add strnlen.
47732 * string/tester.c (test_strnlen): Add a few more test cases.
47733 * string/tst-strlen.c: Better error reporting.
47735 * sysdeps/x86_64/strnlen.S: New file.
47737 2010-07-24 Ulrich Drepper <drepper@redhat.com>
47739 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
47740 lower-latency instructions.
47742 2010-07-23 Ulrich Drepper <drepper@redhat.com>
47744 * string/test-strcasestr.c: New file.
47745 * string/test-strstr.c: New file.
47746 * string/Makefile (strop-tests): Add strstr and strcasestr.
47747 * string/str-two-way.h: Don't undefine MAX.
47748 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
47750 2010-07-21 Andreas Schwab <schwab@redhat.com>
47752 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
47753 strcasestr-nonascii.
47754 (CFLAGS-strcasestr-nonascii.c): Define.
47755 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
47756 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
47757 Remove unused attribute.
47759 2010-07-20 Roland McGrath <roland@redhat.com>
47761 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
47762 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
47763 ld.so.cache was broken. With it, there is no way to disable dsocaps
47764 like LD_HWCAP_MASK can disable hwcaps.
47766 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
47768 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
47770 2010-07-16 Ulrich Drepper <drepper@redhat.com>
47772 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
47773 call in strcasestr.
47774 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
47775 __strcasestr_sse42_nonascii.
47776 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
47777 strcasestr-nonascii.c.
47778 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
47780 2010-06-15 Luis Machado <luisgpm@br.ibm.com>
47782 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
47783 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
47784 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
47785 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
47787 2010-07-09 Ulrich Drepper <drepper@redhat.com>
47789 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
47792 2010-07-06 Andreas Schwab <schwab@redhat.com>
47795 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
47798 2010-07-06 Ulrich Drepper <drepper@redhat.com>
47800 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
47801 _PC_PIPE_BUF using F_GETPIPE_SZ.
47803 2010-07-05 Roland McGrath <roland@redhat.com>
47805 * manual/arith.texi (Rounding Functions): Fix rint description
47806 implicit in round description.
47808 2010-07-02 Ulrich Drepper <drepper@redhat.com>
47810 * elf/Makefile: Fix linking for a few tests to make recent linker
47813 2010-06-30 Andreas Schwab <schwab@redhat.com>
47815 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
47816 $(common-objpfx)libc_nonshared.a.
47818 2010-06-21 Luis Machado <luisgpm@br.ibm.com>
47820 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
47821 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
47822 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
47823 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
47824 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
47825 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
47826 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
47827 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
47828 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
47829 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
47830 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
47831 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
47832 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
47833 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
47834 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
47835 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
47836 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
47837 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
47838 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
47839 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
47840 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
47841 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
47842 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
47843 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
47844 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
47845 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
47846 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
47847 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
47848 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
47849 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
47850 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
47851 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
47852 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
47853 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
47854 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
47855 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
47856 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
47857 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
47858 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
47859 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
47860 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
47861 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
47862 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
47863 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
47864 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
47865 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
47866 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
47867 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
47869 2010-06-25 H.J. Lu <hongjiu.lu@intel.com>
47871 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
47872 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
47873 * string/memmove.c (memmove): Renamed to ...
47874 (MEMMOVE): ...this. Default to memmove.
47875 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
47876 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
47878 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
47879 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
47880 mempcpy-ssse3-back memmove-ssse3-back.
47881 * sysdeps/x86_64/multiarch/bcopy.S: New file .
47882 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
47883 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
47884 * sysdeps/x86_64/multiarch/memcpy.S: New file.
47885 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
47886 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
47887 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
47888 * sysdeps/x86_64/multiarch/memmove.c: New file.
47889 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
47890 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
47891 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
47892 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
47893 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
47894 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
47896 (index_Fast_Copy_Backward): Define.
47897 (HAS_ARCH_FEATURE): Define.
47898 (HAS_FAST_REP_STRING): Define.
47899 (HAS_FAST_COPY_BACKWARD): Define.
47901 2010-06-21 Andreas Schwab <schwab@redhat.com>
47903 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
47904 Restore proper fallback handling.
47906 2010-06-19 Ulrich Drepper <drepper@redhat.com>
47909 * posix/group_member.c (__group_member): Correct checking loop.
47911 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
47912 OOM in getpwuid_r correctly. Return error number when the caller
47913 should return, otherwise -1.
47914 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
47915 call returning > 0 value.
47916 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
47918 2010-06-07 Andreas Schwab <schwab@redhat.com>
47920 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
47921 libc_nonshared.a from targets in modules-names.
47923 2010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
47925 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
47928 2010-06-10 Luis Machado <luisgpm@br.ibm.com>
47930 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
47931 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
47932 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
47933 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
47935 2010-06-02 Andreas Schwab <schwab@redhat.com>
47937 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
47939 2010-06-14 Ulrich Drepper <drepper@redhat.com>
47941 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
47943 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
47944 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
47945 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
47946 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
47947 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
47948 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
47950 2010-06-14 Roland McGrath <roland@redhat.com>
47952 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
47954 2010-06-07 Jakub Jelinek <jakub@redhat.com>
47956 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
47957 __REDIRECT followed by __THROW.
47958 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
47959 * posix/getopt.h (getopt): Likewise.
47961 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
47963 * hurd/lookup-at.c (__file_name_lookup_at): Accept
47964 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
47965 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
47967 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
47968 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
47970 2010-05-28 Luis Machado <luisgpm@br.ibm.com>
47972 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
47974 2010-05-26 H.J. Lu <hongjiu.lu@intel.com>
47977 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
47978 Properly check family and model.
47980 2010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
47982 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
47984 2010-05-24 Luis Machado <luisgpm@br.ibm.com>
47986 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
47988 2010-05-21 Ulrich Drepper <drepper@redhat.com>
47990 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
47993 2010-05-19 Andreas Schwab <schwab@redhat.com>
47995 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
47998 2010-05-21 Andreas Schwab <schwab@redhat.com>
48000 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
48001 and internal_recvmmsg.
48002 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
48003 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
48004 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
48005 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
48007 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
48008 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
48009 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
48011 2010-05-20 Andreas Schwab <schwab@redhat.com>
48013 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
48015 2010-05-17 Luis Machado <luisgpm@br.ibm.com>
48017 POWER7 optimizations.
48018 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
48019 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
48021 2010-05-19 Ulrich Drepper <drepper@redhat.com>
48023 * version.h: Update for 2.13 development version.
48025 2010-05-12 Andrew Stubbs <ams@codesourcery.com>
48027 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
48028 exceptions. Return 0.
48030 2010-05-07 Roland McGrath <roland@redhat.com>
48032 * elf/ldconfig.c (main): Add a const.
48034 2010-05-06 Ulrich Drepper <drepper@redhat.com>
48036 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
48037 (args_options): Add no-idn option.
48038 (ahosts_keys_int): Add idn_flags to ai_flags.
48039 (parse_option): Handle 'i' option to clear idn_flags.
48041 * malloc/malloc.c (_int_free): Possible race in the most recently
48042 added check. Only act on the data if no current modification
48045 See ChangeLog.17 for earlier changes.