1 2014-06-26 Roland McGrath <roland@hack.frob.com>
3 * sysdeps/arm/fesetenv.c: Include <fpu_control.h>.
4 * sysdeps/arm/feupdateenv.c: Likewise.
6 * posix/spawn_faction_addopen.c: Include <stdlib.h> for free decl.
8 2014-06-26 Joseph Myers <joseph@codesourcery.com>
10 * manual/texinfo.tex: Update to version 2014-05-05.10 with
11 trailing whitespace removed.
12 * scripts/config.guess: Update to version 2014-03-23.
13 * scripts/config.sub: Update to version 2014-05-01
14 * scripts/install-sh: Update to version 2013-12-25.23.
15 * scripts/move-if-change: Update from gnulib.
17 2014-06-26 Siddhesh Poyarekar <siddhesh@redhat.com>
19 * debug/memmove_chk.c: Remove pagecopy.h include.
21 2014-06-26 Paul Eggert <eggert@cs.ucla.edu>
23 * time/mktime.c (leapyear): Remove inline keyword. The code is now
24 identical to gnulib mktime.
26 2014-06-26 Joseph Myers <joseph@codesourcery.com>
28 * configure.ac: Do not test for machine being rs6000. Do not test
30 * configure: Regenerated.
32 * configure.ac (libc_cv_asm_cfi_directives): Remove configure
34 * configure: Regenerated.
35 * config.h.in (HAVE_ASM_CFI_DIRECTIVES): Remove macro undefine.
36 * sysdeps/arm/configure.ac (libc_cv_asm_cfi_directive_sections):
37 Remove configure test.
38 * sysdeps/arm/configure: Regenerated.
39 * sysdeps/nptl/configure.ac: Do not check
40 libc_cv_asm_cfi_directives.
41 * sysdeps/nptl/configure: Regenerated.
42 * sysdeps/x86_64/nptl/configure.ac: Remove file.
43 * sysdeps/x86_64/nptl/configure: Remove generated file.
44 * b/sysdeps/generic/sysdep.h [HAVE_ASM_CFI_DIRECTIVES]: Make code
46 [!HAVE_ASM_CFI_DIRECTIVES]: Remove conditional code.
48 2014-06-26 Siddhesh Poyarekar <siddhesh@redhat.com>
50 * posix/fnmatch.c: Define WIDE_CHAR_VERSION.
51 * posix/fnmatch_loop.c: Undefine WIDE_CHAR_VERSION.
52 (FCT): Check value of WIDE_CHAR_VERSION instead of checking if
55 * elf/dl-runtime.c: Check for value of ELF_MACHINE_NO_RELA
56 instead of whether it is defined.
57 * sysdeps/aarch64/dl-machine.h: Define ELF_MACHINE_NO_RELA.
58 * sysdeps/hppa/dl-machine.h: Likewise.
59 * sysdeps/ia64/dl-machine.h: Likewise.
60 * sysdeps/m68k/dl-machine.h: Likewise.
61 * sysdeps/microblaze/dl-machine.h: Likewise.
62 * sysdeps/mips/dl-machine.: Likewise.
63 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
64 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
65 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
66 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
67 * sysdeps/sh/dl-machine.h: Likewise.
68 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
69 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
70 * sysdeps/tile/dl-machine.h: Likewise.
71 * sysdeps/x86_64/dl-machine.h: Likewise.
73 * nscd/connections.c (enum usekey) [SEPARATE_KEY]: Remove
75 (verify_persistent_db): Likewise.
77 2014-06-26 Roland McGrath <roland@hack.frob.com>
79 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data: Moved ...
80 * sysdeps/unix/sysv/linux/s390/s390-32/c++-types.data: ... here.
81 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Moved ...
82 * sysdeps/unix/sysv/linux/s390/s390-32/ld.abilist: ... here.
83 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
85 * sysdeps/unix/sysv/linux/s390/s390-32/libBrokenLocale.abilist:
87 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: Moved ...
88 * sysdeps/unix/sysv/linux/s390/libanl.abilist: ... here.
89 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist:
90 Identical file removed.
91 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Moved ...
92 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: ... here.
93 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: Moved ...
94 * sysdeps/unix/sysv/linux/s390/s390-32/libcrypt.abilist: ... here.
95 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: Moved ...
96 * sysdeps/unix/sysv/linux/s390/s390-32/libdl.abilist: ... here.
97 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Moved ...
98 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: ... here.
99 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: Moved ...
100 * sysdeps/unix/sysv/linux/s390/s390-32/libnsl.abilist: ... here.
101 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
103 * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist: ... here.
104 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: Moved ...
105 * sysdeps/unix/sysv/linux/s390/s390-32/libresolv.abilist: ... here.
106 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Moved ...
107 * sysdeps/unix/sysv/linux/s390/s390-32/librt.abilist: ... here.
108 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
110 * sysdeps/unix/sysv/linux/s390/s390-32/libthread_db.abilist: ... here.
111 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Moved ...
112 * sysdeps/unix/sysv/linux/s390/s390-32/libutil.abilist: ... here.
113 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data: Moved ...
114 * sysdeps/unix/sysv/linux/s390/localplt.data: ... here.
115 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
116 Identical file removed.
117 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data: Moved ...
118 * sysdeps/unix/sysv/linux/s390/s390-64/c++-types.data: ... here.
119 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Moved ...
120 * sysdeps/unix/sysv/linux/s390/s390-64/ld.abilist: ... here.
121 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
123 * sysdeps/unix/sysv/linux/s390/s390-64/libBrokenLocale.abilist:
125 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Moved ...
126 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: ... here.
127 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: Moved ...
128 * sysdeps/unix/sysv/linux/s390/s390-64/libcrypt.abilist: ... here.
129 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: Moved ...
130 * sysdeps/unix/sysv/linux/s390/s390-64/libdl.abilist: ... here.
131 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Moved ...
132 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: ... here.
133 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: Moved ...
134 * sysdeps/unix/sysv/linux/s390/s390-64/libnsl.abilist: ... here.
135 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
137 * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist: ... here.
138 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist:
140 * sysdeps/unix/sysv/linux/s390/s390-64/libresolv.abilist: ... here.
141 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: Moved ...
142 * sysdeps/unix/sysv/linux/s390/s390-64/librt.abilist: ... here.
143 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
145 * sysdeps/unix/sysv/linux/s390/s390-64/libthread_db.abilist: ... here.
146 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: Moved ...
147 * sysdeps/unix/sysv/linux/s390/s390-64/libutil.abilist: ... here.
149 * nptl/sysdeps/unix/sysv/linux/s390/Makefile: File removed, contents
151 * sysdeps/unix/sysv/linux/s390/Makefile [$(subdir) = nptl]: ... here.
152 * sysdeps/unix/sysv/linux/s390/Versions
153 (libpthread: GLIBC_2.19): New version set.
154 * nptl/sysdeps/unix/sysv/linux/s390/Versions: File removed.
155 * sysdeps/unix/sysv/linux/s390/s390-64/Versions
156 (librt: GLIBC_2.3.3): New version set.
157 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/Versions: File removed.
158 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: Moved ...
159 * sysdeps/unix/sysv/linux/s390/elision-conf.c: ... here.
160 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Moved ...
161 * sysdeps/unix/sysv/linux/s390/elision-conf.h: ... here.
162 * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Moved ...
163 * sysdeps/unix/sysv/linux/s390/elision-lock.c: ... here.
164 * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Moved ...
165 * sysdeps/unix/sysv/linux/s390/elision-timed.c: ... here.
166 * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Moved ...
167 * sysdeps/unix/sysv/linux/s390/elision-trylock.c: ... here.
168 * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Moved ...
169 * sysdeps/unix/sysv/linux/s390/elision-unlock.c: ... here.
170 * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Moved ...
171 * sysdeps/unix/sysv/linux/s390/force-elision.h: ... here.
172 * nptl/sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Moved ...
173 * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: ... here.
174 * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h: Moved ...
175 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: ... here.
176 * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: Moved ...
177 * sysdeps/unix/sysv/linux/s390/pt-longjmp.c: ... here.
178 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: Moved ...
179 * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: ... here.
180 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: Moved ...
181 * sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: ... here.
182 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: Moved ...
183 * sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: ... here.
184 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: Moved ...
185 * sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: ... here.
186 * nptl/sysdeps/unix/sysv/linux/s390/pthread_once.c: Moved ...
187 * sysdeps/unix/sysv/linux/s390/pthread_once.c: ... here.
188 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Moved ...
189 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: ... here.
190 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Moved ...
191 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: ... here.
192 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Moved ...
193 * sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: ... here.
194 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Moved ...
195 * sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: ... here.
196 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Moved ...
197 * sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: ... here.
198 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Moved ...
199 * sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: ... here.
200 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Moved ...
201 * sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: ... here.
203 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Moved ...
204 * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: ... here.
205 (__libc_vfork): Define the function under this name.
206 [!NOT_IN_libc] (__vfork): Make this an alias.
207 [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
208 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Moved ...
209 * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: ... here.
210 (__libc_vfork): Define the function under this name.
211 [!NOT_IN_libc] (__vfork): Make this an alias.
212 [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
213 * sysdeps/unix/sysv/linux/s390/pt-vfork.S: New file.
214 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: File removed.
215 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: File removed.
216 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Remove vfork.
217 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
219 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Deconditionalize the
220 code that was previously under [RESET_PID].
221 * sysdeps/unix/sysv/linux/s390/s390-64/clone.S: Likewise.
222 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/clone.S: File removed.
223 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/clone.S: File removed.
225 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h: Moved ...
226 * sysdeps/aarch64/nptl/bits/pthreadtypes.h: ... here.
227 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/semaphore.h: Moved ...
228 * sysdeps/aarch64/nptl/bits/semaphore.h: ... here.
229 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/local_lim.h: Moved ...
230 * sysdeps/unix/sysv/linux/aarch64/bits/local_lim.h: ... here.
231 * sysdeps/unix/sysv/linux/aarch64/nptl/c++-types.data: Moved ...
232 * sysdeps/unix/sysv/linux/aarch64/c++-types.data: ... here.
233 * sysdeps/unix/sysv/linux/aarch64/nptl/ld.abilist: Moved ...
234 * sysdeps/unix/sysv/linux/aarch64/ld.abilist: ... here.
235 * sysdeps/unix/sysv/linux/aarch64/nptl/libBrokenLocale.abilist:
237 * sysdeps/unix/sysv/linux/aarch64/libBrokenLocale.abilist: ... here.
238 * sysdeps/unix/sysv/linux/aarch64/nptl/libanl.abilist: Moved ...
239 * sysdeps/unix/sysv/linux/aarch64/libanl.abilist: ... here.
240 * sysdeps/unix/sysv/linux/aarch64/nptl/libc.abilist: Moved ...
241 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: ... here.
242 * sysdeps/unix/sysv/linux/aarch64/nptl/libcrypt.abilist: Moved ...
243 * sysdeps/unix/sysv/linux/aarch64/libcrypt.abilist: ... here.
244 * sysdeps/unix/sysv/linux/aarch64/nptl/libdl.abilist: Moved ...
245 * sysdeps/unix/sysv/linux/aarch64/libdl.abilist: ... here.
246 * sysdeps/unix/sysv/linux/aarch64/nptl/libm.abilist: Moved ...
247 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: ... here.
248 * sysdeps/unix/sysv/linux/aarch64/nptl/libnsl.abilist: Moved ...
249 * sysdeps/unix/sysv/linux/aarch64/libnsl.abilist: ... here.
250 * sysdeps/unix/sysv/linux/aarch64/nptl/libpthread.abilist: Moved ...
251 * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist: ... here.
252 * sysdeps/unix/sysv/linux/aarch64/nptl/libresolv.abilist: Moved ...
253 * sysdeps/unix/sysv/linux/aarch64/libresolv.abilist: ... here.
254 * sysdeps/unix/sysv/linux/aarch64/nptl/librt.abilist: Moved ...
255 * sysdeps/unix/sysv/linux/aarch64/librt.abilist: ... here.
256 * sysdeps/unix/sysv/linux/aarch64/nptl/libthread_db.abilist: Moved ...
257 * sysdeps/unix/sysv/linux/aarch64/libthread_db.abilist: ... here.
258 * sysdeps/unix/sysv/linux/aarch64/nptl/libutil.abilist: Moved ...
259 * sysdeps/unix/sysv/linux/aarch64/libutil.abilist: ... here.
260 * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data: Moved ...
261 * sysdeps/unix/sysv/linux/aarch64/localplt.data: ... here.
262 * sysdeps/unix/sysv/linux/aarch64/nptl/lowlevellock.h: Moved ...
263 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: ... here.
264 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Moved ...
265 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: ... here.
267 2014-06-25 Roland McGrath <roland@hack.frob.com>
269 * sysdeps/unix/sysv/linux/mips/clone.S: Deconditionalize the code
270 that was previously under [RESET_PID].
271 * sysdeps/unix/sysv/linux/mips/nptl/clone.S: File removed.
273 2014-06-25 Joseph Myers <joseph@codesourcery.com>
275 * sysdeps/unix/sysv/linux/dl-opendir.c (__ASSUME_O_CLOEXEC): Do
276 not undefine and redefine.
277 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs)
278 [O_CLOEXEC]: Make code unconditional.
279 (__get_nprocs) [!O_CLOEXEC]: Remove conditional code.
280 * sysdeps/unix/sysv/linux/shm_open.c: Do not include
282 [O_CLOEXEC && !__ASSUME_O_CLOEXEC] (have_o_cloexec): Remove
283 conditional variable definition.
284 (shm_open) [O_CLOEXEC]: Make code unconditional.
285 (shm_open) [!O_CLOEXEC || !__ASSUME_O_CLOEXEC]: Remove conditional
288 * configure.ac (USE_REGPARMS): Don't define here.
289 * configure: Regenerated.
290 * sysdeps/i386/configure.ac (USE_REGPARMS): Define here.
291 * sysdeps/i386/configure: Regenerated.
293 * nptl/createthread.c: Don't include kernel-features.h.
294 * nptl/pthread_cancel.c: Likewise.
295 * nptl/pthread_condattr_setclock.c: Likewise.
296 * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Likewise.
297 * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Likewise.
298 * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Likewise.
299 * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Likewise.
300 * nptl/sysdeps/unix/sysv/linux/raise.c: Likewise.
301 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: Likewise.
302 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
303 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: Likewise.
304 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
305 * nptl/sysdeps/unix/sysv/linux/timer_create.c: Likewise.
306 * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Likewise.
307 * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Likewise.
308 * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Likewise.
309 * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Likewise.
310 * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Likewise.
311 * nscd/gai.c: Likewise.
312 * nss/nss_db/db-open.c: Likewise.
313 * sysdeps/generic/ldsodefs.h: Likewise.
314 * sysdeps/sh/nptl/tls.h: Likewise.
315 * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
316 * sysdeps/unix/sysv/linux/aarch64/sigcontextinfo.h: Likewise.
317 * sysdeps/unix/sysv/linux/aarch64/vfork.S: Likewise.
318 * sysdeps/unix/sysv/linux/adjtime.c: Likewise.
319 * sysdeps/unix/sysv/linux/alpha/xstatconv.h: Likewise.
320 * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
321 * sysdeps/unix/sysv/linux/arm/sigcontextinfo.h: Likewise.
322 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
323 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
324 * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
325 * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
326 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
327 * sysdeps/unix/sysv/linux/clock_settime.c: Likewise.
328 * sysdeps/unix/sysv/linux/dl-execstack.c: Likewise.
329 * sysdeps/unix/sysv/linux/dl-osinfo.h: Likewise.
330 * sysdeps/unix/sysv/linux/dl-sysdep.c: Likewise.
331 * sysdeps/unix/sysv/linux/generic/futimesat.c: Likewise.
332 * sysdeps/unix/sysv/linux/generic/poll.c: Likewise.
333 * sysdeps/unix/sysv/linux/generic/wordsize-32/fcntl.c: Likewise.
334 * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat.c: Likewise.
335 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c: Likewise.
336 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c: Likewise.
337 * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c: Likewise.
338 * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c: Likewise.
339 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c: Likewise.
340 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c: Likewise.
341 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c: Likewise.
342 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev64.c: Likewise.
343 * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
344 * sysdeps/unix/sysv/linux/getpagesize.c: Likewise.
345 * sysdeps/unix/sysv/linux/getsysstats.c: Likewise.
346 * sysdeps/unix/sysv/linux/i386/fxstat.c: Likewise.
347 * sysdeps/unix/sysv/linux/i386/lxstat.c: Likewise.
348 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
349 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
350 * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
351 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
352 * sysdeps/unix/sysv/linux/i386/xstat.c: Likewise.
353 * sysdeps/unix/sysv/linux/ia64/system.c: Likewise.
354 * sysdeps/unix/sysv/linux/if_index.c: Likewise.
355 * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
356 * sysdeps/unix/sysv/linux/ifreq.c: Likewise.
357 * sysdeps/unix/sysv/linux/ldsodefs.h: Likewise.
358 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
359 * sysdeps/unix/sysv/linux/m68k/vfork.S: Likewise.
360 * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Likewise.
361 * sysdeps/unix/sysv/linux/mips/mips32/accept4.c: Likewise.
362 * sysdeps/unix/sysv/linux/mips/mips32/recvmmsg.c: Likewise.
363 * sysdeps/unix/sysv/linux/mips/mips32/sendmmsg.c: Likewise.
364 * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
365 * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
366 * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
367 * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
368 * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
369 * sysdeps/unix/sysv/linux/mmap64.c: Likewise.
370 * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
371 * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
372 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c: Likewise.
373 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
374 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c: Likewise.
375 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c: Likewise.
376 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Likewise.
377 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Likewise.
378 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Likewise.
379 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Likewise.
380 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Likewise.
381 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
382 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
383 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Likewise.
384 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c: Likewise.
385 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c: Likewise.
386 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S: Likewise.
387 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
388 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
389 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
390 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
391 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
392 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S: Likewise.
393 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S: Likewise.
394 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Likewise.
395 * sysdeps/unix/sysv/linux/pread.c: Likewise.
396 * sysdeps/unix/sysv/linux/pread64.c: Likewise.
397 * sysdeps/unix/sysv/linux/prof-freq.c: Likewise.
398 * sysdeps/unix/sysv/linux/pwrite.c: Likewise.
399 * sysdeps/unix/sysv/linux/pwrite64.c: Likewise.
400 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S: Likewise.
401 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S: Likewise.
402 * sysdeps/unix/sysv/linux/s390/system.c: Likewise.
403 * sysdeps/unix/sysv/linux/sh/pread.c: Likewise.
404 * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
405 * sysdeps/unix/sysv/linux/sh/pwrite.c: Likewise.
406 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.
407 * sysdeps/unix/sysv/linux/sigaction.c: Likewise.
408 * sysdeps/unix/sysv/linux/sigpending.c: Likewise.
409 * sysdeps/unix/sysv/linux/sigprocmask.c: Likewise.
410 * sysdeps/unix/sysv/linux/sigsuspend.c: Likewise.
411 * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
412 * sysdeps/unix/sysv/linux/sparc/system.c: Likewise.
413 * sysdeps/unix/sysv/linux/syslog.c: Likewise.
414 * sysdeps/unix/sysv/linux/system.c: Likewise.
415 * sysdeps/unix/sysv/linux/testrtsig.h: Likewise.
416 * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
417 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
418 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
419 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
420 * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
421 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
423 * configure.ac (libc_cv_c_asmcr0_bug): Remove configure test.
424 * configure: Regenerated.
425 * config.h.in (BROKEN_PPC_ASM_CR0): Remove macro.
427 * configure.ac (base_machine): Do not set specially for particular
429 * configure: Regenerated.
430 * sysdeps/powerpc/preconfigure: Move machine and base_machine
431 settings from configure.ac.
432 * sysdeps/i386/preconfigure: New file.
433 * sysdeps/s390/preconfigure: Likewise.
434 * sysdeps/sh/preconfigure: Likewise.
435 * sysdeps/sparc/preconfigure: Likewise.
437 2014-06-25 Roland McGrath <roland@hack.frob.com>
439 * sysdeps/sparc/sparc64/nptl/cpu_relax.S: Moved ...
440 * sysdeps/sparc/sparc64/cpu_relax.S: ... here.
441 * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: Moved ...
442 * sysdeps/sparc/sparc64/pthread_spin_init.c: ... here.
443 * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: Moved ...
444 * sysdeps/sparc/sparc64/pthread_spin_lock.S: ... here.
445 * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: Moved ...
446 * sysdeps/sparc/sparc64/pthread_spin_trylock.S: ... here.
447 * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: Moved ...
448 * sysdeps/sparc/sparc64/pthread_spin_unlock.S: ... here.
449 * sysdeps/sparc/sparc64/nptl/pthreaddef.h: Moved ...
450 * sysdeps/sparc/sparc64/pthreaddef.h: ... here.
451 * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: Update #include.
452 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Likewise.
453 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Likewise.
454 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Likewise.
455 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Likewise.
456 * sysdeps/sparc/sparc64/nptl/Makefile: File removed, its contents ...
457 * sysdeps/sparc/sparc64/Makefile: ... appended here.
459 * sysdeps/sparc/sparc32/nptl/lowlevellock.c: Moved ...
460 * sysdeps/sparc/sparc32/lowlevellock.c: ... here.
461 * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Moved ...
462 * sysdeps/sparc/sparc32/pthread_barrier_wait.c: ... here.
463 * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: Moved ...
464 * sysdeps/sparc/sparc32/pthread_spin_lock.S: ... here.
465 * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: Moved ...
466 * sysdeps/sparc/sparc32/pthread_spin_trylock.S: ... here.
467 * sysdeps/sparc/sparc32/nptl/pthreaddef.h: Moved ...
468 * sysdeps/sparc/sparc32/pthreaddef.h: ... here.
469 * sysdeps/sparc/sparc32/nptl/sem_post.c: Moved ...
470 * sysdeps/sparc/sparc32/sem_post.c: ... here.
471 * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Moved ...
472 * sysdeps/sparc/sparc32/sem_timedwait.c: ... here.
473 * sysdeps/sparc/sparc32/nptl/sem_trywait.c: Moved ...
474 * sysdeps/sparc/sparc32/sem_trywait.c: ... here.
475 * sysdeps/sparc/sparc32/nptl/sem_wait.c: Moved ...
476 * sysdeps/sparc/sparc32/sem_wait.c: ... here.
477 * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: Moved ...
478 * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: ... here.
479 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: Moved ...
480 * sysdeps/sparc/sparc32/sparcv9/pthread_barrier_wait.c: ... here.
481 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: Moved ...
482 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: ... here.
483 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: Moved ...
484 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: ... here.
485 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: Moved ...
486 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: ... here.
487 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Moved ...
488 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: ... here.
489 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: Moved ...
490 * sysdeps/sparc/sparc32/sparcv9/sem_post.c: ... here.
491 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: Moved ...
492 * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: ... here.
493 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: Moved ...
494 * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: ... here.
495 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: Moved ...
496 * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: ... here.
498 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data: Moved ...
499 * sysdeps/unix/sysv/linux/sparc/sparc32/c++-types.data: ... here.
500 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: Moved ...
501 * sysdeps/unix/sysv/linux/sparc/sparc32/ld.abilist: ... here.
502 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
504 * sysdeps/unix/sysv/linux/sparc/sparc32/libBrokenLocale.abilist:
506 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: Moved ...
507 * sysdeps/unix/sysv/linux/sparc/sparc32/libanl.abilist: ... here.
508 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Moved ...
509 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: ... here.
510 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist:
512 * sysdeps/unix/sysv/linux/sparc/sparc32/libcrypt.abilist: ... here.
513 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: Moved ...
514 * sysdeps/unix/sysv/linux/sparc/sparc32/libdl.abilist: ... here.
515 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: Moved ...
516 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: ... here.
517 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: Moved ...
518 * sysdeps/unix/sysv/linux/sparc/sparc32/libnsl.abilist: ... here.
519 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
521 * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist: ... here.
522 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
524 * sysdeps/unix/sysv/linux/sparc/sparc32/libresolv.abilist: ... here.
525 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: Moved ...
526 * sysdeps/unix/sysv/linux/sparc/sparc32/librt.abilist: ... here.
527 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
529 * sysdeps/unix/sysv/linux/sparc/sparc32/libthread_db.abilist: ... here.
530 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: Moved ...
531 * sysdeps/unix/sysv/linux/sparc/sparc32/libutil.abilist: ... here.
532 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data: Moved ...
533 * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: ... here.
534 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data: Moved ...
535 * sysdeps/unix/sysv/linux/sparc/sparc64/c++-types.data: ... here.
536 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: Moved ...
537 * sysdeps/unix/sysv/linux/sparc/sparc64/ld.abilist: ... here.
538 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
540 * sysdeps/unix/sysv/linux/sparc/sparc64/libBrokenLocale.abilist:
542 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: Moved ...
543 * sysdeps/unix/sysv/linux/sparc/sparc64/libanl.abilist: ... here.
544 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Moved ...
545 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: ... here.
546 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist:
548 * sysdeps/unix/sysv/linux/sparc/sparc64/libcrypt.abilist: ... here.
549 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: Moved ...
550 * sysdeps/unix/sysv/linux/sparc/sparc64/libdl.abilist: ... here.
551 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: Moved ...
552 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: ... here.
553 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: Moved ...
554 * sysdeps/unix/sysv/linux/sparc/sparc64/libnsl.abilist: ... here.
555 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
557 * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist: ... here.
558 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
560 * sysdeps/unix/sysv/linux/sparc/sparc64/libresolv.abilist: ... here.
561 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: Moved ...
562 * sysdeps/unix/sysv/linux/sparc/sparc64/librt.abilist: ... here.
563 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
565 * sysdeps/unix/sysv/linux/sparc/sparc64/libthread_db.abilist: ... here.
566 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: Moved ...
567 * sysdeps/unix/sysv/linux/sparc/sparc64/libutil.abilist: ... here.
568 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data: Moved ...
569 * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: ... here.
571 2014-06-25 Joseph Myers <joseph@codesourcery.com>
573 * timezone/checktab.awk: Update from tzcode 2014e.
574 * timezone/private.h: Likewise.
575 * timezone/tzfile.h: Likewise.
576 * timezone/zdump.c: Likewise.
577 * timezone/zic.c: Likewise.
579 * sysdeps/unix/sysv/linux/kernel-features.h
580 (__ASSUME_XFS_RESTRICTED_CHOWN): Remove macro.
581 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_chown_restricted)
582 [__ASSUME_XFS_RESTRICTED_CHOWN]: Make code unconditional.
583 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
584 Remove conditional code.
586 2014-06-25 Will Newton <will.newton@linaro.org>
588 * sysdeps/unix/sysv/linux/arm/dl-procinfo.c
589 (_dl_arm_cap_flags): Add HWCAP2 values.
590 * sysdeps/unix/sysv/linux/arm/dl-procinfo.h
591 (_DL_HWCAP_COUNT): Increase to 37.
592 (_DL_HWCAP_LAST): New define.
593 (_DL_HWCAP2_LAST): New define.
594 (_dl_procinfo): Add support for printing
596 (_dl_string_hwcap): Use _dl_hwcap_string.
598 2014-06-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
600 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
602 2014-06-25 Joseph Myers <joseph@codesourcery.com>
604 * README: Do not mention ports directory.
606 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMENSAT):
608 * sysdeps/unix/sysv/linux/futimes.c: Do not include
610 [__NR_utimensat && !__ASSUME_UTIMENSAT] (miss_utimensat): Remove
611 conditional variable definition.
612 (__futimes): Update comment.
613 (__futimes) [__ASSUME_UTIMENSAT]: Make code unconditional.
614 (__futimes) [!__ASSUME_UTIMENSAT]: Remove conditional code.
617 * sysdeps/ieee754/dbl-64/e_exp10.c (__ieee754_exp10): Return 1 for
618 arguments close to 0.
619 * sysdeps/ieee754/ldbl-128/e_exp10l.c (__ieee754_exp10l):
621 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c (__ieee754_exp10l):
623 * math/auto-libm-test-in: Add more tests of exp10.
624 * math/auto-libm-test-out: Regenerated.
625 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
627 * sysdeps/unix/sysv/linux/kernel-features.h
628 (__ASSUME_COMPLETE_READV_WRITEV): Remove macro.
629 * sysdeps/unix/sysv/linux/readv.c: Do not include
631 [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
632 [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
633 (__libc_readv) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
635 (__libc_readv) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
637 * sysdeps/unix/sysv/linux/writev.c: Do not include
639 [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
640 [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
641 (__libc_writev) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
643 (__libc_writev) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
646 2014-06-25 Will Newton <will.newton@linaro.org>
648 * sysdeps/posix/tempname.c: Merge from gnulib, cosmetic
649 comment changes throughout the file. Remove checks
650 for HAVE_*_H definitions that are not required.
651 (__gen_tempname): Call abort if an unknown kind value is
654 2014-06-25 Andreas Schwab <schwab@suse.de>
657 * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Add compat symbols for
658 scalbln, scalblnf, scalblnl in libc.
660 2014-06-25 Siddhesh Poyarekar <siddhesh@redhat.com>
663 * sysdeps/i386/fpu/s_scalbn.S: Add compat symbol for libc.so.
664 * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
665 * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
667 2014-06-24 Roland McGrath <roland@hack.frob.com>
669 * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: Moved ...
670 * sysdeps/i386/i486/pthread_spin_trylock.S: ... here.
671 * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: Moved ...
672 * sysdeps/i386/i586/pthread_spin_trylock.S: ... here.
674 * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: Moved ...
675 * sysdeps/i386/i686/pthread_spin_trylock.S: ... here.
677 * sysdeps/x86_64/64/nptl/shlib-versions: Moved ...
678 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: ... here.
679 * sysdeps/x86_64/x32/nptl/shlib-versions: Moved ...
680 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: ... here.
681 * sysdeps/x86/nptl/bits/pthreadtypes.h: Moved ...
682 * sysdeps/x86/bits/pthreadtypes.h: ... here.
683 * sysdeps/x86/nptl/bits/semaphore.h: Moved ...
684 * sysdeps/x86/bits/semaphore.h: ... here.
685 * sysdeps/x86/nptl/elide.h: Moved ...
686 * sysdeps/x86/elide.h: ... here.
687 * sysdeps/x86_64/nptl/Implies: File removed.
688 * sysdeps/i386/nptl/Implies: File removed.
690 2014-06-24 Joseph Myers <joseph@codesourcery.com>
693 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Just
694 return the argument for normal arguments with exponent below -64.
695 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
697 * math/auto-libm-test-in: Add another test of expm1.
698 * math/auto-libm-test-out: Regenerated.
701 * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfl): Return 1 without
702 calling __erfcl for arguments at least 16.
703 * math/auto-libm-test-in: Add more tests of erf.
704 * math/auto-libm-test-out: Regenerated.
706 * sysdeps/unix/sysv/linux/configure.ac: Remove cases for
707 individual architectures.
708 * sysdeps/unix/sysv/linux/configure: Regenerated.
709 * sysdeps/unix/sysv/linux/i386/configure.ac: New file.
710 * sysdeps/unix/sysv/linux/i386/configure: New generated file.
711 * sysdeps/unix/sysv/linux/powerpc/configure.ac
712 (ldd_rewrite_script): Define variable.
713 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
714 * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure.ac: New
716 * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure: New
718 * sysdeps/unix/sysv/linux/s390/configure.ac: New file.
719 * sysdeps/unix/sysv/linux/s390/configure: New generated file.
720 * sysdeps/unix/sysv/linux/sh/configure.ac: New file.
721 * sysdeps/unix/sysv/linux/sh/configure: New generated file.
722 * sysdeps/unix/sysv/linux/sparc/configure.ac: New file.
723 * sysdeps/unix/sysv/linux/sparc/configure: New generated file.
724 * sysdeps/unix/sysv/linux/x86_64/configure.ac: New file.
725 * sysdeps/unix/sysv/linux/x86_64/configure: New generated file.
727 2014-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
730 * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_mutex_t):
731 Rename member __data.d to __data.__elision_data.
733 2014-06-24 Wilco <wdijkstr@arm.com>
735 * NEWS: Add 16918 to fixed bug list.
737 2014-06-24 Wilco <wdijkstr@arm.com>
739 * sysdeps/arm/fesetenv.c (fesetenv): Optimize implementation.
741 2014-06-24 Wilco <wdijkstr@arm.com>
743 * sysdeps/arm/fpu_control.h (_FPU_MASK_RM): Define.
744 * sysdeps/arm/fenv_private.h (libc_fesetround_vfp)
745 (libc_feholdexcept_setround_vfp) (libc_feholdsetround_vfp)
746 (libc_feresetround_vfp) (libc_feholdsetround_vfp_ctx)
747 (libc_feresetround_vfp_ctx): Use _FPU_MASK_RM.
748 * sysdeps/arm/fesetround.c (fesetround): Use _FPU_MASK_RM.
749 * sysdeps/arm/get-rounding-mode.h (get_rounding_mode):
752 2014-06-24 Wilco <wdijkstr@arm.com>
754 * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Remove unused include.
756 2014-06-24 Wilco <wdijkstr@arm.com>
758 * sysdeps/arm/feholdexcpt.c (feholdexcept): Remove space.
759 * sysdeps/arm/fesetenv.c (fesetenv): Remove space.
760 * sysdeps/arm/fesetround.c (fesetround): Remove space.
761 * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Remove space.
763 2014-06-24 Wilco <wdijkstr@arm.com>
766 * sysdeps/arm/feupdateenv.c (feupdateenv):
767 Rewrite to reduce FPSCR accesses and fix return value.
769 2014-06-24 Wilco <wdijkstr@arm.com>
771 * sysdeps/arm/fclrexcpt.c (feclearexcept):
772 Optimize to avoid unnecessary FPSCR writes.
773 * sysdeps/arm/fedisblxcpt.c (fedisableexcept): Likewise.
774 * sysdeps/arm/feenablxcpt.c (feenableexcept): Likewise.
775 * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Likewise.
776 * sysdeps/arm/setfpucw.c (__setfpucw): Likewise.
778 2014-06-24 Wilco <wdijkstr@arm.com>
780 * sysdeps/arm/fegetround.c (fegetround): Call get_rounding_mode.
781 * sysdeps/arm/feholdexcpt.c (feholdexcept): Call libc_feholdexcept_vfp.
782 * sysdeps/arm/fesetround.c (fesetround): Call libc_fesetround_vfp.
783 * sysdeps/arm/fgetexcptflg.c (fegetexceptflag):
784 Call libc_fetestexcept_vfp.
785 * sysdeps/arm/ftestexcept.c (fetestexcept): Call libc_fetestexcept_vfp.
786 * sysdeps/arm/fenv_private.h: Move libc_*_vfp functions outside of
787 __SOFTFP__ ifdef so that they can be built for softfp.
789 2014-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
791 * sysdeps/x86/nptl/elide.h (elision_adapt): Make first
792 argument type signed char.
794 * Makerules (check-abi): Dump diff of symlist if the test
797 2014-06-23 Roland McGrath <roland@hack.frob.com>
799 * sysdeps/generic/get-rounding-mode.h: Include <stdlib.h> before
802 * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
803 Remove unused variable ST.
805 2014-06-23 Joseph Myers <joseph@codesourcery.com>
809 * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Check for
810 small arguments before calling __expm1.
811 * sysdeps/ieee754/flt-32/e_coshf.c (__ieee754_coshf): Check for
812 small arguments before calling __expm1f.
813 * sysdeps/ieee754/ldbl-128/e_coshl.c (__ieee754_coshl): Check for
814 small arguments before calling __expm1l.
815 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
817 * sysdeps/ieee754/ldbl-96/e_coshl.c (__ieee754_coshl): Likewise.
818 * math/auto-libm-test-in: Add more cosh tests. Do not allow
819 spurious underflow for some cosh tests.
820 * math/auto-libm-test-out: Regenerated.
821 * sysdeps/i386/fpu/libm-test-ulps: Update.
824 * sysdeps/ieee754/dbl-64/e_j1.c: Include <errno.h>.
825 (__ieee754_y1): Set errno if return value overflows.
826 * sysdeps/ieee754/flt-32/e_j1f.c: Include <errno.h>.
827 (__ieee754_y1f): Set errno if return value overflows.
828 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <errno.h>.
829 (__ieee754_y1l): Set errno if return value overflows.
830 * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <errno.h>.
831 (__ieee754_y1l): Set errno if return value overflows.
832 * math/auto-libm-test-in: Add more tests of y0, y1 and yn.
833 * math/auto-libm-test-out: Regenerated.
835 * math/gen-auto-libm-tests.c: Document use of
836 ignore-zero-inf-sign.
837 (input_flag_type): Add value flag_ignore_zero_inf_sign.
838 (input_flags): Add ignore-zero-inf-sign.
839 (output_for_one_input_case): Handle flag_ignore_zero_inf_sign.
840 * math/gen-libm-test.pl (generate_testfile): Handle
841 ignore-zero-inf-sign.
842 * math/auto-libm-test-in: Mark some cpow tests with
843 ignore-zero-inf-sign and some with xfail-rounding.
844 * math/auto-libm-test-out: Regenerated.
845 * math/libm-test.inc (cpow_test): Use ALL_RM_TEST.
846 * sysdeps/i386/fpu/libm-test-ulps: Update.
847 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
850 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Ensure possibly
851 overflowing or underflowing operations take place with sign of
853 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
854 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
855 * sysdeps/ieee754/dbl-64/e_pow.c: Include <math.h>.
856 (__ieee754_pow): Recompute overflowing and underflowing results in
857 original rounding mode.
858 * sysdeps/x86/fpu/powl_helper.c: Include <stdbool.h>.
859 (__powl_helper): Allow negative argument X and scale negated value
860 as needed. Avoid passing value outside [-1, 1] to f2xm1.
861 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Ensure possibly
862 overflowing or underflowing operations take place with sign of
864 * sysdeps/x86_64/fpu/multiarch/e_pow.c [HAVE_FMA4_SUPPORT]:
866 * math/auto-libm-test-in: Add more tests of pow.
867 * math/auto-libm-test-out: Regenerated.
868 * math/libm-test.inc (pow_test): Use ALL_RM_TEST.
869 (pow_tonearest_test_data): Remove.
870 (pow_test_tonearest): Likewise.
871 (pow_towardzero_test_data): Likewise.
872 (pow_test_towardzero): Likewise.
873 (pow_downward_test_data): Likewise.
874 (pow_test_downward): Likewise.
875 (pow_upward_test_data): Likewise.
876 (pow_test_upward): Likewise.
877 (main): Don't call removed functions.
878 * sysdeps/i386/fpu/libm-test-ulps: Update.
879 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
881 2014-06-23 Roland McGrath <roland@hack.frob.com>
883 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/c++-types.data:
885 * sysdeps/unix/sysv/linux/powerpc/powerpc32/c++-types.data: ... here.
886 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
888 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: ... here.
889 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
891 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: ... here.
892 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
894 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data: ... here.
895 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
897 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
899 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libBrokenLocale.abilist:
901 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libanl.abilist:
903 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libcrypt.abilist:
905 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libdl.abilist:
907 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libnsl.abilist:
909 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
911 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libresolv.abilist:
913 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
915 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libthread_db.abilist:
917 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libutil.abilist:
919 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/ld.abilist:
921 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: ... here.
922 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libBrokenLocale.abilist:
924 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libBrokenLocale.abilist:
926 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libanl.abilist:
928 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libanl.abilist: ... here.
929 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libcrypt.abilist:
931 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libcrypt.abilist: ... here.
932 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libdl.abilist:
934 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libdl.abilist: ... here.
935 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libnsl.abilist:
937 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libnsl.abilist: ... here.
938 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libpthread.abilist:
940 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist: ... here.
941 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libresolv.abilist:
943 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libresolv.abilist: ... here.
944 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/librt.abilist:
946 * sysdeps/unix/sysv/linux/powerpc/powerpc32/librt.abilist: ... here.
947 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libthread_db.abilist: Moved ...
948 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libthread_db.abilist:
950 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libutil.abilist:
952 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libutil.abilist: ... here.
953 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
955 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
957 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libm.abilist:
959 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
961 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
963 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
965 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
967 * sysdeps/unix/sysv/linux/powerpc/powerpc64/c++-types.data: ... here.
968 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
970 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: ... here.
971 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: Moved ...
972 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: ... here.
973 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
975 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale-le.abilist:
977 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
979 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale.abilist:
981 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
983 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl-le.abilist: ... here.
984 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
986 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl.abilist: ... here.
987 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
989 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: ... here.
990 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
992 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: ... here.
993 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
995 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt-le.abilist:
997 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
999 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt.abilist: ... here.
1000 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
1002 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl-le.abilist: ... here.
1003 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
1005 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl.abilist: ... here.
1006 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
1008 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: ... here.
1009 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: Moved ...
1010 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: ... here.
1011 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
1013 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl-le.abilist: ... here.
1014 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
1016 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl.abilist: ... here.
1017 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
1019 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread-le.abilist:
1021 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
1023 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread.abilist:
1025 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
1027 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv-le.abilist:
1029 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
1031 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv.abilist: ... here.
1032 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
1034 * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt-le.abilist: ... here.
1035 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
1037 * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt.abilist: ... here.
1038 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
1040 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db-le.abilist:
1042 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
1044 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db.abilist:
1046 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
1048 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil-le.abilist:
1050 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
1052 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil.abilist: ... here.
1053 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
1055 * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: ... here.
1057 2014-06-23 Will Newton <will.newton@linaro.org>
1058 Wilco <wdijkstr@arm.com>
1060 * sysdeps/generic/math_private.h: Add generic HAVE_RM_CTX
1061 implementation. Include get-rounding-mode.h.
1062 [!HAVE_RM_CTX]: Define HAVE_RM_CTX to zero.
1063 [!libc_feholdsetround_noex_ctx]: Define
1064 libc_feholdsetround_noex_ctx.
1065 [!libc_feholdsetround_noexf_ctx]: Define
1066 libc_feholdsetround_noexf_ctx.
1067 [!libc_feholdsetround_noexl_ctx]: Define
1068 libc_feholdsetround_noexl_ctx.
1069 (libc_feholdsetround_ctx): New function.
1070 (libc_feresetround_ctx): New function.
1071 (libc_feholdsetround_noex_ctx): New function.
1072 (libc_feresetround_noex_ctx): New function.
1074 2014-06-23 Roland McGrath <roland@hack.frob.com>
1076 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h: Moved ...
1077 * sysdeps/mips/nptl/bits/pthreadtypes.h: ... here.
1078 * sysdeps/unix/sysv/linux/mips/nptl/bits/semaphore.h: Moved ...
1079 * sysdeps/mips/nptl/bits/semaphore.h: ... here.
1080 * sysdeps/unix/sysv/linux/mips/nptl/bits/local_lim.h: Moved ...
1081 * sysdeps/unix/sysv/linux/mips/bits/local_lim.h: ... here.
1083 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h: Moved ...
1084 * sysdeps/m68k/nptl/bits/pthreadtypes.h: ... here.
1085 * sysdeps/unix/sysv/linux/m68k/nptl/bits/semaphore.h: Moved ...
1086 * sysdeps/m68k/nptl/bits/semaphore.h: ... here.
1087 * sysdeps/unix/sysv/linux/m68k/nptl/c++-types.data: Moved ...
1088 * sysdeps/unix/sysv/linux/m68k/c++-types.data: ... here.
1089 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/bits/atomic.h: Moved ...
1090 * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: ... here.
1091 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/ld.abilist: Moved ...
1092 * sysdeps/unix/sysv/linux/m68k/coldfire/ld.abilist: ... here.
1093 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libBrokenLocale.abilist:
1095 * sysdeps/unix/sysv/linux/m68k/coldfire/libBrokenLocale.abilist:
1097 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libanl.abilist: Moved ...
1098 * sysdeps/unix/sysv/linux/m68k/coldfire/libanl.abilist: ... here.
1099 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libc.abilist: Moved ...
1100 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: ... here.
1101 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libcrypt.abilist:
1103 * sysdeps/unix/sysv/linux/m68k/coldfire/libcrypt.abilist: ... here.
1104 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libdl.abilist: Moved ...
1105 * sysdeps/unix/sysv/linux/m68k/coldfire/libdl.abilist: ... here.
1106 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libm.abilist: Moved ...
1107 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: ... here.
1108 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libnsl.abilist: Moved ...
1109 * sysdeps/unix/sysv/linux/m68k/coldfire/libnsl.abilist: ... here.
1110 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libpthread.abilist:
1112 * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist: ... here.
1113 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libresolv.abilist:
1115 * sysdeps/unix/sysv/linux/m68k/coldfire/libresolv.abilist: ... here.
1116 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/librt.abilist: Moved ...
1117 * sysdeps/unix/sysv/linux/m68k/coldfire/librt.abilist: ... here.
1118 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libthread_db.abilist:
1120 * sysdeps/unix/sysv/linux/m68k/coldfire/libthread_db.abilist: ... here.
1121 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libutil.abilist: Moved ...
1122 * sysdeps/unix/sysv/linux/m68k/coldfire/libutil.abilist: ... here.
1123 * sysdeps/unix/sysv/linux/m68k/nptl/localplt.data: Moved ...
1124 * sysdeps/unix/sysv/linux/m68k/localplt.data: ... here.
1125 * sysdeps/unix/sysv/linux/m68k/nptl/lowlevellock.h: Moved ...
1126 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: ... here.
1127 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/ld.abilist: Moved ...
1128 * sysdeps/unix/sysv/linux/m68k/m680x0/ld.abilist: ... here.
1129 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libBrokenLocale.abilist:
1131 * sysdeps/unix/sysv/linux/m68k/m680x0/libBrokenLocale.abilist:
1133 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libanl.abilist: Moved ...
1134 * sysdeps/unix/sysv/linux/m68k/m680x0/libanl.abilist: ... here.
1135 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libc.abilist: Moved ...
1136 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: ... here.
1137 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libcrypt.abilist: Moved ...
1138 * sysdeps/unix/sysv/linux/m68k/m680x0/libcrypt.abilist: ... here.
1139 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libdl.abilist: Moved ...
1140 * sysdeps/unix/sysv/linux/m68k/m680x0/libdl.abilist: ... here.
1141 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libm.abilist: Moved ...
1142 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: ... here.
1143 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libnsl.abilist: Moved ...
1144 * sysdeps/unix/sysv/linux/m68k/m680x0/libnsl.abilist: ... here.
1145 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libpthread.abilist:
1147 * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist: ... here.
1148 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libresolv.abilist: Moved ...
1149 * sysdeps/unix/sysv/linux/m68k/m680x0/libresolv.abilist: ... here.
1150 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/librt.abilist: Moved ...
1151 * sysdeps/unix/sysv/linux/m68k/m680x0/librt.abilist: ... here.
1152 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libthread_db.abilist:
1154 * sysdeps/unix/sysv/linux/m68k/m680x0/libthread_db.abilist: ... here.
1155 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libutil.abilist: Moved ...
1156 * sysdeps/unix/sysv/linux/m68k/m680x0/libutil.abilist: ... here.
1157 * sysdeps/unix/sysv/linux/m68k/nptl/sysdep-cancel.h: Moved ...
1158 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: ... here.
1160 * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: Moved ...
1161 * sysdeps/unix/sysv/linux/sh/c++-types.data: ... here.
1162 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: Moved ...
1163 * sysdeps/unix/sysv/linux/sh/ld.abilist: ... here.
1164 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: Moved ...
1165 * sysdeps/unix/sysv/linux/sh/libBrokenLocale.abilist: ... here.
1166 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: Moved ...
1167 * sysdeps/unix/sysv/linux/sh/libanl.abilist: ... here.
1168 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Moved ...
1169 * sysdeps/unix/sysv/linux/sh/libc.abilist: ... here.
1170 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: Moved ...
1171 * sysdeps/unix/sysv/linux/sh/libcrypt.abilist: ... here.
1172 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: Moved ...
1173 * sysdeps/unix/sysv/linux/sh/libdl.abilist: ... here.
1174 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Moved ...
1175 * sysdeps/unix/sysv/linux/sh/libm.abilist: ... here.
1176 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: Moved ...
1177 * sysdeps/unix/sysv/linux/sh/libnsl.abilist: ... here.
1178 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: Moved ...
1179 * sysdeps/unix/sysv/linux/sh/libpthread.abilist: ... here.
1180 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: Moved ...
1181 * sysdeps/unix/sysv/linux/sh/libresolv.abilist: ... here.
1182 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Moved ...
1183 * sysdeps/unix/sysv/linux/sh/librt.abilist: ... here.
1184 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: Moved ...
1185 * sysdeps/unix/sysv/linux/sh/libthread_db.abilist: ... here.
1186 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: Moved ...
1187 * sysdeps/unix/sysv/linux/sh/libutil.abilist: ... here.
1189 2014-06-23 Joseph Myers <joseph@codesourcery.com>
1191 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
1192 (FALLOC_FL_COLLAPSE_RANGE): New macro.
1193 [__USE_GNU] (FALLOC_FL_ZERO_RANGE): Likewise.
1194 * sysdeps/unix/sysv/linux/bits/in.h (IP_PMTUDISC_OMIT): Likewise.
1195 (IPV6_PMTUDISC_INTERFACE): Likewise.
1196 (IPV6_PMTUDISC_OMIT): Likewise.
1198 2014-06-23 Andreas Schwab <schwab@suse.de>
1200 * nptl/sysdeps/unix/sysv/linux/mq_notify.c (init_mq_netlink):
1201 Remove unused errout label.
1203 2014-06-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1205 * sysdeps/powerpc/bits/hwcap.h [PPC_FEATURE2_HAS_VEC_CRYPTO]: New
1206 macro: hardware supports Vector Crypto instructions.
1208 2014-06-23 Will Newton <will.newton@linaro.org>
1210 * elf/dl-lookup.c: Use __glibc_unlikely and __glibc_likely
1211 rather than __builtin_expect.
1213 * elf/dl-lookup.c (undefined_msg): Remove variable.
1214 (_dl_lookup_symbol_x): Replace undefined_msg with string
1217 * elf/dl-lookup.c (do_lookup_unique): New function.
1218 (do_lookup_x): Move STB_GNU_UNIQUE handling code
1219 to a separate function.
1221 2014-06-23 Andreas Schwab <schwab@suse.de>
1224 * nss/nss_files/files-XXX.c (get_contents): Store overflow marker
1225 before reading the next line.
1227 2014-06-23 Will Newton <will.newton@linaro.org>
1229 * test-skeleton.c (signal_handler): Use printf and %m
1230 rather than perror. Use printf rather than fprintf to
1231 stderr. Use puts rather than fputs to stderr.
1234 2014-06-22 Ludovic Courtès <ludo@gnu.org>
1236 * nscd/nscd.c (thread_info_t): Remove typedef.
1237 (thread_info): Remove variable.
1239 2014-06-21 Allan McRae <allan@archlinux.org>
1241 * NEWS: Mention CVE-2014-4043.
1243 2014-06-20 Roland McGrath <roland@hack.frob.com>
1245 * nptl/sysdeps/unix/sysv/linux/smp.h: Moved ...
1246 * nptl/smp.h: ... here.
1248 * nptl/sysdeps/unix/sysv/linux/rtld-lowlevel.h: File removed.
1250 * include/libc-symbols.h (HAVE_CONFIG_H, STDC_HEADERS): New macros.
1251 * catgets/Makefile (catgets-CPPFLAGS): Remove -DHAVE_CONFIG_H.
1252 * locale/Makefile (CPPFLAGS-locale-programs): Likewise.
1253 * stdlib/strtol_l.c [_LIBC] (STDC_HEADERS): Don't define it.
1255 * nptl/allocatestack.c: Include <stack-aliasing.h>.
1256 * nptl/stack-aliasing.h: New file.
1257 * sysdeps/i386/i686/stack-aliasing.h: New file.
1258 * sysdeps/i386/i686/nptl/Makefile: File removed.
1259 * sysdeps/x86_64/stack-aliasing.h: New file.
1260 * sysdeps/x86_64/nptl/Makefile
1261 (CFLAGS-pthread_create.c): Variable removed.
1263 * nptl/sysdeps/unix/sysv/linux/bits/local_lim.h: Moved ...
1264 * sysdeps/unix/sysv/linux/bits/local_lim.h: ... here, replacing the
1266 * nptl/sysdeps/unix/sysv/linux/bits/posix_opt.h: Moved ...
1267 * sysdeps/unix/sysv/linux/bits/posix_opt.h: ... here, replacing the
1270 2014-06-21 Joseph Myers <joseph@codesourcery.com>
1272 * sysdeps/unix/sysv/linux/arm/kernel-features.h
1273 (__ASSUME_SIGFRAME_V2): Remove macro.
1274 * sysdeps/unix/sysv/linux/arm/sigrestorer.S: Update comment.
1275 [!__ASSUME_SIGFRAME_V2]: Remove conditional code.
1276 (__default_sa_restorer_v2): Rename to __default_sa_restorer.
1277 (__default_rt_sa_restorer_v2): Rename to __default_rt_sa_restorer.
1278 * sysdeps/unix/sysv/linux/arm/sigaction.c (__default_sa_restorer):
1279 Declare as function. Remove conditional macro definitions.
1280 (__default_rt_sa_restorer): Likewise.
1281 (__default_sa_restorer_v1): Remove declaration.
1282 (__default_sa_restorer_v2): Likewise.
1283 (__default_rt_sa_restorer_v1): Likewise.
1284 (__default_rt_sa_restorer_v2): Likewise.
1285 * sysdeps/unix/sysv/linux/arm/Versions (GLIBC_PRIVATE): Remove
1286 __default_sa_restorer_v1, __default_rt_sa_restorer_v1,
1287 __default_sa_restorer_v2 and __default_rt_sa_restorer_v2.
1289 2014-06-20 Roland McGrath <roland@hack.frob.com>
1291 * sysdeps/unix/sysv/linux/sparc/Makefile [$(subdir) = nptl]
1292 (libpthread-routines): Add sysdep.
1293 * nptl/sysdeps/unix/sysv/linux/sparc/Makefile: File removed.
1294 * sysdeps/unix/sysv/linux/sparc/Versions
1295 (libpthread: GLIBC_2.3.3): New version set.
1296 * nptl/sysdeps/unix/sysv/linux/sparc/Versions: File removed.
1297 * nptl/sysdeps/unix/sysv/linux/sparc/aio_cancel.c: Moved ...
1298 * sysdeps/unix/sysv/linux/sparc/aio_cancel.c: ... here.
1299 * nptl/sysdeps/unix/sysv/linux/sparc/internaltypes.h: Moved ...
1300 * sysdeps/sparc/nptl/internaltypes.h: ... here. Use #include_next.
1301 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_destroy.c:
1303 * sysdeps/sparc/nptl/pthread_barrier_destroy.c: ... here.
1304 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_init.c: Moved ...
1305 * sysdeps/sparc/nptl/pthread_barrier_init.c: ... here.
1306 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_wait.c: Moved ...
1307 * sysdeps/sparc/nptl/pthread_barrier_wait.c: ... here.
1308 * nptl/sysdeps/unix/sysv/linux/sparc/sem_init.c: Moved ...
1309 * sysdeps/sparc/nptl/sem_init.c: ... here.
1310 * nptl/sysdeps/unix/sysv/linux/sparc/sem_post.c: Moved ...
1311 * sysdeps/sparc/nptl/sem_post.c: ... here.
1312 * nptl/sysdeps/unix/sysv/linux/sparc/sem_timedwait.c: Moved ...
1313 * sysdeps/sparc/nptl/sem_timedwait.c: ... here.
1314 * nptl/sysdeps/unix/sysv/linux/sparc/sem_wait.c: Moved ...
1315 * sysdeps/sparc/nptl/sem_wait.c: ... here.
1316 * nptl/sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Moved ...
1317 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: ... here.
1318 * sysdeps/sparc/sparc32/sparcv9/Makefile [$(subdir) = nptl]
1319 (libpthread-routines): Add cpu_relax.
1320 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/Makefile:
1322 * sysdeps/unix/sysv/linux/sparc/sparc64/Versions
1323 (librt: GLIBC_2.3.3): New version set.
1324 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Versions: File removed.
1325 * sysdeps/sparc/sparc64/nptl/Makefile: New file.
1326 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile [$(subdir) = nptl]
1327 (CFLAGS-pause.c, CFLAGS-sigsuspend.c): New variables.
1328 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Makefile: File removed.
1329 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/lowlevellock.c: Moved ...
1330 * sysdeps/sparc/sparc32/nptl/lowlevellock.c: ... here.
1331 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pthread_barrier_wait.c:
1333 * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: ... here.
1334 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_post.c: Moved ...
1335 * sysdeps/sparc/sparc32/nptl/sem_post.c: ... here.
1336 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_timedwait.c: Moved ...
1337 * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: ... here.
1338 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_trywait.c: Moved ...
1339 * sysdeps/sparc/sparc32/nptl/sem_trywait.c: ... here.
1340 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_wait.c: Moved ...
1341 * sysdeps/sparc/sparc32/nptl/sem_wait.c: ... here.
1342 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/cpu_relax.S:
1344 * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: ... here.
1346 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/pthread_barrier_wait.c:
1348 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: ... here.
1350 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_post.c:
1352 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: ... here.
1354 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_timedwait.c:
1356 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: ... here.
1358 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_trywait.c:
1360 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: ... here.
1362 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_wait.c:
1364 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: ... here.
1366 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/cpu_relax.S: Moved ...
1367 * sysdeps/sparc/sparc64/nptl/cpu_relax.S: ... here.
1368 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Moved ...
1369 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: ... here.
1370 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Moved ...
1371 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: ... here.
1372 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: Moved ...
1373 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: ... here.
1374 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: Moved ...
1375 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: ... here.
1376 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
1378 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c: ... here.
1379 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: Moved ...
1380 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: ... here.
1381 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: Moved ...
1382 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: ... here.
1384 2014-06-20 Joseph Myers <joseph@codesourcery.com>
1386 * nptl/pthread_cond_wait.c: Include <kernel-features.h>.
1387 * nptl/pthread_rwlock_timedrdlock.c: Likewise.
1388 * nptl/pthread_rwlock_timedwrlock.c: Likewise.
1389 * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Likewise.
1390 * nscd/nscd.c: Likewise.
1391 * sysdeps/i386/nptl/tcb-offsets.sym: Likewise.
1392 * sysdeps/powerpc/nptl/tcb-offsets.sym: Likewise.
1393 * sysdeps/sh/nptl/tcb-offsets.sym: Likewise.
1394 * sysdeps/x86_64/nptl/tcb-offsets.sym: Likewise.
1396 * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Do not include
1397 <kernel-features.h>.
1398 (init_mq_netlink): Remove conditional have_sock_cloexec
1399 definitions. Remove code conditional on have_sock_cloexec < 0.
1400 (init_mq_netlink) [!SOCK_CLOEXEC]: Remove conditional code.
1401 (init_mq_netlink) [!__ASSUME_SOCK_CLOEXEC]: Likewise.
1402 * sysdeps/unix/sysv/linux/opensock.c: Do not include
1403 <kernel-features.h>.
1404 (__opensock) [SOCK_CLOEXEC]: Make code unconditional.
1405 (__opensock) [!__ASSUME_SOCK_CLOEXEC]: Remove conditional code.
1407 2014-06-20 H.J. Lu <hongjiu.lu@intel.com>
1409 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
1410 Add tests for memset_chk and memset.
1412 * sysdeps/x86_64/multiarch/init-arch.h (HAS_AVX2): Defined
1415 2014-06-20 Maciej W. Rozycki <macro@codesourcery.com>
1418 * elf/tst-dl-iter-static.c: New file.
1419 * elf/Makefile (tests-static): Add tst-dl-iter-static.
1421 * stdlib/tst-qsort2.c (main): Fix off-by-one argc interpretation
1424 2014-06-20 Joseph Myers <joseph@codesourcery.com>
1426 * sysdeps/unix/sysv/linux/kernel-features.h
1427 (__ASSUME_F_GETOWN_EX): Remove macro.
1428 * sysdeps/unix/sysv/linux/fcntl.c: Do not include
1429 <kernel-features.h>.
1430 (miss_F_GETOWN_EX): Remove variable or macro.
1431 (do_fcntl): Do not check miss_F_GETOWN_EX.
1432 (do_fcntl) [!__ASSUME_F_GETOWN_EX]: Remove conditional code.
1434 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_RANDOM):
1436 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard)
1437 [!__ASSUME_AT_RANDOM]: Remove conditional code.
1438 (_dl_setup_pointer_guard) [!__ASSUME_AT_RANDOM]: Likewise.
1440 * sysdeps/unix/sysv/linux/kernel-features.h
1441 (__ASSUME_ADJ_OFFSET_SS_READ): Remove macro.
1442 * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME)
1443 [ADJ_OFFSET_SS_READ]: Make code unconditional.
1444 (ADJTIME) [!ADJ_OFFSET_SS_READ]: Remove conditional code.
1446 2014-06-20 Maciej W. Rozycki <macro@codesourcery.com>
1449 * sysdeps/arm/dl-machine.h (elf_machine_rel) <R_ARM_TLS_DESC>:
1450 Fix calculation of the symbol's value.
1451 * sysdeps/arm/tst-armtlsdescloc.c: New file.
1452 * sysdeps/arm/tst-armtlsdesclocmod.c: New file.
1453 * sysdeps/arm/tst-armtlsdescextnow.c: New file.
1454 * sysdeps/arm/tst-armtlsdescextlazymod.c: New file.
1455 * sysdeps/arm/tst-armtlsdescextlazy.c: New file.
1456 * sysdeps/arm/tst-armtlsdescextnowmod.c: New file.
1457 * sysdeps/arm/Makefile (tests): Add `tst-armtlsdesc',
1458 `tst-armtlsdescextnow' and `tst-armtlsdescextlazy'.
1459 (modules-names): Add `tst-armtlsdescmod',
1460 `tst-armtlsdescextlazymod' and `tst-armtlsdescextnowmod'.
1461 (CPPFLAGS-tst-armtlsdescextnowmod.c): New variable.
1462 (CPPFLAGS-tst-armtlsdescextlazymod.c): Likewise.
1463 (CFLAGS-tst-armtlsdesclocmod.c): Likewise.
1464 (CFLAGS-tst-armtlsdescextnowmod.c): Likewise.
1465 (CFLAGS-tst-armtlsdescextlazymod.c): Likewise.
1466 (LDFLAGS-tst-armtlsdescextnowmod.so): Likewise.
1467 ($(objpfx)tst-armtlsdescloc): New dependency.
1468 ($(objpfx)tst-armtlsdescextnow): Likewise.
1469 ($(objpfx)tst-armtlsdescextlazy): Likewise.
1470 * sysdeps/arm/configure.ac: Add a check for tools' GNU descriptor
1472 * sysdeps/arm/configure: Regenerate.
1474 2014-06-20 Joseph Myers <joseph@codesourcery.com>
1476 * include/fcntl.h (__atfct_seterrno): Remove prototype.
1477 (__atfct_seterrno_2): Likewise.
1478 * sysdeps/unix/sysv/linux/alpha/dl-fxstatat64.c: Do not include
1479 <kernel-features.h>.
1480 (__ASSUME_ATFCTS): Do not undefine and redefine.
1481 * sysdeps/unix/sysv/linux/alpha/fxstatat.c [__ASSUME_ATFCTS]
1482 (__have_atfcts): Remove conditional definition.
1483 (__fxstatat([__NR_fstatat64]: Make code unconditional.
1484 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code and code
1485 unreachable if [__ASSUME_ATFCTS].
1486 * sysdeps/unix/sysv/linux/dl-fxstatat64.c (__ASSUME_ATFCTS): Do
1487 not undefine and redefine.
1488 * sysdeps/unix/sysv/linux/faccessat.c: Do not include
1489 <kernel-features.h>.
1490 (faccessat) [__NR_faccessat]: Make code unconditional.
1491 (faccessat) [!__ASSUME_ATFCTS]: Remove conditional code.
1492 * sysdeps/unix/sysv/linux/fchmodat.c: Do not include
1493 <kernel-features.h>.
1494 (fchmodat) [__NR_fchmodat]: Make code unconditional.
1495 (fchmodat) [!__ASSUME_ATFCTS]: Remove conditional code.
1496 * sysdeps/unix/sysv/linux/fchownat.c: Do not include
1497 <kernel-features.h>.
1498 (fchownat) [__NR_fchownat]: Make code unconditional.
1499 (fchownat) [!__ASSUME_ATFCTS]: Remove conditional code.
1500 * sysdeps/unix/sysv/linux/futimesat.c: Do not include
1501 <kernel-features.h>.
1502 (futimesat) [__NR_futimesat]: Make code unconditional.
1503 (futimesat) [!__ASSUME_ATFCTS]: Remove conditional code.
1504 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
1505 <kernel-features.h>.
1506 (__fxstatat) [__NR_newfstatat]: Make code unconditional.
1507 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
1508 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
1509 <kernel-features.h>.
1510 (__fxstatat64) [__NR_fstatat64]: Make code unconditional.
1511 (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
1512 * sysdeps/unix/sysv/linux/i386/fchownat.c: Remove file.
1513 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
1514 <kernel-features.h>.
1515 (__fxstatat) [__NR_fstatat64]: Make code unconditional.
1516 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
1517 * sysdeps/unix/sysv/linux/linkat.c: Do not include
1518 <kernel-features.h>.
1519 (linkat) [__NR_linkat]: Make code unconditional.
1520 (linkat) [!__ASSUME_ATFCTS]: Remove conditional code.
1521 * sysdeps/unix/sysv/linux/m68k/fchownat.c: Remove file.
1522 * sysdeps/unix/sysv/linux/mips/mips64/fxstatat64.c: Do not include
1523 <kernel-features.h>.
1524 (__fxstatat64) [__NR_newfstatat]: Make code unconditional.
1525 (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
1526 * sysdeps/unix/sysv/linux/mkdirat.c: Do not include
1527 <kernel-features.h>.
1528 (mkdirat) [__NR_mkdirat]: Make code unconditional.
1529 (mkdirat) [!__ASSUME_ATFCTS]: Remove conditional code.
1530 * sysdeps/unix/sysv/linux/openat.c: Do not include
1531 <kernel-features.h>.
1532 [!__ASSUME_ATFCTS] (__atfct_seterrno): Remove function.
1533 [!__ASSUME_ATFCTS] (__have_atfcts): Remove variable.
1534 (OPENAT_NOT_CANCEL) [__NR_openat]: Make code unconditional.
1535 (OPENAT_NOT_CANCEL) [!__ASSUME_ATFCTS]: Remove conditional code.
1536 * sysdeps/unix/sysv/linux/powerpc/fchownat.c: Remove file.
1537 * sysdeps/unix/sysv/linux/readlinkat.c: Do not include
1538 <kernel-features.h>.
1539 (readlinkat) [__NR_readlinkat]: Make code unconditional.
1540 (readlinkat) [!__ASSUME_ATFCTS]: Remove conditional code. Return
1541 result of INLINE_SYSCALL directly, not via int variable.
1542 * sysdeps/unix/sysv/linux/renameat.c: Do not include
1543 <kernel-features.h>.
1544 [!__ASSUME_ATFCTS] (__atfct_seterrno_2): Remove function.
1545 (renameat) [__NR_renameat]: Make code unconditional.
1546 (renameat) [!__ASSUME_ATFCTS]: Remove conditional code.
1547 * sysdeps/unix/sysv/linux/s390/s390-32/fchownat.c: Remove file.
1548 * sysdeps/unix/sysv/linux/sh/fchownat.c: Remove file.
1549 * sysdeps/unix/sysv/linux/sparc/sparc32/fchownat.c: Remove file.
1550 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c
1551 (__ASSUME_ATFCTS): Do not undefine and redefine.
1552 * sysdeps/unix/sysv/linux/symlinkat.c: Do not include
1553 <kernel-features.h>.
1554 (symlinkat) [__NR_symlinkat]: Make code unconditional.
1555 (symlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
1556 * sysdeps/unix/sysv/linux/unlinkat.c: Do not include
1557 <kernel-features.h>.
1558 (unlinkat) [__NR_unlinkat]: Make code unconditional.
1559 (unlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
1560 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c
1561 (__ASSUME_ATFCTS): Do not undefine and redefine.
1562 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
1563 <kernel-features.h>.
1564 (__fxstatat) [__NR_newfstatat]: Make code unconditional.
1565 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
1566 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
1567 <kernel-features.h>.
1568 (__xmknodat) [__NR_mknodat]: Make code unconditional.
1569 (__xmknodat) [!__ASSUME_ATFCTS]: Remove conditional code.
1571 2014-06-20 H.J. Lu <hongjiu.lu@intel.com>
1573 * sysdeps/x86_64/multiarch/rtld-strlen.S: Removed.
1575 2014-06-20 Andreas Schwab <schwab@linux-m68k.org>
1578 * posix/regcomp.c (parse_reg_exp): Deallocate partially
1579 constructed tree before returning error.
1580 * posix/bug-regexp36.c: Expand test case.
1582 2014-06-20 Stefan Liebler <stli@linux.vnet.ibm.com>
1585 * math/libm-test.inc (scalbln_test_date):
1586 Add errno expectations.
1587 * math/w_scalblnf.c: New File.
1588 Add wrapper which checks for setting errno to ERANGE.
1589 Add weak_alias for corresponding scalbln function.
1590 * math/w_scalbln.c: Likewise.
1591 * math/w_scalblnl.c: Likewise.
1592 * math/Makefile (libm-calls): Add w_scalbln.
1593 * sysdeps/ieee754/flt-32/s_scalblnf.c:
1594 Remove weak_alias for corresponding scalbln function.
1595 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
1596 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
1597 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
1598 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
1599 * sysdeps/sparc/sparc64/soft-fp/s_scalblnl.c: Likewise.
1600 * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
1601 * sysdeps/i386/fpu/s_scalbn.S: Likewise.
1602 * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
1603 * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Likewise.
1604 * sysdeps/ieee754/ldbl-64-128/s_scalblnl.c:
1605 Remove long_double_symbol for scalblnl function in libm, libc.
1606 * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: New File.
1607 Add wrapper which checks for setting errno to ERANGE.
1608 Add long_double_symbol for scalblnl function in libm, libc.
1609 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c:
1610 Remove long_double_symbol for scalblnl in libm.
1611 * sysdeps/ieee754/ldbl-128ibm/w_scalblnl.c: New File.
1612 Add wrapper which checks for setting errno to ERANGE.
1613 Add long_double_symbol for scalblnl function in libm.
1614 * sysdeps/ia64/fpu/w_scalblnf.c: New File.
1615 Do not use wrapper because of own implementation.
1617 2014-06-19 H.J. Lu <hongjiu.lu@intel.com>
1619 * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Use
1620 3 bytes for __pad1 for x32.
1621 (__PTHREAD_RWLOCK_ELISION_EXTRA): Likewise.
1623 2014-06-19 Ling Ma <ling.ml@alibaba-inc.com>
1624 H.J. Lu <hongjiu.lu@intel.com>
1626 * sysdeps/x86_64/multiarch/Makefile: Add memset-avx2.
1627 * sysdeps/x86_64/multiarch/memset-avx2.S: New file.
1628 * sysdeps/x86_64/multiarch/memset.S: Likewise.
1629 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
1630 * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise.
1632 2014-06-19 Andreas Schwab <schwab@linux-m68k.org>
1635 * posix/regcomp.c (parse_expression): Deallocate partially
1636 constructed tree before returning error.
1637 * posix/Makefile.c (tests): Add bug-regex36.
1638 (generated): Add bug-regex36.mtrace.
1639 (tests-special): Add $(objpfx)bug-regex36-mem.out
1640 (bug-regex36-ENV): New variable.
1641 ($(objpfx)bug-regex36-mem.out): New rule.
1642 * posix/bug-regex36.c: New file.
1644 2014-06-19 Will Newton <will.newton@linaro.org>
1646 * malloc/malloc.c (systrim): If extra is zero then return
1649 2014-06-19 Siddhesh Poyarekar <siddhesh@redhat.com>
1651 * benchtests/Makefile ($(objpfx)bench-%.c): Remove $(.).
1653 2014-06-19 Richard Earnshaw <rearnsha@arm.com>
1655 * sysdeps/aarch64/strchr.S: New file.
1657 2014-06-18 Joseph Myers <joseph@codesourcery.com>
1660 * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Do not subtract 1
1661 from arguments -2 or below.
1662 * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
1663 * sysdeps/x86_64/fpu/e_logl.S (__ieee754_logl): Likewise.
1665 2014-06-18 Andreas Schwab <schwab@suse.de>
1668 * posix/fnmatch_loop.c (FCT): Rerrange loop for skipping over rest
1669 of a bracket expr not to run off the end of the string.
1670 * posix/Makefile (tests): Add tst-fnmatch3.
1671 * posix/tst-fnmatch3.c: New file.
1673 2014-06-18 Joseph Myers <joseph@codesourcery.com>
1675 * elf/Makefile ($(objpfx)tst-unused-dep.out): Use $(rtld-prefix).
1676 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
1677 [$(cross-compiling) = no]: Likewise.
1678 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
1679 [$(cross-compiling) = no]: Likewise.
1681 2014-16-17 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
1684 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Consider the low
1685 double, adjusted for any remainder from the high double.
1686 * math/libm-test.inc (nearbyint): Add tests.
1689 2014-06-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1691 * nptl/sysdeps/powerpc/Makefile: Moved ...
1692 * sysdeps/powerpc/nptl/Makefile: ... here.
1693 * nptl/sysdeps/powerpc/pthread_spin_lock.c: Moved ...
1694 * sysdeps/powerpc/nptl/pthread_spin_lock.c: .. here.
1695 * nptl/sysdeps/powerpc/pthread_spin_trylock.c: Moved ...
1696 * sysdeps/powerpc/nptl/pthread_spin_trylock.c: ... here.
1697 * nptl/sysdeps/powerpc/pthreaddef.h: Moved ...
1698 * sysdeps/powerpc/nptl/pthreaddef.h: ... here.
1699 * nptl/sysdeps/powerpc/tcb-offsets.sym: Moved ...
1700 * sysdeps/powerpc/nptl/tcb-offsets.sym: ... here.
1701 * nptl/sysdeps/powerpc/tls.h: Moved ...
1702 * sysdeps/powerpc/nptl/tls.h: ... here.
1704 2014-06-16 Joseph Myers <joseph@codesourcery.com>
1707 * sysdeps/i386/fpu/s_ceil.S (__ceil): Add CFI.
1708 * sysdeps/i386/fpu/s_ceilf.S (__ceilf): Likewise.
1709 * sysdeps/i386/fpu/s_ceill.S (__ceill): Likewise.
1710 * sysdeps/i386/fpu/s_floor.S (__floor): Likewise.
1711 * sysdeps/i386/fpu/s_floorf.S (__floorf): Likewise.
1712 * sysdeps/i386/fpu/s_floorl.S (__floorl): Likewise.
1713 * sysdeps/i386/fpu/s_trunc.S (__trunc): Likewise.
1714 * sysdeps/i386/fpu/s_truncf.S (__truncf): Likewise.
1715 * sysdeps/i386/fpu/s_truncl.S (__truncl): Likewise.
1717 2014-06-17 Andreas Schwab <schwab@linux-m68k.org>
1719 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
1721 2014-06-16 Andreas Schwab <schwab@linux-m68k.org>
1723 * sysdeps/m68k/m680x0/bits/huge_vall.h: Fix missing space after
1726 * scripts/cross-test-ssh.sh (timeoutfactor): Default to
1729 2014-06-16 Florian Weimer <fweimer@redhat.com>
1732 * nptl/tst-setuid2.c (do_test): Fix tautological comparison in
1733 non-executed part of the test.
1735 2014-06-16 Andreas Schwab <schwab@suse.de>
1737 * string/bits/string2.h (strdup, strndup): Update feature guard.
1739 2014-06-14 David S. Miller <davem@davemloft.net>
1741 * sysdeps/sparc/fpu/libm-test-ulps: Update.
1743 2014-06-14 Andreas Schwab <schwab@linux-m68k.org>
1745 * sysdeps/unix/sysv/linux/m68k/clone.S: Deconditionalize the code
1746 that was previously under [RESET_PID].
1747 * sysdeps/unix/sysv/linux/m68k/nptl/clone.S: Remove file.
1749 * sysdeps/unix/sysv/linux/m68k/pt-vfork.c: New file.
1750 * sysdeps/unix/sysv/linux/m68k/nptl/pt-vfork.S: Remove file.
1751 * sysdeps/unix/sysv/linux/m68k/vfork.S: Include <tcb-offsets.h>.
1752 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
1753 (__libc_vfork): New strong alias.
1754 * sysdeps/unix/sysv/linux/m68k/nptl/vfork.S: Remove file.
1756 2014-06-14 Andi Kleen <ak@linux.intel.com>
1758 * sysdeps/generic/elide.h: New file.
1760 2014-06-13 Stefan Liebler <stli@linux.vnet.ibm.com>
1762 * Makefile (installed-headers): Adjust path of pthread.h header.
1764 2014-06-13 Roland McGrath <roland@hack.frob.com>
1766 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h: Moved ...
1767 * sysdeps/s390/nptl/bits/pthreadtypes.h: ... here.
1768 * nptl/sysdeps/unix/sysv/linux/s390/bits/semaphore.h: Moved ...
1769 * sysdeps/s390/nptl/bits/semaphore.h: ... here.
1771 * nptl/sysdeps/s390/Makefile: Moved ...
1772 * sysdeps/s390/nptl/Makefile: ... here.
1773 * nptl/sysdeps/s390/pthread_spin_init.c: Moved ...
1774 * sysdeps/s390/nptl/pthread_spin_init.c: ... here.
1775 * nptl/sysdeps/s390/pthread_spin_lock.c: Moved ...
1776 * sysdeps/s390/nptl/pthread_spin_lock.c: ... here.
1777 * nptl/sysdeps/s390/pthread_spin_trylock.c: Moved ...
1778 * sysdeps/s390/nptl/pthread_spin_trylock.c: ... here.
1779 * nptl/sysdeps/s390/pthread_spin_unlock.c: Moved ...
1780 * sysdeps/s390/nptl/pthread_spin_unlock.c: ... here.
1781 * nptl/sysdeps/s390/pthreaddef.h: Moved ...
1782 * sysdeps/s390/nptl/pthreaddef.h: ... here.
1783 * nptl/sysdeps/s390/tcb-offsets.sym: Moved ...
1784 * sysdeps/s390/nptl/tcb-offsets.sym: ... here.
1785 * nptl/sysdeps/s390/tls.h: Moved ...
1786 * sysdeps/s390/nptl/tls.h: ... here.
1788 * sysdeps/unix/sysv/linux/s390/arch-fork.h: New file.
1789 * nptl/sysdeps/unix/sysv/linux/s390/fork.c: File removed.
1791 2014-06-13 David S. Miller <davem@davemloft.net>
1793 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/clone.S: Delete.
1794 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pt-vfork.S: Delete.
1795 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Moved ...
1796 * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: ... here.
1797 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/clone.S: Delete.
1798 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/pt-vfork.S: Delete.
1799 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Moved ...
1800 * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: ... here.
1801 * sysdeps/unix/sysv/linux/sparc/fork.S: Delete.
1802 * sysdeps/unix/sysv/linux/sparc/pt-vfork.S: New file.
1803 * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__thread_start):
1804 Remove RESET_PID cpp guards.
1805 * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__thread_start):
1806 Remove RESET_PID cpp guards.
1807 * sysdeps/unix/sysv/linux/sparc/vfork.S: Delete.
1809 2014-06-13 Andreas Schwab <schwab@linux-m68k.org>
1811 * sysdeps/m68k/jmpbuf-unwind.h (_JMPBUF_UNWINDS, _jmpbuf_sp): Cast
1814 2014-06-13 Andi Kleen <ak@linux.intel.com>
1816 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: Remove.
1817 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S: dito.
1818 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S: dito.
1819 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: dito.
1820 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: dito.
1821 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: dito.
1822 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S: dito.
1823 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S: dito.
1824 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: dito.
1825 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: dito.
1826 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: dito.
1827 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S: dito.
1828 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S: dito.
1829 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: dito.
1830 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: dito.
1831 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: dito.
1832 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: dito.
1833 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: dito.
1834 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: dito.
1835 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: dito.
1837 * nptl/pthread_rwlock_rdlock.c: Include elide.h.
1838 (pthread_rwlock_rdlock): Add elision.
1839 * nptl/pthread_rwlock_wrlock.c: Include elide.h.
1840 (pthread_rwlock_wrlock): Add elision.
1841 * nptl/pthread_rwlock_trywrlock.c: Include elide.h.
1842 (pthread_rwlock_trywrlock): Add elision.
1843 * nptl/pthread_rwlock_tryrdlock.c: Include elide.h.
1844 (pthread_rwlock_tryrdlock): Add elision.
1845 * nptl/pthread_rwlock_unlock.c: Include elide.h.
1846 (pthread_rwlock_tryrdlock): Add elision unlock.
1847 * nptl/sysdeps/pthread/pthread.h:
1848 (__PTHREAD_RWLOCK_ELISION_EXTRA): Handle new define
1849 (PTHREAD_RWLOCK_INITIALIZER,
1850 PTHREAD_RWLOCK_WRITER_NONRECURSIVE_INITIALIZER_NP):
1851 Handle new elision field.
1852 * sysdeps/x86/nptl/elide.h: New file. Add generic elision macros.
1853 * sysdeps/arm/nptl/bits/pthreadtypes.h
1854 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
1855 * sysdeps/sh/nptl/bits/pthreadtypes.h
1856 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
1857 * sysdeps/tile/nptl/bits/pthreadtypes.h
1858 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
1859 * sysdeps/a/nptl/bits/pthreadtypes.h
1860 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
1861 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
1862 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
1863 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
1864 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
1865 * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h
1866 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
1867 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
1868 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
1869 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
1870 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
1871 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
1872 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
1873 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
1874 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
1875 * sysdeps/unix/sysv/linux/powerpc/nptl/bits/pthreadtypes.h
1876 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
1877 * sysdeps/unix/sysv/linux/x86/elision-conf.c:
1878 (elision_init): Set try_xbegin to zero when no RTM.
1879 * sysdeps/x86/nptl/bits/pthreadtypes.h
1880 (pthread_rwlock_t): Change __pad1 to __rwelision.
1881 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
1883 2014-06-13 Andi Kleen <ak@linux.intel.com>
1885 * nptl/pthread_rwlock_rdlock (__pthread_rwlock_rdlock):
1886 Split into __do_pthread_rwlock_rdlock and __pthread_rwlock_rdlock.
1887 * nptl/pthread_rwlock_wrlock (__pthread_rwlock_wrlock):
1888 Split into __do_pthread_rwlock_wrlock and __pthread_wrlock_rdlock.
1890 2014-06-13 Meador Inge <meadori@codesourcery.com>
1893 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Ensure
1894 that the cached result has been set before returning it.
1896 2014-06-12 Roland McGrath <roland@hack.frob.com>
1898 * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h: Moved ...
1899 * sysdeps/sparc/nptl/bits/pthreadtypes.h: ... here.
1900 * nptl/sysdeps/unix/sysv/linux/sparc/bits/semaphore.h: Moved ...
1901 * sysdeps/sparc/nptl/bits/semaphore.h: ... here.
1902 * nptl/sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: Moved ...
1903 * sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: ... here.
1905 * nptl/sysdeps/sparc/Makefile: Moved ...
1906 * sysdeps/sparc/nptl/Makefile: ... here.
1907 * nptl/sysdeps/sparc/tcb-offsets.sym: Moved ...
1908 * sysdeps/sparc/nptl/tcb-offsets.sym: ... here.
1909 * nptl/sysdeps/sparc/tls.h: Moved ...
1910 * sysdeps/sparc/nptl/tls.h: ... here.
1911 * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S: Moved ...
1912 * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: ... here.
1913 * nptl/sysdeps/sparc/sparc32/pthread_spin_trylock.S: Moved ...
1914 * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: ... here.
1915 * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Moved ...
1916 * sysdeps/sparc/sparc32/nptl/pthreaddef.h: ... here.
1917 * nptl/sysdeps/sparc/sparc64/pthread_spin_init.c: Moved ...
1918 * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: ... here.
1919 * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S: Moved ...
1920 * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: ... here.
1921 * nptl/sysdeps/sparc/sparc64/pthread_spin_trylock.S: Moved ...
1922 * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: ... here.
1923 * nptl/sysdeps/sparc/sparc64/pthread_spin_unlock.S: Moved ...
1924 * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: ... here.
1925 * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Moved ...
1926 * sysdeps/sparc/sparc64/nptl/pthreaddef.h: ... here.
1927 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Moved ...
1928 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: ... here.
1930 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Moved ...
1931 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: ... here.
1933 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Moved ...
1934 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: ... here.
1936 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: Moved ...
1937 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: ... here.
1940 * nptl/sysdeps/sparc/tls.h (TLS_DEFINE_INIT_TP): New macro.
1942 * sysdeps/unix/sysv/linux/sparc/arch-fork.h: New file.
1943 * nptl/sysdeps/unix/sysv/linux/sparc/fork.c: File removed.
1945 * sysdeps/pthread/posix-timer.h: Include <list.h>.
1946 (struct list_links): Type removed.
1947 (struct thread_node, struct timer_node): Replace struct list_links
1948 with struct list_head.
1949 (list_unlink_ip): Likewise.
1950 * sysdeps/pthread/timer_routines.c
1951 (timer_free_list, thread_free_list, thread_active_list): Likewise.
1952 (list_append, list_insbefore): Likewise.
1953 (list_init): Function removed.
1954 (thread_init, init_module): Use INIT_LIST_HEAD instead.
1955 * sysdeps/nptl/Makefile: Move tst-timer bits to ...
1956 * sysdeps/pthread/Makefile: ... here, new file.
1958 * nptl/sysdeps/unix/sysv/linux/Implies: Moved ...
1959 * sysdeps/nptl/Implies: ... here.
1960 * sysdeps/unix/sysv/linux/Implies: Add nptl.
1961 * nptl/sysdeps/pthread/list.h: Moved ...
1962 * include/list.h: ... here.
1963 * nptl/sysdeps/pthread/createthread.c: Moved ...
1964 * nptl/createthread.c: ... here.
1965 * nptl/sysdeps/unix/sysv/linux/createthread.c: Update #include.
1966 * nptl/sysdeps/pthread/pt-longjmp.c: Moved ...
1967 * nptl/pt-longjmp.c: ... here.
1968 * nptl/sysdeps/pthread/Makefile: Moved ...
1969 * sysdeps/nptl/Makefile: ... here.
1970 * nptl/sysdeps/pthread/Subdirs: Moved ...
1971 * sysdeps/nptl/Subdirs: ... here.
1972 * nptl/sysdeps/pthread/aio_misc.h: Moved ...
1973 * sysdeps/nptl/aio_misc.h: ... here.
1974 * nptl/sysdeps/pthread/bits/libc-lock.h: Moved ...
1975 * sysdeps/nptl/bits/libc-lock.h: ... here.
1976 * nptl/sysdeps/pthread/bits/libc-lockP.h: Moved ...
1977 * sysdeps/nptl/bits/libc-lockP.h: ... here.
1978 * nptl/sysdeps/pthread/bits/stdio-lock.h: Moved ...
1979 * sysdeps/nptl/bits/stdio-lock.h: ... here.
1980 * nptl/sysdeps/pthread/configure: Moved ...
1981 * sysdeps/nptl/configure: ... here.
1982 * nptl/sysdeps/pthread/configure.ac: Moved ...
1983 * sysdeps/nptl/configure.ac: ... here.
1984 * nptl/sysdeps/pthread/gai_misc.h: Moved ...
1985 * sysdeps/nptl/gai_misc.h: ... here.
1986 * nptl/sysdeps/pthread/librt-cancellation.c: Moved ...
1987 * sysdeps/nptl/librt-cancellation.c: ... here.
1988 * nptl/sysdeps/pthread/malloc-machine.h: Moved ...
1989 * sysdeps/nptl/malloc-machine.h: ... here.
1990 * nptl/sysdeps/pthread/pthread-functions.h: Moved ...
1991 * sysdeps/nptl/pthread-functions.h: ... here.
1992 * nptl/sysdeps/pthread/pthread.h: Moved ...
1993 * sysdeps/nptl/pthread.h: ... here.
1994 * nptl/sysdeps/pthread/setxid.h: Moved ...
1995 * sysdeps/nptl/setxid.h: ... here.
1996 * nptl/sysdeps/pthread/sigfillset.c: Moved ...
1997 * sysdeps/nptl/sigfillset.c: ... here.
1998 * nptl/sysdeps/pthread/tcb-offsets.h: Moved ...
1999 * sysdeps/nptl/tcb-offsets.h: ... here.
2000 * nptl/sysdeps/pthread/tst-mqueue8x.c: Moved ...
2001 * sysdeps/nptl/tst-mqueue8x.c: ... here.
2002 * nptl/sysdeps/pthread/unwind-forcedunwind.c: Moved ...
2003 * sysdeps/nptl/unwind-forcedunwind.c: ... here.
2004 * nptl/sysdeps/pthread/allocalim.h: Moved ...
2005 * sysdeps/pthread/allocalim.h: ... here.
2006 * nptl/sysdeps/pthread/bits/sigthread.h: Moved ...
2007 * sysdeps/pthread/bits/sigthread.h: ... here.
2008 * nptl/sysdeps/pthread/flockfile.c: Moved ...
2009 * sysdeps/pthread/flockfile.c: ... here.
2010 * nptl/sysdeps/pthread/ftrylockfile.c: Moved ...
2011 * sysdeps/pthread/ftrylockfile.c: ... here.
2012 * nptl/sysdeps/pthread/funlockfile.c: Moved ...
2013 * sysdeps/pthread/funlockfile.c: ... here.
2014 * nptl/sysdeps/pthread/posix-timer.h: Moved ...
2015 * sysdeps/pthread/posix-timer.h: ... here.
2016 * nptl/sysdeps/pthread/timer_create.c: Moved ...
2017 * sysdeps/pthread/timer_create.c: ... here.
2018 * nptl/sysdeps/pthread/timer_delete.c: Moved ...
2019 * sysdeps/pthread/timer_delete.c: ... here.
2020 * nptl/sysdeps/pthread/timer_getoverr.c: Moved ...
2021 * sysdeps/pthread/timer_getoverr.c: ... here.
2022 * nptl/sysdeps/pthread/timer_gettime.c: Moved ...
2023 * sysdeps/pthread/timer_gettime.c: ... here.
2024 * nptl/sysdeps/pthread/timer_routines.c: Moved ...
2025 * sysdeps/pthread/timer_routines.c: ... here.
2026 * nptl/sysdeps/pthread/timer_settime.c: Moved ...
2027 * sysdeps/pthread/timer_settime.c: ... here.
2028 * nptl/sysdeps/pthread/tst-timer.c: Moved ...
2029 * sysdeps/pthread/tst-timer.c: ... here.
2030 * nptl/sysdeps/pthread/pthread_sigmask.c: Moved ...
2031 * sysdeps/unix/sysv/linux/pthread_sigmask.c: ... here.
2033 * sysdeps/unix/sysv/linux/sigprocmask.c: Include <nptl/pthreadP.h>.
2034 * nptl/sysdeps/pthread/sigprocmask.c: File removed.
2036 * nptl/sysdeps/i386/i486/pthread_spin_trylock.S: Moved ...
2037 * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: ... here.
2038 * nptl/sysdeps/i386/i586/pthread_spin_trylock.S: Moved ...
2039 * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: ... here.
2040 Update #include target.
2041 * nptl/sysdeps/i386/i686/Makefile: Moved ...
2042 * sysdeps/i386/i686/nptl/Makefile: ... here.
2043 * nptl/sysdeps/i386/i686/pthread_spin_trylock.S: Moved ...
2044 * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: ... here.
2045 Update #include target.
2046 * nptl/sysdeps/i386/i686/tls.h: Moved ...
2047 * sysdeps/i386/i686/nptl/tls.h: ... here. Use #include_next.
2048 * nptl/sysdeps/i386/Makefile: Moved ...
2049 * sysdeps/i386/nptl/Makefile: ... here.
2050 * nptl/sysdeps/i386/pthread_spin_init.c: Moved ...
2051 * sysdeps/i386/nptl/pthread_spin_init.c: ... here.
2052 * sysdeps/x86_64/nptl/pthread_spin_init.c: Update #include target.
2053 * nptl/sysdeps/i386/pthread_spin_lock.S: Moved ...
2054 * sysdeps/i386/nptl/pthread_spin_lock.S: ... here.
2055 * nptl/sysdeps/i386/pthread_spin_unlock.S: Moved ...
2056 * sysdeps/i386/nptl/pthread_spin_unlock.S: ... here.
2057 * nptl/sysdeps/i386/pthreaddef.h: Moved ...
2058 * sysdeps/i386/nptl/pthreaddef.h: ... here.
2059 * nptl/sysdeps/i386/tcb-offsets.sym: Moved ...
2060 * sysdeps/i386/nptl/tcb-offsets.sym: ... here.
2061 * nptl/sysdeps/i386/tls.h: Moved ...
2062 * sysdeps/i386/nptl/tls.h: ... here.
2064 * sysdeps/sh/Makefile [$(subdir) = csu]
2065 (gen-as-const-headers): Add tcb-offsets.sym.
2066 * nptl/sysdeps/sh/Makefile: File removed.
2067 * nptl/sysdeps/sh/pthread_spin_init.c: Moved ...
2068 * sysdeps/sh/nptl/pthread_spin_init.c: ... here.
2069 * nptl/sysdeps/sh/pthread_spin_lock.c: Moved ...
2070 * sysdeps/sh/nptl/pthread_spin_lock.c: ... here.
2071 * nptl/sysdeps/sh/pthread_spin_trylock.S: Moved ...
2072 * sysdeps/sh/nptl/pthread_spin_trylock.S: ... here.
2073 * nptl/sysdeps/sh/pthread_spin_unlock.S: Moved ...
2074 * sysdeps/sh/nptl/pthread_spin_unlock.S: ... here.
2075 * nptl/sysdeps/sh/pthreaddef.h: Moved ...
2076 * sysdeps/sh/nptl/pthreaddef.h: ... here.
2077 * nptl/sysdeps/sh/tcb-offsets.sym: Moved ...
2078 * sysdeps/sh/nptl/tcb-offsets.sym: ... here.
2079 * nptl/sysdeps/sh/tls.h: Moved ...
2080 * sysdeps/sh/nptl/tls.h: ... here.
2081 * nptl/sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Moved ...
2082 * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: ... here.
2083 * nptl/sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: Moved ...
2084 * sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: ... here.
2085 * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.S: Moved ...
2086 * sysdeps/unix/sysv/linux/sh/lowlevellock.S: ... here.
2087 * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.h: Moved ...
2088 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: ... here.
2089 * nptl/sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Moved ...
2090 * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: ... here.
2091 * nptl/sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Moved ...
2092 * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: ... here.
2093 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Moved ...
2094 * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: ... here.
2095 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Moved ...
2096 * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: ... here.
2097 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Moved ...
2098 * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: ... here.
2099 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Moved ...
2100 * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: ... here.
2101 * nptl/sysdeps/unix/sysv/linux/sh/pthread_once.S: Moved ...
2102 * sysdeps/unix/sysv/linux/sh/pthread_once.S: ... here.
2103 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Moved ...
2104 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: ... here.
2105 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S:
2107 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: ... here.
2108 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S:
2110 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: ... here.
2111 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Moved ...
2112 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: ... here.
2113 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Moved ...
2114 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: ... here.
2115 * nptl/sysdeps/unix/sysv/linux/sh/sem_post.S: Moved ...
2116 * sysdeps/unix/sysv/linux/sh/sem_post.S: ... here.
2117 * nptl/sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Moved ...
2118 * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: ... here.
2119 * nptl/sysdeps/unix/sysv/linux/sh/sem_trywait.S: Moved ...
2120 * sysdeps/unix/sysv/linux/sh/sem_trywait.S: ... here.
2121 * nptl/sysdeps/unix/sysv/linux/sh/sem_wait.S: Moved ...
2122 * sysdeps/unix/sysv/linux/sh/sem_wait.S: ... here.
2123 * nptl/sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Moved ...
2124 * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: ... here.
2125 * nptl/sysdeps/unix/sysv/linux/sh/smp.h: Moved ...
2126 * sysdeps/unix/sysv/linux/sh/smp.h: ... here.
2127 * nptl/sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Moved ...
2128 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: ... here.
2130 2014-06-12 Stefan Liebler <stli@linux.vnet.ibm.com>
2132 * posix/spawn_faction_addopen.c: Include string.h.
2134 2014-06-11 Roland McGrath <roland@hack.frob.com>
2136 * nptl/sysdeps/x86_64/64/shlib-versions: Moved ...
2137 * sysdeps/x86_64/64/nptl/shlib-versions: ... here.
2138 * nptl/sysdeps/x86_64/Makefile: Moved ...
2139 * sysdeps/x86_64/nptl/Makefile: ... here.
2140 * nptl/sysdeps/x86_64/configure: Moved ...
2141 * sysdeps/x86_64/nptl/configure: ... here.
2142 * nptl/sysdeps/x86_64/configure.ac: Moved ...
2143 * sysdeps/x86_64/nptl/configure.ac: ... here.
2144 * nptl/sysdeps/x86_64/pthread_spin_init.c: Moved ...
2145 * sysdeps/x86_64/nptl/pthread_spin_init.c: ... here.
2146 * nptl/sysdeps/x86_64/pthread_spin_lock.S: Moved ...
2147 * sysdeps/x86_64/nptl/pthread_spin_lock.S: ... here.
2148 * nptl/sysdeps/x86_64/pthread_spin_trylock.S: Moved ...
2149 * sysdeps/x86_64/nptl/pthread_spin_trylock.S: ... here.
2150 * nptl/sysdeps/x86_64/pthread_spin_unlock.S: Moved ...
2151 * sysdeps/x86_64/nptl/pthread_spin_unlock.S: ... here.
2152 * nptl/sysdeps/x86_64/pthreaddef.h: Moved ...
2153 * sysdeps/x86_64/nptl/pthreaddef.h: ... here.
2154 * nptl/sysdeps/x86_64/tcb-offsets.sym: Moved ...
2155 * sysdeps/x86_64/nptl/tcb-offsets.sym: ... here.
2156 * nptl/sysdeps/x86_64/tls.h: Moved ...
2157 * sysdeps/x86_64/nptl/tls.h: ... here.
2158 * nptl/sysdeps/x86_64/x32/shlib-versions: Moved ...
2159 * sysdeps/x86_64/x32/nptl/shlib-versions: ... here.
2160 * nptl/sysdeps/x86_64/x32/tls.h: Moved ...
2161 * sysdeps/x86_64/x32/nptl/tls.h: ... here.
2163 * sysdeps/x86_64/x32/nptl/tls.h: Use #include_next.
2165 2014-06-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2167 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2169 2014-06-11 Joseph Myers <joseph@codesourcery.com>
2171 * conform/data/sys/mman.h-data [POSIX] (size_t): Do not require
2173 [POSIX] (off_t): Likewise.
2174 * conform/data/sys/stat.h-data (S_IRGRP): Require constant.
2175 [POSIX] (S_ISBLK): Require macro.
2176 [POSIX] (S_ISCHR): Likewise.
2177 [POSIX] (S_ISDIR): Likewise.
2178 [POSIX] (S_ISFIFO): Likewise.
2179 [POSIX] (S_ISREG): Likewise.
2180 [POSIX || XPG3 || XPG4 || UNIX98] (S_TYPEISTMO): Do not list
2182 * conform/data/sys/types.h-data [POSIX] (blkcnt_t): Do not require
2184 [POSIX] (time_t): Likewise.
2185 [POSIX] (timer_t): Likewise.
2187 2014-06-11 Florian Weimer <fweimer@redhat.com>
2190 * posix/spawn_int.h (struct __spawn_action): Make the path string
2191 non-const to support deallocation.
2192 * posix/spawn_faction_addopen.c
2193 (posix_spawn_file_actions_addopen): Make a copy of the pathname.
2194 * posix/spawn_faction_destroy.c
2195 (posix_spawn_file_actions_destroy): Adjust comment. Deallocate
2196 path in all spawn_do_open actions.
2197 * posix/tst-spawn.c (do_test): Exercise the copy operation in
2198 posix_spawn_file_actions_addopen.
2200 2014-06-11 Chris Metcalf <cmetcalf@tilera.com>
2202 * sysdeps/unix/sysv/linux/tile/pt-vfork.c: New file.
2203 * sysdeps/unix/sysv/linux/tile/pt-vfork.S: Remove file.
2204 * sysdeps/unix/sysv/linux/tile/vfork.S (__vfork): Make PT_VFORK
2205 conditional code always true.
2206 (__libc_vfork): New alias.
2208 2014-06-11 Roland McGrath <roland@hack.frob.com>
2210 * sysdeps/tile/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
2211 * sysdeps/unix/sysv/linux/tile/createthread.c: File removed.
2213 * nptl/sysdeps/s390/tls.h (TLS_DEFINE_INIT_TP): New macro.
2215 * sysdeps/alpha/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
2216 * sysdeps/unix/sysv/linux/alpha/createthread.c: File removed.
2218 * nptl/sysdeps/powerpc/tls.h (TLS_DEFINE_INIT_TP): New macro.
2219 * sysdeps/unix/sysv/linux/powerpc/createthread.c: File removed.
2221 * sysdeps/aarch64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
2222 * sysdeps/unix/sysv/linux/aarch64/nptl/createthread.c: File removed.
2224 2014-06-11 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
2226 * sysdeps/powerpc/powerpc64/power7/strcmp.S: New file: Optimization.
2227 * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: New file:
2228 multiarch strcmp for PPC64.
2229 * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: New file.
2230 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power7.S: New file.
2231 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcmp
2232 multiarch optimizations.
2233 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
2234 (__libc_ifunc_impl_list): Likewise.
2236 2014-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
2238 * benchtests/scripts/validate_benchout.py: New script.
2239 * benchtests/Makefile (bench-func): Call it.
2240 * benchtests/scripts/benchout.schema.json: New file.
2242 2014-06-10 Chris Metcalf <cmetcalf@tilera.com>
2244 * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h: Moved ...
2245 * sysdeps/tile/nptl/bits/pthreadtypes.h: ... here.
2246 * sysdeps/unix/sysv/linux/tile/nptl/bits/semaphore.h: Moved ...
2247 * sysdeps/tile/nptl/bits/semaphore.h: ... here.
2248 * sysdeps/unix/sysv/linux/tile/nptl/Makefile: Removed, merged into ...
2249 * sysdeps/unix/sysv/linux/tile/Makefile: ... here.
2250 * sysdeps/unix/sysv/linux/tile/nptl/clone.S: Moved ...
2251 * sysdeps/unix/sysv/linux/tile/clone.S: ... here.
2252 * sysdeps/unix/sysv/linux/tile/nptl/createthread.c: Moved ...
2253 * sysdeps/unix/sysv/linux/tile/createthread.c: ... here.
2254 * sysdeps/unix/sysv/linux/tile/nptl/lowlevellock.h: Moved ...
2255 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: ... here.
2256 * sysdeps/unix/sysv/linux/tile/nptl/pt-vfork.S: Moved ...
2257 * sysdeps/unix/sysv/linux/tile/pt-vfork.S: ... here.
2258 * sysdeps/unix/sysv/linux/tile/nptl/sysdep-cancel.h: Moved ...
2259 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: ... here.
2260 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/c++-types.data:
2262 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/c++-types.data:
2264 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/ld.abilist:
2266 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/ld.abilist: ... here.
2267 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libBrokenLocale.abilist:
2269 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libBrokenLocale.abilist:
2271 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libanl.abilist:
2273 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libanl.abilist:
2275 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libc.abilist:
2277 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: ... here.
2278 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libcrypt.abilist:
2280 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libcrypt.abilist:
2282 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libdl.abilist:
2284 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libdl.abilist:
2286 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libm.abilist:
2288 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: ... here.
2289 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libnsl.abilist:
2291 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libnsl.abilist:
2293 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libpthread.abilist:
2295 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libpthread.abilist:
2297 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libresolv.abilist:
2299 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libresolv.abilist:
2301 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/librt.abilist:
2303 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/librt.abilist: ... here.
2304 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libthread_db.abilist:
2306 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libthread_db.abilist:
2308 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libutil.abilist:
2310 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libutil.abilist:
2312 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/c++-types.data:
2314 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/c++-types.data:
2316 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/ld.abilist:
2318 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/ld.abilist: ... here.
2319 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libBrokenLocale.abilist:
2321 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libBrokenLocale.abilist:
2323 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libanl.abilist:
2325 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libanl.abilist:
2327 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libc.abilist:
2329 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: ... here.
2330 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libcrypt.abilist:
2332 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libcrypt.abilist:
2334 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libdl.abilist:
2336 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libdl.abilist: ... here.
2337 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libm.abilist:
2339 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist: ... here.
2340 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libnsl.abilist:
2342 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libnsl.abilist:
2344 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libpthread.abilist:
2346 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libpthread.abilist:
2348 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libresolv.abilist:
2350 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libresolv.abilist:
2352 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/librt.abilist:
2354 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/librt.abilist: ... here.
2355 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libthread_db.abilist:
2357 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libthread_db.abilist:
2359 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libutil.abilist:
2361 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libutil.abilist:
2363 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/c++-types.data: Moved ...
2364 * sysdeps/unix/sysv/linux/tile/tilepro/c++-types.data: ... here.
2365 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/ld.abilist: Moved ...
2366 * sysdeps/unix/sysv/linux/tile/tilepro/ld.abilist: ... here.
2367 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libBrokenLocale.abilist:
2369 * sysdeps/unix/sysv/linux/tile/tilepro/libBrokenLocale.abilist:
2371 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libanl.abilist: Moved ...
2372 * sysdeps/unix/sysv/linux/tile/tilepro/libanl.abilist: ... here.
2373 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libc.abilist: Moved ...
2374 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: ... here.
2375 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libcrypt.abilist: Moved ...
2376 * sysdeps/unix/sysv/linux/tile/tilepro/libcrypt.abilist: ... here.
2377 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libdl.abilist: Moved ...
2378 * sysdeps/unix/sysv/linux/tile/tilepro/libdl.abilist: ... here.
2379 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libm.abilist: Moved ...
2380 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: ... here.
2381 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libnsl.abilist: Moved ...
2382 * sysdeps/unix/sysv/linux/tile/tilepro/libnsl.abilist: ... here.
2383 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libpthread.abilist:
2385 * sysdeps/unix/sysv/linux/tile/tilepro/libpthread.abilist: ... here.
2386 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libresolv.abilist:
2388 * sysdeps/unix/sysv/linux/tile/tilepro/libresolv.abilist: ... here.
2389 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/librt.abilist: Moved ...
2390 * sysdeps/unix/sysv/linux/tile/tilepro/librt.abilist: ... here.
2391 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libthread_db.abilist:
2393 * sysdeps/unix/sysv/linux/tile/tilepro/libthread_db.abilist: ... here.
2394 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libutil.abilist: Moved ...
2395 * sysdeps/unix/sysv/linux/tile/tilepro/libutil.abilist: ... here.
2396 * sysdeps/unix/sysv/linux/tile/nptl/vfork.S: Moved ...
2397 * sysdeps/unix/sysv/linux/tile/vfork.S: ... here.
2398 * sysdeps/unix/sysv/linux/tile/nptl/waitpid.S: Moved ...
2399 * sysdeps/unix/sysv/linux/tile/waitpid.S: ... here.
2401 2014-06-10 Wilco <wdijkstr@arm.com>
2403 * math/test-fenv-return.c: New file.
2404 * math/Makefile: Add new test test-fenv-return.
2406 2014-06-10 Joseph Myers <joseph@codesourcery.com>
2409 * sysdeps/i386/fpu/e_log2.S (__ieee754_log2): Take absolete value
2411 * sysdeps/i386/fpu/e_log2f.S (__ieee754_log2f): Likewise.
2412 * sysdeps/i386/fpu/e_log2l.S (__ieee754_log2l): Likewise.
2413 * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Return
2414 0.0L for an argument of 1.0L.
2415 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l):
2417 * sysdeps/x86_64/fpu/e_log2l.S (__ieee754_log2l): Take absolute
2418 value when x - 1 is zero.
2419 * math/libm-test.inc (log2_test): Use ALL_RM_TEST.
2420 * sysdeps/i386/fpu/libm-test-ulps: Update.
2421 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2423 2014-06-09 Bernard Ogden <bernie.ogden@linaro.org>
2426 * ports/sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.c: Remove file.
2428 2014-06-09 Roland McGrath <roland@hack.frob.com>
2430 * nptl/sysdeps/sh/tls.h (TLS_DEFINE_INIT_TP): New macro.
2431 * nptl/sysdeps/unix/sysv/linux/sh/createthread.c: File removed.
2433 2014-06-09 Roland McGrath <roland@hack.frob.com>
2435 * sysdeps/m68k/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
2436 * sysdeps/unix/sysv/linux/m68k/nptl/createthread.c: File removed.
2438 * sysdeps/hppa/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
2439 * sysdeps/unix/sysv/linux/hppa/nptl/createthread.c: File removed.
2441 * sysdeps/mips/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
2442 * sysdeps/unix/sysv/linux/mips/nptl/createthread.c: File removed.
2444 * sysdeps/arm/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
2445 * sysdeps/unix/sysv/linux/arm/createthread.c: File removed.
2447 * nptl/sysdeps/pthread/createthread.c (TLS_DEFINE_INIT_TP): New macro,
2448 if not already defined.
2449 (do_clone): Use that in place of PREPARE_CREATE and TLS_VALUE.
2450 * nptl/sysdeps/x86_64/tls.h (TLS_DEFINE_INIT_TP): New macro.
2451 * nptl/sysdeps/i386/tls.h (tls_fill_user_desc): New function.
2452 (TLS_INIT_TP): Use it.
2453 (TLS_DEFINE_INIT_TP): New macro.
2454 * sysdeps/unix/sysv/linux/i386/createthread.c: File removed.
2456 2014-06-09 Joseph Myers <joseph@codesourcery.com>
2458 * conform/data/termios.h-data [POSIX] (IUCLC): Do not expect
2460 [POSIX] (IXANY): Likewise.
2461 [POSIX] (OLCUC): Likewise.
2462 [POSIX || POSIX2008] (CBAUD): Do not allow.
2463 [POSIX || POSIX2008] (DEFECHO): Likewise.
2464 [POSIX || POSIX2008] (ECHOCTL): Likewise.
2465 [POSIX || POSIX2008] (ECHOKE): Likewise.
2466 [POSIX || POSIX2008] (ECHOPRT): Likewise.
2467 [POSIX || POSIX2008] (EXTA): Likewise.
2468 [POSIX || POSIX2008] (EXTB): Likewise.
2469 [POSIX || POSIX2008] (FLUSHO): Likewise.
2470 [POSIX || POSIX2008] (LOBLK): Likewise.
2471 [POSIX || POSIX2008] (PENDIN): Likewise.
2472 [POSIX || POSIX2008] (SWTCH): Likewise.
2473 [POSIX || POSIX2008] (VDISCARD): Likewise.
2474 [POSIX || POSIX2008] (VDSUSP): Likewise.
2475 [POSIX || POSIX2008] (VLNEXT): Likewise.
2476 [POSIX || POSIX2008] (VREPRINT): Likewise.
2477 [POSIX || POSIX2008] (VSTATUS): Likewise.
2478 [POSIX || POSIX2008] (VWERASE): Likewise.
2479 (B*): Change to B[0123456789]*.
2480 * conform/data/time.h-data [POSIX || UNIX98]
2481 (CLOCK_PROCESS_CPUTIME_ID): Do not expect constant.
2482 [POSIX || UNIX98] (CLOCK_THREAD_CPUTIME_ID): Likewise.
2483 [POSIX || UNIX98] (CLOCK_MONOTONIC): Likewise.
2484 [POSIX] (tm_*): Do not allow.
2486 2014-06-07 Joseph Myers <joseph@codesourcery.com>
2488 * Makefile (install): Don't set LANGUAGE.
2489 * Makefile.in (install): Likewise.
2490 * assert/Makefile (test-assert-ENV): Remove variable.
2491 (test-assert-perr-ENV): Likewise.
2492 * elf/Makefile (neededtest4-ENV): Likewise.
2493 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
2494 [$(cross-compiling) = no]: Don't set LANGUAGE.
2495 * io/ftwtest-sh (LANG): Remove variable.
2496 * libio/Makefile (tst-widetext-ENV): Likewise.
2497 * manual/install.texi (Running make install): Don't refer to
2498 environment settings for make install.
2499 * INSTALL: Regenerated.
2500 * nptl/tst-tls6.sh: Don't set LANG.
2501 * posix/globtest.sh (LANG): Remove variable.
2502 * string/Makefile (tester-ENV): Likewise.
2503 (inl-tester-ENV): Likewise.
2504 (noinl-tester-ENV): Likewise.
2505 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
2506 [$(cross-compiling) = no]: Don't set LANGUAGE.
2507 * timezone/Makefile (build-testdata): Use $(built-program-cmd)
2508 without explicit environment settings.
2510 2014-06-06 Roland McGrath <roland@hack.frob.com>
2512 * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h: Moved ...
2513 * sysdeps/sh/nptl/bits/pthreadtypes.h: ... here.
2514 * nptl/sysdeps/unix/sysv/linux/sh/bits/semaphore.h: Moved ...
2515 * sysdeps/sh/nptl/bits/semaphore.h: ... here.
2517 2014-06-06 Chris Metcalf <cmetcalf@tilera.com>
2519 * crypt/crypt-private.h [DOS]: Add some includes taken from the
2520 other files in the crypt directory.
2521 * crypt/crypt.c: Remove duplicate includes.
2522 * crypt/crypt-entry.c: Likewise.
2523 * crypt/crypt_util.c: Likewise.
2525 2014-06-06 Joseph Myers <joseph@codesourcery.com>
2527 * Makeconfig (run-program-env): New variable.
2528 (run-program-prefix-before-env): Likewise.
2529 (run-program-prefix-after-env): Likewise.
2530 (run-program-prefix): Define in terms of new variables.
2531 (built-program-cmd-before-env): New variable.
2532 (built-program-cmd-after-env): Likewise.
2533 (built-program-cmd): Define in terms of new variables.
2534 (test-program-prefix-before-env): New variable.
2535 (test-program-prefix-after-env): Likewise.
2536 (test-program-prefix): Define in terms of new variables.
2537 (test-program-cmd-before-env): New variable.
2538 (test-program-cmd-after-env): Likewise.
2539 (test-program-cmd): Define in terms of new variables.
2540 * Rules (make-test-out): Use $(run-program-env).
2541 * scripts/cross-test-ssh.sh (env_blacklist): Remove variable.
2542 (help): Do not mention environment variables. Mention
2543 --timeoutfactor option.
2544 (timeoutfactor): New variable.
2545 (blacklist_exports): Remove function.
2546 (exports): Remove variable.
2547 (command): Do not include ${exports}.
2548 * manual/install.texi (Configuring and compiling): Do not mention
2549 test wrappers preserving environment variables. Mention that last
2550 assignment to a variable must take precedence.
2551 * INSTALL: Regenerated.
2552 * benchtests/Makefile (run-bench): Use $(run-program-env).
2553 * catgets/Makefile ($(objpfx)test1.cat): Use
2554 $(built-program-cmd-before-env), $(run-program-env) and
2555 $(built-program-cmd-after-env).
2556 ($(objpfx)test2.cat): Do not specify environment variables
2558 ($(objpfx)de/libc.cat): Use $(built-program-cmd-before-env),
2559 $(run-program-env) and $(built-program-cmd-after-env).
2560 ($(objpfx)test-gencat.out): Use $(test-program-cmd-before-env),
2561 $(run-program-env) and $(test-program-cmd-after-env).
2562 ($(objpfx)sample.SJIS.cat): Do not specify environment variables
2564 * catgets/test-gencat.sh: Use test_program_cmd_before_env,
2565 run_program_env and test_program_cmd_after_env arguments.
2566 * elf/Makefile ($(objpfx)tst-pathopt.out): Use $(run-program-env).
2567 * elf/tst-pathopt.sh: Use run_program_env argument.
2568 * iconvdata/Makefile ($(objpfx)iconv-test.out): Use
2569 $(test-wrapper-env) and $(run-program-env).
2570 * iconvdata/run-iconv-test.sh: Use test_wrapper_env and
2571 run_program_env arguments.
2572 * iconvdata/tst-table.sh: Do not set GCONV_PATH explicitly.
2573 * intl/Makefile ($(objpfx)tst-gettext.out): Use
2574 $(test-program-prefix-before-env), $(run-program-env) and
2575 $(test-program-prefix-after-env).
2576 ($(objpfx)tst-gettext2.out): Likewise.
2577 * intl/tst-gettext.sh: Use test_program_prefix_before_env,
2578 run_program_env and test_program_prefix_after_env arguments.
2579 * intl/tst-gettext2.sh: Likewise.
2580 * intl/tst-gettext4.sh: Do not set environment variables
2582 * intl/tst-gettext6.sh: Likewise.
2583 * intl/tst-translit.sh: Likewise.
2584 * malloc/Makefile ($(objpfx)tst-mtrace.out): Use
2585 $(test-program-prefix-before-env), $(run-program-env) and
2586 $(test-program-prefix-after-env).
2587 * malloc/tst-mtrace.sh: Use test_program_prefix_before_env,
2588 run_program_env and test_program_prefix_after_env arguments.
2589 * math/Makefile (run-regen-ulps): Use $(run-program-env).
2590 * nptl/Makefile ($(objpfx)tst-tls6.out): Use $(run-program-env).
2591 * nptl/tst-tls6.sh: Use run_program_env argument. Set LANG=C
2592 explicitly with each use of ${test_wrapper_env}.
2593 * posix/Makefile ($(objpfx)wordexp-tst.out): Use
2594 $(test-program-prefix-before-env), $(run-program-env) and
2595 $(test-program-prefix-after-env).
2596 * posix/tst-getconf.sh: Do not set environment variables
2598 * posix/wordexp-tst.sh: Use test_program_prefix_before_env,
2599 run_program_env and test_program_prefix_after_env arguments.
2600 * stdio-common/tst-printf.sh: Do not set environment variables
2602 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Use
2603 $(test-program-prefix-before-env), $(run-program-env) and
2604 $(test-program-prefix-after-env).
2605 * stdlib/tst-fmtmsg.sh: Use test_program_prefix_before_env,
2606 run_program_env and test_program_prefix_after_env arguments.
2607 Split $test calls into $test_pre and $test.
2608 * timezone/Makefile (build-testdata): Use
2609 $(built-program-cmd-before-env), $(run-program-env) and
2610 $(built-program-cmd-after-env).
2612 2014-06-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2614 * sysdeps/powerpc/powerpc64/power7/strncat.S [STRLEN]: Define it as
2615 strlen for non SHARED builds.
2617 2014-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
2619 * nptl/allocatestack.c (check_list): Inlined function...
2620 (__reclaim_stacks): ... here.
2622 2014-06-05 Ondřej Bílka <neleai@seznam.cz>
2625 * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
2628 2014-06-05 Joseph Myers <joseph@codesourcery.com>
2630 * Rules (make-test-out): Include
2631 LOCPATH=$(common-objpfx)localedata in default environment.
2632 * debug/Makefile (tst-chk1-ENV): Remove variable.
2633 (tst-chk2-ENV): Likewise.
2634 (tst-chk3-ENV): Likewise.
2635 (tst-chk4-ENV): Likewise.
2636 (tst-chk5-ENV): Likewise.
2637 (tst-chk6-ENV): Likewise.
2638 (tst-lfschk1-ENV): Likewise.
2639 (tst-lfschk2-ENV): Likewise.
2640 (tst-lfschk3-ENV): Likewise.
2641 (tst-lfschk4-ENV): Likewise.
2642 (tst-lfschk5-ENV): Likewise.
2643 (tst-lfschk6-ENV): Likewise.
2644 * iconvdata/Makefile (bug-iconv6-ENV): Likewise.
2645 (tst-iconv7-ENV): Likewise.
2646 * intl/Makefile (LOCPATH-ENV): Likewise.
2647 (tst-codeset-ENV): Likewise.
2648 (tst-gettext3-ENV): Likewise.
2649 (tst-gettext5-ENV): Likewise.
2650 * libio/Makefile (tst-widetext-ENV): Don't set LOCPATH.
2651 (tst-fopenloc-ENV): Likewise.
2652 (tst-fgetws-ENV): Remove variable.
2653 (tst-ungetwc1-ENV): Likewise.
2654 (tst-ungetwc2-ENV): Likewise.
2655 (bug-ungetwc2-ENV): Likewise.
2656 (tst-swscanf-ENV): Likewise.
2657 (bug-ftell-ENV): Likewise.
2658 (tst-fgetwc-ENV): Likewise.
2659 (tst-fseek-ENV): Likewise.
2660 (tst-ftell-partial-wide-ENV): Likewise.
2661 (tst-ftell-active-handler-ENV): Likewise.
2662 (tst-ftell-append-ENV): Likewise.
2663 * posix/Makefile (tst-fnmatch-ENV): Likewise.
2664 (tst-regexloc-ENV): Likewise.
2665 (bug-regex1-ENV): Likewise.
2666 (tst-regex-ENV): Likewise.
2667 (tst-regex2-ENV): Likewise.
2668 (bug-regex5-ENV): Likewise.
2669 (bug-regex6-ENV): Likewise.
2670 (bug-regex17-ENV): Likewise.
2671 (bug-regex18-ENV): Likewise.
2672 (bug-regex19-ENV): Likewise.
2673 (bug-regex20-ENV): Likewise.
2674 (bug-regex22-ENV): Likewise.
2675 (bug-regex23-ENV): Likewise.
2676 (bug-regex25-ENV): Likewise.
2677 (bug-regex26-ENV): Likewise.
2678 (bug-regex30-ENV): Likewise.
2679 (bug-regex32-ENV): Likewise.
2680 (bug-regex33-ENV): Likewise.
2681 (bug-regex34-ENV): Likewise.
2682 (bug-regex35-ENV): Likewise.
2683 (tst-rxspencer-ENV): Likewise.
2684 (tst-rxspencer-no-utf8-ENV): Likewise.
2685 * stdio-common/Makefile (tst-sprintf-ENV): Likewise.
2686 (tst-sscanf-ENV): Likewise.
2687 (tst-swprintf-ENV): Likewise.
2688 (tst-swscanf-ENV): Likewise.
2689 (test-vfprintf-ENV): Likewise.
2690 (scanf13-ENV): Likewise.
2691 (bug14-ENV): Likewise.
2692 (tst-grouping-ENV): Likewise.
2693 * stdlib/Makefile (tst-strtod-ENV): Likewise.
2694 (tst-strtod3-ENV): Likewise.
2695 (tst-strtod4-ENV): Likewise.
2696 (tst-strtod5-ENV): Likewise.
2697 (testmb2-ENV): Likewise./
2698 * string/Makefile (tst-strxfrm-ENV): Likewise.
2699 (tst-strxfrm2-ENV): Likewise.
2700 (bug-strcoll1-ENV): Likewise.
2701 (test-strcasecmp-ENV): Likewise.
2702 (test-strncasecmp-ENV): Likewise.
2703 * time/Makefile (tst-strptime-ENV): Likewise.
2704 (tst-ftime_l-ENV): Likewise.
2705 * wcsmbs/Makefile (tst-btowc-ENV): Likewise.
2706 (tst-mbrtowc-ENV): Likewise.
2707 (tst-wcrtomb-ENV): Likewise.
2708 (tst-mbrtowc2-ENV): Likewise.
2709 (tst-c16c32-1-ENV): Likewise.
2710 (tst-mbsnrtowcs-ENV): Likewise.
2712 2014-06-05 Ondřej Bílka <neleai@seznam.cz>
2714 * manual/resource.texi (How to get information about the memory
2715 subsystem?): Fix typo.
2716 Reported by Peon de la Parra Ivan <peon@keba.com>
2718 2014-06-03 Guo Yixuan <culu.gyx@gmail.com>
2721 * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S
2722 (pthread_spin_lock): Branch out of spin loop to proper location.
2723 * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S
2724 (pthread_spin_lock): Likewise.
2726 * nptl/tst-spin4.c: New test.
2727 * nptl/Makefile (tests): Add tst-spin4.
2729 2014-06-03 Andreas Schwab <schwab@suse.de>
2732 * resolv/res_send.c (send_dg): Reload file descriptor after
2735 2014-06-03 Stefan Liebler <stli@linux.vnet.ibm.com>
2737 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
2739 2014-06-03 Richard Henderson <rth@redhat.com>
2741 * sysdeps/unix/sysv/linux/aarch64/pt-vfork.c: New file.
2742 * sysdeps/unix/sysv/linux/aarch64/nptl/pt-vfork.S: Remove file.
2743 * sysdeps/unix/sysv/linux/aarch64/vfork.S (__vfork): Incorporate
2744 SAVE_PID and RESTORE_PID blocks from pt-vfork.S. Map 0 to INT_MIN
2745 in the SAVE_PID block.
2746 (__libc_vfork): New alias.
2747 * sysdeps/unix/sysv/linux/aarch64/nptl/vfork.S: Remove file.
2749 * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Save args for
2750 child in registers, not on the stack. Remove RESET_PID conditionals.
2751 * sysdeps/unix/sysv/linux/aarch64/nptl/clone.S: Remove file.
2753 2014-06-03 Marcus Shawcroft <marcus.shawcroft@arm.com>
2755 * sysdeps/aarch64/libm-test-ulps: Regenerate.
2757 2014-06-03 Wilco <wdijkstr@arm.com>
2759 * sysdeps/aarch64/fpu/math_private.h (libc_fesetround_aarch64)
2760 (libc_feholdexcept_setround_aarch64) (libc_feholdsetround_aarch64)
2761 (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
2762 Use _FPU_FPCR_RM_MASK for rounding mask rather than FE_TOWARDZERO.
2763 * sysdeps/aarch64/fpu/get-rounding-mode.h (get_rounding_mode):
2766 2014-06-03 Wilco <wdijkstr@arm.com>
2768 * sysdeps/aarch64/fpu/math_private.h
2769 (libc_feholdexcept_aarch64) (libc_feholdexcept_setround_aarch64)
2770 (libc_fetestexcept_aarch64) (libc_fesetenv_aarch64)
2771 (libc_feupdateenv_test_aarch64) (libc_feholdsetround_aarch64)
2772 (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
2775 2014-06-03 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
2777 * crypt/crypt-private.h: Include ufc-crypt.h.
2778 (__b64_from_24bit): Declare extern.
2779 * crypt/crypt_util.c(__b64_from_24bit): New function.
2780 (b64t): New static const variable.
2781 * crypt/md5-crypt.c (b64_from_24bit): Remove function.
2782 (b64t): Remove variable.
2783 (__md5_crypt_r): Replace b64_from_24bit with __b64_from_24bit.
2784 * crypt/sha256-crypt.c: Include crypt-private.h.
2785 (b64t): Remove variable.
2786 (__sha256_crypt_r): Remove b64_from_24bit and replace
2787 with __b64_from_24bit.
2788 * crypt/sha512-crypt.c: Likewise.
2790 2014-06-02 Roland McGrath <roland@hack.frob.com>
2792 * nptl/sysdeps/unix/sysv/linux/sh/vfork.S: Moved ...
2793 * sysdeps/unix/sysv/linux/sh/vfork.S: ... here.
2794 Label the code __libc_vfork rather than __vfork.
2795 [!NOT_IN_libc] (vfork): Define as weak alias.
2796 [!NOT_IN_libc] (__vfork): Define as strong alias, and libc_hidden_def.
2797 * sysdeps/unix/sysv/linux/sh/pt-vfork.S: New file.
2798 * nptl/sysdeps/unix/sysv/linux/sh/pt-vfork.S: File removed.
2800 2014-06-02 Siddhesh Poyarekar <siddhesh@redhat.com>
2802 * malloc/malloc.c (malloc_info): Fix format specifier for
2805 2014-06-02 Wilco <wdijkstr@arm.com>
2807 * sysdeps/aarch64/fpu/fpu_control.h (_FPU_SETCW): Remove ISB after
2810 2014-06-02 Wilco <wdijkstr@arm.com>
2813 * sysdeps/aarch64/fpu/feupdateenv (feupdateenv):
2814 Rewrite to reduce FPCR/FPSR accesses.
2816 2014-06-01 David S. Miller <davem@davemloft.net>
2818 * sysdeps/sparc/fpu/libm-test-ulps: Update.
2820 2014-05-31 David S. Miller <davem@davemloft.net>
2822 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Force computations
2823 to occur in round to nearest mode when |x| >= 2.0
2825 2014-05-30 Richard Henderson <rth@twiddle.net>
2827 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Remove.
2828 (PSEUDO_RET_NOERRNO): Remove.
2829 (ret): Don't redefine.
2830 (ret_NOERRNO): Define in terms of ret.
2831 (ret_ERRVAL): Likewise.
2833 * sysdeps/unix/sysv/linux/aarch64/ioctl.S (__ioctl): Remove the
2834 use of PSEUDO_RET; perform the error check directly.
2836 2014-05-30 Marko Myllynen <myllynen@redhat.com>
2838 * sysdeps/x86_64/link-defines.sym (BND_SIZE): Replace __int128
2841 2014-05-30 Siddhesh Poyarekar <siddhesh@redhat.com>
2843 * malloc/malloc (malloc_info): Fix formatting.
2845 2014-05-30 Siddhesh Poyarekar <siddhesh@redhat.com>
2846 Roland McGrath <roland@hack.frob.com>
2848 * malloc/malloc (malloc_info): Also print mmapped statistics.
2850 2014-05-30 Roland McGrath <roland@hack.frob.com>
2852 * sysdeps/unix/sysv/linux/m68k/arch-fork.h: New file.
2853 * sysdeps/unix/sysv/linux/m68k/nptl/fork.c: File removed.
2855 2014-05-30 Ondřej Bílka <neleai@seznam.cz>
2857 * malloc/malloc.c (malloc_info): Inline mi_arena.
2859 2014-05-29 Richard Henderson <rth@twiddle.net>
2861 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INTERNAL_VSYSCALL_NCS):
2862 Remove comma before expanding ASM_ARGS_##nr.
2863 (INTERNAL_SYSCALL_RAW): Make _sys_result signed, instead of casting.
2864 Make _x0 a strict output; make _x8 a strict input; adjust expansion
2866 (CLOBBER_ARGS_0, CLOBBER_ARGS_1, CLOBBER_ARGS_2): Remove.
2867 (CLOBBER_ARGS_3, CLOBBER_ARGS_4, CLOBBER_ARGS_5): Remove.
2868 (CLOBBER_ARGS_6, CLOBBER_ARGS_7): Remove.
2869 (ASM_ARGS_1): Add leading comma.
2871 * sysdeps/unix/sysv/linux/aarch64/sysdep.h [NOT_IN_libc]
2872 (SYSCALL_ERROR_HANDLER): Use tpidr_el0 instead of a call
2873 to __errno_location.
2874 * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data (libpthread.so):
2875 Remove the expected plt for __errno_location.
2877 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
2878 [NOT_IN_libc] (SINGLE_THREAD_P): Use tpidr_el0 instead of a
2881 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
2882 Always allocate 64 bytes of stack frame. Use ldp/stp to create
2883 it and break it down.
2884 (DOCARGS_0, DOCARGS_1): Do nothing.
2885 (DOCARGS_2): Update to store into the new stack frame.
2886 (DOCARGS_3, DOCARGS_4, DOCARGS_5, DOCARGS_6): Likewise.
2887 (UNDOCARGS_1): Update to restore from the new stack frame.
2888 (UNDOCARGS_2, UNDOCARGS_3, UNDOCARGS_4): Likewise.
2889 (UNDOCARGS_5, UNDOCARGS_6): Likewise.
2891 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
2892 (SINGLE_THREAD_P): New parameter for result regno.
2893 (PSEUDO): Update to match; use cbz instead of beq.
2895 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
2896 Use ENTRY to define the _nocancel entry point. Share the syscall
2897 and syscall error check paths with the cancel path.
2900 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Adjust
2901 whitespace; tabs before and after asm mnemonics.
2903 2014-05-29 Eric Wong <normalperson@yhbt.net>
2906 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
2907 Call fstat64 or stat64 internally, depending on arguments passed.
2908 Replace stat buffer argument with file descriptor argument.
2909 (INTERNAL_STATVFS): Update arguments to match __statvfs_getflags.
2910 * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
2911 Pass fd to __internal_statvfs instead of calling fstat64.
2912 * sysdeps/unix/sysv/linux/fstatvfs64.c (__fstatvfs64):
2913 Pass fd to __internal_statvfs64 instead of calling fstat64.
2914 * sysdeps/unix/sysv/linux/statvfs.c (statvfs):
2915 Pass -1 to __internal_statvfs instead of calling stat64.
2916 * sysdeps/unix/sysv/linux/statvfs64.c (__statvfs64):
2917 Pass -1 to __internal_statvfs64 instead of calling stat64.
2919 2014-05-28 Roland McGrath <roland@hack.frob.com>
2921 * sysdeps/unix/sysv/linux/sh/clone.S: Deconditionalize the code
2922 that was previously under [RESET_PID].
2923 * nptl/sysdeps/unix/sysv/linux/sh/clone.S: File removed.
2925 * sysdeps/unix/sysv/linux/tile/arch-fork.h: New file.
2926 * sysdeps/unix/sysv/linux/tile/nptl/fork.c: File removed.
2928 2014-05-27 Roland McGrath <roland@hack.frob.com>
2930 * sysdeps/unix/sysv/linux/ia64/arch-fork.h: New file.
2932 * sysdeps/unix/sysv/linux/sh/arch-fork.h: New file.
2933 * nptl/sysdeps/unix/sysv/linux/sh/fork.c: File removed.
2935 2014-05-27 Ondřej Bílka <neleai@seznam.cz>
2937 * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate code.
2939 2014-05-27 Andreas Schwab <schwab@suse.de>
2941 * csu/libc-tls.c (__libc_setup_tls): Remove second argument from
2943 * elf/dl-load.c (_dl_map_object_from_fd): Likewise.
2944 * elf/rtld.c (init_tls, dl_main): Likewise.
2945 * nptl/sysdeps/i386/tls.h (TLS_INIT_TP): Likewise.
2946 * nptl/sysdeps/powerpc/tls.h (TLS_INIT_TP): Likewise.
2947 * nptl/sysdeps/s390/tls.h (TLS_INIT_TP): Likewise.
2948 * nptl/sysdeps/sh/tls.h (TLS_INIT_TP): Likewise.
2949 * nptl/sysdeps/sparc/tls.h (TLS_INIT_TP): Likewise.
2950 * nptl/sysdeps/x86_64/tls.h (TLS_INIT_TP): Likewise.
2951 * sysdeps/aarch64/nptl/tls.h (TLS_INIT_TP): Likewise.
2952 * sysdeps/alpha/nptl/tls.h (TLS_INIT_TP): Likewise.
2953 * sysdeps/arm/nptl/tls.h (TLS_INIT_TP): Likewise.
2954 * sysdeps/hppa/nptl/tls.h (TLS_INIT_TP): Likewise.
2955 * sysdeps/ia64/nptl/tls.h (TLS_INIT_TP): Likewise.
2956 * sysdeps/m68k/nptl/tls.h (TLS_INIT_TP): Likewise.
2957 * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Likewise.
2958 * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Likewise.
2959 * sysdeps/mips/nptl/tls.h (TLS_INIT_TP): Likewise.
2960 * sysdeps/tile/nptl/tls.h (TLS_INIT_TP): Likewise.
2961 * sysdeps/generic/tls.h: Update description.
2963 2014-05-27 Will Newton <will.newton@linaro.org>
2966 * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save
2967 and restore r2 rather than just restoring.
2969 2014-05-27 Siddhesh Poyarekar <siddhesh@redhat.com>
2972 * libio/tst-ftell-append.c: New test case.
2973 * libio/Makefile (tests): Add test case.
2974 * libio/fileops.c (do_ftell): Don't trust _IO_read_end when in
2976 * libio/wfileops.c (do_ftell_wide): Likewise.
2978 2014-05-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2980 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2982 * nptl/sysdeps/unix/sysv/linux/powerpc/Versions: Remove, merge into
2984 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions: ... here.
2985 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
2986 * nptl/sysdeps/unix/sysv/linux/powerpc/Makefile: Moved rules to ...
2987 * sysdeps/unix/sysv/linux/powerpc/Makefile: ... here.
2988 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: Moved ...
2989 * sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: ... here.
2990 * nptl/sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Moved ...
2991 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: ...here.
2992 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
2994 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: ... here.
2995 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
2997 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: ... here.
2998 * nptl/sysdeps/unix/sysv/linux/powerpc/createthread.c: Moved ...
2999 * sysdeps/unix/sysv/linux/powerpc/createthread.c: ... here.
3000 * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Moved ...
3001 * sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: ... here.
3002 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: Moved
3004 * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: ... here.
3005 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c:
3007 * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c: ...
3009 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: Moved
3011 * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: ... here.
3012 * nptl/sysdeps/unix/sysv/linux/powerpc/sem_post.c: Moved ...
3013 * sysdeps/unix/sysv/linux/powerpc/sem_post.c: ... here.
3015 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Moved ...
3016 * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: ... here.
3017 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: Moved ...
3018 * sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: ... here.
3020 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Remove,
3022 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: ... here.
3023 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: Moved
3025 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: ... here.
3026 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: Moved
3028 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: ... here.
3029 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
3031 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c: ...
3033 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
3035 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c: ... here.
3036 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
3038 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c: ... here.
3040 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Remove
3041 conditional [RESET_PID].
3042 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Likewise.
3043 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: File
3045 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: File
3048 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Include
3050 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
3051 (__libc_vfork): New strong alias.
3052 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/pt-vfork.S: File
3054 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: File
3057 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Include
3059 (__vfork): Incorporate save/retore of PID from nptl/vfork.S here.
3060 (__libc_vfork): New strong alias.
3061 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/pt-vfork.S: File
3063 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: File
3066 2014-05-26 Carlos O'Donell <carlos@redhat.com>
3068 * malloc/malloc.c (mi_arena): New function.
3069 (malloc_info): Remove nested function mi_arena. Call non-nosted
3072 2014-05-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3074 * sysdeps/powerpc/powerpc32/power4/memset.S (memset): Replace insrdi
3076 * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Likewise.
3077 * sysdeps/powerpc/powerpc32/power7/memset.S (memset): Likewise.
3078 * sysdeps/powerpc/powerpc32/power7/memchr.S (memchr): Likewise.
3079 * sysdeps/powerpc/powerpc32/power7/memrchr.S (memrchr): Likewise.
3080 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S (rawmemchr): Likewise.
3081 * sysdeps/powerpc/powerpc32/power7/strchr.S (strchr): Likewise.
3082 * sysdeps/powerpc/powerpc32/power7/strchrnul.S (strchrnul): Likewise.
3084 2014-05-26 Andreas Schwab <schwab@suse.de>
3087 * locale/programs/repertoire.c (repertoire_read): Add slash
3088 between I18NPATH element and file name.
3089 * locale/programs/locfile.c (locfile_read): Likewise.
3091 2014-05-26 Stefan Liebler <stli@linux.vnet.ibm.com>
3093 * nptl/pthread_mutexattr_settype.c
3094 (__pthread_mutexattr_settype):
3095 Disable lock elision for PTHREAD_MUTEX_NORMAL.
3097 2014-05-26 Stefan Liebler <stli@linux.vnet.ibm.com>
3099 * nptl/tst-mutex5 (do_test):
3100 Use #ifndef ENABLE_LOCK_ELISION instead of #ifdef.
3102 2014-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
3104 * benchtests/README: Document 'init' directive.
3105 * benchtests/bench-skeleton.c (main) [BENCH_INIT]: Call
3107 * scripts/bench.py (gen_source): Define BENCH_INIT macro.
3108 (parse_file): Recognize 'init' directive.
3110 2014-05-26 Kyle McMartin <kyle@redhat.com>
3113 * sysdeps/aarch64/nptl/tls.h: increase TCB alignment to the
3114 alignment of struct pthread.
3116 2014-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
3119 * nscd/netgroupcache.c (addgetnetgrentX): Look for
3120 NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
3121 * nscd/nss_files/files-netgrp.c (_nss_netgroup_parseline): Use
3122 NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
3124 2014-05-25 Richard Henderson <rth@twiddle.net>
3126 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
3127 (SINGLE_THREAD_P_PIC): Remove.
3128 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h
3129 (SINGLE_THREAD_P_PIC): Remove.
3131 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Move
3132 branch to syscall error ...
3134 [NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Rename the label
3135 from __local_syscall_error to .Lsyscall_error.
3136 [!NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Branch to __syscall_error.
3137 (SYSCALL_ERROR): Update label name.
3139 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
3140 Do not use DOARGS/UNDOARGS.
3141 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Likewise.
3142 (DOARGS_0, DOARGS_1, DOARGS_2, DOARGS_3): Remove.
3143 (DOARGS_4, DOARGS_5, DOARGS_6, DOARGS_7): Remove.
3144 (UNDOARGS_0, UNDOARGS_1, UNDOARGS_2, UNDOARGS_3): Remove.
3145 (UNDOARGS_4, UNDOARGS_5, UNDOARGS_6, UNDOARGS_7): Remove.
3147 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Fix
3150 * sysdeps/unix/sysv/linux/alpha/vfork.S (vfork, __vfork): Only
3151 define if !NOT_IN_libc.
3152 * sysdeps/unix/sysv/linux/alpha/pt-vfork.S (vfork, __vfork): Only
3153 define with non-default symbol versions.
3155 2014-05-23 Richard Henderson <rth@twiddle.net>
3157 * nptl/pt-vfork.c (vfork_resolve): Rename from vfork_ifunc.
3158 (vfork, __vfork): Define via compat_symbol.
3160 * nptl/pt-vfork.c: Error if !HAVE_IFUNC.
3161 [!HAVE_IFUNC] (vfork_compat): Remove.
3162 [!HAVE_IFUNC] (DEFINE_VFORK): Remove.
3164 2014-05-23 Joseph Myers <joseph@codesourcery.com>
3167 * posix/tar.h [!__USE_XOPEN2K] (TSVTX): Define macro.
3168 * conform/Makefile (test-xfail-POSIX/tar.h/conform): Remove
3171 2014-05-23 Richard Henderson <rth@twiddle.net>
3173 * sysdeps/unix/sysv/linux/alpha/nptl/Makefile: Merge into...
3174 * sysdeps/unix/sysv/linux/alpha/Makefile: ... here.
3175 * sysdeps/unix/sysv/linux/alpha/nptl/Versions: Merge into...
3176 * sysdeps/unix/sysv/linux/alpha/Versions: ... here.
3178 * sysdeps/unix/sysv/linux/alpha/nptl/aio_cancel.c: Moved ...
3179 * sysdeps/unix/sysv/linux/alpha/aio_cancel.c: ... here.
3180 * sysdeps/unix/sysv/linux/alpha/nptl/bits/local_lim.h: Moved ...
3181 * sysdeps/unix/sysv/linux/alpha/bits/local_lim.h: ... here.
3182 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h: Moved ...
3183 * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h: ... here.
3184 * sysdeps/unix/sysv/linux/alpha/nptl/bits/semaphore.h: Moved ...
3185 * sysdeps/unix/sysv/linux/alpha/bits/semaphore.h: ... here.
3186 * sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data: Moved ...
3187 * sysdeps/unix/sysv/linux/alpha/c++-types.data: ... here.
3188 * sysdeps/unix/sysv/linux/alpha/nptl/createthread.c: Moved ...
3189 * sysdeps/unix/sysv/linux/alpha/createthread.c: ... here.
3190 * sysdeps/unix/sysv/linux/alpha/nptl/ld.abilist: Moved ...
3191 * sysdeps/unix/sysv/linux/alpha/ld.abilist: ... here.
3192 * sysdeps/unix/sysv/linux/alpha/nptl/libBrokenLocale.abilist: Moved ...
3193 * sysdeps/unix/sysv/linux/alpha/libBrokenLocale.abilist: ... here.
3194 * sysdeps/unix/sysv/linux/alpha/nptl/libanl.abilist: Moved ...
3195 * sysdeps/unix/sysv/linux/alpha/libanl.abilist: ... here.
3196 * sysdeps/unix/sysv/linux/alpha/nptl/libc.abilist: Moved ...
3197 * sysdeps/unix/sysv/linux/alpha/libc.abilist: ... here.
3198 * sysdeps/unix/sysv/linux/alpha/nptl/libcrypt.abilist: Moved ...
3199 * sysdeps/unix/sysv/linux/alpha/libcrypt.abilist: ... here.
3200 * sysdeps/unix/sysv/linux/alpha/nptl/libdl.abilist: Moved ...
3201 * sysdeps/unix/sysv/linux/alpha/libdl.abilist: ... here.
3202 * sysdeps/unix/sysv/linux/alpha/nptl/libm.abilist: Moved ...
3203 * sysdeps/unix/sysv/linux/alpha/libm.abilist: ... here.
3204 * sysdeps/unix/sysv/linux/alpha/nptl/libnsl.abilist: Moved ...
3205 * sysdeps/unix/sysv/linux/alpha/libnsl.abilist: ... here.
3206 * sysdeps/unix/sysv/linux/alpha/nptl/libpthread.abilist: Moved ...
3207 * sysdeps/unix/sysv/linux/alpha/libpthread.abilist: ... here.
3208 * sysdeps/unix/sysv/linux/alpha/nptl/libresolv.abilist: Moved ...
3209 * sysdeps/unix/sysv/linux/alpha/libresolv.abilist: ... here.
3210 * sysdeps/unix/sysv/linux/alpha/nptl/librt.abilist: Moved ...
3211 * sysdeps/unix/sysv/linux/alpha/librt.abilist: ... here.
3212 * sysdeps/unix/sysv/linux/alpha/nptl/libthread_db.abilist: Moved ...
3213 * sysdeps/unix/sysv/linux/alpha/libthread_db.abilist: ... here.
3214 * sysdeps/unix/sysv/linux/alpha/nptl/libutil.abilist: Moved ...
3215 * sysdeps/unix/sysv/linux/alpha/libutil.abilist: ... here.
3216 * sysdeps/unix/sysv/linux/alpha/nptl/localplt.data: Moved ...
3217 * sysdeps/unix/sysv/linux/alpha/localplt.data: ... here.
3218 * sysdeps/unix/sysv/linux/alpha/nptl/lowlevellock.h: Moved ...
3219 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: ... here.
3220 * sysdeps/unix/sysv/linux/alpha/nptl/sem_post.c: Moved ...
3221 * sysdeps/unix/sysv/linux/alpha/sem_post.c: ... here.
3222 * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h: Moved ...
3223 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: ... here.
3224 * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Moved ...
3225 * sysdeps/unix/sysv/linux/alpha/timer_create.c: ... here.
3226 * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Moved ...
3227 * sysdeps/unix/sysv/linux/alpha/timer_delete.c: ... here.
3228 * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Moved ...
3229 * sysdeps/unix/sysv/linux/alpha/timer_getoverr.c: ... here.
3230 * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Moved ...
3231 * sysdeps/unix/sysv/linux/alpha/timer_gettime.c: ... here.
3232 * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Moved ...
3233 * sysdeps/unix/sysv/linux/alpha/timer_settime.c: ... here.
3235 * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove vfork.
3236 * sysdeps/unix/sysv/linux/alpha/nptl/vfork.S: Move file ...
3237 * sysdeps/unix/sysv/linux/alpha/vfork.S: ... here. Restore PID
3238 before exiting on error.
3239 (__libc_vfork): New strong alias.
3240 * sysdeps/unix/sysv/linux/alpha/nptl/pt-vfork.S: Remove file.
3241 * sysdeps/unix/sysv/linux/alpha/pt-vfork.S: New file.
3243 * sysdeps/unix/sysv/linux/alpha/clone.S: Deconditionalize the code
3244 that was previously under [RESET_PID].
3245 * sysdeps/unix/sysv/linux/alpha/nptl/clone.S: File removed.
3247 * sysdeps/unix/sysv/linux/alpha/nptl/fork.c: Remove file.
3249 2014-05-23 Joseph Myers <joseph@codesourcery.com>
3252 * sysdeps/i386/fpu/e_log10.S (__ieee754_log10): Take absolute
3253 value when x - 1 is zero.
3254 * sysdeps/i386/fpu/e_log10f.S (__ieee754_log10f): Likewise.
3255 * sysdeps/i386/fpu/e_log10l.S (__ieee754_log10l): Likewise.
3256 * sysdeps/ieee754/ldbl-128/e_log10l.c (__ieee754_log10l): Return
3257 0.0L for an argument of 1.0L.
3258 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l):
3260 * sysdeps/x86_64/fpu/e_log10l.S (__ieee754_log10l): Take absolute
3261 value when x - 1 is zero.
3262 * math/libm-test.inc (log10_test): Use ALL_RM_TEST.
3263 * sysdeps/i386/fpu/libm-test-ulps: Update.
3264 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3266 2014-05-23 Rasmus Villemoes <rv@rasmusvillemoes.dk>
3268 * manual/filesys.texi (Scanning Directory Content): Fix prototype of
3269 alphasort and versionsort.
3271 2014-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3273 * sysdeps/powerpc/fpu/math_private.h [copysign]: Remove unneeded
3275 [copysignf]: Likewise.
3277 2014-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
3279 * crypt/md5-crypt.c: Fix formatting.
3281 2014-05-22 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
3283 * crypt/md5-crypt.c (__md5_crypt_r): Remove a nested function.
3284 (b64_from_24bit): New function.
3286 2014-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3288 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c (memchr): Remove
3289 libc_hidden_builtin_def to ifunc.
3290 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
3291 [libc_hidden_builtin_def]: Define hidden definition to __memchr_ppc32.
3293 2014-05-21 Roland McGrath <roland@hack.frob.com>
3295 * sysdeps/unix/sysv/linux/aarch64/arch-fork.h: New file.
3296 * sysdeps/unix/sysv/linux/aarch64/nptl/fork.c: File removed.
3298 2014-05-21 Joseph Myers <joseph@codesourcery.com>
3300 * nscd/Depend (linuxthreads): Remove.
3302 * resolv/Depend (linuxthreads): Remove.
3303 * rt/Depend (linuxthreads): Remove.
3305 * Makeconfig [$(build-hardcoded-path-in-tests) = yes]
3306 (rtld-tests-LDFLAGS): Use $(elf-objpfx) instead of
3307 $(common-objpfx)elf/.
3308 (link-libc-before-gnulib): Likewise.
3309 (elfobjdir): Remove variable.
3310 * Makefile (install): Use $(elf-objpfx) instead of
3311 $(common-objpfx)elf/.
3312 * Makerules (link-libc-args): Use $(elf-objpfx) instead of
3314 (link-libc-deps): Likewise.
3315 ($(common-objpfx)libc.so): Likewise.
3316 ($(common-objpfx)linkobj/libc.so): Likewise.
3317 [$(cross-compiling) = no] (symbolic-link-prog): Use $(elf-objpfx)
3318 instead of $(common-objpfx)elf/.
3319 (symbolic-link-list): Likewise.
3320 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
3321 [$(cross-compiling) = no]: Likewise.
3322 * sysdeps/arm/Makefile (gnulib-arch): Use $(elf-objpfx) instead of
3324 (static-gnulib-arch): Likewise.
3325 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
3326 [$(cross-compiling) = no]: Use $(elf-objpfx) instead of
3327 $(common-objpfx)elf/.
3329 2014-05-21 Richard Henderson <rth@redhat.com>
3331 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
3332 (SINGLE_THREAD_P): Use the correct width load. Fold
3333 into the ldr offset.
3335 * sysdeps/unix/sysv/linux/aarch64/sysdep.h [RTLD_PRIVATE_ERRNO]
3336 (SYSCALL_ERROR_HANDLER): Fold add insn into str offset.
3338 2014-05-20 Joseph Myers <joseph@codesourcery.com>
3340 * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c
3341 (libgcc_s_resume): Use __attribute_used__.
3342 * sysdeps/unix/sysv/linux/arm/unwind-resume.c (libgcc_s_resume):
3345 2014-05-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3347 * sysdeps/powerpc/fpu/math_private.h [__copysignf]: Fix copysign macro
3348 optimization when used with float constants.
3350 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3352 2014-05-20 Aurelien Jarno <aurelien@aurel32.net>
3355 * locale/nl_langinfo_l.c: Make direct reference to every
3356 _nl_current_CATEGORY symbol.
3357 * localedata/Makefile (test-srcs): Add tst-langinfo-static.
3358 (tests-static): Add tst-langinfo-static.
3359 (tests-special): Add tst-langinfo-static.out.
3360 ($(objpfx)tst-langinfo.out): Redirect output.
3361 ($(objpfx)tst-langinfo-static.out): New.
3362 * localedata/tst-langinfo.sh: Send output to stdout.
3363 * localedata/tst-langinfo-static.c: New file.
3366 * stdlib/strtod_l.c (round_and_return): Add code to shift limbs
3367 when the shift amount is modulo the limb size.
3369 2014-05-20 Richard Henderson <rth@redhat.com>
3372 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h (struct sigaction):
3373 Change type of sa_flags from unsigned int to int.
3376 * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h: Remove file.
3378 * sysdeps/alpha/dl-machine.h (ELF_MACHINE_NO_RELA): Define.
3380 2014-05-20 Will Newton <will.newton@linaro.org>
3382 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
3383 Test the return value of the system call in the nocancel case.
3385 2014-05-20 Will Newton <will.newton@linaro.org>
3386 Yvan Roux <yvan.roux@linaro.org>
3388 * sysdeps/unix/sysv/linux/aarch64/sys/user.h: Remove unused
3389 #include of asm/ptrace.h.
3390 (PTRACE_GET_THREAD_AREA): Remove #undef.
3391 (PTRACE_GETHBPREGS): Likewise.
3392 (PTRACE_SETHBPREGS): Likewise.
3393 (struct user_regs_struct): New structure.
3394 (struct user_fpsimd_struct): New structure.
3395 * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Remove unused
3396 #include of asm/ptrace.h and second #include of sys/user.h.
3397 (PTRACE_GET_THREAD_AREA): Remove #undef.
3398 (PTRACE_GETHBPREGS): Likewise.
3399 (PTRACE_SETHBPREGS): Likewise.
3400 (ELF_NGREG): Use new struct user_regs_struct.
3401 (elf_fpregset_t): Use new struct user_fpsimd_struct.
3403 2014-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3405 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypof.c: Moved ...
3406 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c: ... here.
3408 2014-05-17 Jose E. Marchesi <jose.marchesi@oracle.com>
3411 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Add missing
3412 membar to avoid block loads/stores to overlap previous stores.
3414 2014-05-17 Richard Henderson <rth@redhat.com>
3416 * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h (PSEUDO):
3417 Create the __##syscall_name##_nocancel entry point.
3418 * sysdeps/unix/sysv/linux/alpha/sigsuspend.S (__sigsuspend_nocancel):
3419 Remove; let the sysdep-cancel.h code create it.
3421 2014-05-17 David S. Miller <davem@davemloft.net>
3423 * sysdeps/unix/sysv/linux/sparc/bits/termios.h (PAGEOUT, WRAP):
3424 Protect with __USE_GNU.
3425 (TIOCSET_TEMPT): Likewise.
3426 (TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
3427 TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI): Remove as
3428 these are already provided in bits/ioctl-types.h
3430 2014-05-16 Roland McGrath <roland@hack.frob.com>
3432 * sysdeps/unix/sysv/linux/alpha/arch-fork.h: New file.
3433 * sysdeps/unix/sysv/linux/ia64/nptl/fork.c: File removed.
3435 * sysdeps/unix/sysv/linux/not-cancel.h (waitpid_not_cancel):
3436 Use wait4 regardless of [__NR_waitpid].
3438 2014-05-16 Maciej W. Rozycki <macro@codesourcery.com>
3441 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
3442 (_FP_NANSIGN_Q): Set the quiet bit.
3444 2014-05-16 Joseph Myers <joseph@codesourcery.com>
3446 * benchtests/Makefile
3447 ($(addprefix $(objpfx)bench-,$(bench-math))): Depend on $(libm),
3448 not $(common-objpfx)math/libm.so.
3449 ($(addprefix $(objpfx)bench-,$(bench-pthread))): Depend on
3450 $(shared-thread-library), not $(common-objpfx)nptl/libpthread.so.
3451 * elf/Makefile ($(objpfx)noload): Depend on $(libdl), not
3452 $(common-objpfx)dlfcn/libdl.so.
3453 ($(objpfx)tst-audit8): Depend on $(libm), not
3454 $(common-objpfx)math/libm.so.
3455 * malloc/Makefile ($(objpfx)libmemusage.so): Depend on $(libdl),
3456 not $(common-objpfx)dlfcn/libdl.so.
3458 ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
3459 Depend on $(libm), not $(objpfx)libm.so. Do not condition on
3460 [$(build-shared) = yes].
3461 ($(objpfx)test-fenv-tls): Depend on $(shared-thread-library), not
3462 $(common-objpfx)nptl/libpthread.so.
3463 * misc/Makefile ($(objpfx)tst-tsearch): Depend on $(libm), not
3464 $(common-objpfx)math/libm.so$(libm.so-version) or
3465 $(common-objpfx)math/libm.a depending on [$(build-shared) = yes].
3466 * nptl/Makefile ($(objpfx)tst-unload): Depend on $(libdl), not
3467 $(common-objpfx)dlfcn/libdl.so.
3468 * setjmp/Makefile (link-libm): Remove variable.
3469 ($(objpfx)tst-setjmp-fp): Depend on $(libm), not $(link-libm).
3470 * stdio-common/Makefile (link-libm): Remove variable.
3471 ($(objpfx)tst-printf-round): Depend on $(libm), not $(link-libm).
3472 * stdlib/Makefile (link-libm): Remove variable.
3473 ($(objpfx)bug-getcontext): Depend on $(libm), not $(link-libm).
3474 ($(objpfx)tst-strtod-round): Likewise.
3475 ($(objpfx)tst-tininess): Likewise.
3476 ($(objpfx)tst-strtod-underflow): Likewise.
3477 ($(objpfx)tst-strtod6): Likewise.
3478 ($(objpfx)tst-tls-atexit): Depend on $(shared-thread-library) and
3479 $(libdl), not $(common-objpfx)nptl/libpthread.so and
3480 $(common-objpfx)dlfcn/libdl.so.
3482 2014-05-16 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3484 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_MISC]: Guard
3485 BSD terminal modes definitions.
3487 2014-05-16 Roland McGrath <roland@hack.frob.com>
3489 * sysdeps/unix/sysv/linux/arm/arch-fork.h: New file.
3490 * sysdeps/unix/sysv/linux/arm/fork.c: File removed.
3492 * sysdeps/unix/sysv/linux/arch-fork.h: New file.
3493 * sysdeps/unix/sysv/linux/i386/fork.h: Moved ...
3494 * sysdeps/unix/sysv/linux/i386/arch-fork.h: ... here.
3495 Don't do #include_next.
3496 * sysdeps/unix/sysv/linux/x86_64/fork.h: Moved ...
3497 * sysdeps/unix/sysv/linux/x86_64/arch-fork.h: ... here.
3498 Don't do #include_next.
3499 * sysdeps/unix/sysv/linux/mips/arch-fork.h: New file.
3500 * sysdeps/unix/sysv/linux/mips/fork.h: File removed.
3501 * sysdeps/unix/sysv/linux/powerpc/arch-fork.h: New file.
3502 * sysdeps/unix/sysv/linux/powerpc/fork.h: File removed.
3504 2014-05-16 Allan McRae <allan@archlinux.org>
3506 * po/sv.po: Update Swedish translation from translation project.
3508 * timezone/Makefile ($(objpfx)tzselect): Use correct variable
3511 2014-05-16 Aurelien Jarno <aurelien@aurel32.net>
3514 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal): Return
3515 errno if the TIOCGPTN ioctl fails with an error different than
3517 * login/tst-ptsname.c: New file.
3518 * login/Makefile (tests): Add tst-ptsname.
3521 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Declare prlimit
3524 2014-05-15 Siddhesh Poyarekar <siddhesh@redhat.com>
3527 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only check for
3528 herrno to return EAI_AGAIN.
3530 2014-05-14 Roland McGrath <roland@hack.frob.com>
3532 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: Moved ...
3533 * sysdeps/unix/sysv/linux/i386/c++-types.data: ... here.
3534 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: Moved ...
3535 * sysdeps/unix/sysv/linux/i386/ld.abilist: ... here.
3536 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: Moved ...
3537 * sysdeps/unix/sysv/linux/i386/libBrokenLocale.abilist: ... here.
3538 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: Moved ...
3539 * sysdeps/unix/sysv/linux/i386/libanl.abilist: ... here.
3540 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Moved ...
3541 * sysdeps/unix/sysv/linux/i386/libc.abilist: ... here.
3542 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: Moved ...
3543 * sysdeps/unix/sysv/linux/i386/libcrypt.abilist: ... here.
3544 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: Moved ...
3545 * sysdeps/unix/sysv/linux/i386/libdl.abilist: ... here.
3546 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: Moved ...
3547 * sysdeps/unix/sysv/linux/i386/libm.abilist: ... here.
3548 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: Moved ...
3549 * sysdeps/unix/sysv/linux/i386/libnsl.abilist: ... here.
3550 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Moved ...
3551 * sysdeps/unix/sysv/linux/i386/libpthread.abilist: ... here.
3552 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: Moved ...
3553 * sysdeps/unix/sysv/linux/i386/libresolv.abilist: ... here.
3554 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: Moved ...
3555 * sysdeps/unix/sysv/linux/i386/librt.abilist: ... here.
3556 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: Moved ...
3557 * sysdeps/unix/sysv/linux/i386/libthread_db.abilist: ... here.
3558 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: Moved ...
3559 * sysdeps/unix/sysv/linux/i386/libutil.abilist: ... here.
3560 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: Moved ...
3561 * sysdeps/unix/sysv/linux/i386/localplt.data: ... here.
3562 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: Moved ...
3563 * sysdeps/unix/sysv/linux/x86_64/64/c++-types.data: ... here.
3564 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Moved ...
3565 * sysdeps/unix/sysv/linux/x86_64/64/ld.abilist: ... here.
3566 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
3568 * sysdeps/unix/sysv/linux/x86_64/64/libBrokenLocale.abilist: ... here.
3569 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Moved ...
3570 * sysdeps/unix/sysv/linux/x86_64/64/libanl.abilist: ... here.
3571 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Moved ...
3572 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: ... here.
3573 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Moved ...
3574 * sysdeps/unix/sysv/linux/x86_64/64/libcrypt.abilist: ... here.
3575 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Moved ...
3576 * sysdeps/unix/sysv/linux/x86_64/64/libdl.abilist: ... here.
3577 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Moved ...
3578 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: ... here.
3579 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Moved ...
3580 * sysdeps/unix/sysv/linux/x86_64/64/libnsl.abilist: ... here.
3581 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist: Moved ...
3582 * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: ... here.
3583 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist: Moved ...
3584 * sysdeps/unix/sysv/linux/x86_64/64/libresolv.abilist: ... here.
3585 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Moved ...
3586 * sysdeps/unix/sysv/linux/x86_64/64/librt.abilist: ... here.
3587 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist: Moved ...
3588 * sysdeps/unix/sysv/linux/x86_64/64/libthread_db.abilist: ... here.
3589 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Moved ...
3590 * sysdeps/unix/sysv/linux/x86_64/64/libutil.abilist: ... here.
3591 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data: Moved ...
3592 * sysdeps/unix/sysv/linux/x86_64/x32/c++-types.data: ... here.
3593 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: Moved ...
3594 * sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist: ... here.
3595 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
3597 * sysdeps/unix/sysv/linux/x86_64/x32/libBrokenLocale.abilist: ... here.
3598 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist: Moved ...
3599 * sysdeps/unix/sysv/linux/x86_64/x32/libanl.abilist: ... here.
3600 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Moved ...
3601 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: ... here.
3602 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist: Moved ...
3603 * sysdeps/unix/sysv/linux/x86_64/x32/libcrypt.abilist: ... here.
3604 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist: Moved ...
3605 * sysdeps/unix/sysv/linux/x86_64/x32/libdl.abilist: ... here.
3606 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist: Moved ...
3607 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: ... here.
3608 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist: Moved ...
3609 * sysdeps/unix/sysv/linux/x86_64/x32/libnsl.abilist: ... here.
3610 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist: Moved ...
3611 * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: ... here.
3612 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist: Moved ...
3613 * sysdeps/unix/sysv/linux/x86_64/x32/libresolv.abilist: ... here.
3614 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist: Moved ...
3615 * sysdeps/unix/sysv/linux/x86_64/x32/librt.abilist: ... here.
3616 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
3618 * sysdeps/unix/sysv/linux/x86_64/x32/libthread_db.abilist: ... here.
3619 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist: Moved ...
3620 * sysdeps/unix/sysv/linux/x86_64/x32/libutil.abilist: ... here.
3622 * nptl/sysdeps/unix/sysv/linux/x86/Makefile: File removed.
3623 * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = nptl]
3624 (libpthread-sysdep_routines): Add elision-related stuff here instead.
3625 * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.c: Moved ...
3626 * sysdeps/unix/sysv/linux/x86/elision-conf.c: ... here.
3627 * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.h: Moved ...
3628 * sysdeps/unix/sysv/linux/x86/elision-conf.h: ... here.
3629 * nptl/sysdeps/unix/sysv/linux/x86/elision-lock.c: Moved ...
3630 * sysdeps/unix/sysv/linux/x86/elision-lock.c: ... here.
3631 * nptl/sysdeps/unix/sysv/linux/x86/elision-timed.c: Moved ...
3632 * sysdeps/unix/sysv/linux/x86/elision-timed.c: ... here.
3633 * nptl/sysdeps/unix/sysv/linux/x86/elision-trylock.c: Moved ...
3634 * sysdeps/unix/sysv/linux/x86/elision-trylock.c: ... here.
3635 * nptl/sysdeps/unix/sysv/linux/x86/elision-unlock.c: Moved ...
3636 * sysdeps/unix/sysv/linux/x86/elision-unlock.c: ... here.
3637 * nptl/sysdeps/unix/sysv/linux/x86/force-elision.h: Moved ...
3638 * sysdeps/unix/sysv/linux/x86/force-elision.h: ... here.
3639 * nptl/sysdeps/unix/sysv/linux/x86/hle.h: Moved ...
3640 * sysdeps/unix/sysv/linux/x86/hle.h: ... here.
3641 * nptl/sysdeps/unix/sysv/linux/x86/init-arch.c: Moved ...
3642 * sysdeps/unix/sysv/linux/x86/init-arch.c: ... here.
3643 * nptl/sysdeps/unix/sysv/linux/x86/init-arch.h: Moved ...
3644 * sysdeps/unix/sysv/linux/x86/init-arch.h: ... here.
3645 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Moved ...
3646 * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: ... here.
3647 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: Moved ...
3648 * sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: ... here.
3649 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: Moved ...
3650 * sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: ... here.
3651 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: Moved ...
3652 * sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: ... here.
3654 * sysdeps/unix/sysv/linux/mips/fork.h: New file.
3655 * sysdeps/unix/sysv/linux/mips/nptl/fork.c: File removed.
3657 * nptl/sysdeps/unix/sysv/linux/i386/Implies: File removed.
3658 * nptl/sysdeps/unix/sysv/linux/i386/i786/Implies: Moved ...
3659 * sysdeps/unix/sysv/linux/i386/i786/Implies: ... here.
3660 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Moved ...
3661 * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: ... here.
3662 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S:
3664 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: ... here.
3665 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
3667 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S: ... here.
3668 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
3670 * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S: ... here.
3671 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S:
3673 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: ... here.
3674 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Moved ...
3675 * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: ... here.
3676 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
3678 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S: ... here.
3679 * nptl/sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: Moved ...
3680 * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: ... here.
3681 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: Moved ...
3682 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: ... here.
3683 * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: Moved ...
3684 * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: ... here.
3685 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
3687 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S: ... here.
3688 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
3690 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
3692 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Moved ...
3693 * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: ... here.
3694 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Moved ...
3695 * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: ... here.
3696 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
3698 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
3700 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S:
3702 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: ... here.
3703 * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Moved ...
3704 * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: ... here.
3705 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Moved ...
3706 * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: ... here.
3707 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S:
3709 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: ... here.
3710 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
3712 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S: ... here.
3713 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
3715 * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S: ... here.
3716 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S:
3718 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: ... here.
3719 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Moved ...
3720 * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: ... here.
3721 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S:
3723 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: ... here.
3724 * nptl/sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved ...
3725 * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: ... here.
3726 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved ...
3727 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: ... here.
3728 * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved ...
3729 * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: ... here.
3730 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
3732 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S: ... here.
3733 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
3735 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
3737 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Moved ...
3738 * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: ... here.
3739 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Moved ...
3740 * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: ... here.
3741 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
3743 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
3745 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S:
3747 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: ... here.
3748 * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved ...
3749 * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: ... here.
3750 * nptl/sysdeps/unix/sysv/linux/i386/dl-sysdep.h: Moved ...
3751 * sysdeps/unix/sysv/linux/i386/dl-sysdep.h: ... here.
3752 * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h: Moved ...
3753 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.
3754 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Moved ...
3755 * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: ... here.
3756 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S:
3758 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: ... here.
3759 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
3761 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: ... here.
3762 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
3764 * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S: ... here.
3765 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S:
3767 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: ... here.
3768 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Moved ...
3769 * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: ... here.
3770 * nptl/sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: Moved ...
3771 * sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: ... here.
3772 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
3774 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S: ... here.
3775 * nptl/sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: Moved ...
3776 * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: ... here.
3777 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: Moved ...
3778 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: ... here.
3779 * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: Moved ...
3780 * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: ... here.
3781 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
3783 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S: ... here.
3784 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
3786 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
3788 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Moved ...
3789 * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: ... here.
3790 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Moved ...
3791 * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: ... here.
3792 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
3794 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
3796 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S:
3798 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: ... here.
3799 * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Moved ...
3800 * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: ... here.
3801 * nptl/sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Moved ...
3802 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: ... here.
3803 * nptl/sysdeps/unix/sysv/linux/i386/smp.h: Moved ...
3804 * sysdeps/unix/sysv/linux/i386/smp.h: ... here.
3805 * nptl/sysdeps/unix/sysv/linux/i386/pthread_once.S: Moved ...
3806 * sysdeps/unix/sysv/linux/i386/pthread_once.S: ... here.
3807 * nptl/sysdeps/unix/sysv/linux/i386/createthread.c: Moved ...
3808 * sysdeps/unix/sysv/linux/i386/createthread.c: ... here.
3810 * sysdeps/unix/sysv/linux/powerpc/fork.h: New file.
3811 * nptl/sysdeps/unix/sysv/linux/powerpc/fork.c: File removed.
3813 * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_init.c: File removed.
3814 * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_unlock.S: File removed.
3816 * nptl/sysdeps/unix/sysv/linux/x86_64/Implies: File removed.
3817 * nptl/sysdeps/unix/sysv/linux/x86_64/cancellation.S: Moved ...
3818 * sysdeps/unix/sysv/linux/x86_64/cancellation.S: ... here.
3819 * nptl/sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: Moved ...
3820 * sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: ... here.
3821 * nptl/sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: Moved ...
3822 * sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: ... here.
3823 * nptl/sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: Moved ...
3824 * sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: ... here.
3825 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Moved ...
3826 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: ... here.
3827 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Moved ...
3828 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: ... here.
3829 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: Moved ...
3830 * sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: ... here.
3831 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: Moved ...
3832 * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: ... here.
3833 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S:
3835 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S: ... here.
3836 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: Moved ...
3837 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: ... here.
3838 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:
3840 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: ... here.
3841 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: Moved ...
3842 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: ... here.
3843 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Moved ...
3844 * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: ... here.
3845 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: Moved ...
3846 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: ... here.
3847 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S:
3849 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: ... here.
3850 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S:
3852 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: ... here.
3853 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: Moved ...
3854 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: ... here.
3855 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: Moved ...
3856 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: ... here.
3857 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: Moved ...
3858 * sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: ... here.
3859 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_post.S: Moved ...
3860 * sysdeps/unix/sysv/linux/x86_64/sem_post.S: ... here.
3861 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Moved ...
3862 * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: ... here.
3863 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Moved ...
3864 * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: ... here.
3865 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Moved ...
3866 * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: ... here.
3867 * nptl/sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Moved ...
3868 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: ... here.
3870 * nptl/sysdeps/unix/sysv/linux/fork.c: Use <> for fork.h #include.
3871 * nptl/sysdeps/unix/sysv/linux/x86_64/fork.c: File removed.
3872 * sysdeps/unix/sysv/linux/x86_64/fork.h: New file.
3873 * nptl/sysdeps/unix/sysv/linux/i386/fork.c: File removed.
3874 * sysdeps/unix/sysv/linux/i386/fork.h: New file.
3876 * nptl/sysdeps/unix/sysv/linux/i386/not-cancel.h: Moved ...
3877 * sysdeps/unix/sysv/linux/not-cancel.h: ... here.
3878 * nptl/sysdeps/unix/sysv/linux/sparc/not-cancel.h: File removed.
3879 * nptl/sysdeps/unix/sysv/linux/sh/not-cancel.h: File removed.
3880 * nptl/sysdeps/unix/sysv/linux/powerpc/not-cancel.h: File removed.
3881 * nptl/sysdeps/unix/sysv/linux/x86_64/not-cancel.h: File removed.
3882 * nptl/sysdeps/unix/sysv/linux/s390/not-cancel.h: File removed.
3883 * sysdeps/unix/sysv/linux/generic/not-cancel.h: File removed.
3884 * sysdeps/unix/sysv/linux/generic/nptl/not-cancel.h: File removed.
3885 * sysdeps/unix/sysv/linux/m68k/nptl/not-cancel.h: File removed.
3887 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_init.c: File removed.
3888 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_unlock.S: Likewise.
3890 * nptl/sysdeps/unix/sysv/linux/x86_64/compat-timer.h: Moved ...
3891 * sysdeps/unix/sysv/linux/x86_64/compat-timer.h: ... here.
3892 * nptl/sysdeps/unix/sysv/linux/x86_64/Versions: Remove, merge into ...
3893 * sysdeps/unix/sysv/linux/x86_64/Versions: ... here.
3894 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_create.c: Moved ...
3895 * sysdeps/unix/sysv/linux/x86_64/timer_create.c: here.
3896 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_delete.c: Moved ...
3897 * sysdeps/unix/sysv/linux/x86_64/timer_delete.c: ... here
3898 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: Moved ...
3899 * sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: ... here
3900 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: Moved ...
3901 * sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: ... here
3902 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_settime.c: Moved ...
3903 * sysdeps/unix/sysv/linux/x86_64/timer_settime.c: ... here
3904 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c:
3906 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c:
3908 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
3910 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
3912 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
3914 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c:
3916 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c:
3918 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
3920 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c:
3922 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c:
3924 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Likewise.
3925 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Likewise.
3926 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Likewise.
3927 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Likewise.
3928 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Likewise.
3929 * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Likewise.
3930 * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Likewise.
3931 * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Likewise.
3932 * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Likewise.
3933 * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Likewise.
3934 * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Likewise.
3935 * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Likewise.
3936 * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Likewise.
3937 * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c: Likewise.
3938 * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c: Likewise.
3940 * sysdeps/unix/sysv/linux/x86_64/clone.S: Deconditionalize the code
3941 that was previously under [RESET_PID].
3942 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
3943 * nptl/sysdeps/unix/sysv/linux/x86_64/clone.S: File removed.
3944 * nptl/sysdeps/unix/sysv/linux/i386/clone.S: File removed.
3946 * sysdeps/i386/nptl/Implies: New file.
3947 * sysdeps/x86_64/nptl/Implies: New file.
3948 * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h: Moved ...
3949 * sysdeps/x86/nptl/bits/pthreadtypes.h: ... here.
3950 * nptl/sysdeps/unix/sysv/linux/x86/bits/semaphore.h: Moved ...
3951 * sysdeps/x86/nptl/bits/semaphore.h: ... here.
3953 * sysdeps/unix/sysv/linux/i386/vfork.S: Include <tcb-offsets.h>.
3954 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
3955 (__libc_vfork): New strong alias.
3956 * nptl/sysdeps/unix/sysv/linux/i386/vfork.S: File removed.
3957 * nptl/sysdeps/unix/sysv/linux/i386/pt-vfork.S: File removed.
3959 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Include <tcb-offsets.h>.
3960 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
3961 (__libc_vfork): New strong alias.
3962 * nptl/sysdeps/unix/sysv/linux/x86_64/vfork.S: File removed.
3963 * nptl/sysdeps/unix/sysv/linux/x86_64/pt-vfork.S: File removed.
3965 * sysdeps/unix/sysv/linux/arm/vfork.S: Include <tcb-offsets.h>.
3966 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
3967 (__libc_vfork): New strong alias.
3968 * sysdeps/unix/sysv/linux/arm/nptl/vfork.S: File removed.
3969 * sysdeps/unix/sysv/linux/arm/nptl/pt-vfork.S: File removed.
3970 * nptl/pt-vfork.c: New file.
3971 * nptl/Versions (libc: GLIBC_PRIVATE): Add __libc_vfork.
3972 (libpthread: GLIBC_2.20): New version set (empty).
3974 2014-05-14 Will Newton <will.newton@linaro.org>
3976 * stdlib/gmp-impl.h: Test USE_STACK_ALLOC #ifdef
3979 2014-05-14 Joseph Myers <joseph@codesourcery.com>
3982 * sysdeps/i386/fpu/s_log1pl.S (__log1pl): Do not add 1 to positive
3983 arguments with exponent 65 or above.
3984 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Do not add 1 to
3985 arguments 0x1p113L or above.
3986 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Do not add 1
3987 to arguments 0x1p107L or above.
3988 * sysdeps/x86_64/fpu/s_log1pl.S (__log1pl): Do not add 1 to
3989 positive arguments with exponent 65 or above.
3990 * math/auto-libm-test-in: Add more tests of log1p.
3991 * math/auto-libm-test-out: Regenerated.
3994 * math/s_cacos.c (__cacos): Ensure zero real part of result from
3995 non-finite arguments is +0.
3996 * math/s_cacosf.c (__cacosf): Likewise.
3997 * math/s_cacosl.c (__cacosl): Likewise.
3998 * math/libm-test.inc (cacos_test): Use ALL_RM_TEST.
3999 * sysdeps/i386/fpu/libm-test-ulps: Update.
4000 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4003 * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): Use fabs on x-1
4005 * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
4006 * sysdeps/i386/fpu/e_acoshl.S (__ieee754_acoshl): Likewise.
4007 * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Correct
4008 for explicit high bit of mantissa when testing for argument equal
4010 * math/libm-test.inc (acosh_test): Use ALL_RM_TEST.
4011 * sysdeps/i386/fpu/libm-test-ulps: Update.
4012 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4015 * sysdeps/ieee754/dbl-64/s_erf.c (efx8): Remove variable.
4016 (__erf): Scale by 16 instead of 8 in potentially underflowing
4017 case. Ensure exception if result actually underflows.
4018 * sysdeps/ieee754/flt-32/s_erff.c (efx8): Remove variable.
4019 (__erff): Scale by 16 instead of 8 in potentially underflowing
4020 case. Ensure exception if result actually underflows.
4021 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <float.h>.
4022 (efx8): Remove variable.
4023 (__erfl): Scale by 16 instead of 8 in potentially underflowing
4024 case. Ensure exception if result actually underflows.
4025 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <float.h>.
4026 (efx8): Remove variable.
4027 (__erfl): Scale by 16 instead of 8 in potentially underflowing
4028 case. Ensure exception if result actually underflows.
4029 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <float.h>.
4030 (efx8): Remove variable.
4031 (__erfl): Scale by 16 instead of 8 in potentially underflowing
4032 case. Ensure exception if result actually underflows.
4033 * math/auto-libm-test-in: Add more tests of erf.
4034 * math/auto-libm-test-out: Regenerated.
4036 2014-05-14 Andreas Schwab <schwab@suse.de>
4038 * elf/rtld.c (_dl_start_final, _dl_start, init_tls, dl_main):
4039 Remove code conditionalized on USE___THREAD.
4041 * config.h.in (HAVE_PT_CHOWN): Define as 0.
4042 * sysdeps/unix/grantpt.c (grantpt): Check HAVE_PT_CHOWN for value,
4045 2014-05-14 Joseph Myers <joseph@codesourcery.com>
4047 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES):
4048 Define unconditionally.
4049 (__ASSUME_O_CLOEXEC): Likewise.
4050 (__ASSUME_SOCK_CLOEXEC): Likewise.
4051 (__ASSUME_IN_NONBLOCK): Likewise.
4052 (__ASSUME_PIPE2): Likewise.
4053 (__ASSUME_EVENTFD2): Likewise.
4054 (__ASSUME_SIGNALFD4): Likewise.
4055 (__ASSUME_DUP3): Likewise.
4056 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
4057 (__ASSUME_DUP3): Do not define.
4058 (__ASSUME_EVENTFD2): Likewise.
4059 (__ASSUME_IN_NONBLOCK): Likewise.
4060 (__ASSUME_O_CLOEXEC): Likewise.
4061 (__ASSUME_PIPE2): Likewise.
4062 (__ASSUME_SIGNALFD4): Likewise.
4063 (__ASSUME_SOCK_CLOEXEC): Likewise.
4064 (__ASSUME_UTIMES): Undefine.
4065 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
4066 (__ASSUME_UTIMES): Do not define.
4067 (__ASSUME_O_CLOEXEC): Likewise.
4068 (__ASSUME_SOCK_CLOEXEC): Likewise.
4069 (__ASSUME_IN_NONBLOCK): Undefine if [__LINUX_KERNEL_VERSION <
4070 0x020621] instead of defining if [__LINUX_KERNEL_VERSION >=
4072 (__ASSUME_PIPE2): Likewise.
4073 (__ASSUME_EVENTFD2): Likewise.
4074 (__ASSUME_SIGNALFD4): Likewise.
4075 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_DUP3): Undefine.
4076 * sysdeps/unix/sysv/linux/arm/kernel-features.h (__ASSUME_UTIMES):
4078 (__ASSUME_EVENTFD2): Likewise.
4079 (__ASSUME_SIGNALFD4): Likewise.
4080 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
4081 (__ASSUME_32BITUIDS): Likewise.
4082 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
4083 (__ASSUME_IPC64): Likewise.
4084 (__ASSUME_ST_INO_64_BIT): Likewise.
4085 (__ASSUME_GETDENTS64_SYSCALL): Likewise.
4086 [__LINUX_KERNEL_VERSION < 0x030e00] (__ASSUME_UTIMES): Undefine.
4087 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
4088 (__ASSUME_UTIMES): Do not define.
4089 (__ASSUME_PSELECT): Likewise.
4090 (__ASSUME_PPOLL): Likewise.
4091 (__ASSUME_O_CLOEXEC): Likewise.
4092 (__ASSUME_SOCK_CLOEXEC): Likewise.
4093 (__ASSUME_IN_NONBLOCK): Likewise.
4094 (__ASSUME_PIPE2): Likewise.
4095 (__ASSUME_EVENTFD2): Likewise.
4096 (__ASSUME_SIGNALFD4): Likewise.
4097 (__ASSUME_DUP3): Likewise.
4098 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
4099 (__ASSUME_UTIMES): Likewise.
4100 (__ASSUME_O_CLOEXEC): Likewise.
4101 (__ASSUME_SOCK_CLOEXEC): Likewise.
4102 (__ASSUME_IN_NONBLOCK): Likewise.
4103 (__ASSUME_PIPE2): Likewise.
4104 (__ASSUME_EVENTFD2): Likewise.
4105 (__ASSUME_SIGNALFD4): Likewise.
4106 (__ASSUME_DUP3): Likewise.
4107 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
4108 (__ASSUME_UTIMES): Likewise.
4109 (__ASSUME_O_CLOEXEC): Likewise.
4110 (__ASSUME_SOCK_CLOEXEC): Likewise.
4111 (__ASSUME_IN_NONBLOCK): Likewise.
4112 (__ASSUME_PIPE2): Likewise.
4113 (__ASSUME_EVENTFD2): Likewise.
4114 (__ASSUME_SIGNALFD4): Likewise.
4115 (__ASSUME_DUP3): Likewise.
4116 * sysdeps/unix/sysv/linux/mips/kernel-features.h (__ASSUME_IPC64):
4118 (__ASSUME_UTIMES): Likewise.
4119 (__ASSUME_EVENTFD2): Likewise.
4120 (__ASSUME_SIGNALFD4): Likewise.
4121 * sysdeps/unix/sysv/linux/tile/kernel-features.h
4122 (__ASSUME_O_CLOEXEC): Likewise.
4123 (__ASSUME_SOCK_CLOEXEC): Likewise.
4124 (__ASSUME_IN_NONBLOCK): Likewise.
4125 (__ASSUME_PIPE2): Likewise.
4126 (__ASSUME_EVENTFD2): Likewise.
4127 (__ASSUME_SIGNALFD4): Likewise.
4128 (__ASSUME_DUP3): Likewise.
4129 (__ASSUME_UTIMES): Undefine.
4131 * sysdeps/arm/fclrexcpt.c (__feclearexcept): Rename to
4132 feclearexcept. Remove symbol versioning code.
4133 * sysdeps/arm/fegetenv.c (__fegetenv): Rename to fegetenv. Remove
4134 symbol versioning code.
4135 * sysdeps/arm/fesetenv.c (__fesetenv): Rename to fesetenv. Remove
4136 symbol versioning code.
4137 * sysdeps/arm/feupdateenv.c (__feupdateenv): Rename to
4138 feupdateenv. Remove symbol versioning code.
4139 * sysdeps/arm/fgetexcptflg.c (__fegetexceptflag): Rename to
4140 fegetexceptflag. Remove symbol versioning code.
4141 * sysdeps/arm/fsetexcptflg.c (__fesetexceptflag): Rename to
4142 fesetexceptflag. Remove symbol versioning code.
4143 * sysdeps/unix/sysv/linux/arm/Versions (libc): Remove GLIBC_2.0,
4144 GLIBC_2.2 and GLIBC_2.3.3 entries. Change GLIBC_2.1 to GLIBC_2.4.
4145 * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c
4146 (__posix_fadvise64_l32): Remove prototype.
4147 [SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)]: Remove conditional
4150 2014-05-13 Roland McGrath <roland@hack.frob.com>
4152 * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h: Moved ...
4153 * sysdeps/arm/nptl/bits/pthreadtypes.h: ... here.
4154 * sysdeps/unix/sysv/linux/arm/nptl/bits/semaphore.h: Moved ...
4155 * sysdeps/arm/nptl/bits/semaphore.h: ... here.
4157 2014-05-13 Sami Kerola <kerolasa@iki.fi>
4159 * timezone/Makefile ($(objpfx)tzselect): Use zonedir instead
4160 current working directory
4162 2014-05-13 Roland McGrath <roland@hack.frob.com>
4164 * sysdeps/unix/sysv/linux/arm/nptl/c++-types.data: Moved ...
4165 * sysdeps/unix/sysv/linux/arm/c++-types.data: ... here.
4166 * sysdeps/unix/sysv/linux/arm/nptl/createthread.c: Moved ...
4167 * sysdeps/unix/sysv/linux/arm/createthread.c: ... here.
4168 * sysdeps/unix/sysv/linux/arm/nptl/fork.c: Moved ...
4169 * sysdeps/unix/sysv/linux/arm/fork.c: ... here.
4170 * sysdeps/unix/sysv/linux/arm/nptl/ld.abilist: Moved ...
4171 * sysdeps/unix/sysv/linux/arm/ld.abilist: ... here.
4172 * sysdeps/unix/sysv/linux/arm/nptl/libBrokenLocale.abilist: Moved ...
4173 * sysdeps/unix/sysv/linux/arm/libBrokenLocale.abilist: ... here.
4174 * sysdeps/unix/sysv/linux/arm/nptl/libanl.abilist: Moved ...
4175 * sysdeps/unix/sysv/linux/arm/libanl.abilist: ... here.
4176 * sysdeps/unix/sysv/linux/arm/nptl/libc.abilist: Moved ...
4177 * sysdeps/unix/sysv/linux/arm/libc.abilist: ... here.
4178 * sysdeps/unix/sysv/linux/arm/nptl/libcrypt.abilist: Moved ...
4179 * sysdeps/unix/sysv/linux/arm/libcrypt.abilist: ... here.
4180 * sysdeps/unix/sysv/linux/arm/nptl/libdl.abilist: Moved ...
4181 * sysdeps/unix/sysv/linux/arm/libdl.abilist: ... here.
4182 * sysdeps/unix/sysv/linux/arm/nptl/libm.abilist: Moved ...
4183 * sysdeps/unix/sysv/linux/arm/libm.abilist: ... here.
4184 * sysdeps/unix/sysv/linux/arm/nptl/libnsl.abilist: Moved ...
4185 * sysdeps/unix/sysv/linux/arm/libnsl.abilist: ... here.
4186 * sysdeps/unix/sysv/linux/arm/nptl/libpthread.abilist: Moved ...
4187 * sysdeps/unix/sysv/linux/arm/libpthread.abilist: ... here.
4188 * sysdeps/unix/sysv/linux/arm/nptl/libresolv.abilist: Moved ...
4189 * sysdeps/unix/sysv/linux/arm/libresolv.abilist: ... here.
4190 * sysdeps/unix/sysv/linux/arm/nptl/librt.abilist: Moved ...
4191 * sysdeps/unix/sysv/linux/arm/librt.abilist: ... here.
4192 * sysdeps/unix/sysv/linux/arm/nptl/libthread_db.abilist: Moved ...
4193 * sysdeps/unix/sysv/linux/arm/libthread_db.abilist: ... here.
4194 * sysdeps/unix/sysv/linux/arm/nptl/libutil.abilist: Moved ...
4195 * sysdeps/unix/sysv/linux/arm/libutil.abilist: ... here.
4196 * sysdeps/unix/sysv/linux/arm/nptl/localplt.data: Moved ...
4197 * sysdeps/unix/sysv/linux/arm/localplt.data: ... here.
4198 * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.h: Moved ...
4199 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: ... here.
4200 * sysdeps/unix/sysv/linux/arm/nptl/sysdep-cancel.h: Moved ...
4201 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: ... here.
4202 * sysdeps/unix/sysv/linux/arm/nptl/unwind-forcedunwind.c: Moved ...
4203 * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: ... here.
4204 * sysdeps/unix/sysv/linux/arm/nptl/unwind-resume.c: Moved ...
4205 * sysdeps/unix/sysv/linux/arm/unwind-resume.c: ... here.
4207 * sysdeps/unix/sysv/linux/arm/Versions (libc: GLIBC_PRIVATE): New set.
4208 * sysdeps/unix/sysv/linux/arm/nptl/Versions: File removed.
4210 * sysdeps/unix/sysv/linux/arm/Makefile
4211 [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
4212 Add rt-aeabi_unwind_cpp_pr1.
4213 [$(subdir) = nptl] (librt-sysdep_routines, librt-shared-only-routines):
4214 Add nptl-aeabi_unwind_cpp_pr1.
4215 [$(subdir) = nptl] (tests): Filter out tst-cleanupx4.
4216 * sysdeps/unix/sysv/linux/arm/nptl/Makefile: File removed.
4217 * sysdeps/unix/sysv/linux/arm/nptl/rt-aeabi_unwind_cpp_pr1.c: Move ...
4218 * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
4219 * sysdeps/unix/sysv/linux/arm/nptl/nptl-aeabi_unwind_cpp_pr1.c: Move ...
4220 * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
4222 * sysdeps/unix/sysv/linux/arm/configure.ac: Force -fexceptions here.
4223 * sysdeps/unix/sysv/linux/arm/configure: Regenerated.
4224 * sysdeps/unix/sysv/linux/arm/nptl/configure.ac: File removed.
4225 * sysdeps/unix/sysv/linux/arm/nptl/configure: File removed.
4227 * sysdeps/unix/sysv/linux/arm/clone.S: Include <tcb-offsets.h>.
4228 Deconditionalize the code that was previously under [RESET_PID].
4229 * sysdeps/unix/sysv/linux/arm/nptl/clone.S: File removed.
4231 * sysdeps/generic/exit-thread.h: New file.
4232 * sysdeps/unix/sysv/linux/exit-thread.h: New file.
4233 * include/unistd.h (__exit_thread): Remove declaration.
4234 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Drop exit-thread.
4235 * sysdeps/unix/sysv/linux/exit-thread.S: File removed.
4236 * csu/libc-start.c: Include <exit-thread.h>.
4237 (LIBC_START_MAIN): Pass no argument to __exit_thread.
4238 * nptl/pthread_create.c: Include <exit-thread.h>.
4239 (start_thread): Call __exit_thread in place of __exit_thread_inline.
4240 * nptl/sysdeps/i386/pthreaddef.h (__exit_thread_inline): Macro removed.
4241 * nptl/sysdeps/powerpc/pthreaddef.h: Likewise.
4242 * nptl/sysdeps/s390/pthreaddef.h: Likewise.
4243 * nptl/sysdeps/sh/pthreaddef.h: Likewise.
4244 * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Likewise.
4245 * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Likewise.
4246 * nptl/sysdeps/x86_64/pthreaddef.h: Likewise.
4247 * sysdeps/aarch64/nptl/pthreaddef.h: Likewise.
4248 * sysdeps/alpha/nptl/pthreaddef.h: Likewise.
4249 * sysdeps/arm/nptl/pthreaddef.h: Likewise.
4250 * sysdeps/hppa/nptl/pthreaddef.h: Likewise.
4251 * sysdeps/ia64/nptl/pthreaddef.h: Likewise.
4252 * sysdeps/m68k/nptl/pthreaddef.h: Likewise.
4253 * sysdeps/microblaze/nptl/pthreaddef.h: Likewise.
4254 * sysdeps/mips/nptl/pthreaddef.h: Likewise.
4255 * sysdeps/tile/nptl/pthreaddef.h: Likewise.
4257 2014-05-13 Andreas Schwab <schwab@suse.de>
4259 * sysdeps/unix/grantpt.c (grantpt): Fix typo in assertion.
4261 2014-05-12 Joseph Myers <joseph@codesourcery.com>
4263 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
4264 (__ASSUME_UTIMES): Do not condition on kernel version.
4265 (__ASSUME_PSELECT): Define unconditionally.
4266 (__ASSUME_PPOLL): Likewise.
4267 (__ASSUME_ATFCTS): Likewise.
4268 (__ASSUME_SET_ROBUST_LIST): Do not condition on kernel version.
4269 (__ASSUME_COMPLETE_READV_WRITEV): Define unconditionally.
4270 (__ASSUME_FUTEX_LOCK_PI): Do not condition on kernel version.
4271 (__ASSUME_UTIMENSAT): Define unconditionally.
4272 (__ASSUME_PRIVATE_FUTEX): Likewise.
4273 (__ASSUME_FALLOCATE): Likewise.
4274 (__ASSUME_O_CLOEXEC): Likewise.
4275 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Remove.
4276 (__ASSUME_ARG_MAX_STACK_BASED): Likewise.
4277 (__ASSUME_ADJ_OFFSET_SS_READ): Define unconditionally.
4278 (__ASSUME_SOCK_CLOEXEC): Do not condition on kernel version.
4279 (__ASSUME_IN_NONBLOCK): Likewise.
4280 (__ASSUME_PIPE2): Likewise.
4281 (__ASSUME_EVENTFD2): Likewise.
4282 (__ASSUME_SIGNALFD4): Likewise.
4283 (__ASSUME_DUP3): Likewise.
4284 [__x86_64__ || __sparc__] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
4285 (__ASSUME_FUTEX_CLOCK_REALTIME): Define unconditionally.
4286 (__ASSUME_AT_RANDOM): Likewise.
4287 (__ASSUME_PREADV): Likewise.
4288 (__ASSUME_PWRITEV): Likewise.
4289 (__ASSUME_REQUEUE_PI): Do not condition on kernel version.
4290 (__ASSUME_F_GETOWN_EX): Define unconditionally.
4291 (__ASSUME_XFS_RESTRICTED_CHOWN): Likewise.
4292 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
4293 [!__ASSUME_ARG_MAX_STACK_BASED]: Remove conditional code.
4294 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
4295 (__ASSUME_O_CLOEXEC): Define unconditionally.
4296 (__ASSUME_PSELECT): Do not undefine conditionally.
4297 (__ASSUME_PPOLL): Likewise.
4298 (__ASSUME_ATFCTS): Likewise.
4299 (__ASSUME_SET_ROBUST_LIST): Likewise.
4300 (__ASSUME_UTIMENSAT): Likewise.
4301 (__ASSUME_FDATASYNC): Define unconditionally.
4302 * sysdeps/unix/sysv/linux/arm/kernel-features.h
4303 (__ASSUME_SIGFRAME_V2): Likewise.
4304 )__ASSUME_EVENTFD2): Likewise.
4305 (__ASSUME_SIGNALFD4): Likewise.
4306 (__ASSUME_PSELECT): Do not undefine conditionally.
4307 (__ASSUME_PPOLL): Likewise.
4308 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
4309 (__ASSUME_PSELECT): Define unconditionally.
4310 (__ASSUME_PPOLL): Likewise.
4311 (__ASSUME_O_CLOEXEC): Likewise.
4312 (__ASSUME_SOCK_CLOEXEC): Likewise.
4313 (__ASSUME_IN_NONBLOCK): Likewise.
4314 (__ASSUME_PIPE2): Likewise.
4315 (__ASSUME_EVENTFD2): Likewise.
4316 (__ASSUME_SIGNALFD4): Likewise.
4317 (__ASSUME_DUP3): Likewise.
4318 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
4319 (__ASSUME_O_CLOEXEC): Likewise.
4320 (__ASSUME_SOCK_CLOEXEC): Likewise.
4321 (__ASSUME_IN_NONBLOCK): Likewise.
4322 (__ASSUME_PIPE2): Likewise.
4323 (__ASSUME_EVENTFD2): Likewise.
4324 (__ASSUME_SIGNALFD4): Likewise.
4325 (__ASSUME_DUP3): Likewise.
4326 * sysdeps/unix/sysv/linux/mips/kernel-features.h
4327 (__ASSUME_EVENTFD2): Likewise.
4328 (__ASSUME_SIGNALFD4): Likewise.
4329 (__ASSUME_ACCEPT4_SYSCALL): Likewise.
4331 2014-05-12 Andreas Schwab <schwab@suse.de>
4334 * nis/nss_nis/nis-hosts.c (internal_gethostbyname2_r)
4335 (_nss_nis_gethostbyname4_r): Return error if item length is larger
4336 than maximum RPC packet size.
4337 * nis/nss_nis/nis-initgroups.c (initgroups_netid): Likewise.
4338 * nis/nss_nis/nis-network.c (_nss_nis_getnetbyname_r): Likewise.
4339 * nis/nss_nis/nis-service.c (_nss_nis_getservbyname_r)
4340 (_nss_nis_getservbyport_r): Likewise.
4342 2014-05-12 Will Newton <will.newton@linaro.org>
4344 * malloc/Makefile (tests): Add tst-mallopt.
4345 * malloc/tst-mallopt.c: New file.
4347 2014-05-09 Roland McGrath <roland@hack.frob.com>
4349 * sysdeps/arm/armv7/strcmp.S: Use sfi_breg prefix on loads not from sp.
4350 [NO_THUMB]: Cope without cbz, cnbz, and orn instructions.
4352 2014-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4354 * elf/Makefile (tst-tlsmod5.so): Add $(no-as-needed).
4355 (tst-tlsmod6.so): Likewise.
4357 2014-05-09 Roland McGrath <roland@hack.frob.com>
4359 * sysdeps/gnu/unwind-resume.c (libgcc_s_resume): Mark as noreturn.
4361 2014-05-09 Joseph Myers <joseph@codesourcery.com>
4364 * sysdeps/i386/fpu/fegetenv.c: Include <unistd.h>, <ldsodefs.h>
4365 and <dl-procinfo.h>.
4366 (__fegetenv): Save SSE state in envp->__eip if supported.
4367 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Save SSE state in
4368 envp->__eip if supported.
4369 * sysdeps/i386/fpu/fesetenv.c: Include <unistd.h>, <ldsodefs.h>
4370 and <dl-procinfo.h>.
4371 (__fesetenv): Always set __eip, __cs_selector, __opcode,
4372 __data_offset and __data_selector in environment to 0. Set SSE
4374 * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
4376 [$(subdir) = math] (CFLAGS-test-fenv-sse.c): Add -msse2
4378 * sysdeps/x86/fpu/test-fenv-sse.c: New file.
4380 2014-05-09 Will Newton <will.newton@linaro.org>
4382 * sysdeps/arm/preconfigure.ac: Set libc_commonpagesize
4383 and libc_relro_required for ARM.
4384 * sysdeps/arm/preconfigure: Regenerate.
4386 2014-05-09 Dominik Vogt <vogt@linux.vnet.ibm.com>
4387 Stefan Liebler <stli@linux.vnet.ibm.com>
4389 * config.make.in (enable-lock-elision): New Makefile variable.
4390 * configure.ac: Likewise.
4391 * configure: Regenerate.
4392 * sysdeps/s390/configure.ac:
4393 Add check for gcc transactions support.
4394 * sysdeps/s390/configure: Regenerate.
4395 * nptl/sysdeps/unix/sysv/linux/s390/Makefile: New file.
4396 Build elision files if enabled.
4397 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: New file.
4398 Add lock elision support for s390.
4399 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Likewise.
4400 * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Likewise.
4401 * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Likewise.
4402 * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
4403 * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Likewise.
4404 * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Likewise.
4405 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
4407 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c:
4409 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c:
4411 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c:
4413 * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h:
4414 (__lll_timedlock_elision, __lll_lock_elision)
4415 (__lll_unlock_elision, __lll_trylock_elision)
4416 (lll_timedlock_elision, lll_lock_elision)
4417 (lll_unlock_elision, lll_trylock_elision): Add.
4418 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
4419 (pthread_mutex_t): Add lock elision support for s390.
4421 2014-05-14 Wilco <wdijkstr@arm.com>
4423 * sysdeps/arm/fclrexcpt.c: Cleanup.
4424 * sysdeps/arm/fedisblxcpt.c: Cleanup.
4425 * sysdeps/arm/feenablxcpt.c: Cleanup.
4426 * sysdeps/arm/fegetenv.c: Cleanup.
4427 * sysdeps/arm/fegetexcept.c: Cleanup.
4428 * sysdeps/arm/fegetround.c: Cleanup.
4429 * sysdeps/arm/feholdexcpt.c: Cleanup.
4430 * sysdeps/arm/fesetenv.c: Cleanup.
4431 * sysdeps/arm/fesetround.c: Cleanup.
4432 * sysdeps/arm/feupdateenv.c: Cleanup.
4433 * sysdeps/arm/fgetexcptflg.c: Cleanup.
4434 * sysdeps/arm/fraiseexcpt.c: Cleanup.
4435 * sysdeps/arm/fsetexcptflg.c: Cleanup.
4436 * sysdeps/arm/ftestexcept.c: Cleanup.
4437 * sysdeps/arm/get-rounding-mode.h: Cleanup.
4438 * sysdeps/arm/setfpucw.c: Cleanup.
4440 2014-05-09 Will Newton <will.newton@linaro.org>
4442 * sysdeps/arm/armv7/strcmp.S: New file.
4443 * NEWS: Mention addition of ARMv7 optimized strcmp.
4445 2014-05-08 Roland McGrath <roland@hack.frob.com>
4447 * Makeconfig ($(common-objpfx)config.status): Fix patsubst uses to
4448 look for %.ac rather than %.in.
4450 * sysdeps/mach/hurd/configure.ac (inhibit_glue): Remove variable.
4451 * sysdeps/unix/sysv/linux/configure.ac: Likewise.
4452 * sysdeps/mach/hurd/configure: Regenerated.
4453 * sysdeps/unix/sysv/linux/configure: Regenerated.
4455 * bits/utsname.h (_UTSNAME_DOMAIN_LENGTH): New macro, set to 0.
4457 2014-05-07 Steve Ellcey <sellcey@mips.com>
4460 * sysdeps/mips/sys/asm.h (INT_SUB): Fix definition.
4464 2014-05-07 Andreas Schwab <schwab@suse.de>
4466 * sysdeps/posix/getaddrinfo.c (gaih_inet): Advance address pointer
4467 when skipping over non-matching result from nscd.
4469 2014-05-07 Ondřej Bílka <neleai@seznam.cz>
4472 * nptl/sockperf.c (client): Check socket return value.
4475 * nscd/selinux.c (nscd_request_avc_has_perm): Check if there is
4476 nscd security class.
4478 2014-05-06 Roland McGrath <roland@hack.frob.com>
4480 * sysdeps/unix/sysv/linux/arm/nptl/unwind.h: File moved to ...
4481 * sysdeps/arm/unwind.h: ... here.
4483 2014-05-06 Aurelien Jarno <aurelien@aurel32.net>
4486 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h (EFD_SEMAPHORE):
4489 2014-05-06 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
4491 * sysdeps/powerpc/powerpc64/power7/strncpy.S: New file: Optimization.
4492 * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: New file:
4493 multiarch strncpy for PPC64.
4494 * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: New file
4495 * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: New file
4496 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpcpy, stpncpy
4497 multiarch optimizations.
4498 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
4499 (__libc_ifunc_impl_list): Likewise.
4500 * sysdeps/powerpc/powerpc64/power7/stpncpy.S: New file: Optimization.
4501 * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: New file:
4502 multiarch stpncpy for PPC64.
4503 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-ppc64.c: New file
4504 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: New file
4506 2014-05-06 Andreas Schwab <schwab@suse.de>
4509 * gmon/mcount.c (_MCOUNT_DECL): Use
4510 atomic_compare_and_exchange_bool_acq instead of
4511 catomic_compare_and_exchange_bool_acq.
4513 2014-05-05 Roland McGrath <roland@hack.frob.com>
4515 * elf/Makefile (others, install-bin): Remove pldd.
4516 (pldd-modules): Variable removed.
4517 ($(objpfx)pldd): Target removed.
4518 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = elf]
4519 (others, install-bin): Append pldd here.
4520 ($(objpfx)pldd): New target.
4522 * sysdeps/gnu/errlist.awk (BEGIN): Emit an initial #define of ERR_MAX
4523 to 0, so the first #if test emitted later doesn't see it undefined.
4524 (END): Emit "!defined ERRLIST_NO_COMPAT" to match what BEGIN does.
4525 * sysdeps/gnu/errlist.c: Regenerated.
4527 2014-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4529 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
4530 [libc_hidden_builtin_def]: Define to empty value.
4531 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S:
4532 [libc_hidden_builtin_def]: Likewise.
4533 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S:
4534 [libc_hidden_builtin_def]: Likewise.
4535 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S:
4536 [libc_hidden_builtin_def]: Likewise.
4537 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c (memcpy): Redefined to
4538 __redirect_memcpy and define ifunc as default hidden symbol.
4539 * sysdeps/powerpc/powerpc64/multiarch/memset.c (memset): Likewise.
4540 * sysdeps/powerpc/powerpc64/multiarch/strlen.c (strlen): Likewise.
4542 2014-05-04 Adam Conrad <adconrad@0c3.net>
4544 * locale/iso-4217.def: Reintroduce XDR currency.
4546 2014-05-04 Allan McRae <allan@archlinux.org>
4548 * po/eo.po: Update Esperanto translation from translation project.
4550 2014-05-02 Carlos O'Donell <carlos@redhat.com>
4552 * sysdeps/x86_64/multiarch/init-arch.h: Define FEATURE_INDEX_1 to 0,
4553 and FEATURE_INDEX_MAX to 1.
4554 [!__ASSEMBLER__]: Remove anonymous enum for FEATURE_INDEX_*.
4556 2014-05-01 Steve Ellcey <sellcey@mips.com>
4558 * iconvdata/ansi_x3.110.c (ONE_DIRECTION): Define.
4559 * iconvdata/armscii-8.c (ONE_DIRECTION): Define.
4560 * iconvdata/big5.c (ONE_DIRECTION): Define.
4561 * iconvdata/big5hkscs.c (ONE_DIRECTION): Define.
4562 * iconvdata/cp1255.c (ONE_DIRECTION): Define.
4563 * iconvdata/cp1258.c (ONE_DIRECTION): Define.
4564 * iconvdata/cp932.c (ONE_DIRECTION): Define.
4565 * iconvdata/euc-cn.c (ONE_DIRECTION): Define.
4566 * iconvdata/euc-jisx0213.c (ONE_DIRECTION): Define.
4567 * iconvdata/euc-jp-ms.c (ONE_DIRECTION): Define.
4568 * iconvdata/euc-jp.c (ONE_DIRECTION): Define.
4569 * iconvdata/euc-kr.c (ONE_DIRECTION): Define.
4570 * iconvdata/euc-tw.c (ONE_DIRECTION): Define.
4571 * iconvdata/gb18030.c (ONE_DIRECTION): Define.
4572 * iconvdata/gbbig5.c (ONE_DIRECTION): Define.
4573 * iconvdata/gbgbk.c (ONE_DIRECTION): Define.
4574 * iconvdata/gbk.c (ONE_DIRECTION): Define.
4575 * iconvdata/ibm1364.c (ONE_DIRECTION): Define.
4576 * iconvdata/ibm930.c (ONE_DIRECTION): Define.
4577 * iconvdata/ibm932.c (ONE_DIRECTION): Define.
4578 * iconvdata/ibm933.c (ONE_DIRECTION): Define.
4579 * iconvdata/ibm935.c (ONE_DIRECTION): Define.
4580 * iconvdata/ibm937.c (ONE_DIRECTION): Define.
4581 * iconvdata/ibm939.c (ONE_DIRECTION): Define.
4582 * iconvdata/ibm943.c (ONE_DIRECTION): Define.
4583 * iconvdata/iso-2022-cn-ext.c (ONE_DIRECTION): Define.
4584 * iconvdata/iso-2022-cn.c (ONE_DIRECTION): Define.
4585 * iconvdata/iso-2022-jp-3.c (ONE_DIRECTION): Define.
4586 * iconvdata/iso-2022-jp.c (ONE_DIRECTION): Define.
4587 * iconvdata/iso-2022-kr.c (ONE_DIRECTION): Define.
4588 * iconvdata/iso646.c (ONE_DIRECTION): Define.
4589 * iconvdata/iso8859-1.c (ONE_DIRECTION): Define.
4590 * iconvdata/iso_11548-1.c (ONE_DIRECTION): Define.
4591 * iconvdata/iso_6937-2.c (ONE_DIRECTION): Define.
4592 * iconvdata/iso_6937.c (ONE_DIRECTION): Define.
4593 * iconvdata/johab.c (ONE_DIRECTION): Define.
4594 * iconvdata/shift_jisx0213.c (ONE_DIRECTION): Define.
4595 * iconvdata/sjis.c (ONE_DIRECTION): Define.
4596 * iconvdata/t.61.c (ONE_DIRECTION): Define.
4597 * iconvdata/tcvn5712-1.c (ONE_DIRECTION): Define.
4598 * iconvdata/tscii.c (ONE_DIRECTION): Define.
4599 * iconvdata/uhc.c (ONE_DIRECTION): Define.
4600 * iconvdata/unicode.c (ONE_DIRECTION): Define.
4601 * iconvdata/utf-16.c (ONE_DIRECTION): Define.
4602 * iconvdata/utf-32.c (ONE_DIRECTION): Define.
4603 * iconvdata/utf-7.c (ONE_DIRECTION): Define.
4605 2014-05-01 Roland McGrath <roland@hack.frob.com>
4607 * libio/libioP.h [!_IO_USE_OLD_IO_FILE && !_G_IO_NO_BACKWARD_COMPAT]
4608 (_IO_JUMPS_OFFSET): Define to 0.
4610 * nptl/sysdeps/pthread/bits/libc-lock.h
4611 [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
4612 (__libc_lock_define_initialized_recursive): Always define using
4613 initializer. Modern compilers treat uninitialized (implicit zero) and
4614 explicit zero initializers the same (i.e. put the datum in bss).
4616 2014-05-01 Andreas Schwab <schwab@linux-m68k.org>
4618 * nscd/nscd-client.h: Include <string.h>.
4620 2014-05-01 David S. Miller <davem@davemloft.net>
4623 * sysdeps/sparc/sparc64/strcmp.S: Fix end comparison handling when
4624 multiple zero bytes exist at the end of a string.
4625 Reported by Aurelien Jarno <aurelien@aurel32.net>
4627 * string/test-strcmp.c (check): Add explicit test for situations where
4628 there are multiple zero bytes after the first.
4630 2014-05-01 Andreas Schwab <schwab@linux-m68k.org>
4633 * stdio-common/vfprintf.c (process_arg) [%p]: Mark string as wide
4634 when compiling wprintf.
4635 * stdio-common/tstdiomisc.c (t3): New function.
4638 2014-05-01 Steve Ellcey <sellcey@mips.com>
4640 * intl/iconv/skeleton.c (ONE_DIRECTION): Remove define.
4641 * iconv/gconv_simple.c (ONE_DIRECTION): Define.
4642 * iconvdata/8bit-gap.c (ONE_DIRECTION): Ditto.
4643 * iconvdata/8bit-generic.c (ONE_DIRECTION): Ditto.
4645 2014-05-01 Steve Ellcey <sellcey@mips.com>
4647 * stdlib/longlong.h: Updated from GCC.
4649 2014-05-01 Will Newton <will.newton@linaro.org>
4650 Bernard Ogden <bernie.ogden@linaro.org>
4652 * NEWS: Update fixed bug list.
4655 * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.c: Remove file.
4657 2014-04-30 David S. Miller <davem@davemloft.net>
4659 * sysdeps/sparc/fpu/fenv_private.h (HAVE_RM_CTX): Define.
4660 (libc_feholdexcept_setround_sparc_ctx): New function.
4661 (libc_fesetenv_sparc_ctx): Likewise.
4662 (libc_feupdateenv_sparc_ctx): Likewise.
4663 (libc_feholdsetround_sparc_ctx): Likewise.
4664 (libc_feholdexcept_setround_ctx): Define.
4665 (libc_feholdexcept_setroundf_ctx): Likewise.
4666 (libc_feholdexcept_setroundl_ctx): Likewise.
4667 (libc_fesetenv_ctx): Likewise.
4668 (libc_fesetenvf_ctx): Likewise.
4669 (libc_fesetenvl_ctx): Likewise.
4670 (libc_feupdateenv_ctx): Likewise.
4671 (libc_feupdateenvf_ctx): Likewise.
4672 (libc_feupdateenvl_ctx): Likewise.
4673 (libc_feresetround_ctx): Likewise.
4674 (libc_feresetroundf_ctx): Likewise.
4675 (libc_feresetroundl_ctx): Likewise.
4676 (libc_feholdsetround_ctx): Likewise.
4677 (libc_feholdsetroundf_ctx): Likewise.
4678 (libc_feholdsetroundl_ctx): Likewise.
4680 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
4681 with __USE_GNU instead of XOPEN cpp guards.
4683 * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Define to
4686 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
4687 with XOPEN cpp guards.
4689 2014-04-30 Julian Brown <julian@codesourcery.com>
4692 * sysdeps/arm/dl-machine.h (elf_machine_rela): Fix R_ARM_IRELATIVE
4695 2014-04-30 Joseph Myers <joseph@codesourcery.com>
4698 * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
4700 (arch_minimum_kernel): Change all 2.6.16 settings to 2.6.32.
4701 * sysdeps/unix/sysv/linux/configure: Regenerated.
4702 * sysdeps/unix/sysv/linux/microblaze/configure.ac: Remove file.
4703 * sysdeps/unix/sysv/linux/microblaze/configure: Likewise.
4704 * sysdeps/unix/sysv/linux/tile/configure.ac: Likewise.
4705 * sysdeps/unix/sysv/linux/tile/configure: Likewise.
4706 * README: Update reference to required Linux kernel version.
4707 * manual/install.texi (Linux): Update reference to required Linux
4708 kernel headers version.
4709 * INSTALL: Regenerated.
4711 * conform/data/stdlib.h-data [POSIX] (stddef.h): Do not allow
4713 [POSIX] (limits.h): Likewise.
4714 [POSIX] (math.h): Likewise.
4715 [POSIX] (sys/wait.h): Likewise.
4716 * conform/data/string.h-data [POSIX || UNIX98] (strtok_r): Require
4718 [POSIX] (stddef.h): Do not allow header inclusion.
4720 2014-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4722 * sysdeps/generic/symbol-hacks.h (memcpy): Add internal alias.
4724 2014-04-30 Yang Yingliang <yangyingliang@huawei.com>
4726 * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
4727 Return immediately after lll_futex_wake.
4729 2014-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
4732 * nscd/nscd-client.h (datahead_init_common): Initialize entire
4734 (datahead_init_pos): Call datahead_init_common early.
4735 (datahead_init_neg): Likewise.
4737 * nscd/nscd-client.h (datahead_init_common, datahead_init_pos,
4738 datahead_init_neg): New functions.
4739 * nscd/aicache.c (addhstaiX): Use them.
4740 * nscd/grpcache.c (cache_addgr): Likewise.
4741 * nscd/hstcache.c (cache_addhst): Likewise.
4742 * nscd/initgrcache.c (addinitgroupsX): Likewise.
4743 * nscd/netgroupcache.c (do_notfound): Likewise.
4744 (addgetnetgrentX): Likewise.
4745 (addinnetgrX): Likewise.
4746 * nscd/pwdcache.c (cache_addpw): Likewise.
4747 * nscd/servicescache.c (cache_addserv): Likewise.
4749 2014-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
4750 Atsushi Onoe <atsushi@onoe.org>
4755 * resolv/res_query.c (__libc_res_nsearch): Return if at least
4756 one response is valid.
4757 * resolv/res_send.c (send_dg): Check for validity of other
4758 response if the current response is a referral.
4760 2014-04-29 Steve Ellcey <sellcey@mips.com>
4762 * iconv/skeleton.c (ONE_DIRECTION): Set default value if not set.
4764 2014-04-29 Stefan Liebler <stli@linux.vnet.ibm.com>
4767 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl):
4768 Always divide by positive zero when computing -Inf result.
4769 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
4770 * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
4772 2014-04-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4774 * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Do not update
4775 FPSCR if value do not change.
4776 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
4777 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Likewise.
4778 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
4779 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
4780 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Likewise.
4781 * sysdeps/powerpc/fpu/fenv_libc.h (fenv_reg_to_exceptions): New helper
4784 2014-05-29 Carlos O'Donell <carlos@systemhalted.org>
4786 * sysdeps/hppa: Move directory from ports/sysdeps/hppa.
4787 * sysdeps/unix/sysv/linux/hppa: Move directory from
4788 ports/systeps/unix/sysv/linux/hppa.
4789 * README: Update listing for hppa-*-linux-gnu.
4791 2014-04-28 Ondřej Bílka <neleai@seznam.cz>
4794 * manual/stdio.texi (Hook functions): Fix types of stream hook
4797 * socket/sys/socket.h: Fix typo in comment.
4799 2014-04-28 Wilco <wdijkstr@arm.com>
4801 * sysdeps/arm/fenv_private.h: New file.
4802 * sysdeps/arm/math_private.h: New file.
4803 * sysdeps/arm/fpu_control.h: Add _FPU_MASK_NCZV and _FPU_MASK_EXCEPT.
4805 2014-04-25 H.J. Lu <hongjiu.lu@intel.com>
4807 * sysdeps/x86/bits/link.h (La_x86_64_regs): Replace __int128
4809 (La_x86_64_retval): Likewise.
4811 2014-04-24 Ian Bolton <ian.bolton@arm.com>
4813 * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept): Don't write to
4814 fpsr if value didn't change.
4815 * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept): Don't write
4816 to fpcr if value didn't change.
4817 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Likewise.
4818 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Don't write to
4819 fpsr or fpcr if value didn't change.
4820 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
4821 * sysdeps/aarch64/fpu/fesetround.c (fesetround): Don't write to
4822 fpcr if value didn't change.
4823 * sysdeps/aarch64/fpu/fsetexcptflg.c (fesetexceptflag): Don't write
4824 to fpsr if value didn't change.
4826 2014-02-23 Siddhesh Poyarekar <siddhesh@redhat.com>
4828 * nptl/tst-sem3.c: Use test-skeleton.c
4829 (main): Rename to do_test. Use return instead of
4831 * nptl/tst-sem4.c: Use test-skeleton.c
4832 (main): Rename to do_test.
4834 2014-04-22 David S. Miller <davem@davemloft.net>
4836 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h
4837 (struct sigaction): New struct member __glibc_reserved0, change
4838 type of sa_flags to int.
4840 2014-04-22 Yufeng Zhang <yufeng.zhang@arm.com>
4842 * stdlib/longlong.h (count_leading_zeros, count_trailing_zeros)
4843 (COUNT_LEADING_ZEROS_0): Define for AArch64.
4845 2014-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
4847 * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Include atomic.h.
4848 * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Likewise.
4850 2014-04-22 Will Newton <will.newton@linaro.org>
4851 Venkataramanan Kumar <venkataramanan.kumar@linaro.org>
4853 * sysdeps/aarch64/__longjmp.S: Include stap-probe.h.
4854 (__longjmp): Add longjmp and longjmp_target SystemTap
4856 * sysdeps/aarch64/setjmp.S: Include stap-probe.h.
4857 (__sigsetjmp): Add setjmp SystemTap probe.
4859 2014-04-17 Carlos O'Donell <carlos@redhat.com>
4861 * manual/intro.texi (Roadmap to the manual): Sort chapter listing to
4864 2014-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4866 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_once.c: Remove file.
4868 * sysdeps/powerpc/fpu/fenv_private.h
4869 (libc_feholdexcept_setroundl_ctx): Define to
4870 libc_feholdexcept_setround_ppc_ctx.
4871 (libc_fesetenvl_ctx): Define to libc_fesetenv_ppc_ctx.
4872 (libc_feholdsetroundl_ctx): Define to libc_feholdsetround_ppc_ctx.
4873 (libc_feresetroundl_ctx): Define to libc_feresetround_ppc_ctx.
4874 (libc_feupdateenvl_ctx): libc_feupdateenv_ppc_ctx.
4876 2014-04-17 Ian Bolton <ian.bolton@arm.com>
4878 * sysdeps/aarch64/math-tests.h: New file.
4880 2014-04-17 Sihai Yao <sihai.ysh@alibaba-inc.com>
4882 * sysdeps/x86_64/multiarch/ifunc-defines.sym (COMMON_CPUID_INDEX_7):
4884 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
4885 Check and set bit_AVX2_Usable.
4886 * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX2_Usable): New
4888 (bit_AVX2): Likewise.
4889 (index_AVX2_Usable): Likewise.
4890 (CPUID_AVX2): Likewise.
4891 (HAS_AVX2): Likewise.
4893 2014-04-17 Will Newton <will.newton@linaro.org>
4895 * manual/setjmp.texi (System V contexts): Add note that
4896 calling setcontext on a context created by a call to a
4897 signal handler is undefined. Update text to note that
4898 setcontext from a signal handler is possible but not
4902 * stdlib/tst-setcontext.c: Include signal.h.
4903 (main): Check that the signal stack before and
4904 after swapcontext is the same.
4906 * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext):
4907 Re-implement to restore registers in user code and avoid
4908 rt_sigreturn system call.
4910 2014-04-17 Wilco <wdijkstr@arm.com>
4912 * sysdeps/arm/math-tests.h: New file: Set ARM math-test settings.
4913 * sysdeps/generic/math-tests.h: Add macro (EXCEPTION_ENABLE_SUPPORTED).
4914 * math/test-fenv.c: Skip exception trap tests on targets which only
4915 support non-stop mode.
4917 2014-04-17 Ian Bolton <ian.bolton@arm.com>
4918 Wilco Dijkstra <wilco.dijkstra@arm.com>
4920 * sysdeps/aarch64/fpu/math_private.h (HAVE_RM_CTX)
4921 (libc_feholdsetround_aarch64_ctx)
4922 (libc_feholdsetround_ctx, libc_feholdsetroundf_ctx)
4923 (libc_feholdsetroundl_ctx, libc_feresetround_aarch64_ctx)
4924 (libc_feresetround_ctx, libc_feresetroundf_ctx)
4925 (libc_feresetroundl_ctx, libc_feresetround_noex_aarch64_ctx)
4926 (libc_feresetround_noex_ctx, libc_feresetround_noexf_ctx)
4927 (libc_feresetround_noexl_ctx): Define.
4929 2014-04-16 Richard Henderson <rth@redhat.com>
4931 * sysdeps/unix/sysv/linux/alpha/nptl/pthread_once.c: Remove.
4933 * sysdeps/alpha/Makefile [debug] (CFLAGS-backtrace.c): Enable
4936 * sysdeps/unix/alpha/sysdep.h (__pointer_chk_guard): Remove
4937 const from the non-libc, non-ldso copy.
4939 * sysdeps/alpha/libm-test-ulps: Regenerate.
4941 2014-04-16 Ian Bolton <ian.bolton@arm.com>
4942 Wilco Dijkstra <wilco.dijkstra@arm.com>
4944 * sysdeps/aarch64/fpu/math_private.h: New file.
4946 2014-04-16 Marcus Shawcroft <marcus.shawcroft@arm.com>
4948 * sysdeps/aarch64/libm-test-ulps: Regenerate.
4950 2014-04-16 Igor Zamyatin <igor.zamyatin@intel.com>
4952 * sysdeps/x86_64/bits/link.h (La_x86_64_regs): Add lr_bnd.
4953 (La_x86_64_retval): Add lrv_bnd0 and lrv_bnd1.
4954 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Save
4955 Intel MPX bound registers before _dl_profile_fixup.
4956 * sysdeps/x86_64/dl-trampoline.h: Restore Intel MPX bound
4957 registers after _dl_profile_fixup. Save and restore bound
4958 registers bnd0/bnd1 when calling _dl_call_pltexit.
4959 * sysdeps/x86_64/link-defines.sym (BND_SIZE): New.
4960 (LR_BND_OFFSET): Likewise.
4961 (LRV_BND0_OFFSET): Likewise.
4962 (LRV_BND1_OFFSET): Likewise.
4964 2014-04-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
4966 * sysdeps/mach/hurd/tls.h (dtv, dtv_t, tcbhead_t): Move declarations
4968 * sysdeps/mach/hurd/i386/tls.h: ... here.
4969 (tcbhead_t): Add multiple_threads, sysinfo, stack_guard,
4970 pointer_guard, gscope_flag, private_futex, __private_tm, __private_ss
4973 2014-04-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
4975 * sysdeps/mach/munmap.c (__munmap): Return EINVAL if `addr' is 0.
4977 2014-04-16 Stefan Liebler <stli@linux.vnet.ibm.com>
4979 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
4981 2014-04-16 Stefan Liebler <stli@linux.vnet.ibm.com>
4984 * sysdeps/s390/configure.ac: Check for Binutils >= 2.24.
4985 * sysdeps/s390/configure: Regenerate.
4988 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l):
4989 Set round-to-nearest internally to reduce error accumulation.
4991 2014-04-16 Alan Modra <amodra@gmail.com>
4995 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Rewrite.
4996 * math/libm-test.inc (frexp_test_data): Add tests.
4997 * NEWS: Update fixed bug list.
4999 2014-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
5001 * benchtests/Makefile: Depend on libraries in build directory.
5002 (bench-math): Separate out math tests.
5003 (bench-pthread): Separate out pthread tests.
5004 (bench): Include math and pthread tests.
5006 2014-04-14 Carlos O'Donell <carlos@redhat.com>
5009 * csu/libc-start.c (LIBC_START_MAIN) [!SHARED]: Call
5010 _dl_debug_initialize.
5012 * configure.ac: Remove SELinux header check.
5013 * configure: Regenerate.
5014 * nscd/selinux.c (perms): Array of const char* to permission names.
5015 (nscd_request_avc_has_perm): Call security_deny_unknown to find
5016 default policy. Call string_to_security_class and string_to_av_perm to
5017 translate strings. Enforce default policy and call avs_has_perm with
5018 results of translated strings.
5020 2014-04-13 David S. Miller <davem@davemloft.net>
5022 * sysdeps/sparc/fpu/libm-test-ulps: Update.
5024 2014-04-12 Allan McRae <allan@archlinux.org>
5027 * manual/string.texi (Collation Functions): Fix qsort argument
5029 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
5031 2014-04-11 Chris Metcalf <cmetcalf@tilera.com>
5033 * math/test-fenv-preserve.c [FE_ALL_EXCEPT == 0] (do_test):
5034 Make the test a no-op if there are no exceptions defined.
5036 2014-04-11 Paul Pluzhnikov <ppluzhnikov@google.com>
5038 * elf/Makefile (tests): make tst-dlopen-aout conditional on
5039 enable-hardcoded-path-in-tests
5041 2014-04-11 Will Newton <will.newton@linaro.org>
5043 * benchtests/Makefile (extra-objs): Add json-lib.o.
5044 (bench-func): Tidy up JSON output.
5045 * benchtests/bench-skeleton.c: Include json-lib.h.
5046 (main): Use JSON library functions to do output of
5048 * benchtests/bench-timing-type.c (main): Output the
5049 timing type simply, leaving formatting to the user.
5050 * benchtests/json-lib.c: New file.
5051 * benchtests/json-lib.h: Likewise.
5053 2014-04-11 Torvald Riegel <triegel@redhat.com>
5056 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_once.c: Moved to ...
5057 * nptl/sysdeps/unix/sysv/linux/pthread_once.c: ... here. Add missing
5058 memory barriers. Add comments.
5059 * sysdeps/unix/sysv/linux/aarch64/nptl/pthread_once.c: Remove file.
5060 * sysdeps/unix/sysv/linux/arm/nptl/pthread_once.c: Remove file.
5061 * sysdeps/unix/sysv/linux/ia64/nptl/pthread_once.c: Remove file.
5062 * sysdeps/unix/sysv/linux/m68k/nptl/pthread_once.c: Remove file.
5063 * sysdeps/unix/sysv/linux/mips/nptl/pthread_once.c: Remove file.
5064 * sysdeps/unix/sysv/linux/tile/nptl/pthread_once.c: Remove file.
5066 2014-04-11 Stefan Liebler <stli@linux.vnet.ibm.com>
5068 * sysdeps/s390/s390-32/configure.ac: Unify file with ...
5069 * sysdeps/s390/s390-64/configure.ac: ... this ...
5070 * sysdeps/s390/configure.ac: ... to here.
5071 * sysdeps/s390/s390-32/configure: Delete file.
5072 * sysdeps/s390/s390-64/configure: Delete file.
5073 * sysdeps/s390/configure: Regenerate.
5075 2014-04-11 Joseph Anthony Pasquale Holsten <joseph@josephholsten.com>
5077 * resolv/res_query.c (__libc_res_nsearch): Fix typo in comment.
5079 2014-04-11 Will Newton <will.newton@linaro.org>
5081 * malloc/malloc.c [!MALLOC_DEBUG]: #define MALLOC_DEBUG
5082 to zero if it is not defined elsewhere. (mtrim): Test
5083 the value of MALLOC_DEBUG with #if rather than #ifdef.
5085 2014-04-10 Torvald Riegel <triegel@redhat.com>
5087 * benchtests/pthread_once-inputs: New file.
5088 * benchtests/pthread_once-source.c: New file.
5089 * benchtests/README: Update documentation.
5091 2014-04-09 Igor Zamyatin <igor.zamyatin@intel.com>
5092 H.J. Lu <hongjiu.lu@intel.com>
5094 * config.h.in (HAVE_MPX_SUPPORT): New #undef.
5095 * sysdeps/x86_64/configure.ac: Set HAVE_MPX_SUPPORT.
5096 * sysdeps/x86_64/configure: Regenerated.
5097 * sysdeps/x86_64/dl-trampoline.S (REGISTER_SAVE_AREA): New
5099 (REGISTER_SAVE_RAX): Likewise.
5100 (REGISTER_SAVE_RCX): Likewise.
5101 (REGISTER_SAVE_RDX): Likewise.
5102 (REGISTER_SAVE_RSI): Likewise.
5103 (REGISTER_SAVE_RDI): Likewise.
5104 (REGISTER_SAVE_R8): Likewise.
5105 (REGISTER_SAVE_R9): Likewise.
5106 (REGISTER_SAVE_BND0): Likewise.
5107 (REGISTER_SAVE_BND1): Likewise.
5108 (REGISTER_SAVE_BND2): Likewise.
5109 (_dl_runtime_resolve): Use them. Save and restore Intel MPX
5110 bound registers when calling _dl_fixup.
5112 2014-04-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5114 * bits/string.h (_STRING_ARCH_unaligned): Define it to 0.
5115 * crypt/sha256.c (_STRING_ARCH_unaligned): Check its value instead
5117 * iconv/gconv_simple.c (_STRING_ARCH_unaligned): Likewise.
5118 * iconv/loop.c (_STRING_ARCH_unaligned): Likewise.
5119 * iconv/skeleton.c (_STRING_ARCH_unaligned): Likewise.
5120 * nscd/nscd_gethst_r.c (_STRING_ARCH_unaligned): Likewise.
5121 * nscd/nscd_getserv_r.c (_STRING_ARCH_unaligned): Likewise.
5122 * nscd/nscd_helper.c (_STRING_ARCH_unaligned): Likewise.
5123 * resolv/res_send.c (_STRING_ARCH_unaligned): Likewise.
5125 2014-04-09 Peter Brett <peter@peter-b.co.uk>
5128 * sysdeps/posix/pathconf.c (__pathconf): Use statvfs64() for
5129 pathconf(_PC_NAME_MAX).
5131 2014-04-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5133 * nptl/sysdeps/pthread/pthread.h (__PTHREAD_MUTEX_HAVE_ELISION):
5135 (__PTHREAD_SPINS): Move definition to ...
5136 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
5137 (__PTHREAD_SPINS): ... here.
5138 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
5139 (__PTHREAD_SPIN): Likewise.
5140 * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h
5141 (__PTHREAD_SPIN): Likewise.
5142 * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h
5143 (__PTHREAD_SPIN): Likewise.
5144 * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h
5145 (__PTHREAD_SPIN): Likewise.
5146 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
5147 (__PTHREAD_SPIN): Likewise.
5148 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
5149 (__PTHREAD_SPIN): Likewise.
5150 * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h
5151 (__PTHREAD_SPIN): Likewise.
5152 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
5153 (__PTHREAD_SPIN): Likewise.
5154 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
5155 (__PTHREAD_SPIN): Likewise.
5156 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
5157 (__PTHREAD_SPIN): Likewise.
5158 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
5159 (__PTHREAD_SPIN): Likewise.
5160 * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h
5161 (__PTHREAD_SPIN): Likewise.
5163 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: New file.
5164 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: new file.
5165 * sysdeps/powerpc/powerpc64/power6x/multiarch/Implies: New file.
5166 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove multiarch
5168 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Likewise.
5169 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: Likewise.
5170 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: Likewise.
5171 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: Adjust
5173 * sysdeps/powerpc/powerpc64/power7/strncat.S (STRLEN): Define correct
5174 strlen symbol for non multi-arch builds.
5175 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (__isnan): Add
5176 missing hidden_def and weak_alias.
5178 2014-04-08 Carlos O'Donell <carlos@redhat.com>
5180 * manual/ipc.texi (sem_close): AC-unsafe because of aculock.
5182 2014-04-07 Will Newton <will.newton@linaro.org>
5184 * string/basename.c [HAVE_CONFIG_H]: Remove #ifdef and
5185 and contents. [!_LIBC] Remove #ifndef and contents.
5186 (basename): Use ANSI prototype. [_LIBC] Remove #idef.
5187 * string/memccpy.c (__memccpy): Use ANSI prototype.
5188 * string/memfrob.c (memfrob): Likewise.
5189 * string/strcoll.c (STRCOLL): Likewise.
5190 * string/strlen.c (strlen): Likewise.
5191 * string/strtok.c (STRTOK): Likewise.
5192 * string/strcat.c: Remove unused #include of memcopy.h.
5193 (strcat): Use ANSI prototype.
5194 * string/strchr.c: Remove unused #include of memcopy.h.
5195 (strchr): Use ANSI prototype.
5196 * string/strcmp.c: Remove unused #include of memcopy.h.
5197 (strcmp): Use ANSI prototype.
5198 * string/strcpy.c: Remove unused #include of memcopy.h.
5199 (strcpy): Use ANSI prototype.
5201 2014-04-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5203 * Makeconfig (CPPFLAGS): Add config-extra-cppflags to list.
5204 * config.make.in (config-extra-cppflags): Set it from
5205 libc_extra_cppflags.
5206 * configure.ac (libc_extra_cflags): Make it accumulate over
5207 configure fragments.
5208 (libc_extra_cppflags): New flag.
5209 * configure. Regenerate.
5210 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
5211 (libc_cv_ppc64_def_call_elf): Define it to yes if compiler does
5212 not set _CALL_ELF and add -D_CALL_ELF=1 to libc_extra_cppflags.
5213 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
5216 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Fix
5217 result for FE_DOWNWARD rounding mode.
5218 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
5220 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5222 2014-04-04 Chris Metcalf <cmetcalf@tilera.com>
5224 * sysdeps/tile/dl-runtime.c (_dl_unmap): Fix cut-and-paste bug
5225 in function argument name.
5227 2014-04-03 David Svoboda <svoboda@cert.org>
5230 * manual/stdio.texi (Line-Oriented Input): Document buffer allocation
5233 2014-04-03 Roland McGrath <roland@hack.frob.com>
5235 * elf/dl-unmap-segments.h: New file.
5236 * sysdeps/generic/ldsodefs.h
5237 (DL_UNMAP): Use _dl_unmap_segments in place of __munmap.
5238 * elf/dl-close.c: Include <dl-unmap-segments.h>.
5239 * elf/dl-fptr.c: Likewise.
5240 (_dl_unmap): Use _dl_unmap_segments in place of __munmap.
5241 * sysdeps/aarch64/tlsdesc.c: Likewise.
5242 * sysdeps/arm/tlsdesc.c: Likewise.
5243 * sysdeps/i386/tlsdesc.c: Likewise.
5244 * sysdeps/tile/dl-runtime.c: Likewise.
5245 * sysdeps/x86_64/tlsdesc.c: Likewise.
5246 * elf/dl-load.h: New file.
5247 * elf/dl-load.c: Include it.
5248 (MAP_FILE, MAP_COPY, MAP_BASE_ADDR):
5249 Macros moved to dl-load.h.
5250 (ELF_PREFERRED_ADDRESS_DATA, ELF_PREFERRED_ADDRESS): Likewise.
5251 (_dl_map_object_from_fd): Type 'struct loadcmd' moved to dl-load.h.
5252 Use _dl_unmap_segments in place of __munmap.
5253 Break out segment-mapping loop into ...
5254 * elf/dl-map-segments.h (_dl_map_segments): ... here, in new file.
5256 2014-04-03 Will Newton <will.newton@linaro.org>
5258 * elf/dl-lookup.c (do_lookup_x): Remove comment
5259 referring to nested function and move variable
5260 declarations down to before first use.
5262 2014-04-02 Joseph Myers <joseph@codesourcery.com>
5266 * math/s_catan.c (__catan): Avoid passing -0 denominator to atan2
5268 * math/s_catanf.c (__catanf): Likewise.
5269 * math/s_catanh.c (__catanh): Likewise.
5270 * math/s_catanhf.c (__catanhf): Likewise.
5271 * math/s_catanhl.c (__catanhl): Likewise.
5272 * math/s_catanl.c (__catanl): Likewise.
5273 * sysdeps/ieee754/flt-32/e_logf.c (__ieee754_logf): Always divide
5274 by positive zero when computing -Inf result.
5275 * math/libm-test.inc (catan_test): Use ALL_RM_TEST.
5276 (catanh_test): Likewise.
5277 * sysdeps/i386/fpu/libm-test-ulps: Update.
5278 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5281 * math/s_clog.c (__clog): Use math_force_eval to ensure underflow
5282 instead of using underflowing value in computing result.
5283 * math/s_clog10.c (__clog10): Likewise.
5284 * math/s_clog10f.c (__clog10f): Likewise.
5285 * math/s_clog10l.c (__clog10l): Likewise.
5286 * math/s_clogf.c (__clogf): Likewise.
5287 * math/s_clogl.c (__clogl): Likewise.
5288 * math/libm-test.inc (clog_test): Use ALL_RM_TEST.
5289 (clog10_test): Likewise.
5290 * sysdeps/i386/fpu/libm-test-ulps: Update.
5291 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5293 2014-04-02 Alan Modra <amodra@gmail.com>
5296 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Correct
5297 output when value is near a power of two. Use int64_t for lx and
5298 remove casts. Use decimal rather than hex exponent constants.
5299 Don't use long double multiplication when double will suffice.
5300 * math/libm-test.inc (nextafter_test_data): Add tests.
5301 * NEWS: Add 16739 and 16786 to bug list.
5303 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Correct stream hint.
5305 * sysdeps/powerpc/powerpc64/start.S: Add @toc to toc symbol reference.
5307 2014-04-01 Will Newton <will.newton@linaro.org>
5309 * benchtests/Makefile (CFLAGS-bench-ffs.c): Add
5310 -fno-builtin. (CFLAGS-bench-ffsll.c): Likewise.
5312 2014-04-01 Florian Weimer <fweimer@redhat.com>
5315 * nptl/nptl-init.c (sighandler_setxid): Check system call result.
5316 * nptl/tst-setuid2.c: New file.
5317 * nptl/Makefile (xtests): Add tst-setuid2.
5319 2014-04-01 Alan Modra <amodra@gmail.com>
5322 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Don't trash stack.
5324 2014-03-31 Joseph Myers <joseph@codesourcery.com>
5328 * math/w_scalb.c (__scalb): For non-SVID mode, check result and
5329 set errno as appropriate.
5330 * math/w_scalbf.c (__scalbf): Likewise.
5331 * math/w_scalbl.c (__scalbl): Likewise.
5332 * math/gen-libm-test.pl (parse_args): Handle ERRNO_PLUS_OFLOW,
5333 ERRNO_MINUS_OFLOW, ERRNO_PLUS_UFLOW and ERRNO_MINUS_UFLOW.
5334 * math/libm-test.inc (scalb_test_data): Add errno expectations.
5338 * math/w_atan2.c: Include <errno.h>.
5339 (__atan2): Set errno for result underflowing to zero.
5340 * math/w_atan2f.c: Include <errno.h>.
5341 (__atan2f): Set errno for result underflowing to zero.
5342 * math/w_atan2l.c: Include <errno.h>.
5343 (__atan2l): Set errno for result underflowing to zero.
5344 * math/auto-libm-test-in: Don't allow missing errno for some atan2
5346 * math/auto-libm-test-out: Regenerated.
5348 2014-03-31 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5350 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
5351 Encode instruction correctly in little endian.
5352 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
5354 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
5356 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
5358 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
5361 2014-03-31 Joseph Myers <joseph@codesourcery.com>
5364 * sysdeps/unix/sysv/linux/kernel-features.h
5365 [__sparc__ && !__arch64__ && !__sparc_v9__]
5366 (__ASSUME_SET_ROBUST_LIST): Do not define.
5367 [__sparc__ && !__arch64__ && !__sparc_v9__]
5368 (__ASSUME_FUTEX_LOCK_PI): Likewise.
5369 [__sparc__ && !__arch64__ && !__sparc_v9__] (__ASSUME_REQUEUE_PI):
5371 * sysdeps/unix/sysv/linux/arm/kernel-features.h
5372 (__ASSUME_FUTEX_LOCK_PI): Undefine.
5373 (__ASSUME_REQUEUE_PI): Likewise.
5374 (__ASSUME_SET_ROBUST_LIST): Likewise.
5375 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
5376 [__LINUX_KERNEL_VERSION < 0x030a00] (__ASSUME_FUTEX_LOCK_PI):
5378 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
5379 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_FUTEX_LOCK_PI):
5381 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_REQUEUE_PI):
5383 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_SET_ROBUST_LIST):
5385 * sysdeps/unix/sysv/linux/mips/kernel-features.h
5386 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_FUTEX_LOCK_PI):
5388 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_REQUEUE_PI): Likewise.
5389 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_SET_ROBUST_LIST):
5393 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
5394 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_FUTIMESAT): Define.
5395 * sysdeps/unix/sysv/linux/microblaze/futimesat.c: New file.
5397 2014-03-31 Will Newton <will.newton@linaro.org>
5399 * benchtests/Makefile (bench): Add ffs and ffsll to list
5401 * benchtests/ffs-inputs: New file.
5402 * benchtests/ffsll-inputs: Likewise.
5404 2014-03-29 Joseph Myers <joseph@codesourcery.com>
5407 * math/e_scalb.c (__ieee754_scalb): Check second argument is not
5408 too large before casting to int.
5409 * math/e_scalbf.c (__ieee754_scalbf): Likewise.
5410 * math/e_scalbl.c (__ieee754_scalbl): Likewise.
5411 * math/libm-test.inc (scalb_test_data): Add more tests.
5413 2014-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
5415 * benchtests/Makefile (DETAILED_OPT): New make option.
5416 (bench-func): Run benchmark program with -d if DETAILED_OPT is
5418 * benchtests/bench-skeleton.c: Include stdbool.h.
5419 (main): Store and print timings per input.
5420 * benchtests/scripts/bench.py (STRUCT_TEMPLATE): Add timing
5421 member to each argument value.
5422 (EPILOGUE): Define new macros RESULT and RESULT_ACCUM.
5423 (_print_arg_data): Initialize per-input timing to 0.
5425 * benchtests/Makefile (timing-type): New binary.
5426 (bench-clean): Also remove bench-timing-type.
5427 (bench): New target for timing-type.
5428 (bench-func): Print output in JSON format.
5429 * benchtests/bench-skeleton.c (main): Print output in JSON
5431 * benchtests/bench-timing-type.c: New file.
5432 * benchtests/bench-timing.h (TIMING_TYPE): New macro.
5433 (TIMING_PRINT_STATS): Remove.
5434 * benchtests/scripts/bench.py (_print_arg_data): Store variant
5437 * benchtests/bench-modf.c: Remove.
5438 * benchtests/modf-inputs: New inputs file.
5440 2014-03-28 Joseph Myers <joseph@codesourcery.com>
5443 * math/s_clog10.c (M_PI_LOG10E): New macro.
5444 (__clog10): Use M_PI_LOG10E instead of M_PI when real and
5445 imaginary parts are 0.
5446 * math/s_clog10f.c (M_PI_LOG10Ef): New macro.
5447 (__clog10f): Use M_PI_LOG10Ef instead of M_PI when real and
5448 imaginary parts are 0.
5449 * math/s_clog10l.c (M_PI_LOG10El): New macro.
5450 (__clog10l): Use M_PI_LOG10El instead of M_PIl when real and
5451 imaginary parts are 0.
5452 * math/libm-test.inc (clog10_test_data): Update expected results
5453 for when real and imaginary parts are 0.
5455 2014-03-27 Paul Pluzhnikov <ppluzhnikov@google.com>
5457 * elf/dl-load.c: Finish conversion of __builtin_expect into
5460 2014-03-27 Joseph Myers <joseph@codesourcery.com>
5463 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]: Use
5464 1+x for argument with exponent below -67.
5465 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]:
5467 * math/auto-libm-test-in: Add more tests of exp.
5468 * math/auto-libm-test-out: Regenerated.
5470 2014-03-27 Siddhesh Poyarekar <siddhesh@redhat.com>
5473 * inet/getnetgrent_r.c (get_nonempty_val): New function.
5474 (nscd_getnetgrent): Use it.
5477 * nscd/netgroupcache.c (addgetnetgrentX): Use memmove instead
5480 2014-03-27 Andi Kleen <ak@linux.intel.com>
5482 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_lock)
5483 (lll_robust_lock, lll_cond_lock, lll_timedlock)
5484 (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
5485 (lll_robust_unlock): Remove out of line section. Use cfi
5487 (LLL_STUB_UNWIND_INFO*): Remove.
5488 * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_lock)
5489 (lll_robust_lock, lll_cond_lock, lll_timedlock)
5490 (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
5491 (lll_robust_unlock): Remove out of line section. Use cfi
5493 (LLL_STUB_UNWIND_INFO*): Remove.
5495 2014-03-27 Siddhesh Poyarekar <siddhesh@redhat.com>
5498 * nscd/netgroupcache.c (addinnetgrX): Succeed if triplet has
5501 2014-03-26 Paul Pluzhnikov <ppluzhnikov@google.com>
5503 * elf/dl-load.c: Convert __builtin_expect into __glibc_{un}likely.
5505 2014-03-26 Joseph Myers <joseph@codesourcery.com>
5508 * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Use fldenv after
5510 * math/test-fenv-preserve.c: New file.
5511 * math/Makefile (tests): Add test-fenv-preserve.
5513 2014-03-26 Will Newton <will.newton@linaro.org>
5515 * benchtests/bench-strtod.c (TIMEOUT): Define to 10.
5517 2014-03-25 Roland McGrath <roland@hack.frob.com>
5519 * scripts/versionlist.awk: Partition the version sets and emit all
5520 GLIBC_* (sorted) before all others (sorted).
5522 2014-03-25 Joseph Myers <joseph@codesourcery.com>
5524 * elf/Versions (libc) [EXPORT_UNWIND_FIND_FDE]: Add empty
5525 GLIBC_2.2.5 version.
5527 2014-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5529 * scripts/localplt.awk: Check for PLT generated by internal IFUNC
5532 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Revert
5535 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5537 2014-03-25 Andreas Schwab <schwab@suse.de>
5539 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Add out_fail2
5540 label to be used after in6ailist is initialized.
5542 2014-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5544 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
5545 (__PTHREAD_MUTEX_HAVE_ELISION): New define.
5547 2014-03-25 Joseph Myers <joseph@codesourcery.com>
5551 * math/gen-auto-libm-tests.c (fp_format_desc): Add field
5553 (fp_formats): Update initializers.
5554 (init_fp_formats): Initialize new field.
5555 (output_for_one_input_case): Allow underflow for results up to
5557 * math/libm-test.inc (log1p_test): Use ALL_RM_TEST.
5558 * math/auto-libm-test-in: Don't mark some underflows from asin and
5560 * math/auto-libm-test-out: Regenerated.
5561 * sysdeps/i386/fpu/libm-test-ulps: Update.
5562 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5564 2014-03-25 Andreas Schwab <schwab@suse.de>
5566 * libio/Makefile (tst-ftell-partial-wide-ENV)
5567 (tst-ftell-active-handler-ENV): Define.
5569 2014-03-25 Stefan Liebler <stli@linux.vnet.ibm.com>
5571 * NEWS: Add 16712, 16713, 16714 to fixed bug list.
5573 2014-03-24 Paul Pluzhnikov <ppluzhnikov@google.com>
5575 * elf/tst-dlopen-aout.c: Adjust comments. Use test-skeleton.c
5577 2014-03-24 Joseph Myers <joseph@codesourcery.com>
5579 * sysdeps/ieee754/dbl-64/e_exp.c: Include <math.h>.
5580 * sysdeps/x86_64/fpu/multiarch/e_exp.c
5581 [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
5583 2014-03-24 Paul Pluzhnikov <ppluzhnikov@google.com>
5586 * elf/dl-load.c (open_verify): Add mode parameter.
5587 Error early when ET_EXEC and mode does not have __RTLD_OPENEXEC.
5588 (open_path): Change from boolean 'secure' to complete flag 'mode'
5589 (_dl_map_object): Adjust.
5590 * elf/Makefile (tests): Add tst-dlopen-aout.
5591 * elf/tst-dlopen-aout.c: New test.
5593 2014-03-24 Stefan Liebler <stli@linux.vnet.ibm.com>
5596 * sysdeps/unix/sysv/linux/s390/bits/stat.h
5597 (struct stat): Rename member pad0 to __glibc_reserved0.
5600 * sysdeps/s390/s390-32/bits/wordsize.h
5601 (__WORDSIZE32_SIZE_ULONG): New define.
5602 * sysdeps/s390/s390-64/bits/wordsize.h
5603 (__WORDSIZE32_SIZE_ULONG): Likewise.
5604 * sysdeps/generic/stdint.h (SIZE_MAX):
5605 Define as UL if __WORDSIZE32_SIZE_ULONG.
5608 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
5609 (__glibc_reserved0): New variable.
5610 (sa_flags): Change type to int.
5612 * posix/Makefile (before-compile): Use += before-compile instead
5615 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
5616 (__PTHREAD_MUTEX_HAVE_ELISION): New define.
5618 2014-03-20 Andreas Schwab <schwab@suse.de>
5621 * sysdeps/posix/getaddrinfo.c (gaih_inet): Properly skip over
5622 non-matching result from nscd.
5624 2014-03-24 Siddhesh Poyarekar <siddhesh@redhat.com>
5626 * scripts/bench.py: Moved to ...
5627 * benchtests/scripts/bench.py: ... here.
5628 * benchtests/Makefile ($(objpfx)bench-%.c): Adjust.
5630 2014-03-24 Andreas Schwab <schwab@suse.de>
5633 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Use
5634 alloca_account and account alloca use for struct in6ailist.
5636 2014-03-24 Joseph Myers <joseph@codesourcery.com>
5639 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use original
5640 rounding mode to recompute results that overflow to infinity or
5642 * math/auto-libm-test-in: Don't mark tests as expected to fail for
5644 * math/auto-libm-test-out: Regenerated.
5645 * math/libm-test.inc (ccos_test): Use ALL_RM_TEST.
5646 (ccosh_test): Likewise.
5647 (csin_test_data): Use plus_oflow.
5648 (csin_test): Use ALL_RM_TEST.
5649 (csinh_test_data): Use plus_oflow.
5650 (csinh_test): Use ALL_RM_TEST.
5651 * sysdeps/i386/fpu/libm-test-ulps: Update.
5652 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5654 2014-03-21 Joseph Myers <joseph@codesourcery.com>
5656 * sysdeps/mips/bits/wordsize.h: Include <sgidefs.h>.
5657 * sysdeps/unix/sysv/linux/mips/getrlimit64.c: Likewise.
5658 * sysdeps/unix/sysv/linux/mips/setrlimit64.c: Likewise.
5661 * sysdeps/i386/fpu/e_log.S (__ieee754_log): Take absolute value
5663 * sysdeps/i386/fpu/e_logf.S (__ieee754_logf): Likewise.
5664 * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Likewise.
5665 * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
5666 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Return +0 when
5668 * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Likewise.
5669 * sysdeps/x86_64/fpu/e_logl.S: Take absolute value when x - 1 is
5671 * math/libm-test.inc (log_test): Use ALL_RM_TEST.
5672 * sysdeps/i386/fpu/libm-test-ulps: Update.
5673 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5675 2014-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
5677 * scripts/bench.pl: Remove file.
5678 * scripts/bench.py: New benchmark script.
5679 * benchtests/Makefile ($(objpfx)bench-%.c): Use it.
5680 * benchtests/README: Mention python dependency.
5681 * scripts/pylintrc: New file.
5682 * scripts/pylint: New file.
5684 * bits/mathdef.h: Use #ifdef instead of #if.
5685 * sysdeps/arm/bits/mathdef.h [defined __USE_ISOC99 && defined
5686 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
5687 * sysdeps/tile/bits/mathdef.h [defined __USE_ISOC99 && defined
5688 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
5689 * sysdeps/x86/bits/mathdef.h [defined __USE_ISOC99 && defined
5690 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
5692 2014-03-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5693 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
5695 * string/strpbrk.c (strpbrk): Using macro to redefine symbol name.
5696 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpbrk-power7
5697 and strpbrk-ppc64 objects.
5698 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
5699 (__libc_ifunc_impl_list): Add new strpbrk optimized symbols.
5700 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-power7.S: New file:
5701 multiarch strpbrk for POWER7.
5702 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: New file:
5703 multiarch strpbrk for PPC64.
5704 * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: New file: strpbrk
5706 * sysdeps/powerpc/powerpc64/power7/strpbrk.S: New file: optimited
5709 2014-03-20 Joseph Myers <joseph@codesourcery.com>
5711 * math/libm-test.inc (asinh_test): Use ALL_RM_TEST.
5712 (atan_test): Likewise.
5713 (atanh_test_data): Use NO_TEST_INLINE for two tests.
5714 (atanh_test): Use ALL_RM_TEST.
5715 (atan2_test_data): Likewise.
5716 (cabs_test): Likewise.
5717 (cacosh_test): Likewise.
5718 (carg_test): Likewise.
5719 (casin_test): Likewise.
5720 (casinh_test): Likewise.
5721 (cbrt_test): Likewise.
5722 (csqrt_test): Likewise.
5723 (erf_test): Likewise.
5724 (erfc_test): Likewise.
5725 (pow10_test): Likewise.
5726 (exp2_test): Likewise.
5727 (hypot_test): Likewise.
5728 (j0_test): Likewise.
5729 (j1_test): Likewise.
5730 (lgamma_test): Likewise.
5731 (gamma_test): Likewise.
5732 (sincos_test): Likewise.
5733 (tanh_test): Likewise.
5734 (y0_test): Likewise.
5735 (y1_test): Likewise.
5736 * sysdeps/i386/fpu/libm-test-ulps: Update.
5737 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5739 2014-03-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5741 * string/strcspn.c (strcspn): Using macro to redefine symbol name.
5742 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcspn-power7
5743 and strcspn-ppc64 objects.
5744 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
5745 (__libc_ifunc_impl_list): Add new strcspn optimized symbols.
5746 * sysdeps/powerpc/powerpc64/multiarch/strcspn-power7.S: New file:
5747 multiarch strcspn for POWER7.
5748 * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: New file:
5749 multiarch strcspn for PPC64.
5750 * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: New file: strcspn
5752 * sysdeps/powerpc/powerpc64/power7/strcspn.S: New file: optimited
5755 2014-03-20 Joseph Myers <joseph@codesourcery.com>
5757 * math/gen-libm-test.pl (generate_testfile): Expect only function
5758 name as argument to AUTO_TESTS_* and pass results for all rounding
5759 modes to parse_args.
5760 (parse_auto_input): Separate inputs of automatic tests from
5761 outputs before storing in %auto_tests.
5762 * math/libm-test.inc (acos_test_data): Update call to
5764 (acos_test): Use ALL_RM_TEST.
5765 (acos_tonearest_test_data): Remove.
5766 (acos_test_tonearest): Likewise.
5767 (acos_towardzero_test_data): Likewise.
5768 (acos_test_towardzero): Likewise.
5769 (acos_downward_test_data): Likewise.
5770 (acos_test_downward): Likewise.
5771 (acos_upward_test_data): Likewise.
5772 (acos_test_upward): Likewise.
5773 (acosh_test_data): Update call to AUTO_TESTS_f_f.
5774 (asin_test_data): Likewise.
5775 (asin_test): Use ALL_RM_TEST.
5776 (asin_tonearest_test_data): Remove.
5777 (asin_test_tonearest): Likewise.
5778 (asin_towardzero_test_data): Likewise.
5779 (asin_test_towardzero): Likewise.
5780 (asin_downward_test_data): Likewise.
5781 (asin_test_downward): Likewise.
5782 (asin_upward_test_data): Likewise.
5783 (asin_test_upward): Likewise.
5784 (asinh_test_data): Update call to AUTO_TESTS_f_f.
5785 (atan_test_data): Likewise.
5786 (atanh_test_data): Likewise.
5787 (atan2_test_data): Update call to AUTO_TESTS_ff_f.
5788 (cabs_test_data): Update call to AUTO_TESTS_c_f.
5789 (carg_test_data): Likewise.
5790 (cbrt_test_data): Update call to AUTO_TESTS_f_f.
5791 (ccos_test_data): Update call to AUTO_TESTS_c_c.
5792 (ccosh_test_data): Likewise.
5793 (cexp_test_data): Likewise.
5794 (clog_test_data): Likewise.
5795 (clog10_test_data): Likewise.
5796 (cos_test_data): Update call to AUTO_TESTS_f_f.
5797 (cos_test): Use ALL_RM_TEST.
5798 (cos_tonearest_test_data): Remove.
5799 (cos_test_tonearest): Likewise.
5800 (cos_towardzero_test_data): Likewise.
5801 (cos_test_towardzero): Likewise.
5802 (cos_downward_test_data): Likewise.
5803 (cos_test_downward): Likewise.
5804 (cos_upward_test_data): Likewise.
5805 (cos_test_upward): Likewise.
5806 (cosh_test_data): Update call to AUTO_TESTS_f_f.
5807 (cosh_test): Use ALL_RM_TEST.
5808 (cosh_tonearest_test_data): Remove.
5809 (cosh_test_tonearest): Likewise.
5810 (cosh_towardzero_test_data): Likewise.
5811 (cosh_test_towardzero): Likewise.
5812 (cosh_downward_test_data): Likewise.
5813 (cosh_test_downward): Likewise.
5814 (cosh_upward_test_data): Likewise.
5815 (cosh_test_upward): Likewise.
5816 (cpow_test_data): Update call to AUTO_TESTS_cc_c.
5817 (csqrt_test_data): Update call to AUTO_TESTS_c_c.
5818 (ctan_test_data): Likewise.
5819 (ctan_test): Use ALL_RM_TEST.
5820 (ctan_tonearest_test_data): Remove.
5821 (ctan_test_tonearest): Likewise.
5822 (ctan_towardzero_test_data): Likewise.
5823 (ctan_test_towardzero): Likewise.
5824 (ctan_downward_test_data): Likewise.
5825 (ctan_test_downward): Likewise.
5826 (ctan_upward_test_data): Likewise.
5827 (ctan_test_upward): Likewise.
5828 (ctanh_test_data): Update call to AUTO_TESTS_c_c.
5829 (ctanh_test): Use ALL_RM_TEST.
5830 (ctanh_tonearest_test_data): Remove.
5831 (ctanh_test_tonearest): Likewise.
5832 (ctanh_towardzero_test_data): Likewise.
5833 (ctanh_test_towardzero): Likewise.
5834 (ctanh_downward_test_data): Likewise.
5835 (ctanh_test_downward): Likewise.
5836 (ctanh_upward_test_data): Likewise.
5837 (ctanh_test_upward): Likewise.
5838 (erf_test_data): Update call to AUTO_TESTS_f_f.
5839 (erfc_test_data): Likewise.
5840 (exp_test_data): Likewise.
5841 (exp_test): Use ALL_RM_TEST.
5842 (exp_tonearest_test_data): Remove.
5843 (exp_test_tonearest): Likewise.
5844 (exp_towardzero_test_data): Likewise.
5845 (exp_test_towardzero): Likewise.
5846 (exp_downward_test_data): Likewise.
5847 (exp_test_downward): Likewise.
5848 (exp_upward_test_data): Likewise.
5849 (exp_test_upward): Likewise.
5850 (exp10_test_data): Update call to AUTO_TESTS_f_f.
5851 (exp10_test): Use ALL_RM_TEST.
5852 (exp10_tonearest_test_data): Remove.
5853 (exp10_test_tonearest): Likewise.
5854 (exp10_towardzero_test_data): Likewise.
5855 (exp10_test_towardzero): Likewise.
5856 (exp10_downward_test_data): Likewise.
5857 (exp10_test_downward): Likewise.
5858 (exp10_upward_test_data): Likewise.
5859 (exp10_test_upward): Likewise.
5860 (exp2_test_data): Update call to AUTO_TESTS_f_f.
5861 (expm1_test_data): Likewise.
5862 (expm1_test): Use ALL_RM_TEST.
5863 (expm1_tonearest_test_data): Remove.
5864 (expm1_test_tonearest): Likewise.
5865 (expm1_towardzero_test_data): Likewise.
5866 (expm1_test_towardzero): Likewise.
5867 (expm1_downward_test_data): Likewise.
5868 (expm1_test_downward): Likewise.
5869 (expm1_upward_test_data): Likewise.
5870 (expm1_test_upward): Likewise.
5871 (fma_test_data): Update call to AUTO_TESTS_fff_f.
5872 (fma_test): Use ALL_RM_TEST.
5873 (fma_towardzero_test_data): Remove.
5874 (fma_test_towardzero): Likewise.
5875 (fma_downward_test_data): Likewise.
5876 (fma_test_downward): Likewise.
5877 (fma_upward_test_data): Likewise.
5878 (fma_test_upward): Likewise.
5879 (hypot_test_data): Update call to AUTO_TESTS_ff_f.
5880 (j0_test_data): Update call to AUTO_TESTS_f_f.
5881 (j1_test_data): Likewise.
5882 (jn_test_data): Update call to AUTO_TESTS_if_f.
5883 (lgamma_test_data): Update call to AUTO_TESTS_f_f1.
5884 (log_test_data): Update call to AUTO_TESTS_f_f.
5885 (log10_test_data): Likewise.
5886 (log1p_test_data): Likewise.
5887 (log2_test_data): Likewise.
5888 (pow_test_data): Update call to AUTO_TESTS_ff_f.
5889 (pow_tonearest_test_data): Likewise.
5890 (sin_test_data): Update call to AUTO_TESTS_f_f.
5891 (sin_test): Use ALL_RM_TEST.
5892 (sin_tonearest_test_data): Remove.
5893 (sin_test_tonearest): Likewise.
5894 (sin_towardzero_test_data): Likewise.
5895 (sin_test_towardzero): Likewise.
5896 (sin_downward_test_data): Likewise.
5897 (sin_test_downward): Likewise.
5898 (sin_upward_test_data): Likewise.
5899 (sin_test_upward): Likewise.
5900 (sincos_test_data): Update call to AUTO_TESTS_fFF_11.
5901 (sinh_test_data): Update call to AUTO_TESTS_f_f.
5902 (sinh_test): Use ALL_RM_TEST.
5903 (sinh_tonearest_test_data): Remove.
5904 (sinh_test_tonearest): Likewise.
5905 (sinh_towardzero_test_data): Likewise.
5906 (sinh_test_towardzero): Likewise.
5907 (sinh_downward_test_data): Likewise.
5908 (sinh_test_downward): Likewise.
5909 (sinh_upward_test_data): Likewise.
5910 (sinh_test_upward): Likewise.
5911 (sqrt_test_data): Update call to AUTO_TESTS_f_f.
5912 (sqrt_test): Use ALL_RM_TEST.
5913 (sqrt_tonearest_test_data): Remove.
5914 (sqrt_test_tonearest): Likewise.
5915 (sqrt_towardzero_test_data): Likewise.
5916 (sqrt_test_towardzero): Likewise.
5917 (sqrt_downward_test_data): Likewise.
5918 (sqrt_test_downward): Likewise.
5919 (sqrt_upward_test_data): Likewise.
5920 (sqrt_test_upward): Likewise.
5921 (tan_test_data): Update call to AUTO_TESTS_f_f.
5922 (tan_test): Use ALL_RM_TEST.
5923 (tan_tonearest_test_data): Remove.
5924 (tan_test_tonearest): Likewise.
5925 (tan_towardzero_test_data): Likewise.
5926 (tan_test_towardzero): Likewise.
5927 (tan_downward_test_data): Likewise.
5928 (tan_test_downward): Likewise.
5929 (tan_upward_test_data): Likewise.
5930 (tan_test_upward): Likewise.
5931 (tanh_test_data): Update call to AUTO_TESTS_f_f.
5932 (tgamma_test_data): Likewise.
5933 (y0_test_data): Likewise.
5934 (y1_test_data): Likewise.
5935 (yn_test_data): Update call to AUTO_TESTS_if_f.
5936 (main): Do not call removed functions.
5938 2014-03-19 Joseph Myers <joseph@codesourcery.com>
5940 * math/libm-test.inc (fdim_test): Use ALL_RM_TEST.
5941 (ldexp_test_data): Remove.
5942 (ldexp_test): Move to after scalbn_test. Use ALL_RM_TEST with
5944 (scalb_test): Use ALL_RM_TEST.
5946 2014-03-19 Andreas Schwab <schwab@suse.de>
5948 * nscd/nscd.service: Also invalidate netgroup cache on reload.
5950 2014-03-19 Joseph Myers <joseph@codesourcery.com>
5953 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
5954 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PREADV): Undefine.
5955 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PWRITEV): Likewise.
5956 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
5957 (__ASSUME_PREADV): Undefine.
5958 (__ASSUME_PWRITEV): Likewise.
5960 2014-03-18 Roland McGrath <roland@hack.frob.com>
5962 * bits/mman-linux.h: Add comment about non-Linux use.
5963 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add comment about
5964 bits/mman-linux.h resting place.
5966 * sysdeps/unix/sysv/linux/bits/mman-linux.h: Moved to ...
5967 * bits/mman-linux.h: ... here.
5969 2014-03-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5971 * conform/conformtest.pl: Add standard definition when calling C
5972 preprocessor on data files.
5973 (checknamespace): Remove unused variable.
5975 2014-03-18 Joseph Myers <joseph@codesourcery.com>
5977 * math/gen-libm-test.pl (parse_args): Handle plus_oflow,
5978 minus_oflow, plus_uflow and minus_uflow in expected results.
5979 * math/libm-test.inc (scalbn_test_data): Add more tests of
5980 negative arguments. Use plus_oflow, minus_oflow, plus_uflow and
5982 (scalbn_test): Use ALL_RM_TEST.
5983 (scalbln_test_data): Add more tests of negative arguments. Use
5984 plus_oflow, minus_oflow, plus_uflow and minus_uflow.
5985 (scalbln_test): Use ALL_RM_TEST.
5987 2014-03-18 Roland McGrath <roland@hack.frob.com>
5989 * scripts/abilist.awk: Ignore symbols marked with .hidden.
5991 2014-03-18 Will Newton <will.newton@linaro.org>
5993 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Remove
5996 2014-03-18 Joseph Myers <joseph@codesourcery.com>
5998 * Makerules [!subdir] (check-abi): Exit with error status if a
6001 2014-03-17 Joseph Myers <joseph@codesourcery.com>
6003 * math/libm-test.inc (nearbyint_test_data): Include all tests used
6004 for rint. Include results for all rounding modes.
6005 (nearbyint_test): Use ALL_RM_TEST.
6006 (rint_test_data): Include all tests used for nearbyint.
6008 2014-03-17 Will Newton <will.newton@linaro.org>
6010 * nptl/sysdeps/pthread/pthread.h: Revert previous
6013 * sysdeps/generic/ldsodefs.h: Revert previous
6016 * libio/genops.c: Revert previous change.
6017 * libio/libioP.h: Likewise.
6018 * stdio-common/vfprintf.c: Likewise.
6020 * sysdeps/generic/math_private.h: Revert previous
6023 * sysdeps/generic/math_private.h: Check whether
6024 HAVE_RM_CTX is defined with #ifdef rather
6027 * argp/argp-fmtstream.h: Check whether
6028 __STRICT_ANSI__ is defined with #ifdef rather
6030 * argp/argp.h: Likewise.
6032 * libio/genops.c: Check whether
6033 _IO_JUMPS_OFFSET is defined with #ifdef rather
6035 * libio/libioP.h: Likewise.
6036 * stdio-common/vfprintf.c: Likewise.
6038 * sysdeps/generic/ldsodefs.h: Check whether
6039 HP_SMALL_TIMING_AVAIL is defined with #ifdef rather
6042 * nptl/sysdeps/pthread/pthread.h: Check
6043 __PTHREAD_MUTEX_HAVE_ELISION is defined before testing
6046 2014-03-17 Siddhesh Poyarekar <siddhesh@redhat.com>
6048 * libio/iofdopen.c (_IO_new_fdopen): Seek to end only if
6050 * libio/tst-ftell-active-handler.c (do_append_test): Add a
6054 * libio/fileops.c (_IO_file_open): Seek to end of file but
6055 don't cache the offset.
6056 (get_file_offset): Remove function.
6057 (do_ftell): Use cached offset when available.
6058 * libio/iofdopen.c (_IO_new_fdopen): Seek to end of file but
6059 don't cache the offset.
6060 * libio/tst-ftell-active-handler.c (do_rewind_test): New test
6062 (do_one_test): Call it.
6063 (do_ftell_test): Fix up expected old offset for a+ mode.
6064 * libio/wfileops.c (do_ftell_wide): Used cached offset when
6067 * libio/tst-ftell-active-handler.c (do_ftell_test): Don't mix
6068 up test status with function return status.
6069 (do_write_test): Likewise.
6070 (do_append_test): Likewise.
6072 * nptl/sysdeps/pthread/bits/libc-lockP.h [defined NOT_IN_libc
6073 && !defined IS_IN_libpthread && __LT_SPINNOCK_INIT != 0]:
6076 2014-03-17 Joseph Myers <joseph@codesourcery.com>
6078 * math/gen-libm-test.pl (parse_args): Handle results specified for
6079 each rounding mode separately.
6080 * math/libm-test.inc (lrint_test_data): Merge in per-rounding-mode
6081 tests and results from lrint_tonearest_test_data,
6082 lrint_towardzero_test_data, lrint_downward_test_data and
6083 lrint_upward_test_data.
6084 (lrint_test): Use ALL_RM_TEST.
6085 (lrint_tonearest_test_data): Remove.
6086 (lrint_test_tonearest): Likewise.
6087 (lrint_towardzero_test_data): Likewise.
6088 (lrint_test_towardzero): Likewise.
6089 (lrint_downward_test_data): Likewise.
6090 (lrint_test_downward): Likewise.
6091 (lrint_upward_test_data): Likewise.
6092 (lrint_test_upward): Likewise.
6093 (llrint_test_data): Merge in per-rounding-mode tests and results
6094 from llrint_tonearest_test_data, llrint_towardzero_test_data,
6095 llrint_downward_test_data and llrint_upward_test_data.
6096 (llrint_test): Use ALL_RM_TEST.
6097 (llrint_tonearest_test_data): Remove.
6098 (llrint_test_tonearest): Likewise.
6099 (llrint_towardzero_test_data): Likewise.
6100 (llrint_test_towardzero): Likewise.
6101 (llrint_downward_test_data): Likewise.
6102 (llrint_test_downward): Likewise.
6103 (llrint_upward_test_data): Likewise.
6104 (llrint_test_upward): Likewise.
6105 (rint_test_data): Merge in per-rounding-mode tests and results
6106 from rint_tonearest_test_data, rint_towardzero_test_data,
6107 rint_downward_test_data and rint_upward_test_data. Add
6108 per-rounding-mode results for tests not in those arrays.
6109 (rint_test): Use ALL_RM_TEST.
6110 (rint_tonearest_test_data): Remove.
6111 (rint_test_tonearest): Likewise.
6112 (rint_towardzero_test_data): Likewise.
6113 (rint_test_towardzero): Likewise.
6114 (rint_downward_test_data): Likewise.
6115 (rint_test_downward): Likewise.
6116 (rint_upward_test_data): Likewise.
6117 (rint_test_upward): Likewise.
6118 (main): Don't call removed functions.
6120 2014-03-14 Roland McGrath <roland@hack.frob.com>
6122 * csu/Makefile ($(objpfx)version-info.h): Remove linux-specific
6123 "Compiled on ..." crapola. It is anti-useful.
6125 2014-03-14 Joseph Myers <joseph@codesourcery.com>
6127 * scripts/evaluate-test.sh: Handle fourth argument to determine
6128 whether test run should stop on failure.
6129 * Makeconfig (stop-on-test-failure): New variable.
6130 (evaluate-test): Pass fourth argument to evaluate-test.sh based on
6131 $(stop-on-test-failure).
6132 * Makefile (tests): Give a summary of results from testing and
6133 exit with failure status if they include an ERROR or FAIL.
6135 * manual/install.texi (Configuring and compiling): Mention
6136 stop-on-test-failure=y.
6137 * INSTALL: Regenerated.
6139 2014-03-14 Roland McGrath <roland@hack.frob.com>
6141 * scripts/versionlist.awk: New file.
6142 * Makerules [$(build-shared) = yes]
6143 (postclean-generated): Add Versions.def, not Versions.def.v and
6145 ($(common-objpfx)Versions.def.v.i): Target removed.
6146 ($(common-objpfx)Versions.def): New target.
6147 ($(common-objpfx)Versions.all): Depend on that rather that
6148 $(common-objpfx)Versions.def.v.
6149 * Versions.def: File removed.
6151 * Makeconfig (+gccwarn): Add -Wundef.
6152 * include/errno.h [IS_IN_rtld] [!RTLD_PRIVATE_ERRNO]: #error to catch
6153 a dl-sysdep.h breaking its contract.
6154 [!IS_IN_rtld] (RTLD_PRIVATE_ERRNO): Define it to 0.
6155 * include/stackinfo.h: New file.
6156 * nptl/sysdeps/i386/tls.h (TLS_DTV_AT_TP): New macro.
6157 * nptl/sysdeps/powerpc/tls.h (TLS_TCB_AT_TP): New macro.
6158 * nptl/sysdeps/s390/tls.h (TLS_DTV_AT_TP): New macro.
6159 * nptl/sysdeps/sh/tls.h (TLS_TCB_AT_TP): New macro.
6160 * nptl/sysdeps/sparc/tls.h (TLS_DTV_AT_TP): New macro.
6161 * nptl/sysdeps/x86_64/tls.h (TLS_DTV_AT_TP): New macro.
6162 * sysdeps/aarch64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
6163 * sysdeps/alpha/nptl/tls.h (TLS_TCB_AT_TP): New macro.
6164 * sysdeps/arm/nptl/tls.h (TLS_TCB_AT_TP): New macro.
6165 * sysdeps/ia64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
6166 * sysdeps/m68k/nptl/tls.h (TLS_TCB_AT_TP): New macro.
6167 * sysdeps/mach/hurd/i386/tls.h (TLS_DTV_AT_TP): New macro.
6168 * sysdeps/microblaze/nptl/tls.h (TLS_TCB_AT_TP): New macro.
6169 * sysdeps/mips/nptl/tls.h (TLS_TCB_AT_TP): New macro.
6170 * sysdeps/tile/nptl/tls.h (TLS_TCB_AT_TP): New macro.
6172 2014-03-14 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6175 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Remove wrong
6177 * math/libm-test.inc (round_test_data): Add more tests.
6180 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Remove wrong
6182 * math/libm-test.inc (nearbyint_test_data): Add more tests.
6185 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Remove wrong
6187 * math/libm-test.inc (ceil_test_data): Add more tests.
6189 * math/libm-test.inc (trunc_test_data): Add more tests related to
6192 2014-03-14 Roland McGrath <roland@hack.frob.com>
6194 * nptl/pthread_create.c (__pthread_create_2_1): Test TLS_TCB_AT_TP
6195 with #if rather than #ifdef.
6196 * nptl/sysdeps/pthread/createthread.c (create_thread): Likewise.
6198 2014-03-14 H.J. Lu <hongjiu.lu@intel.com>
6200 * sysdeps/x86_64/configure.ac: Check AVX-512 assembler support
6201 first. Disable AVX-512 GCC support if assembler doesn't support
6203 * sysdeps/x86_64/configure: Regenerated.
6205 2014-03-13 Carlos O'Donell <carlos@redhat.com>
6207 * nptl/pthread_attr_setstack.c (__pthread_attr_setstack)
6208 [!_STACK_GROWS_DOWN]: Don't add stacksize to stackaddr.
6209 (__old_pthread_attr_setstack): Likewise.
6210 * nptl/pthread_attr_getstack.c (__pthread_attr_getstack)
6211 [!_STACK_GROWS_DOWN]: Likewise.
6213 2014-03-13 Mike Frysinger <vapier@gentoo.org>
6215 * config.make.in (have-bash2): Delete.
6216 * configure.ac (libc_cv_have_bash2): Delete.
6217 * configure: Regenerate.
6218 * elf/Makefile (common-ldd-rewrite): Rename to ...
6219 (ldd-rewrite): ... this. Move bash-ldd-rewrite content to end.
6220 (sh-ldd-rewrite): Delete.
6221 (bash-ldd-rewrite): Delete.
6222 (have-bash2): Delete checks.
6223 [ldd-rewrite-script]: Change $(ldd-shell)-ldd-rewrite to
6226 * config.make.in (have-ksh): Delete.
6228 * configure.ac (libc_cv_have_ksh): Delete.
6229 * configure: Regenerate.
6231 * elf/Makefile: Delete $(have-ksh) check.
6232 ($(objpfx)sotruss): Change KSH to BASH.
6233 * elf/sotruss.ksh: Rename to ...
6234 * elf/sotruss.sh: ... this. Change @KSH@ to @BASH@. Change
6235 function style to match POSIX. Drop ksh vim mode setting.
6237 * manual/time.texi (Specifying the Time Zone with TZ): Change
6238 Tuesday to Thursday.
6240 * debug/tst-longjmp_chk2.c: Update header comment.
6241 (stackoverflow_handler): Add comment. Call assert on pass value.
6243 2014-03-13 Igor Zamyatin <igor.zamyatin@intel.com>
6245 * config.h.in (HAVE_AVX512_SUPPORT): New #undef.
6246 (HAVE_AVX512_ASM_SUPPORT): Likewise.
6247 * sysdeps/x86_64/bits/link.h (La_x86_64_zmm): New.
6248 (La_x86_64_vector): Add zmm.
6249 * sysdeps/x86_64/Makefile (tests): Add tst-audit10.
6250 (modules-names): Add tst-auditmod10a and tst-auditmod10b.
6251 ($(objpfx)tst-audit10): New target.
6252 ($(objpfx)tst-audit10.out): Likewise.
6253 (tst-audit10-ENV): New.
6254 (AVX512-CFLAGS): Likewise.
6255 (CFLAGS-tst-audit10.c): Likewise.
6256 (CFLAGS-tst-auditmod10a.c): Likewise.
6257 (CFLAGS-tst-auditmod10b.c): Likewise.
6258 * sysdeps/x86_64/configure.ac: Set config-cflags-avx512,
6259 HAVE_AVX512_SUPPORT and HAVE_AVX512_ASM_SUPPORT.
6260 * sysdeps/x86_64/configure: Regenerated.
6261 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Add
6262 AVX-512 zmm register support.
6263 (_dl_x86_64_save_sse): Likewise.
6264 (_dl_x86_64_restore_sse): Likewise.
6265 * sysdeps/x86_64/dl-trampoline.h: Updated to support different
6266 size vector registers.
6267 * sysdeps/x86_64/link-defines.sym (YMM_SIZE): New.
6268 (ZMM_SIZE): Likewise.
6269 * sysdeps/x86_64/tst-audit10.c: New file.
6270 * sysdeps/x86_64/tst-auditmod10a.c: Likewise.
6271 * sysdeps/x86_64/tst-auditmod10b.c: Likewise.
6273 2014-03-13 Roland McGrath <roland@hack.frob.com>
6275 * configure.ac (HAVE_EHDR_START): New check.
6276 * configure: Regenerated.
6277 * config.h.in (HAVE_EHDR_START): New #undef.
6278 * elf/rtld.c (dl_main) [HAVE_EHDR_START]: Use __ehdr_start rather than
6279 assuming the lowest-addressed segment maps the start of the file.
6281 2014-03-13 Joseph Myers <joseph@codesourcery.com>
6283 * INSTALL: Regenerated.
6285 2014-03-13 Will Newton <will.newton@linaro.org>
6287 * manual/setjmp.texi (System V contexts): Improve
6288 clarity and grammar of documentation.
6290 2014-03-12 Paul Pluzhnikov <ppluzhnikov@google.com>
6293 * elf/Makefile (tests): Add tst-pie2.
6294 (tests-pie): Add tst-pie2.
6295 * elf/tst-pie2.c: New file.
6296 * elf/dl-load.c (_dl_map_object_from_fd): Assert correct l_type
6298 * elf/rtld.c (map_doit): Load executable as lt_executable.
6299 (dl_main): Likewise.
6301 2014-03-12 Joseph Myers <joseph@codesourcery.com>
6304 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
6305 (__ASSUME_PSELECT): Undefine.
6307 2014-03-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6310 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S
6311 (__bzero_ppc): Call memset@local instead of __memset_ppc@local for
6313 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Build IFUNC
6314 selector for static builds.
6316 2014-03-12 Siddhesh Poyarekar <siddhesh@redhat.com>
6319 * nscd/netgroupcache.c (addgetnetgrentX): Factor in space for
6322 2014-03-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6324 * sysdeps/powerpc/powerpc64/multiarch/strspn.c (strspn): Build
6325 IFUNC selector for static builds.
6327 2014-03-11 Joseph Myers <joseph@codesourcery.com>
6329 * sysdeps/mips/math_private.h [__mips_hard_float]
6330 (libc_feresetround_ctx): Define to libc_feupdateenv_mips_ctx not
6331 libc_feresetround_mips_ctx.
6332 [__mips_hard_float] (libc_feresetroundf_ctx): Likewise.
6333 [__mips_hard_float] (libc_feresetroundl_ctx): Likewise.
6334 [__mips_hard_float] (libc_feresetround_mips_ctx): Remove.
6337 * math/s_nextafter.c (__nextafter): Do not return value from
6338 overflowing computation.
6339 * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
6340 * sysdeps/ieee754/flt-32/s_nextafterf.c (__nextafterf): Likewise.
6341 * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
6343 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
6345 * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
6346 * math/libm-test.inc (nextafter_test): Use ALL_RM_TEST.
6348 2014-03-11 Roland McGrath <roland@hack.frob.com>
6350 * sysdeps/arm/setjmp.S: Use sfi_breg on stores of mangled registers.
6351 * sysdeps/arm/__longjmp.S: Use sfi_breg on loads of mangled registers.
6352 Move sfi_sp use from the load-multiple (that no longer sets sp) to
6353 the new mov targetting sp.
6355 2014-03-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6358 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S (__bzero_ppc):
6359 Define it for static builds as well.
6360 (NO_BZERO_IMPL): Likewise.
6362 2014-03-11 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
6364 * sysdeps/powerpc/powerpc64/power7/strspn.S: New file: Optimization.
6365 * sysdeps/powerpc/powerpc64/multiarch/strspn.c: New file:
6366 multiarch strspn for PPC64.
6367 * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: New file
6368 * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: New file
6369 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
6370 (__libc_ifunc_impl_list): Likewise.
6371 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strspn
6372 multiarch optimizations
6373 * string/strspn.c (strspn): Using macro to redefine symbol name.
6375 2014-03-10 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
6376 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6378 * sysdeps/powerpc/powerpc64/power7/strncat.S: New file: Optimization.
6379 * sysdeps/powerpc/powerpc64/multiarch/strncat.c: New file:
6380 multiarch strncat for PPC64.
6381 * sysdeps/powerpc/powerpc64/multiarch/strncat-ppc64.c: New file
6382 * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: New file
6383 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
6384 (__libc_ifunc_impl_list): Likewise.
6385 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncat
6386 multiarch optimizations
6388 2014-03-10 Siddhesh Poyarekar <siddhesh@redhat.com>
6391 * nscd/nscd.service: Make service type forking.
6393 2014-03-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6395 * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Fix to return correct
6396 sign in non default rounding modes.
6397 * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
6399 2014-03-08 Joseph Myers <joseph@codesourcery.com>
6401 * math/libm-test.inc (ALL_RM_TEST): New macro.
6402 (ceil_test): Use ALL_RM_TEST.
6403 (cimag_test): Likewise.
6404 (conj_test): Likewise.
6405 (copysign_test): Likewise.
6406 (cproj_test): Likewise.
6407 (creal_test): Likewise.
6408 (fabs_test): Likewise.
6409 (floor_test): Likewise.
6410 (fmax_test): Likewise.
6411 (fmin_test): Likewise.
6412 (fmod_test): Likewise.
6413 (fpclassify_test): Likewise.
6414 (frexp_test): Likewise.
6415 (ilogb_test): Likewise.
6416 (isfinite_test): Likewise.
6417 (finite_test): Likewise.
6418 (isgreater_test): Likewise.
6419 (isgreaterequal_test): Likewise.
6420 (isinf_test): Likewise.
6421 (isless_test): Likewise.
6422 (islessequal_test): Likewise.
6423 (islessgreater_test): Likewise.
6424 (isnan_test): Likewise.
6425 (isnormal_test): Likewise.
6426 (issignaling_test): Likewise.
6427 (isunordered_test): Likewise.
6428 (logb_test): Likewise.
6429 (logb_downward_test_data): Remove.
6430 (logb_test_downward): Likewise.
6431 (lround_test): Use ALL_RM_TEST.
6432 (llround_test): Likewise.
6433 (modf_test): Likewise.
6434 (nexttoward_test): Likewise.
6435 (remainder_test): Likewise.
6436 (drem_test): Likewise.
6437 (remainder_tonearest_test_data): Likewise.
6438 (remainder_test_tonearest): Likewise.
6439 (drem_test_tonearest): Likewise.
6440 (remainder_towardzero_test_data): Likewise.
6441 (remainder_test_towardzero): Likewise.
6442 (drem_test_towardzero): Likewise.
6443 (remainder_downward_test_data): Likewise.
6444 (remainder_test_downward): Likewise.
6445 (drem_test_downward): Likewise.
6446 (remainder_upward_test_data): Likewise.
6447 (remainder_test_upward): Likewise.
6448 (drem_test_upward): Likewise.
6449 (remquo_test): Use ALL_RM_TEST. Remove comment about x.
6450 (round_test): Use ALL_RM_TEST.
6451 (signbit_test): Likewise.
6452 (trunc_test): Likewise.
6453 (significand_test): Likewise.
6454 (main): Don't call removed functions.
6456 2014-03-07 Joseph Myers <joseph@codesourcery.com>
6459 * bits/siginfo.h (ILL_ILLOPC): Condition on [__USE_XOPEN_EXTENDED
6461 (ILL_ILLOPN): Likewise.
6462 (ILL_ILLADR): Likewise.
6463 (ILL_ILLTRP): Likewise.
6464 (ILL_PRVOPC): Likewise.
6465 (ILL_PRVREG): Likewise.
6466 (ILL_COPROC): Likewise.
6467 (ILL_BADSTK): Likewise.
6468 (FPE_INTDIV): Likewise.
6469 (FPE_INTOVF): Likewise.
6470 (FPE_FLTDIV): Likewise.
6471 (FPE_FLTOVF): Likewise.
6472 (FPE_FLTUND): Likewise.
6473 (FPE_FLTRES): Likewise.
6474 (FPE_FLTINV): Likewise.
6475 (FPE_FLTSUB): Likewise.
6476 (SEGV_MAPERR): Likewise.
6477 (SEGV_ACCERR): Likewise.
6478 (BUS_ADRALN): Likewise.
6479 (BUS_ADRERR): Likewise.
6480 (BUS_OBJERR): Likewise.
6481 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
6482 (TRAP_TRACE): Likewise.
6483 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
6485 (CLD_KILLED): Likewise.
6486 (CLD_DUMPED): Likewise.
6487 (CLD_TRAPPED): Likewise.
6488 (CLD_STOPPED): Likewise.
6489 (CLD_CONTINUED): Likewise.
6490 (POLL_IN): Likewise.
6491 (POLL_OUT): Likewise.
6492 (POLL_MSG): Likewise.
6493 (POLL_ERR): Likewise.
6494 (POLL_PRI): Likewise.
6495 (POLL_HUP): Likewise.
6496 * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h (ILL_ILLOPC):
6498 (ILL_ILLOPN): Likewise.
6499 (ILL_ILLADR): Likewise.
6500 (ILL_ILLTRP): Likewise.
6501 (ILL_PRVOPC): Likewise.
6502 (ILL_PRVREG): Likewise.
6503 (ILL_COPROC): Likewise.
6504 (ILL_BADSTK): Likewise.
6505 (FPE_INTDIV): Likewise.
6506 (FPE_INTOVF): Likewise.
6507 (FPE_FLTDIV): Likewise.
6508 (FPE_FLTOVF): Likewise.
6509 (FPE_FLTUND): Likewise.
6510 (FPE_FLTRES): Likewise.
6511 (FPE_FLTINV): Likewise.
6512 (FPE_FLTSUB): Likewise.
6513 (SEGV_MAPERR): Likewise.
6514 (SEGV_ACCERR): Likewise.
6515 (BUS_ADRALN): Likewise.
6516 (BUS_ADRERR): Likewise.
6517 (BUS_OBJERR): Likewise.
6518 (BUS_MCEERR_AR): Likewise.
6519 (BUS_MCEERR_AO): Likewise.
6520 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
6521 (TRAP_TRACE): Likewise.
6522 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
6524 (CLD_KILLED): Likewise.
6525 (CLD_DUMPED): Likewise.
6526 (CLD_TRAPPED): Likewise.
6527 (CLD_STOPPED): Likewise.
6528 (CLD_CONTINUED): Likewise.
6529 (POLL_IN): Likewise.
6530 (POLL_OUT): Likewise.
6531 (POLL_MSG): Likewise.
6532 (POLL_ERR): Likewise.
6533 (POLL_PRI): Likewise.
6534 (POLL_HUP): Likewise.
6535 * sysdeps/unix/sysv/linux/bits/siginfo.h (ILL_ILLOPC): Likewise.
6536 (ILL_ILLOPN): Likewise.
6537 (ILL_ILLADR): Likewise.
6538 (ILL_ILLTRP): Likewise.
6539 (ILL_PRVOPC): Likewise.
6540 (ILL_PRVREG): Likewise.
6541 (ILL_COPROC): Likewise.
6542 (ILL_BADSTK): Likewise.
6543 (FPE_INTDIV): Likewise.
6544 (FPE_INTOVF): Likewise.
6545 (FPE_FLTDIV): Likewise.
6546 (FPE_FLTOVF): Likewise.
6547 (FPE_FLTUND): Likewise.
6548 (FPE_FLTRES): Likewise.
6549 (FPE_FLTINV): Likewise.
6550 (FPE_FLTSUB): Likewise.
6551 (SEGV_MAPERR): Likewise.
6552 (SEGV_ACCERR): Likewise.
6553 (BUS_ADRALN): Likewise.
6554 (BUS_ADRERR): Likewise.
6555 (BUS_OBJERR): Likewise.
6556 (BUS_MCEERR_AR): Likewise.
6557 (BUS_MCEERR_AO): Likewise.
6558 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
6559 (TRAP_TRACE): Likewise.
6560 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
6562 (CLD_KILLED): Likewise.
6563 (CLD_DUMPED): Likewise.
6564 (CLD_TRAPPED): Likewise.
6565 (CLD_STOPPED): Likewise.
6566 (CLD_CONTINUED): Likewise.
6567 (POLL_IN): Likewise.
6568 (POLL_OUT): Likewise.
6569 (POLL_MSG): Likewise.
6570 (POLL_ERR): Likewise.
6571 (POLL_PRI): Likewise.
6572 (POLL_HUP): Likewise.
6573 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (ILL_ILLOPC):
6575 (ILL_ILLOPN): Likewise.
6576 (ILL_ILLADR): Likewise.
6577 (ILL_ILLTRP): Likewise.
6578 (ILL_PRVOPC): Likewise.
6579 (ILL_PRVREG): Likewise.
6580 (ILL_COPROC): Likewise.
6581 (ILL_BADSTK): Likewise.
6582 (ILL_BADIADDR): Likewise.
6583 (ILL_BREAK): 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 (FPE_DECOVF): Likewise.
6593 (FPE_DECDIV): Likewise.
6594 (FPE_DECERR): Likewise.
6595 (FPE_INVASC): Likewise.
6596 (FPE_INVDEC): Likewise.
6597 (SEGV_MAPERR): Likewise.
6598 (SEGV_ACCERR): Likewise.
6599 (SEGV_PSTKOVF): Likewise.
6600 (BUS_ADRALN): Likewise.
6601 (BUS_ADRERR): Likewise.
6602 (BUS_OBJERR): Likewise.
6603 (BUS_MCEERR_AR): Likewise.
6604 (BUS_MCEERR_AO): Likewise.
6605 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
6606 (TRAP_TRACE): Likewise.
6607 (TRAP_BRANCH): Likewise.
6608 (TRAP_HWBKPT): Likewise.
6609 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
6611 (CLD_KILLED): Likewise.
6612 (CLD_DUMPED): Likewise.
6613 (CLD_TRAPPED): Likewise.
6614 (CLD_STOPPED): Likewise.
6615 (CLD_CONTINUED): Likewise.
6616 (POLL_IN): Likewise.
6617 (POLL_OUT): Likewise.
6618 (POLL_MSG): Likewise.
6619 (POLL_ERR): Likewise.
6620 (POLL_PRI): Likewise.
6621 (POLL_HUP): Likewise.
6622 * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (ILL_ILLOPC): Likewise.
6623 (ILL_ILLOPN): Likewise.
6624 (ILL_ILLADR): Likewise.
6625 (ILL_ILLTRP): Likewise.
6626 (ILL_PRVOPC): Likewise.
6627 (ILL_PRVREG): Likewise.
6628 (ILL_COPROC): Likewise.
6629 (ILL_BADSTK): Likewise.
6630 (FPE_INTDIV): Likewise.
6631 (FPE_INTOVF): Likewise.
6632 (FPE_FLTDIV): Likewise.
6633 (FPE_FLTOVF): Likewise.
6634 (FPE_FLTUND): Likewise.
6635 (FPE_FLTRES): Likewise.
6636 (FPE_FLTINV): Likewise.
6637 (FPE_FLTSUB): Likewise.
6638 (SEGV_MAPERR): Likewise.
6639 (SEGV_ACCERR): Likewise.
6640 (BUS_ADRALN): Likewise.
6641 (BUS_ADRERR): Likewise.
6642 (BUS_OBJERR): Likewise.
6643 (BUS_MCEERR_AR): Likewise.
6644 (BUS_MCEERR_AO): Likewise.
6645 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
6646 (TRAP_TRACE): Likewise.
6647 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
6649 (CLD_KILLED): Likewise.
6650 (CLD_DUMPED): Likewise.
6651 (CLD_TRAPPED): Likewise.
6652 (CLD_STOPPED): Likewise.
6653 (CLD_CONTINUED): Likewise.
6654 (POLL_IN): Likewise.
6655 (POLL_OUT): Likewise.
6656 (POLL_MSG): Likewise.
6657 (POLL_ERR): Likewise.
6658 (POLL_PRI): Likewise.
6659 (POLL_HUP): Likewise.
6660 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (ILL_ILLOPC): Likewise.
6661 (ILL_ILLOPN): Likewise.
6662 (ILL_ILLADR): Likewise.
6663 (ILL_ILLTRP): Likewise.
6664 (ILL_PRVOPC): Likewise.
6665 (ILL_PRVREG): Likewise.
6666 (ILL_COPROC): Likewise.
6667 (ILL_BADSTK): Likewise.
6668 (FPE_INTDIV): Likewise.
6669 (FPE_INTOVF): Likewise.
6670 (FPE_FLTDIV): Likewise.
6671 (FPE_FLTOVF): Likewise.
6672 (FPE_FLTUND): Likewise.
6673 (FPE_FLTRES): Likewise.
6674 (FPE_FLTINV): Likewise.
6675 (FPE_FLTSUB): Likewise.
6676 (SEGV_MAPERR): Likewise.
6677 (SEGV_ACCERR): Likewise.
6678 (BUS_ADRALN): Likewise.
6679 (BUS_ADRERR): Likewise.
6680 (BUS_OBJERR): Likewise.
6681 (BUS_MCEERR_AR): Likewise.
6682 (BUS_MCEERR_AO): Likewise.
6683 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
6684 (TRAP_TRACE): Likewise.
6685 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
6687 (CLD_KILLED): Likewise.
6688 (CLD_DUMPED): Likewise.
6689 (CLD_TRAPPED): Likewise.
6690 (CLD_STOPPED): Likewise.
6691 (CLD_CONTINUED): Likewise.
6692 (POLL_IN): Likewise.
6693 (POLL_OUT): Likewise.
6694 (POLL_MSG): Likewise.
6695 (POLL_ERR): Likewise.
6696 (POLL_PRI): Likewise.
6697 (POLL_HUP): Likewise.
6698 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (ILL_ILLOPC): Likewise.
6699 (ILL_ILLOPN): Likewise.
6700 (ILL_ILLADR): Likewise.
6701 (ILL_ILLTRP): Likewise.
6702 (ILL_PRVOPC): Likewise.
6703 (ILL_PRVREG): Likewise.
6704 (ILL_COPROC): Likewise.
6705 (ILL_BADSTK): Likewise.
6706 (FPE_INTDIV): Likewise.
6707 (FPE_INTOVF): Likewise.
6708 (FPE_FLTDIV): Likewise.
6709 (FPE_FLTOVF): Likewise.
6710 (FPE_FLTUND): Likewise.
6711 (FPE_FLTRES): Likewise.
6712 (FPE_FLTINV): Likewise.
6713 (FPE_FLTSUB): Likewise.
6714 (SEGV_MAPERR): Likewise.
6715 (SEGV_ACCERR): Likewise.
6716 (BUS_ADRALN): Likewise.
6717 (BUS_ADRERR): Likewise.
6718 (BUS_OBJERR): Likewise.
6719 (BUS_MCEERR_AR): Likewise.
6720 (BUS_MCEERR_AO): Likewise.
6721 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
6722 (TRAP_TRACE): Likewise.
6723 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
6725 (CLD_KILLED): Likewise.
6726 (CLD_DUMPED): Likewise.
6727 (CLD_TRAPPED): Likewise.
6728 (CLD_STOPPED): Likewise.
6729 (CLD_CONTINUED): Likewise.
6730 (POLL_IN): Likewise.
6731 (POLL_OUT): Likewise.
6732 (POLL_MSG): Likewise.
6733 (POLL_ERR): Likewise.
6734 (POLL_PRI): Likewise.
6735 (POLL_HUP): Likewise.
6736 * sysdeps/unix/sysv/linux/tile/bits/siginfo.h (ILL_ILLOPC): Likewise.
6737 (ILL_ILLOPN): Likewise.
6738 (ILL_ILLADR): Likewise.
6739 (ILL_ILLTRP): Likewise.
6740 (ILL_PRVOPC): Likewise.
6741 (ILL_PRVREG): Likewise.
6742 (ILL_COPROC): Likewise.
6743 (ILL_BADSTK): Likewise.
6744 (ILL_DBLFLT): Likewise.
6745 (ILL_HARDWALL): Likewise.
6746 (FPE_INTDIV): Likewise.
6747 (FPE_INTOVF): Likewise.
6748 (FPE_FLTDIV): Likewise.
6749 (FPE_FLTOVF): Likewise.
6750 (FPE_FLTUND): Likewise.
6751 (FPE_FLTRES): Likewise.
6752 (FPE_FLTINV): Likewise.
6753 (FPE_FLTSUB): Likewise.
6754 (SEGV_MAPERR): Likewise.
6755 (SEGV_ACCERR): Likewise.
6756 (BUS_ADRALN): Likewise.
6757 (BUS_ADRERR): Likewise.
6758 (BUS_OBJERR): Likewise.
6759 (BUS_MCEERR_AR): Likewise.
6760 (BUS_MCEERR_AO): Likewise.
6761 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
6762 (TRAP_TRACE): Likewise.
6763 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
6765 (CLD_KILLED): Likewise.
6766 (CLD_DUMPED): Likewise.
6767 (CLD_TRAPPED): Likewise.
6768 (CLD_STOPPED): Likewise.
6769 (CLD_CONTINUED): Likewise.
6770 (POLL_IN): Likewise.
6771 (POLL_OUT): Likewise.
6772 (POLL_MSG): Likewise.
6773 (POLL_ERR): Likewise.
6774 (POLL_PRI): Likewise.
6775 (POLL_HUP): Likewise.
6776 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (ILL_ILLOPC): Likewise.
6777 (ILL_ILLOPN): Likewise.
6778 (ILL_ILLADR): Likewise.
6779 (ILL_ILLTRP): Likewise.
6780 (ILL_PRVOPC): Likewise.
6781 (ILL_PRVREG): Likewise.
6782 (ILL_COPROC): Likewise.
6783 (ILL_BADSTK): Likewise.
6784 (FPE_INTDIV): Likewise.
6785 (FPE_INTOVF): Likewise.
6786 (FPE_FLTDIV): Likewise.
6787 (FPE_FLTOVF): Likewise.
6788 (FPE_FLTUND): Likewise.
6789 (FPE_FLTRES): Likewise.
6790 (FPE_FLTINV): Likewise.
6791 (FPE_FLTSUB): Likewise.
6792 (SEGV_MAPERR): Likewise.
6793 (SEGV_ACCERR): Likewise.
6794 (BUS_ADRALN): Likewise.
6795 (BUS_ADRERR): Likewise.
6796 (BUS_OBJERR): Likewise.
6797 (BUS_MCEERR_AR): Likewise.
6798 (BUS_MCEERR_AO): Likewise.
6799 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
6800 (TRAP_TRACE): Likewise.
6801 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
6803 (CLD_KILLED): Likewise.
6804 (CLD_DUMPED): Likewise.
6805 (CLD_TRAPPED): Likewise.
6806 (CLD_STOPPED): Likewise.
6807 (CLD_CONTINUED): Likewise.
6808 (POLL_IN): Likewise.
6809 (POLL_OUT): Likewise.
6810 (POLL_MSG): Likewise.
6811 (POLL_ERR): Likewise.
6812 (POLL_PRI): Likewise.
6813 (POLL_HUP): Likewise.
6814 * conform/Makefile (test-xfail-POSIX/signal.h/conform): Remove.
6815 (test-xfail-POSIX/sys/wait.h/conform): Likewise.
6818 * posix/sched.h [!__USE_XOPEN2K] (__need_time_t): Don't define
6819 before #include of <time.h>.
6820 [!__USE_XOPEN2K] (__need_timespec): Likewise.
6821 * conform/Makefile (test-xfail-POSIX/sched.h/conform): Remove.
6822 (test-xfail-UNIX98/sched.h/conform): Likewise.
6824 2014-03-07 Marcus Shawcroft <marcus.shawcroft@arm.com>
6826 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Detect and
6827 error absence of trapping exception support.
6828 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
6830 2014-03-07 Joseph Myers <joseph@codesourcery.com>
6832 * catgets/Makefile (tests-special): Add $(objpfx)sample.SJIS.cat.
6833 ($(objpfx)sample.SJIS.cat): Use $(evaluate-test).
6834 * timezone/Makefile (testdata): Move definition above include of
6836 (test-zones): New variable.
6837 (tests-special): Add zone files.
6838 (build-testdata): Use $(evaluate-test).
6840 * elf/Makefile (tests-special): Rename tests to end with .out.
6841 ($(objpfx)noload-mem): Likewise.
6842 ($(objpfx)tst-leaks1-mem): Likewise.
6843 ($(objpfx)tst-leaks1-static-mem.out): Likewise.
6844 * iconv/Makefile (xtests-special): Change test-iconvconfig to
6845 $(objpfx)test-iconvconfig.out.
6846 (test-iconvconfig): Change to $(objpfx)test-iconvconfig.out. Use
6847 set -e inside subshell and redirect output to file.
6848 * iconvdata/Makefile (generated): Rename tests to end with .out.
6850 (tests-special): Rename tests to end with .out.
6851 ($(objpfx)mtrace-tst-loading): Likewise.
6852 * intl/Makefile (generated): Likewise.
6853 (tests-special): Likewise.
6854 ($(objpfx)mtrace-tst-gettext): Likewise.
6855 * misc/Makefile (generated): Likewise.
6856 (tests-special): Likewise.
6857 ($(objpfx)tst-error1-mem): Likewise.
6858 * nptl/Makefile (tests-special): Likewise.
6859 ($(objpfx)tst-stack3-mem): Likewise.
6860 (generated): Likewise.
6861 * posix/Makefile (generated): Likewise.
6862 (tests-special): Likewise.
6863 (xtests-special): Likewise.
6864 ($(objpfx)tst-fnmatch-mem): Likewise.
6865 ($(objpfx)bug-regex2-mem): Likewise.
6866 ($(objpfx)bug-regex14-mem): Likewise.
6867 ($(objpfx)bug-regex21-mem): Likewise.
6868 ($(objpfx)bug-regex31-mem): Likewise.
6869 ($(objpfx)tst-vfork3-mem): Likewise.
6870 ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
6871 ($(objpfx)tst-pcre-mem): Likewise.
6872 ($(objpfx)tst-boost-mem): Likewise.
6873 ($(objpfx)bug-ga2-mem): Likewise.
6874 ($(objpfx)bug-glob2-mem): Likewise.
6875 * resolv/Makefile (generate): Likewise.
6876 (tests-special): Likewise.
6877 (xtests-special): Likewise.
6878 (generated): Likewise.
6879 ($(objpfx)mtrace-tst-leaks): Likewise.
6880 ($(objpfx)mtrace-tst-leaks2): Likewise.
6882 * scripts/merge-test-results.sh: New file.
6883 * Makefile (tests-special-notdir): New variable.
6884 (tests): Run merge-test-results.sh.
6886 * Rules (tests-special-notdir): New variable.
6887 (xtests-special-notdir): Likewise.
6888 (tests): Run merge-test-results.sh
6891 * Makeconfig (test-xfail-name): New variable.
6892 (evaluate-test): Use $(test-xfail-name) instead of $(@F:.out=) to
6893 compute variable name for expected failures.
6894 * conform/Makefile (conformtest-headers-data): New variable.
6895 (conformtest-standards): Likewise.
6896 (conformtest-headers-ISO): Likewise.
6897 (conformtest-headers-ISO99): Likewise.
6898 (conformtest-headers-ISO11): Likewise.
6899 (conformtest-headers-POSIX): Likewise.
6900 (conformtest-headers-XPG3): Likewise.
6901 (conformtest-headers-XPG4): Likewise.
6902 (conformtest-headers-UNIX98): Likewise.
6903 (conformtest-headers-XOPEN2K): Likewise.
6904 (conformtest-headers-POSIX2008): Likewise.
6905 (conformtest-headers-XOPEN2K8): Likewise.
6906 (conformtest-header-list-base): Likewise.
6907 (conformtest-header-list-tests): Likewise.
6908 (conformtest-header-base): Likewise.
6909 (conformtest-header-tests): Likewise.
6910 (tests-special): Add $(conformtest-header-list-tests). If
6911 [$(fast-check) && !$(cross-compiling)], add
6912 $(conformtest-header-tests) instead of
6913 $(objpfx)run-conformtest.out.
6914 (generated): Add $(conformtest-header-list-base). If
6915 [$(fast-check) && !$(cross-compiling)], add
6916 $(conformtest-header-base). Remove previous setting.
6917 ($(conformtest-header-list-tests)): New target.
6918 (test-xfail-run-conformtest): Remove variable.
6919 ($(objpfx)run-conformtest.out): Remove target.
6920 (test-xfail-ISO11/complex.h/conform): New variable.
6921 (test-xfail-ISO11/stdalign.h/conform): Likewise.
6922 (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
6923 (test-xfail-XPG3/varargs.h/conform): Likewise.
6924 (test-xfail-XPG4/varargs.h/conform): Likewise.
6925 (test-xfail-UNIX98/varargs.h/conform): Likewise.
6926 (test-xfail-XPG4/ndbm.h/conform): Likewise.
6927 (test-xfail-UNIX98/ndbm.h/conform): Likewise.
6928 (test-xfail-XOPEN2K/ndbm.h/conform): Likewise.
6929 (test-xfail-XOPEN2K8/ndbm.h/conform): Likewise.
6930 (test-xfail-XPG3/fcntl.h/conform): Likewise.
6931 (test-xfail-XPG3/ftw.h/conform): Likewise.
6932 (test-xfail-XPG3/grp.h/conform): Likewise.
6933 (test-xfail-XPG3/langinfo.h/conform): Likewise.
6934 (test-xfail-XPG3/limits.h/conform): Likewise.
6935 (test-xfail-XPG3/pwd.h/conform): Likewise.
6936 (test-xfail-XPG3/search.h/conform): Likewise.
6937 (test-xfail-XPG3/signal.h/conform): Likewise.
6938 (test-xfail-XPG3/stdio.h/conform): Likewise.
6939 (test-xfail-XPG3/stdlib.h/conform): Likewise.
6940 (test-xfail-XPG3/string.h/conform): Likewise.
6941 (test-xfail-XPG3/sys/ipc.h/conform): Likewise.
6942 (test-xfail-XPG3/sys/msg.h/conform): Likewise.
6943 (test-xfail-XPG3/sys/sem.h/conform): Likewise.
6944 (test-xfail-XPG3/sys/shm.h/conform): Likewise.
6945 (test-xfail-XPG3/sys/stat.h/conform): Likewise.
6946 (test-xfail-XPG3/sys/types.h/conform): Likewise.
6947 (test-xfail-XPG3/sys/wait.h/conform): Likewise.
6948 (test-xfail-XPG3/termios.h/conform): Likewise.
6949 (test-xfail-XPG3/time.h/conform): Likewise.
6950 (test-xfail-XPG3/unistd.h/conform): Likewise.
6951 (test-xfail-XPG4/arpa/inet.h/conform): Likewise.
6952 (test-xfail-XPG4/fcntl.h/conform): Likewise.
6953 (test-xfail-XPG4/langinfo.h/conform): Likewise.
6954 (test-xfail-XPG4/netdb.h/conform): Likewise.
6955 (test-xfail-XPG4/netinet/in.h/conform): Likewise.
6956 (test-xfail-XPG4/signal.h/conform): Likewise.
6957 (test-xfail-XPG4/stdio.h/conform): Likewise.
6958 (test-xfail-XPG4/stdlib.h/conform): Likewise.
6959 (test-xfail-XPG4/stropts.h/conform): Likewise.
6960 (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
6961 (test-xfail-XPG4/sys/msg.h/conform): Likewise.
6962 (test-xfail-XPG4/sys/sem.h/conform): Likewise.
6963 (test-xfail-XPG4/sys/shm.h/conform): Likewise.
6964 (test-xfail-XPG4/sys/socket.h/conform): Likewise.
6965 (test-xfail-XPG4/sys/stat.h/conform): Likewise.
6966 (test-xfail-XPG4/sys/time.h/conform): Likewise.
6967 (test-xfail-XPG4/sys/types.h/conform): Likewise.
6968 (test-xfail-XPG4/sys/wait.h/conform): Likewise.
6969 (test-xfail-XPG4/termios.h/conform): Likewise.
6970 (test-xfail-XPG4/ucontext.h/conform): Likewise.
6971 (test-xfail-XPG4/unistd.h/conform): Likewise.
6972 (test-xfail-XPG4/utmpx.h/conform): Likewise.
6973 (test-xfail-POSIX/sched.h/conform): Likewise.
6974 (test-xfail-POSIX/signal.h/conform): Likewise.
6975 (test-xfail-POSIX/sys/wait.h/conform): Likewise.
6976 (test-xfail-POSIX/tar.h/conform): Likewise.
6977 (test-xfail-UNIX98/arpa/inet.h/conform): Likewise.
6978 (test-xfail-UNIX98/fcntl.h/conform): Likewise.
6979 (test-xfail-UNIX98/langinfo.h/conform): Likewise.
6980 (test-xfail-UNIX98/netdb.h/conform): Likewise.
6981 (test-xfail-UNIX98/netinet/in.h/conform): Likewise.
6982 (test-xfail-UNIX98/sched.h/conform): Likewise.
6983 (test-xfail-UNIX98/signal.h/conform): Likewise.
6984 (test-xfail-UNIX98/stdio.h/conform): Likewise.
6985 (test-xfail-UNIX98/stdlib.h/conform): Likewise.
6986 (test-xfail-UNIX98/stropts.h/conform): Likewise.
6987 (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
6988 (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
6989 (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
6990 (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
6991 (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
6992 (test-xfail-UNIX98/sys/time.h/conform): Likewise.
6993 (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
6994 (test-xfail-UNIX98/ucontext.h/conform): Likewise.
6995 (test-xfail-UNIX98/unistd.h/conform): Likewise.
6996 (test-xfail-UNIX98/utmpx.h/conform): Likewise.
6997 (test-xfail-XOPEN2K/aio.h/conform): Likewise.
6998 (test-xfail-XOPEN2K/arpa/inet.h/conform): Likewise.
6999 (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
7000 (test-xfail-XOPEN2K/langinfo.h/conform): Likewise.
7001 (test-xfail-XOPEN2K/math.h/conform): Likewise.
7002 (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
7003 (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
7004 (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
7005 (test-xfail-XOPEN2K/semaphore.h/conform): Likewise.
7006 (test-xfail-XOPEN2K/signal.h/conform): Likewise.
7007 (test-xfail-XOPEN2K/stdarg.h/conform): Likewise.
7008 (test-xfail-XOPEN2K/stdio.h/conform): Likewise.
7009 (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
7010 (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
7011 (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
7012 (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
7013 (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
7014 (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
7015 (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
7016 (test-xfail-XOPEN2K/termios.h/conform): Likewise.
7017 (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
7018 (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
7019 (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
7020 (test-xfail-POSIX2008/arpa/inet.h/conform): Likewise.
7021 (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
7022 (test-xfail-POSIX2008/netdb.h/conform): Likewise.
7023 (test-xfail-POSIX2008/netinet/in.h/conform): Likewise.
7024 (test-xfail-POSIX2008/signal.h/conform): Likewise.
7025 (test-xfail-POSIX2008/stropts.h/conform): Likewise.
7026 (test-xfail-POSIX2008/sys/socket.h/conform): Likewise.
7027 (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
7028 (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
7029 (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
7030 (test-xfail-XOPEN2K8/limits.h/conform): Likewise.
7031 (test-xfail-XOPEN2K8/math.h/conform): Likewise.
7032 (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
7033 (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
7034 (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
7035 (test-xfail-XOPEN2K8/stdio.h/conform): Likewise.
7036 (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
7037 (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
7038 (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
7039 (test-xfail-XOPEN2K8/sys/select.h/conform): Likewise.
7040 (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
7041 (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
7042 (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
7043 (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
7044 (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
7045 (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
7046 (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
7047 (test-xfail-XOPEN2K8/utmpx.h/conform): Likewise.
7048 (conformtest-cc-flags): Likewise.
7049 ($(conformtest-header-tests): New target.
7050 * conform/check-header-lists.sh: New file.
7051 * conform/run-conformtest.sh: Remove.
7053 * conform/conformtest.pl: Allow ' and \ in values given for
7055 * conform/data/semaphore.h-data [POSIX] (fcntl.h): Allow header
7057 [POSIX] (sys/types.h): Likewise.
7058 [POSIX2008 || XOPEN2K8] (sys/types.h): Don't allow header
7060 [POSIX || UNIX98 || XOPEN2K] (time.h): Don't allow header
7062 * conform/data/signal.h-data (SIGIO): Remove expectation.
7063 [XPG3] (SIGBUS): Do not expect.
7064 [POSIX || XPG3] (SIGPOLL): Likewise.
7065 [POSIX || XPG3] (SIGPROF): Likewise.
7066 [POSIX || XPG3] (SIGSYS): Likewise.
7067 [XPG3] (SIGTRAP): Likewise.
7068 [POSIX || XPG3] (SIGURG): Likewise.
7069 [POSIX || XPG3] (SIGVTALRM): Likewise.
7070 [POSIX || XPG3] (SIGXCPU): Likewise.
7071 [POSIX || XPG3] (SIGXFSZ): Likewise.
7072 [POSIX] (SA_SIGINFO): Expect.
7073 [XPG3] (siginfo_t): Do not expect type or contents.
7074 [POSIX] (si_pid): Do not expect element.
7075 [POSIX] (si_uid): Likewise.
7076 [POSIX] (si_addr): Likewise.
7077 [POSIX] (si_status): Likewise.
7078 [POSIX] (si_band): Likewise.
7079 [XPG4] (si_value): Likewise.
7080 [POSIX || XPG3] (ILL_ILLOPC): Do not expect.
7081 [POSIX || XPG3] (ILL_ILLOPN): Likewise.
7082 [POSIX || XPG3] (ILL_ILLADR): Likewise.
7083 [POSIX || XPG3] (ILL_ILLTRP): Likewise.
7084 [POSIX || XPG3] (ILL_PRVOPC): Likewise.
7085 [POSIX || XPG3] (ILL_PRVREG): Likewise.
7086 [POSIX || XPG3] (ILL_COPROC): Likewise.
7087 [POSIX || XPG3] (ILL_BADSTK): Likewise.
7088 [POSIX || XPG3] (FPE_INTDIV): Likewise.
7089 [POSIX || XPG3] (FPE_INTOVF): Likewise.
7090 [POSIX || XPG3] (FPE_FLTDIV): Likewise.
7091 [POSIX || XPG3] (FPE_FLTOVF): Likewise.
7092 [POSIX || XPG3] (FPE_FLTUND): Likewise.
7093 [POSIX || XPG3] (FPE_FLTRES): Likewise.
7094 [POSIX || XPG3] (FPE_FLTINV): Likewise.
7095 [POSIX || XPG3] (FPE_FLTSUB): Likewise.
7096 [POSIX || XPG3] (SEGV_MAPERR): Likewise.
7097 [POSIX || XPG3] (SEGV_ACCERR): Likewise.
7098 [POSIX || XPG3] (BUS_ADRALN): Likewise.
7099 [POSIX || XPG3] (BUS_ADRERR): Likewise.
7100 [POSIX || XPG3] (BUS_OBJERR): Likewise.
7101 [POSIX || XPG3] (CLD_EXITED): Likewise.
7102 [POSIX || XPG3] (CLD_KILLED): Likewise.
7103 [POSIX || XPG3] (CLD_DUMPED): Likewise.
7104 [POSIX || XPG3] (CLD_TRAPPED): Likewise.
7105 [POSIX || XPG3] (CLD_STOPPED): Likewise.
7106 [POSIX || XPG3] (CLD_CONTINUED): Likewise.
7107 [POSIX || XPG3] (POLL_IN): Likewise.
7108 [POSIX || XPG3] (POLL_OUT): Likewise.
7109 [POSIX || XPG3] (POLL_MSG): Likewise.
7110 [POSIX || XPG3] (POLL_ERR): Likewise.
7111 [POSIX || XPG3] (POLL_PRI): Likewise.
7112 [POSIX || XPG3] (POLL_HUP): Likewise.
7113 [POSIX || XPG3 || POSIX2008] (TRAP_BRKPT): Likewise.
7114 [POSIX || XPG3 || POSIX2008] (TRAP_TRACE): Likewise.
7115 (SIG*): Do not allow.
7116 [XPG3] (si_*): Likewise.
7117 [XPG3] (SI_*): Likewise.
7118 [XPG3 || XPG4] (sigev_*): Likewise.
7119 [XPG3 || XPG4] (SIGEV_*): Likewise.
7120 [XPG3 || XPG4] (sival_*): Likewise.
7121 [POSIX || XPG3 || XPG4] (uc_*): Likewise.
7122 [POSIX || XPG3] (BUS_*): Likewise.
7123 [POSIX || XPG3] (CLD_*): Likewise.
7124 [POSIX || XPG3] (FPE_*): Likewise.
7125 [POSIX || XPG3] (ILL_*): Likewise.
7126 [POSIX || XPG3] (POLL_*): Likewise.
7127 [POSIX || XPG3] (SEGV_*): Likewise.
7128 [POSIX || XPG3 || POSIX2008] (SS_*): Likewise.
7129 [POSIX || XPG3 || POSIX2008] (SV_*): Likewise.
7130 [POSIX || XPG3 || POSIX2008] (TRAP_*): Likewise.
7131 [POSIX || XPG3 || POSIX2008] (ss_*): Likewise.
7132 [POSIX || XPG3 || POSIX2008] (sv_*): Likewise.
7133 * conform/data/tar.h-data (TMAGLEN): Use macro-int-constant.
7134 Specify type and value.
7135 (TVERSLEN): Likewise.
7136 (REGTYPE): Likewise.
7137 (AREGTYPE): Likewise.
7138 (LNKTYPE): Likewise.
7139 (SYMTYPE): Likewise.
7140 (CHRTYPE): Likewise.
7141 (BLKTYPE): Likewise.
7142 (DIRTYPE): Likewise.
7143 (FIFOTYPE): Likewise.
7144 (CONTTYPE): Likewise.
7149 (TUWRITE): Likewise.
7152 (TGWRITE): Likewise.
7155 (TOWRITE): Likewise.
7157 [POSIX] (TSVTX): Expect constant.
7159 2014-03-06 Joseph Myers <joseph@codesourcery.com>
7161 * Makefile (tests): Change dependencies to ....
7162 (tests-special): ... additions to this variable.
7163 (tests): Depend on $(tests-special).
7164 * Makerules (check-abi-list): New variable.
7165 (check-abi): Depend on $(check-abi-list).
7166 [$(subdir) = elf] (tests-special): Add
7167 $(objpfx)check-abi-libc.out.
7168 [$(build-shared) = yes && subdir] (tests-special): Add
7170 [$(build-shared) = yes && subdir] (tests): Do not depend on
7172 * Rules (tests): Depend on $(tests-special).
7173 (xtests): Depend on $(xtests-special).
7174 * catgets/Makefile (tests): Change dependencies to ....
7175 (tests-special): ... additions to this variable.
7176 * conform/Makefile (tests): Change dependencies to ....
7177 (tests-special): ... additions to this variable.
7178 * elf/Makefile (tests): Change dependencies to ....
7179 (tests-special): ... additions to this variable.
7180 * grp/Makefile (tests): Change dependencies to ....
7181 (tests-special): ... additions to this variable.
7182 * iconv/Makefile (xtests): Change dependencies to ....
7183 (xtests-special): ... additions to this variable.
7184 * iconvdata/Makefile (tests): Change dependencies to ....
7185 (tests-special): ... additions to this variable.
7186 * intl/Makefile (tests): Change dependencies to ....
7187 (tests-special): ... additions to this variable. Also add
7188 $(objpfx)tst-gettext.out.
7189 * io/Makefile (tests): Change dependencies to ....
7190 (tests-special): ... additions to this variable.
7191 * libio/Makefile (tests): Change dependencies to ....
7192 (tests-special): ... additions to this variable.
7193 * malloc/Makefile (tests): Change dependencies to ....
7194 (tests-special): ... additions to this variable.
7195 * misc/Makefile (tests): Change dependencies to ....
7196 (tests-special): ... additions to this variable.
7197 * nptl/Makefile (tests): Change dependencies to ....
7198 (tests-special): ... additions to this variable.
7199 * nptl_db/Makefile (tests): Change dependencies to ....
7200 (tests-special): ... additions to this variable.
7201 * posix/Makefile (tests): Change dependencies to ....
7202 (tests-special): ... additions to this variable.
7203 (xtests): Change dependencies to ....
7204 (xtests-special): ... additions to this variable.
7205 * resolv/Makefile (tests): Change dependencies to ....
7206 (tests-special): ... additions to this variable.
7207 (xtests): Change dependencies to ....
7208 (xtests-special): ... additions to this variable.
7209 * stdio-common/Makefile (tests): Change dependencies to ....
7210 (tests-special): ... additions to this variable.
7211 (do-tst-unbputc): Remove target.
7212 (do-tst-printf): Likewise.
7213 * stdlib/Makefile (tests): Change dependencies to ....
7214 (tests-special): ... additions to this variable.
7215 * string/Makefile (tests): Change dependencies to ....
7216 (tests-special): ... additions to this variable.
7217 * sysdeps/x86/Makefile (tests): Change dependencies to ....
7218 (tests-special): ... additions to this variable.
7220 * conform/data/netinet/tcp.h-data [POSIX2008 || XOPEN2K8]: Enable
7222 * conform/data/sys/timeb.h-data [POSIX2008 || XOPEN2K8]: Disable
7224 * conform/data/sys/uio.h-data [POSIX2008]: Likewise.
7225 * conform/data/ucontext.h-data [POSIX2008 || XOPEN2K8]: Likewise.
7227 * conform/data/aio.h-data [XPG3 || XPG4]: Disable whole file.
7228 * conform/data/arpa/inet.h-data [XPG3]: Likewise.
7229 * conform/data/dlfcn.h-data [XPG3 || XPG4]: Likewise.
7230 * conform/data/fmtmsg.h-data [XPG3]: Likewise.
7231 * conform/data/libgen.h-data [XPG3]: Likewise.
7232 * conform/data/mqueue.h-data [XPG3 || XPG4]: Likewise.
7233 * conform/data/ndbm.h-data [XPG3]: Likewise.
7234 * conform/data/net/if.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
7235 * conform/data/netdb.h-data [XPG3]: Likewise.
7236 * conform/data/netinet/in.h-data [XPG3]: Likewise.
7237 * conform/data/poll.h-data [XPG3]: Likewise.
7238 * conform/data/spawn.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
7239 * conform/data/strings.h-data [XPG3]: Likewise.
7240 * conform/data/stropts.h-data [XPG3]: Likewise.
7241 * conform/data/sys/mman.h-data [XPG3]: Likewise.
7242 * conform/data/sys/resource.h-data [XPG3]: Likewise.
7243 * conform/data/sys/select.h-data [XPG3 || XPG4 || UNIX98]:
7245 * conform/data/sys/statvfs.h-data [XPG3]: Likewise.
7246 * conform/data/sys/time.h-data [XPG3]: Likewise.
7247 * conform/data/sys/timeb.h-data [XPG3]: Likewise.
7248 * conform/data/sys/uio.h-data [XPG3]: Likewise.
7249 * conform/data/sys/un.h-data [XPG3]: Likewise.
7250 * conform/data/syslog.h-data [XPG3]: Likewise.
7251 * conform/data/ucontext.h-data [XPG3]: Likewise.
7252 * conform/data/utmpx.h-data [XPG3]: Likewise.
7253 * conform/data/varargs.h-data [UNIX98]: Enable file.
7255 * manual/Makefile (INSTALL_INFO): Remove variable setting.
7257 * math/libm-test.inc (struct test_f_f_data): Move expected results
7258 into structure for each rounding mode.
7259 (struct test_ff_f_data): Likewise.
7260 (struct test_ff_f_data_nexttoward): Likewise.
7261 (struct test_fi_f_data): Likewise.
7262 (struct test_fl_f_data): Likewise.
7263 (struct test_if_f_data): Likewise.
7264 (struct test_fff_f_data): Likewise.
7265 (struct test_c_f_data): Likewise.
7266 (struct test_f_f1_data): Likewise.
7267 (struct test_fF_f1_data): Likewise.
7268 (struct test_ffI_f1_data): Likewise.
7269 (struct test_c_c_data): Likewise.
7270 (struct test_cc_c_data): Likewise.
7271 (struct test_f_i_data): Likewise.
7272 (struct test_ff_i_data): Likewise.
7273 (struct test_f_l_data): Likewise.
7274 (struct test_f_L_data): Likewise.
7275 (struct test_fFF_11_data): Likewise.
7277 (RM_FE_DOWNWARD): Likewise.
7278 (RM_FE_TONEAREST): Likewise.
7279 (RM_FE_TOWARDZERO): Likewise.
7280 (RM_FE_UPWARD): Likewise.
7281 (RUN_TEST_LOOP_f_f): Update references to expected results.
7282 (RUN_TEST_LOOP_2_f): Likewise.
7283 (RUN_TEST_LOOP_fff_f): Likewise.
7284 (RUN_TEST_LOOP_c_f): Likewise.
7285 (RUN_TEST_LOOP_f_f1): Likewise.
7286 (RUN_TEST_LOOP_fF_f1): Likewise.
7287 (RUN_TEST_LOOP_fI_f1): Likewise.
7288 (RUN_TEST_LOOP_ffI_f1): Likewise.
7289 (RUN_TEST_LOOP_c_c): Likewise.
7290 (RUN_TEST_LOOP_cc_c): Likewise.
7291 (RUN_TEST_LOOP_f_i): Likewise.
7292 (RUN_TEST_LOOP_f_i_tg): Likewise.
7293 (RUN_TEST_LOOP_ff_i_tg): Likewise.
7294 (RUN_TEST_LOOP_f_b): Likewise.
7295 (RUN_TEST_LOOP_f_b_tg): Likewise.
7296 (RUN_TEST_LOOP_f_l): Likewise.
7297 (RUN_TEST_LOOP_f_L): Likewise.
7298 (RUN_TEST_LOOP_fFF_11): Likewise.
7299 * math/gen-libm-test.pl (parse_args): Output four copies of
7300 expected results for each test.
7302 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
7303 (__ASSUME_UTIMES): Remove.
7304 * sysdeps/unix/sysv/linux/tile/kernel-features.h
7305 (__ASSUME_UTIMES): Likewise.
7307 * math/gen-auto-libm-tests.c: Update comment on output format.
7308 (output_for_one_input_case): Generate before-rounding and
7309 after-rounding information as conditions on output flags not
7310 floating-point format.
7311 * math/auto-libm-test-out: Regenerated.
7312 * math/gen-libm-test.pl (cond_value): New function.
7313 (or_cond_value): Use cond_value.
7314 (generate_testfile): Handle conditional exceptions.
7316 2014-03-05 Joseph Myers <joseph@codesourcery.com>
7318 * math/libm-test.inc (max_valid_error): New variable.
7319 (init_max_error): Take new argument specifying whether function
7320 results are exactly determined. Set max_valid_error and bound
7321 other variables for errors based on this argument.
7322 (set_max_error): Do not record results above max_valid_error.
7323 (check_float_internal): Only accept errors of up to 0.5ulps if
7324 also at most max_valid_error.
7325 (START): Take new argument EXACT and pass it to init_max_error.
7326 (acos_test): Update call to START.
7327 (acos_test_tonearest): Likewise.
7328 (acos_test_towardzero): Likewise.
7329 (acos_test_downward): Likewise.
7330 (acos_test_upward): Likewise.
7331 (acosh_test): Likewise.
7332 (asin_test): Likewise.
7333 (asin_test_tonearest): Likewise.
7334 (asin_test_towardzero): Likewise.
7335 (asin_test_downward): Likewise.
7336 (asin_test_upward): Likewise.
7337 (asinh_test): Likewise.
7338 (atan_test): Likewise.
7339 (atanh_test): Likewise.
7340 (atan2_test): Likewise.
7341 (cabs_test): Likewise.
7342 (cacos_test): Likewise.
7343 (cacosh_test): Likewise.
7344 (carg_test): Likewise.
7345 (casin_test): Likewise.
7346 (casinh_test): Likewise.
7347 (catan_test): Likewise.
7348 (catanh_test): Likewise.
7349 (cbrt_test): Likewise.
7350 (ccos_test): Likewise.
7351 (ccosh_test): Likewise.
7352 (ceil_test): Likewise.
7353 (cexp_test): Likewise.
7354 (cimag_test): Likewise.
7355 (clog_test): Likewise.
7356 (clog10_test): Likewise.
7357 (conj_test): Likewise.
7358 (copysign_test): Likewise.
7359 (cos_test): Likewise.
7360 (cos_test_tonearest): Likewise.
7361 (cos_test_towardzero): Likewise.
7362 (cos_test_downward): Likewise.
7363 (cos_test_upward): Likewise.
7364 (cosh_test): Likewise.
7365 (cosh_test_tonearest): Likewise.
7366 (cosh_test_towardzero): Likewise.
7367 (cosh_test_downward): Likewise.
7368 (cosh_test_upward): Likewise.
7369 (cpow_test): Likewise.
7370 (cproj_test): Likewise.
7371 (creal_test): Likewise.
7372 (csin_test): Likewise.
7373 (csinh_test): Likewise.
7374 (csqrt_test): Likewise.
7375 (ctan_test): Likewise.
7376 (ctan_test_tonearest): Likewise.
7377 (ctan_test_towardzero): Likewise.
7378 (ctan_test_downward): Likewise.
7379 (ctan_test_upward): Likewise.
7380 (ctanh_test): Likewise.
7381 (ctanh_test_tonearest): Likewise.
7382 (ctanh_test_towardzero): Likewise.
7383 (ctanh_test_downward): Likewise.
7384 (ctanh_test_upward): Likewise.
7385 (erf_test): Likewise.
7386 (erfc_test): Likewise.
7387 (exp_test): Likewise.
7388 (exp_test_tonearest): Likewise.
7389 (exp_test_towardzero): Likewise.
7390 (exp_test_downward): Likewise.
7391 (exp_test_upward): Likewise.
7392 (exp10_test): Likewise.
7393 (exp10_test_tonearest): Likewise.
7394 (exp10_test_towardzero): Likewise.
7395 (exp10_test_downward): Likewise.
7396 (exp10_test_upward): Likewise.
7397 (pow10_test): Likewise.
7398 (exp2_test): Likewise.
7399 (expm1_test): Likewise.
7400 (expm1_test_tonearest): Likewise.
7401 (expm1_test_towardzero): Likewise.
7402 (expm1_test_downward): Likewise.
7403 (expm1_test_upward): Likewise.
7404 (fabs_test): Likewise.
7405 (fdim_test): Likewise.
7406 (floor_test): Likewise.
7407 (fma_test): Likewise.
7408 (fma_test_towardzero): Likewise.
7409 (fma_test_downward): Likewise.
7410 (fma_test_upward): Likewise.
7411 (fmax_test): Likewise.
7412 (fmin_test): Likewise.
7413 (fmod_test): Likewise.
7414 (fpclassify_test): Likewise.
7415 (frexp_test): Likewise.
7416 (hypot_test): Likewise.
7417 (ilogb_test): Likewise.
7418 (isfinite_test): Likewise.
7419 (finite_test): Likewise.
7420 (isgreater_test): Likewise.
7421 (isgreaterequal_test): Likewise.
7422 (isinf_test): Likewise.
7423 (isless_test): Likewise.
7424 (islessequal_test): Likewise.
7425 (islessgreater_test): Likewise.
7426 (isnan_test): Likewise.
7427 (isnormal_test): Likewise.
7428 (issignaling_test): Likewise.
7429 (isunordered_test): Likewise.
7430 (j0_test): Likewise.
7431 (j1_test): Likewise.
7432 (jn_test): Likewise.
7433 (ldexp_test): Likewise.
7434 (lgamma_test): Likewise.
7435 (gamma_test): Likewise.
7436 (lrint_test): Likewise.
7437 (lrint_test_tonearest): Likewise.
7438 (lrint_test_towardzero): Likewise.
7439 (lrint_test_downward): Likewise.
7440 (lrint_test_upward): Likewise.
7441 (llrint_test): Likewise.
7442 (llrint_test_tonearest): Likewise.
7443 (llrint_test_towardzero): Likewise.
7444 (llrint_test_downward): Likewise.
7445 (llrint_test_upward): Likewise.
7446 (log_test): Likewise.
7447 (log10_test): Likewise.
7448 (log1p_test): Likewise.
7449 (log2_test): Likewise.
7450 (logb_test): Likewise.
7451 (logb_test_downward): Likewise.
7452 (lround_test): Likewise.
7453 (llround_test): Likewise.
7454 (modf_test): Likewise.
7455 (nearbyint_test): Likewise.
7456 (nextafter_test): Likewise.
7457 (nexttoward_test): Likewise.
7458 (pow_test): Likewise.
7459 (pow_test_tonearest): Likewise.
7460 (pow_test_towardzero): Likewise.
7461 (pow_test_downward): Likewise.
7462 (pow_test_upward): Likewise.
7463 (remainder_test): Likewise.
7464 (drem_test): Likewise.
7465 (remainder_test_tonearest): Likewise.
7466 (drem_test_tonearest): Likewise.
7467 (remainder_test_towardzero): Likewise.
7468 (drem_test_towardzero): Likewise.
7469 (remainder_test_downward): Likewise.
7470 (drem_test_downward): Likewise.
7471 (remainder_test_upward): Likewise.
7472 (drem_test_upward): Likewise.
7473 (remquo_test): Likewise.
7474 (rint_test): Likewise.
7475 (rint_test_tonearest): Likewise.
7476 (rint_test_towardzero): Likewise.
7477 (rint_test_downward): Likewise.
7478 (rint_test_upward): Likewise.
7479 (round_test): Likewise.
7480 (scalb_test): Likewise.
7481 (scalbn_test): Likewise.
7482 (scalbln_test): Likewise.
7483 (signbit_test): Likewise.
7484 (sin_test): Likewise.
7485 (sin_test_tonearest): Likewise.
7486 (sin_test_towardzero): Likewise.
7487 (sin_test_downward): Likewise.
7488 (sin_test_upward): Likewise.
7489 (sincos_test): Likewise.
7490 (sinh_test): Likewise.
7491 (sinh_test_tonearest): Likewise.
7492 (sinh_test_towardzero): Likewise.
7493 (sinh_test_downward): Likewise.
7494 (sinh_test_upward): Likewise.
7495 (sqrt_test): Likewise.
7496 (sqrt_test_tonearest): Likewise.
7497 (sqrt_test_towardzero): Likewise.
7498 (sqrt_test_downward): Likewise.
7499 (sqrt_test_upward): Likewise.
7500 (tan_test): Likewise.
7501 (tan_test_tonearest): Likewise.
7502 (tan_test_towardzero): Likewise.
7503 (tan_test_downward): Likewise.
7504 (tan_test_upward): Likewise.
7505 (tanh_test): Likewise.
7506 (tgamma_test): Likewise.
7507 (trunc_test): Likewise.
7508 (y0_test): Likewise.
7509 (y1_test): Likewise.
7510 (yn_test): Likewise.
7511 (significand_test): Likewise.
7513 * math/libm-test.inc (struct ulp_data): Don't refer to ulps for
7514 individual tests in comment.
7515 (libm-test-ulps.h): Don't refer to test_ulps in #include comment.
7516 (prev_max_error): New variable.
7517 (prev_real_max_error): Likewise.
7518 (prev_imag_max_error): Likewise.
7519 (compare_ulp_data): Don't refer to test names in comment.
7520 (find_test_ulps): Remove function.
7521 (find_function_ulps): Likewise.
7522 (find_complex_function_ulps): Likewise.
7523 (init_max_error): Take function name as argument. Look up ulps
7525 (print_ulps): Remove function.
7526 (print_max_error): Use prev_max_error instead of calling
7528 (print_complex_max_error): Use prev_real_max_error and
7529 prev_imag_max_error instead of calling find_complex_function_ulps.
7530 (check_float_internal): Take max_ulp parameter instead of calling
7531 find_test_ulps. Don't call print_ulps.
7532 (check_float): Update call to check_float_internal.
7533 (check_complex): Update calls to check_float_internal.
7534 (START): Pass argument to init_max_error.
7535 * math/gen-libm-test.pl (%results): Don't include "kind"
7537 (parse_ulps): Don't handle ulps of individual tests.
7538 (print_ulps_file): Likewise.
7539 (output_ulps): Likewise.
7540 * math/README.libm-test: Update.
7541 * manual/libm-err-tab.pl (parse_ulps): Don't handle ulps of
7543 * sysdeps/aarch64/libm-test-ulps: Remove individual test ulps.
7544 * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
7545 * sysdeps/arm/libm-test-ulps: Likewise.
7546 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
7547 * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
7548 * sysdeps/m68k/coldfire/fpu/libm-test-ulps: Likewise.
7549 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Likewise.
7550 * sysdeps/microblaze/libm-test-ulps: Likewise.
7551 * sysdeps/mips/mips32/libm-test-ulps: Likewise.
7552 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
7553 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
7554 * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
7555 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
7556 * sysdeps/sh/libm-test-ulps: Likewise.
7557 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
7558 * sysdeps/tile/libm-test-ulps: Likewise.
7559 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7561 2014-03-04 Joseph Myers <joseph@codesourcery.com>
7563 * math/libm-test.inc (print_complex_max_error): Check separately
7564 whether real and imaginary errors are within allowed range and
7565 pass 0 to print_complex_function_ulps instead of value within
7568 2014-03-04 Siddhesh Poyarekar <siddhesh@redhat.com>
7570 * libio/tst-ftell-active-handler.c (get_handles_fdopen): Fix
7572 (get_handles_fopen): Likewise.
7573 (do_write_test): Likewise.
7575 * libio/wfileops.c (do_ftell_wide): Fix up formatting.
7577 * libio/fileops.c (do_ftell): Use cached offset when
7579 * libio/iofwide.c (do_ftell_wide): Likewise.
7580 * libio/iofdopen.c (_IO_new_fdopen): Don't use
7582 * libio/wfileops.c (_IO_fwide): Don't cache offset.
7585 * libio/libioP.h (get_file_offset): New function.
7586 * libio/fileops.c (get_file_offset): Likewise.
7587 (do_ftell): Likewise.
7588 (_IO_new_file_seekoff): Split out ftell logic.
7589 * libio/wfileops.c (do_ftell_wide): Likewise.
7590 (_IO_wfile_seekoff): Split out ftell logic.
7591 * libio/tst-ftell-active-handler.c: New test case.
7592 * libio/Makefile (tests): Add it.
7594 2014-03-03 Roland McGrath <roland@hack.frob.com>
7596 * nptl/ChangeLog: Renamed to nptl/ChangeLog.old, no longer used.
7597 * nptl_db/ChangeLog: Renamed to nptl_db/ChangeLog.old, no longer used.
7599 2014-03-03 Siddhesh Poyarekar <siddhesh@redhat.com>
7602 * nscd/connections.c (nscd_init): Call do_exit.
7603 (start_threads): Call do_exit and notify_parent.
7604 (begin_drop_privileges): Call do_exit.
7605 (finish_drop_privileges): Likewise.
7606 * nscd/selinux.c (preserve_capabilities): Likewise.
7607 (install_real_capabilities): Likewise.
7608 (nscd_selinux_enabled): Likewise.
7609 (avc_create_thread): Likewise.
7610 (avc_alloc_lock): Likewise.
7611 (nscd_avc_init): Likewise.
7612 * nscd/nscd.c (parent_fd): New static variable.
7613 (main): Create a pipe between parent and child processes.
7614 Skip closing parent_fd.
7615 (monitor_child): New function.
7616 (do_exit): Likewise.
7617 (notify_parent): Likewise.
7618 * nscd/nscd.h (notify_parent): Likewise.
7619 (do_exit): Likewise.
7621 2014-03-03 Carlos O'Donell <carlos@redhat.com>
7623 * malloc/malloc.c (__libc_calloc): Revert last change.
7625 2014-03-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7627 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7629 2014-03-03 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
7631 * sysdeps/powerpc/powerpc64/power7/strrchr.S: New file.
7632 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strrchr multiarch
7634 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
7635 (__libc_ifunc_impl_list): Likewise.
7636 * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: New file.
7637 * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: New file.
7638 * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: New file.
7639 * string/strrchr.c: Define STRRCHR.
7641 2014-02-28 Ondřej Bílka <neleai@seznam.cz>
7643 * benchtest/bench-strtok.c (simple_strtok): Delete.
7644 (strtok_string): Use as benchmark.
7645 * string/strtok (STRTOK): New macro.
7647 2014-02-28 Carlos O'Donell <carlos@redhat.com>
7649 * manual/threads.texi: Add header and standard comments to all
7652 * elf/dl-lookup.c (check_match): New function.
7653 (ELF_MACHINE_SYM_NO_MATCH): Adjust comment.
7654 (do_lookup_x): Remove nested function check_match. Use non-nested
7655 function check_match.
7657 2014-02-28 Roland McGrath <roland@hack.frob.com>
7659 * csu/Makefile (generated, before-compile): Use += rather than =.
7660 * catgets/Makefile (generated, generated-dirs): Likewise.
7661 * debug/Makefile (generated): Likewise.
7662 * dlfcn/Makefile (generated): Likewise.
7663 * elf/Makefile (before-compile, generated, generated-dirs): Likewise.
7664 * iconvdata/Makefile (before-compile, generated): Likewise.
7665 * intl/Makefile (before-compile, generated, generated-dirs): Likewise.
7666 * libio/Makefile (generated): Likewise.
7667 * malloc/Makefile (generated): Likewise.
7668 * manual/Makefile (generated, generated-dirs): Likewise.
7669 * misc/Makefile (generated): Likewise.
7670 * posix/Makefile (generated): Likewise.
7671 * resolv/Makefile (generated): Likewise.
7672 * sunrpc/Makefile (generated, generated-dirs): Likewise.
7673 * timezone/Makefile (generated, generated-dirs): Likewise.
7675 * stdio-common/Versions (libc: GLIBC_PRIVATE): Add missing }.
7677 2014-02-27 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7679 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
7680 power8 implementation.
7681 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: New
7682 file: POWER8 llround ifunc implementation.
7683 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c
7684 (__lllround): Add POWER8 implementation.
7685 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: New file:
7686 POWER8 llround implementation.
7688 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint
7689 power8 implementation.
7690 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: New
7691 file: POWER8 llrint ifunc implementation.
7692 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c (__lllrint):
7693 Add POWER8 implementation.
7694 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: New file:
7695 POWER8 llrint implementation.
7697 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite
7698 power8 implementation.
7699 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: New
7700 file: POWER8 finite ifunc implementation.
7701 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c (__finite):
7702 Add POWER8 implementation.
7703 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c (__finitef):
7705 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: New file:
7706 POWER8 finite implementation.
7707 * sysdeps/powerpc/powerpc64/power8/fpu/s_finitef.S: New file.
7709 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf
7710 power8 implementation.
7711 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: New
7712 file: POWER8 isinf ifunc implementation.
7713 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c (__isinf): Add
7714 POWER8 implementation.
7715 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c (__isinff):
7717 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: New file: POWER8
7718 isinf implementation.
7719 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinff.S: New file.
7721 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h
7722 (INIT_ARCH): Add hwcap2 initialization.
7723 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
7724 power8 implementation.
7725 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: New
7726 file: POWER8 isnan ifunc implementation.
7727 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c (__isnan): Add
7728 POWER8 implementation.
7729 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c (__isnanf):
7731 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: New file: POWER8
7732 isnan implementation.
7733 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnanf.S: New file.
7735 2014-02-27 Joey Ye <joey.ye@arm.com>
7737 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
7738 (_FP_NANFRAC_Q): Set to zero.
7740 2014-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
7743 * math/auto-libm-test-in: New test inputs.
7744 * math/auto-libm-test-out: Regenerate.
7745 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Preserve sign of A
7748 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
7750 2014-02-27 Joseph Myers <joseph@codesourcery.com>
7752 * scripts/evaluate-test.sh: Take new argument indicating whether
7753 failure is expected.
7754 * Makeconfig (evaluate-test): Pass argument to evaluate-test.sh
7755 indicating whether failure is expected.
7756 * conform/Makefile (test-xfail-run-conformtest): New variable.
7757 ($(objpfx)run-conformtest.out): Don't expect to fail at makefile
7759 * posix/Makefile (test-xfail-annexc): New variable.
7760 ($(objpfx)annexc.out): Don't expect to fail at makefile level.
7762 2014-02-26 Joseph Myers <joseph@codesourcery.com>
7764 * argp/Makefile: Include Makeconfig immediately after defining
7766 * assert/Makefile: Likewise.
7767 * benchtests/Makefile: Likewise.
7768 * catgets/Makefile: Likewise.
7769 * conform/Makefile: Likewise.
7770 * crypt/Makefile: Likewise.
7771 * csu/Makefile: Likewise.
7772 (all): Remove target.
7773 * ctype/Makefile: Include Makeconfig immediately after defining
7775 * debug/Makefile: Likewise.
7776 * dirent/Makefile: Likewise.
7777 * dlfcn/Makefile: Likewise.
7778 * gmon/Makefile: Likewise.
7779 * gnulib/Makefile: Likewise.
7780 * grp/Makefile: Likewise.
7781 * gshadow/Makefile: Likewise.
7782 * hesiod/Makefile: Likewise.
7783 * hurd/Makefile: Likewise.
7784 (all): Remove target.
7785 * iconvdata/Makefile: Include Makeconfig immediately after
7787 * inet/Makefile: Likewise.
7788 * intl/Makefile: Likewise.
7789 * io/Makefile: Likewise.
7790 * libio/Makefile: Likewise.
7791 (all): Remove target.
7792 * locale/Makefile: Include Makeconfig immediately after defining
7794 * login/Makefile: Likewise.
7795 * mach/Makefile: Likewise.
7796 (all): Remove target.
7797 * malloc/Makefile: Include Makeconfig immediately after defining
7799 (all): Remove target.
7800 * manual/Makefile: Include Makeconfig immediately after defining
7802 * math/Makefile: Likewise.
7803 * misc/Makefile: Likewise.
7804 * nis/Makefile: Likewise.
7805 * nss/Makefile: Likewise.
7806 * po/Makefile: Likewise.
7807 (all): Remove target.
7808 * posix/Makefile: Include Makeconfig immediately after defining
7810 * pwd/Makefile: Likewise.
7811 * resolv/Makefile: Likewise.
7812 * resource/Makefile: Likewise.
7813 * rt/Makefile: Likewise.
7814 * setjmp/Makefile: Likewise.
7815 * shadow/Makefile: Likewise.
7816 * signal/Makefile: Likewise.
7817 * socket/Makefile: Likewise.
7818 * soft-fp/Makefile: Likewise.
7819 * stdio-common/Makefile: Likewise.
7820 * stdlib/Makefile: Likewise.
7821 * streams/Makefile: Likewise.
7822 * string/Makefile: Likewise.
7823 * sunrpc/Makefile: Likewise.
7824 (all): Remove target.
7825 * sysvipc/Makefile: Include Makeconfig immediately after defining
7827 * termios/Makefile: Likewise.
7828 * time/Makefile: Likewise.
7829 * timezone/Makefile: Likewise.
7830 (all): Remove target.
7831 * wcsmbs/Makefile: Include Makeconfig immediately after defining
7833 * wctype/Makefile: Likewise.
7835 2014-02-26 Steve Ellcey <sellcey@mips.com>
7837 * sysdeps/mips/math_private.h (_FPU_MASK_ALL) New.
7838 (libc_feholdexcept_mips): Use _FPU_MASK_ALL.
7839 (libc_feholdexcept_setround_mips): Ditto.
7840 (libc_feholdsetround): New.
7841 (libc_feholdsetroundf): New.
7842 (libc_feholdsetroundl): New.
7843 (libc_feupdateenv_test_mips): New.
7844 (libc_feupdateenv_test): New.
7845 (libc_feupdateenv_testf): New.
7846 (libc_feupdateenv_testl): New.
7847 (libc_feresetround): New.
7848 (libc_feresetroundf): New.
7849 (libc_feresetroundl): New.
7850 (libc_fetestexcept_mips): New.
7851 (libc_fetestexcept): New.
7852 (libc_fetestexceptf): New.
7853 (libc_fetestexceptl): New.
7855 (libc_feholdexcept_setround_mips_ctx): New.
7856 (libc_feholdexcept_setround_ctx): New.
7857 (libc_feholdexcept_setroundf_ctx): New.
7858 (libc_feholdexcept_setroundl_ctx): New.
7859 (libc_fesetenv_mips_ctx): New.
7860 (libc_fesetenv_ctx): New.
7861 (libc_fesetenv_ctxf): New.
7862 (libc_fesetenv_ctxl): New.
7863 (libc_feupdateenv_mips_ctx): New.
7864 (libc_feupdateenv_ctx): New.
7865 (libc_feupdateenvf_ctx): New.
7866 (libc_feupdateenvl_ctx): New.
7867 (libc_feholdsetround_mips_ctx): New.
7868 (libc_feholdsetround_ctx): New.
7869 (libc_feholdsetroundf_ctx): New.
7870 (libc_feholdsetroundl_ctx): New.
7871 (libc_feresetround_mips_ctx): New.
7872 (libc_feresetround_ctx): New.
7873 (libc_feresetroundf_ctx): New.
7874 (libc_feresetroundl_ctx): New.
7876 2014-02-26 Carlos O'Donell <carlos@redhat.com>
7878 * manual/ipc.texi (Semaphores): Use @Theglibc{}.
7880 * manual/ipc.texi: New file.
7881 * manual/Makefile (chapters): Add ipc.
7882 * manual/job.texi: Add "Inter-Process Communication" to next.
7883 * manual/process.texi: Add "Inter-Process Communication" to prev.
7885 2014-02-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7887 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7889 2014-02-26 Ondřej Bílka <neleai@seznam.cz>
7891 * malloc/malloc.c (__libc_calloc): Simplify implementation.
7893 * manual/arith.texi: Fix spaces after sentences.
7894 * manual/charset.texi: Likewise.
7895 * manual/errno.texi: Likewise.
7896 * manual/install.texi: Likewise.
7897 * manual/llio.texi: Likewise.
7898 * manual/locale.texi: Likewise.
7899 * manual/maint.texi: Likewise.
7900 * manual/math.texi: Likewise.
7901 * manual/memory.texi: Likewise.
7902 * manual/message.texi: Likewise.
7903 * manual/probes.texi: Likewise.
7904 * manual/resource.texi: Likewise.
7905 * manual/signal.texi: Likewise.
7906 * manual/socket.texi: Likewise.
7907 * manual/stdio.texi: Likewise.
7908 * manual/string.texi: Likewise.
7909 * manual/time.texi: Likewise.
7910 * manual/users.texi: Likewise.
7912 2014-02-25 Carlos O'Donell <carlos@redhat.com>
7915 * include/features.h: Don't warn about _BSD_SOURCE or _SVID_SOURCE if
7916 _DEFAULT_SOURCE is defined.
7918 2014-02-25 Ulrich Drepper <drepper@gmail.com>
7919 Carlos O'Donell <carlos@redhat.com>
7922 * elf/dl-tls.c (_dl_count_modids): New function.
7923 * sysdeps/generic/ldsodefs.h: Declare _dl_count_modids.
7924 * elf/rtld.c (dl_main): Call _dl_count_modids to track TLS usage in
7925 audit library and increment generation counter.
7926 (_dl_allocate_tls_init): Add assertion to check TLS generation count.
7927 * elf/tst-audit9.c: New file.
7928 * elf/tst-auditmod9a.c: New file.
7929 * elf/tst-auditmod9b.c: New file.
7930 * elf/Makefile: Add rules to build and run tst-audit9.
7932 2014-02-25 Florian Weimer <fweimer@redhat.com>
7935 * misc/sys/select.h (__FD_MASK): Avoid signed integer overflow.
7937 2014-02-25 Will Newton <will.newton@linaro.org>
7939 * sysdeps/arm/__longjmp.S: Include stap-probe.h.
7940 (__longjmp): Restore sp and lr before restoring callee
7941 saved registers. Add longjmp and longjmp_target
7942 SystemTap probe point.
7943 * sysdeps/arm/bits/setjmp.h (__jmp_buf): Update comment.
7944 * sysdeps/arm/include/bits/setjmp.h (__JMP_BUF_SP):
7945 Define to zero to match jmpbuf layout.
7946 * sysdeps/arm/setjmp.S: Include stap-probe.h.
7947 (__sigsetjmp): Save sp and lr before saving callee
7948 saved registers. Add setjmp SystemTap probe point.
7950 2014-02-24 Stefan Liebler <stli@linux.vnet.ibm.com>
7952 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
7954 2014-02-24 Andreas Schwab <schwab@suse.de>
7957 * elf/pldd.c (wait_for_ptrace_stop): New function.
7958 (main): Call it after attaching.
7960 2014-02-22 Roland McGrath <roland@hack.frob.com>
7962 * Makerules ($(common-objpfx)Versions.v.i): No longer depend
7963 on $(common-objpfx)abi-versions.h; using <shlib-compat.h> inside
7964 Versions files is now verboten.
7965 * hurd/Versions (libc: GLIBC_2.0):
7966 Remove various [SHLIB_COMPAT (libc, GLIBC_2_0, ...)] sections.
7967 (libc: HURD_CTHREADS_0.3): Remove conditionalization, was under
7968 [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)].
7969 * mach/Versions: Likewise.
7971 * csu/Versions: Remove unused %include.
7972 * resolv/Versions: Likewise.
7974 2014-02-21 Joseph Myers <joseph@codesourcery.com>
7976 * Makefile ($(objpfx)c++-types-check.out): Use $(evaluate-test).
7977 ($(objpfx)check-local-headers.out): Likewise.
7978 ($(objpfx)begin-end-check.out): Likewise.
7979 * Makerules (check-abi-%.out): Likewise.
7980 * catgets/Makefile ($(objpfx)test1.cat): Likewise.
7981 ($(objpfx)test2.cat): Likewise.
7982 ($(objpfx)de/libc.cat): Likewise.
7983 ($(objpfx)test-gencat.out): Likewise.
7984 * conform/Makefile ($(objpfx)run-conformtest.out): Likewise.
7985 * elf/Makefile ($(objpfx)order-cmp.out): Likewise.
7986 ($(objpfx)noload-mem): Likewise.
7987 ($(objpfx)tst-pathopt.out): Likewise.
7988 ($(objpfx)tst-rtld-load-self.out): Likewise.
7989 ($(objpfx)tst-array1-cmp.out): Likewise.
7990 ($(objpfx)tst-array1-static-cmp.out): Likewise.
7991 ($(objpfx)tst-array2-cmp.out): Likewise.
7992 ($(objpfx)tst-array3-cmp.out): Likewise.
7993 ($(objpfx)tst-array4-cmp.out): Likewise.
7994 ($(objpfx)tst-array5-cmp.out): Likewise.
7995 ($(objpfx)tst-array5-static-cmp.out): Likewise.
7996 ($(objpfx)check-textrel.out): Likewise.
7997 ($(objpfx)check-execstack.out): Likewise.
7998 ($(objpfx)check-localplt.out): Likewise.
7999 ($(objpfx)order2-cmp.out): Likewise.
8000 ($(objpfx)tst-leaks1-mem): Likewise.
8001 ($(objpfx)tst-leaks1-static-mem): Likewise.
8002 ($(objpfx)tst-initorder-cmp.out): Likewise.
8003 ($(objpfx)tst-initorder2-cmp.out): Likewise.
8004 ($(objpfx)tst-unused-dep.out): Likewise.
8005 ($(objpfx)tst-unused-dep-cmp.out): Likewise.
8006 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
8007 * iconv/Makefile (test-iconvconfig): Likewise.
8008 * iconvdata/Makefile ($(objpfx)mtrace-tst-loading): Likewise.
8009 ($(objpfx)iconv-test.out): Likewise.
8010 ($(objpfx)tst-tables.out): Likewise.
8011 * intl/Makefile ($(objpfx)mtrace-tst-gettext): Likewise.
8012 ($(objpfx)tst-gettext.out): Likewise.
8013 ($(objpfx)tst-translit.out): Likewise.
8014 ($(objpfx)tst-gettext2.out): Likewise.
8015 ($(objpfx)tst-gettext4.out): Likewise.
8016 ($(objpfx)tst-gettext6.out): Likewise.
8017 * io/Makefile ($(objpfx)ftwtest.out): Likewise.
8018 * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
8019 ($(objpfx)tst-fopenloc-cmp.out): Likewise.
8020 ($(objpfx)tst-fopenloc-mem.out): Likewise.
8021 * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
8022 * misc/Makefile ($(objpfx)tst-error1-mem): Likewise.
8023 * posix/Makefile ($(objpfx)globtest.out): Likewise.
8024 ($(objpfx)wordexp-tst.out): Likewise.
8025 ($(objpfx)annexc.out): Likewise.
8026 ($(objpfx)tst-fnmatch-mem): Likewise.
8027 ($(objpfx)bug-regex2-mem): Likewise.
8028 ($(objpfx)bug-regex14-mem): Likewise.
8029 ($(objpfx)bug-regex21-mem): Likewise.
8030 ($(objpfx)bug-regex31-mem): Likewise.
8031 ($(objpfx)tst-vfork3-mem): Likewise.
8032 ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
8033 ($(objpfx)tst-pcre-mem): Likewise.
8034 ($(objpfx)tst-boost-mem): Likewise.
8035 ($(objpfx)tst-getconf.out): Likewise.
8036 ($(objpfx)bug-ga2-mem): Likewise.
8037 ($(objpfx)bug-glob2-mem): Likewise.
8038 * resolv/Makefile ($(objpfx)mtrace-tst-leaks): Likewise.
8039 ($(objpfx)mtrace-tst-leaks2): Likewise.
8040 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Likewise.
8041 ($(objpfx)tst-printf.out): Likewise.
8042 ($(objpfx)tst-setvbuf1.out): Likewise.
8043 ($(objpfx)tst-setvbuf1-cmp.out): Likewise.
8044 * stdlib/Makefile ($(objpfx)isomac.out): Likewise.
8045 ($(objpfx)tst-fmtmsg.out): Likewise.
8046 * string/Makefile ($(objpfx)tst-svc-cmp.out): Likewise.
8047 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Likewise.
8049 * bits/fcntl.h [__USE_MISC]: Remove redundant conditionals.
8050 * bits/sigaction.h [__USE_MISC]: Likewise.
8051 * bits/waitstatus.h: Update #endif comments.
8052 * ctype/ctype.h: Likewise.
8053 * dirent/dirent.h: Likewise.
8054 [__USE_MISC]: Remove redundant conditionals.
8055 * grp/grp.h: Update #endif comments.
8056 [__USE_GNU]: Remove redundant conditionals.
8057 [__USE_MISC]: Likewise.
8058 * inet/netinet/in.h [__USE_GNU]: Likewise.
8059 * io/sys/stat.h [__USE_MISC]: Likewise.
8060 * libio/bits/stdio-ldbl.h [__USE_MISC]: Likewise.
8061 * libio/bits/stdio.h: Update #endif comments.
8062 [__USE_MISC]: Remove redundant conditionals.
8063 * libio/bits/stdio2.h [__USE_MISC]: Likewise.
8064 * libio/stdio.h: Update #endif comments.
8065 [__USE_MISC]: Remove redundant conditionals.
8066 * math/bits/math-finite.h [__USE_MISC]: Likewise.
8067 * math/bits/mathcalls.h [__USE_MISC]: Likewise.
8068 * math/math.h: Update #else and #endif comments.
8069 [__USE_MISC]: Remove redundant conditionals.
8070 * misc/sys/uio.h: Update #endif comments.
8071 * posix/bits/unistd.h [__USE_MISC]: Remove redundant conditionals.
8072 * posix/glob.h [__USE_MISC]: Likewise.
8073 * posix/sys/types.h: Update #endif comments.
8074 [__USE_MISC]: Remove redundant conditionals.
8075 * posix/sys/wait.h: Update #endif comments.
8076 [__USE_MISC]: Remove redundant conditionals.
8077 * posix/unistd.h: Update #endif comments.
8078 [__USE_MISC]: Remove redundant conditionals.
8079 * pwd/pwd.h [__USE_GNU]: Likewise.
8080 [__USE_MISC]: Likewise.
8081 * resolv/netdb.h [__USE_GNU]: Likewise.
8082 * signal/signal.h: Update #endif comments.
8083 [__USE_MISC]: Remove redundant conditionals.
8084 * stdlib/stdlib.h: Update #else and #endif comments.
8085 [__USE_MISC]: Remove redundant conditionals.
8086 [__USE_GNU]: Likewise.
8087 * string/bits/string2.h [__USE_MISC]: Likewise.
8088 * string/string.h: Update #endif comments.
8089 [__USE_MISC]: Remove redundant conditionals.
8090 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h [__USE_MISC]:
8092 * sysdeps/mach/hurd/bits/fcntl.h [__USE_MISC]: Likewise.
8093 * sysdeps/mach/hurd/bits/stat.h [__USE_MISC]: Likewise.
8094 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h [__USE_MISC]:
8096 * sysdeps/unix/sysv/linux/alpha/bits/stat.h [__USE_MISC]:
8098 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Update #endif
8100 [__USE_MISC]: Remove redundant conditionals.
8101 * sysdeps/unix/sysv/linux/bits/in.h [__USE_GNU]: Likewise.
8102 * sysdeps/unix/sysv/linux/bits/sigaction.h [__USE_MISC]: Likewise.
8103 * sysdeps/unix/sysv/linux/bits/socket.h [__USE_GNU]: Likewise.
8104 * sysdeps/unix/sysv/linux/bits/stat.h [__USE_MISC]: Likewise.
8105 * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h [__USE_MISC]:
8107 * sysdeps/unix/sysv/linux/m68k/bits/stat.h [__USE_MISC]: Likewise.
8108 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h [__USE_MISC]:
8110 * sysdeps/unix/sysv/linux/mips/bits/stat.h [__USE_MISC]: Likewise.
8111 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h [__USE_MISC]:
8113 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h [__USE_MISC]:
8115 * sysdeps/unix/sysv/linux/s390/bits/stat.h [__USE_MISC]: Likewise.
8116 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h [__USE_MISC]:
8118 * sysdeps/unix/sysv/linux/sparc/bits/stat.h [__USE_MISC]:
8120 * sysdeps/unix/sysv/linux/x86/bits/stat.h [__USE_MISC]: Likewise.
8121 * sysdeps/x86/bits/string.h: Update #endif comments.
8122 * sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC]: Remove redundant
8124 * time/sys/time.h: Update #endif comments.
8125 * time/time.h: Likewise.
8126 [__USE_MISC]: Remove redundant conditionals.
8128 2014-02-21 Yury Gribov <y.gribov@samsung.com>
8131 * sysdeps/arm/libm-test-ulps: Update for VFPv4.
8133 2014-02-21 Andreas Schwab <schwab@linux-m68k.org>
8135 * Versions.def (librt): Add GLIBC_2.17.
8137 2014-02-21 Adam Conrad <adconrad@0c3.net>
8139 * sysdeps/powerpc/bits/hwcap.h: Allow _SYSDEPS_SYSDEP_H guard as a
8140 synonym for _SYS_AUXV_H to allow direct inclusion.
8141 * sysdeps/sparc/bits/hwcap.h: Likewise.
8142 * sysdeps/powerpc/sysdep.h: Define _SYSDEPS_SYSDEP_H instead of
8143 _SYS_AUXV_H so we can include sysdep.h and sys/auxv.h together.
8144 * sysdeps/sparc/sysdep.h: Likewise.
8146 2014-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
8148 * benchtests/bench-strrchr.c (do_test): Fix minor formatting.
8150 2014-02-21 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
8152 * benchtests/bench-strrchr.c: Print length instead of position.
8154 2014-02-20 Joseph Myers <joseph@codesourcery.com>
8157 * sysdeps/unix/sysv/linux/kernel-features.h
8158 [__LINUX_KERNEL_VERSION >= 0x030000 && __ASSUME_SOCKETCALL]
8159 (__ASSUME_SENDMMSG_SOCKETCALL): Define.
8160 [__LINUX_KERNEL_VERSION >= 0x030000 && (__i386__ || __x86_64__ ||
8161 __powerpc__ || __sh__ || __sparc__)] (__ASSUME_SENDMMSG_SYSCALL):
8163 [__i386__ || __powerpc__ || __sh__ || __sparc__]
8164 (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
8165 [__ASSUME_SENDMMSG_SOCKETCALL || __ASSUME_SENDMMSG_SYSCALL]
8166 (__ASSUME_SENDMMSG): Define instead of using previous
8167 [__LINUX_KERNEL_VERSION >= 0x020627] condition.
8168 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
8169 (__ASSUME_SENDMMSG_SYSCALL): Define.
8170 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
8171 [__LINUX_KERNEL_VERSION >= 0x030200] (__ASSUME_SENDMMSG_SYSCALL):
8173 * sysdeps/unix/sysv/linux/arm/kernel-features.h
8174 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
8176 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
8177 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
8179 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SOCKETCALL
8180 && !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
8181 !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
8182 [__ASSUME_SENDMMSG]: Change conditionals to
8183 [__ASSUME_SENDMMSG_SOCKETCALL].
8184 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
8185 [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_SENDMMSG_SYSCALL):
8187 * sysdeps/unix/sysv/linux/mips/kernel-features.h
8188 [__LINUX_KERNEL_VERSION >= 0x030100] (__ASSUME_SENDMMSG_SYSCALL):
8190 * sysdeps/unix/sysv/linux/sendmmsg.c [__ASSUME_SOCKETCALL &&
8191 !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
8192 !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
8193 [!__ASSUME_SENDMMSG]: Change conditional to
8194 [!__ASSUME_SENDMMSG_SOCKETCALL].
8195 * sysdeps/unix/sysv/linux/tile/kernel-features.h
8196 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
8200 * sysdeps/unix/sysv/linux/kernel-features.h
8201 [__LINUX_KERNEL_VERSION >= 0x020621 && __ASSUME_SOCKETCALL]
8202 (__ASSUME_RECVMMSG_SOCKETCALL): Define.
8203 [(__LINUX_KERNEL_VERSION >= 0x020621 && (__i386__ || __x86_64__ ||
8204 __sparc__)) || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__
8205 || __sh__))] (__ASSUME_RECVMMSG_SYSCALL): Likewise.
8206 [__i386__ || __sparc__]
8207 (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
8208 [__ASSUME_RECVMMSG_SOCKETCALL || __ASSUME_RECVMMSG_SYSCALL]
8209 (__ASSUME_RECVMMSG): Define instead of using previous
8210 [__LINUX_KERNEL_VERSION >= 0x020621] condition.
8211 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
8212 (__ASSUME_RECVMMSG_SYSCALL): Define.
8213 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
8214 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
8216 * sysdeps/unix/sysv/linux/arm/kernel-features.h
8217 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
8219 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
8220 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
8222 * sysdeps/unix/sysv/linux/internal_recvmmsg.S [__ASSUME_SOCKETCALL
8223 && !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
8224 !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
8225 [__ASSUME_RECVMMSG]: Change condition to
8226 [__ASSUME_RECVMMSG_SOCKETCALL].
8227 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
8228 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
8230 (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
8231 * sysdeps/unix/sysv/linux/mips/kernel-features.h
8232 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
8234 * sysdeps/unix/sysv/linux/recvmmsg.c [__ASSUME_SOCKETCALL &&
8235 !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
8236 !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
8237 [!__ASSUME_RECVMMSG]: Change condition to
8238 [!__ASSUME_RECVMMSG_SOCKETCALL].
8239 * sysdeps/unix/sysv/linux/tile/kernel-features.h
8240 (__ASSUME_RECVMMSG_SYSCALL): Define.
8243 * sysdeps/unix/sysv/linux/kernel-features.h [__i386__ ||
8244 __powerpc__ || __s390__ || __sh__ || __sparc__]
8245 (__ASSUME_SOCKETCALL): Define.
8246 [__LINUX_KERNEL_VERSION && __ASSUME_SOCKETCALL]
8247 (__ASSUME_ACCEPT4_SOCKETCALL): Likewise.
8248 [(__LINUX_KERNEL_VERSION >= 0x02061c && (__x86_64__ || __sparc__))
8249 || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__ ||
8250 __sh__))] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
8251 [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
8252 [__ASSUME_ACCEPT4_SOCKETCALL || __ASSUME_ACCEPT4_SYSCALL]
8253 (__ASSUME_ACCEPT4): Define instead of using previous
8254 [__LINUX_KERNEL_VERSION >= 0x02061c && (__i386__ || __x86_64__ ||
8255 __powerpc__ || __sparc__ || __s390__)] condition.
8256 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
8257 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
8258 * sysdeps/unix/sysv/linux/accept4.c [__ASSUME_SOCKETCALL &&
8259 !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
8260 !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
8261 [!__ASSUME_ACCEPT4]: Change condition to
8262 [!__ASSUME_ACCEPT4_SOCKETCALL].
8263 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
8264 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL. Correct
8265 condition to [__LINUX_KERNEL_VERSION >= 0x030200].
8266 * sysdeps/unix/sysv/linux/arm/kernel-features.h
8267 [__LINUX_KERNEL_VERSION >= 0x020624] (__ASSUME_ACCEPT4): Change to
8268 __ASSUME_ACCEPT4_SYSCALL.
8269 * sysdeps/unix/sysv/linux/i386/accept4.S [__ASSUME_ACCEPT4]:
8270 Change conditions to [__ASSUME_ACCEPT4_SOCKETCALL].
8271 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
8272 [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_ACCEPT4): Change to
8273 __ASSUME_ACCEPT4_SYSCALL.
8274 * sysdeps/unix/sysv/linux/internal_accept4.S [__ASSUME_SOCKETCALL
8275 && !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
8276 !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
8277 [__ASSUME_ACCEPT4]: Change condition to
8278 [__ASSUME_ACCEPT4_SOCKETCALL].
8279 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
8280 (__ASSUME_SOCKETCALL): Define.
8281 [__LINUX_KERNEL_VERSION >= 0x02061c] (__ASSUME_ACCEPT4): Remove.
8282 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
8283 (__ASSUME_SOCKETCALL): Define.
8284 (__ASSUME_ACCEPT4): Remove.
8285 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_ACCEPT4_SYSCALL):
8287 * sysdeps/unix/sysv/linux/mips/kernel-features.h
8288 [__LINUX_KERNEL_VERSION >= 0x02061f] (__ASSUME_ACCEPT4_SYSCALL):
8290 * sysdeps/unix/sysv/linux/tile/kernel-features.h
8291 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
8293 * sysdeps/unix/sysv/linux/arm/bits/hwcap.h (HWCAP_ARM_VFPD32): New
8295 (HWCAP_ARM_LPAE): Likewise.
8296 (HWCAP_ARM_EVTSTRM): Likewise.
8297 * sysdeps/unix/sysv/linux/arm/dl-procinfo.c (_dl_arm_cap_flags):
8298 Add vpfd32, lpae and evtstrm.
8299 * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_DL_HWCAP_COUNT):
8302 2014-02-19 Joseph Myers <joseph@codesourcery.com>
8304 * math/auto-libm-test-in: Add tests of clog10.
8305 * math/auto-libm-test-out: Regenerated.
8306 * math/libm-test.inc (clog10_test_data): Use AUTO_TESTS_c_c.
8307 * sysdeps/i386/fpu/libm-test-ulps: Update.
8308 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8310 2014-02-18 Andreas Schwab <schwab@suse.de>
8313 * resolv/res_send.c (send_vc): Add parameter ansp2_malloced.
8314 Store non-zero if the second buffer was newly allocated.
8315 (send_dg): Likewise.
8316 (__libc_res_nsend): Add parameter ansp2_malloced and pass it down
8317 to send_vc and send_dg.
8318 (res_nsend): Pass NULL for ansp2_malloced.
8319 * resolv/res_query.c (__libc_res_nquery): Add parameter
8320 answerp2_malloced and pass it down to __libc_res_nsend.
8321 (res_nquery): Pass additional NULL to __libc_res_nquery.
8322 (__libc_res_nsearch): Add parameter answerp2_malloced and pass it
8323 down to __libc_res_nquery and __libc_res_nquerydomain. Deallocate
8324 second answer buffer if answerp2_malloced was set.
8325 (res_nsearch): Pass additional NULL to __libc_res_nsearch.
8326 (__libc_res_nquerydomain): Add parameter
8327 answerp2_malloced and pass it down to __libc_res_nquery.
8328 (res_nquerydomain): Pass additional NULL to
8329 __libc_res_nquerydomain.
8330 * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Pass
8331 additional NULL to __libc_res_nsend and __libc_res_nquery.
8332 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Pass
8333 additional NULL to __libc_res_nsearch.
8334 (_nss_dns_gethostbyname4_r): Revert last change. Use new
8335 parameter of __libc_res_nsearch to check for separately allocated
8337 (_nss_dns_gethostbyaddr2_r): Pass additional NULL to
8339 * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Pass
8340 additional NULL to __libc_res_nquery.
8341 * resolv/gethnamaddr.c (gethostbyname2): Pass additional NULL to
8343 (gethostbyaddr): Pass additional NULL to __libc_res_nquery.
8344 * include/resolv.h: Update prototypes of __libc_res_nquery,
8345 __libc_res_nsearch, __libc_res_nsend.
8347 2014-02-18 Joseph Myers <joseph@codesourcery.com>
8349 * math/auto-libm-test-in: Add tests of fma.
8350 * math/auto-libm-test-out: Regenerated.
8351 * math/libm-test.inc (fma_test_data): Use AUTO_TESTS_fff_f.
8352 (fma_towardzero_test_data): Likewise.
8353 (fma_downward_test_data): Likewise.
8354 (fma_upward_test_data): Likewise.
8355 * math/gen-auto-libm-tests.c (rounding_mode_desc): Add field
8357 (rounding_modes): Add values for new field.
8358 (func_calc_method): Add value mpfr_fff_f.
8359 (func_calc_desc): Add mpfr_fff_f union field.
8360 (test_function): Add field exact_args.
8361 (FUNC): Add macro argument EXACT_ARGS.
8362 (FUNC_mpfr_f_f): Update call to FUNC.
8363 (FUNC_mpfr_f_f): Likewise.
8364 (FUNC_mpfr_ff_f): Likewise.
8365 (FUNC_mpfr_if_f): Likewise.
8366 (FUNC_mpc_c_f): Likewise.
8367 (FUNC_mpc_c_c): Likewise.
8368 (test_functions): Add fma. Update calls to FUNC.
8369 (handle_input_arg): Add argument exact_args.
8370 (add_test): Update call to handle_input_arg.
8371 (calc_generic_results): Add argument mode. Handle mpfr_fff_f.
8372 (output_for_one_input_case): Update call to calc_generic_results.
8373 Recalculate exact zero results in each rounding mode.
8375 * math/gen-auto-libm-tests.c (adjust_real): Ensure integers are
8376 non-negative before setting low bit.
8377 * math/auto-libm-test-in: Mark one asin test possibly having
8379 * math/auto-libm-test-out: Regenerated.
8380 * sysdeps/i386/fpu/libm-test-ulps: Update.
8381 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8383 2014-02-17 David Holsgrove <david.holsgrove@xilinx.com>
8385 * sysdeps/microblaze: Move directory from ports/sysdeps/microblaze.
8386 * sysdeps/unix/sysv/linux/microblaze: Move directory from
8387 ports/sysdeps/unix/sysv/linux/microblaze.
8388 * README: Add missing listing for microblaze*-*-linux-gnu.
8390 2014-02-16 Mike Frysinger <vapier@gentoo.org>
8392 * sysdeps/ia64: Move directory from ports/sysdeps/ia64.
8393 * sysdeps/unix/sysv/linux/ia64: Move directory from
8394 ports/sysdeps/unix/sysv/linux/ia64.
8395 * README: Update listing for ia64-*-linux-gnu.
8397 2014-02-14 Tomas Dohnalek <tdohnale@redhat.com>
8398 Joseph Myers <joseph@codesourcery.com>
8400 * Makeconfig (test-name): New variable.
8401 (evaluate-test): Likewise.
8402 * Makerules (do-test-clean): Remove .test-result files.
8403 (common-mostlyclean): Likewise.
8404 * Rules ($(objpfx)%.out): Use $(evaluate-test) in both rules.
8405 * scripts/evaluate-test.sh: New file.
8407 2014-02-14 Joseph Myers <joseph@codesourcery.com>
8409 * libio/Makefile ($(objpfx)tst-fopenloc.check): Split into
8410 separate $(objpfx)tst-fopenloc-cmp.out and
8411 $(objpfx)tst-fopenloc-mem.out targets.
8412 (tests): Update dependencies.
8413 * posix/Makefile (tests variable): Add tst-rxspencer-no-utf8.
8414 (generated): Change tst-rxspencer-mem and tst-rxspencer.mtrace to
8415 tst-rxspencer-no-utf8-mem and tst-rxspencer-no-utf8.mtrace.
8416 (tst-rxspencer-no-utf8-ARGS): New variable.
8417 (tst-rxspencer-no-utf8-ENV): Likewise.
8418 (tests target): Depend on $(objpfx)tst-rxspencer-no-utf8-mem
8419 instead of $(objpfx)tst-rxspencer-mem.
8420 ($(objpfx)tst-rxspencer-mem): Change target to
8421 $(objpfx)tst-rxspencer-no-utf8-mem. Depend on
8422 $(objpfx)tst-rxspencer-no-utf8.out instead of running test program.
8423 * posix/tst-rxspencer-no-utf8.c: New file.
8425 * elf/Makefile ($(objpfx)order.out): Remove rule.
8426 [$(run-built-tests) = yes] (tests): Depend on
8427 $(objpfx)order-cmp.out.
8428 ($(objpfx)order-cmp.out): New rule.
8429 [$(run-built-tests) = yes] (tests): Depend on
8430 $(objpfx)tst-array1-cmp.out, $(objpfx)tst-array1-static-cmp.out,
8431 $(objpfx)tst-array2-cmp.out, $(objpfx)tst-array3-cmp.out,
8432 $(objpfx)tst-array4-cmp.out, $(objpfx)tst-array5-cmp.out and
8433 $(objpfx)tst-array5-static-cmp.out.
8434 ($(objpfx)tst-array1.out): Remove rule.
8435 ($(objpfx)tst-array1-cmp.out): New rule.
8436 ($(objpfx)tst-array1-static.out): Remove rule.
8437 ($(objpfx)tst-array1-static-cmp.out): New rule.
8438 ($(objpfx)tst-array2.out): Remove rule.
8439 ($(objpfx)tst-array2-cmp.out): New rule.
8440 ($(objpfx)tst-array3.out): Remove rule.
8441 ($(objpfx)tst-array3-cmp.out): New rule.
8442 ($(objpfx)tst-array4.out): Remove rule.
8443 ($(objpfx)tst-array4-cmp.out): New rule.
8444 ($(objpfx)tst-array5.out): Remove rule.
8445 ($(objpfx)tst-array5-cmp.out): New rule.
8446 ($(objpfx)tst-array5-static.out): Remove rule.
8447 ($(objpfx)tst-array5-static-cmp.out): New rule.
8448 [$(run-built-tests) = yes] (tests): Depend on
8449 $(objpfx)order2-cmp.out.
8450 ($(objpfx)order2.out): Remove rule.
8451 ($(objpfx)order2-cmp.out): New rule.
8452 ($(objpfx)tst-initorder.out): Remove rule.
8453 [$(run-built-tests) = yes] (tests): Depend on
8454 $(objpfx)tst-initorder-cmp.out.
8455 ($(objpfx)tst-initorder-cmp.out): New rule.
8456 ($(objpfx)tst-initorder2.out): Remove rule.
8457 [$(run-built-tests) = yes] (tests): Depend on
8458 $(objpfx)tst-initorder2-cmp.out.
8459 ($(objpfx)tst-initorder2-cmp.out): New rule.
8460 [$(run-built-tests) = yes] (tests): Depend on
8461 $(objpfx)tst-unused-dep-cmp.out.
8462 ($(objpfx)tst-unused-dep-cmp.out): Do not run cmp.
8463 ($(objpfx)tst-unused-dep-cmp.out): New rule.
8464 * stdio-common/Makefile [$(run-built-tests) = yes] (tests): Depend
8465 on $(objpfx)tst-setvbuf1-cmp.out.
8466 ($(objpfx)tst-setvbuf1.out): Do not run cmp.
8467 ($(objpfx)tst-setvbuf1-cmp.out): New rule.
8468 * string/Makefile [$(run-built-tests) = yes] (tests): Depend
8469 $(objpfx)tst-svc-cmp.out instead of $(objpfx)tst-svc.out.
8470 ($(objpfx)tst-svc.out): Remove rule.
8471 ($(objpfx)tst-svc-cmp.out): New rule.
8473 2014-02-13 Joseph Myers <joseph@codesourcery.com>
8475 * bits/mman.h [__USE_MISC]: Remove redundant conditionals.
8476 * ctype/ctype.h [__USE_MISC]: Likewise.
8477 * dirent/dirent.h [__USE_MISC]: Likewise.
8478 * grp/grp.h [__USE_MISC]: Likewise.
8479 * io/fcntl.h [__USE_MISC]: Likewise.
8480 * io/sys/stat.h [__USE_MISC]: Likewise.
8481 * libio/stdio.h [__USE_MISC]: Likewise.
8482 * posix/unistd.h [__USE_MISC]: Likewise.
8483 * pwd/pwd.h [__USE_MISC]: Likewise.
8484 * stdlib.h [__USE_MISC]: Likewise.
8485 * string/bits/string2.h [__USE_MISC]: Likewise.
8486 * string/string.h [__USE_MISC]: Likewise.
8487 * time/time.h [__USE_MISC]: Likewise.
8489 2014-02-13 Andreas Schwab <schwab@suse.de>
8492 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Free the
8493 second answer buffer if it was separately allocated.
8495 2014-02-12 Joseph Myers <joseph@codesourcery.com>
8497 * sysdeps/mips/math-tests.h: Include <features.h>.
8498 [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
8499 (ROUNDING_TESTS_long_double): Do not define.
8500 [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
8501 (EXCEPTION_TESTS_long_double): Likewise.
8502 * sysdeps/mips/mips64/libm-test-ulps: Update.
8504 * include/features.h (__USE_BSD): Remove macro definitions.
8505 (__USE_SVID): Likewise.
8506 (_BSD_SOURCE): Likewise.
8507 (_SVID_SOURCE): Likewise.
8508 [!defined _BSD_SOURCE && !defined _SVID_SOURCE]: Remove condition
8509 from definition of _DEFAULT_SOURCE.
8510 [_BSD_SOURCE || _SVID_SOURCE]: Change condition to
8512 * bits/fcntl.h [__USE_BSD]: Change condition to [__USE_MISC].
8513 * bits/mman.h [__USE_BSD]: Likewise.
8514 * bits/termios.h [__USE_BSD]: Likewise.
8515 * bits/waitstatus.h [__USE_BSD]: Likewise.
8516 * ctype/ctype.h [__USE_SVID]: Likewise.
8517 * dirent/dirent.h [__USE_BSD]: Likewise.
8518 * grp/grp.h [__USE_SVID]: Likewise.
8519 [__USE_BSD]: Likewise.
8520 * inet/netinet/igmp.h [__USE_BSD]: Likewise.
8521 * io/fcntl.h [__USE_BSD]: Likewise.
8522 * io/ftw.h [__USE_BSD]: Likewise.
8523 * io/sys/stat.h [__USE_BSD]: Likewise.
8524 * libio/bits/stdio-ldbl.h [__USE_BSD]: Likewise.
8525 * libio/bits/stdio2.h [__USE_BSD]: Likewise.
8526 * libio/stdio.h [__USE_SVID]: Likewise.
8527 [__USE_BSD]: Likewise.
8528 * math/math.h [__USE_SVID]: Likewise.
8529 [__USE_BSD]: Likewise.
8530 * misc/bits/syslog-ldbl.h [__USE_BSD]: Likewise.
8531 * misc/bits/syslog.h [__USE_BSD]: Likewise.
8532 * misc/search.h [__USE_SVID]: Likewise.
8533 * misc/sys/mman.h [__USE_BSD]: Likewise.
8534 * misc/sys/syslog.h [__USE_BSD]: Likewise.
8535 * misc/sys/uio.h [__USE_BSD]: Likewise.
8536 * posix/bits/unistd.h [__USE_BSD]: Likewise.
8537 * posix/glob.h [__USE_BSD]: Likewise.
8538 * posix/regex.h [__USE_BSD]: Likewise.
8539 * posix/sys/types.h [__USE_BSD]: Likewise.
8540 [__USE_SVID]: Likewise.
8541 * posix/sys/utsname.h [__USE_SVID]: Likewise.
8542 * posix/sys/wait.h [__USE_BSD]: Likewise.
8543 [__USE_SVID]: Likewise.
8544 * posix/unistd.h [__USE_BSD]: Likewise.
8545 [__USE_SVID]: Likewise.
8546 * pwd/pwd.h [__USE_SVID]: Likewise.
8547 * resolv/netdb.h [__USE_BSD]: Likewise.
8548 * setjmp/setjmp.h [__USE_BSD]: Likewise.
8549 * signal/signal.h [__USE_BSD]: Likewise.
8550 [__USE_SVID]: Likewise.
8551 * socket/sys/socket.h [__USE_BSD]: Likewise.
8552 * stdlib/fmtmsg.h [__USE_SVID]: Likewise.
8553 * stdlib/stdlib.h [__USE_BSD]: Likewise.
8554 [__USE_SVID]: Likewise.
8555 * string/bits/string2.h [__USE_BSD]: Likewise.
8556 [__USE_SVID]: Likewise.
8557 * string/bits/string3.h [__USE_BSD]: Likewise.
8558 * string/endian.h [__USE_BSD]: Likewise.
8559 * string/string.h [__USE_SVID]: Likewise.
8560 [__USE_BSD]: Likewise.
8561 * string/strings.h [__USE_BSD]: Likewise.
8562 * sysdeps/generic/netinet/ip.h [__USE_BSD]: Likewise.
8563 * sysdeps/gnu/netinet/ip_icmp.h [__USE_BSD]: Likewise.
8564 * sysdeps/mach/hurd/bits/fcntl.h [__USE_BSD]: Likewise.
8565 * sysdeps/mach/hurd/bits/stat.h [__USE_BSD]: Likewise.
8566 * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_BSD]: Likewise.
8567 * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_BSD]:
8569 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_BSD]:
8571 * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_BSD]: Likewise.
8572 * sysdeps/unix/sysv/linux/bits/sys_errlist.h [__USE_BSD]:
8574 * sysdeps/unix/sysv/linux/bits/termios.h [__USE_BSD]: Likewise.
8575 * sysdeps/unix/sysv/linux/mips/bits/termios.h [__USE_BSD]:
8577 * sysdeps/unix/sysv/linux/netinet/if_ether.h [__USE_BSD]:
8579 * sysdeps/unix/sysv/linux/netinet/if_fddi.h [__USE_BSD]: Likewise.
8580 * sysdeps/unix/sysv/linux/netinet/if_tr.h [__USE_BSD]: Likewise.
8581 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_BSD]:
8583 * sysdeps/unix/sysv/linux/sparc/bits/termios.h [__USE_BSD]:
8585 * sysdeps/x86/bits/string.h [__USE_BSD]: Likewise.
8586 * sysvipc/sys/ipc.h [__USE_SVID]: Likewise.
8587 * termios/termios.h [__USE_BSD]: Likewise.
8588 * time/sys/time.h [__USE_BSD]: Likewise.
8589 * time/time.h [__USE_BSD]: Likewise.
8590 [__USE_SVID]: Likewise.
8592 * Makefile (subdir_targets): Remove subdir_lint.out.
8594 * stdio-common/Makefile (do-tst-unbputc): Remove target.
8595 (do-tst-printf): Likewise.
8596 (tests): Depend directly on $(objpfx)tst-unbputc.out and
8597 $(objpfx)tst-printf.out.
8599 * io/ftwtest-sh (testout): Change to $tmp/ftwtest-tmp.out.
8601 * Makerules (check-abi-%): Change target to
8602 $(objpfx)check-abi-%.out.
8603 (check-abi target): Update dependencies.
8604 (check-abi-pattern variable): Redirect output of diff to $@.
8605 (check-abi variable): Likewise.
8606 * elf/Makefile (check-abi): Update dependencies.
8608 * soft-fp/op-common.h (_FP_DECL): Mark exponent as possibly
8610 (_FP_PACK_SEMIRAW): Determine tininess based on rounding shifted
8611 value if _FP_TININESS_AFTER_ROUNDING and unrounded value is in
8613 (_FP_PACK_CANONICAL): Determine tininess based on rounding to
8614 normal precision if _FP_TININESS_AFTER_ROUNDING and unrounded
8615 value has largest subnormal exponent.
8616 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS]
8617 (_FP_TININESS_AFTER_ROUNDING): Undefine and redefine to 0.
8618 * sysdeps/aarch64/soft-fp/sfp-machine.h
8619 (_FP_TININESS_AFTER_ROUNDING): New macro.
8620 * sysdeps/alpha/soft-fp/sfp-machine.h
8621 (_FP_TININESS_AFTER_ROUNDING): Likewise.
8622 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
8624 * sysdeps/mips/mips64/soft-fp/sfp-machine.h
8625 (_FP_TININESS_AFTER_ROUNDING): Likewise.
8626 * sysdeps/mips/soft-fp/sfp-machine.h
8627 (_FP_TININESS_AFTER_ROUNDING): Likewise.
8628 * sysdeps/powerpc/soft-fp/sfp-machine.h
8629 (_FP_TININESS_AFTER_ROUNDING): Likewise.
8630 * sysdeps/sh/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
8632 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
8633 (_FP_TININESS_AFTER_ROUNDING): Likewise.
8634 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
8635 (_FP_TININESS_AFTER_ROUNDING): Likewise.
8636 * sysdeps/tile/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
8639 2014-02-12 Dylan Alex Simon <dylan@dylex.net>
8642 * sysdeps/x86_64/fpu/libm-test-ulps: Update on AMD family 21h
8645 2014-02-12 Richard Henderson <rth@redhat.com>
8647 * sysdeps/alpha: Move directory from ports/sysdeps/alpha.
8648 * sysdeps/unix/alpha: Move directory from ports/sysdeps/unix/alpha.
8649 * sysdeps/unix/sysv/linux/alpha: Move directory from
8650 ports/sysdeps/unix/sysv/linux/alpha.
8651 * README: Update listing for alpha-*-linux-gnu.
8653 2014-02-11 Joseph Myers <joseph@codesourcery.com>
8655 * include/features.h: Update comment documenting feature test
8657 [_BSD_SOURCE || _SVID_SOURCE]: Give #warning. Define
8659 * manual/creature.texi (_BSD_SOURCE): Remove documentation.
8660 (_SVID_SOURCE): Likewise.
8661 (_DEFAULT_SOURCE): Update description of default features.
8662 (Feature Test Macros): Don't mention _SVID_SOURCE in conjunction
8664 * manual/filesys.texi (__ftw_func_t): Do not refer to _BSD_SOURCE.
8665 (S_ISVTX): Likewise.
8666 * manual/math.texi (Mathematical Constants): Likewise.
8667 * manual/signal.texi (Interrupted Primitives): Likewise.
8668 * manual/startup.texi (putenv): Do not refer to _SVID_SOURCE.
8669 * math/test-matherr.c (_SVID_SOURCE): Do not define.
8670 * sysvipc/sys/ipc.h [__USE_SVID && !__USE_XOPEN && __GNUC__ >= 2]:
8671 Don't refer to _SVID_SOURCE in warning text.
8673 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
8675 * elf/dl-lookup.c (ELF_MACHINE_SYM_NO_MATCH): Define if not
8677 (do_lookup_x): Use ELF_MACHINE_SYM_NO_MATCH.
8678 * sysdeps/mips/dl-lookup.c: Remove.
8679 * sysdeps/mips/dl-machine.h (ELF_MACHINE_SYM_NO_MATCH): New macro.
8681 2014-02-11 Stefan Liebler <stli@linux.vnet.ibm.com>
8684 * math/auto-libm-test-in: Add testcase for expl.
8685 * math/auto-libm-test-out: Regenerate.
8686 * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Fix
8687 calculation of unsafe.
8688 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for added testcase.
8690 2014-02-11 Marcus Shawcroft <marcus.shawcroft@arm.com>
8692 * sysdeps/aarch64: Move directory from ports/sysdeps/aarch64.
8693 * sysdeps/unix/sysv/linux/aarch64: Move directory from
8694 ports/sysdeps/unix/sysv/linux/aarch64.
8695 * README: Update listing for aarch64*-*-linux-gnu.
8697 2014-02-11 Will Newton <will.newton@linaro.org>
8699 * manual/probes.texi (Mathematical Function Probes): Use
8700 "triggered" instead of "hit".
8702 * manual/probes.texi (Internal Probes): Add documentation
8703 of setjmp, longjmp and longjmp_target probes.
8705 * include/stap-probe.h: Add comment about probe argument
8708 * malloc/mtrace.c (attribute_hidden): Remove unused macro
8709 definition. (tr_where, tr_freehook, tr_mallochook,
8710 tr_reallochook, tr_memalignhook): Use ANSI protoype.
8712 2014-02-11 David S. Miller <davem@davemloft.net>
8714 * stdio-common/tst-sscanf.c (main): Use 'long' for 'dummy' when
8715 processing int_tests.
8717 2014-02-10 Joseph Myers <joseph@codesourcery.com>
8719 * sysdeps/mips: Move directory from ports/sysdeps/mips.
8720 * sysdeps/unix/mips: Move directory from ports/sysdeps/unix/mips.
8721 * sysdeps/unix/sysv/linux/mips: Move directory from
8722 ports/sysdeps/unix/sysv/linux/mips.
8723 * README: Update listing for mips-*-linux-gnu and
8726 2014-02-10 Andreas Schwab <schwab@linux-m68k.org>
8728 * sysdeps/m68k: Move directory from ports/sysdeps/m68k.
8729 * sysdeps/unix/sysv/linux/m68k: Move directory from
8730 ports/sysdeps/unix/sysv/linux/m68k.
8731 * README: Update listing for m68k-*-linux-gnu.
8733 2014-02-10 Chris Metcalf <cmetcalf@tilera.com>
8735 * sysdeps/tile: Move directory from ports/sysdeps/tile.
8736 * sysdeps/unix/sysv/linux/generic: Move directory from
8737 ports/sysdeps/unix/sysv/linux/generic.
8738 * sysdeps/unix/sysv/linux/tile: Move directory from
8739 ports/sysdeps/unix/sysv/linux/tile.
8740 * README: Update listing for tile*-*-linux-gnu.
8742 2014-02-10 Ondřej Bílka <neleai@seznam.cz>
8744 * assert/assert.c (__assert_fail_base): Use glibc_likely instead
8746 * benchtests/bench-memmem.c (simple_memmem): Likewise.
8747 * catgets/open_catalog.c (__open_catalog): Likewise.
8748 * csu/libc-start.c (LIBC_START_MAIN): Likewise.
8749 * debug/confstr_chk.c: Likewise.
8750 * debug/fread_chk.c (__fread_chk): Likewise.
8751 * debug/fread_u_chk.c (__fread_unlocked_chk): Likewise.
8752 * debug/getgroups_chk.c: Likewise.
8753 * debug/mbsnrtowcs_chk.c: Likewise.
8754 * debug/mbsrtowcs_chk.c: Likewise.
8755 * debug/mbstowcs_chk.c: Likewise.
8756 * debug/memcpy_chk.c: Likewise.
8757 * debug/memmove_chk.c: Likewise.
8758 * debug/mempcpy_chk.c: Likewise.
8759 * debug/memset_chk.c: Likewise.
8760 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
8761 * debug/strcat_chk.c (__strcat_chk): Likewise.
8762 * debug/strcpy_chk.c (__strcpy_chk): Likewise.
8763 * debug/strncat_chk.c (__strncat_chk): Likewise.
8764 * debug/vsnprintf_chk.c (___vsnprintf_chk): Likewise.
8765 * debug/vswprintf_chk.c (__vswprintf_chk): Likewise.
8766 * debug/wcpcpy_chk.c (__wcpcpy_chk): Likewise.
8767 * debug/wcpncpy_chk.c: Likewise.
8768 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
8769 * debug/wcscpy_chk.c (__wcscpy_chk): Likewise.
8770 * debug/wcsncat_chk.c (__wcsncat_chk): Likewise.
8771 * debug/wcsncpy_chk.c: Likewise.
8772 * debug/wcsnrtombs_chk.c: Likewise.
8773 * debug/wcsrtombs_chk.c: Likewise.
8774 * debug/wcstombs_chk.c: Likewise.
8775 * debug/wmemcpy_chk.c: Likewise.
8776 * debug/wmemmove_chk.c: Likewise.
8777 * debug/wmempcpy_chk.c: Likewise.
8778 * debug/wmemset_chk.c: Likewise.
8779 * dirent/scandirat.c (SCANDIRAT): Likewise.
8780 * dlfcn/dladdr1.c (dladdr1): Likewise.
8781 * dlfcn/dladdr.c (dladdr): Likewise.
8782 * dlfcn/dlclose.c (dlclose_doit): Likewise.
8783 * dlfcn/dlerror.c (__dlerror): Likewise.
8784 * dlfcn/dlinfo.c (dlinfo_doit): Likewise.
8785 * dlfcn/dlmopen.c (dlmopen_doit): Likewise.
8786 * dlfcn/dlopen.c (dlopen_doit): Likewise.
8787 * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
8788 * dlfcn/dlsym.c (dlsym_doit): Likewise.
8789 * dlfcn/dlvsym.c (dlvsym_doit): Likewise.
8790 * elf/dl-cache.c (_dl_load_cache_lookup): Likewise.
8791 * elf/dl-close.c (remove_slotinfo, _dl_close_worker, _dl_close):
8793 * elf/dl-conflict.c: Likewise.
8794 * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
8795 * elf/dl-dst.h: Likewise.
8796 * elf/dl-fini.c (_dl_sort_fini, _dl_fini): Likewise.
8797 * elf/dl-fptr.c (_dl_make_fptr): Likewise.
8798 * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
8799 * elf/dl-init.c (call_init, _dl_init): Likewise.
8800 * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym): Likewise.
8801 * elf/dl-load.c (_dl_dst_substitute, fillin_rpath, _dl_init_paths)
8802 (_dl_map_object_from_fd, open_verify, open_path, _dl_map_object):
8804 * elf/dl-lookup.c (do_lookup_x, add_dependency, _dl_lookup_symbol_x):
8806 * elf/dl-minimal.c (__libc_memalign): Likewise.
8807 * elf/dl-open.c (add_to_global, dl_open_worker, _dl_open): Likewise.
8808 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
8809 * elf/dl-runtime.c (_dl_fixup, _dl_profile_fixup): Likewise.
8810 * elf/dl-sym.c (do_sym): Likewise.
8811 * elf/dl-tls.c (tls_get_addr_tail, update_get_addr)
8812 (__tls_get_addr, _dl_tls_get_addr_soft): Likewise.
8813 * elf/dl-version.c (match_symbol, _dl_check_map_versions): Likewise.
8814 * elf/dl-writev.h (_dl_writev): Likewise.
8815 * elf/ldconfig.c (search_dir): Likewise.
8816 * elf/rtld.c (_dl_start_final, _dl_start, init_tls, do_preload)
8817 (dl_main): Likewise.
8818 * elf/setup-vdso.h (setup_vdso): Likewise.
8819 * grp/compat-initgroups.c (compat_call): Likewise.
8820 * grp/fgetgrent.c (fgetgrent): Likewise.
8821 * grp/initgroups.c (getgrouplist, initgroups): Likewise.
8822 * grp/putgrent.c (putgrent): Likewise.
8823 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
8825 * hurd/hurdinit.c: Likewise.
8826 * iconvdata/8bit-gap.c (struct): Likewise.
8827 * iconvdata/ansi_x3.110.c : Likewise.
8828 * iconvdata/big5.c : Likewise.
8829 * iconvdata/big5hkscs.c : Likewise.
8830 * iconvdata/cp1255.c: Likewise.
8831 * iconvdata/cp1258.c : Likewise.
8832 * iconvdata/cp932.c : Likewise.
8833 * iconvdata/euc-cn.c: Likewise.
8834 * iconvdata/euc-jisx0213.c : Likewise.
8835 * iconvdata/euc-jp.c: Likewise.
8836 * iconvdata/euc-jp-ms.c : Likewise.
8837 * iconvdata/euc-kr.c (euckr_from_ucs4): Likewise.
8838 * iconvdata/gb18030.c : Likewise.
8839 * iconvdata/gbbig5.c (const): Likewise.
8840 * iconvdata/gbgbk.c: Likewise.
8841 * iconvdata/gbk.c : Likewise.
8842 * iconvdata/ibm1364.c : Likewise.
8843 * iconvdata/ibm930.c : Likewise.
8844 * iconvdata/ibm932.c: Likewise.
8845 * iconvdata/ibm933.c : Likewise.
8846 * iconvdata/ibm935.c : Likewise.
8847 * iconvdata/ibm937.c : Likewise.
8848 * iconvdata/ibm939.c : Likewise.
8849 * iconvdata/ibm943.c: Likewise.
8850 * iconvdata/iso_11548-1.c: Likewise.
8851 * iconvdata/iso-2022-cn.c : Likewise.
8852 * iconvdata/iso-2022-cn-ext.c : Likewise.
8853 * iconvdata/iso-2022-jp-3.c: Likewise.
8854 * iconvdata/iso-2022-jp.c (gconv_end): Likewise.
8855 * iconvdata/iso-2022-kr.c : Likewise.
8856 * iconvdata/iso646.c (gconv_end): Likewise.
8857 * iconvdata/iso_6937-2.c : Likewise.
8858 * iconvdata/iso_6937.c : Likewise.
8859 * iconvdata/iso8859-1.c: Likewise.
8860 * iconvdata/johab.c (johab_sym_hanja_to_ucs): Likewise.
8861 * iconvdata/shift_jisx0213.c : Likewise.
8862 * iconvdata/sjis.c : Likewise.
8863 * iconvdata/t.61.c : Likewise.
8864 * iconvdata/tcvn5712-1.c : Likewise.
8865 * iconvdata/tscii.c: Likewise.
8866 * iconvdata/uhc.c : Likewise.
8867 * iconvdata/unicode.c (gconv_end): Likewise.
8868 * iconvdata/utf-16.c (gconv_end): Likewise.
8869 * iconvdata/utf-32.c (gconv_end): Likewise.
8870 * iconvdata/utf-7.c (base64): Likewise.
8871 * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
8872 * iconv/gconv_close.c (__gconv_close): Likewise.
8873 * iconv/gconv_open.c (__gconv_open): Likewise.
8874 * iconv/gconv_simple.c (internal_ucs4_loop_single)
8875 (ucs4_internal_loop, ucs4_internal_loop_unaligned)
8876 (ucs4_internal_loop_single, internal_ucs4le_loop_single)
8877 (ucs4le_internal_loop, ucs4le_internal_loop_unaligned)
8878 (ucs4le_internal_loop_single): Likewise.
8879 * iconv/iconv.c (iconv): Likewise.
8880 * iconv/iconv_close.c: Likewise.
8881 * iconv/loop.c (SINGLE): Likewise.
8882 * iconv/skeleton.c (FUNCTION_NAME): Likewise.
8883 * include/atomic.h: Likewise.
8884 * inet/inet6_option.c (option_alloc): Likewise.
8885 * intl/bindtextdom.c (set_binding_values): Likewise.
8886 * intl/dcigettext.c (DCIGETTEXT, _nl_find_msg): Likewise.
8887 * intl/loadmsgcat.c (_nl_load_domain): Likewise.
8888 * intl/localealias.c (read_alias_file): Likewise.
8889 * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
8890 * libio/fileops.c (_IO_file_open, _IO_file_underflow_mmap)
8891 (_IO_new_file_overflow, _IO_file_xsgetn_mmap): Likewise.
8892 * libio/fmemopen.c (fmemopen): Likewise.
8893 * libio/iofgets.c (_IO_fgets): Likewise.
8894 * libio/iofgets_u.c (fgets_unlocked): Likewise.
8895 * libio/iofgetws.c (fgetws): Likewise.
8896 * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
8897 * libio/iogetdelim.c (_IO_getdelim): Likewise.
8898 * libio/wfileops.c (_IO_wfile_underflow, _IO_wfile_underflow_mmap)
8899 (adjust_wide_data, _IO_wfile_seekoff): Likewise.
8900 * locale/findlocale.c (_nl_find_locale): Likewise.
8901 * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
8902 * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale):
8904 * locale/setlocale.c (setlocale): Likewise.
8905 * login/programs/pt_chown.c (main): Likewise.
8906 * malloc/arena.c (ptmalloc_init, shrink_heap, arena_get2): Likewise.
8907 * malloc/malloc.c (_int_malloc, _int_free): Likewise.
8908 * malloc/memusage.c (update_data, malloc, realloc, calloc, free)
8909 (mmap, mmap64, mremap, munmap): Likewise.
8910 * math/e_exp2l.c: Likewise.
8911 * math/e_scalb.c (invalid_fn, __ieee754_scalb): Likewise.
8912 * math/e_scalbf.c (invalid_fn, __ieee754_scalbf): Likewise.
8913 * math/e_scalbl.c (invalid_fn, __ieee754_scalbl): Likewise.
8914 * math/s_catan.c (__catan): Likewise.
8915 * math/s_catanf.c (__catanf): Likewise.
8916 * math/s_catanh.c (__catanh): Likewise.
8917 * math/s_catanhf.c (__catanhf): Likewise.
8918 * math/s_catanhl.c (__catanhl): Likewise.
8919 * math/s_catanl.c (__catanl): Likewise.
8920 * math/s_ccosh.c (__ccosh): Likewise.
8921 * math/s_ccoshf.c (__ccoshf): Likewise.
8922 * math/s_ccoshl.c (__ccoshl): Likewise.
8923 * math/s_cexp.c (__cexp): Likewise.
8924 * math/s_cexpf.c (__cexpf): Likewise.
8925 * math/s_cexpl.c (__cexpl): Likewise.
8926 * math/s_clog10.c (__clog10): Likewise.
8927 * math/s_clog10f.c (__clog10f): Likewise.
8928 * math/s_clog10l.c (__clog10l): Likewise.
8929 * math/s_clog.c (__clog): Likewise.
8930 * math/s_clogf.c (__clogf): Likewise.
8931 * math/s_clogl.c (__clogl): Likewise.
8932 * math/s_csin.c (__csin): Likewise.
8933 * math/s_csinf.c (__csinf): Likewise.
8934 * math/s_csinh.c (__csinh): Likewise.
8935 * math/s_csinhf.c (__csinhf): Likewise.
8936 * math/s_csinhl.c (__csinhl): Likewise.
8937 * math/s_csinl.c (__csinl): Likewise.
8938 * math/s_csqrt.c (__csqrt): Likewise.
8939 * math/s_csqrtf.c (__csqrtf): Likewise.
8940 * math/s_csqrtl.c (__csqrtl): Likewise.
8941 * math/s_ctan.c (__ctan): Likewise.
8942 * math/s_ctanf.c (__ctanf): Likewise.
8943 * math/s_ctanh.c (__ctanh): Likewise.
8944 * math/s_ctanhf.c (__ctanhf): Likewise.
8945 * math/s_ctanhl.c (__ctanhl): Likewise.
8946 * math/s_ctanl.c (__ctanl): Likewise.
8947 * math/w_pow.c: Likewise.
8948 * math/w_powf.c: Likewise.
8949 * math/w_powl.c: Likewise.
8950 * math/w_scalb.c (sysv_scalb): Likewise.
8951 * math/w_scalbf.c (sysv_scalbf): Likewise.
8952 * math/w_scalbl.c (sysv_scalbl): Likewise.
8953 * misc/error.c (error_tail): Likewise.
8954 * misc/pselect.c (__pselect): Likewise.
8955 * nis/nis_callback.c (__nis_create_callback): Likewise.
8956 * nis/nis_call.c (__nisfind_server): Likewise.
8957 * nis/nis_creategroup.c (nis_creategroup): Likewise.
8958 * nis/nis_domain_of_r.c (nis_domain_of_r): Likewise.
8959 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
8960 * nis/nis_getservlist.c (nis_getservlist): Likewise.
8961 * nis/nis_lookup.c (nis_lookup): Likewise.
8962 * nis/nis_subr.c (nis_leaf_of_r, nis_getnames): Likewise.
8963 * nis/nis_table.c (__create_ib_request, nis_list, nis_add_entry)
8964 (nis_modify_entry, nis_first_entry, nis_next_entry): Likewise.
8965 * nis/nis_xdr.c (xdr_endpoint): Likewise.
8966 * nis/nss_compat/compat-grp.c (getgrent_next_file)
8967 (internal_getgrnam_r, internal_getgrgid_r): Likewise.
8968 * nis/nss_compat/compat-initgroups.c (add_group)
8969 (internal_getgrent_r): Likewise.
8970 * nis/nss_compat/compat-pwd.c (getpwent_next_file)
8971 (internal_getpwnam_r, internal_getpwuid_r): Likewise.
8972 * nis/nss_compat/compat-spwd.c (getspent_next_file)
8973 (internal_getspnam_r): Likewise.
8974 * nis/nss_nis/nis-alias.c (internal_nis_getaliasent_r)
8975 (_nss_nis_getaliasbyname_r): Likewise.
8976 * nis/nss_nis/nis-ethers.c (_nss_nis_gethostton_r)
8977 (_nss_nis_getntohost_r): Likewise.
8978 * nis/nss_nis/nis-grp.c (internal_nis_setgrent)
8979 (internal_nis_getgrent_r, _nss_nis_getgrnam_r)
8980 (_nss_nis_getgrgid_r): Likewise.
8981 * nis/nss_nis/nis-hosts.c (_nss_nis_sethostent)
8982 (internal_nis_gethostent_r, internal_gethostbyname2_r)
8983 (_nss_nis_gethostbyname_r, _nss_nis_gethostbyaddr_r)
8984 (_nss_nis_gethostbyname4_r): Likewise.
8985 * nis/nss_nis/nis-initgroups.c (internal_getgrent_r)
8986 (initgroups_netid): Likewise.
8987 * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Likewise.
8988 * nis/nss_nis/nis-network.c (internal_nis_getnetent_r)
8989 (_nss_nis_getnetbyname_r, _nss_nis_getnetbyaddr_r): Likewise.
8990 * nis/nss_nis/nis-proto.c (_nss_nis_getprotobyname_r)
8991 (_nss_nis_getprotobynumber_r): Likewise.
8992 * nis/nss_nis/nis-publickey.c (_nss_nis_getpublickey)
8993 (_nss_nis_getsecretkey): Likewise.
8994 * nis/nss_nis/nis-pwd.c (_nis_saveit, internal_nis_setpwent)
8995 (internal_nis_getpwent_r, _nss_nis_getpwnam_r)
8996 (_nss_nis_getpwuid_r): Likewise.
8997 * nis/nss_nis/nis-rpc.c (internal_nis_getrpcent_r)
8998 (_nss_nis_getrpcbyname_r, _nss_nis_getrpcbynumber_r): Likewise.
8999 * nis/nss_nis/nis-service.c (dosearch, internal_nis_getservent_r)
9000 (_nss_nis_getservbyname_r, _nss_nis_getservbyport_r): Likewise.
9001 * nis/nss_nis/nis-spwd.c (_nss_nis_setspent)
9002 (internal_nis_getspent_r, _nss_nis_getspnam_r): Likewise.
9003 * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_getaliasbyname_r):
9005 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_gethostton_r)
9006 (_nss_nisplus_getntohost_r): Likewise.
9007 * nis/nss_nisplus/nisplus-grp.c (internal_nisplus_getgrent_r)
9008 (_nss_nisplus_getgrnam_r, _nss_nisplus_getgrgid_r): Likewise.
9009 * nis/nss_nisplus/nisplus-hosts.c (internal_gethostbyname2_r)
9010 (_nss_nisplus_gethostbyaddr_r, _nss_nisplus_gethostbyname4_r):
9012 * nis/nss_nisplus/nisplus-initgroups.c
9013 (_nss_nisplus_initgroups_dyn): Likewise.
9014 * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_getnetbyname_r)
9015 (_nss_nisplus_getnetbyaddr_r): Likewise.
9016 * nis/nss_nisplus/nisplus-proto.c (_nss_nisplus_getprotobyname_r)
9017 (_nss_nisplus_getprotobynumber_r): Likewise.
9018 * nis/nss_nisplus/nisplus-pwd.c (internal_nisplus_getpwent_r)
9019 (_nss_nisplus_getpwnam_r, _nss_nisplus_getpwuid_r): Likewise.
9020 * nis/nss_nisplus/nisplus-rpc.c (_nss_nisplus_getrpcbyname_r):
9022 * nis/nss_nisplus/nisplus-service.c
9023 (internal_nisplus_getservent_r, _nss_nisplus_getservbyname_r)
9024 (_nss_nisplus_getservbyport_r): Likewise.
9025 * nis/nss_nisplus/nisplus-spwd.c (internal_nisplus_getspent_r)
9026 (_nss_nisplus_getspnam_r): Likewise.
9027 * nis/ypclnt.c (__yp_bind, yp_match, yp_all, yp_maplist):
9029 * nscd/aicache.c (addhstaiX): Likewise.
9030 * nscd/cache.c (cache_search, prune_cache): Likewise.
9031 * nscd/connections.c (register_traced_file, send_ro_fd)
9032 (handle_request, nscd_run_prune, nscd_run_worker, fd_ready)
9033 (main_loop_epoll): Likewise.
9034 * nscd/grpcache.c (addgrbyX): Likewise.
9035 * nscd/hstcache.c (addhstbyX): Likewise.
9036 * nscd/initgrcache.c (addinitgroupsX): Likewise.
9037 * nscd/mem.c (gc, mempool_alloc): Likewise.
9038 * nscd/netgroupcache.c (do_notfound, addgetnetgrentX)
9039 (addinnetgrX): Likewise.
9040 * nscd/nscd-client.h (__nscd_acquire_maplock)
9041 (__nscd_drop_map_ref): Likewise.
9042 * nscd/nscd_getai.c (__nscd_getai): Likewise.
9043 * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
9044 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp, nscd_gethst_r):
9046 * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
9047 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
9048 * nscd/nscd_helper.c (__readvall, open_socket, __nscd_get_mapping)
9049 (__nscd_get_map_ref): Likewise.
9050 * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
9051 * nscd/nscd_netgroup.c (__nscd_setnetgrent, __nscd_innetgr):
9053 * nscd/pwdcache.c (addpwbyX): Likewise.
9054 * nscd/selinux.c (preserve_capabilities): Likewise.
9055 * nscd/servicescache.c (addservbyX): Likewise.
9056 * nss/nss_files/files-XXX.c (internal_getent): Likewise.
9057 * posix/fnmatch.c (fnmatch): Likewise.
9058 * posix/getopt.c (_getopt_internal_r): Likewise.
9059 * posix/glob.c (glob, glob_in_dir): Likewise.
9060 * posix/wordexp.c (exec_comm_child): Likewise.
9061 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r)
9062 (getanswer_r, gaih_getanswer_slice): Likewise.
9063 * resolv/nss_dns/dns-network.c (getanswer_r): Likewise.
9064 * resolv/res_init.c: Likewise.
9065 * resolv/res_mkquery.c (res_nmkquery): Likewise.
9066 * resolv/res_query.c (__libc_res_nquery): Likewise.
9067 * resolv/res_send.c (__libc_res_nsend, send_vc, reopen, send_dg):
9069 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Likewise.
9070 * stdio-common/perror.c (perror): Likewise.
9071 * stdio-common/printf_fp.c (___printf_fp): Likewise.
9072 * stdio-common/tmpnam.c (tmpnam): Likewise.
9073 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
9074 * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
9075 * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
9077 * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
9078 * stdlib/putenv.c (putenv): Likewise.
9079 * stdlib/setenv.c (__add_to_environ): Likewise.
9080 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
9081 * stdlib/strtol_l.c (INTERNAL): Likewise.
9082 * string/memmem.c (memmem): Likewise.
9083 * string/strerror.c (strerror): Likewise.
9084 * string/strnlen.c (__strnlen): Likewise.
9085 * string/test-memmem.c (simple_memmem): Likewise.
9086 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Likewise.
9087 * sunrpc/pm_getport.c (__get_socket): Likewise.
9088 * sysdeps/gnu/unwind-resume.c (init, _Unwind_Resume): Likewise.
9089 * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
9090 * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup)
9091 (elf_machine_rel, elf_machine_lazy_rel, elf_machine_lazy_rela):
9093 * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
9094 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
9095 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
9096 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Likewise.
9097 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
9098 * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1, __ieee754_y1):
9100 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn, __ieee754_yn):
9102 * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
9103 * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
9104 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
9105 * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
9106 * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
9107 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Likewise.
9108 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
9109 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Likewise.
9110 * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
9111 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
9112 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
9113 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
9115 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10):
9117 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2):
9119 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp): Likewise.
9120 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
9121 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo): Likewise.
9122 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (__round): Likewise.
9123 * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
9124 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r): Likewise.
9125 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
9126 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Likewise.
9127 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_nearbyint): Likewise.
9128 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Likewise.
9129 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c (__llroundl): Likewise.
9130 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
9131 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
9132 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
9133 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
9134 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
9136 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l, __ieee754_y0l):
9138 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l, __ieee754_y1l):
9140 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl, __ieee754_ynl):
9142 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
9143 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
9144 * sysdeps/posix/clock_getres.c (hp_timing_getres, realtime_getres):
9146 * sysdeps/posix/fdopendir.c (__fdopendir): Likewise.
9147 * sysdeps/posix/getaddrinfo.c (gaih_inet, getaddrinfo): Likewise.
9148 * sysdeps/posix/opendir.c (__opendirat): Likewise.
9149 * sysdeps/posix/sleep.c: Likewise.
9150 * sysdeps/posix/tempname.c: Likewise.
9151 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irela): Likewise.
9152 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
9154 * sysdeps/powerpc/powerpc32/dl-machine.h
9155 (elf_machine_runtime_setup, elf_machine_rela): Likewise.
9156 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
9157 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
9158 * sysdeps/pthread/aio_notify.c (__aio_notify_only): Likewise.
9159 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait, aio_suspend):
9161 * sysdeps/s390/dl-irel.h (elf_irela): Likewise.
9162 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup)
9163 (elf_machine_rela, elf_machine_lazy_rel): Likewise.
9164 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_runtime_setup)
9165 (elf_machine_rela, elf_machine_lazy_rel): Likewise.
9166 * sysdeps/s390/s390-64/utf16-utf32-z9.c (gconv_end): Likewise.
9167 * sysdeps/s390/s390-64/utf8-utf16-z9.c (gconv_end): Likewise.
9168 * sysdeps/s390/s390-64/utf8-utf32-z9.c (gconv_end): Likewise.
9169 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
9170 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Likewise.
9171 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela)
9172 (elf_machine_lazy_rel): Likewise.
9173 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
9174 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela)
9175 (elf_machine_lazy_rel): Likewise.
9176 * sysdeps/sparc/sparc64/dl-plt.h (sparc64_fixup_plt): Likewise.
9177 * sysdeps/unix/clock_gettime.c (hp_timing_gettime): Likewise.
9178 * sysdeps/unix/clock_settime.c (hp_timing_settime): Likewise.
9179 * sysdeps/unix/grantpt.c (grantpt): Likewise.
9180 * sysdeps/unix/sysv/linux/accept4.c (accept4): Likewise.
9181 * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Likewise.
9182 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
9183 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
9185 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
9186 * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
9187 * sysdeps/unix/sysv/linux/fchownat.c (fchownat): Likewise.
9188 * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Likewise.
9189 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
9190 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
9191 * sysdeps/unix/sysv/linux/i386/fallocate64.c (fallocate64): Likewise.
9192 * sysdeps/unix/sysv/linux/i386/fallocate.c (fallocate): Likewise.
9193 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Likewise.
9194 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
9195 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
9197 * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c
9198 (__posix_fallocate64_l64): Likewise.
9199 * sysdeps/unix/sysv/linux/i386/posix_fallocate.c
9200 (posix_fallocate): Likewise.
9201 * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
9203 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
9204 * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request)
9205 (getifaddrs_internal): Likewise.
9206 * sysdeps/unix/sysv/linux/linkat.c (linkat): Likewise.
9207 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Likewise.
9208 * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
9209 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
9210 * sysdeps/unix/sysv/linux/posix_fallocate64.c
9211 (__posix_fallocate64_l64): Likewise.
9212 * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
9214 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat): Likewise.
9215 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c
9216 (__get_clockfreq): Likewise.
9217 * sysdeps/unix/sysv/linux/readlinkat.c (readlinkat): Likewise.
9218 * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
9219 * sysdeps/unix/sysv/linux/renameat.c (renameat): Likewise.
9220 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
9221 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
9222 * sysdeps/unix/sysv/linux/sched_setaffinity.c: Likewise.
9223 * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
9224 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs, shm_open):
9226 * sysdeps/unix/sysv/linux/sleep.c (__sleep): Likewise.
9227 * sysdeps/unix/sysv/linux/symlinkat.c (symlinkat): Likewise.
9228 * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
9229 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Likewise.
9230 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
9231 * sysdeps/unix/sysv/linux/unlinkat.c (unlinkat): Likewise.
9232 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c (__fxstatat):
9234 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
9235 (posix_fallocate): Likewise.
9236 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
9237 * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
9238 * sysdeps/x86_64/dl-irel.h (elf_irela): Likewise.
9239 * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup)
9240 (elf_machine_rela, elf_machine_rela_relative)
9241 (elf_machine_lazy_rel): Likewise.
9242 * time/asctime.c (asctime_internal): Likewise.
9243 * time/tzfile.c (__tzfile_read, __tzfile_compute): Likewise.
9244 * time/tzset.c (__tzset_parse_tz): Likewise.
9245 * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
9246 * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
9247 * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Likewise.
9248 * wcsmbs/wcsmbsload.h: Likewise.
9251 * stdlib/setenv.c (__add_to_environ): Remove duplicate code.
9253 * malloc/arena.c (grow_heap, get_free_list, reused_arena)
9254 (arena_get2): Remove THREAD_STATS conditionals.
9255 * malloc/malloc.c (__malloc_assert, __libc_realloc, _int_free)
9256 (__malloc_stats, int): Likewise.
9258 2014-02-08 Mike Frysinger <vapier@gentoo.org>
9260 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Compare
9261 f.f_type to RAMFS_MAGIC too. Compare mp->mnt_type to shm too.
9263 * manual/setjmp.texi: Fix typos/grammar errors.
9265 * debug/tst-backtrace4.c (handle_signal): Add NUM_FUNCTIONS to output.
9266 Only return early when n is <= 0. Delete unused return statement.
9268 * debug/Makefile (CFLAGS-tst-longjmp_chk3.c): Define.
9269 (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
9270 * debug/tst-longjmp_chk3.c: New file.
9272 * benchtests/bench-strcpy_chk.c: Move test-skeleton.c to top.
9273 (test_main): Replace code with set_fortify_handler call.
9274 * debug/test-strcpy_chk.c: Likewise.
9275 * debug/tst-chk1.c: Likewise.
9276 * debug/tst-longjmp_chk.c: Likewise.
9277 * test-skeleton.c: Include fcntl.h & paths.h
9278 (set_fortify_handler): Define.
9280 * debug/tst-longjmp_chk.c: Add header comment and include
9282 (do_test): Mark static.
9283 (TEST_FUNCTION): Define.
9285 * sysdeps/unix/sysv/linux/bits/in.h (IP_NODEFRAG): Define.
9286 (IP_PMTUDISC_INTERFACE): Likewise.
9287 (IP_MULTICAST_IF): Likewise.
9288 (IP_MULTICAST_TTL): Likewise.
9289 (IP_MULTICAST_LOOP): Likewise.
9290 (IP_ADD_MEMBERSHIP): Likewise.
9291 (IP_DROP_MEMBERSHIP): Likewise.
9292 (IP_UNBLOCK_SOURCE): Likewise.
9293 (IP_BLOCK_SOURCE): Likewise.
9294 (IP_ADD_SOURCE_MEMBERSHIP): Likewise.
9295 (IP_DROP_SOURCE_MEMBERSHIP): Likewise.
9296 (IP_MSFILTER): Likewise.
9297 (MCAST_JOIN_GROUP): Likewise.
9298 (MCAST_BLOCK_SOURCE): Likewise.
9299 (MCAST_UNBLOCK_SOURCE): Likewise.
9300 (MCAST_LEAVE_GROUP): Likewise.
9301 (MCAST_JOIN_SOURCE_GROUP): Likewise.
9302 (MCAST_LEAVE_SOURCE_GROUP): Likewise.
9303 (MCAST_MSFILTER): Likewise.
9304 (IP_MULTICAST_ALL): Likewise.
9305 (IP_UNICAST_IF): Likewise.
9307 * timezone/Makefile: Delete $(have-ksh) check.
9308 ($(objpfx)tzselect): Change $(KSH) to $(BASH).
9309 * timezone/tzselect.ksh: Add +x mode bits.
9311 * sysdeps/unix/sysv/linux/linux_fsinfo.h (AFS_SUPER_MAGIC): Define.
9312 (ANON_INODE_FS_MAGIC): Likewise.
9313 (BDEVFS_MAGIC): Likewise.
9314 (BINFMTFS_MAGIC): Likewise.
9315 (BTRFS_TEST_MAGIC): Likewise.
9316 (CRAMFS_MAGIC_WEND): Likewise.
9317 (DEBUGFS_MAGIC): Likewise.
9318 (ECRYPTFS_SUPER_MAGIC): Likewise.
9319 (EXT3_SUPER_MAGIC): Likewise.
9320 (EXT4_SUPER_MAGIC): Likewise.
9321 (FUTEXFS_SUPER_MAGIC): Likewise.
9322 (HOSTFS_SUPER_MAGIC): Likewise.
9323 (HUGETLBFS_MAGIC): Likewise.
9324 (MINIX3_SUPER_MAGIC): Likewise.
9325 (MTD_INODE_FS_MAGIC): Likewise.
9326 (NILFS_SUPER_MAGIC): Likewise.
9327 (OPENPROM_SUPER_MAGIC): Likewise.
9328 (PIPEFS_MAGIC): Likewise.
9329 (PSTOREFS_MAGIC): Likewise.
9330 (QNX6_SUPER_MAGIC): Likewise.
9331 (RAMFS_MAGIC): Likewise.
9332 (REISERFS_SUPER_MAGIC_STRING): Likewise.
9333 (REISER2FS_SUPER_MAGIC_STRING): Likewise.
9334 (REISER2FS_JR_SUPER_MAGIC_STRING): Likewise.
9335 (SECURITYFS_MAGIC): Likewise.
9336 (SELINUX_MAGIC): Likewise.
9337 (SMACK_MAGIC): Likewise.
9338 (SOCKFS_MAGIC): Likewise.
9339 (SQUASHFS_MAGIC): Likewise.
9340 (STACK_END_MAGIC): Likewise.
9341 (TMPFS_MAGIC): Likewise.
9342 (USBDEVICE_SUPER_MAGIC): Likewise.
9343 (V9FS_MAGIC): Likewise.
9344 (XENFS_SUPER_MAGIC): Likewise.
9345 (CRAMFS_MAGIC): Fix typo in comment.
9346 (EXT2_SUPER_MAGIC): Update comment.
9347 (USBDEVFS_SUPER_MAGIC): Fix sorting order by moving further down.
9349 2014-02-08 Joseph Myers <joseph@codesourcery.com>
9351 * sysdeps/arm: Move directory from ports/sysdeps/arm.
9352 * sysdeps/unix/arm: Move directory from ports/sysdeps/unix/arm.
9353 * sysdeps/unix/sysv/linux/arm: Move directory from
9354 ports/sysdeps/unix/sysv/linux/arm.
9355 * README: Update listing for arm-*-linux-gnueabi.
9357 * README: Remove mention of am33.
9359 2014-02-07 Roland McGrath <roland@hack.frob.com>
9361 * bits/sigset.h (__sigemptyset): Use a statement expression rather
9362 than the comma operator, to avoid "rhs of comma has no effect"
9364 (__sigfillset, __sigandset, __sigorset): Likewise.
9365 * include/signal.h (__sigemptyset): Likewise.
9366 * sysdeps/generic/malloc-machine.h (mutex_lock): Likewise.
9368 2014-02-07 Allan McRae <allan@archlinux.org>
9370 * version.h (RELEASE): Set to "development".
9371 (VERSION): Set to "2.19.90"
9372 * NEWS: Add 2.20 section.
9374 2014-02-06 Carlos O'Donell <carlos@redhat.com>
9377 * inet/netinet/in.h: Remove comma after IPPROTO_MH.
9379 2014-02-06 Siddhesh Poyarekar <siddhesh@redhat.com>
9381 * manual/contrib.texi: Update entry for Carlos O'Donell,
9382 Joseph Myers, Roland McGrath, Alexandre Oliva and Ryan Arnold.
9384 2014-02-05 Carlos O'Donell <carlos@rehdat.com>
9386 * sysdeps/unix/sysv/linux/kernel-features.h: Fix comment.
9388 * sysdeps/unix/sysv/linux/kernel-features.h
9389 [__LINUX_KERNEL_VERSION >= 0x020621]
9390 (__ASSUME_PROC_PID_TASK_COMM): Define.
9392 2014-02-05 Siddhesh Poyarekar <siddhesh@redhat.com>
9395 * libio/wfileops.c (_IO_wfile_seekoff): Break out form
9396 conversion when destination buffer does not have enough space.
9397 * libio/tst-ftell-partial-wide.c: New test case.
9398 * libio/Makefile (tests): Add tst-ftell-partial-wide.
9400 * manual/contrib.texi: Update entry for Ondrej Bilka, Will
9401 Newton and Alexandre Oliva. Add entries for Steve Ellcey, Chris
9402 Leonard and Allan McRae.
9404 2014-02-04 David S. Miller <davem@davemloft.net>
9406 * sysdeps/sparc/fpu/libm-test-ulps: Update for some 64-bit differences from
9409 2014-02-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9411 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
9413 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
9415 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
9417 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
9419 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
9421 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
9423 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
9425 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
9427 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
9429 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
9431 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
9433 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
9435 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
9438 2014-02-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9440 * nptl/shlib-versions: Change powerpc*le start to 2.17.
9441 * shlib-versions: Likewise.
9443 2014-02-04 Roland McGrath <roland@hack.frob.com>
9444 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9446 * sysdeps/powerpc/Makefile [$(config-machine) ends with 'le']
9447 (abilist-pattern): New variable, set to %-le.abilist.
9449 * Makerules (abilist-pattern): New variable.
9450 (vpath): Use $(abilist-pattern) in place of %.abilist.
9451 (check-abi-% pattern rule): Likewise.
9452 (check-abi, update-abi): Likewise.
9454 2014-02-04 Eric Wong <normalperson@yhbt.net>
9456 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
9458 2014-02-03 Carlos O'Donell <carlos@redhat.com>
9460 * manual/startup.texi: Add next, previous, and top entries for
9461 the `Program Arguments' and `Environment Variables' nodes.
9463 2014-02-03 Alexandre Oliva <aoliva@redhat.com>
9465 * manual/macros.texi: Add comments before MTASC-safety macros.
9467 * manual/users.texi: Document MTASC-safety properties.
9469 * manual/threads.texi (pthread_key_create, pthread_key_delete)
9470 (pthread_getspecific, pthread_setspecific): Format with
9471 @deftypefun, and add @safety note.
9472 * manual/signal.texi: Move comments that analyze the above
9473 functions to their home place.
9475 2014-02-03 Allan McRae <allan@archlinux.org>
9477 * po/sl.po: Update Slovenian translation from translation project.
9479 2014-02-02 Alexandre Oliva <aoliva@redhat.com>
9481 * manual/time.texi (timegm): Add missing blank after @c.
9482 Reported by Joseph Myers <joseph@codesourcery.com>.
9484 2014-02-01 Alexandre Oliva <aoliva@redhat.com>
9486 * manual/check-safety.sh: New.
9487 * manual/Makefile ($(objpfx)stamp-summary): Run it.
9489 * manual/terminal.texi: Document MTASC-safety properties.
9491 * manual/filesys.texi: Document MTASC-safety properties.
9493 * manual/errno.texi: Document MTASC-safety properties.
9495 * manual/intro.texi: Document safety identifiers and
9498 * manual/string.texi (wcstok): Fix prototype.
9499 (wcstok, strtok, strtok_r): Adjust reentrancy remarks.
9501 * manual/time.texi: Document MTASC-safety properties.
9503 * manual/string.texi: Document MTASC-safety properties.
9505 * manual/threads.texi: Document MTASC-safety properties.
9507 * manual/stdio.texi: Document MTASC-safety properties.
9509 * manual/syslog.texi: Document MTASC-safety properties.
9511 * manual/sysinfo.texi: Document MTASC-safety properties.
9513 * manual/startup.texi: Document MTASC-safety properties.
9515 * manual/socket.texi: Document MTASC-safety properties.
9517 * manual/signal.texi: Document MTASC-safety properties.
9519 2014-01-31 Alexandre Oliva <aoliva@redhat.com>
9521 * manual/setjmp.texi: Document MTASC-safety properties.
9523 * manual/search.texi: Document MTASC-safety properties.
9525 * manual/resource.texi: Document MTASC-safety properties.
9527 * manual/process.texi: Document MTASC-safety properties.
9529 * manual/platform.texi: Document MTASC-safety properties.
9531 * manual/pipe.texi: Document MTASC-safety properties.
9533 * manual/pattern.texi: Document MTASC-safety properties.
9535 * manual/message.texi: Document MTASC-safety properties.
9538 * manual/memory.texi: Document MTASC-safety properties.
9540 * manual/math.texi: Document MTASC-safety properties.
9542 * manual/locale.texi: Document MTASC-safety properties.
9544 * manual/llio.texi: Document MTASC-safety properties.
9546 * manual/libdl.texi: New.
9548 * manual/lang.texi: Document MTASC-safety properties.
9550 * manual/job.texi: Document MTASC-safety properties.
9552 * manual/getopt.texi: Document MTASC-safety properties.
9554 * manual/ctype.texi: Document MTASC-safety properties.
9556 2014-01-31 Maciej W. Rozycki <macro@codesourcery.com>
9559 * csu/libc-tls.c (static_map): Remove variable.
9560 (__libc_setup_tls): Use main executable's link map for TLS data.
9561 * elf/dl-close.c (_dl_close_worker) [!SHARED]: Remove special
9562 casing for LM_ID_BASE and GL(dl_nns).
9563 * elf/dl-iteratephdr.c [!SHARED] (dl_iterate_phdr): Remove
9564 function. Alias dl_iterate_phdr to __dl_iterate_phdr.
9565 * elf/dl-load.c (_dl_map_object) [!SHARED]: Remove special
9566 casing for GL(dl_ns)[LM_ID_BASE]._ns_loaded.
9567 * elf/dl-support.c (_dl_main_map): Also initialize l_flags_1
9569 (_dl_non_dynamic_init): Also initialize _dl_main_map's l_phdr and
9572 2014-01-30 Alexandre Oliva <aoliva@redhat.com>
9574 * manual/debug.texi: Document MTASC-safety properties.
9576 2014-01-29 H.J. Lu <hongjiu.lu@intel.com>
9579 * sysdeps/x86/fpu/bits/mathinline.h: Check __SSE2_MATH__ instead
9580 of __x86_64__ when disabling x87 inline functions.
9582 2014-01-29 Alexandre Oliva <aoliva@redhat.com>
9584 * manual/charset.texi: Document MTASC-safety properties.
9586 * manual/crypt.texi: Document MTASC-safety properties.
9588 * manual/conf.texi: Document MTASC-safety properties.
9590 * manual/arith.texi: Document MTASC-safety properties.
9592 * manual/argp.texi: Document MTASC-safety properties.
9594 * manual/macros.texi: Introduce macros to document multi
9595 thread, asynchronous signal and asynchronous cancellation
9597 * manual/intro.texi: Introduce the properties themselves.
9599 2014-01-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
9601 * sysdeps/sh/sh4/Makefile: New file.
9603 2014-01-27 Andreas Schwab <schwab@linux-m68k.org>
9605 * math/gen-libm-test.pl ($srcdir): New variable.
9606 ($auto_input): Use it.
9608 2014-01-27 Siddhesh Poyarekar <siddhesh@redhat.com>
9611 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Avoid
9612 access beyond array bounds when parsing netgroups file.
9614 * nscd/netgroupcache.c (addgetnetgrentX): Compute offset from
9615 the old buffer before realloc.
9617 2014-01-27 Allan McRae <allan@archlinux.org>
9619 * po/fr.po: Update French translation from translation project.
9621 2014-01-26 Kaz Kojima <kkojima@rr.iij4u.or.jp>
9623 * sysdeps/sh/libm-test-ulps: Regenerate.
9625 2014-01-24 David S. Miller <davem@davemloft.net>
9627 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate.
9629 2014-01-25 Kaz Kojima <kkojima@rr.iij4u.or.jp>
9631 * sysdeps/sh/sh4/fpu/libm-test-ulps: Move to ...
9632 * sysdeps/sh/libm-test-ulps: ... here and regenerated.
9634 2013-01-24 Siddhesh Poyarekar <siddhesh@redhat.com>
9637 * nscd/netgroupcache.c (addgetnetgrentX): Adjust triplet
9638 string pointers after reallocation.
9640 2014-01-24 Kaz Kojima <kkojima@rr.iij4u.or.jp>
9642 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Use __SH4__ and
9643 __SH4A__ instead of __SH_FPU_ANY__.
9645 2014-01-23 Kaz Kojima <kkojima@rr.iij4u.or.jp>
9647 * sysdeps/sh/fpu_control.h: New file.
9648 * sysdeps/sh/sh4/fpu/fpu_control.h: Remove.
9649 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: New file.
9650 * sysdeps/unix/sysv/linux/sh/sh3/sys/ucontext.h: Remove.
9651 * sysdeps/unix/sysv/linux/sh/sh3/sys: Remove directory.
9652 * sysdeps/unix/sysv/linux/sh/sh4/sys/ucontext.h: Remove.
9653 * sysdeps/unix/sysv/linux/sh/sh4/sys: Remove directory.
9654 * sysdeps/sh/sys/ucontext.h: Remove.
9655 * sysdeps/sh/sys: Remove directory.
9657 2014-01-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
9659 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Merge into
9660 s390/sys/ucontext.h.
9661 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise.
9662 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: New file.
9664 2014-01-20 H.J. Lu <hongjiu.lu@intel.com>
9667 * sysdeps/x86_64/x32/symbol-hacks.h: Include generic symbol-hacks.h.
9669 2014-01-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9672 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
9673 Adjust the vDSO correctly for internal calls.
9674 * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
9676 2014-01-20 Allan McRae <allan@archlinux.org>
9678 * po/ca.po: Update Catalan translation from translation project.
9680 2014-01-16 Mike Frysinger <vapier@gentoo.org>
9682 * sysdeps/s390/sotruss-lib.c: New file.
9684 2014-01-16 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9687 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c
9688 (__GI___gettimeofday): Alias for a different internal symbol to avoid
9689 local calls issues by not having a PLT stub required for IFUNC calls.
9690 * sysdeps/unix/sysv/linux/powerpc/time.c (__GI_time): Likewise.
9692 2014-01-16 Joseph Myers <joseph@codesourcery.com>
9694 * math/test-fpucw-ieee.c: Use <> in #include of test-fpucw.c.
9695 * math/test-fpucw-static.c: Likewise.
9697 2013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
9700 * nscd/netgroupcache.c (addgetnetgrentX): Don't use alloca.
9702 2014-01-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9704 * sysdeps/powerpc/sotruss-lib.c: New file: sotruss-lib.so
9705 implementation for powerpc.
9707 2014-01-15 Ondřej Bílka <neleai@seznam.cz>
9710 * sysdeps/posix/system.c (__libc_system): Do not enable
9711 asynchronous cancellation.
9713 2014-01-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
9716 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Invoke the non-IEEE
9717 handling only for numbers special also in the IEEE case.
9719 2014-01-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
9721 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
9723 2014-01-11 Allan McRae <allan@archlinux.org>
9725 * po/bg.po: Update Bulgarian translation from translation project.
9727 * po/de.po: Update German translation from translation project.
9729 2014-01-10 Roland McGrath <roland@hack.frob.com>
9731 * sysdeps/generic/gcc-compat.h: New file.
9733 2014-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
9735 * benchtests/asin-inputs: Correct slow inputs.
9736 * benchtests/acos-inputs: Likewise.
9738 2014-01-10 Allan McRae <allan@archlinux.org>
9740 * po:sv.po: Update Swedish translation from translation project.
9742 * po/vi.po: Update Vietnamese translation from translation project.
9744 * po/eo.po: Update Esperanto translation from translation project.
9746 * po/cs.po: Update Czech translation from translation project.
9748 * po/nl.po: Update Dutch translation from translation project.
9750 * po/pl.po: Update Polish translation from translation project.
9752 * po/ru.po: Update Russian translation from translation project.
9754 * po/uk.po: Update Ukrainian translation from translation project.
9756 2014-01-08 Brooks Moses <bmoses@google.com>
9758 * elf/dl-load.c: Fix comment typo.
9760 2014-01-08 Carlos O'Donell <carlos@redhat.com>
9762 * po/header.pot: Rename to...
9763 * po/pot.header: ... this.
9764 * po/Makefile: Use pot.header.
9766 2014-01-08 Yuriy Kaminskiy <yumkam@gmail.com>
9767 Maxim Kuvyrkov <maxim@kugelworks.com>
9770 * sysdeps/i386/i686/memmove.S (memmove): Compare distance between
9771 SRC and DEST against LEN.
9773 2014-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9776 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Remove wrong
9778 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Remove bogus comment.
9780 2014-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9782 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9784 2014-01-08 Joseph Myers <joseph@codesourcery.com>
9787 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Use __expl
9788 for large positive arguments.
9790 2014-01-07 Joseph Myers <joseph@codesourcery.com>
9792 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
9794 * math/auto-libm-test-in: Mark various tests with
9795 xfail-rounding:ldbl-128ibm.
9796 * math/auto-libm-test-out: Regenerated.
9799 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
9800 Increase overflow threshold.
9802 2014-01-07 Ondřej Bílka <neleai@seznam.cz>
9805 * stdio-common/vfprintf.c: Check for integer overflow.
9807 2014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
9809 * sysdeps/s390/dl-tls.h: sysdeps/s390/dl-tls.h: Remove casts for
9810 the first argument and return value of __tls_get_addr_internal.
9812 2014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
9814 * sysdeps/s390/s390-32/dl-machine.h: Gate the definition of refsym
9815 also with !RTLD_BOOTSTRAP to get rid of unused variable warning.
9817 2014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
9819 * sysdeps/s390/Makefile: Build rtld-global-offsets.sym.
9820 * sysdeps/s390/rtld-global-offsets.sym: New file.
9821 * sysdeps/unix/sysv/linux/s390/Versions: Add getcontext as new
9823 * sysdeps/unix/sysv/linux/s390/getcontext.S: New file.
9824 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Rename to ...
9825 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
9827 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Rename to ...
9828 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
9830 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
9832 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
9834 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Restore upper
9835 halfs of GPRs for high_gprs contexts.
9836 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Save and
9837 restore upper halfs of GPRs for high_gprs contexts. Copy uc_flags
9839 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Copy
9841 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Split into 32 and
9843 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Add field
9844 for high GPRs (uc_high_gprs) and for future extensions
9846 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Add field
9847 for future extensions (__reserved).
9848 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Split into 32 and
9850 * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym: Add
9851 SC_HIGHGPRS offset definition.
9852 * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.sym: New file.
9853 * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: New file.
9855 * Versions.def: Add GLIBC_2.19 for libpthread.
9856 * nptl/sysdeps/unix/sysv/linux/s390/Versions: Add longjmp and
9857 siglongjmp for libpthread with GLIBC_2.19 symver.
9858 * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: New file.
9859 * sysdeps/s390/Makefile: Build v1-longjmp.c and v1-sigjmp.c.
9860 * sysdeps/s390/Versions: New GLIBC_2.19 and GLIBC_PRIVATE symbols.
9861 * sysdeps/s390/__longjmp.c: New file.
9862 * sysdeps/s390/bits/setjmp.h: Add new fields to __s390_jmp_buf.
9863 * sysdeps/s390/longjmp.c: New file.
9864 * sysdeps/s390/setjmp.S: New file.
9865 * sysdeps/s390/sigjmp.S: New file.
9866 * sysdeps/s390/v1-longjmp.c: New file.
9867 * sysdeps/s390/v1-setjmp.h: New file.
9868 * sysdeps/s390/v1-sigjmp.c: New file.
9869 * sysdeps/unix/sysv/linux/s390/Makefile: Build __longjmp_chk.
9870 * sysdeps/unix/sysv/linux/s390/Versions: Add __longjmp_chk with
9872 * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: New file.
9873 * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Provide
9874 versioned symbols for ____longjmp_chk.
9875 * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
9877 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
9879 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
9881 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
9883 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
9885 * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: New file.
9886 * sysdeps/s390/s390-32/__longjmp.c: Rename to ...
9887 * sysdeps/s390/s390-32/__longjmp-common.c: ... this.
9888 * sysdeps/s390/s390-32/setjmp.S: Rename and adjust to ...
9889 * sysdeps/s390/s390-32/setjmp-common.S: ... this.
9890 * sysdeps/s390/s390-64/__longjmp.c: Rename to ...
9891 * sysdeps/s390/s390-64/__longjmp-common.c: ... this.
9892 * sysdeps/s390/s390-64/setjmp.S: Rename and adjust to ...
9893 * sysdeps/s390/s390-64/setjmp-common.S: ... this.
9894 * sysdeps/s390/rtld-__longjmp.c: New file.
9895 * sysdeps/s390/rtld-setjmp.S: New file.
9897 2014-01-06 Joseph Myers <joseph@codesourcery.com>
9900 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
9901 Return -__logl (x) for small positive arguments without evaluating
9904 2014-01-06 Mike Frysinger <vapier@gentoo.org>
9906 * sysdeps/unix/sysv/linux/sys/ptrace.h (ptrace_peeksiginfo_args):
9908 (__ptrace_peeksiginfo_args): ... this.
9909 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
9910 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
9911 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
9913 2014-01-06 Allan McRae <allan@archlinux.org>
9915 * inet/netinet/in.h: Fix typo in comment.
9917 2014-01-05 Andreas Jaeger <aj@suse.de>
9919 * sysdeps/i386/fpu/libm-test-ulps: Update.
9921 2014-01-05 Allan McRae <allan@archlinux.org>
9923 * po/libc.pot: Regenerated.
9925 * malloc/memusagestat.c: Fix gettext call formatting.
9927 2014-01-04 Sami Kerola <kerolasa@iki.fi>
9929 * nscd/nscd.c: Improve usage() output.
9931 2014-01-04 Mike Frysinger <vapier@gentoo.org>
9933 * config.h.in: Add HAVE_LINUX_FANOTIFY_H template.
9934 * sysdeps/unix/sysv/linux/configure: Regenerated.
9935 * sysdeps/unix/sysv/linux/configure.ac: Call AC_DEFINE.
9936 * sysdeps/unix/sysv/linux/tst-fanotify.c: Include config.h.
9938 2014-01-03 Joseph Myers <joseph@codesourcery.com>
9941 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
9942 (CFLAGS-e_atan2l.c): Use -fno-builtin-fabsl.
9944 2014-01-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9946 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Remove
9947 extra tokens at end of #undef directive.
9948 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
9949 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
9950 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
9952 2014-01-03 Joseph Myers <joseph@codesourcery.com>
9954 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
9956 * math/auto-libm-test-in: Mark various tests with
9957 xfail-rounding:ldbl-128ibm.
9958 * math/auto-libm-test-out: Regenerated.
9960 2014-01-02 Joseph Myers <joseph@codesourcery.com>
9963 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Adjust
9964 numbers with subnormal high part when calculating exponent.
9967 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use fabsl not
9971 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (ln2): Initialize with
9973 (__ieee754_acoshl): Use __log1pl not __log1p.
9975 2013-01-02 Ondřej Bílka <neleai@seznam.cz>
9977 * malloc/arena.c (malloc_atfork, free_atfork, ptmalloc_lock_all)
9978 (ptmalloc_unlock_all, ptmalloc_unlock_all2, next_env_entry)
9979 (__failing_morecore, ptmalloc_init, dump_heap, new_heap)
9980 (grow_heap, heap_trim, _int_new_arena, get_free_list)
9981 (reused_arena, arena_get2): Convert to GNU style.
9982 * malloc/hooks.c (memalign_hook_ini, __malloc_check_init)
9983 (mem2mem_check, mem2chunk_check, top_check, realloc_check)
9984 (memalign_check, __malloc_set_state): Likewise.
9985 * malloc/mallocbug.c (main): Likewise.
9986 * malloc/malloc.c (__malloc_assert, malloc_init_state)
9987 (free_perturb, do_check_malloced_chunk, do_check_malloc_state)
9988 (sysmalloc, systrim, mremap_chunk, __libc_malloc, __libc_free)
9989 (__libc_realloc, _mid_memalign, _int_malloc, malloc_consolidate)
9990 (_int_realloc, _int_memalign, mtrim, musable, __libc_mallopt)
9991 (__posix_memalign, malloc_info): Likewise.
9992 * malloc/malloc.h: Likewise.
9993 * malloc/mcheck.c (checkhdr, unlink_blk, link_blk, freehook)
9994 (mallochook, memalignhook, reallochook, mabort): Likewise.
9995 * malloc/mcheck.h: Likewise.
9996 * malloc/memusage.c (update_data, me, malloc, realloc, calloc)
9997 (free, mmap, mmap64, mremap, munmap, dest): Likewise.
9998 * malloc/memusagestat.c (main, parse_opt, more_help): Likewise.
9999 * malloc/morecore.c (__default_morecore): Likewise.
10000 * malloc/mtrace.c (tr_break, lock_and_info, mtrace): Likewise.
10001 * malloc/obstack.c (_obstack_begin, _obstack_newchunk)
10002 (_obstack_allocated_p, obstack_free, _obstack_memory_used)
10003 (print_and_abort): Likewise.
10004 * malloc/obstack.h: Likewise.
10005 * malloc/set-freeres.c (__libc_freeres): Likewise.
10006 * malloc/tst-mallocstate.c (main): Likewise.
10007 * malloc/tst-mtrace.c (main): Likewise.
10008 * malloc/tst-realloc.c (do_test): Likewise.
10010 2013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
10013 * nscd/netgroupcache.c (do_notfound): New function.
10014 (addgetnetgrentX): Use it.
10017 * nscd/netgroupcache.c (addgetnetgrentX): Break if status is
10018 NSS_STATUS_NOTFOUND.
10020 2014-01-01 Joseph Myers <joseph@codesourcery.com>
10022 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
10023 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10025 2014-01-01 Allan McRae <allan@archlinux.org>
10027 * scripts/update-copyrights: Update configure input file suffix.
10029 * NEWS: Update copyright year.
10030 * catgets/gencat.c: Likewise.
10031 * csu/version.c: Likewise.
10032 * debug/catchsegv.sh: Likewise.
10033 * debug/pcprofiledump.c: Likewise.
10034 * debug/xtrace.sh: Likewise.
10035 * elf/ldconfig.c: Likewise.
10036 * elf/ldd.bash.in: Likewise.
10037 * elf/pldd.c: Likewise.
10038 * elf/sotruss.ksh: Likewise.
10039 * elf/sprof.c: Likewise.
10040 * iconv/iconv_prog.c: Likewise.
10041 * iconv/iconvconfig.c: Likewise.
10042 * locale/programs/locale.c: Likewise.
10043 * locale/programs/localedef.c: Likewise.
10044 * login/programs/pt_chown.c: Likewise.
10045 * malloc/memusage.sh: Likewise.
10046 * malloc/memusagestat.c: Likewise.
10047 * malloc/mtrace.pl: Likewise.
10048 * manual/libc.texinfo: Likewise.
10049 * nscd/nscd.c: Likewise.
10050 * nss/getent.c: Likewise.
10051 * nss/makedb.c: Likewise.
10052 * posix/getconf.c: Likewise.
10053 * scripts/test-installation.pl: Likewise.
10055 * All files with FSF copyright notices: Update copyright dates
10056 using scripts/update-copyrights.
10057 * intl/plural.c: Regenerated.
10058 * locale/programs/charmap-kw.h: Likewise.
10059 * locale/programs/locfile-kw.h: Likewise.
10061 2013-12-31 Mike Frysinger <vapier@gentoo.org>
10063 * sysdeps/unix/sysv/linux/configure: Regenerated.
10064 * sysdeps/unix/sysv/linux/configure.ac: Call AC_CHECK_HEADER on
10065 the linux/fanotify.h header.
10066 * sysdeps/unix/sysv/linux/tst-fanotify.c: Check if
10067 HAVE_LINUX_FANOTIFY_H is defined.
10069 2013-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
10071 * benchtests/cos-inputs: New inputs.
10072 * benchtests/sin-inputs: Likewise.
10074 * benchtests/atan-inputs: New inputs. Fix name of multiple
10075 precision fallback inputs.
10077 * benchtests/atanh-inputs: New inputs.
10078 * benchtests/tanh-inputs: Likewise.
10080 * benchtests/acosh-inputs: New inputs.
10081 * benchtests/asinh-inputs: Likewise.
10083 * benchtests/cosh-inputs: New inputs.
10084 * benchtests/sinh-inputs: Likewise.
10086 * benchtests/acos-inputs: Add more inputs.
10087 * benchtests/asin-inputs: Likewise.
10089 2013-12-30 Ville Skytta <ville.skytta@iki.fi>
10092 * manual/arith.texi: Fix spelling.
10093 * manual/charset.texi: Likewise.
10094 * manual/errno.texi: Likewise.
10095 * manual/filesys.texi: Likewise.
10096 * manual/lang.texi: Likewise.
10097 * manual/llio.texi: Likewise.
10098 * manual/locale.texi: Likewise.
10099 * manual/message.texi: Likewise.
10100 * manual/resource.texi: Likewise.
10101 * manual/search.texi: Likewise.
10102 * manual/setjmp.texi: Likewise.
10103 * manual/stdio.texi: Likewise.
10104 * manual/string.texi: Likewise.
10105 * manual/sysinfo.texi: Likewise.
10106 * manual/time.texi: Likewise.
10108 2013-12-27 Carlos O'Donell <carlos@redhat.com>
10110 * po/sl.po: New file.
10112 2013-12-27 Mike Frysinger <vapier@gentoo.org>
10114 * .gitignore: Add core/.gdbinit/.gdb_history.
10116 2013-12-27 Allan McRae <allan@archlinux.org>
10119 * sysdeps/ieee754/dbl-64/s_sin.c (csloww): Fix variable name.
10120 Reported by Il'ya Malakhov <ilmalakhov@yandex.ru>
10122 2013-12-24 Brooks Moses <bmoses@google.com>
10124 * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Define for
10125 all compilers that claim C++98 compliance, not just GCC.
10126 * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
10129 2013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
10131 * NEWS: Restore accidentally deleted bug-fix entries.
10133 2013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
10134 Ondřej Bílka <neleai@seznam.cz>
10137 * malloc/malloc.c (_int_free): Perform sanity check only if we
10140 2013-12-23 Ondřej Bílka <neleai@seznam.cz>
10143 * manual/stdio.texi (String Input Conversions): Clarify that character
10144 classes are not supported.
10146 2013-12-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10148 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10150 2013-12-22 Joseph Myers <joseph@codesourcery.com>
10153 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
10154 Calculate results for small negative arguments directly rather
10155 than using reflection formula with special underflow handling.
10157 * sysdeps/mach/hurd/Implies: Change unix/bsd/bsd4.4 to unix/bsd.
10158 * sysdeps/unix/bsd/syscalls.list (chflags): Add entry from
10159 sysdeps/unix/bsd/bsd4.4/syscalls.list.
10160 (fchflags): Likewise.
10161 (revoke): Likewise.
10162 (setlogin): Likewise.
10163 (sigaltstack): Likewise.
10165 (sigblock): Remove.
10166 (sigsetmask): Likewise.
10168 (waitpid): Likewise.
10169 * sysdeps/unix/bsd/bsd4.4/syscalls.list: Remove file.
10170 * sysdeps/unix/sysv/linux/wait3.c: Update directory of included
10172 * sysdeps/unix/bsd/bsd4.4/Makefile: Move to ...
10173 * sysdeps/unix/bsd/Makefile: ... here.
10174 * sysdeps/unix/bsd/bsd4.4/Versions: Move to ...
10175 * sysdeps/unix/bsd/Versions: ... here.
10176 * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Move to ...
10177 * sysdeps/unix/bsd/bits/sockaddr.h: ... here.
10178 * sysdeps/unix/bsd/bsd4.4/cmsg_nxthdr.c: Move to ...
10179 * sysdeps/unix/bsd/cmsg_nxthdr.c: ... here.
10180 * sysdeps/unix/bsd/bsd4.4/sigblock.c: Move to ...
10181 * sysdeps/unix/bsd/sigblock.c: ... here.
10182 * sysdeps/unix/bsd/bsd4.4/sigsetmask.c: Move to ...
10183 * sysdeps/unix/bsd/sigsetmask.c: ... here.
10184 * sysdeps/unix/bsd/bsd4.4/sigvec.c: Move to ...
10185 * sysdeps/unix/bsd/sigvec.c: ... here.
10186 * sysdeps/unix/bsd/bsd4.4/tcdrain.c: Move to ...
10187 * sysdeps/unix/bsd/tcdrain.c: ... here.
10188 * sysdeps/unix/bsd/bsd4.4/tcgetattr.c: Move to ...
10189 * sysdeps/unix/bsd/tcgetattr.c: ... here.
10190 * sysdeps/unix/bsd/bsd4.4/tcsetattr.c: Move to ...
10191 * sysdeps/unix/bsd/tcsetattr.c: ... here.
10192 * sysdeps/unix/bsd/bsd4.4/wait.c: Move to ...
10193 * sysdeps/unix/bsd/wait.c: ... here.
10194 * sysdeps/unix/bsd/bsd4.4/wait3.c: Move to ...
10195 * sysdeps/unix/bsd/wait3.c: ... here.
10196 * sysdeps/unix/bsd/bsd4.4/waitpid.c: Move to ...
10197 * sysdeps/unix/bsd/waitpid.c: ... here.
10199 2013-12-21 Joseph Myers <joseph@codesourcery.com>
10202 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Also set
10203 round-to-nearest for [!USE_AS_EXPM1L].
10204 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
10205 * math/auto-libm-test-in: Do not expect cosh tests to fail. Add
10206 more tests of exp and exp10. Expect some exp10 tests to miss
10207 exceptions or fail in directed rounding modes.
10208 * math/auto-libm-test-out: Regenerated.
10209 * math/libm-test.inc (exp10_tonearest_test_data): New array.
10210 (exp10_test_tonearest): New function.
10211 (exp10_towardzero_test_data): New array.
10212 (exp10_test_towardzero): New function.
10213 (exp10_downward_test_data): New array.
10214 (exp10_test_downward): New function.
10215 (exp10_upward_test_data): New array.
10216 (exp10_test_upward): New function.
10217 (main): Call the new functions.
10218 * sysdeps/i386/fpu/libm-test-ulps: Update.
10219 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10221 2013-12-20 Joseph Myers <joseph@codesourcery.com>
10223 * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
10224 asinh, atan, atan2, atanh, cbrt, cos and cosh.
10225 * math/auto-libm-test-out: Regenerated.
10226 * math/libm-test.inc (acosh_test_data): Add more tests.
10227 (atanh_test_data): Likewise.
10228 (ceil_test_data): Likewise.
10229 (copysign_test_data): Likewise.
10230 * sysdeps/i386/fpu/libm-test-ulps: Update.
10231 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10233 * timezone/checktab.awk: Update from tzcode 2013i.
10234 * timezone/private.h: Likewise.
10235 * timezone/scheck.c: Likewise.
10236 * timezone/tzfile.h: Likewise.
10237 * timezone/tzselect.ksh: Likewise.
10238 * timezone/zdump.c: Likewise.
10239 * timezone/zic.c: Likewise.
10241 * math/auto-libm-test-in: Add tests of cpow.
10242 * math/auto-libm-test-out: Regenerated.
10243 * math/libm-test.inc (cpow_test_data): Use AUTO_TESTS_cc_c.
10244 * math/gen-auto-libm-tests.c (func_calc_method): Add value
10246 (func_calc_desc): Add mpc_cc_c union field.
10247 (test_functions): Add cpow.
10248 (special_fill_2pi): New function.
10249 (special_real_inputs): Add 2pi.
10250 (calc_generic_results): Handle mpc_cc_c.
10251 * sysdeps/i386/fpu/libm-test-ulps: Update.
10252 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10254 * math/auto-libm-test-in: Add tests of ccos, ccosh, cexp, clog,
10255 csqrt, ctan and ctanh.
10256 * math/auto-libm-test-out: Regenerated.
10257 * math/libm-test.inc (TEST_COND_x86_64): New macro.
10258 (TEST_COND_x86): Likewise.
10259 (ccos_test_data): Use AUTO_TESTS_c_c.
10260 (ccosh_test_data): Likewise.
10261 (cexp_test_data): Likewise.
10262 (clog_test_data): Likewise.
10263 (csqrt_test_data): Likewise.
10264 (ctan_test_data): Likewise.
10265 (ctan_tonearest_test_data): Likewise.
10266 (ctan_towardzero_test_data): Likewise.
10267 (ctan_downward_test_data): Likewise.
10268 (ctan_upward_test_data): Likewise.
10269 (ctanh_test_data): Likewise.
10270 (ctanh_tonearest_test_data): Likewise.
10271 (ctanh_towardzero_test_data): Likewise.
10272 (ctanh_downward_test_data): Likewise.
10273 (ctanh_upward_test_data): Likewise.
10274 * math/gen-auto-libm-tests.c (func_calc_method): Add value
10276 (func_calc_desc): Add mpc_c_c union field.
10277 (FUNC_mpc_c_c): New macro.
10278 (test_functions): Add cacos, cacosh, casin, casinh, catan, catanh,
10279 ccos, ccosh, cexp, clog, clog10, csin, csinh, csqrt, ctan and
10281 (special_fill_min_subnorm_p120): New function.
10282 (special_real_inputs): Add min_subnorm_p120.
10283 (calc_generic_results): Handle mpc_c_c.
10284 * sysdeps/i386/fpu/libm-test-ulps: Update.
10285 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10287 2013-12-20 Siddhesh Poyarekar <siddhesh@redhat.com>
10289 * sysdeps/ieee754/dbl-64/s_sin.c (do_cos, do_cos_slow, do_sin)
10290 (do_sin_slow): New functions.
10291 (__sin, __cos, slow1, slow2, sloww1, sloww2, bsloww1, bsloww2)
10292 (cslow2, csloww1, csloww2): Use the new functions.
10294 * sysdeps/ieee754/dbl-64/s_sin.c (sloww1): Add new argument M.
10295 Use M to change sign of result instead of X. Assume X is
10297 (csloww1): Likewise.
10301 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Remove
10302 arguments A and DA.
10306 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use DA directly.
10308 (sloww1): Don't adjust sign of DX.
10309 (csloww1): Likewise.
10310 (sloww2): Use X directly and don't adjust sign of DX.
10311 (csloww2): Likewise.
10313 2013-12-19 Joseph Myers <joseph@codesourcery.com>
10315 * math/auto-libm-test-in: Add tests of cabs and carg.
10316 * math/auto-libm-test-out: Regenerated.
10317 * math/libm-test.inc (cabs_test_data): Use AUTO_TESTS_c_f.
10318 (carg_test_data): Likewise.
10319 * math/gen-auto-libm-tests.c (func_calc_method): Add value
10321 (func_calc_desc): Add mpc_c_f union field.
10322 (test_functions): Add cabs and carg.
10323 (calc_generic_results): Handle mpc_c_f.
10325 * sysdeps/powerpc/powerpc32/libgcc-compat.S
10326 [_SOFT_FLOAT || __NO_FPRS__] (__fixdfdi_v_glibc20): Do not define
10327 as a macro and a compat symbol.
10328 [_SOFT_FLOAT || __NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
10329 [_SOFT_FLOAT || __NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
10330 [_SOFT_FLOAT || __NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
10331 [_SOFT_FLOAT || __NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
10332 [_SOFT_FLOAT || __NO_FPRS__] (__floaddisf_v_glibc20): Likewise.
10333 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixdfdi): Do
10335 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixsfdi):
10337 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunsdfdi):
10339 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunssfdi):
10341 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddidf):
10343 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddisf):
10345 * sysdeps/powerpc/nofpu/Versions (libc): Remove __fixdfdi,
10346 __fixsfdi, __fixunsdfdi, __fixunssfdi, __floatdidf and __floatdisf
10349 2013-12-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10351 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10353 2013-12-19 Joseph Myers <joseph@codesourcery.com>
10355 * manual/texinfo.tex: Update to version 2013-11-26.10 with
10356 trailing whitespace removed.
10357 * scripts/config.guess: Update to version 2013-11-29.
10358 * scripts/config.sub: Update to version 2013-10-01.
10360 * math/auto-libm-test-in: Add tests of sincos.
10361 * math/auto-libm-test-out: Regenerated.
10362 * math/libm-test.inc (sincos_test_data): Use AUTO_TESTS_fFF_11.
10363 * math/gen-auto-libm-tests.c (func_calc_method): Add value
10365 (func_calc_desc): Add mpfr_f_11 union field.
10366 (test_functions): Add sincos.
10367 (calc_generic_results): Handle mpfr_f_11.
10368 * sysdeps/i386/fpu/libm-test-ulps: Update.
10369 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10371 2013-12-19 Andreas Schwab <schwab@suse.de>
10373 * sysdeps/powerpc/powerpc64/power7/memchr.S: Fix argument of
10375 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
10376 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S
10377 [USE_IN_EXTENDED_LOCALE_MODEL]: Likewise.
10379 2013-12-19 Joseph Myers <joseph@codesourcery.com>
10381 * math/gen-libm-test.pl (%beautify): Remove M_* constants.
10382 * sysdeps/i386/fpu/libm-test-ulps: Update.
10383 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10386 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Set
10387 round-to-nearest mode when using frndint.
10388 * sysdeps/i386/fpu/s_expm1.S (__expm1): Likewise.
10389 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
10390 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
10392 * math/auto-libm-test-in: Add more tests of expm1. Do not expect
10394 * math/auto-libm-test-out: Regenerated.
10395 * math/libm-test.inc (TEST_COND_x86_64): Remove macro.
10396 (TEST_COND_x86): Likewise.
10397 (expm1_tonearest_test_data): New array.
10398 (expm1_test_tonearest): New function.
10399 (expm1_towardzero_test_data): New array.
10400 (expm1_test_towardzero): New function.
10401 (expm1_downward_test_data): New array.
10402 (expm1_test_downward): New function.
10403 (expm1_upward_test_data): New array.
10404 (expm1_test_upward): New function.
10405 (main): Run the new test functions.
10406 * sysdeps/i386/fpu/libm-test-ulps: Update.
10407 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10409 * include/features.h: Update comment documenting feature test
10410 macros. Mention _DEFAULT_SOURCE in comment.
10411 [_GNU_SOURCE] (_DEFAULT_SOURCE): Undefine and redefine.
10412 [_DEFAULT_SOURCE]: Undefine and redefine _DEFAULT_SOURCE,
10413 _BSD_SOURCE and _SVID_SOURCE.
10414 [!__STRICT_ANSI__ && !_ISOC99_SOURCE && !_POSIX_SOURCE &&
10415 !_POSIX_C_SOURCE && !_XOPEN_SOURCE && !_BSD_SOURCE &&
10416 !_SVID_SOURCE]: Likewise.
10417 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
10418 (__USE_POSIX_IMPLICITLY): Define.
10419 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
10420 (_POSIX_SOURCE): Undefine and redefine.
10421 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
10422 (_POSIX_C_SOURCE): Likewise.
10423 * manual/creature.texi (_DEFAULT_SOURCE): Document.
10424 (Feature Test Macros): Update documentation of default features.
10426 2013-12-19 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
10428 * benchtests/Makefile: Add bench-strtok.
10429 * benchtests/bench-strtok.c: New file: strtok benchtest.
10431 2013-12-19 Allan McRae <allan@archlinux.org>
10433 * manual/install.texi: Suppress menu for plain text output.
10434 * INSTALL: Regenerated.
10436 2013-12-18 Brooks Moses <bmoses@google.com>
10439 * misc/getauxval.c: Include errno.h.
10440 (__getauxval): Set errno to ENOENT if the requested type is not
10442 * misc/sys/auxv.h (getauxval): Document that it may set errno;
10443 don't declare with __attribute_const__.
10444 * elf/tst-auxv.c: Add tests for errno and type-not-found case.
10445 * manual/startup.texi: Document that getauxval sets errno.
10447 2013-12-18 Joseph Myers <joseph@codesourcery.com>
10449 * math/auto-libm-test-in: Add tests of jn and yn.
10450 * math/auto-libm-test-out: Regenerated.
10451 * math/libm-test.inc (jn_test_data): Use AUTO_TESTS_if_f.
10452 (yn_test_data): Likewise.
10453 * math/gen-auto-libm-tests.c (func_calc_method): Add value
10455 (func_calc_desc): Add mpfr_if_f union field.
10456 (FUNC_mpfr_if_f): New macro.
10457 (test_functions): Add jn and yn.
10458 (calc_generic_results): Assert type of second input for
10459 mpfr_ff_f. Handle mpfr_if_f.
10460 (output_for_one_input_case): Disable all checking for arguments
10461 fitting floating-point types in case of an integer argument.
10462 * sysdeps/i386/fpu/libm-test-ulps: Update.
10463 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10465 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
10466 Don't expect fegetround reference in libm.so.
10468 2013-12-17 Marcus Shawcroft <marcus.shawcroft@linaro.org>
10470 * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_sqrt.c): Add
10471 $(config-cflags-nofma).
10473 2013-12-18 Joseph Myers <joseph@codesourcery.com>
10475 * math/auto-libm-test-in: Mark some hypot tests no-test-inline.
10476 * math/auto-libm-test-out: Regenerated.
10479 * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Use __frexpl
10480 to determine exponent and adjust argument to have exponent of -1.
10481 * math/auto-libm-test-in: Add more tests of log, log10, log1p and
10483 * math/auto-libm-test-out: Regenerated.
10484 * sysdeps/i386/fpu/libm-test-ulps: Update.
10485 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10487 2013-12-18 Ondřej Bílka <neleai@seznam.cz>
10489 * manual/probes.texi: Remove cases when per-thread arenas are
10492 2013-12-18 Andreas Schwab <schwab@suse.de>
10494 * sysdeps/i386/i686/multiarch/strstr.c: Remove.
10495 * sysdeps/i386/i686/multiarch/strstr-c.c: Remove.
10496 * sysdeps/i386/i686/multiarch/strcasestr.c: Remove.
10497 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: Remove.
10498 * sysdeps/i386/i686/multiarch/Makefile: Update.
10499 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Update.
10501 2013-12-17 Joseph Myers <joseph@codesourcery.com>
10503 * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Remove file.
10504 * sysdeps/unix/bsd/bsd4.4/bits/ioctls.h: Likewise.
10506 2013-12-17 Paul Eggert <eggert@cs.ucla.edu>
10509 Support TZ transition times < 00:00:00.
10510 This is needed for version-3 tz-format files; it supports time
10511 stamps past 2037 for America/Godthab (the only entry in the tz
10512 database for which this change is relevant).
10513 * manual/time.texi (TZ Variable): Document transition times
10514 from -167:59:59 through -00:00:01.
10515 * time/tzset.c (tz_rule): Time of day is now signed.
10516 (__tzset_parse_tz): Parse negative time of day.
10518 Document TZ transition times >= 25:00:00.
10519 * manual/time.texi (TZ Variable): Document transition times from
10520 25:00:00 through 167:59:59. These are already supported, and this
10521 support will help with version-3 tz-format files.
10523 * manual/time.texi (TZ Variable): Modernize North America example
10524 to reflect current (i.e., 2007-and-later) daylight saving rules.
10526 * manual/time.texi (TZ Variable): POSIX.1 hour can be 24.
10528 2013-12-17 Joseph Myers <joseph@codesourcery.com>
10530 * sysdeps/unix/bsd/bits/posix_opt.h: Remove file.
10531 * sysdeps/unix/bsd/bits/stat.h: Likewise.
10532 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/environments.h: Likewise.
10533 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
10534 * sysdeps/unix/bsd/bsd4.4/freebsd/sys/sysmacros.h: Likewise.
10535 * sysdeps/unix/bsd/bsdstat.h: Likewise.
10536 * sysdeps/unix/bsd/clock.c: Likewise.
10537 * sysdeps/unix/bsd/i386/vfork.S: Likewise.
10538 * sysdeps/unix/bsd/i386/wait3.S: Likewise.
10539 * sysdeps/unix/bsd/init-posix.c: Likewise.
10540 * sysdeps/unix/bsd/poll.c: Likewise.
10541 * sysdeps/unix/bsd/ptsname.c: Likewise.
10542 * sysdeps/unix/bsd/seekdir.c: Likewise.
10543 * sysdeps/unix/bsd/setegid.c: Likewise.
10544 * sysdeps/unix/bsd/seteuid.c: Likewise.
10545 * sysdeps/unix/bsd/setgid.c: Likewise.
10546 * sysdeps/unix/bsd/setrgid.c: Likewise.
10547 * sysdeps/unix/bsd/setruid.c: Likewise.
10548 * sysdeps/unix/bsd/setsid.c: Likewise.
10549 * sysdeps/unix/bsd/setuid.c: Likewise.
10550 * sysdeps/unix/bsd/sigaction.c: Likewise.
10551 * sysdeps/unix/bsd/sigprocmask.c: Likewise.
10552 * sysdeps/unix/bsd/sigsuspend.c: Likewise.
10553 * sysdeps/unix/bsd/sys/reboot.h: Likewise.
10554 * sysdeps/unix/bsd/telldir.c: Likewise.
10555 * sysdeps/unix/bsd/times.c: Likewise.
10556 * sysdeps/unix/bsd/usleep.c: Likewise.
10558 * misc/Makefile (install-lib): Remove libbsd-compat.a.
10559 ($(objpfx)libbsd-compat.a): Remove rule.
10561 * include/features.h (__FAVOR_BSD): Do not define.
10562 * manual/creature.texi (_BSD_SOURCE): Do not document as enabling
10563 features conflicting with POSIX.
10564 (_GNU_SOURCE): Do not mention interaction with _BSD_SOURCE.
10565 (_BSD_SOURCE): Remove description of not being a subset of other
10566 feature test macros.
10567 * manual/job.texi (getpgrp): Do not document BSD version.
10568 (getpgid): Do not document by reference to BSD getpgrp.
10569 * posix/unistd.h [__FAVOR_BSD]: Remove conditional code.
10570 * setjmp/setjmp.h [__FAVOR_BSD]: Likewise.
10571 * signal/signal.h [__FAVOR_BSD]: Likewise.
10572 * sysdeps/gnu/netinet/tcp.h (struct tcphdr): Use anonymous unions
10573 instead of making contents conditional on [__FAVOR_BSD].
10574 * sysdeps/gnu/netinet/udp.h (struct udphdr): Likewise.
10576 2013-12-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10578 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10580 2013-12-17 Joseph Myers <joseph@codesourcery.com>
10583 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Adjust up
10584 values below 2**-450, not 2**-500.
10585 * math/auto-libm-test-in: Don't allow spurious underflow from
10587 * math/auto-libm-test-out: Regenerated.
10591 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Update
10592 values of ha and hb and sort them after adjusting subnormal
10594 * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
10596 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Update
10597 values of ea and eb and sort them after adjusting subnormal
10599 * math/auto-libm-test-in: Do not expect some hypot tests of
10600 subnormals to fail. Add more hypot tests.
10601 * math/auto-libm-test-out: Regenerated.
10603 2013-12-16 Kaz Kojima <kkojima@rr.iij4u.or.jp>
10606 * sysdeps/sh/s_fma.c: New file.
10607 * sysdeps/sh/s_fmaf.c: New file.
10608 * sysdeps/sh/soft-fp/sfp-machine.h: New file. Based on arm
10610 * sysdeps/sh/Implies: Add sh/soft-fp.
10612 2013-12-16 Roland McGrath <roland@hack.frob.com>
10614 * elf/dl-error.c (struct catch): Add new member `errcode'. Add a
10615 level of indirection to members `objname', `errstring', `malloced'.
10616 (_dl_signal_error): Store through pointers in *LCATCH rather modifying
10617 *LCATCH itself. Set *LCATCH->errcode to ERRCODE rather than passing
10618 it as the __longjmp argument (just pass 1 instead).
10619 (_dl_catch_error): Initialize C with argument pointers and address of
10620 volatile local ERRCODE rather than copying values out of C at return.
10622 2013-12-16 Joseph Myers <joseph@codesourcery.com>
10624 * math/auto-libm-test-in: Add tests of atan2, hypot and pow.
10625 * math/auto-libm-test-out: Regenerated.
10626 * math/libm-test.inc (atan2_test_data): Use AUTO_TESTS_ff_f.
10627 (hypot_test_data): Likewise.
10628 (pow_test_data): Likewise.
10629 (pow_tonearest_test_data): Likewise.
10630 * math/gen-auto-libm-tests.c (func_calc_method): Add value
10632 (func_calc_desc): Add mpfr_ff_f union field.
10633 (FUNC_mpfr_ff_f): New macro.
10634 (test_functions): Add atan2, hypot and pow.
10635 (special_fill_min): New function.
10636 (special_fill_minus_min): Likewise.
10637 (special_fill_min_subnorm): Likewise.
10638 (special_fill_minus_min_subnorm): Likewise.
10639 (special_real_inputs): Add min, -min, min_subnorm and
10641 (calc_generic_results): Handle mpfr_ff_f.
10642 * sysdeps/i386/fpu/libm-test-ulps: Update.
10643 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10645 2013-12-16 Will Newton <will.newton@linaro.org>
10647 * manual/memory.texi (Malloc Examples): Mention aligned_alloc.
10648 (Aligned Memory Blocks): Add documentation for aligned_alloc
10649 and suggest it as an alternative to posix_memalign.
10650 (Hooks for Malloc): Document __memalign_hook is also called
10651 for aligned_alloc. (Summary of Malloc): Add summary for
10652 aligned alloc. Document __memalign_hook is also called
10655 2013-12-16 Will Newton <will.newton@linaro.org>
10657 * manual/memory.texi (Malloc Examples): Clarify default
10658 alignment documentation. Suggest posix_memalign rather
10659 than memalign or valloc.
10660 (Aligned Memory Blocks): Remove suggestion to use memalign
10661 or valloc. Remove obsolete comment about BSD.
10662 Document memalign errno values and mark the function obsolete.
10663 Document posix_memalign returned error codes. Mark valloc
10664 as obsolete. (Hooks for Malloc): __memalign_hook is also
10665 called for posix_memalign and valloc.
10666 (Summary of Malloc): Add posix_memalign to function summary.
10667 __memalign_hook is also called for posix_memalign and valloc.
10669 2013-12-16 Siddhesh Poyarekar <siddhesh@redhat.com>
10671 * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SINCOS): Rename to
10675 (sloww): Use mynumber union. Expand ternary operator into
10676 if-else statements.
10677 (cslow): use mynumber union.
10679 2013-12-16 Allan McRae <allan@archlinux.org>
10681 * configure.ac: Set AUTOCONF when maintainer-mode is not used.
10682 * configure: Regenerated.
10684 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update file name.
10687 * configure.ac: Added --enable-maintainer-mode. Check for
10688 autoconf when enabled.
10689 * configure: Regenerated.
10691 * nscd/nscd.service: New file.
10692 * nscd/nscd.tmpfiles: New file.
10694 2013-12-14 Ondřej Bílka <neleai@seznam.cz>
10697 * sysdeps/x86_64/multiarch/strstr-sse2-unaligned.S: New file
10698 * sysdeps/x86_64/multiarch/strstr-c.c: Moved to ...
10699 * sysdeps/x86_64/multiarch/strstr.c: ... here.
10700 (strstr): Add __strstr_sse2_unaligned ifunc.
10701 * sysdeps/x86_64/multiarch/strcasestr-c.c: Moved to ...
10702 * sysdeps/x86_64/multiarch/strcasestr.c ... here.
10703 (strcasestr): Remove __strcasestr_sse42 ifunc.
10704 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Remove.
10705 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
10706 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
10708 2013-12-14 Kaz Kojima <kkojima@rr.iij4u.or.jp>
10710 * sysdeps/sh/sh4/fpu/bits/fenv.h: Move to ...
10711 * sysdeps/sh/bits/fenv.h: ... here.
10712 * sysdeps/sh/sh4/fpu/bits: Remove directory.
10714 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10716 * NEWS: Mention ppc64 STT_GNU_IFUNC support.
10718 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add hypot and
10719 hypotf multiarch implementations.
10720 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-power7.c: New file.
10721 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-ppc64.c: New file.
10722 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c: New file:
10723 multiarch hypot for PPC64.
10724 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-power7.c: New file.
10725 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-ppc64.c: New file.
10726 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c : New file:
10727 multiarch hypotf for PPC64.
10729 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add modf and
10730 modff multiarch implementations.
10731 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: New file.
10732 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c: New file.
10733 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: New file:
10734 multiarch modf for PPC64.
10735 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-power5+.c: New file.
10736 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-ppc64.c: New file.
10737 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c : New file:
10738 multiarch modff for PPC64.
10740 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add logb, logbf,
10741 and logl multiarch implementations.
10742 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-power7.c: New file.
10743 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c: New file.
10744 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: New file:
10745 multiarch logb for PPC64.
10746 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-power7.c: New file.
10747 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-ppc64.c: New file.
10748 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: New file:
10749 multiarch logb for PPC64.
10750 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-power7.c: New file.
10751 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-ppc64.c: New file.
10752 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl.c: New file:
10753 multiarch logb for PPC64.
10755 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf and
10756 isinff multiarch implementation.
10757 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: New
10759 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.S: New file.
10760 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: New file:
10761 multiarch isinf for PPC64.
10762 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: New
10764 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: New file:
10765 multiarch isinff for PPC64.
10767 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite and
10768 finitef multiarch implementation.
10769 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: New
10771 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.S: New file.
10772 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: New file:
10773 multiarch finite for PPC64.
10774 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: New
10776 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: New file:
10777 multiarch finitef for PPC64.
10779 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint and
10780 lrint multiarch implementation.
10781 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: New
10783 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: New file.
10784 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: New file:
10785 multiarch llrint for PPC64.
10786 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: New file:
10787 multiarch lrint for PPC64.
10789 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add copysign/
10790 copysignf multiarch implementation.
10791 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: New
10793 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: New
10795 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: New file:
10796 multiarch copysign for PPC64.
10797 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: New file:
10798 multiarch copysignf for PPC64.
10800 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add trunc/truncf
10801 multiarch implementation.
10802 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: New
10804 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: New
10806 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: New
10808 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: New
10810 multiarch llround for PPC64.
10811 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: New file:
10812 multiarch trunc for PPC64.
10813 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: New file:
10814 multiarch truncf for PPC64.
10816 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add round/roundf
10817 multiarch implementation.
10818 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: New
10820 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: New
10822 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: New
10824 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: New
10826 multiarch llround for PPC64.
10827 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: New file:
10828 multiarch round for PPC64.
10829 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: New file:
10830 multiarch roundf for PPC64.
10832 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add floor/floorf
10833 multiarch implementation.
10834 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: New
10836 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: New
10838 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: New
10840 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: New
10842 multiarch llround for PPC64.
10843 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: New file:
10844 multiarch floor for PPC64.
10845 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: New file:
10846 multiarch floorf for PPC64.
10848 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add ceil/ceilf
10849 multiarch implementation.
10850 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: New
10852 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: New
10854 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: New
10856 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: New
10858 multiarch llround for PPC64.
10859 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: New file:
10860 multiarch ceil for PPC64.
10861 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: New file:
10862 multiarch ceilf for PPC64.
10864 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
10865 multiarch implementation.
10866 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: New
10868 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: New
10870 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: New
10872 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: New file:
10873 multiarch llround for PPC64.
10874 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: New file:
10875 multiarch lround for PPC64.
10877 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
10878 multiarch implementation.
10879 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: New file.
10880 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: New file.
10881 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: New
10883 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: New file.
10884 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: New file.
10885 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: New file:
10886 multiarch isnan for PPC64.
10887 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: New file:
10888 multiarch isnanf for PPC64.
10890 * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: New file.
10891 * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: New file.
10892 * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: New file.
10893 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: New file.
10894 * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: New file
10895 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/Implies: Remove.
10897 * sysdeps/powerpc/fpu/w_sqrt.c: Remove file
10898 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
10899 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
10900 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
10902 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add stpcpy
10903 multiarch implementations.
10904 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
10905 (__libc_ifunc_impl_list): Likewise.
10906 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
10907 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: New file.
10908 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c : New file:
10909 multiarch stpcpy for PPC64.
10911 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcpy
10912 multiarch implementations.
10913 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
10914 (__libc_ifunc_impl_list): Likewise.
10915 * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: New file.
10916 * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: New file.
10917 * sysdeps/powerpc/powerpc64/multiarch/strcpy.c : New file:
10918 multiarch strcpy for PPC64.
10920 * string/wordcopy.c (_wordcopy_fwd_aligned): Add define to
10921 redefine function name.
10922 (_wordcopy_fwd_dest_aligned): Likewise.
10923 (_wordcopy_bwd_aligned): Likewise.
10924 (_wordcopy_bwd_dest_aligned): Likewise.
10925 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wordcopy
10926 multiarch implementations.
10927 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
10928 (__libc_ifunc_impl_list): Likewise.
10929 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: New file.
10930 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: New file.
10931 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: New file.
10932 * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c : New file:
10933 multiarch wcscpy for PPC64.
10935 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcscpy
10936 multiarch implementations.
10937 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
10938 (__libc_ifunc_impl_list): Likewise.
10939 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: New file.
10940 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: New file.
10941 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: New file.
10942 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c : New file:
10943 multiarch wcscpy for PPC64.
10945 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcsrchr
10946 multiarch implementations.
10947 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
10948 (__libc_ifunc_impl_list): Likewise.
10949 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: New file.
10950 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: New file.
10951 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: New file.
10952 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c : New file:
10953 multiarch wcsrchr for PPC64.
10955 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcschr
10956 multiarch implementations.
10957 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
10958 (__libc_ifunc_impl_list): Likewise.
10959 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: New file.
10960 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: New file.
10961 * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: New file.
10962 * sysdeps/powerpc/powerpc64/multiarch/wcschr.c : New file:
10963 multiarch wcschr for PPC64.
10965 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchrnul
10966 multiarch implementations.
10967 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
10968 (__libc_ifunc_impl_list): Likewise.
10969 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: New file.
10970 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-ppc64.c: New file.
10971 * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: New file:
10972 multiarch strchrnul for PPC64.
10974 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchr multiarch
10976 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
10977 (__libc_ifunc_impl_list): Likewise.
10978 * sysdeps/powerpc/powerpc64/multiarch/rtld-strchr.S: New file.
10979 * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: New file.
10980 * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: New file.
10981 * sysdeps/powerpc/powerpc64/multiarch/strchr.c: New file: multiarch
10984 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncmp multiarch
10986 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
10987 (__libc_ifunc_impl_list): Likewise.
10988 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: New file.
10989 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: New file.
10990 * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: New file.
10991 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: New file: multiarch
10994 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncasecmp
10995 multiarch implementations.
10996 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
10997 (__libc_ifunc_impl_list): Likewise.
10998 * sysdeps/powerpc/powerpc64/multiarch/strncase-power7.c: New file.
10999 * sysdeps/powerpc/powerpc64/multiarch/strncase.c: New file: multiarch
11000 strncasecmp for PPC64.
11001 * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: New file.
11002 * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: New file:
11003 multiarch strncasecmp_l for PPC64.
11005 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcasecmp
11006 multiarch implementations.
11007 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
11008 (__libc_ifunc_impl_list): Likewise.
11009 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: New file.
11010 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: New file:
11011 multiarch strcasecmp for PPC64.
11012 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: New
11014 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: new file:
11015 multiarch strcasecmp_l for PPC64.
11017 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strnlen multiarch
11019 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
11020 (__libc_ifunc_impl_list): Likewise.
11021 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: New file.
11022 * sysdeps/powerpc/powerpc64/multiarch/strnlen-ppc64.c: New file.
11023 * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: New file: multiarch
11026 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strlen multiarch
11028 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
11029 (__libc_ifunc_impl_list): Likewise.
11030 * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: New file.
11031 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: New file.
11032 * sysdeps/powerpc/powerpc64/multiarch/strlen.c: New file: multiarch
11035 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add rawmemch multiarch
11037 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
11038 (__libc_ifunc_impl_list): Likewise.
11039 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: New file.
11040 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-ppc64.c: New file.
11041 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: New file: multiarch
11042 rawmemrchr for PPC64.
11044 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memrchr multiarch
11046 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
11047 (__libc_ifunc_impl_list): Likewise.
11048 * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: New file.
11049 * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: New file.
11050 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: New file: multiarch
11053 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memchr multiarch
11055 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
11056 (__libc_ifunc_impl_list): Likewise.
11057 * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: New file.
11058 * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: New file.
11059 * sysdeps/powerpc/powerpc64/multiarch/memchr.c: New file: multiarch
11062 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add mempcpy multiarch
11064 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
11065 (__libc_ifunc_impl_list): Likewise.
11066 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: New file.
11067 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-ppc64.c: New file.
11068 * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: New file: multiarch
11071 * sysdeps/powerpc/powerpc64/memset.S (NO_BZERO_IMPL): Add macro to
11072 avoid cretion of __bzero symbol.
11073 * sysdeps/powerpc/powerpc64/power4/memset.S (NO_BZERO_IMPL):
11075 * sysdeps/powerpc/powerpc64/power6/memset.S (NO_BZERO_IMPL):
11077 * sysdeps/powerpc/powerpc64/power7/memset.S (NO_BZERO_IMPL):
11079 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memset/bzero
11080 multiarch implementations.
11081 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
11082 (__libc_ifunc_impl_list): Likewise.
11083 * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: New file.
11084 * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: New file.
11085 * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: New file.
11086 * sysdeps/powerpc/powerpc64/multiarch/bzero.c: New file: multiarch
11088 * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: New file.
11089 * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: New file.
11090 * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: New file.
11091 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: New file.
11092 * sysdeps/powerpc/powerpc64/multiarch/memset.c: New file: multiarch
11094 * sysdeps/powerpc/powerpc64/multiarch/rtld-memset.c: New file.
11096 * string/memcmp.c (memcmp): Using macro to redefine symbol name.
11097 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memcpy multiarch
11099 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
11100 (__libc_ifunc_impl_list): Likewise.
11101 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: New file.
11102 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: New file.
11103 * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: New file.
11104 * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: New file: multiarch
11107 * sysdeps/powerpc/powerpc64/multiarch/Makefile: New file to support
11108 multiarch for POWER/PPC64.
11109 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
11110 * sysdeps/powerpc/powerpc64/multiarch/init-arch.h: Likewise.
11111 * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: New file.
11112 * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: New file.
11113 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: New file.
11114 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: New file.
11115 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: New file.
11116 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: New file.
11117 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: New file: multiarch
11120 * sysdeps/powerpc/powerpc64/power4/fpu/Implies: New file.
11121 * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: New File.
11122 * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: New File.
11123 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: New File.
11124 * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: New File.
11125 * sysdeps/powerpc/powerpc64/power5/Implies: New File.
11126 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: New File.
11127 * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: New File.
11128 * sysdeps/powerpc/powerpc64/power6/fpu/Implies: New File.
11129 * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: New File.
11130 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: New File.
11131 * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: New File.
11132 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: New File.
11133 * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: New File.
11134 * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: New File.
11135 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: Remove.
11136 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/Implies: Remove.
11137 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: Remove.
11138 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: Remove.
11139 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: Remove.
11140 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: Remove.
11141 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Remove.
11143 2013-12-12 Kaz Kojima <kkojima@rr.iij4u.or.jp>
11145 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Use $$ver.
11147 2013-12-12 Siddhesh Poyarekar <siddhesh@redhat.com>
11149 * benchtests/Makefile (bench): Add exp2 and log2.
11150 (LDLIBS-bench-exp2): Add -lm.
11151 (LDLIBS-bench-log2): Likewise.
11152 * benchtests/exp2-inputs: New inputs file.
11153 * benchtests/log2-inputs: New inputs file.
11154 * benchtests/log-inputs: Add new inputs.
11155 * benchtests/tan-inputs: Likewise.
11157 2013-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
11159 * sysdeps/ieee754/dbl-64/s_sin.c (t22): Consolidate const
11161 (slow1, slow2, sloww1, sloww2, bsloww1, bsloww2, cslow2, csloww1)
11162 (csloww2): ... from here.
11164 * sysdeps/ieee754/dbl-64/usncs.h: Define constants as double
11165 instead of structures.
11166 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): Adjust.
11167 (POLYNOMIAL): Likewise.
11168 (TAYLOR_SLOW): Likewise.
11174 (sloww1); Likewise.
11175 (sloww2): Likewise.
11176 (bsloww1): Likewise.
11177 (bsloww2): Likewise.
11178 (cslow2): Likewise.
11179 (csloww): Likewise.
11180 (csloww1): Likewise.
11181 (csloww2): Likewise.
11183 2013-12-10 Ondřej Bílka <neleai@seznam.cz>
11185 * malloc/malloc.c (MALLOC_COPY, MALLOC_ZERO): Delete.
11186 (__malloc_assert, __libc_realloc, __libc_calloc, _int_realloc):
11187 Expand MALLOC_COPY and MALLOC_ZERO to memcpy and memset.
11188 * malloc/hooks.c (realloc_check): Likewise.
11190 * malloc/Makefile (CPPFLAGS-malloc.c): Remove -DPER_THREAD flag.
11191 * malloc/arena.c: Remove PER_THREAD conditional.
11192 [!PER_THREAD]: Remove code.
11193 (ptmalloc_unlock_all2): Likewise.
11194 (ptmalloc_init): Likewise.
11195 (_int_new_arena): Likewise.
11196 (arena_get2): Likewise.
11197 * malloc/hooks.c (__malloc_get_state): Likewise.
11198 (__malloc_set_state): Likewise.
11199 * malloc/malloc.c: Likewise.
11200 (struct malloc_state): Likewise.
11201 (struct malloc_par): Likewise.
11202 (__libc_realloc): Likewise.
11203 (__libc_mallopt): Likewise.
11205 2013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11207 * Versions.def (libm): Add GLIBC_2.3 and GLIBC_2.19.
11209 2013-12-09 Ondřej Bílka <neleai@seznam.cz>
11211 * malloc/malloc.c (alloc_perturb, free_perturb): Convert from
11212 macro to a function. Check for zero perturb_byte.
11213 (_int_malloc, _int_free): Remove zero perturb_byte checks.
11215 * malloc/malloc.c: (force_reg): Remove.
11216 (__malloc_assert, __libc_malloc, __libc_free, __libc_realloc)
11217 (_mid_memalign, __libc_calloc, sysmalloc, systrim): Replace
11218 force_reg by atomic_forced_read.
11219 * malloc/arena.c (ptmalloc_init): Likewise.
11220 * malloc/hooks.c (top_check): Likewise.
11222 2013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11224 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11226 2013-12-09 Markus Trippelsdorf <markus@trippelsdorf.de>
11228 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
11230 2013-12-08 Joseph Myers <joseph@codesourcery.com>
11232 * math/auto-libm-test-in: Add tests of lgamma.
11233 * math/auto-libm-test-out: Regenerated.
11234 * math/libm-test.inc (M_LOG_SQRT_PIl): Remove macro.
11235 (M_LOG_2_SQRT_PIl): Likewise.
11236 (lgamma_test_data): Use AUTO_TESTS_f_f1.
11237 * math/gen-auto-libm-tests.c (func_calc_method): Add value
11239 (func_calc_desc): Add mpfr_f_f1 union field.
11240 (ARGS1): New macro.
11248 (FUNC_mpfr_f_f): Use new macros FUNC, ARGS1, RET1 and CALC.
11249 (test_functions): Add lgamma.
11250 (calc_generic_results): Handle mpfr_f_f1.
11251 * sysdeps/i386/fpu/libm-test-ulps: Update.
11252 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11254 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11256 * sysdeps/powerpc/powerpc64/power7/add_n.S: New file: optimized
11257 __mpn_add_n for PowerPC64/POWER7.
11258 * sysdeps/powerpc/powerpc64/power7/sub_n.S: New file: optimized
11259 __mpn_sub_n for PowerPC64/POWER7.
11261 * sysdeps/powerpc/powerpc64/addmul_1.S: New file: optimized
11262 __mpn_addmul_1 for PowerPC64.
11263 * sysdeps/powerpc/powerpc64/submul_1.S: New file: optimized
11264 __mpn_submul_1 for PowerPC64.
11265 * sysdeps/powerpc/powerpc64/lshift.S: New file: optimized __mpn_lshift
11267 * sysdeps/powerpc/powerpc64/mul_1.S: New file: optimized __mpn_mul_1
11270 2013-12-06 Fernando J. V. da Silva <fernandojvdasilva@gmail.com>
11273 * malloc/malloc.c: Exit systrim() if pad is bigger than heap top size.
11275 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11277 * NEWS: Mention ppc32/power4+ STT_GNU_IFUNC support.
11279 * sysdeps/powerpc/powerpc32/power5+/fpu/multiarch/Implies: New file:
11280 add multiarch folders.
11281 * sysdeps/powerpc/powerpc32/power5+/multiarch/Implies: Likewise.
11282 * sysdeps/powerpc/powerpc32/power5/fpu/multiarch/Implies: Likewise.
11283 * sysdeps/powerpc/powerpc32/power5/multiarch/Implies: Likewise.
11284 * sysdeps/powerpc/powerpc32/power6/fpu/multiarch/Implies: Likewise.
11285 * sysdeps/powerpc/powerpc32/power6/multiarch/Implies: Likewise.
11286 * sysdeps/powerpc/powerpc32/power6x/fpu/multiarch/Implies: Likewise.
11287 * sysdeps/powerpc/powerpc32/power6x/multiarch/Implies: Likewise.
11288 * sysdeps/powerpc/powerpc32/power7/fpu/multiarch/Implies: Likewise.
11289 * sysdeps/powerpc/powerpc32/power7/multiarch/Implies: Likewise.
11290 * sysdeps/powerpc/powerpc32/power8/fpu/multiarch/Implies: Likewise.
11291 * sysdeps/powerpc/powerpc32/power8/multiarch/Implies: Likewise.
11292 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/Implies: Remove.
11293 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: Remove.
11294 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: Remove.
11295 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: Remove.
11296 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: Remove.
11297 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Remove.
11299 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
11300 __ieee754_hypot and __ieee754_hypotf multiarch implementations.
11301 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-power7.c:
11303 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-ppc32.c:
11305 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c: New file:
11306 multiarch __ieee754_hypot for PowerPC32.
11307 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-power7.c:
11309 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-ppc32.c:
11311 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c: New file:
11312 multiarch __ieee754_hypotf for PowerPC32.
11314 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Define
11315 long_double_symbol only if __logbl is defined.
11316 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Moved to ...
11317 * sysdeps/powerpc/power7/fpu/s_logb.c: ... here.
11318 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: Move to ...
11319 * sysdeps/powerpc/power7/fpu/s_logbf.c: ... here.
11320 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: Move to ...
11321 * sysdeps/powerpc/power7/fpu/s_logbl.c: ... here.
11322 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Adjust to use new
11323 path for implementation.
11324 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
11325 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
11326 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add logbf,
11327 logb, and logbl multiarch implementations for PowerPC32.
11328 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c: New
11330 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c: New
11332 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: New file:
11333 multiarch logb for PowerPC32.
11334 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c: New
11336 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-ppc32.c: New
11338 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c: New file:
11339 multiarch logbf for PowerPC32.
11340 * sysdeps/powerpc/power4/fpu/multiarch/s_logbl-power7.c: New file.
11341 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-ppc32.c: New
11343 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl.c: New file:
11344 multiarch logbl implementation for PowerPC32.
11346 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add modf
11347 and modff multiarch implementations.
11348 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
11350 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c:
11352 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: New file:
11353 multiarch modf for PowerPC32.
11354 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
11356 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-ppc32.c:
11358 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c: New file:
11359 multiarch modff for PowerPC32.
11361 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lrint
11362 and lrintf multiarch implementations.
11363 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-power6x.S:
11365 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
11367 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c: New file:
11368 multiarch lrint for PowerPC32.
11369 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c: New
11370 file: multiarch lrintf for PowerPC32.
11372 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lround
11373 and lroundf multiarch implementations.
11374 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
11376 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power6.S:
11378 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
11380 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c: New file:
11381 multiarch lround for PowerPC32.
11382 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c: New
11383 file: multiarch lroundf for PowerPC32.
11385 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
11386 copysign and copysignf multiarch implementations.
11387 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
11389 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
11391 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c: New
11392 file: multiarch copysign for PowerPC32.
11393 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c: New
11394 file: multiarch copysignf for PowerPC32.
11396 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add trunc
11397 and truncf multiarch implementations.
11398 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-power5+.S:
11400 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-ppc32.S: New
11402 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: New file:
11403 multiarch trunc for PowerPC32.
11404 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-power5+.S:
11406 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-ppc32.S:
11408 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: New file:
11409 multiarch truncf for PowerPC32.
11411 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add round
11412 and roundf multiarch implementations.
11413 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-power5+.S:
11415 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-ppc32.S: New
11417 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: New file:
11418 multiarch round for PowerPC32.
11419 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-power5+.S:
11421 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-ppc32.S:
11423 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: New file:
11424 multiarch roundf for PowerPC32.
11426 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add floor
11427 and floorf multiarch implementations.
11428 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
11430 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S: New
11432 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: New file:
11433 multiarch floor for PowerPC32.
11434 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
11436 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
11438 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: New file:
11439 multiarch floorf for PowerPC32.
11441 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add ceil
11442 and ceilf multiarch implementations.
11443 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
11445 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S: New
11447 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: New file:
11448 multiarch ceil for PowerPC32.
11449 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
11451 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S: New
11453 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: New file:
11454 multiarch ceilf for PowerPC32.
11456 * sysdeps/ieee754/dbl-64/s_finite.c (__finite): Redefine it if FINITE
11458 * sysdeps/ieee754/flt-32/s_finitef.c (__finitef): Redefine it if
11459 FINITEF is defined.
11460 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add finite
11461 and finitef multiarch implementations.
11462 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
11464 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c: New
11466 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: New file:
11467 multiarch finite for PowerPC32.
11468 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
11470 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: New
11471 file: multiarch finitef for PowerPC32.
11473 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isinf
11474 and isinff multiarch implementations.
11475 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S: New
11477 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c: New
11479 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: New file:
11480 multiarch isinf for PowerPC32.
11481 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
11483 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: New file:
11484 multiarch isinff for PowerPC32.
11486 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S (__isnan): Only implement
11487 alias when __isnan is defined.
11488 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isnan
11489 and isnanf multiarch implementations.
11490 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S: New
11492 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S: New
11494 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S: New
11496 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S: New
11498 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: New file:
11499 multiarch isnan for PowerPC32.
11500 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
11502 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power7.S:
11504 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: New file:
11505 multiarch isnanf for PowerPC32.
11507 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add sqrt
11508 and sqrtf multiarch implementations.
11509 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S: New
11511 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S: New
11513 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: New file:
11514 multiarch sqrt for PowerPC32.
11515 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S: New
11517 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S: New
11519 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: New file:
11520 multiarch sqrtf for PowerPC32.
11522 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add llround
11523 and llroundf multiarch implementations.
11524 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
11526 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
11528 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
11530 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c: New
11531 file: multiarch llround for PowerPC32.
11532 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c: New
11533 file: multiarch llroundf for PowerPC32.
11535 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: New file:
11536 multiarch PowerPC32 fpu implementations.
11537 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
11539 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
11541 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c: New file:
11542 multiarch llrint for PowerPC32.
11543 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
11545 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
11547 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c: New
11550 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/Implies: Remove.
11552 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: New
11554 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power7.c: New
11556 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c: New
11558 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: New file:
11559 multiarch wordcopy for PPC32.
11560 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
11562 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
11563 (__libc_ifunc_impl_list): Likewise.
11564 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Move ...
11565 * sysdeps/powerpc/power4/wordcopy.c: ... to here.
11566 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Move ...
11567 * sysdeps/powerpc/power6/wordcopy.c: ... to here.
11568 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Remove uneeded file.
11569 * sysdeps/powerpc/powerpc64/power4/wordcopy.c: Likewise.
11571 * wcsmbs/wcscpy.c (wcscpy): Using macro to redefine symbol name
11572 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c: New
11574 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c: New
11576 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: New
11578 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: New file:
11579 multiarch wcscpy for PPC32.
11580 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
11582 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
11583 (__libc_ifunc_impl_list): Likewise.
11584 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
11585 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
11586 * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Adjust to use
11587 sysdeps/powerpc/power6/wcscpy.c.
11589 * wcsmbs/wcsrchr.c (wcsrchr): Using macro to redefine symbol name
11590 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c: New
11592 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c: New
11594 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: New
11596 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: New file:
11597 multiarch wcsrchr for PPC32.
11598 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
11600 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
11601 (__libc_ifunc_impl_list): Likewise.
11602 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
11603 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
11604 * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Adjust to use
11605 sysdeps/powerpc/power6/wcsrchr.c.
11607 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c: New
11609 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c: New
11611 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: New file.
11612 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: New file:
11613 multiarch wcschr for PPc32.
11614 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
11616 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
11617 (__libc_ifunc_impl_list): Likewise.
11618 * sysdeps/powerpc/powerpc32/power6/wcschr.c: Move ...
11619 * sysdeps/powerpc/power6/wcschr.c: ... to here.
11620 * sysdeps/powerpc/powerpc64/power6/wcschr.c: Adjust to use
11621 sysdeps/powerpc/power6/wcschr.c.
11623 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strchr.S: New file.
11624 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-power7.S: New
11626 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-ppc32.S: New file.
11627 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/strchr.c: New
11628 file: multiarch strchr for PPC32.
11629 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchr
11631 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
11632 (__libc_ifunc_impl_list): Likewise.
11634 * string/strchrnul.c (__strchrnul): Using macro to redefine symbol
11636 * sysdeps/powerpc/powerpc32/power4//multiarch/strchrnul-power7.S: New
11638 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul-ppc32.c: New
11640 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: New file:
11641 multiarch strchrnul for PPC32.
11642 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchrnul
11644 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
11645 (__libc_ifunc_impl_list): Likewise.
11647 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase-power7.c: New
11649 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: New file:
11650 multiarch strncasecmp for PPC32.
11651 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l-power7.c: New
11653 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: New file:
11654 multiarch strncasecmp_l for PPC32.
11655 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added
11656 strncasecmp multiarch objects.
11657 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
11658 (__libc_ifunc_impl_list): Likewise.
11660 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S: New
11662 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: New file:
11663 multiarch strncasecmp for PPC32.
11664 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
11666 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: New file:
11667 multiarch strcasecmp_l for PPC32.
11668 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strcasecmp
11670 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
11671 (__libc_ifunc_impl_list): Likewise.
11673 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-power7.S: New
11675 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: New
11677 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: New file:
11678 multiarch strncmp for PPC32.
11679 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strncmp
11681 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
11682 (__libc_ifunc_impl_list): Likewise.
11684 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strnlen.c: New file.
11685 * sysdeps/powerpc/powerpc32//power4/multiarch/strnlen-power7.S: New
11687 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c: New file.
11688 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: New file.
11689 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strnlen
11691 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
11692 (__libc_ifunc_impl_list): Likewise.
11694 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-power7.S: New
11696 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: New
11698 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: New file.
11699 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strlen
11701 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
11702 (__libc_ifunc_impl_list): Likewise.
11704 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-power7.S: New
11706 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-ppc32.c: New
11708 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: New file:
11709 multiarch rawmemchr for PPC32.
11710 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added rawmemchr
11712 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
11713 (__libc_ifunc_impl_list): Likewise.
11715 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-power7.S: New
11717 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: New
11719 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: New
11720 file: memrchr multiarch for PPC32.
11721 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added memrchr
11723 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
11724 (__libc_ifunc_impl_list): Likewise.
11726 * string/memchr.c (__memchr): Using macro to redefine symbol name.
11727 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-power7.S: New
11729 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c: New File.
11730 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: New file:
11731 multiarch memchr for PPC32.
11732 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memchr
11734 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
11735 (__libc_ifunc_impl_list): Likewise.
11737 * string/mempcpy.c (__mempcpy): Using macro to redefine symbol name.
11738 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-power7.S: New
11740 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-ppc32.c: New
11742 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: New
11743 file: multiarch mempcpy for PPC32.
11744 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add mempcpy
11746 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
11747 (__libc_ifunc_impl_list): Likewise.
11749 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power6.S: New file.
11750 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power7.S: New file.
11751 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S: New file.
11752 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: New file:
11753 multiarch bzero for PPC32.
11754 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power6.S: New
11756 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power7.S: New
11758 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: New file.
11759 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/memset.c: New
11760 file: multiarch memset for PPC32.
11761 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memset.S: New file.
11762 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add bzero and
11763 memset multiarch objects.
11764 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
11765 (__libc_ifunc_impl_list): Likewise.
11767 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-power7.S: New
11769 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: New file.
11770 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: multiarch
11772 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memcmp.S: New file.
11773 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcmp
11775 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
11776 (__libc_ifunc_impl_list): Likewise.
11778 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-a2.S: New file.
11779 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-cell.S: New file.
11780 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power6.S: New
11782 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power7.S: New
11784 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: New
11786 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: New file:
11787 multiarch memcpy for PPC32.
11788 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcpy
11790 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
11791 (__libc_ifunc_impl_list): Likewise.
11793 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: New file to
11794 support multiarch for POWER/PPC32.
11795 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
11797 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
11798 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: Remove
11799 Implies file to make multiarch folder appers before the fpu and
11800 default folder for power4 configuration.
11802 2013-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
11804 * scripts/bench.pl: Append volatile keyword to type.
11806 2013-12-05 Kaz Kojima <kkojima@rr.iij4u.or.jp>
11808 * sysdeps/sh/sotruss-lib.c: New file.
11809 * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: New file.
11811 2013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11813 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11815 2013-12-05 Joseph Myers <joseph@codesourcery.com>
11818 * math/w_tgamma.c: Include <errno.h>.
11819 (__tgamma): Use __glibc_unlikely. Set errno on underflow to 0.
11820 * math/w_tgammaf.c: Include <errno.h>.
11821 (__tgammaf): Use __glibc_unlikely. Set errno on underflow to 0.
11822 * math/w_tgammal.c: Include <errno.h>.
11823 (__tgammal): Use __glibc_unlikely. Set errno on underflow to 0.
11824 * math/auto-libm-test-in: Do not allow missing errno on tgamma
11825 underflow. Add more tgamma tests.
11826 * math/auto-libm-test-out: Regenerated.
11827 * sysdeps/i386/fpu/libm-test-ulps: Update.
11828 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11830 * math/auto-libm-test-in: Add tests of log, log10, log1p, log2,
11831 sin, sinh, tan, tanh, tgamma, y0 and y1.
11832 * math/auto-libm-test-out: Regenerated.
11833 * math/libm-test.inc (TEST_COND_x86_64): New macro.
11834 (TEST_COND_x86): Likewise.
11835 (M_E2l): Remove macro.
11837 (M_2_SQRT_PIl): Likewise.
11838 (M_SQRT_PIl): Likewise.
11839 (M_1_DIV_El): Likewise.
11840 (log_test_data): Use AUTO_TESTS_f_f.
11841 (log10_test_data): Likewise.
11842 (log1p_test_data): Likewise.
11843 (log2_test_data): Likewise.
11844 (sin_test_data): Likewise.
11845 (sin_tonearest_test_data): Likewise.
11846 (sin_towardzero_test_data): Likewise.
11847 (sin_downward_test_data): Likewise.
11848 (sin_upward_test_data): Likewise.
11849 (sinh_test_data): Likewise.
11850 (sinh_tonearest_test_data): Likewise.
11851 (sinh_towardzero_test_data): Likewise.
11852 (sinh_downward_test_data): Likewise.
11853 (sinh_upward_test_data): Likewise.
11854 (tan_test_data): Likewise.
11855 (tan_tonearest_test_data): Likewise.
11856 (tan_towardzero_test_data): Likewise.
11857 (tan_downward_test_data): Likewise.
11858 (tan_upward_test_data): Likewise.
11859 (tanh_test_data): Likewise.
11860 (tgamma_test_data): Likewise.
11861 (y0_test_data): Likewise.
11862 (y1_test_data): Likewise.
11863 * math/gen-auto-libm-tests.c (special_fill_pi_4): New function.
11864 (special_real_inputs): Add pi/4.
11865 * sysdeps/i386/fpu/libm-test-ulps: Update.
11866 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11868 2013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11870 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Add "longjmp" and
11871 "longjmp_target" static probes.
11872 (__longjmp): Rename to __longjmp_symbol.
11873 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
11874 * sysdeps/powerpc/powerpc32/__longjmp.S: Define __longjmp_symbol based
11875 on which longjmp to generate.
11876 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
11877 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Add "setjmp" static
11879 (__sigsetjmp): Rename to __sigsetjmp_symbol.
11880 (__sigjmp_save): Rename to __sigjmp_save_symbol.
11881 * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
11882 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Define __sigsetjmp_symbol
11883 and __sigjmp_save_symbol based on which sigsetjmp to generated.
11884 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise
11885 * sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Define
11886 __longjmp_symbol based on which __longjmp to generate.
11887 * sysdeps/powerpc/powerpc64/setjmp-common.S: Add "setjmp" static
11889 (setjmp): Rename to setjmp_symbol.
11890 (__sigsetjmp): Rename to __sigsetjmp_symbol.
11891 (_setjmp): Rename to _setjmp_symbol.
11892 (__sigsetjmp): Rename to __sigsetjmp_symbol.
11893 * sysdeps/powerpc/powerpc64/setjmp.S: Define setjmp_symbol,
11894 _setjmp_symbol, __sigsetjmp_symbol, and __sigjmp_save_symbol based on
11895 which setjmp to generate.
11896 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Add "longjmp" and
11897 "longjmp_target" static probes.
11899 2013-12-05 Siddhesh Poyarekar <siddhesh@redhat.com>
11901 * benchtests/README: Add note about output arguments.
11902 * benchtests/bench-sincos.c: Remove file.
11903 * benchtests/sincos-inputs: New file.
11904 * scripts/bench.pl: Identify output arguments and define
11905 static variables for them.
11907 * debug/stpncpy_chk.c (__stpncpy_chk): Remove unused variables.
11910 * Makefile (INSTALL): Add install-plain.texi as the primary
11912 * manual/install-plain.texi: New file.
11913 * manual/install.texi: Include node directive only for
11914 non-plaintext output.
11916 2013-12-04 Joseph Myers <joseph@codesourcery.com>
11918 * stdlib/longlong.h: Update from GCC.
11922 * math/w_j0.c (y0): Raise FE_DIVBYZERO on zero argument.
11923 * math/w_j0f.c (y0f): Likewise.
11924 * math/w_j0l.c (__y0l): Likewise.
11925 * math/w_j1.c (y1): Likewise.
11926 * math/w_j1f.c (y1f): Likewise.
11927 * math/w_j1l.c (__y1l): Likewise
11928 * math/w_jn.c (yn): Likewise.
11929 * math/w_jnf.c (ynf): Likewise.
11930 * sysdeps/ieee754/k_standard.c (__kernel_standard): Use ERANGE for
11931 Bessel function pole errors in _POSIX_ mode. Use NAN as return
11932 value for Bessel function domain errors outside _SVID_ mode.
11933 Adjust sign of return value for yn (negative integer, 0).
11934 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Use division
11935 by zero in return for negative x and set sign appropriately for
11937 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Likewise.
11938 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
11939 * math/libm-test.inc (y0_test_data): Add more tests and adjust
11940 expectations in error cases.
11941 (y1_test_data): Likewise.
11942 (yn_test_data): Likewise.
11943 * sysdeps/i386/fpu/libm-test-ulps: Update.
11944 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11946 2013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
11948 * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-variants): Rename
11949 "64" to "64-v1". Add "64-v2".
11950 (abi-64-options): Rename to ...
11951 (abi-64-v1-options): ... this. Redefine _CALL_ELF.
11952 (abi-64-condition): Rename to ...
11953 (abi-64-v1-condition): ... this. Add _CALL_ELF check.,
11954 (abi-64-ld-soname): Rename to ...
11955 (abi-64-v1-ld-soname): ... this.
11956 (abi-64-v2-options): Define.
11957 (abi-64-v2-condition): Likewise.
11958 (abi-64-v2-ld-soname): Likewise.
11959 * sysdeps/unix/sysv/linux/powerpc/ldconfig.h
11960 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add "/lib64/ld64.so.2".
11961 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: Delete file.
11962 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: New file.
11963 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Generate.
11965 2013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
11966 Alan Modra <amodra@gmail.com>
11968 * sysdeps/powerpc/bits/link.h (La_ppc64v2_regs, La_ppc64v2_retval):
11969 New versions for use with the ELFv2 ABI.
11970 (la_ppc64v2_gnu_pltenter, la_ppc64v2_gnu_pltexit): Add prototypes.
11971 * sysdeps/powerpc/lsdodefs.h (struct La_ppc64v2_regs): Add forward
11973 (struct La_ppc64v2_retval): Likewise.
11974 (ARCH_PLTENTER_MEMBERS): Add ppc64v2_gnu_pltenter.
11975 (ARCH_PLTEXIT_MEMBERS): Add ppc64v2_gnu_pltexit.
11976 * sysdeps/powerpc/powerpc64/dl-machine.h (ARCH_LA_PLTENTER): Define
11977 to ppc64v2_gnu_pltenter if _CALL_ELF == 2.
11978 (ARCH_LA_PLTEXIT): Define to ppc64v2_gnu_pltexit if _CALL_ELF == 2.
11979 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
11980 Do not save or restore CR.
11981 (FRAME_SIZE, VR_RTN): Provide updated values for _CALL_ELF == 2.
11982 (_dl_profile_resolve): Do no save or restore CR. Support extended
11983 return values for ELFv2 ABI. Fix location of FPR return registers.
11984 * sysdeps/powerpc/powerpc64/tst-audit.h (pltenter, pltexit): Provide
11985 updated values for _CALL_ELF == 2.
11986 (La_regs, La_retval, int_retval): Likewise.
11988 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
11990 * sysdeps/powerpc/powerpc64/sysdep.h (FRAME_MIN_SIZE): Define.
11991 (FRAME_MIN_SIZE_PARM): Likewise.
11992 (FRAME_BACKCHAIN): Likewise.
11993 (FRAME_CR_SAVE): Likewise.
11994 (FRAME_LR_SAVE): Likewise.
11995 (FRAME_TOC_SAVE): Likewise.
11996 (FRAME_PARM_SAVE): Likewise.
11997 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
11998 FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
11999 FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
12000 (call_mcount_parm_offset): New macro.
12001 (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Use it.
12002 (PROF): Use symbolic stack frame offsets.
12003 (TAIL_CALL_SYSCALL_ERROR): Likewise.
12004 * sysdeps/powerpc/powerpc64/dl-trampoline.S (FRAME_SIZE, INT_PARMS):
12005 Redefine in terms of FRAME_MIN_SIZE.
12006 (_dl_runtime_resolve): Use symbolic stack frame offsets.
12007 (_dl_profile_resolve): Likewise. Update comment.
12008 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Use
12009 symbols stack frame offsets.
12010 (__sigsetjmp): Likewise.
12011 * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
12012 * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Likewise.
12013 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Likewise.
12014 * sysdeps/powerpc/powerpc64/crtn.S (_init, _fini): Likewise.
12016 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym
12017 (FRAME_BACKCHAIN): Remove.
12018 (FRAME_CR_SAVE): Likewise.
12019 (FRAME_LR_SAVE): Likewise.
12020 (FRAME_COMPILER_DW): Likewise.
12021 (FRAME_LINKER_DW): Likewise.
12022 (FRAME_TOC_SAVE): Likewise.
12023 (FRAME_PARM_SAVE): Likewise.
12024 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE)
12025 (FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE)
12026 (FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
12027 * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S
12028 (CHECK_SP): Use symbolic stack frame offsets.
12029 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Use "red
12030 zone" instead of caller's parameter save area for temp storage.
12031 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
12032 Likewise. Also, use symbolic stack frame offsets.
12033 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (FRAMESIZE,
12034 stackblock): Redefine for _CALL_ELF == 2 to save parameters into
12035 our own stack frame instead of the caller's.
12036 (__socket): Use symbolic stack frame offsets.
12038 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
12039 Alan Modra <amodra@gmail.com>
12041 * elf/elf.h (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC):
12043 (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK)
12044 (PPC64_LOCAL_ENTRY_OFFSET): Define.
12045 * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
12047 (elf_machine_fixup_plt): Call it.
12048 (elf_machine_plt_conflict): Likewise. Add map, sym_map, and
12050 (elf_machine_rela): Update call to elf_machine_plt_conflict.
12051 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
12052 (_dl_profile_resolve) [_CALL_ELF == 2]: Restore caller's TOC into
12053 r2 before calling target.
12055 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
12056 Alan Modra <amodra@gmail.com>
12058 * sysdeps/powerpc/powerpc64/sysdep.h [_CALL_ELF == 2]
12059 (PPC64_LOAD_FUNCPTR, DOT_LABEL, BODY_LABEL, ENTRY_2, END_2): New
12060 versions of macros to support ELFv2 ABI.
12061 (LOCALENTRY): New macro.
12062 (ENTRY, EALIGN): Use it.
12063 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use LOCALENTRY.
12064 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Do not
12065 fall through into ENTRY entry point.
12066 * libc/sysdeps/powerpc/powerpc64/dl-machine.h (Elf64_FuncDesc):
12067 Only define if _CALL_ELF != 2.
12069 (elf_machine_matches_host): Verify ABI version matches.
12070 (RTLD_START): Use LOCALENTRY.
12071 (elf_machine_type_class): Use SHN_UNDEF PLT handling for ELFv2 ABI.
12072 (PLT_INITIAL_ENTRY_WORDS): New version for _CALL_ELF != 2.
12073 (PLT_ENTRY_WORDS): New macro.
12074 (GLINK_INITIAL_ENTRY_WORDS, GLINK_ENTRY_WORDS): Likewise.
12075 (elf_machine_runtime_setup): Support ELFv2 ABI.
12076 (elf_machine_fixup_plt): Likewise.
12077 (elf_machine_plt_conflict): Likewise.
12078 (resolve_ifunc): Likewise.
12079 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
12080 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
12082 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h
12083 (DL_ADDR_SYM_MATCH): Only define if _CALL_ELF != 2.
12084 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
12085 (makecontext): Support ELFv2 ABI.
12086 * elf/elf.h (EF_PPC64_ABI): Define.
12088 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
12090 * sysdeps/powerpc/powerpc64/sysdep.h
12091 (PPC64_LOAD_FUNCPTR) [ASSEMBLER]: New assembler macro.
12092 (ENTRY_1) [ASSEMBLER]: Do not switch to .text section here ...
12093 (ENTRY) [ASSEMBLER]: ... but instead here ...
12094 (EALIGN) [ASSEMBLER]: ... and here.
12095 (PPC64_LOAD_FUNCPTR) [!ASSEMBLER]: New macro.
12096 (ENTRY_1) [!ASSEMBLER]: New macro; set up .opd entry.
12097 (ENTRY_2) [!ASSEMBLER]: Use it.
12098 * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Update for
12099 ENTRY_2 changes. Use PPC64_LOAD_FUNCPTR.
12100 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
12101 (_dl_profile_resolve): Use PPC64_LOAD_FUNCPTR.
12102 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use ENTRY_2.
12103 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (clone):
12104 Use PPC64_LOAD_FUNCPTR.
12106 * sysdeps/powerpc/tls.h (tcbhead_t): Add __private_ss field.
12108 2013-12-04 Alan Modra <amodra@gmail.com>
12110 * elf/elf.h (R_PPC64_TLSGD, R_PPC64_TLSLD, R_PPC64_TOCSAVE): Define.
12111 (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA): Likewise.
12112 (R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA): Likewise.
12113 (R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Likewise.
12115 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Add
12116 overflow checking for R_PPC64_ADDR16_HI, R_PPC64_ADDR16_HA,
12117 R_PPC64_TPREL16_HI, and R_PPC64_TPREL16_HA.
12118 Support new R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
12119 R_PPC64_TPREL16_HIGH, and R_PPC64_TPREL16_HIGHA relocations.
12120 Fix overflow checking for R_PPC64_ADDR30 and R_PPC64_ADDR32.
12122 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
12124 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
12125 (__makecontext): Fix incorrect CFI when backtracing out of
12126 context created via makecontext.
12127 * sysdeps/unix/sysv/linux/powerpc/powerpc64/secontext.S
12128 (__setcontext): Fix incorrect CFI during switch to new context.
12129 (__novec_setcontext): Likewise.
12131 2013-12-04 Ondřej Bílka <neleai@seznam.cz>
12134 * time/strptime_l.c (__strptime_internal): Allow modifiers
12136 * time/tst-strptime.c (day_tests): Add testcase.
12138 2013-12-04 Siddhesh Poyarekar <siddhesh@redhat.com>
12140 * scripts/bench.pl: Skip over blank lines.
12142 2013-12-04 Paul Eggert <eggert@cs.ucla.edu>
12145 * manual/time.texi (Calendar Time): Clarify what timezone functions
12148 2013-12-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12150 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12152 2013-12-04 Ondřej Bílka <neleai@seznam.cz>
12154 * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom
12156 * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
12157 * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
12158 * debug/memset_chk.c (__memset_chk): Likewise.
12159 * debug/stpncpy_chk.c (__stpncpy_chk): Likewise.
12160 * debug/strncpy_chk.c: Likewise.
12162 2013-12-03 Joseph Myers <joseph@codesourcery.com>
12166 * sysdeps/ieee754/dbl-64/e_exp.c: Include <float.h>.
12167 (__ieee754_exp): For possibly underflowing results, check size of
12168 result and force underflow exception if required.
12169 * math/auto-libm-test-in: Add more tests of exp.
12170 * math/auto-libm-test-out: Regenerated.
12171 * sysdeps/i386/fpu/libm-test-ulps: Update.
12172 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12175 * math/w_exp2.c (__exp2): Handle a zero result as underflow.
12176 * math/w_exp2f.c (__exp2f): Likewise.
12177 * math/w_exp2l.c (__exp2l): Likewise.
12178 * math/auto-libm-test-in: Do not allow missing errno on exp2
12180 * math/auto-libm-test-out: Regenerated.
12182 2013-12-03 Ondřej Bílka <neleai@seznam.cz>
12185 * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly
12186 handle filename validation.
12187 * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails.
12190 2013-12-03 Joseph Myers <joseph@codesourcery.com>
12193 * sysdeps/ieee754/dbl-64/s_erf.c: Include <errno.h> and <float.h>.
12194 (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny.
12195 * sysdeps/ieee754/flt-32/s_erff.c: Include <errno.h> and
12197 (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny.
12198 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <errno.h>.
12199 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
12200 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <errno.h>.
12201 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
12202 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <errno.h>.
12203 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
12204 * math/auto-libm-test-in: Don't allow missing errno from erfc.
12205 Add more erfc tests.
12206 * math/auto-libm-test-out: Regenerated.
12207 * sysdeps/i386/fpu/libm-test-ulps: Update.
12208 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12210 * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10,
12211 exp2, expm1, j0 and j1.
12212 * math/auto-libm-test-out: Regenerated.
12213 * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f.
12214 (erfc_test_data): Likewise.
12215 (exp_test_data): Likewise.
12216 (exp_tonearest_test_data): Likewise.
12217 (exp_towardzero_test_data): Likewise.
12218 (exp_downward_test_data): Likewise.
12219 (exp_upward_test_data): Likewise.
12220 (exp10_test_data): Likewise.
12221 (exp2_test_data): Likewise.
12222 (expm1_test_data): Likewise.
12223 (j0_test_data): Likewise.
12224 (j1_test_data): Likewise.
12225 * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment.
12226 (input_flag_type): Add flag_xfail_rounding.
12227 (input_flags): Add xfail-rounding.
12228 (adjust_real): Assert mpfr_number_p not mpfr_regular_p.
12229 (output_for_one_input_case): Handle flag_xfail_rounding.
12230 * sysdeps/i386/fpu/libm-test-ulps: Update.
12231 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12233 2013-12-03 Aurelien Jarno <aurelien@aurel32.net>
12236 * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
12239 2013-12-03 Siddhesh Poyarekar <siddhesh@redhat.com>
12242 * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
12243 (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
12244 (STAP_PROBE0): New macro.
12245 (STAP_PROBE1): Likewise.
12246 (STAP_PROBE2): Likewise.
12247 (STAP_PROBE3): Likewise.
12248 (STAP_PROBE4): Likewise.
12250 2013-12-02 Ondřej Bílka <neleai@seznam.cz>
12252 * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
12254 2013-12-02 Steve Ellcey <sellcey@mips.com>
12256 * benchtests/Makefile (bench): Add sqrt.
12257 (LDLIBS-bench-sqrt): New.
12258 * benchtests/sqrt-input: New.
12260 2013-12-02 Pavel Simerda <psimerda@redhat.com>
12262 * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
12263 (GAIH_EAI): Likewise.
12264 (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
12265 (gaih_inet): Likewise.
12266 (getaddrinfo): Don't use GAIH_EAI.
12268 * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
12269 (struct gaih): Remove definition.
12271 2013-12-02 Siddhesh Poyarekar <siddhesh@redhat.com>
12273 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
12274 Use HERRNOP directly.
12276 2013-12-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12278 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12280 2013-11-30 Joseph Myers <joseph@codesourcery.com>
12282 * math/gen-auto-libm-tests.c (test_functions): Add more
12283 single-argument functions.
12284 (special_fill_pi_2): New function.
12285 (special_fill_minus_pi_2): Likewise.
12286 (special_fill_pi_6): Likewise.
12287 (special_fill_minus_pi_6): Likewise.
12288 (special_fill_pi_3): Likewise.
12289 (special_fill_2pi_3): Likewise.
12290 (special_fill_e): Likewise.
12291 (special_fill_1_e): Likewise.
12292 (special_fill_e_minus_1): Likewise.
12293 (special_real_inputs): Add more special inputs.
12294 (output_for_one_input_case): Do not require ERANGE on underflow to
12295 zero if round-to-nearest result does not underflow to zero, unless
12296 exact results required.
12297 * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
12298 atan, atanh, cbrt, cos and cosh.
12299 * math/auto-libm-test-out: Regenerated.
12300 * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
12301 (acos_tonearest_test_data): Likewise.
12302 (acos_towardzero_test_data): Likewise.
12303 (acos_downward_test_data): Likewise.
12304 (acos_upward_test_data): Likewise.
12305 (acosh_test_data): Likewise.
12306 (asin_test_data): Likewise.
12307 (asin_tonearest_test_data): Likewise.
12308 (asin_towardzero_test_data): Likewise.
12309 (asin_upward_test_data): Likewise.
12310 (asinh_test_data): Likewise.
12311 (atan_test_data): Likewise.
12312 (atanh_test_data): Likewise.
12313 (cbrt_test_data): Likewise.
12314 (cos_test_data): Likewise.
12315 (cos_tonearest_test_data): Likewise.
12316 (cos_towardzero_test_data): Likewise.
12317 (cos_downward_test_data): Likewise.
12318 (cos_upward_test_data): Likewise.
12319 (cosh_test_data): Likewise.
12320 (cosh_tonearest_test_data): Likewise.
12321 (cosh_towardzero_test_data): Likewise.
12322 (cosh_downward_test_data): Likewise.
12323 (cosh_upward_test_data): Likewise.
12324 * sysdeps/i386/fpu/libm-test-ulps: Update.
12325 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12327 2013-11-29 Joseph Myers <joseph@codesourcery.com>
12330 * math/w_exp10.c (__exp10): Handle a zero result as underflow.
12331 * math/w_exp10f.c (__exp10f): Likewise.
12332 * math/w_exp10l.c (__exp10l): Likewise.
12333 * math/libm-test.inc (exp10_test_data): Add more tests and expect
12334 errno settings in existing tests.
12337 * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
12338 precision control set to double precision.
12339 * sysdeps/i386/fpu/w_sqrt.c: New file.
12340 * math/auto-libm-test-in: Add more tests.
12341 * math/auto-libm-test-out: Update.
12343 * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
12344 (sqrt_test_tonearest): New function.
12345 (sqrt_towardzero_test_data): New variable.
12346 (sqrt_test_towardzero): New function.
12347 (sqrt_downward_test_data): New variable.
12348 (sqrt_test_downward): New function.
12349 (sqrt_upward_test_data): New variable.
12350 (sqrt_test_upward): New function.
12351 (main): Call the new functions.
12353 * math/gen-auto-libm-tests.c: New file.
12354 * math/auto-libm-test-in: Likewise.
12355 * math/auto-libm-test-out: New generated file.
12356 * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
12358 (%beautify): Add generated representations of zero.
12359 (top level): Set $auto_input and call parse_auto_input.
12360 (beautify): Remove trailing "f" from hex float constants.
12361 (parse_args): Handle XFAIL_TEST.
12362 (convert_condition): New function.
12363 (or_value): Likewise.
12364 (or_cond_value): Likewise.
12365 (generate_testfile): Handle AUTO_TESTS_* lines.
12366 (parse_auto_input): New function.
12367 * math/libm-test.inc (XFAIL_TEST): New macro.
12368 (ERRNO_UNCHANGED): Update value.
12369 (ERRNO_EDOM): Likewise.
12370 (ERRNO_ERANGE): Likewise.
12371 (IGNORE_RESULT): Likewise.
12372 (TEST_COND_flt_32): New macro.
12373 (TEST_COND_dbl_64): Likewise.
12374 (TEST_COND_ldbl_96_intel): Likewise.
12375 (TEST_COND_ldbl_96_m68k): Likewise.
12376 (TEST_COND_ldbl_128): Likewise.
12377 (TEST_COND_ldbl_128ibm): Likewise.
12378 (TEST_COND_long32): Likewise.
12379 (TEST_COND_long64): Likewise.
12380 (TEST_COND_before_rounding): Likewise.
12381 (TEST_COND_after_rounding): Likewise.
12382 (enable_test): Handle XFAIL_TEST flag.
12383 (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
12384 with finite results.
12385 * math/Makefile ($(objpfx)libm-test.stmp): Depend on
12386 auto-libm-test-out.
12388 2013-11-29 Siddhesh Poyarekar <siddhesh@redhat.com>
12389 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
12392 * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
12393 __tls_get_addr_internal instead of __tls_get_offset in order to
12394 avoid GOT pointer dependency. Make rtld export
12395 __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
12396 __tls_get_addr since we are a __tls_get_offset platform.
12397 * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
12398 GOT pointer being set up before.
12399 * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
12401 2013-11-28 Joseph Myers <joseph@codesourcery.com>
12403 * manual/math.texi (Errors in Math Functions): Document accuracy
12407 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
12408 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
12409 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
12410 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
12411 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
12412 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
12413 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
12414 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
12415 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
12416 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
12417 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
12418 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
12419 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
12420 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
12421 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
12422 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
12424 * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
12425 * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
12426 * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
12427 * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
12428 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
12430 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
12432 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
12434 * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
12435 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
12436 (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
12437 atomic-feupdateenv and flt-rounds.
12438 * sysdeps/powerpc/nofpu/Versions (libc): Add
12439 __atomic_feholdexcept, __atomic_feclearexcept,
12440 __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
12441 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
12442 (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
12443 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
12444 (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
12446 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
12449 * manual/arith.texi (FP Exceptions): Document that exceptions may
12450 not be raised when matherr is used.
12451 (Math Error Reporting): Document overflow in directed rounding
12452 modes. Document that errno may not be set when finite values are
12453 returned on overflow. Document intent to set errno on underflow
12454 only for underflow to zero.
12457 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
12458 round-to-nearest then adjust result for other rounding modes.
12459 * include/fenv.h (fegetround): Use libm_hidden_proto.
12460 * math/fegetround.c (fegetround): Use libm_hidden_def.
12461 * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
12462 * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
12463 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
12464 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
12466 * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
12467 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
12468 * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
12469 * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
12471 2013-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
12474 * nss/Versions (libnss_files): Add
12475 _nss_files_gethostbyname3_r.
12476 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
12478 (HOST_DB_LOOKUP): Remove macro.
12479 (_nss_files_gethostbyname_r): Implement function without the
12480 HOST_DB_LOOKUP macro.
12481 (_nss_files_gethostbyname2_r): Likewise.
12483 2013-11-28 Ondřej Bílka <neleai@seznam.cz>
12485 * malloc/malloc.c (__libc_calloc): Make memset a tail call.
12487 2013-11-26 Uros Bizjak <ubizjak@gmail.com>
12489 * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
12490 _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
12493 2013-11-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12495 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
12496 __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
12497 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
12498 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
12499 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
12500 __fe_nomask_env_priv and attribute_hidden.
12501 * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
12502 (libc_feupdateenv_test_ppc): Likewise.
12503 (libc_feresetround_ppc): Likewise.
12504 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
12505 (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
12506 compat_symbol macro.
12507 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
12508 (__fe_nomask_env): Likewise.
12509 * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
12511 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
12513 * string/Makefile: Remove ifunc tests.
12514 * string/test-string.h: Define TEST_IFUNC.
12515 * string/test-bcopy-ifunc.c: Remove.
12516 * string/test-bzero-ifunc.c: Likewise.
12517 * string/test-memccpy-ifunc.c: Likewise.
12518 * string/test-memchr-ifunc.c: Likewise.
12519 * string/test-memcmp-ifunc.c: Likewise.
12520 * string/test-memcpy-ifunc.c: Likewise.
12521 * string/test-memmem-ifunc.c: Likewise.
12522 * string/test-memmove-ifunc.c: Likewise.
12523 * string/test-mempcpy-ifunc.c: Likewise.
12524 * string/test-memrchr-ifunc.c: Likewise.
12525 * string/test-memset-ifunc.c: Likewise.
12526 * string/test-rawmemchr-ifunc.c: Likewise.
12527 * string/test-stpcpy-ifunc.c: Likewise.
12528 * string/test-stpncpy-ifunc.c: Likewise.
12529 * string/test-strcasecmp-ifunc.c: Likewise.
12530 * string/test-strcasestr-ifunc.c: Likewise.
12531 * string/test-strcat-ifunc.c: Likewise.
12532 * string/test-strchr-ifunc.c: Likewise.
12533 * string/test-strchrnul-ifunc.c: Likewise.
12534 * string/test-strcmp-ifunc.c: Likewise.
12535 * string/test-strcpy-ifunc.c: Likewise.
12536 * string/test-strcspn-ifunc.c: Likewise.
12537 * string/test-strlen-ifunc.c: Likewise.
12538 * string/test-strncasecmp-ifunc.c: Likewise.
12539 * string/test-strncat-ifunc.c: Likewise.
12540 * string/test-strncmp-ifunc.c: Likewise.
12541 * string/test-strncpy-ifunc.c: Likewise.
12542 * string/test-strnlen-ifunc.c: Likewise.
12543 * string/test-strpbrk-ifunc.c: Likewise.
12544 * string/test-strrchr-ifunc.c: Likewise.
12545 * string/test-strspn-ifunc.c: Likewise.
12546 * string/test-strstr-ifunc.c: Likewise.
12548 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
12550 * benchtests/Makefile: Remove ifunc tests.
12551 * benchtests/bench-string.h: Define TEST_IFUNC.
12552 * benchtests/bench-bcopy-ifunc.c: Remove.
12553 * benchtests/bench-bzero-ifunc.c: Likewise.
12554 * benchtests/bench-memccpy-ifunc.c: Likewise.
12555 * benchtests/bench-memchr-ifunc.c: Likewise.
12556 * benchtests/bench-memcmp-ifunc.c: Likewise.
12557 * benchtests/bench-memcpy-ifunc.c: Likewise.
12558 * benchtests/bench-memmem-ifunc.c: Likewise.
12559 * benchtests/bench-memmove-ifunc.c: Likewise.
12560 * benchtests/bench-mempcpy-ifunc.c: Likewise.
12561 * benchtests/bench-memrchr-ifunc.c: Likewise.
12562 * benchtests/bench-memset-ifunc.c: Likewise.
12563 * benchtests/bench-rawmemchr-ifunc.c: Likewise.
12564 * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
12565 * benchtests/bench-stpcpy-ifunc.c: Likewise.
12566 * benchtests/bench-stpncpy-ifunc.c: Likewise.
12567 * benchtests/bench-strcasecmp-ifunc.c: Likewise.
12568 * benchtests/bench-strcasestr-ifunc.c: Likewise.
12569 * benchtests/bench-strcat-ifunc.c: Likewise.
12570 * benchtests/bench-strchr-ifunc.c: Likewise.
12571 * benchtests/bench-strchrnul-ifunc.c: Likewise.
12572 * benchtests/bench-strcmp-ifunc.c: Likewise.
12573 * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
12574 * benchtests/bench-strcpy-ifunc.c: Likewise.
12575 * benchtests/bench-strcspn-ifunc.c: Likewise.
12576 * benchtests/bench-strlen-ifunc.c: Likewise.
12577 * benchtests/bench-strncasecmp-ifunc.c: Likewise.
12578 * benchtests/bench-strncat-ifunc.c: Likewise.
12579 * benchtests/bench-strncmp-ifunc.c: Likewise.
12580 * benchtests/bench-strncpy-ifunc.c: Likewise.
12581 * benchtests/bench-strnlen-ifunc.c: Likewise.
12582 * benchtests/bench-strpbrk-ifunc.c: Likewise.
12583 * benchtests/bench-strrchr-ifunc.c: Likewise.
12584 * benchtests/bench-strsep-ifunc.c: Likewise.
12585 * benchtests/bench-strspn-ifunc.c: Likewise.
12586 * benchtests/bench-strstr-ifunc.c: Likewise.
12588 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
12590 * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
12592 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
12594 * resolv/netdb.h: Use __glibc_reserved instead __unused.
12595 * rt/aio.h: Likewise.
12596 * sysdeps/gnu/bits/utmp.h: Likewise.
12597 * sysdeps/gnu/bits/utmpx.h: Likewise.
12598 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
12599 * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
12600 * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
12601 * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
12602 * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
12603 * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
12604 * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
12605 * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
12606 * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
12607 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
12608 * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
12609 * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
12610 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
12611 * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
12612 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
12613 * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
12614 * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
12615 * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
12616 * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
12617 * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
12618 * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
12619 * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
12620 * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
12621 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
12622 * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
12623 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
12624 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
12625 * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
12626 * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
12627 * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
12628 * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
12629 * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
12630 * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
12631 * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
12632 * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
12633 * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
12634 * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
12635 * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
12636 * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
12637 * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
12638 * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
12639 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
12641 2013-11-25 Carlos O'Donell <carlos@redhat.com>
12644 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
12645 Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
12647 2013-11-25 Joseph Myers <joseph@codesourcery.com>
12649 * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
12650 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
12653 2013-11-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12655 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
12656 SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
12657 * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
12658 (__fesetround): Remove define.
12659 * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
12660 rounding and exceptions handling.
12661 * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
12662 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
12663 (__fe_nomask_env): Likewise.
12664 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
12665 __fegetround instead of fegetround.
12666 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
12667 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
12669 2013-11-21 Roland McGrath <roland@hack.frob.com>
12671 * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
12674 * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
12676 2013-11-21 Meador Inge <meadori@codesourcery.com>
12679 * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
12680 (encrypt_r): Likewise.
12681 * malloc/obstack.h (obstack_free): Likewise.
12682 * posix/unistd.h (encrypt): Likewise.
12684 2013-11-21 Guy Martin <gmsoft@tuxicoman.be>
12686 * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
12687 DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
12688 DL_CALL_DT_FINI() that call the functions directly.
12689 * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
12690 * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
12691 * elf/dl-fini.c: Likewise.
12693 2013-11-20 Ondřej Bílka <neleai@seznam.cz>
12695 * malloc/hooks.c (memalign_check): Add alignment rounding.
12696 * malloc/malloc.c (_mid_memalign): New function.
12697 (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
12698 Implement by calling _mid_memalign.
12699 * manual/probes.texi (Memory Allocation Probes): Remove
12700 memory_valloc_retry and memory_pvalloc_retry.
12702 2013-11-20 Siddhesh Poyarekar <siddhesh@redhat.com>
12704 * locale/programs/locarchive.c (open_archive): Add const
12705 qualifier to ARCHIVEFNAME and copy default fname to
12709 * libio/tst-widetext.input: Rename Oriya to Odia.
12710 * locale/iso-639.def: Likewise.
12712 * manual/probes.texi (Mathematical Function Probes): Add
12713 documentation for sin, cos, asin and acos probes.
12714 * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
12715 (__sin32): Add slowasin probe.
12716 (__cos32): Add slowacos probe.
12717 (__mpsin): Add slowsin probe.
12718 (__mpcos): Add slowcos probe.
12720 2013-11-19 Joseph Myers <joseph@codesourcery.com>
12723 * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
12724 thread-local __sim_exceptions_thread and global
12725 __sim_exceptions_global.
12726 (__sim_disabled_exceptions): Change to thread-local
12727 __sim_disabled_exceptions_thread and global
12728 __sim_disabled_exceptions_global.
12729 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
12730 and global __sim_round_mode_global.
12731 (__simulate_exceptions): Use thread-local floating-point state and
12732 set global state from it as needed.
12733 * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
12734 __sim_exceptions_thread, __sim_disabled_exceptions_thread and
12735 __sim_round_mode_thread.
12736 * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
12737 (__sim_exceptions): Change to thread-local __sim_exceptions_thread
12738 and global __sim_exceptions_global.
12739 (__sim_disabled_exceptions): Change to thread-local
12740 __sim_disabled_exceptions_thread and global
12741 __sim_disabled_exceptions_global.
12742 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
12743 and global __sim_round_mode_global.
12744 [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
12745 (SIM_SET_GLOBAL): Likewise.
12746 * sysdeps/powerpc/soft-fp/sfp-machine.h
12747 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
12748 __sim_round_mode_thread.
12749 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
12750 __sim_disabled_exceptions_thread.
12751 (__sim_exceptions): Change to __sim_exceptions_thread.
12752 (__sim_disabled_exceptions): Change to
12753 __sim_disabled_exceptions_thread.
12754 (__sim_round_mode): Change to __sim_round_mode_thread.
12755 * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
12756 thread-local floating-point state and set global state from it as
12758 * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
12759 * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
12760 (__sim_disabled_exceptions): Remove extern declaration.
12761 (feenableexcept): Use thread-local floating-point state and set
12762 global state from it as needed.
12763 * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
12764 extern declaration.
12765 (__sim_disabled_exceptions): Likewise.
12766 (__sim_round_mode): Likewise.
12767 (__fegetenv): Use thread-local floating-point state.
12768 * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
12769 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
12770 * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
12771 floating-point state and set global state from it as needed.
12772 * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
12773 * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
12774 * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
12776 * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
12777 * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
12779 sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
12780 * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
12781 Use __sim_round_mode_thread.
12782 * math/test-fenv-tls.c: New file.
12783 * math/Makefile (tests): Add test-fenv-tls.
12784 ($(objpfx)test-fenv-tls): Depend on
12785 $(common-objpfx)nptl/libpthread.so.
12787 2013-11-19 Andreas Schwab <schwab@suse.de>
12789 * locale/programs/locale.c (show_info): Decode wordarray elements.
12790 * locale/categories.def (LC_MONETARY): Add element for
12791 _NL_MONETARY_CRNCYSTR.
12792 * locale/C-monetary.c (conversion_rate): New variable.
12793 (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
12796 2013-11-18 Chris Metcalf <cmetcalf@tilera.com>
12798 * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
12799 Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
12801 2013-11-18 Paul Pluzhnikov <ppluzhnikov@google.com>
12803 * elf/Makefile (tst-auxv): New test.
12804 * elf/tst-auxv.c: New
12805 * elf/rtld.c (dl_main): Adjust AT_EXECFN
12807 2013-11-18 Joseph Myers <joseph@codesourcery.com>
12809 * include/libc-symbols.h (__hidden_proto): Add argument "thread".
12810 (hidden_proto): Caller changed.
12811 (hidden_tls_proto): New macro.
12812 (libc_hidden_tls_proto): Likewise.
12813 (rtld_hidden_tls_proto): Likewise.
12814 (libm_hidden_tls_proto): Likewise.
12815 (libresolv_hidden_tls_proto): Likewise.
12816 (librt_hidden_tls_proto): Likewise.
12817 (libdl_hidden_tls_proto): Likewise.
12818 (libnss_files_hidden_tls_proto): Likewise.
12819 (libnsl_hidden_tls_proto): Likewise.
12820 (libnss_nisplus_hidden_tls_proto): Likewise.
12821 (libutil_hidden_tls_proto): Likewise.
12823 2013-11-18 Ondřej Bílka <neleai@seznam.cz>
12826 * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
12827 (decompose_rpath): Defer expansion to fillin_rpath.
12828 (_dl_init_paths): Pass linkmap to fillin_rpath.
12830 2013-11-18 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
12832 * benchtests/Makefile: Add strsep.
12833 * benchtests/bench-strsep.c: New file: strsep benchtest.
12834 * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
12836 2013-11-18 Andreas Schwab <schwab@suse.de>
12838 * locale/programs/locale.c (show_info) [case byte]: Check for
12839 '\377' instead of '\177'.
12840 * locale/C-monetary.c (not_available): Always use "\377".
12841 * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
12842 unspecified p_sign_posn and n_sign_posn. Check for '\377' to
12843 detect unavailable sign_posn locale elements.
12844 * locale/localeconv.c (__localeconv): For grouping and
12845 mon_grouping handle "\177" and "\377" like no grouping.
12846 (INT_ELEM): New macro. Use it to set all numeric members.
12847 * locale/programs/ld-monetary.c (monetary_read)
12848 <tok_mon_grouping>: Normalize single -1 to the empty string.
12849 * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
12852 2013-11-07 Ondřej Bílka <neleai@seznam.cz>
12855 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
12856 when we match (nil).
12857 * stdio-common/tst-sscanf.c (struct test): Add testcase.
12859 2013-11-16 Joseph Myers <joseph@codesourcery.com>
12861 * math/libm-test.inc (TEST_NAN_SIGN): New macro.
12862 (NO_TEST_INLINE): Update value.
12863 (ERRNO_UNCHANGED): Likewise.
12864 (ERRNO_EDOM): Likewise.
12865 (ERRNO_ERANGE): Likewise.
12866 (IGNORE_RESULT): Likewise.
12867 (check_float_internal): Check signs of NaN results if
12868 TEST_NAN_SIGN used.
12869 (check_complex): Pass TEST_NAN_SIGN flag through to second
12870 check_float_internal call.
12871 (copysign_test_data): Add tests with quiet NaNs as second
12872 argument. Use TEST_NAN_SIGN.
12873 (fabs_test_data): Add test of negative quiet NaN argument. Use
12875 (signbit_test_data): Add tests of quiet NaN argument.
12876 * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
12878 * math/gen-libm-test.pl (show_exceptions): Take extra argument
12880 (parse_args): Handle function results specified as IGNORE.
12881 * math/libm-test.inc (IGNORE_RESULT): New macro.
12882 (check_float_internal): Do not check numerical result if flag
12884 (check_complex): Pass through IGNORE_RESULT to second
12885 check_float_internal call.
12886 (check_int): Do not check numerical result if flag IGNORE_RESULT
12888 (check_long): Likewise.
12889 (check_bool): Likewise.
12890 (check_longlong): Likewise.
12891 (lrint_test_data): Add tests of infinite and NaN arguments.
12892 (lrint_tonearest_test_data): Likewise.
12893 (lrint_towardzero_test_data): Likewise.
12894 (lrint_downward_test_data): Likewise.
12895 (lrint_upward_test_data): Likewise.
12896 (llrint_test_data): Likewise.
12897 (llrint_tonearest_test_data): Likewise.
12898 (llrint_towardzero_test_data): Likewise.
12899 (llrint_downward_test_data): Likewise.
12900 (llrint_upward_test_data): Likewise.
12901 (lround_test_data): Likewise.
12902 (llround_test_data): Likewise.
12904 * math/libm-test.inc (NO_TEST_INLINE): New macro.
12905 (ERRNO_UNCHANGED): Update value.
12906 (ERRNO_EDOM): Likewise.
12907 (ERRNO_ERANGE): Likewise.
12908 (NO_TEST_INLINE_FLOAT): New macro.
12909 (NO_TEST_INLINE_DOUBLE): Likewise.
12910 (enable_test): New function.
12911 (RUN_TEST_f_f): Check enable_test before running test.
12912 (RUN_TEST_2_f): Likewise.
12913 (RUN_TEST_fff_f): Likewise.
12914 (RUN_TEST_c_f): Likewise.
12915 (RUN_TEST_f_f1): Likewise.
12916 (RUN_TEST_fF_f1): Likewise.
12917 (RUN_TEST_fI_f1): Likewise.
12918 (RUN_TEST_ffI_f1): Likewise.
12919 (RUN_TEST_c_c): Likewise.
12920 (RUN_TEST_cc_c): Likewise.
12921 (RUN_TEST_f_i): Likewise.
12922 (RUN_TEST_f_i_tg): Likewise.
12923 (RUN_TEST_ff_i_tg): Likewise.
12924 (RUN_TEST_f_b): Likewise.
12925 (RUN_TEST_f_b_tg): Likewise.
12926 (RUN_TEST_f_l): Likewise.
12927 (RUN_TEST_f_L): Likewise.
12928 (RUN_TEST_fFF_11): Likewise.
12929 (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
12931 (cosh_test_data): Likewise.
12932 (exp_test_data): Likewise.
12933 (expm1_test_data): Likewise.
12934 (hypot_test_data): Likewise.
12935 (pow_test_data): Likewise.
12936 (sinh_test_data): Likewise.
12937 (tanh_test_data): Likewise.
12938 * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
12941 * libm-test.inc (acos_test_data): Disallow inexact exceptions for
12942 tests with quiet NaN input and output.
12943 (acosh_test_data): Likewise.
12944 (asin_test_data): Likewise.
12945 (asinh_test_data): Likewise.
12946 (atan_test_data): Likewise.
12947 (atanh_test_data): Likewise.
12948 (atan2_test_data): Likewise.
12949 (cbrt_test_data): Likewise.
12950 (cos_test_data): Likewise.
12951 (cosh_test_data): Likewise.
12952 (erf_test_data): Likewise.
12953 (erfc_test_data): Likewise.
12954 (exp_test_data): Likewise.
12955 (exp10_test_data): Likewise.
12956 (exp2_test_data): Likewise.
12957 (expm1_test_data): Likewise.
12958 (hypot_test_data): Likewise.
12959 (j0_test_data): Likewise.
12960 (j1_test_data): Likewise.
12961 (jn_test_data): Likewise.
12962 (lgamma_test_data): Likewise.
12963 (log_test_data): Likewise.
12964 (log10_test_data): Likewise.
12965 (log1p_test_data): Likewise.
12966 (log2_test_data): Likewise.
12967 (pow_test_data): Likewise.
12968 (scalb_test_data): Likewise.
12969 (sin_test_data): Likewise.
12970 (sincos_test_data): Likewise.
12971 (sinh_test_data): Likewise.
12972 (tan_test_data): Likewise.
12973 (tanh_test_data): Likewise.
12974 (tgamma_test_data): Likewise.
12975 (y0_test_data): Likewise.
12976 (y1_test_data): Likewise.
12977 (yn_test_data): Likewise.
12980 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
12981 argument being NaN and avoid computations with second argument in
12983 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
12984 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
12985 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
12987 2013-11-15 Arun Kumar Pyasi <arun@chitwanix.com>
12989 * locale/iso-639.def: Add Chitwani Tharu (the).
12991 2013-11-14 Andreas Schwab <schwab@suse.de>
12993 * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
12994 word instead of empty string.
12996 2013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12998 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
12999 (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
13000 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
13001 (__fe_nomask_env): Likewise.
13003 2013-11-13 Steve Ellcey <sellcey@mips.com>
13005 * benchtests/bench-timing.h: Include time.h.
13007 2013-11-13 H.J. Lu <hongjiu.lu@intel.com>
13010 * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
13012 * sysdeps/unix/sysv/linux/configure: Regenerated.
13014 2013-11-13 Joseph Myers <joseph@codesourcery.com>
13017 * stdlib/strtod_l.c (round_and_return): Do not consider
13018 retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
13019 exponent one less than half the least subnormal exponent.
13020 * stdlib/test-strtod-round-data: Add more tests.
13021 * stdlib/tst-strtod-round.c (tests): Regenerated.
13023 2013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13026 * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
13027 (__fe_mask_env): Likewise.
13028 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
13029 libm_hidden_proto and add function prototype.
13030 (__fe_mask_env): Add function prototype.
13031 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
13032 (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
13033 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
13034 (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
13035 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
13036 (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
13038 2013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
13040 * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
13041 set reference_name to "" to avoid passing NULL to DSO_FILENAME.
13043 2013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
13045 * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
13046 of htab_find_slot().
13048 2013-11-11 David S. Miller <davem@davemloft.net>
13051 * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
13052 symbol in the non-vis3 case in static builds.
13053 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
13054 * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
13055 * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
13056 * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
13058 2013-11-11 Jan Kratochvil <jan.kratochvil@redhat.com>
13061 * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
13064 2013-11-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13066 * benchtests/Makefile: Add bench-strtod.
13067 * benchtests/bench-strtod.c: New file: strtod benchtest
13069 2013-11-11 Andreas Schwab <schwab@suse.de>
13072 * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
13073 terminating NUL in key length.
13075 2013-11-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13077 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
13078 Add artificial ODP entry for vDSO symbol for PPC64.
13079 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
13080 * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
13082 2013-11-07 Ondřej Bílka <neleai@seznam.cz>
13085 * nss/getent.c (services_keys): Recognize services starting with digit.
13087 2013-11-06 David S. Miller <davem@davemloft.net>
13090 * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
13091 on pre-v9 cpus, use a fnegs+fmovs sequence instead.
13093 2013-11-06 Will Newton <will.newton@linaro.org>
13095 * manual/memory.texi (Malloc Examples): Remove register
13096 keyword from examples.
13098 2013-11-04 Chris Leonard <cjl@sugarlabs.org>
13100 * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
13102 2013-11-04 Joseph Myers <joseph@codesourcery.com>
13105 * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
13106 depending on [__GCC_IEC_559 > 0].
13107 [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
13108 depending on [__GCC_IEC_559_COMPLEX > 0].
13110 2013-11-03 Chris Leonard <cjl@sugarlabs.org>
13112 * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
13115 2013-11-03 Ondřej Bílka <neleai@seznam.cz>
13117 * elf/rtld.c: Remove unused NONTLS_INIT_TP.
13119 2013-11-01 Ondřej Bílka <neleai@seznam.cz>
13122 * malloc/malloc (malloc_info): Do not handle first bin as
13125 2013-11-01 Chris Leonard <cjl@sugarlabs.org>
13127 * locale/iso-639.def: Add Central Nahuatl (nhn).
13129 2013-11-01 Bruno Haible <bruno@clisp.org>
13132 * manual/math.texi (BSD Random): Specify range upper bound as
13135 2013-10-31 Chris Leonard <cjl@sugarlabs.org>
13137 * locale/iso-639.def: Add Meadow Mari (mhr).
13139 2013-10-31 Ondřej Bílka <neleai@seznam.cz>
13141 [BZ #14752], [BZ #15763]
13142 * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
13144 * rt/tst_shm.c: Add test for escaping directory.
13146 2013-10-31 Andreas Schwab <schwab@suse.de>
13149 * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
13150 followed by 'x' as part of digit sequence.
13151 * stdio-common/tst-sscanf.c (double_tests2): New tests.
13153 2013-10-31 Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
13156 * configure.ac: allow GNU Make 4.0 and greater.
13157 * configure: Regenerated.
13159 2013-10-30 Will Newton <will.newton@linaro.org>
13162 * malloc/hooks.c (memalign_check): Limit alignment to the
13163 maximum representable power of two.
13164 * malloc/malloc.c (__libc_memalign): Likewise.
13165 * malloc/tst-memalign.c (do_test): Add test for very
13166 large alignment values.
13167 * malloc/tst-posix_memalign.c (do_test): Likewise.
13169 2013-10-30 Ondřej Bílka <neleai@seznam.cz>
13172 * malloc/malloc.c (sysmalloc): Compute statistics atomically.
13173 (munmap_chunk): Likewise.
13174 (mremap_chunk): Likewise.
13176 2013-10-30 Ondřej Bílka <neleai@seznam.cz>
13179 * stdlib/div.c (div): Remove obsolete code.
13180 * stdlib/ldiv.c (ldiv): Likewise.
13181 * stdlib/lldiv.c (lldiv): Likewise.
13183 2013-10-30 Siddhesh Poyarekar <siddhesh@redhat.com>
13186 * nss/nss_files/files-XXX.c (get_contents_ret): New
13188 (get_contents): New function.
13189 (internal_getent): Use it. Expand size of LINEBUFLEN.
13191 2013-10-30 Mike Frysinger <vapier@gentoo.org>
13193 * configure.in: Moved to ...
13194 * configure.ac: ... here. Change reference to configure.in
13196 * sysdeps/arm/preconfigure.ac: ... here.
13197 configure.in to configure.ac.
13198 * sysdeps/gnu/configure.in: Moved to ...
13199 * sysdeps/gnu/configure.ac: ... here.
13200 * sysdeps/i386/configure.in: Moved to ...
13201 * sysdeps/i386/configure.ac: ... here.
13202 * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
13203 * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
13204 * sysdeps/mach/configure.in: Moved to ...
13205 * sysdeps/mach/configure.ac: ... here.
13206 * sysdeps/mach/hurd/configure.in: Moved to ...
13207 * sysdeps/mach/hurd/configure.ac: ... here.
13208 * sysdeps/powerpc/configure.in: Moved to ...
13209 * sysdeps/powerpc/configure.ac: ... here.
13210 * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
13211 * sysdeps/powerpc/powerpc32/configure.ac: ... here.
13212 * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
13213 * sysdeps/powerpc/powerpc64/configure.ac: ... here.
13214 * sysdeps/s390/s390-32/configure.in: Moved to ...
13215 * sysdeps/s390/s390-32/configure.ac: ... here.
13216 * sysdeps/s390/s390-64/configure.in: Moved to ...
13217 * sysdeps/s390/s390-64/configure.ac: ... here.
13218 * sysdeps/sh/configure.in: Moved to ...
13219 * sysdeps/sh/configure.ac: ... here.
13220 * sysdeps/sparc/configure.in: Moved to ...
13221 * sysdeps/sparc/configure.ac: ... here.
13222 * sysdeps/unix/sysv/linux/configure.in: Moved to ...
13223 * sysdeps/unix/sysv/linux/configure.ac: ... here.
13224 * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
13225 * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
13226 * sysdeps/x86_64/configure.in: Moved to ...
13227 * sysdeps/x86_64/configure.ac: ... here.
13228 * sysdeps/x86_64/preconfigure.in: Moved to ...
13229 * sysdeps/x86_64/preconfigure.ac: ... here.
13230 * aclocal.m4: Change reference to configure.in to configure.ac.
13231 * config.h.in: Likewise.
13232 * manual/install.texi: Likewise.
13233 * manual/maint.texi: Likewise.
13234 * Makefile: Likewise.
13235 * malloc/Makefile: Likewise.
13236 * nscd/Makefile: Likewise.
13237 * Makeconfig: Change reference to configure.in and
13238 preconfigure.in to configure.ac and preconfigure.ac
13240 * INSTALL: Regenerated.
13241 * configure: Likewise.
13242 * sysdeps/gnu/configure: Likewise.
13243 * sysdeps/i386/configure: Likewise.
13244 * sysdeps/ieee754/ldbl-opt/configure: Likewise.
13245 * sysdeps/mach/configure: Likewise.
13246 * sysdeps/mach/hurd/configure: Likewise.
13247 * sysdeps/powerpc/configure: Likewise.
13248 * sysdeps/powerpc/powerpc32/configure: Likewise.
13249 * sysdeps/powerpc/powerpc64/configure: Likewise.
13250 * sysdeps/s390/s390-32/configure: Likewise.
13251 * sysdeps/s390/s390-64/configure: Likewise.
13252 * sysdeps/sh/configure: Likewise.
13253 * sysdeps/sparc/configure: Likewise.
13254 * sysdeps/unix/sysv/linux/configure: Likewise.
13255 * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
13256 * sysdeps/x86_64/configure: Likewise.
13257 * sysdeps/x86_64/preconfigure: Likewise.
13259 2013-10-29 Andreas Schwab <schwab@suse.de>
13261 * stdio-common/Makefile (tst-swscanf-ENV): Define.
13263 2013-10-28 Siddhesh Poyarekar <siddhesh@redhat.com>
13265 * benchtests/pow-inputs: Add new inputs.
13267 * benchtests/exp-inputs: Add new inputs.
13269 * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
13270 conditional check for return value.
13271 (__cos32): Likewise.
13273 2013-10-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13275 * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
13276 to provide a boost for large inputs with word alignment.
13277 * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
13278 implementation based on optimized PPC64 strcpy.
13279 * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
13280 strcpy for PPC64/POWER7 based on both doubleword and word load/store.
13281 * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
13282 stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
13284 2013-10-25 Ondřej Bílka <neleai@seznam.cz>
13287 * manual/socket.texi (Host Names): Fix gethostbyname_r example.
13289 2013-10-25 Ondřej Bílka <neleai@seznam.cz>
13292 * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
13293 * time/tst-strptime.c (day_tests): Add testcase.
13295 2013-10-25 Ondřej Bílka <neleai@seznam.cz>
13298 * manual/pattern.texi: Acknowledge that fnmatch can fail.
13300 2013-10-25 Fabrice Bauzac <fbauzac@debian71.nce.amadeus.net>
13303 * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
13304 MAP_FAILED on error.
13306 2013-10-25 Siddhesh Poyarekar <siddhesh@redhat.com>
13309 * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
13310 heap for large requests.
13312 2013-10-25 Aurelien Jarno <aurelien@aurel32.net>
13315 * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
13316 result if the result has no associated interface.
13317 * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
13318 interface for all 127.X.Y.Z addresses.
13320 2013-10-24 Chris Leonard <cjl@sugarlabs.org>
13322 * locale/iso-639.def: Add Ligurian (lij)
13324 2013-10-21 Ondřej Bílka <neleai@seznam.cz>
13327 * sunrpc/rpc_main.c: Document rpcgen -5.
13329 2013-10-19 Michael Stahl <mstahl@redhat.com>
13331 * elf/rtld.c (do_preload): Print the reason why preloading failed.
13333 2013-10-19 Ondřej Bílka <neleai@seznam.cz>
13336 * posix/glob.c: Match only directories when trailing slash is present.
13337 * posix/tst-gnuglob.c (my_opendir): Do not open files.
13338 (main): Add testcase.
13340 2013-10-19 Ondřej Bílka <neleai@seznam.cz>
13343 * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
13345 2013-10-18 Carlos O'Donell <carlos@redhat.com>
13347 * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
13348 AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
13349 AUTH_DES and cindex for FIPS 140-2.
13350 (DES Encryption): Add cindex FIPS 46-3.
13352 * locale/locarchive.h (struct locarhandle): Add fname.
13353 * locale/programs/localedef.c (main): Pass ARGV[remaining]
13354 if an optional argument was specified to --list-archive,
13356 * locale/programs/locarchive.c (show_archive_content): Take new
13357 argument fname and pass it via ah.fname to open_archive.
13358 * locale/programs/localedef.h: Update decl.
13359 (open_archive): If AH->fname is non-null, open that file
13360 rather than the default file name, and don't ignore ENOENT.
13361 (create_archive): Set AH.fname to NULL.
13362 (delete_locales_from_archive): Likewise.
13363 (add_locales_to_archive): Likewise.
13364 * locale/programs/locfile.c (write_all_categories): Likewise.
13366 2013-10-18 Joseph Myers <joseph@codesourcery.com>
13367 Aldy Hernandez <aldyh@redhat.com>
13369 * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
13370 * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
13371 * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
13372 * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
13373 * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
13374 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
13375 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
13376 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
13377 * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
13378 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
13379 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
13380 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
13381 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
13382 * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
13383 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
13385 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
13387 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
13389 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
13391 * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
13392 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
13394 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
13395 * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
13396 * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
13397 * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
13399 * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
13400 * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
13401 * sysdeps/powerpc/preconfigure: Likewise.
13402 * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
13404 * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
13405 Replace contents of file by #include of <fenv_libc.h>.
13406 * sysdeps/powerpc/soft-fp/sfp-machine.h
13407 [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
13409 [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
13410 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
13411 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
13412 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
13413 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
13414 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
13415 [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
13416 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
13417 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
13418 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
13419 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
13420 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
13421 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
13422 Allow copysignl PLT reference to be missing.
13424 2013-10-18 Richard Sandiford <richard@codesourcery.com>
13425 Joseph Myers <joseph@codesourcery.com
13428 * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
13430 (add_to_tablewc): Assert sequence of wide characters is nonempty.
13432 2013-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
13434 * elf/tst-tls-dlinfo.c: Don't include tls.h.
13435 * elf/tst-tls1.c: Likewise.
13436 * elf/tst-tls10.h: Likewise.
13437 * elf/tst-tls14.c: Likewise.
13438 * elf/tst-tls2.c: Likewise.
13439 * elf/tst-tls3.c: Likewise.
13440 * elf/tst-tls4.c: Likewise.
13441 * elf/tst-tls5.c: Likewise.
13442 * elf/tst-tls6.c: Likewise.
13443 * elf/tst-tls7.c: Likewise.
13444 * elf/tst-tls8.c: Likewise.
13445 * elf/tst-tls9.c: Likewise.
13446 * elf/tst-tlsmod1.c: Likewise.
13447 * elf/tst-tlsmod13.c: Likewise.
13448 * elf/tst-tlsmod13a.c: Likewise.
13449 * elf/tst-tlsmod14a.c: Likewise.
13450 * elf/tst-tlsmod16a.c: Likewise.
13451 * elf/tst-tlsmod16b.c: Likewise.
13452 * elf/tst-tlsmod2.c: Likewise.
13453 * elf/tst-tlsmod3.c: Likewise.
13454 * elf/tst-tlsmod4.c: Likewise.
13455 * elf/tst-tlsmod5.c: Likewise.
13456 * elf/tst-tlsmod6.c: Likewise.
13458 2013-10-18 Ondřej Bílka <neleai@seznam.cz>
13461 * malloc/malloc.c: remove checks for statistics.
13463 2013-10-17 Ondřej Bílka <neleai@seznam.cz>
13466 * inet/inet_net.c (inet_network): Detect additional invalid strings.
13467 * inet/tst-network.c: Add testcase.
13469 2013-10-17 Andreas Schwab <schwab@suse.de>
13472 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
13473 to determine canonical name.
13475 2013-10-17 Ondřej Bílka <neleai@seznam.cz>
13477 * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
13478 * sysdeps/ieee754/dbl-64/dla.h: Likewise.
13479 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
13480 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
13481 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
13482 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
13483 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
13484 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
13485 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
13486 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
13487 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
13488 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
13489 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
13490 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
13491 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
13492 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
13493 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
13494 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
13495 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
13496 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
13497 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
13498 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
13499 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
13500 * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
13501 * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
13502 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
13503 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
13504 * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
13505 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
13506 * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
13507 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
13508 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
13509 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
13510 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
13511 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
13512 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
13513 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
13514 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
13515 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
13516 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
13517 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
13518 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
13519 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
13520 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
13521 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
13522 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
13523 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
13524 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
13525 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
13526 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
13527 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
13528 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
13529 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
13530 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
13531 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
13532 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
13533 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
13534 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
13536 2013-10-17 Joseph Myers <joseph@codesourcery.com>
13539 * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
13540 make result into a quiet NaN.
13542 2013-10-16 Joseph Myers <joseph@codesourcery.com>
13544 * soft-fp/adddf3.c: Fix horizontal whitespace.
13545 * soft-fp/addsf3.c: Likewise.
13546 * soft-fp/addtf3.c: Likewise.
13547 * soft-fp/divdf3.c: Likewise.
13548 * soft-fp/divsf3.c: Likewise.
13549 * soft-fp/divtf3.c: Likewise.
13550 * soft-fp/double.h: Likewise.
13551 * soft-fp/eqdf2.c: Likewise.
13552 * soft-fp/eqsf2.c: Likewise.
13553 * soft-fp/eqtf2.c: Likewise.
13554 * soft-fp/extenddftf2.c: Likewise.
13555 * soft-fp/extended.h: Likewise.
13556 * soft-fp/extendsfdf2.c: Likewise.
13557 * soft-fp/extendsftf2.c: Likewise.
13558 * soft-fp/extendxftf2.c: Likewise.
13559 * soft-fp/fixdfdi.c: Likewise.
13560 * soft-fp/fixdfsi.c: Likewise.
13561 * soft-fp/fixdfti.c: Likewise.
13562 * soft-fp/fixsfdi.c: Likewise.
13563 * soft-fp/fixsfsi.c: Likewise.
13564 * soft-fp/fixsfti.c: Likewise.
13565 * soft-fp/fixtfdi.c: Likewise.
13566 * soft-fp/fixtfsi.c: Likewise.
13567 * soft-fp/fixtfti.c: Likewise.
13568 * soft-fp/fixunsdfdi.c: Likewise.
13569 * soft-fp/fixunsdfsi.c: Likewise.
13570 * soft-fp/fixunsdfti.c: Likewise.
13571 * soft-fp/fixunssfdi.c: Likewise.
13572 * soft-fp/fixunssfsi.c: Likewise.
13573 * soft-fp/fixunssfti.c: Likewise.
13574 * soft-fp/fixunstfdi.c: Likewise.
13575 * soft-fp/fixunstfsi.c: Likewise.
13576 * soft-fp/fixunstfti.c: Likewise.
13577 * soft-fp/floatdidf.c: Likewise.
13578 * soft-fp/floatdisf.c: Likewise.
13579 * soft-fp/floatditf.c: Likewise.
13580 * soft-fp/floatsidf.c: Likewise.
13581 * soft-fp/floatsisf.c: Likewise.
13582 * soft-fp/floatsitf.c: Likewise.
13583 * soft-fp/floattidf.c: Likewise.
13584 * soft-fp/floattisf.c: Likewise.
13585 * soft-fp/floattitf.c: Likewise.
13586 * soft-fp/floatundidf.c: Likewise.
13587 * soft-fp/floatundisf.c: Likewise.
13588 * soft-fp/floatunditf.c: Likewise.
13589 * soft-fp/floatunsidf.c: Likewise.
13590 * soft-fp/floatunsisf.c: Likewise.
13591 * soft-fp/floatunsitf.c: Likewise.
13592 * soft-fp/floatuntidf.c: Likewise.
13593 * soft-fp/floatuntisf.c: Likewise.
13594 * soft-fp/floatuntitf.c: Likewise.
13595 * soft-fp/fmadf4.c: Likewise.
13596 * soft-fp/fmasf4.c: Likewise.
13597 * soft-fp/fmatf4.c: Likewise.
13598 * soft-fp/gedf2.c: Likewise.
13599 * soft-fp/gesf2.c: Likewise.
13600 * soft-fp/getf2.c: Likewise.
13601 * soft-fp/ledf2.c: Likewise.
13602 * soft-fp/lesf2.c: Likewise.
13603 * soft-fp/letf2.c: Likewise.
13604 * soft-fp/muldf3.c: Likewise.
13605 * soft-fp/mulsf3.c: Likewise.
13606 * soft-fp/multf3.c: Likewise.
13607 * soft-fp/negdf2.c: Likewise.
13608 * soft-fp/negsf2.c: Likewise.
13609 * soft-fp/negtf2.c: Likewise.
13610 * soft-fp/op-1.h: Likewise.
13611 * soft-fp/op-2.h: Likewise.
13612 * soft-fp/op-4.h: Likewise.
13613 * soft-fp/op-8.h: Likewise.
13614 * soft-fp/op-common.h: Likewise.
13615 * soft-fp/quad.h: Likewise.
13616 * soft-fp/single.h: Likewise.
13617 * soft-fp/soft-fp.h: Likewise.
13618 * soft-fp/sqrtdf2.c: Likewise.
13619 * soft-fp/sqrtsf2.c: Likewise.
13620 * soft-fp/sqrttf2.c: Likewise.
13621 * soft-fp/subdf3.c: Likewise.
13622 * soft-fp/subsf3.c: Likewise.
13623 * soft-fp/subtf3.c: Likewise.
13624 * soft-fp/truncdfsf2.c: Likewise.
13625 * soft-fp/trunctfdf2.c: Likewise.
13626 * soft-fp/trunctfsf2.c: Likewise.
13627 * soft-fp/trunctfxf2.c: Likewise.
13628 * soft-fp/unorddf2.c: Likewise.
13629 * soft-fp/unordsf2.c: Likewise.
13630 * soft-fp/unordtf2.c: Likewise.
13632 2013-10-15 Joseph Myers <joseph@codesourcery.com>
13634 * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
13635 * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
13637 2013-10-15 Ondřej Bílka <neleai@seznam.cz>
13639 * elf/dl-libc.c: Clear initfini list after freeing.
13641 2013-10-14 Joseph Myers <joseph@codesourcery.com>
13643 * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
13644 * soft-fp/addsf3.c: Likewise.
13645 * soft-fp/addtf3.c: Likewise.
13646 * soft-fp/divdf3.c: Likewise.
13647 * soft-fp/divsf3.c: Likewise.
13648 * soft-fp/divtf3.c: Likewise.
13649 * soft-fp/double.h: Likewise.
13650 * soft-fp/eqdf2.c: Likewise.
13651 * soft-fp/eqsf2.c: Likewise.
13652 * soft-fp/eqtf2.c: Likewise.
13653 * soft-fp/extenddftf2.c: Likewise.
13654 * soft-fp/extended.h: Likewise.
13655 * soft-fp/extendsfdf2.c: Likewise.
13656 * soft-fp/extendsftf2.c: Likewise.
13657 * soft-fp/extendxftf2.c: Likewise.
13658 * soft-fp/fixdfdi.c: Likewise.
13659 * soft-fp/fixdfsi.c: Likewise.
13660 * soft-fp/fixdfti.c: Likewise.
13661 * soft-fp/fixsfdi.c: Likewise.
13662 * soft-fp/fixsfsi.c: Likewise.
13663 * soft-fp/fixsfti.c: Likewise.
13664 * soft-fp/fixtfdi.c: Likewise.
13665 * soft-fp/fixtfsi.c: Likewise.
13666 * soft-fp/fixtfti.c: Likewise.
13667 * soft-fp/fixunsdfdi.c: Likewise.
13668 * soft-fp/fixunsdfsi.c: Likewise.
13669 * soft-fp/fixunsdfti.c: Likewise.
13670 * soft-fp/fixunssfdi.c: Likewise.
13671 * soft-fp/fixunssfsi.c: Likewise.
13672 * soft-fp/fixunssfti.c: Likewise.
13673 * soft-fp/fixunstfdi.c: Likewise.
13674 * soft-fp/fixunstfsi.c: Likewise.
13675 * soft-fp/fixunstfti.c: Likewise.
13676 * soft-fp/floatdidf.c: Likewise.
13677 * soft-fp/floatdisf.c: Likewise.
13678 * soft-fp/floatditf.c: Likewise.
13679 * soft-fp/floatsidf.c: Likewise.
13680 * soft-fp/floatsisf.c: Likewise.
13681 * soft-fp/floatsitf.c: Likewise.
13682 * soft-fp/floattidf.c: Likewise.
13683 * soft-fp/floattisf.c: Likewise.
13684 * soft-fp/floattitf.c: Likewise.
13685 * soft-fp/floatundidf.c: Likewise.
13686 * soft-fp/floatundisf.c: Likewise.
13687 * soft-fp/floatunsidf.c: Likewise.
13688 * soft-fp/floatunsisf.c: Likewise.
13689 * soft-fp/floatuntidf.c: Likewise.
13690 * soft-fp/floatuntisf.c: Likewise.
13691 * soft-fp/floatuntitf.c: Likewise.
13692 * soft-fp/fmadf4.c: Likewise.
13693 * soft-fp/fmasf4.c: Likewise.
13694 * soft-fp/fmatf4.c: Likewise.
13695 * soft-fp/gedf2.c: Likewise.
13696 * soft-fp/gesf2.c: Likewise.
13697 * soft-fp/getf2.c: Likewise.
13698 * soft-fp/ledf2.c: Likewise.
13699 * soft-fp/lesf2.c: Likewise.
13700 * soft-fp/letf2.c: Likewise.
13701 * soft-fp/muldf3.c: Likewise.
13702 * soft-fp/mulsf3.c: Likewise.
13703 * soft-fp/multf3.c: Likewise.
13704 * soft-fp/negdf2.c: Likewise.
13705 * soft-fp/negsf2.c: Likewise.
13706 * soft-fp/negtf2.c: Likewise.
13707 * soft-fp/op-1.h: Likewise.
13708 * soft-fp/op-2.h: Likewise.
13709 * soft-fp/op-4.h: Likewise.
13710 * soft-fp/op-8.h: Likewise.
13711 * soft-fp/op-common.h: Likewise.
13712 * soft-fp/quad.h: Likewise.
13713 * soft-fp/single.h: Likewise.
13714 * soft-fp/soft-fp.h: Likewise.
13715 * soft-fp/sqrtdf2.c: Likewise.
13716 * soft-fp/sqrtsf2.c: Likewise.
13717 * soft-fp/sqrttf2.c: Likewise.
13718 * soft-fp/subdf3.c: Likewise.
13719 * soft-fp/subsf3.c: Likewise.
13720 * soft-fp/subtf3.c: Likewise.
13721 * soft-fp/truncdfsf2.c: Likewise.
13722 * soft-fp/trunctfdf2.c: Likewise.
13723 * soft-fp/trunctfsf2.c: Likewise.
13724 * soft-fp/trunctfxf2.c: Likewise.
13725 * soft-fp/unorddf2.c: Likewise.
13726 * soft-fp/unordsf2.c: Likewise.
13727 * soft-fp/unordtf2.c: Likewise.
13729 2013-10-14 Ondřej Bílka <neleai@seznam.cz>
13732 * misc/error.c (error_tail): Fix possible buffer overflow.
13734 2013-10-14 Aurelien Jarno <aurelien@aurel32.net>
13737 * res_send.c(__libc_res_nsend): Correctly copy the nameserver
13740 2013-10-14 P. J. McDermott <pj@pehjota.net>
13743 * elf/ldd.bash.in (try_trace): New function. Delete previous code
13744 testing pipefail option.
13746 2013-10-12 Joseph Myers <joseph@codesourcery.com>
13748 * soft-fp/double.h: Indent preprocessor directives inside #if.
13749 * soft-fp/extended.h: Likewise.
13750 * soft-fp/op-2.h: Likewise.
13751 * soft-fp/op-4.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.
13757 2013-10-12 Yuri Chornoivan <yurchor@ukr.net>
13759 * iconv/iconv_prog.c: Fix typos.
13760 * stdio-common/psiginfo-data.h: Likewise.
13762 2013-10-12 Reuben Thomas <rrt@sc3d.org>
13765 * locale/setlocale.c: Fix typo.
13767 2013-10-12 Joseph Myers <joseph@codesourcery.com>
13770 * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
13771 signaling NaN arguments.
13772 * soft-fp/unordsf2.c (__unordsf2): Likewise.
13773 * soft-fp/unordtf2.c (__unordtf2): Likewise.
13776 * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
13777 unordered operands.
13778 * soft-fp/gesf2.c (__gesf2): Likewise.
13779 * soft-fp/getf2.c (__getf2): Likewise.
13780 * soft-fp/ledf2.c (__ledf2): Likewise.
13781 * soft-fp/lesf2.c (__lesf2): Likewise.
13782 * soft-fp/letf2.c (__letf2): Likewise.
13784 * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
13785 * soft-fp/eqsf2.c (__eqsf2): Likewise.
13786 * soft-fp/eqtf2.c (__eqtf2): Likewise.
13787 * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
13788 * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
13789 * soft-fp/fixdfti.c (__fixdfti): Likewise.
13790 * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
13791 * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
13792 * soft-fp/fixsfti.c (__fixsfti): Likewise.
13793 * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
13794 * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
13795 * soft-fp/fixtfti.c (__fixtfti): Likewise.
13796 * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
13797 * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
13798 * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
13799 * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
13800 * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
13801 * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
13802 * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
13803 * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
13804 * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
13805 * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
13806 * soft-fp/floatdisf.c (__floatdisf): Likewise.
13807 * soft-fp/floatsisf.c (__floatsisf): Likewise.
13808 * soft-fp/floattidf.c (__floattidf): Likewise.
13809 * soft-fp/floattisf.c (__floattisf): Likewise.
13810 * soft-fp/floattitf.c (__floattitf): Likewise.
13811 * soft-fp/floatundidf.c (__floatundidf): Likewise.
13812 * soft-fp/floatundisf.c (__floatundisf): Likewise.
13813 * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
13814 * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
13815 * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
13816 * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
13817 * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
13818 * soft-fp/gesf2.c (__gesf2): Likewise.
13819 * soft-fp/getf2.c (__getf2): Likewise.
13820 * soft-fp/ledf2.c (__ledf2): Likewise.
13821 * soft-fp/lesf2.c (__lesf2): Likewise.
13822 * soft-fp/letf2.c (__letf2): Likewise.
13824 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
13825 Undefine and redefine.
13826 [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
13827 [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
13828 [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
13829 * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
13830 (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
13831 * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
13832 (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
13833 * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
13834 (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
13835 * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
13836 (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
13837 * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
13838 (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
13839 * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
13840 (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
13843 * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
13844 without decrementing exponent if mantissa >= that for the
13845 denominator, not >.
13846 (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
13847 denominator, not >. Decrement exponent in < case instead of
13848 incrementing in >= case.
13849 * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
13850 without decrementing exponent if mantissa >= that for the
13851 denominator, not >.
13853 * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
13854 computing saturated result for unsigned overflow.
13856 2013-10-11 Siddhesh Poyarekar <siddhesh@redhat.com>
13857 Jeff Law <law@redhat.com>
13859 * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
13860 (atan2Mp): Add systemtap probe marker.
13861 * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
13862 (__ieee754_log): Add systemtap probe marker.
13863 * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
13864 (atanMp): Add systemtap probe marker.
13865 * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
13866 (tanMp): Add systemtap probe marker.
13867 * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
13868 (__slowexp): Add systemtap probe marker.
13869 * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
13870 (__slowpow): Add systemtap probe marker.
13871 * manual/probes.texi: Document probes.
13873 2013-10-11 Eric Biggers <ebiggers3@gmail.com>
13876 * libio/fileops.c (_IO_new_file_write): Return count of bytes
13878 (_IO_new_file_xsputn): Don't return EOF if nothing has been
13880 * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
13881 written to buffer but not flushed.
13882 * libio/iofwrite_u.c: Likewise.
13883 * libio/iopadn.c: Return bytes returned even if EOF was
13885 * libio/iowpadn.c: Likewise.
13886 * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
13887 if _IO_padn does not write the whole buffer.
13888 [!COMPILE_WPRINTF] (PAD): Likewise.
13890 2013-10-10 David S. Miller <davem@davemloft.net>
13892 * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
13895 2013-10-10 Joseph Myers <joseph@codesourcery.com>
13897 * soft-fp/extendxftf2.c: Use copyright year range. Use URL
13898 instead of FSF address.
13899 * soft-fp/fixdfti.c: Likewise.
13900 * soft-fp/fixsfti.c: Likewise.
13901 * soft-fp/fixtfti.c: Likewise.
13902 * soft-fp/fixunsdfti.c: Likewise.
13903 * soft-fp/fixunssfti.c: Likewise.
13904 * soft-fp/fixunstfti.c: Likewise.
13905 * soft-fp/floattidf.c: Likewise.
13906 * soft-fp/floattisf.c: Likewise.
13907 * soft-fp/floattitf.c: Likewise.
13908 * soft-fp/floatuntidf.c: Likewise.
13909 * soft-fp/floatuntisf.c: Likewise.
13910 * soft-fp/floatuntitf.c: Likewise.
13911 * soft-fp/trunctfxf2.c: Likewise.
13913 * soft-fp/extendxftf2.c: New file. Copied from libgcc.
13914 * soft-fp/fixdfti.c: Likewise.
13915 * soft-fp/fixsfti.c: Likewise.
13916 * soft-fp/fixtfti.c: Likewise.
13917 * soft-fp/fixunsdfti.c: Likewise.
13918 * soft-fp/fixunssfti.c: Likewise.
13919 * soft-fp/fixunstfti.c: Likewise.
13920 * soft-fp/floattidf.c: Likewise.
13921 * soft-fp/floattisf.c: Likewise.
13922 * soft-fp/floattitf.c: Likewise.
13923 * soft-fp/floatuntidf.c: Likewise.
13924 * soft-fp/floatuntisf.c: Likewise.
13925 * soft-fp/floatuntitf.c: Likewise.
13926 * soft-fp/trunctfxf2.c: Likewise.
13928 2013-10-10 David S. Miller <davem@davemloft.net>
13930 * sysdeps/sparc/fpu/libm-test-ulps: Update.
13932 2013-10-10 Joseph Myers <joseph@codsourcery.com>
13934 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
13935 (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
13936 [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
13937 [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
13938 [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
13939 [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
13940 [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
13942 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
13943 for NaNs before doing comparisons on argument.
13944 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
13947 2013-10-10 Will Newton <will.newton@linaro.org>
13949 * malloc/hooks.c (memalign_check): Ensure the value of bytes
13950 passed to _int_memalign does not overflow.
13952 2013-10-10 Torvald Riegel <triegel@redhat.com>
13954 * scripts/bench.pl: Add include-sources directive.
13955 * benchtests/README: Update documentation.
13957 2013-10-10 Joseph Myers <joseph@codesourcery.com>
13959 * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
13960 * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
13961 instead of FP_INIT_ROUNDMODE.
13962 * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
13963 * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
13966 * soft-fp/op-common.h (_FP_NEG): Document input as raw. Do not
13967 copy class of input value.
13968 * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing. Do
13969 not handle exceptions.
13970 * soft-fp/negsf2.c (__negsf2): Likewise.
13971 * soft-fp/negtf2.c (__negtf2): Likewise.
13972 * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
13974 2013-10-09 Joseph Myers <joseph@codesourcery.com>
13976 * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
13977 semicolon. From Linux kernel.
13979 2013-10-09 Adam Buchbinder <adam.buchbinder@gmail.com>
13981 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
13983 2013-10-08 Yogesh Chaudhari <mr.yogesh@gmail.com>
13986 * manual/socket.texi: Added statement about buffer
13987 for gethostbyname2_r.
13989 2013-10-08 Ondřej Bílka <neleai@seznam.cz>
13991 * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
13992 Use .p2align directive instead, throughout.
13993 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
13994 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
13995 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
13996 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
13997 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
13998 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
13999 * sysdeps/x86_64/strchr.S: Likewise.
14000 * sysdeps/x86_64/strrchr.S: Likewise.
14002 2013-10-08 Siddhesh Poyarekar <siddhesh@redhat.com>
14004 * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
14006 * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
14008 * sysdeps/generic/math_private.h (__mpsin1): Remove
14010 (__mpcos1): Likewise.
14011 (__mpsin): New argument __range_reduce.
14012 (__mpcos): Likewise.
14013 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
14014 (slow): Use __mpsin and __mpcos.
14018 (sloww1): Likewise.
14019 (sloww2): Likewise.
14020 (bsloww): Likewise.
14021 (bsloww1): Likewise.
14022 (bsloww2): Likewise.
14023 (cslow2): Likewise.
14024 (csloww): Likewise.
14025 (csloww1): Likewise.
14026 (csloww2): Likewise.
14027 * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
14028 range_reduce. Merge in __mpsin1.
14029 (__mpcos): Likewise.
14030 (__mpsin1): Remove.
14031 (__mpcos1): Likewise.
14033 2013-10-07 Joseph Myers <joseph@codesourcery.com>
14035 * locale/loadlocale.c (_nl_intern_locale_data): Use
14037 * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
14038 LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
14039 * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
14040 obstack data is appropriately aligned.
14041 (obstack_int32_grow_fast): Likewise.
14042 * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
14043 * locale/programs/locfile.c (add_locale_uint32): Likewise.
14044 (add_locale_uint32_array): Likewise.
14046 2013-10-07 Siddhesh Poyarekar <siddhesh@redhat.com>
14048 * benchtests/Makefile: Remove ARGLIST and RET variables.
14049 ($(objpfx)bench-%.c): Pass only function name to the script.
14050 * benchtests/README: Update documentation.
14051 * benchtests/acos-inputs: Add new directives.
14052 * benchtests/acosh-inputs: Likewise.
14053 * benchtests/asin-inputs: Likewise.
14054 * benchtests/asinh-inputs: Likewise.
14055 * benchtests/atan-inputs: Likewise.
14056 * benchtests/atanh-inputs: Likewise.
14057 * benchtests/cos-inputs: Likewise.
14058 * benchtests/cosh-inputs: Likewise.
14059 * benchtests/exp-inputs: Likewise.
14060 * benchtests/log-inputs: Likewise.
14061 * benchtests/pow-inputs: Likewise.
14062 * benchtests/rint-inputs: Likewise.
14063 * benchtests/sin-inputs: Likewise.
14064 * benchtests/sinh-inputs: Likewise.
14065 * benchtests/tan-inputs: Likewise.
14066 * benchtests/tanh-inputs: Likewise.
14067 * scripts/bench.pl: Add support for new directives.
14069 2013-10-07 Alan Modra <amodra@gmail.com>
14071 * README: Fix careless merge.
14073 2013-10-05 Alan Modra <amodra@gmail.com>
14075 * NEWS: Mention powerpc64le support and bugs fixed.
14076 * README: Both big-endian and little-endian powerpc64 supported.
14078 2013-10-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
14080 * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook)
14081 (_hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
14082 (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
14083 _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
14085 2013-10-04 Ryan S. Arnold <ryan.arnold@linaro.org>
14087 * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
14090 2013-10-04 Joseph Myers <joseph@codesourcery.com>
14092 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
14093 Move -mhard-float appending from
14094 ports/sysdeps/powerpc/powerpc32/Makefile.
14095 [$(with-fp) = yes] (ASFLAGS): Likewise.
14096 [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
14097 * sysdeps/powerpc/nofpu: Move directory from
14098 ports/sysdeps/powerpc/nofpu.
14099 * sysdeps/powerpc/soft-fp: Move directory from
14100 ports/sysdeps/powerpc/soft-fp.
14101 * sysdeps/powerpc/powerpc32/405: Move directory from
14102 ports/sysdeps/powerpc/powerpc32/405.
14103 * sysdeps/powerpc/powerpc32/440: Move directory from
14104 ports/sysdeps/powerpc/powerpc32/440.
14105 * sysdeps/powerpc/powerpc32/464: Move directory from
14106 ports/sysdeps/powerpc/powerpc32/464.
14107 * sysdeps/powerpc/powerpc32/476: Move directory from
14108 ports/sysdeps/powerpc/powerpc32/476.
14109 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
14110 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
14111 * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
14112 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
14113 * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
14114 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
14115 * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
14116 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
14117 * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
14118 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
14119 * README: Update for powerpc-*-linux-gnu software floating point
14122 * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
14123 case to powerpc/powerpc32*.
14124 * sysdeps/unix/sysv/linux/configure: Regenerated.
14126 * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
14127 (_FPU_MASK_OM): Define as 0x04.
14128 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
14129 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
14131 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
14133 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
14135 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
14136 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
14138 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
14139 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
14141 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
14142 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
14143 and setcontext_e500.
14145 2013-10-04 Chris Leonard <cjl@sugarlabs,.org>
14147 * locale/iso-3166.def: Update iso-1366.def and related occurrences
14149 2013-10-04 Siddhesh Poyarekar <siddhesh@redhat.com>
14151 * manual/threads.texi (Default Thread Attributes): Fix typo.
14153 2013-10-04 Will Newton <will.newton@linaro.org>
14155 * malloc/Makefile: Add tst-memalign.
14156 * malloc/tst-memalign.c: New file.
14158 * malloc/tst-posix_memalign.c: Add comments.
14159 (do_test): Add comments and call free on all potentially
14160 allocated pointers. Add space after cast.
14162 * malloc/tst-pvalloc.c: Add comments.
14163 (do_test): Add comments and call free on all potentially
14164 allocated pointers. Remove duplicate check for NULL pointer.
14165 Add space after cast.
14167 * malloc/tst-valloc.c: Add comments.
14168 (do_test): Add comments and call free on all potentially
14169 allocated pointers. Remove duplicate check for NULL pointer.
14170 Add space after cast.
14172 2013-10-04 Alan Modra <amodra@gmail.com>
14174 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
14175 Use stdint types in rather than __attribute__((mode())).
14176 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
14178 2013-10-04 Alan Modra <amodra@gmail.com>
14180 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
14181 Correct handling of unaligned relocs for little-endian.
14182 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
14184 2013-10-04 Alan Modra <amodra@gmail.com>
14186 * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
14187 * configure: Regenerate.
14188 * nptl/shlib-versions: Powerpc*le starts at 2.18.
14189 * shlib-versions: Likewise.
14191 2013-10-04 Alan Modra <amodra@gmail.com>
14193 * string/tester.c (test_memrchr): Increment reported test cycle.
14195 2013-10-04 Alan Modra <amodra@gmail.com>
14197 * string/test-memcpy.c (do_one_test): When reporting errors, print
14198 string address and don't overrun end of string.
14200 2013-10-04 Alan Modra <amodra@gmail.com>
14202 * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
14203 insrdi. Make better use of reg selection to speed exit slightly.
14204 Schedule entry path a little better. Remove useless "are we done"
14205 checks on entry to main loop. Handle wrapping around zero address.
14206 Correct main loop count. Handle single left-over word from main
14207 loop inline rather than by using loop_small. Remove extra word
14208 case in loop_small caused by wrong loop count. Add little-endian
14210 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
14211 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise. Use proper
14213 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
14214 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
14215 support. Avoid rlwimi.
14216 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
14218 2013-10-04 Alan Modra <amodra@gmail.com>
14220 * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
14221 insrdi. Formatting.
14222 * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
14223 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
14224 * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
14225 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
14226 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
14227 * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
14229 2013-10-04 Alan Modra <amodra@gmail.com>
14231 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
14232 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
14233 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
14234 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
14235 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
14236 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
14237 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
14238 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
14239 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise. Make better
14240 use of regs. Use power7 mtocrf. Tidy function tails.
14242 2013-10-04 Alan Modra <amodra@gmail.com>
14244 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
14245 Formatting. Consistently use rXXX register defines or rN defines.
14246 Use early exit labels that avoid restoring unused non-volatile regs.
14247 Make cr field use more consistent with rWORDn compares. Rename
14248 regs used as shift registers for unaligned loop, using rN defines
14249 for short lifetime/multiple use regs.
14250 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
14251 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise. Exit with
14252 addi 1,1,64 to pop stack frame. Simplify return value code.
14253 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
14255 2013-10-04 Alan Modra <amodra@gmail.com>
14257 * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
14258 support. Correct typos, formatting. Optimize tail. Use insrdi
14259 rather than rlwimi.
14260 * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
14261 * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
14262 little-endian support. Correct typos.
14263 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise. Use insrdi
14264 rather than rlwimi.
14265 * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define. Use
14266 in loop and entry code to keep "and." results.
14267 (strchr): Add little-endian support. Comment. Move cntlzd
14269 * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
14271 2013-10-04 Alan Modra <amodra@gmail.com>
14273 * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
14274 * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
14275 * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
14276 * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
14278 2013-10-04 Alan Modra <amodra@gmail.com>
14280 * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
14281 (rTMP): Define as r11.
14282 (strcmp): Add little-endian support. Optimise tail.
14283 * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
14284 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
14285 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
14286 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
14287 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
14288 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
14289 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
14291 2013-10-04 Alan Modra <amodra@gmail.com>
14293 * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
14294 little-endian support. Remove unnecessary "are we done" tests.
14295 Handle "s" wrapping around zero and extremely large "size".
14296 Correct main loop count. Handle single left-over word from main
14297 loop inline rather than by using small_loop. Correct comments.
14298 Delete "zero" tail, use "end_max" instead.
14299 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
14301 2013-10-04 Alan Modra <amodra@gmail.com>
14303 * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
14304 support. Don't branch over align.
14305 * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
14306 * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
14307 support. Rearrange tmp reg use to suit. Comment.
14308 * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
14310 2013-10-04 Alan Modra <amodra@gmail.com>
14312 * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
14314 2013-10-04 Alan Modra <amodra@gmail.com>
14316 * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
14317 conditional form of branch and link when obtaining pc.
14318 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
14320 2013-10-04 Alan Modra <amodra@gmail.com>
14322 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
14324 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
14325 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
14327 2013-10-04 Alan Modra <amodra@gmail.com>
14329 * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
14330 * sysdeps/powerpc/novmx-longjmp.c: Likewise.
14331 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
14332 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
14333 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
14334 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
14335 * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
14336 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
14337 * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
14338 * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
14340 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
14341 Alistair Popple <alistair@ozlabs.au.ibm.com>
14342 Alan Modra <amodra@gmail.com>
14345 * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
14346 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
14347 _dl_hwcap access for little-endian.
14348 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise. Don't
14349 destroy vmx regs when saving unaligned.
14350 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
14351 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save. Don't
14352 destroy vmx regs when saving unaligned.
14354 2013-10-04 Alan Modra <amodra@gmail.com>
14356 * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
14357 Don't use a union to pack hi/low value.
14359 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
14361 * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
14363 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
14364 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
14365 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
14366 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
14367 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
14369 2013-10-04 Alan Modra <amodra@gmail.com>
14371 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
14372 constants to usual value for .cst8 section, and remove redundant
14374 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
14375 constant for 0x1p52. Load little-endian words of double from
14376 correct stack offsets.
14378 2013-10-04 Alan Modra <amodra@gmail.com>
14380 * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
14381 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
14382 words of double from correct stack offsets.
14383 * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
14384 * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
14385 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
14386 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
14387 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
14388 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
14389 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
14390 * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
14391 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
14392 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
14393 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
14394 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
14395 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
14396 * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
14397 * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
14398 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
14399 * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
14401 2013-10-04 Alan Modra <amodra@gmail.com>
14403 * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
14404 64-bit int/double union.
14405 (_FPU_SETCW): Likewise.
14406 * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
14407 (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
14409 2013-10-04 Alan Modra <amodra@gmail.com>
14411 * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
14412 * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
14414 2013-10-04 Alan Modra <amodra@gmail.com>
14416 * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
14417 use vector int constants.
14418 (__float_and_test24, __float_and8, __float_get_exp): Likewise.
14420 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
14422 * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
14423 array with long long.
14424 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
14425 * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
14426 * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
14427 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
14428 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
14429 * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
14430 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
14431 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
14432 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
14433 * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
14434 * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
14435 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
14436 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
14438 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
14440 * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
14441 (__signbit): Likewise. Correct for little-endian.
14442 (__signbitl): Call __signbit.
14443 (lrint): Correct for little-endian.
14444 (lrintf): Call lrint.
14446 2013-10-04 Alan Modra <amodra@gmail.com>
14448 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
14449 union 32-bit int array member with 64-bit int array.
14450 (t515, tm256): Double rather than long double.
14451 (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
14453 2013-10-04 Alan Modra <amodra@gmail.com>
14455 * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
14457 (IEEE854_LONG_DOUBLE_BIAS): Delete.
14458 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
14459 version of math_ldbl.h.
14461 2013-10-04 Alan Modra <amodra@gmail.com>
14463 [BZ #15734], [BZ #15735]
14464 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
14465 all uses of ieee875 long double macros and unions. Simplify test
14466 for 0.0L. Correct |x|<|y| and |x|=|y| test. Use
14467 ldbl_extract_mantissa value for ix,iy exponents. Properly
14468 normalize after ldbl_extract_mantissa, and don't add hidden bit
14469 already handled. Don't treat low word of ieee854 mantissa like
14470 low word of IBM long double and mask off bit when testing for
14472 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
14473 all uses of ieee875 long double macros and unions. Simplify tests
14474 for 0.0L and inf. Correct double adjustment of k. Delete dead code
14475 adjusting ha,hb. Simplify code setting kld. Delete two600 and
14476 two1022, instead use their values. Recognise that tests for large
14477 "a" and small "b" are mutually exclusive. Rename vars. Comment.
14478 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
14479 Rewrite all uses of ieee875 long double macros and unions. Simplify
14480 test for 0.0L and nan. Correct negation.
14481 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
14482 ieee875 long double macros and unions. Correct output for large
14483 magnitude x. Correct absolute value calculation.
14484 (__erfcl): Likewise.
14485 * math/libm-test.inc: Add tests for errors discovered in IBM long
14486 double versions of fmodl, remainderl, erfl and erfcl.
14488 2013-10-04 Alan Modra <amodra@gmail.com>
14490 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
14491 all uses of ieee854 long double macros and unions. Simplify tests
14492 for long doubles that are fully specified by the high double.
14493 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
14495 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
14496 Remove dead code too.
14497 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
14498 (__ieee754_ynl): Likewise.
14499 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
14500 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
14501 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
14502 Remove dead code too.
14503 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
14504 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
14505 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
14506 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
14508 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
14510 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
14511 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
14512 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
14513 Comment on variable precision.
14514 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
14515 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
14517 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
14518 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
14519 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
14520 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
14521 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
14523 2013-10-04 Alan Modra <amodra@gmail.com>
14525 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
14526 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
14527 all uses of ieee854 long double macros and unions.
14528 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
14529 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
14530 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
14531 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
14532 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
14533 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
14535 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
14536 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
14537 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
14538 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
14539 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
14540 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
14541 Simplify sign and nan test too.
14542 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
14543 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
14544 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
14545 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
14547 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
14548 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
14550 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
14551 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
14552 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
14553 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
14554 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
14555 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
14557 2013-10-04 Alan Modra <amodra@gmail.com>
14559 * stdio-common/printf_size.c (__printf_size): Don't use
14560 union ieee854_long_double in fpnum union.
14561 * stdio-common/printf_fphex.c (__printf_fphex): Likewise. Use
14562 signbit macro to retrieve sign from long double.
14563 * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
14564 retrieve sign from long double.
14565 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
14566 * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
14567 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
14568 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
14569 * math/test-misc.c (main): Don't use union ieee854_long_double.
14571 2013-10-04 Alan Modra <amodra@gmail.com>
14574 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
14575 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
14576 (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
14577 calculation. Remove unnecessary test for denormal exponent.
14578 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
14579 Correct handling of denormals. Avoid undefined shift behaviour.
14580 Correct normalisation of low mantissa when low double is denormal.
14581 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
14582 (ldbl_extract_mantissa): Likewise. Comment. Use uint64_t* for hi64.
14583 (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
14584 Correct normalisation of low mantissa. Test for overflow of high
14585 mantissa and normalise.
14586 (ldbl_nearbyint): Use more readable constant for two52.
14587 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
14588 (__mpn_construct_long_double): Fix test for overflow of high
14589 mantissa and correct normalisation. Avoid undefined shift.
14591 2013-10-04 Alan Modra <amodra@gmail.com>
14593 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
14594 (union ibm_extended_long_double): Define as an array of ieee754_double.
14595 (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
14596 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
14597 to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
14598 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
14599 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
14600 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
14601 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
14602 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
14603 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
14604 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
14605 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
14607 2013-10-03 Joseph Myers <joseph@codesourcery.com>
14609 * locale/programs/locarchive.c (add_locale): Use constant 4096 for
14610 page size instead of calling getpagesize.
14612 * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
14613 (LOCFILE_ALIGN_MASK): Likewise.
14614 (LOCFILE_ALIGN_UP): Likewise.
14615 (LOCFILE_ALIGNED_P): Likewise.
14616 * locale/programs/ld-collate.c (collate_output): Use the new
14617 macros instead of __alignof__ (int32_t).
14618 * locale/weight.h (findidx): Likewise.
14620 2013-10-03 Ondřej Bílka <neleai@seznam.cz>
14623 * manual/string.texi: Fix strncat and wcsncat.
14625 2013-10-03 Brooks Moses <bmoses@google.com>
14628 * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
14629 * Makerules: ...here, and adjust associated comments.
14631 2013-10-02 Will Newton <will.newton@linaro.org>
14633 * malloc/Makefile: Add tst-pvalloc.
14634 * malloc/tst-pvalloc.c: New file.
14636 2013-10-02 Will Newton <will.newton@linaro.org>
14638 * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
14639 improve test coverage.
14641 2013-10-02 Will Newton <will.newton@linaro.org>
14643 * malloc/Makefile: Add tst-posix_memalign.
14644 * malloc/tst-posix_memalign.c: New file.
14646 2013-10-01 Eric Blake <eblake@redhat.com>
14648 * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
14649 Use __THROWNL rather than __THROW on static functions.
14651 2013-09-30 Petr Machata <pmachata@redhat.com>
14653 * elf/elf.h (R_AARCH64_ABS16): New macro.
14654 (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
14655 (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
14656 (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
14657 (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
14658 (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
14659 (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
14660 (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
14661 (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
14662 (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
14663 (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
14664 (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
14665 (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
14666 (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
14667 (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
14668 (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
14669 (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
14670 (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
14671 (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
14672 (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
14673 (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
14674 (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
14675 (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
14676 (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
14677 (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
14678 (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
14679 (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
14680 (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
14681 (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
14682 (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
14683 (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
14684 (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
14685 (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
14686 (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
14687 (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
14688 (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
14689 (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
14690 (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
14691 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
14692 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
14693 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
14694 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
14695 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
14696 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
14697 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
14698 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
14699 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
14700 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
14701 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
14702 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
14703 (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
14704 (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
14705 (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
14706 (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
14707 (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
14708 (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
14709 (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
14710 (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
14711 (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
14712 (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
14713 (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
14714 (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
14715 (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
14716 (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
14717 (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
14718 (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
14719 (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
14720 (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
14721 (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
14722 (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
14723 (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
14724 (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
14725 (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
14726 (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
14727 (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
14728 (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
14729 (R_AARCH64_TLSDESC_OFF_G1): Likewise.
14730 (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
14731 (R_AARCH64_TLSDESC_LDR): Likewise.
14732 (R_AARCH64_TLSDESC_ADD): Likewise.
14733 (R_AARCH64_TLSDESC_CALL): Likewise.
14735 2013-09-30 Andreas Schwab <schwab@suse.de>
14738 * nscd/aicache.c (addhstaiX): Properly use the cache variable for
14739 the nss database lookup.
14740 * nscd/initgrcache.c (addinitgroupsX): Likewise.
14741 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
14743 2013-09-28 Mike Frysinger <vapier@gentoo.org>
14745 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
14747 2013-09-28 P. J. McDermott <pj@pehjota.net>
14749 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
14750 ${Bash-specific parameter/pattern/string} parameter expansion.
14751 * sysdeps/unix/make-syscalls.sh: Likewise.
14753 2013-09-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
14755 * sysdeps/sh/stackguard-macros.h: New file.
14757 2013-09-26 Ondřej Bílka <neleai@seznam.cz>
14759 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
14760 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
14761 * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
14762 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
14763 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
14764 * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
14766 2013-09-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14768 * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
14769 Fix thread ID register.
14771 2013-09-25 Joseph Myers <joseph@codesourcery.com>
14773 * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
14774 [POSIX || UNIX98]: Require rather than permitting all symbols from
14776 [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
14777 element of struct sched_param.
14778 [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
14779 [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
14780 [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
14781 [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
14784 2013-09-24 Olivier Langlois <olivier@olivierlanglois.net>
14786 * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
14787 argument calculation.
14789 2013-09-24 Joseph Myers <joseph@codesourcery.com>
14791 * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
14793 [POSIX] (pthread_attr_t): Do not require type.
14794 [POSIX] (pthread_cond_t): Likewise.
14795 [POSIX] (pthread_condattr_t): Likewise.
14796 [POSIX] (pthread_key_t): Likewise.
14797 [POSIX] (pthread_mutex_t): Likewise.
14798 [POSIX] (pthread_mutexattr_t): Likewise.
14799 [POSIX] (pthread_once_t): Likewise.
14800 [POSIX] (pthread_t): Likewise.
14801 [POSIX-based standards] (pthread_atfork): Expect function.
14803 2013-09-24 Joseph Myers <joseph@codesourcery.com>
14804 Richard Sandiford <richard@codesourcery.com>
14806 * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
14807 (swap_endianness_p): New extern variable.
14808 (set_big_endian): New inline function.
14809 (maybe_swap_uint32): Likewise.
14810 (maybe_swap_uint32_array): Likewise.
14811 (maybe_swap_uint32_obstack): Likewise.
14812 * locale/programs/locfile.c: Include <stdbool.h>.
14813 (swap_endianness_p): New variable.
14814 (add_locale_uint32): Call maybe_swap_uint32.
14815 (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
14816 (write_locale_data): Call maybe_swap_uint32_array.
14817 * locale/programs/ld-collate.c (obstack_int32_grow): Call
14819 (obstack_int32_grow_fast): Likewise.
14820 (output_weightwc): Call maybe_swap_uint32_obstack.
14821 (collate_output): Likewise.
14822 * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
14823 (OPT_LITTLE_ENDIAN): Likewise.
14824 (options): Add --little-endian and --big-endian options.
14825 (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
14826 * locale/programs/locarchive.c: Include "locfile.h".
14830 (create_archive): Use the new macros to access fields of
14831 structures directly mapped from or written to locale archives.
14832 (oldlocrecentcmp): Likewise.
14833 (enlarge_archive): Likewise.
14834 (insert_name): Likewise.
14835 (add_alias): Likewise.
14836 (add_locale): Likewise.
14837 (delete_locales_from_archive): Likewise.
14838 (show_archive_content): Likewise.
14839 (add_locale_to_archive): Likewise. Use maybe_swap_uint32 on
14842 2013-09-24 Roland McGrath <roland@hack.frob.com>
14844 * manual/freemanuals.texi: Updated from (newly) canonical copy at
14845 http://www.gnu.org/doc/freemanuals.texi.
14846 * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
14848 2013-09-24 Will Newton <will.newton@linaro.org>
14850 * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
14853 2013-09-23 Joseph Myers <joseph@codesourcery.com>
14855 * locale/hashval.h (compute_hashval): Interpret bytes of key as
14858 2013-09-23 Maciej W. Rozycki <macro@codesourcery.com>
14860 * manual/threads.texi (POSIX Threads): Fix a typo.
14862 2013-09-23 Siddhesh Poyarekar <siddhesh@redhat.com>
14865 * string/tst-strcoll-overflow.c: New test case.
14866 * string/Makefile (xtests): Add tst-strcoll-overflow.
14867 * string/strcoll_l.c (STRCOLL): Skip allocating memory for
14868 cache if string sizes may cause integer overflow.
14871 * string/strcoll_l.c (coll_seq): New members rule, idx,
14872 save_idx and back_us.
14873 (get_next_seq_nocache): New function.
14874 (do_compare_nocache): New function.
14875 (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
14878 2013-09-23 Carlos O'Donell <carlos@redhat.com>
14881 * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
14882 __pointer_chk_guard_local, otherwise __pointer_chk_guard.
14883 * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
14886 * elf/Makefile (tests): Add tst-ptrguard1.
14887 (tests-static): Add tst-ptrguard1-static.
14888 (tst-ptrguard1-ARGS): Define.
14889 (tst-ptrguard1-static-ARGS): Define.
14890 * elf/tst-ptrguard1.c: New file.
14891 * elf/tst-ptrguard1-static.c: New file.
14892 * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
14893 * sysdeps/i386/stackguard-macros.h: Likewise.
14894 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
14895 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
14896 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
14897 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
14898 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
14899 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
14901 2013-09-23 Hector Marco <hecmargi@upv.es>
14902 Ismael Ripoll <iripoll@disca.upv.es>
14903 Carlos O'Donell <carlos@redhat.com>
14906 * sysdeps/generic/stackguard-macros.h: Define
14907 __pointer_chk_guard_local and POINTER_CHK_GUARD.
14908 * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
14909 Define __pointer_chk_guard_local.
14910 (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
14911 Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
14913 2013-09-15 Vinitha Vijayan <vinitha.vijayann@gmail.com>
14916 * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
14918 2013-09-20 Andreas Schwab <schwab@linux-m68k.org>
14920 * include/string.h (__ffs): Declare as hidden.
14921 * string/ffs.c (__ffs): Define as hidden.
14922 * sysdeps/i386/ffs.c (__ffs): Likewise.
14923 * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
14924 * sysdeps/powerpc/ffs.c (__ffs): Likewise.
14925 * sysdeps/s390/ffs.c (__ffs): Likewise.
14926 * sysdeps/x86_64/ffs.c (__ffs): Likewise.
14928 2013-09-20 Alexandre Oliva <aoliva@redhat.com>
14930 * NEWS: Mention malloc probes.
14932 * malloc/arena.c (new_heap): New memory_heap_new probe.
14933 (grow_heap): New memory_heap_more probe.
14934 (shrink_heap): New memory_heap_less probe.
14935 (heap_trim): New memory_heap_free probe.
14936 * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
14937 (systrim): New memory_sbrk_less probe.
14938 * manual/probes.texi: Document them.
14940 * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
14941 * manual/probes.texi: Document it.
14943 * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
14944 (__libc_realloc): Add memory_realloc_retry probe.
14945 (__libc_memalign): Add memory_memalign_retry probe.
14946 (__libc_valloc): Add memory_valloc_retry probe.
14947 (__libc_pvalloc): Add memory_pvalloc_retry probe.
14948 (__libc_calloc): Add memory_calloc_retry probe.
14949 * manual/probes.texi: Document them.
14951 * malloc/arena.c (get_free_list): Add probe
14952 memory_arena_reuse_free_list.
14953 (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
14954 and memory_arena_reuse.
14955 (arena_get2) [!PER_THREAD]: Likewise.
14956 * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
14957 memory_arena_reuse_realloc.
14958 * manual/probes.texi: Document them.
14960 * malloc/malloc.c (__libc_free): Add
14961 memory_mallopt_free_dyn_thresholds probe.
14962 (__libc_mallopt): Add multiple memory_mallopt probes.
14963 * manual/probes.texi: Document them.
14965 * malloc/malloc.c: Include stap-probe.h.
14966 (__libc_mallopt): Add memory_mallopt probe.
14967 * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
14968 * manual/probes.texi: New.
14969 * manual/Makefile (chapters): Add probes.
14970 * manual/threads.texi: Set next node.
14972 2013-09-19 Wei-Lun Chao <bluebat@member.fsf.org>
14974 [BZ #15963, #13985]
14975 * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
14976 czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
14977 Add `Chinese' to `nan' entry name.
14979 2013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
14981 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
14982 (POLYNOMIAL): Likewise.
14983 (TAYLOR_SINCOS): Likewise.
14984 (TAYLOR_SLOW): Likewise.
14985 (__sin): Use TAYLOR_SINCOS.
14987 (slow): Use TAYLOR_SLOW.
14989 (bsloww): Likewise.
14990 (csloww): Likewise.
14992 2013-09-19 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
14994 * stdlib/strtod_l.c: Fix buffer overrun.
14996 2013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
14998 * benchtests/Makefile (bench): Add sincos.
14999 * benchtests/bench-sincos.c: New file.
15001 * math/libm-test.inc (cos_test_data): New test inputs.
15002 (sin_test_data): Likewise.
15004 * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
15010 (sloww1): Likewise.
15011 (sloww2): Likewise.
15012 (bsloww1): Likewise.
15013 (bsloww2): Likewise.
15014 (cslow2): Likewise.
15015 (csloww1): Likewise.
15016 (csloww2): Likewise.
15018 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
15023 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
15027 2013-09-18 Maciej W. Rozycki <macro@codesourcery.com>
15029 * config.h.in (HAVE_MIPS_NAN2008): New macro.
15030 * elf/elf.h (EF_MIPS_NAN2008): Likewise.
15031 * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
15032 (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
15033 (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
15034 * elf/cache.c (print_entry): Handle the new cache flags.
15036 2013-09-18 Joseph Myers <joseph@codesourcery.com>
15037 Aldy Hernandez <aldyh@redhat.com>
15039 * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
15040 Change condition to [_SOFT_FLOAT].
15041 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
15042 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
15043 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
15044 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
15045 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
15046 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
15047 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
15048 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
15049 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
15050 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
15051 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
15052 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
15053 [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
15054 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
15055 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
15056 [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
15059 2013-09-18 Joseph Myers <joseph@codesourcery.com>
15061 * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
15062 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
15063 (__longjmp): Use LOAD_GP to load saved GPRs.
15064 * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
15065 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
15066 (__sigsetjmp): Use SAVE_GP to save GPRs.
15068 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
15069 Do not append -msoft-float.
15070 [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
15072 2013-09-18 Siddhesh Poyarekar <siddhesh@redhat.com>
15074 * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
15076 2013-09-17 Joseph Myers <joseph@codesourcery.com>
15079 * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
15080 (_FPU_GETCW): Use initial "__" on variable and field names but not
15081 on macro parameter name.
15082 [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise. Use
15083 parentheses around reference to macro parameter.
15085 2013-09-13 Richard Sandiford <richard@codesourcery.com>
15087 * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
15089 (ctype_startup): Use uint32_t in cast and sizeof for
15092 2013-09-11 Jia Liu <proljc@gmail.com>
15094 * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
15096 [__FreeBSD__]: Likewise.
15098 2013-09-11 Ondřej Bílka <neleai@seznam.cz>
15100 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
15101 (__libc_ifunc_impl_list): Remove: __strchr_sse42.
15102 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
15103 (strchr): Remove __strchr_sse42 ifunc selection.
15104 * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
15105 * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
15107 2013-09-11 Will Newton <will.newton@linaro.org>
15109 * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
15110 parameter to RES. Remove hardcoded 1000 value.
15111 * benchtests/bench-skeleton.c (main): Pass RES parameter
15112 to TIMING_INIT and multiply result by 1000.
15114 2013-09-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15116 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15118 2013-09-11 Andreas Schwab <schwab@suse.de>
15120 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
15122 (O_TMPFILE) [__USE_GNU]: Define.
15123 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
15126 2013-09-11 Will Newton <will.newton@linaro.org>
15129 * malloc/malloc.c (__libc_memalign): Check the value of bytes
15132 2013-09-11 Will Newton <will.newton@linaro.org>
15135 * malloc/malloc.c (__libc_valloc): Check the value of bytes
15138 2013-09-11 Will Newton <will.newton@linaro.org>
15141 * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
15144 2013-09-10 Ondřej Bílka <neleai@seznam.cz>
15146 * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
15147 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
15148 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
15149 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
15150 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
15152 2013-09-10 Allan McRae <allan@archlinux.org>
15155 * manual/arith.texi (Parsing of Floats): Clarify
15159 * manual/install.texi (Running make install): Mention
15161 * INSTALL: Regenerated.
15163 2013-09-09 Maciej W. Rozycki <macro@codesourcery.com>
15165 * csu/init-first.c (_init): Remove the !SHARED condition around
15166 FPU control word initialization.
15167 * elf/dl-support.c (_dl_fpu_control): New variable.
15168 (_dl_aux_init) <AT_FPUCW>: Initialize it.
15169 * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
15170 (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
15171 * math/test-fpucw-static.c: New file.
15172 * math/test-fpucw-ieee.c: New file.
15173 * math/test-fpucw-ieee-static.c: New file.
15174 * math/Makefile (tests): Add `test-fpucw-ieee' and
15176 (tests-static): New variable.
15177 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
15179 [($(build-shared),yes)]
15180 ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
15182 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
15185 2013-09-09 Allan McRae <allan@archlinux.org>
15188 * manual/string.texi (Collation Functions): Fix typo in
15190 Reported by Suren Karapetyan <me@suren.karapetyan.name>.
15193 * stdlib/isomac.c (get_null_defines): Fix memory leak.
15196 * libio/memstream.c (open_memstream): Fix memory leak.
15197 * libio/wmemstream.c (open_wmemstream): Likewise.
15200 * nscd/netgroupcache.c: Fix nesting of ifdefs.
15202 2013-09-09 Will Newton <will.newton@linaro.org>
15204 * malloc/Makefile: Add tst-realloc to tests.
15205 * malloc/tst-realloc.c: New file.
15207 2013-09-09 Allan McRae <allan@archlinux.org>
15210 * COPYING: Update from GNU website to fix FSF address.
15211 * COPYING.LIB: Likewise.
15213 2013-09-06 David S. Miller <davem@davemloft.net>
15215 * po/zh_TW.po: Update Chinese (traditional) translation from
15216 translation project.
15218 2013-09-06 Richard Sandiford <richard@codesourcery.com>
15219 Joseph Myers <joseph@codesourcery.com>
15221 * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
15223 (obstack_chunk_alloc): New macro.
15224 (obstack_chunk_free): Likewise.
15225 (record_offset): New function.
15226 (init_locale_data): Likewise.
15227 (align_locale_data): Likewise.
15228 (add_locale_empty): Likewise.
15229 (add_locale_raw_data): Likewise.
15230 (add_locale_raw_obstack): Likewise.
15231 (add_locale_string): Likewise.
15232 (add_locale_wstring): Likewise.
15233 (add_locale_uint32): Likewise.
15234 (add_locale_uint32_array): Likewise.
15235 (add_locale_char): Likewise.
15236 (start_locale_structure): Likewise.
15237 (end_locale_structure): Likewise.
15238 (start_locale_prelude): Likewise.
15239 (end_locale_prelude): Likewise.
15240 (write_locale_data): Take locale_file structure rather than an
15242 * locale/programs/locfile.h: Include "obstack.h".
15243 (struct locale_file): Change to store locale file contents instead
15245 (init_locale_data): New prototype.
15246 (align_locale_data): Likewise.
15247 (add_locale_empty): Likewise.
15248 (add_locale_raw_data): Likewise.
15249 (add_locale_raw_obstack): Likewise.
15250 (add_locale_string): Likewise.
15251 (add_locale_wstring): Likewise.
15252 (add_locale_uint32): Likewise.
15253 (add_locale_uint32_array): Likewise.
15254 (add_locale_char): Likewise.
15255 (start_locale_structure): Likewise.
15256 (end_locale_structure): Likewise.
15257 (start_locale_prelude): Likewise.
15258 (end_locale_prelude): Likewise.
15259 (write_locale_data): Update prototype.
15260 * locale/programs/3level.h (struct TABLE): Remove result field.
15261 (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
15262 Use new locale_file interface.
15263 [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
15264 (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
15265 * locale/programs/ld-address.c (address_output): Use new
15266 locale_file interface.
15267 * locale/programs/ld-collate.c (NO_FINALIZE): Change to
15269 (collate_finish): Don't call collseq_table_finalize.
15270 (collate_output): Use new locale_file interface.
15271 * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
15273 (NO_FINALIZE): Change to NO_ADD_LOCALE.
15274 (TABLE): Move defines earlier in file.
15275 (ELEMENT): Likewise.
15276 (DEFAULT): Likewise.
15277 (wctrans_table_add): Move macro and inline function earlier in
15279 (struct wctype_table): Move type earlier in file.
15280 (add_locale_wctype_table): New static prototype.
15281 (struct locale_ctype_t): Use logical types instead of struct iovec
15282 pointers for members.
15283 (ctype_output): Use new locale_file interface.
15284 (wctype_table_finalize): Change to add_locale_wctype_table. Use
15285 new locale_file interface.
15286 (allocate_arrays): Update for use of new locale_file interface.
15287 * locale/programs/ld-identification.c (identification_output): Use
15288 new locale_file interface.
15289 * locale/programs/ld-measurement.c (measurement_output): Likewise.
15290 * locale/programs/ld-messages.c (messages_output): Likewise.
15291 * locale/programs/ld-monetary.c (monetary_output): Likewise.
15292 * locale/programs/ld-name.c (name_output): Likewise.
15293 * locale/programs/ld-numeric.c (numeric_output): Likewise.
15294 * locale/programs/ld-paper.c (paper_output): Likewise.
15295 * locale/programs/ld-telephone.c (telephone_output): Likewise.
15296 * locale/programs/ld-time.c (time_output): Likewise.
15298 2013-09-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15300 * benchtests/Makefile: Add memrchr benchmark.
15301 * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
15302 benchmark as memrchr.
15303 * benchtests/bench-memrchr-ifunc.c: New file.
15304 * benchtests/bench-memrchr.c: New file.
15306 2013-09-06 Will Newton <will.newton@linaro.org>
15308 * benchtests/Makefile (string-bench): Add memcpy.
15310 2013-09-05 Carlos O'Donell <carlos@redhat.com>
15311 Cong Wang <amwang@redhat.com>
15314 * sysdeps/unix/sysv/linux/bits/in.h
15315 [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
15316 * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
15317 before __USE_KERNEL_IPV6_DEFS uses.
15318 * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
15320 [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
15321 sockaddr_in6, or ipv6_mreq.
15323 2013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15325 * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
15326 memory access for final bytes in some large inputs.
15327 * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
15329 2013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15331 * string/test-memrchr.c: New file.
15332 * string/test-memrchr-ifunc.c: New file.
15333 * string/Makefile: Add new memrchr testcase.
15335 2013-09-05 Mike Frysinger <vapier@gentoo.org>
15337 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
15338 fanotify_init returns EPERM.
15340 2013-09-04 Joseph Myers <joseph@codesourcery.com>
15342 * conform/conformtest.pl (newtoken): Treat tokens not allowed as
15344 (top level): Treat second token from macro or constant entries for
15345 allowed headers as allowed.
15346 * include/complex.h: Condition internal declarations on
15348 * include/fenv.h: Condition include of <stdbool.h> and internal
15349 declarations on [!_ISOMAC].
15351 2013-09-04 Chris Leonard <cjl@sugarlabs,.org>
15354 * locale/iso-4217.def: Update iso-1427.def and related occurrences.
15356 2013-09-04 Joseph Myers <joseph@codesourcery.com>
15358 * configure.in (--enable-versioning): Remove configure option.
15359 (libc_cv_asm_symver_directive): Remove configure test.
15360 (libc_cv_ld_version_script_option): Likewise.
15361 (VERSIONING): Remove variable and AC_SUBST.
15362 (DO_VERSIONING): Remove AC_DEFINE.
15363 * configure: Regenerated.
15364 * config.h.in (DO_VERSIONING): Remove macro.
15365 * Makerules [$(versioning) = yes]: Change conditionals to
15366 [$(build-shared) = yes].
15367 * config.make.in (versioning): Remove variable.
15368 * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
15369 [$(build-shared) = yes].
15370 * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
15371 * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
15372 * elf/Makefile [$(versioning) = yes]: Change conditionals to
15373 [$(build-shared) = yes].
15374 * extra-lib.mk [$(versioning) = yes]: Likewise.
15375 * hurd/Makefile [$(versioning) = yes]: Likewise.
15376 * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
15378 * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
15380 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
15381 [SHARED && !NO_HIDDEN].
15382 * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
15384 [SHARED && DO_VERSIONING]: Likewise..
15385 * libio/Makefile [$(versioning) = yes]: Change conditionals to
15386 [$(build-shared) = yes].
15387 * manual/install.texi (--disable-versioning): Remove
15389 * INSTALL: Regenerated.
15390 * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
15392 * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
15393 [$(build-shared) = yes].
15394 * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
15395 * sysdeps/i386/i686/multiarch/strstr-c.c
15396 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
15397 [SHARED && !NO_HIDDEN].
15398 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
15399 [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
15400 * sysdeps/powerpc/powerpc32/dl-machine.c
15401 [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
15402 * sysdeps/powerpc/powerpc32/sysdep.h
15403 [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
15404 to [SHARED && PIC && !NO_HIDDEN].
15405 * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
15406 conditional to [SHARED].
15408 2013-09-04 Will Newton <will.newton@linaro.org>
15410 * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
15411 * benchtests/bench-string.h: Include bench-timing.h instead
15412 of including hp-timing.h directly. (INNER_LOOP_ITERS): New
15413 define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
15414 call to HP_TIMING_DIFF_INIT.
15415 * benchtests/bench-memccpy.c: Use bench-timing.h macros
15416 instead of hp-timing.h macros.
15417 * benchtests/bench-memchr.c: Likewise.
15418 * benchtests/bench-memcmp.c: Likewise.
15419 * benchtests/bench-memcpy.c: Likewise.
15420 * benchtests/bench-memmem.c: Likewise.
15421 * benchtests/bench-memmove.c: Likewise.
15422 * benchtests/bench-memset.c: Likewise.
15423 * benchtests/bench-rawmemchr.c: Likewise.
15424 * benchtests/bench-strcasecmp.c: Likewise.
15425 * benchtests/bench-strcasestr.c: Likewise.
15426 * benchtests/bench-strcat.c: Likewise.
15427 * benchtests/bench-strchr.c: Likewise.
15428 * benchtests/bench-strcmp.c: Likewise.
15429 * benchtests/bench-strcpy.c: Likewise.
15430 * benchtests/bench-strcpy_chk.c: Likewise.
15431 * benchtests/bench-strlen.c: Likewise.
15432 * benchtests/bench-strncasecmp.c: Likewise.
15433 * benchtests/bench-strncat.c: Likewise.
15434 * benchtests/bench-strncmp.c: Likewise.
15435 * benchtests/bench-strncpy.c: Likewise.
15436 * benchtests/bench-strnlen.c: Likewise.
15437 * benchtests/bench-strpbrk.c: Likewise.
15438 * benchtests/bench-strrchr.c: Likewise.
15439 * benchtests/bench-strspn.c: Likewise.
15440 * benchtests/bench-strstr.c: Likewise.
15442 2013-09-04 Will Newton <will.newton@linaro.org>
15444 * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
15446 2013-09-03 Joseph Myers <joseph@codesourcery.com>
15449 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
15450 2**-30 instead of 2**-70 as threshold for returning -log(|x|).
15451 * math/libm-test.inc (lgamma_test_data): Add more tests.
15452 * sysdeps/i386/fpu/libm-test-ulps: Update.
15453 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15455 2013-09-03 Ondřej Bílka <neleai@seznam.cz>
15457 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
15458 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
15460 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
15461 Add strcmp-sse2-unaligned
15462 * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
15464 2013-09-02 Mike Frysinger <vapier@gentoo.org>
15466 * Versions.def (libc): Add GLIBC_2.19.
15468 2013-09-02 Mike Frysinger <vapier@gentoo.org>
15470 * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
15471 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
15473 2013-09-02 Joseph Myers <joseph@codesourcery.com>
15476 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
15477 intermediate calculations in recurrence.
15478 (__ieee754_ynf): Likewise.
15479 * math/libm-test.inc (jn_test_data): Do not allow spurious
15480 underflow exception. Add more tests.
15481 (yn_test_data): Add more tests.
15482 * sysdeps/i386/fpu/libm-test-ulps: Update.
15483 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15485 2013-09-02 Ondřej Bílka <neleai@seznam.cz>
15487 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
15489 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
15491 * csu/init-first.c: Fix then/than typos.
15492 * locale/programs/ld-collate.c: Likewise.
15493 * locale/programs/linereader.h: Likewise.
15494 * manual/charset.texi: Likewise.
15495 * manual/filesys.texi: Likewise.
15496 * manual/stdio.texi: Likewise.
15497 * manual/string.texi: Likewise.
15498 * stdlib/fmtmsg.c: Likewise.
15499 * sysdeps/i386/stpncpy.S: Likewise.
15500 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
15501 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
15502 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
15503 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
15505 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
15507 * elf/dl-open.c: Fix typos.
15508 * iconvdata/gbbig5.c: Likewise.
15509 * iconvdata/iso-2022-jp.c: Likewise.
15510 * iconv/gconv_int.h: Likewise.
15511 * iconv/loop.c: Likewise.
15512 * nis/rpcsvc/nis.h: Likewise.
15513 * resolv/ns_name.c: Likewise.
15514 * stdio-common/vfscanf.c: Likewise.
15515 * streams/stropts.h: Likewise.
15516 * sunrpc/rpc_thread.c: Likewise.
15517 * sysdeps/i386/strpbrk.S: Likewise.
15518 * sysdeps/ieee754/k_standard.c: Likewise.
15519 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
15520 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
15521 * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
15522 * sysdeps/mach/hurd/profil.c: Likewise.
15523 * sysdeps/s390/dl-procinfo.h: Likewise.
15524 * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
15525 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
15526 * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
15527 * sysdeps/x86_64/dl-trampoline.S: Likewise.
15528 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
15530 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
15532 * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
15533 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
15535 2013-08-29 Ondřej Bílka <neleai@seznam.cz>
15537 * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
15538 aix specific files.
15539 * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
15540 * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
15541 * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
15542 * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
15543 * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
15544 * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
15545 * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
15546 * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
15548 2013-08-29 Thomas Schwinge <thomas@codesourcery.com>
15549 Roland McGrath <roland@hack.frob.com>
15551 * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
15552 * sysdeps/mach/hurd/bits/errno.h: Regenerate.
15554 2013-08-29 Samuel Thibault <samuel.thibault@ens-lyon.org>
15556 * sysdeps/mach/hurd/i386/init-first.c (init1): Use
15557 __executable_start symbol instead of _start.
15559 2013-08-29 Thomas Schwinge <thomas@codesourcery.com>
15561 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
15562 (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
15564 * sysdeps/gnu/ldsodefs.h: ... this new file.
15566 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
15567 (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
15568 instead of ELFOSABI_LINUX.
15570 [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
15571 * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
15572 * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
15573 * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
15575 * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
15576 * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
15577 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
15579 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
15580 (ibm_extended_long_double): Add ieee_nan member.
15581 * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
15582 (do_test): New function.
15584 * math/basic-test.c (TEST_CONVERT): New macro, renamed from
15586 (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
15587 functions, renamed from truncdfsf_test, trunctfsf_test,
15589 (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
15591 (do_test): Run all these.
15593 2013-08-29 Ondřej Bílka <neleai@seznam.cz>
15595 * argp/argp-help.c: Fix typos.
15596 * argp/argp-parse.c: Likewise.
15597 * debug/backtracesyms.c: Likewise.
15598 * elf/elf.h: Likewise.
15599 * malloc/malloc.c: Likewise.
15600 * nis/nis_print.c: Likewise.
15601 * resolv/res_comp.c: Likewise.
15602 * stdlib/stdlib.h: Likewise.
15603 * sunrpc/clnt_tcp.c: Likewise.
15604 * sunrpc/clnt_udp.c: Likewise.
15605 * sunrpc/clnt_unix.c: Likewise.
15606 * sysdeps/unix/bsd/ptsname.c: Likewise.
15607 * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
15608 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
15609 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
15611 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
15613 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
15615 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
15617 2013-08-28 Siddhesh Poyarekar <siddhesh@redhat.com>
15619 * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
15620 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
15622 2013-08-27 Mike Frysinger <vapier@gentoo.org>
15625 * dlfcn/Makefile (tests): Add bug-dl-leaf.
15626 (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
15627 ($(objpfx)bug-dl-leaf): New rule.
15628 ($(objpfx)bug-dl-leaf.so): Likewise.
15629 ($(objpfx)bug-dl-leaf.out): Likewise.
15630 ($(objpfx)bug-dl-leaf-lib.so): Likewise.
15631 ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
15632 * dlfcn/bug-dl-leaf.c: New test.
15633 * dlfcn/bug-dl-leaf-lib.c: Likewise.
15634 * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
15635 * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
15636 (dlclose): Likewise.
15637 (dlmopen): Likewise.
15639 2013-08-27 Roland McGrath <roland@hack.frob.com>
15641 * include/netdb.h [!_ISOMAC]:
15642 Don't include <tls.h>.
15643 (h_errno, __libc_h_errno): Move declaration and macros out of
15646 * include/resolv.h [_RESOLV_H_]:
15647 Don't include <tls.h>.
15648 (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
15649 * resolv/res_libc.c: Don't include <tls.h>.
15650 (_res): Use __attribute__ ((nocommon)) in place of
15651 __attribute__ ((section (".bss"))).
15653 * Makefile ($(common-objpfx)linkobj/libc_pic.a):
15654 If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
15656 * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
15658 * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
15659 only under [SIOCGIFCONF && SIOCGIFNETMASK].
15661 * resolv/res_mkquery.c: Include <sys/time.h>.
15663 * inet/ifreq.c: Moved to ...
15664 * sysdeps/unix/ifreq.c: ... here.
15665 * inet/ifreq.c: New file, true stub version.
15667 * socket/sa_len.c: New file.
15668 * socket/Makefile (aux): Add it.
15669 * sysdeps/unix/sysv/linux/Makefile
15670 [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
15671 * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
15672 and #include <socket/sa_len.c>.
15673 * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
15674 HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
15676 * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
15677 * bits/socket.h: ... here.
15679 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
15680 Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
15681 (SOCK_MAX, SOCK_TYPE_MASK): New macros.
15683 2013-08-27 Andreas Schwab <schwab@suse.de>
15686 * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
15687 * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
15688 (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
15689 * string/test-strcasecmp.c (test_main): Run tests in several
15691 * string/test-strncasecmp.c (test_main): Likewise.
15693 * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
15694 (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
15695 to __strcasecmp_nonascii and __strncasecmp_nonascii.
15696 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
15697 (__strncasecmp_ssse3) [PIC]: Likewise.
15699 2013-08-26 Roland McGrath <roland@hack.frob.com>
15701 * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
15703 * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
15704 instead of explicitly declaring xdecrypt.
15705 * nis/nss_nis/nis-publickey.c: Likewise.
15707 2013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
15710 * nscd/aicache.c: Include res_hconf.h.
15711 (addhstaiX): Initialize res_hconf.
15713 2013-08-26 Andreas Schwab <schwab@suse.de>
15715 * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
15716 ($(objpfx)tst-tls-atexit): Add dependencies here instead.
15718 2013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
15720 * nscd/aicache.c (addhstaiX): Fix indentation.
15722 2013-08-25 Mike Frysinger <vapier@gentoo.org>
15724 * configure.ac: Quote $build_pt_chown test.
15725 * configure: Regenerated.
15727 2013-08-23 Joseph Myers <joseph@codesourcery.com>
15730 * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
15731 * math/s_cexpf.c (__cexpf): Likewise.
15732 * math/s_cexpl.c (__cexpl): Likewise.
15733 * math/libm-test.inc (cexp_test_data): Correct expected return
15734 value for NaN + i0. Add another test.
15736 2013-08-22 David S. Miller <davem@davemloft.net>
15738 * po/ca.po: Update Catalan translation from translation project.
15739 * po/uk.po: Add Ukrainian translations from translation project.
15741 2013-08-21 Joseph Myers <joseph@codesourcery.com>
15744 * math/s_fdim.c (__fdim): Check for infinite arguments if result
15745 is infinite, not alongside NaN test.
15746 * math/s_fdimf.c (__fdimf): Likewise.
15747 * math/s_fdiml.c (__fdiml): Likewise.
15748 * math/libm-test.inc (fdim_test_data): Add more tests. Test that
15749 errno is unchanged.
15751 2013-08-21 Ondřej Bílka <neleai@seznam.cz>
15753 * argp/argp-help.c: Fix typos.
15754 * crypt/speeds.c: Likewise.
15755 * csu/check_fds.c: Likewise.
15756 * elf/dl-load.c: Likewise.
15757 * elf/dl-open.c: Likewise.
15758 * elf/reldep3.c: Likewise.
15759 * elf/reldep.c: Likewise.
15760 * elf/sprof.c: Likewise.
15761 * iconv/iconv_charmap.c: Likewise.
15762 * iconv/skeleton.c: Likewise.
15763 * iconv/strtab.c: Likewise.
15764 * io/lockf64.c: Likewise.
15765 * libio/libioP.h: Likewise.
15766 * resolv/gai_notify.c: Likewise.
15767 * resolv/ns_name.c: Likewise.
15768 * resolv/ns_samedomain.c: Likewise.
15769 * resolv/res_send.c: Likewise.
15770 * stdlib/random.c: Likewise.
15771 * sunrpc/rpc/xdr.h: Likewise.
15772 * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
15773 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
15774 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
15775 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
15776 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
15777 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
15778 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
15779 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
15780 * sysdeps/mach/hurd/check_fds.c: Likewise.
15781 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
15782 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
15783 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
15784 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
15785 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
15786 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
15787 * sysdeps/pthread/aio_notify.c: Likewise.
15788 * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
15789 * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
15790 * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
15791 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
15792 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
15794 2013-08-21 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
15796 * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
15797 version if bit_Slow_SSE4_2 is set.
15798 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
15799 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
15801 2013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15804 * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
15805 trampoline stack frame information.
15806 * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
15807 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
15808 (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
15809 (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
15810 (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
15811 * sysdeps/unix/sysv/linux/powerpc/init-first.c
15812 (_libc_vdso_platform_setup): Initialize the signal trampolines.
15813 * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
15815 * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
15816 interrupting a syscall and set with option SA_SIGINFO.
15818 2013-08-20 Joseph Myers <joseph@codesourcery.com>
15821 * math/s_cproj.c (__cproj): Only return an infinity if one part of
15822 argument is infinite.
15823 * math/s_cprojf.c (__cprojf): Likewise.
15824 * math/s_cprojl.c (__cprojl): Likewise.
15825 * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
15826 * math/libm-test.inc (cproj_test_data): Add more tests.
15828 * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
15830 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
15831 [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
15832 size. Use __ffs to determine corresponding shift.
15834 2013-08-20 Joseph Myers <joseph@codesourcery.com>
15835 Roland McGrath <roland@hack.frob.com>
15837 * Makefile (INSTALL): Remove trailing blank lines from output of
15840 2013-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
15842 * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
15843 Align 32 bit compat elf_greg to 8 bytes.
15845 2013-08-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
15847 * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
15849 2013-08-20 Siddhesh Poyarekar <siddhesh@redhat.com>
15851 * string/strcoll_l.c (coll_seq): New structure.
15852 (get_next_seq_cached): New function.
15853 (get_next_seq): New function.
15854 (do_compare): New function.
15855 (STRCOLL): Use GNU style definition. Simplify implementation
15856 by using get_next_seq, get_next_seq_cached and do_compare.
15858 2013-08-16 Florian Weimer <fweimer@redhat.com>
15862 * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
15864 * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
15866 * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
15867 * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
15868 Return delayed error code. Remove GETDENTS_64BIT_ALIGNED
15870 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
15871 GETDENTS_64BIT_ALIGNED.
15872 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
15873 * manual/filesys.texi (Reading/Closing Directory): Document
15874 ENAMETOOLONG return value of readdir_r. Recommend readdir more
15876 * manual/conf.texi (Limits for Files): Add portability note to
15877 NAME_MAX, PATH_MAX.
15878 (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
15880 2013-08-13 Andreas Schwab <schwab@suse.de>
15883 * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
15885 * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
15886 LDBL_MAX_EXP >= 16384]: Add tests for it.
15888 2013-08-12 David S. Miller <davem@davemloft.net>
15890 * version.h (RELEASE): Set to "development".
15891 (VERSION): Set to "2.18.90".
15892 * NEWS: Add 2.19 section.
15894 2013-08-03 David S. Miller <davem@davemloft.net>
15896 * po/ko.po: Update Korean translation from translation project.
15898 2013-08-01 David S. Miller <davem@davemloft.net>
15900 * manual/contrib.texi: Update entry for Siddhesh Poyarekar. Add
15901 entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
15904 2013-07-30 David S. Miller <davem@davemloft.net>
15906 * po/fr.po: Update French translation from translation project.
15908 2013-07-28 David S. Miller <davem@davemloft.net>
15910 * po/cs.po: Update Czech translation from translation project.
15912 * po/sv.po: Update Swedish translation from translation project.
15914 2013-07-27 David S. Miller <davem@davemloft.net>
15916 * po/eo.po: Update Esperanto translation from translation project.
15918 * po/vi.po: Update Vietnamese translation from translation project.
15920 * po/de.po: Update German translation from translation project.
15922 2013-07-26 David S. Miller <davem@davemloft.net>
15924 * po/bg.po: Update Bulgarian translation from translation project.
15926 * po/nl.po: Update Dutch translation from translation project.
15927 * po/pl.po: Update Polish translation from translation project.
15928 * po/ru.po: Update Russian translation from translation project.
15930 2013-07-24 David S. Miller <davem@davemloft.net>
15932 * po/libc.pot: Update.
15934 2013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15936 * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
15937 variable page size.
15938 * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
15939 * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
15940 * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
15942 2013-07-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
15944 * sysdeps/s390/fpu/libm-test-ulps: Refresh.
15946 2013-07-21 Siddhesh Poyarekar <siddhesh@redhat.com>
15947 Andreas Schwab <schwab@suse.de>
15948 Roland McGrath <roland@hack.frob.com>
15949 Joseph Myers <joseph@codesourcery.com>
15950 Carlos O'Donell <carlos@redhat.com>
15953 * config.h.in: Define HAVE_PT_CHOWN.
15954 * config.make.in (build-pt-chown): New variable.
15955 * configure.in (--enable-pt_chown): New configure option.
15956 * configure: Regenerate.
15957 * login/Makefile: Include Makeconfig. Build pt_chown only if
15958 build-pt-chown is enabled.
15959 * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
15960 pt_chown to fix pty ownership.
15961 * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
15963 * manual/install.texi (Configuring and compiling): Mention
15964 --enable-pt_chown. Add @findex for grantpt.
15965 * INSTALL: Regenerate.
15967 2013-07-20 David S. Miller <davem@davemloft.net>
15969 * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
15970 difference between 32-bit and 64-bit.
15972 2013-07-15 Carlos O'Donell <carlos@redhat.com>
15975 * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
15976 Avoid system header dependency with -ffreestanding.
15977 ($(objpfx)bits/syscall%d): Likewise.
15979 2013-07-13 David S. Miller <davem@davemloft.net>
15981 * math/libm-test.inc (casin_test_data): Annotate more cases of missing
15982 underflows from atanl/atan2l due to bug 15319.
15983 (casinh_test_data): Likewise.
15985 2013-07-07 David S. Miller <davem@davemloft.net>
15987 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
15989 2013-07-05 Jeroen Albers <_jeroen_@yahoo.com>
15991 * sysdeps/i386/fpu/libm-test-ulps: Update.
15992 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15994 2013-07-04 Siddhesh Poyarekar <siddhesh@redhat.com>
15996 * configure.in (--enable-lock-elision): Fix message text.
15997 * INSTALL: Regenerate.
15998 * configure: Regenerate.
16000 2013-07-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16002 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16004 2013-07-03 Andreas Jaeger <aj@suse.de>
16006 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
16008 (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
16009 (ptrace_peeksiginfo_args): Add.
16010 (__ptrace_peeksiginfo_flags): Add.
16011 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
16012 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
16013 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
16015 2013-07-03 Allan McRae <allan@archlinux.org>
16017 * sysdeps/i386/fpu/libm-test-ulps: Update.
16019 2013-07-02 David S. Miller <davem@davemloft.net>
16021 * sysdeps/sparc/fpu/libm-test-ulps: Update.
16023 2013-07-02 Markus Trippelsdorf <markus@trippelsdorf.de>
16025 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
16027 2013-07-02 Joseph Myers <joseph@codesourcery.com>
16029 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
16030 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16032 2013-07-02 Andi Kleen <ak@linux.intel.com>
16034 * config.h.in (ENABLE_LOCK_ELISION): Add.
16035 * configure.in (--enable-lock-elision): Add option.
16036 * manual/install.texi: Document --enable lock elision.
16037 * configure: Regenerate
16038 * INSTALL: Regenerate.
16040 2013-07-02 H.J. Lu <hongjiu.lu@intel.com>
16042 * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
16043 SSE4.2 strcasecmp for libc.a.
16044 * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
16046 2013-07-02 Joseph Myers <joseph@codesourcery.com>
16049 * soft-fp/op-common.h (_FP_FMA): New macro.
16050 * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
16051 (_FP_MUL_MEAT_DW_1_imm): Likewise. Split out of ...
16052 (_FP_MUL_MEAT_1_imm): ... here.
16053 (_FP_MUL_MEAT_DW_1_wide): New macro. Split out of ...
16054 (_FP_MUL_MEAT_1_wide): ... here.
16055 (_FP_MUL_MEAT_DW_1_hard): Likewise. Split out of ...
16056 (_FP_MUL_MEAT_1_hard): ... here.
16057 * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
16058 (_FP_MUL_MEAT_DW_2_wide): Likewise. Split out of ...
16059 (_FP_MUL_MEAT_2_wide): ... here.
16060 (_FP_MUL_MEAT_DW_2_wide_3mul): New macro. Split out of ...
16061 (_FP_MUL_MEAT_2_wide_3mul): ... here.
16062 (_FP_MUL_MEAT_DW_2_gmp): New macro. Split out of ...
16063 (_FP_MUL_MEAT_2_gmp): ... here.
16064 * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
16065 (_FP_MUL_MEAT_DW_4_wide): Likewise. Split out of ...
16066 (_FP_MUL_MEAT_4_wide): ... here.
16067 (_FP_MUL_MEAT_DW_4_gmp): New macro. Split out of ...
16068 (_FP_MUL_MEAT_4_gmp): ... here.
16069 * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
16070 (_FP_WFRACBITS_DW_S): Likewise.
16071 (_FP_WFRACXBITS_DW_S): Likewise.
16072 (_FP_HIGHBIT_DW_S): Likewise.
16073 (FP_FMA_S): Likewise.
16074 (_FP_FRAC_HIGH_DW_S): Likewise.
16075 * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
16076 (_FP_WFRACBITS_DW_D): Likewise.
16077 (_FP_WFRACXBITS_DW_D): Likewise.
16078 (_FP_HIGHBIT_DW_D): Likewise.
16079 (FP_FMA_D): Likewise.
16080 (_FP_FRAC_HIGH_DW_D): Likewise.
16081 * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
16082 (_FP_WFRACBITS_DW_E): Likewise.
16083 (_FP_WFRACXBITS_DW_E): Likewise.
16084 (_FP_HIGHBIT_DW_E): Likewise.
16085 (FP_FMA_E): Likewise.
16086 (_FP_FRAC_HIGH_DW_E): Likewise.
16087 * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
16088 (_FP_WFRACBITS_DW_Q): Likewise.
16089 (_FP_WFRACXBITS_DW_Q): Likewise.
16090 (_FP_HIGHBIT_DW_Q): Likewise.
16091 (FP_FMA_Q): Likewise.
16092 (_FP_FRAC_HIGH_DW_Q): Likewise.
16093 * soft-fp/fmasf4.c: New file.
16094 * soft-fp/fmadf4.c: Likewise.
16095 * soft-fp/fmatf4.c: Likewise.
16097 2013-06-28 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
16099 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
16100 bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
16102 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
16104 (index_Slow_SSE4_2): Likewise.
16105 (index_Prefer_PMINUB_for_stringop): Likewise.
16106 * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
16107 bit_Slow_SSE4_2 is set.
16108 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
16109 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
16111 2013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
16113 * sysdeps/powerpc/Makefile: Add comment about generating an offset to
16114 rtld_global._dl_hwcap2.
16115 * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
16117 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
16118 POWER8 feature descriptions defined in _dl_hwcap2.
16119 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
16120 string handling for POWER8 feature bits.
16121 (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
16122 (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
16123 _dl_powerpc_cap_flags.
16124 (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
16125 * sysdeps/powerpc/rtld-global-offsets.sym
16126 (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
16127 _dl_hwcap2 in the rtld_global_ro structure.
16129 2013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
16131 * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
16132 hardware capabilities in support of AT_HWCAP2.
16133 (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
16134 * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
16136 (_dl_show_auxv): Add support for calling _dl_procinfo to display
16137 AT_HWCAP2. If a platform doesn't chose to handle displaying AT_HWCAP2
16138 explicitly the unknown a_type display mechanism is used.
16139 * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
16140 * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
16142 * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
16143 to macro prototype for AT_HWCAP2 support.
16144 * sysdeps/i386/dl-procinfo.h: Likewise.
16145 * sysdeps/s390/dl-procinfo.h: Likewise.
16146 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
16147 macro prototype for AT_HWCAP2 support. Make WORD unsigned long int
16148 rather than signed int. Stub in handler for TYPE == AT_HWCAP2 to
16149 return -1 for unknown a_type display fallback.
16150 * sysdeps/sparc/dl-procinfo.h: Likewise.
16151 * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
16152 * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
16154 2013-06-28 Joseph Myers <joseph@codesourcery.com>
16156 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
16157 instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
16159 2013-06-28 Pierre Ynard <linkfanel@yahoo.fr>
16162 * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
16163 mprotect making __stack_prot writable.
16165 2013-06-28 Nathan Froyd <froydnj@codesourcery.com>
16166 Joseph Myers <joseph@codesourcery.com>
16168 * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
16169 as being properly aligned.
16171 2013-06-28 Maciej W. Rozycki <macro@codesourcery.com>
16173 * dlfcn/modstatic5.c: New file.
16174 * dlfcn/tststatic5.c: New file.
16175 * dlfcn/Makefile (tests): Add tststatic5.
16176 (tests-static): Likewise.
16177 (modules-names): Add modstatic5.
16178 (tststatic5-ENV): New variable.
16179 ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
16182 * elf/dl-support.c (_dl_main_map): New variable.
16183 (_dl_ns): Use it to initialize [LM_ID_BASE] element.
16184 (_dl_nns, _dl_load_adds): Set to 1.
16185 (_dl_initial_searchlist): Refer to _dl_main_map.
16186 (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
16187 * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
16188 call to _dl_get_origin.
16189 * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
16191 (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
16192 * dlfcn/modstatic3.c: New file.
16193 * dlfcn/tststatic3.c: New file.
16194 * dlfcn/tststatic4.c: New file.
16195 * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
16196 (tests-static): Likewise.
16197 (modules-names): Add modstatic3.
16198 (tststatic3-ENV, tststatic4-ENV): New variables.
16199 ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
16200 ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
16202 2013-06-26 Joseph Myers <joseph@codesourcery.com>
16204 * configure.in (CC): Require GCC version 4.4 or later.
16205 * configure: Regenerated.
16206 * manual/install.texi (Tools for Compilation): Update GCC version
16208 * INSTALL: Regenerated.
16210 2013-06-26 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
16213 * string/test-memcmp.c (check2): New.
16214 (main): Call check2.
16216 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
16218 2013-06-26 Maciej W. Rozycki <macro@codesourcery.com>
16221 * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
16223 (dl_open_worker) [!SHARED]: ... here.
16225 2013-06-26 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
16227 * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
16229 2013-06-25 Richard Henderson <rth@redhat.com>
16231 * locale/programs/locarchive.c: Include <libc-internal.h>
16233 2013-06-25 Joseph Myers <joseph@codesourcery.com>
16235 * manual/texinfo.tex: Update to version 2013-06-21.17, with
16236 trailing whitespace removed.
16238 2013-06-24 Mike Frysinger <vapier@gentoo.org>
16241 * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
16242 * locale/programs/locarchive.c: Include libc-mmap.h.
16243 (prepare_address_space): Take two new outputs (the mmap base and len).
16244 Align p to MAP_FIXED_ALIGNMENT. Set mmap base and len to the right
16246 (create_archive): Declare new mmap base and len values for
16247 prepare_address_space, and store the result in ah.
16248 (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
16249 (enlarge_archive): If ah->mmap_base is not NULL, use that and
16250 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
16251 Declare new mmap base and len values for
16252 prepare_address_space, and store the result in new_ah.
16253 (open_archive): Declare new mmap base and len values for
16254 prepare_address_space, and store the result in ah.
16255 (close_archive): If ah->mmap_base is not NULL, use that and
16256 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
16257 * sysdeps/generic/libc-mmap.h: New file.
16259 2013-06-24 Mike Frysinger <vapier@gentoo.org>
16261 * include/libc-internal.h (ALIGN_DOWN): New helper macro.
16262 (ALIGN_UP): Likewise.
16263 (PTR_ALIGN_DOWN): Likewise.
16264 (PTR_ALIGN_UP): Likewise.
16266 2013-06-24 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
16268 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
16269 entry mapped to PPC_PLATFORM_POWER8.
16270 * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
16272 (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
16273 (_dl_string_platform): Add case for exporting platform position for
16275 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
16276 search path to sysdeps/powerpc/powerpc32/power8 directory.
16277 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
16278 search path to sysdeps/powerpc/powerpc64/power8 directory.
16279 * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
16280 power7 directories.
16281 * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
16282 power7 directories.
16284 2013-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
16286 * INSTALL: Regenerate.
16288 * nscd/connections.c (nscd_init): Fix comment.
16290 2013-06-22 Joseph Myers <joseph@codesourcery.com>
16292 * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
16295 * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
16296 to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
16298 2013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
16300 * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
16302 (DL_DST_REQ_STATIC): Remove macro.
16304 2013-06-21 Joseph Myers <joseph@codesourcery.com>
16307 * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
16308 with a shift of 0 bits.
16310 2013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
16312 * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
16315 2013-06-21 Kaz Kojima <kkojima@rr.iij4u.or.jp>
16318 * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
16320 2013-06-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16322 * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
16323 * configure.in (libc_cv_cc_loop_to_function): Check if compiler
16324 accepts -fno-tree-loop-distribute-patterns.
16325 * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
16326 * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
16328 * string/memset.c (memset): Likewise.
16329 * string/test-memmove.c (simple_memmove): Disable loop transformation
16331 * string/test-memset.c (simple_memset): Likewise.
16332 * benchtests/bench-memmove.c (simple_memmove): Likewise.
16333 * benchtests/bench-memset.c (simple_memset): Likewise.
16334 * configure: Regenerated.
16336 2013-06-20 Joseph Myers <joseph@codesourcery.com>
16338 * math/test-misc.c (main): Ignore fesetround failure when failures
16339 of subsequent rounding tests would be ignored.
16342 * math/fedisblxcpt.c (fedisableexcept): Return 0.
16343 * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
16344 * math/fegetenv.c (__fegetenv): Return 0.
16345 * math/fegetexcept.c (fegetexcept): Return 0.
16346 * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
16348 * math/feholdexcpt.c (feholdexcept): Return 0.
16349 * math/fesetenv.c (__fesetenv): Return 0.
16350 * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
16351 argument FE_TONEAREST.
16352 * math/feupdateenv.c (__feupdateenv): Return 0.
16353 * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
16355 2013-06-18 Roland McGrath <roland@hack.frob.com>
16357 * elf/rtld-Rules (rtld-compile-command.S): New variable.
16358 (rtld-compile-command.s, rtld-compile-command.c): New variables.
16359 ($(objpfx)rtld-%.os rules): Use them.
16361 2013-06-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16363 * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
16366 2013-06-17 Roland McGrath <roland@hack.frob.com>
16368 * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
16369 length of target pattern, then descending length of dependency pattern.
16370 * configure.in (AWK): Require gawk 3.1.2 or newer.
16371 * manual/install.texi (Tools for Compilation): Say that we do.
16372 * configure: Regenerated.
16374 * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
16375 ($(common-objpfx)sysd-rules): Replace shell logic with running ...
16376 * scripts/sysd-rules.awk: ... this new script.
16377 * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
16378 than a glob-style pattern.
16380 2013-06-17 Joseph Myers <joseph@codesourcery.com>
16382 * math/test-misc.c (main): Do not treat incorrectly rounded
16383 conversions as failure unless ROUNDING_TESTS passes.
16385 2013-06-15 Joseph Myers <joseph@codesourcery.com>
16388 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
16389 restore exception state around main square root computation, then
16390 check for inexactness explicitly.
16392 * math/libm-test.inc (fma_test_data): Add another test.
16394 2013-06-15 Siddhesh Poyarekar <siddhesh@redhat.com>
16396 * manual/threads.texi (Non-POSIX Extensions): New document
16397 node. Document pthread_getattr_default_np and
16398 pthread_setattr_default_np.
16400 * Versions.def (libpthread): Add GLIBC_2.18.
16401 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
16402 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
16404 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
16406 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
16408 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
16410 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
16412 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
16414 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
16416 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
16418 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
16421 2013-06-14 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
16423 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
16424 Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
16426 2013-06-14 Siddhesh Poyarekar <siddhesh@redhat.com>
16427 H.J. Lu <hjl.tools@gmail.com>
16430 * sysdeps/x86_64/rtld-memset.c: Remove file.
16431 * sysdeps/x86_64/rtld-memset.S: New file.
16433 2013-06-14 Joseph Myers <joseph@codesourcery.com>
16435 * stdlib/tst-strtod-round.c: Include <math-tests.h>.
16436 (test_in_one_mode): Take arguments for whether the rounding mode
16437 is supported for each floating-point type.
16438 (do_test): Pass new arguments to test_in_one_mode using
16441 2013-06-13 Roland McGrath <roland@hack.frob.com>
16443 * posix/tst-waitid.c (do_test): Distinguish different instances of
16444 stopped/continued in CHECK_SIGCHLD uses. Insert a delay between
16445 sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
16446 before entering the kernel for waitpid.
16448 2013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
16450 * NEWS: Fix note on clock function precision. Text by Roland
16453 2013-06-13 Roland McGrath <roland@hack.frob.com>
16455 * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
16456 it into place only when and if the sanity check passes.
16458 2013-06-13 Joseph Myers <joseph@codesourcery.com>
16460 * stdlib/gen-tst-strtod-round.c (round_str): Always generate
16461 output for whether conversion result is exact. Take argument
16462 indicating whether type is IBM long double.
16463 (round_for_all): Change need_exact field to ibm_ld.
16464 * stdlib/tst-strtod-round.c (struct exactness): New type.
16465 (struct test): Change bool ld_ok field to struct exactness exact.
16466 (TEST): Update all definitions for change to field.
16467 (tests): Regenerate array contents.
16468 (test_in_one_mode): Take pointer to new field instead of old ld_ok
16469 field value. Check for IBM long double here.
16470 (do_test): Update calls to test_in_one_mode.
16472 2013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
16475 * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
16476 CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
16478 2013-06-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16481 * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
16482 generated by the compiler on loop optimizations.
16483 * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
16484 general definitions.
16486 2013-06-12 Joseph Myers <joseph@codesourcery.com>
16488 * math/bug-nextafter.c: Include <math-tests.h>.
16489 (main): Only test for exceptions if EXCEPTION_TESTS is true for
16491 * math/bug-nexttoward.c: Include <math-tests.h>.
16492 (main): Only test for exceptions if EXCEPTION_TESTS is true for
16494 * math/test-misc.c: Include <math-tests.h>.
16495 (main): Only test for exceptions if EXCEPTION_TESTS is true for
16498 2013-06-12 Andreas Jaeger <aj@suse.de>
16500 * po/ia.po: Update Interlingua translation from translation
16503 2013-06-12 Siddhesh Poyarekar <siddhesh@redhat.com>
16505 * include/fenv.h: Include stdbool.h.
16506 (struct rm_ctx): New structure.
16507 * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
16509 (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
16510 (SET_RESTORE_ROUNDF): Likewise.
16511 (SET_RESTORE_ROUNDL): Likewise.
16512 (SET_RESTORE_ROUND_NOEX): Likewise.
16513 (SET_RESTORE_ROUND_NOEXF): Likewise.
16514 (SET_RESTORE_ROUND_NOEXL): Likewise.
16515 (SET_RESTORE_ROUND_53BIT): Likewise.
16516 [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
16517 (libc_feresetround_noexf_ctx): Likewise.
16518 (libc_feresetround_noexl_ctx): Likewise.
16519 (libc_feholdsetround_53bit_ctx): Likewise.
16520 (libc_feresetround_53bit_ctx): Likewise.
16521 * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
16522 (libc_feholdexcept_setround_sse_ctx): New function.
16523 (libc_fesetenv_sse_ctx): Likewise.
16524 (libc_feupdateenv_sse_ctx): Likewise.
16525 (libc_feholdexcept_setround_387_prec_ctx): Likewise.
16526 (libc_feholdexcept_setround_387_ctx): Likewise.
16527 (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
16528 (libc_feholdsetround_387_prec_ctx): Likewise.
16529 (libc_feholdsetround_387_ctx): Likewise.
16530 (libc_feholdsetround_387_53bit_ctx): Likewise.
16531 (libc_feholdsetround_sse_ctx): Likewise.
16532 (libc_feresetround_sse_ctx): Likewise.
16533 (libc_feresetround_387_ctx): Likewise.
16534 (libc_feupdateenv_387_ctx): Likewise.
16535 (libc_feholdexcept_setroundf_ctx): Define macro.
16536 (libc_fesetenvf_ctx): Likewise.
16537 (libc_feupdateenvf_ctx): Likewise.
16538 (libc_feholdsetroundf_ctx): Likewise.
16539 (libc_feresetroundf_ctx): Likewise.
16540 (libc_feholdexcept_setround_ctx): Likewise.
16541 (libc_fesetenv_ctx): Likewise.
16542 (libc_feupdateenv_ctx): Likewise.
16543 (libc_feholdsetround_ctx): Likewise.
16544 (libc_feresetround_ctx): Likewise.
16545 (libc_feholdexcept_setroundl_ctx): Likewise.
16546 (libc_feupdateenvl_ctx): Likewise.
16547 (libc_feholdsetroundl_ctx): Likewise.
16548 (libc_feresetroundl_ctx): Likewise.
16549 [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
16550 (libc_feresetround_53bit_ctx): Likewise.
16552 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
16554 * locale/iso-639.def: Convert to UTF-8.
16556 2013-06-11 Joseph Myers <joseph@codesourcery.com>
16558 * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
16559 (EXCEPTION_TESTS_double): Likewise.
16560 (EXCEPTION_TESTS_long_double): Likewise.
16561 (EXCEPTION_TESTS): Likewise.
16562 * math/libm-test.inc (test_exceptions): Only test exceptions if
16563 EXCEPTION_TESTS (FLOAT).
16565 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
16567 * benchtests/Makefile (string-bench): Add strcpy_chk and
16569 * benchtests/bench-stpcpy_chk-ifunc.c: New file.
16570 * benchtests/bench-stpcpy_chk.c: New file.
16571 * benchtests/bench-strcpy_chk-ifunc.c: New file.
16572 * benchtests/bench-strcpy_chk.c: New file.
16573 * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
16575 (do_test): Likewise.
16577 2013-06-11 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
16579 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
16580 ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
16581 * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
16582 with tabs where appropriate.
16583 [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
16585 [PPC_PLATFORM_PPC440]: Likewise.
16586 [PPC_PLATFORM_PPC464]: Likewise.
16587 [PPC_PLATFORM_PPC476]: Likewise.
16588 (_dl_string_platform): Add support for detecting ppc405, ppc440,
16589 ppc464, and ppc476 platform strings merging from ports/
16592 2013-06-11 Andreas Schwab <schwab@suse.de>
16595 * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
16596 (from_ucs4_idx): Regenerate.
16597 (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
16598 (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
16599 (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
16600 (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
16601 (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
16602 (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
16603 (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
16604 (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
16605 from FROM_LOOP and TO_LOOP specific macros.
16606 (BODY): Handle combining characters.
16607 * iconvdata/BIG5HKSCS.irreversible: Update.
16608 * iconvdata/BIG5HKSCS.precomposed: New file.
16609 * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
16611 * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
16613 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
16615 * include/sys/time.h: Fix indentation and add copyright header.
16617 * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
16618 (do_test): Likewise.
16619 * string/test-memchr.c (do_one_test): Likewise.
16620 (do_test): Likewise.
16621 * string/test-memcmp.c (do_one_test): Likewise.
16622 (do_test): Likewise.
16623 * string/test-memcpy.c (do_one_test): Likewise.
16624 (do_test): Likewise.
16625 * string/test-memmem.c (do_one_test): Likewise.
16626 (do_test): Likewise.
16627 (do_random_tests): Likewise.
16628 * string/test-memmove.c (do_one_test): Likewise.
16629 (do_test): Likewise.
16630 * string/test-memset.c (do_one_test): Likewise.
16631 (do_test): Likewise.
16632 * string/test-rawmemchr.c (do_one_test): Likewise.
16633 (do_test): Likewise.
16634 * string/test-strcasecmp.c (do_one_test): Likewise.
16635 (do_test): Likewise.
16636 * string/test-strcasestr.c (do_one_test): Likewise.
16637 (do_test): Likewise.
16638 * string/test-strcat.c (do_one_test): Likewise.
16639 (do_test): Likewise.
16640 * string/test-strchr.c (do_one_test): Likewise.
16641 (do_test): Likewise.
16642 * string/test-strcmp.c (do_one_test): Likewise.
16643 (do_test): Likewise.
16644 * string/test-strcpy.c (do_one_test): Likewise.
16645 (do_test): Likewise.
16646 * string/test-string.h: Likewise.
16647 (test_init): Likewise.
16648 * string/test-strlen.c (do_one_test): Likewise.
16649 (do_test): Likewise.
16650 * string/test-strncasecmp.c (do_one_test): Likewise.
16651 (do_test): Likewise.
16652 * string/test-strncat.c (do_one_test): Likewise.
16653 (do_test): Likewise.
16654 * string/test-strncmp.c (do_one_test): Likewise.
16655 (do_test_limit): Likewise.
16656 (do_test): Likewise.
16657 * string/test-strncpy.c (do_one_test): Likewise.
16658 (do_test): Likewise.
16659 * string/test-strnlen.c (do_one_test): Likewise.
16660 (do_test): Likewise.
16661 * string/test-strpbrk.c (do_one_test): Likewise.
16662 (do_test): Likewise.
16663 * string/test-strrchr.c (do_one_test): Likewise.
16664 (do_test): Likewise.
16665 * string/test-strspn.c (do_one_test): Likewise.
16666 (do_test): Likewise.
16667 * string/test-strstr.c (do_one_test): Likewise.
16668 (do_test): Likewise.
16670 * benchtests/Makefile (string-bench): Add string benchmarks.
16671 * benchtests/bench-bcopy-ifunc.c: New file.
16672 * benchtests/bench-bcopy.c: New file.
16673 * benchtests/bench-bzero-ifunc.c: New file.
16674 * benchtests/bench-bzero.c: New file.
16675 * benchtests/bench-memccpy-ifunc.c: New file.
16676 * benchtests/bench-memccpy.c: New file.
16677 * benchtests/bench-memchr-ifunc.c: New file.
16678 * benchtests/bench-memchr.c: New file.
16679 * benchtests/bench-memcmp-ifunc.c: New file.
16680 * benchtests/bench-memcmp.c: New file.
16681 * benchtests/bench-memmem-ifunc.c: New file.
16682 * benchtests/bench-memmem.c: New file.
16683 * benchtests/bench-memmove-ifunc.c: New file.
16684 * benchtests/bench-memmove.c: New file.
16685 * benchtests/bench-mempcpy-ifunc.c: New file.
16686 * benchtests/bench-mempcpy.c: New file.
16687 * benchtests/bench-memset-ifunc.c: New file.
16688 * benchtests/bench-memset.c: New file.
16689 * benchtests/bench-rawmemchr-ifunc.c: New file.
16690 * benchtests/bench-rawmemchr.c: New file.
16691 * benchtests/bench-stpcpy-ifunc.c: New file.
16692 * benchtests/bench-stpcpy.c: New file.
16693 * benchtests/bench-stpncpy-ifunc.c: New file.
16694 * benchtests/bench-stpncpy.c: New file.
16695 * benchtests/bench-strcasecmp-ifunc.c: New file.
16696 * benchtests/bench-strcasecmp.c: New file.
16697 * benchtests/bench-strcasestr-ifunc.c: New file.
16698 * benchtests/bench-strcasestr.c: New file.
16699 * benchtests/bench-strcat-ifunc.c: New file.
16700 * benchtests/bench-strcat.c: New file.
16701 * benchtests/bench-strchr-ifunc.c: New file.
16702 * benchtests/bench-strchr.c: New file.
16703 * benchtests/bench-strchrnul-ifunc.c: New file.
16704 * benchtests/bench-strchrnul.c: New file.
16705 * benchtests/bench-strcmp-ifunc.c: New file.
16706 * benchtests/bench-strcmp.c: New file.
16707 * benchtests/bench-strcpy-ifunc.c: New file.
16708 * benchtests/bench-strcpy.c: New file.
16709 * benchtests/bench-strcspn-ifunc.c: New file.
16710 * benchtests/bench-strcspn.c: New file.
16711 * benchtests/bench-strlen-ifunc.c: New file.
16712 * benchtests/bench-strlen.c: New file.
16713 * benchtests/bench-strncasecmp-ifunc.c: New file.
16714 * benchtests/bench-strncasecmp.c: New file.
16715 * benchtests/bench-strncat-ifunc.c: New file.
16716 * benchtests/bench-strncat.c: New file.
16717 * benchtests/bench-strncmp-ifunc.c: New file.
16718 * benchtests/bench-strncmp.c: New file.
16719 * benchtests/bench-strncpy-ifunc.c: New file.
16720 * benchtests/bench-strncpy.c: New file.
16721 * benchtests/bench-strnlen-ifunc.c: New file.
16722 * benchtests/bench-strnlen.c: New file.
16723 * benchtests/bench-strpbrk-ifunc.c: New file.
16724 * benchtests/bench-strpbrk.c: New file.
16725 * benchtests/bench-strrchr-ifunc.c: New file.
16726 * benchtests/bench-strrchr.c: New file.
16727 * benchtests/bench-strspn-ifunc.c: New file.
16728 * benchtests/bench-strspn.c: New file.
16729 * benchtests/bench-strstr-ifunc.c: New file.
16730 * benchtests/bench-strstr.c: New file.
16732 * benchtests/Makefile: Disable parallel execution of targets.
16733 (string-bench): Add memcpy.
16734 (benchset): New variable to store a list of benchmark sets.
16735 (bench-func): Renamed from bench.
16736 (bench-set): New target.
16737 (bench): Depend on bench-func and bench-set.
16738 * benchtests/README: Add section on benchmark sets.
16739 * benchtests/bench-memcpy-ifunc.c: New file.
16740 * benchtests/bench-memcpy.c: New file.
16741 * benchtests/bench-string.h: New file.
16743 2013-06-11 Andreas Schwab <schwab@suse.de>
16746 * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
16747 * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
16748 values in the triple.
16749 * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
16750 terminator in the group key.
16752 2013-06-11 Andreas Jaeger <aj@suse.de>
16754 * po/zh_TW.po: Update Chinese (traditional) translation from
16755 translation project.
16757 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
16759 * include/time.h (__clock_gettime): Add libc_hidden_proto.
16760 * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
16761 __clock_getcpuclockid. Add weak_alias and libc_hidden_def.
16762 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
16763 (clock_getcpuclockid): Likewise.
16764 * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
16765 Add weak_alias and libc_hidden_def.
16766 * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
16767 * rt/clock_gettime.c (clock_gettime): Rename to
16768 __clock_gettime. Add weak_alias and libc_hidden_def.
16769 * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
16770 * rt/clock_nanosleep.c (clock_nanosleep): Rename to
16771 __clock_nanosleep. Add weak_alias and libc_hidden_def.
16772 * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
16773 * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
16775 * rt/clock_settime.c (clock_settime): Rename to
16776 __clock_settime. Add weak_alias and libc_hidden_def.
16777 * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
16779 2013-06-10 Joseph Myers <joseph@codesourcery.com>
16781 * mach/err_boot.sub: Remove trailing whitespace.
16782 * mach/err_ipc.sub: Likewise.
16783 * mach/err_mach.sub: Likewise.
16785 * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
16786 (ROUNDING_TESTS_double): Likewise.
16787 (ROUNDING_TESTS_long_double): Likewise.
16788 (ROUNDING_TESTS): Likewise.
16789 * math/libm-test.inc: Include <math-tests.h>.
16790 (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
16791 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
16792 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
16793 (IF_ROUND_INIT_FE_UPWARD): Likewise.
16795 2013-06-10 Siddhesh Poyarekar <siddhesh@redhat.com>
16797 * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
16800 2013-06-08 Joseph Myers <joseph@codesourcery.com>
16802 * sysdeps/gnu/errlist.awk: Do not generate space at end of
16803 otherwise empty TRANS lines.
16804 * sysdeps/gnu/errlist.c: Regenerated.
16806 * catgets/gencat.c (error_print): Use (void) in function
16808 * crypt/crypt_util.c (__init_des): Likewise.
16809 * crypt/speeds.c (Stop): Likewise.
16811 * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
16812 * inet/ruserpass.c (token): Likewise.
16813 * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
16814 * intl/localealias.c (extend_alias_table): Likewise.
16815 * intl/plural-exp.c (init_germanic_plural): Likewise.
16816 * libio/fcloseall.c (__fcloseall): Likewise.
16817 * libio/genops.c (_IO_flush_all): Likewise.
16818 (_IO_flush_all_linebuffered): Likewise.
16819 (_IO_cleanup): Likewise.
16820 (_IO_iter_begin): Likewise.
16821 (_IO_iter_end): Likewise.
16822 (_IO_list_lock): Likewise.
16823 (_IO_list_unlock): Likewise.
16824 (_IO_list_resetlock): Likewise.
16825 * libio/getchar.c (getchar): Likewise.
16826 * libio/getchar_u.c (getchar_unlocked): Likewise.
16827 * libio/getwchar.c (getwchar): Likewise.
16828 * libio/getwchar_u.c (getwchar_unlocked): Likewise.
16829 * libio/oldstdfiles.c (_IO_check_libio): Likewise.
16830 * login/getpt.c (__getpt): Likewise.
16831 * login/tst-utmp.c (main): Likewise.
16832 * malloc/hooks.c (__malloc_check_init): Likewise.
16833 * malloc/malloc.c (__malloc_stats): Likewise.
16834 * malloc/mtrace.c (tr_break): Likewise.
16835 (mtrace): Likewise.
16836 (muntrace): Likewise.
16837 * misc/fstab.c (endfsent): Likewise.
16838 * misc/getclktck.c (__getclktck): Likewise.
16839 * misc/getdtsz.c (__getdtablesize): Likewise.
16840 * misc/gethostid.c (gethostid): Likewise.
16841 * misc/getpagesize.c (__getpagesize): Likewise.
16842 * misc/getsysstats.c (__get_nprocs_conf): Likewise.
16843 (__get_nprocs): Likewise.
16844 (__get_phys_pages): Likewise.
16845 (__get_avphys_pages): Likewise.
16846 * misc/getttyent.c (getttyent): Likewise.
16847 (setttyent): Likewise.
16848 (endttyent): Likewise.
16849 * misc/getusershell.c (getusershell): Likewise.
16850 (endusershell): Likewise.
16851 (setusershell): Likewise.
16852 (initshells): Likewise.
16853 * misc/hsearch.c (__hdestroy): Likewise.
16854 * misc/sync.c (sync): Likewise.
16855 * misc/syslog.c (closelog_internal): Likewise.
16856 (closelog): Likewise.
16857 * misc/ttyslot.c (ttyslot): Likewise.
16858 * misc/vhangup.c (vhangup): Likewise.
16859 * posix/fork.c (__fork): Likewise.
16860 * posix/getegid.c (__getegid): Likewise.
16861 * posix/geteuid.c (__geteuid): Likewise.
16862 * posix/getgid.c (__getgid): Likewise.
16863 * posix/getpid.c (__getpid): Likewise.
16864 * posix/getppid.c (__getppid): Likewise.
16865 * posix/getuid.c (__getuid): Likewise.
16866 * posix/pause.c (pause): Likewise.
16867 * posix/setpgrp.c (setpgrp): Likewise.
16868 * posix/setsid.c (__setsid): Likewise.
16869 * posix/test-vfork.c (noop): Likewise.
16870 * resolv/gethnamaddr.c (_endhtent): Likewise.
16871 (_gethtent): Likewise.
16872 (ht_endhostent): Likewise.
16873 (gethostent): Likewise.
16874 (dns_service): Likewise.
16875 * stdlib/drand48.c (drand48): Likewise.
16876 * stdlib/lrand48.c (lrand48): Likewise.
16877 * stdlib/mrand48.c (mrand48): Likewise.
16878 * stdlib/rand.c (rand): Likewise.
16879 * stdlib/random.c (__random): Likewise.
16880 * stdlib/setenv.c (clearenv): Likewise.
16881 * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
16882 * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
16883 * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
16884 * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
16885 (__get_nprocs): Likewise.
16886 (__get_phys_pages): Likewise.
16887 (__get_avphys_pages): Likewise.
16888 * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
16889 * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
16890 * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
16891 * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
16892 * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
16893 * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
16894 * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
16895 * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
16896 * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
16897 * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
16898 * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
16899 * sysdeps/mach/hurd/sync.c (sync): Likewise.
16900 * sysdeps/posix/clock.c (clock): Likewise.
16901 * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
16902 * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
16903 * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
16904 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
16905 * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
16906 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
16907 (__get_nprocs_conf): Likewise.
16908 (__get_phys_pages): Likewise.
16909 (__get_avphys_pages): Likewise.
16910 * time/clock.c (clock): Likewise.
16911 * time/tzset.c (__tzname_max): Likewise.
16913 2013-06-07 Joseph Myers <joseph@codesourcery.com>
16915 * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
16916 (__bswap_32): Do not use "register".
16917 * crypt/crypt.c (_ufc_doit_r): Likewise.
16918 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
16919 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
16920 * gmon/gmon.c (__monstartup): Likewise.
16921 * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
16922 * hurd/hurdmalloc.c (more_memory): Likewise.
16923 (malloc): Likewise.
16925 (realloc): Likewise.
16926 (malloc_fork_prepare): Likewise.
16927 (malloc_fork_parent): Likewise.
16928 (malloc_fork_child): Likewise.
16929 * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
16930 (_svcauth_des): Likewise.
16931 * inet/inet_lnaof.c (inet_lnaof): Likewise.
16932 * inet/inet_net.c (inet_network): Likewise.
16933 * inet/inet_netof.c (inet_netof): Likewise.
16934 * inet/rcmd.c (__validuser2_sa): Likewise.
16935 * io/fts.c (fts_open): Likewise.
16936 (fts_load): Likewise.
16937 (fts_close): Likewise.
16938 (fts_read): Likewise.
16939 (fts_children): Likewise.
16940 (fts_build): Likewise.
16941 (fts_stat): Likewise.
16942 (fts_sort): Likewise.
16943 (fts_alloc): Likewise.
16944 (fts_lfree): Likewise.
16945 * libio/fileops.c (_IO_new_file_xsputn): Likewise.
16946 (_IO_file_xsgetn): Likewise.
16947 (_IO_file_xsgetn_mmap): Likewise.
16948 * libio/iofopncook.c (_IO_cookie_read): Likewise.
16949 (_IO_cookie_write): Likewise.
16950 * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
16951 * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
16952 * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
16953 * malloc/obstack.c (_obstack_begin): Likewise.
16954 (_obstack_begin_1): Likewise.
16955 (_obstack_newchunk): Likewise.
16956 (_obstack_allocated_p): Likewise.
16957 (obstack_free): Likewise.
16958 (_obstack_memory_used): Likewise.
16959 * misc/getttyent.c (getttynam): Likewise.
16960 (getttyent): Likewise.
16963 * misc/getusershell.c (initshells): Likewise.
16964 * misc/syslog.c (__vsyslog_chk): Likewise.
16965 * misc/ttyslot.c (ttyslot): Likewise.
16966 * nis/nis_hash.c (__nis_hash): Likewise.
16967 * posix/fnmatch_loop.c (FCT): Likewise.
16968 * posix/getconf.c (print_all): Likewise.
16970 * posix/getopt.c (exchange): Likewise.
16971 * posix/glob.c (globfree): Likewise.
16972 (prefix_array): Likewise.
16973 (__glob_pattern_type): Likewise.
16974 * resolv/arpa/nameser.h (NS_GET16): Likewise.
16975 (NS_GET32): Likewise.
16976 (NS_PUT16): Likewise.
16977 (NS_PUT32): Likewise.
16978 * resolv/gethnamaddr.c (getanswer): Likewise.
16979 (gethostbyname2): Likewise.
16980 (gethostbyaddr): Likewise.
16981 (_gethtent): Likewise.
16982 (_gethtbyname2): Likewise.
16983 (_gethtbyaddr): Likewise.
16984 * resolv/ns_print.c (dst_s_get_int16): Likewise.
16985 * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
16986 * resolv/res_init.c (__res_vinit): Likewise.
16987 (net_mask): Likewise.
16988 * resolv/res_mkquery.c (outchar): Likewise.
16990 * stdio-common/printf_fp.c (outchar): Likewise.
16992 * stdio-common/printf_fphex.c (outchar): Likewise.
16994 * stdio-common/printf_size.c (outchar): Likewise.
16996 * stdio-common/test_rdwr.c (main): Likewise.
16997 * stdio-common/tfformat.c (matches): Likewise.
16998 * stdio-common/vfprintf.c (outchar): Likewise.
16999 (printf_unknown): Likewise.
17000 (buffered_vfprintf): Likewise.
17001 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
17002 * stdio-common/xbug.c (AppendToBuffer): Likewise.
17003 (ReadFile): Likewise.
17004 * stdlib/qsort.c (SWAP): Likewise.
17005 (_quicksort): Likewise.
17006 * stdlib/setenv.c (__add_to_environ): Likewise.
17007 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
17008 * stdlib/strtol_l.c (__strtol_l): Likewise.
17009 * stdlib/tst-strtod.c (main): Likewise.
17010 * stdlib/tst-strtol.c (main): Likewise.
17011 * stdlib/tst-strtoll.c (main): Likewise.
17012 * string/bits/string2.h (__strcmp_cc): Likewise.
17013 (__strcmp_cg): Likewise.
17014 (__strcspn_c1): Likewise.
17015 (__strcspn_c2): Likewise.
17016 (__strcspn_c3): Likewise.
17017 (__strspn_c1): Likewise.
17018 (__strspn_c2): Likewise.
17019 (__strspn_c3): Likewise.
17020 (__strsep_1c): Likewise.
17021 (__strsep_2c): Likewise.
17022 (__strsep_3c): Likewise.
17023 * string/memccpy.c (__memccpy): Likewise.
17024 * string/stpcpy.c (__stpcpy): Likewise.
17025 * string/strcmp.c (strcmp): Likewise.
17026 * string/strrchr.c (strrchr): Likewise.
17027 * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
17029 * sysdeps/mach/hurd/getcwd.c
17030 (_hurd_canonicalize_directory_name_internal): Likewise.
17031 * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
17032 * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
17033 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
17034 * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
17035 Likewise, in both definitions.
17036 * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
17038 [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
17039 64] (__bswap_64): Likewise.
17040 * time/test_time.c (main): Likewise.
17041 * time/tzfile.c (__tzfile_read): Likewise.
17042 (__tzfile_compute): Likewise.
17043 * time/tzset.c (__tzset_parse_tz): Likewise.
17044 (tzset_internal): Likewise.
17045 (compute_change): Likewise.
17046 * wcsmbs/wcscat.c (__wcscat): Likewise.
17047 * wcsmbs/wcschr.c (wcschr): Likewise.
17048 * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
17049 * wcsmbs/wcscspn.c (wcscspn): Likewise.
17050 * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
17051 * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
17052 * wcsmbs/wcsspn.c (wcsspn): Likewise.
17053 * wcsmbs/wcsstr.c (wcsstr): Likewise.
17054 * wcsmbs/wmemchr.c (wmemchr): Likewise.
17055 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
17056 * wcsmbs/wmemset.c (wmemset): Likewise.
17058 2013-06-06 Joseph Myers <joseph@codesourcery.com>
17060 * scripts/config.guess: Update to version 2013-05-16.
17061 * scripts/config.sub: Update to version 2013-04-24.
17062 * scripts/install-sh: Update to version 2011-11-20.07.
17063 * scripts/mkinstalldirs: Update to version 2009-04-28.21.
17064 * scripts/move-if-change: Update to version 2012-01-06 07:23.
17066 2013-06-06 Ondřej Bílka <neleai@seznam.cz>
17068 * debug/fgetws_u_chk.c: Fix leading whitespaces.
17069 * elf/sln.c: Likewise.
17070 * hurd/hurd/ioctl.h: Likewise.
17071 * hurd/hurdmalloc.c: Likewise.
17072 * hurd/xattr.c: Likewise.
17073 * include/shlib-compat.h: Likewise.
17074 * inet/ruserpass.c: Likewise.
17075 * libio/iofgets_u.c: Likewise.
17076 * libio/iofgetws_u.c: Likewise.
17077 * locale/programs/ld-identification.c: Likewise.
17078 * locale/programs/ld-time.c: Likewise.
17079 * mach/msg-destroy.c: Likewise.
17080 * nss/nss_files/files-netgrp.c: Likewise.
17081 * resolv/res_data.c: Likewise.
17082 * soft-fp/op-1.h: Likewise.
17083 * soft-fp/op-2.h: Likewise.
17084 * soft-fp/op-4.h: Likewise.
17085 * soft-fp/op-common.h: Likewise.
17086 * stdio-common/printf_fphex.c: Likewise.
17087 * stdlib/strtod_l.c: Likewise.
17088 * sunrpc/rpc/clnt.h: Likewise.
17089 * sysdeps/generic/framestate.c: Likewise.
17090 * sysdeps/i386/bsd-_setjmp.S: Likewise.
17091 * sysdeps/i386/bsd-setjmp.S: Likewise.
17092 * sysdeps/i386/__longjmp.S: Likewise.
17093 * sysdeps/i386/setjmp.S: Likewise.
17094 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
17095 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
17096 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
17097 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
17098 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
17099 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
17100 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
17101 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
17102 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
17103 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
17104 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
17105 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
17106 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
17107 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
17108 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
17109 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
17110 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
17111 * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
17112 * sysdeps/ieee754/support.c: Likewise.
17113 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
17114 * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
17115 * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
17116 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
17117 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
17118 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
17119 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
17120 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
17121 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
17122 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
17123 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
17124 * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
17125 * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
17126 * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
17127 * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
17128 * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
17129 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
17130 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
17132 2013-06-05 Ondřej Bílka <neleai@seznam.cz>
17134 * posix/transbug.c: Remove executable mode.
17136 2013-06-05 Joseph Myers <joseph@codesourcery.com>
17138 * crypt/speeds.c: Remove trailing whitespace.
17139 * dlfcn/default.c: Likewise.
17140 * elf/ifuncdep2.c: Likewise.
17141 * elf/ifuncmain1.c: Likewise.
17142 * elf/ifuncmain1vis.c: Likewise.
17143 * elf/testobj.h: Likewise.
17144 * elf/tst-stackguard1.c: Likewise.
17145 * gmon/sys/gmon.h: Likewise.
17146 * hurd/hurdmsg.c: Likewise.
17147 * hurd/new-fd.c: Likewise.
17148 * hurd/ports-get.c: Likewise.
17149 * iconvdata/ibm1008_420.c: Likewise.
17150 * inet/tst-getni1.c: Likewise.
17151 * inet/tst-getni2.c: Likewise.
17152 * libio/ioungetc.c: Likewise.
17153 * libio/wfiledoalloc.c: Likewise.
17154 * manual/libm-err-tab.pl: Likewise.
17155 * math/w_dremf.c: Likewise.
17156 * misc/ftruncate.c: Likewise.
17157 * posix/bug-glob2.c: Likewise.
17158 * posix/tst-pcre.c: Likewise.
17159 * posix/wait4.c: Likewise.
17160 * resolv/README: Likewise.
17161 * resolv/res_debug.h: Likewise.
17162 * resolv/tst-inet_ntop.c: Likewise.
17163 * setjmp/bug269-setjmp.c: Likewise.
17164 * soft-fp/extended.h: Likewise.
17165 * soft-fp/op-1.h: Likewise.
17166 * soft-fp/op-2.h: Likewise.
17167 * soft-fp/op-4.h: Likewise.
17168 * soft-fp/op-8.h: Likewise.
17169 * soft-fp/testit.c: Likewise.
17170 * stdio-common/bug16.c: Likewise.
17171 * stdlib/random.c: Likewise.
17172 * sunrpc/rpcsvc/rquota.x: Likewise.
17173 * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
17174 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
17175 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
17176 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
17177 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
17178 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
17179 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
17180 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
17181 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
17182 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
17183 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
17184 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
17185 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
17186 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
17187 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
17188 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
17189 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
17190 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
17191 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
17192 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
17193 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
17194 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
17195 * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
17196 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
17197 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
17198 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
17199 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
17200 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
17201 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
17202 * sysdeps/ieee754/s_lib_version.c: Likewise.
17203 * sysdeps/mach/hurd/check_fds.c: Likewise.
17204 * sysdeps/mach/hurd/getsockname.c: Likewise.
17205 * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
17206 * sysdeps/mach/hurd/recvfrom.c: Likewise.
17207 * sysdeps/powerpc/bits/link.h: Likewise.
17208 * sysdeps/powerpc/dl-procinfo.c: Likewise.
17209 * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
17210 * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
17211 * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
17212 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
17213 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
17214 * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
17215 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
17216 * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
17217 * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
17218 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
17219 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
17220 * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
17221 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
17222 * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
17223 * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
17224 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
17225 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
17226 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
17227 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
17228 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
17229 * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
17230 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
17231 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
17232 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
17233 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
17234 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
17235 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
17236 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
17237 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
17238 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
17239 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
17240 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
17241 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
17242 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
17243 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
17244 * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
17245 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
17246 * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
17247 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
17248 * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
17249 * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
17250 * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
17251 * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
17252 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
17253 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
17254 * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
17255 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
17256 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
17257 * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
17258 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
17259 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
17260 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
17261 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
17262 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
17263 * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
17264 * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
17265 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
17266 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
17267 * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
17268 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
17269 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
17270 * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
17271 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
17272 * sysdeps/powerpc/sysdep.h: Likewise.
17273 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
17274 * sysdeps/s390/s390-64/sub_n.S: Likewise.
17275 * sysdeps/sh/dl-trampoline.S: Likewise.
17276 * sysdeps/sh/memset.S: Likewise.
17277 * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
17278 * sysdeps/sh/strlen.S: Likewise.
17279 * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
17280 * sysdeps/sparc/sparc32/dotmul.S: Likewise.
17281 * sysdeps/sparc/sparc32/memcpy.S: Likewise.
17282 * sysdeps/sparc/sparc32/rem.S: Likewise.
17283 * sysdeps/sparc/sparc32/sdiv.S: Likewise.
17284 * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
17285 * sysdeps/sparc/sparc32/strchr.S: Likewise.
17286 * sysdeps/sparc/sparc32/udiv.S: Likewise.
17287 * sysdeps/sparc/sparc32/urem.S: Likewise.
17288 * sysdeps/sparc/sparc64/add_n.S: Likewise.
17289 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
17290 * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
17291 * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
17292 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
17293 * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
17294 * sysdeps/sparc/sparc64/strncmp.S: Likewise.
17295 * sysdeps/sparc/sparc64/strncpy.S: Likewise.
17296 * sysdeps/unix/bsd/times.c: Likewise.
17297 * sysdeps/unix/sysv/linux/a.out.h: Likewise.
17298 * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
17299 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
17300 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
17301 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
17302 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
17303 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
17304 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
17305 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
17306 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
17307 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
17308 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
17309 * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
17310 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
17311 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
17312 * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
17313 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
17314 * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
17315 * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
17316 * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
17317 * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
17318 * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
17319 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
17320 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
17321 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
17322 * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
17323 * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
17324 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
17325 * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
17326 * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
17327 * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
17328 * sysdeps/x86_64/strcspn.S: Likewise.
17330 2013-06-05 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
17332 * locale/C-translit.h: Revert #include <stdint.h> because this is a
17333 generated file. Regenerate properly from gen-translit.pl.
17334 * locale/gen-translit.pl: Add #include <stdint.h>. This generates
17335 locale/C-translit.h.
17337 2013-06-05 Andreas Schwab <schwab@suse.de>
17340 * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
17341 week as 6 instead of -1.
17342 * time/tst-strptime.c (day_tests): Add test case.
17344 2013-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
17346 * sysdeps/generic/math_private.h
17347 (libc_feholdexcept_setround_53bit): Replace with
17348 libc_feholdsetround_53bit.
17349 (libc_feupdateenv_53bit): Replace with
17350 libc_feresetround_53bit.
17351 (SET_RESTORE_ROUND_53BIT): Adjust.
17353 2013-06-03 Siddhesh Poyarekar <siddhesh@redhat.com>
17355 * string/test-strchrnul.c: Add copyright header.
17357 * posix/tst-getaddrinfo4.c: Increase test timeout.
17359 2013-06-03 Carlos O'Donell <carlos@redhat.com>
17362 * math/libm-test.inc (MAX_EXP): Remove
17364 (ulp): Use MIN_EXP - MANT_DIG.
17365 (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
17367 2013-05-31 Carlos O'Donell <carlos@redhat.com>
17369 * po/be.po: Revert last change.
17370 * po/zh_CN.po: Likewise.
17371 * po/header.pot: Likewise.
17373 2013-05-31 Joseph Myers <joseph@codesourcery.com>
17375 * Makefile ($(common-objpfx)linkobj/libc.so): Define
17376 link-libc-deps to empty as target-specific variable.
17377 * Makerules (link-libc-args): New variable.
17378 (libc-for-link): Likewise.
17379 (link-libc-deps): Likewise.
17380 (lib%.so): Depend on $(link-libc-deps). Link with
17382 (build-module): Link with $(link-libc-args).
17383 (build-module-asneeded): Likewise.
17384 (build-module-helper-objlist): Filter out $(link-libc-deps) from
17386 ($(common-objpfx)libc.so): Define link-libc-deps to empty as
17387 target-specific variable.
17388 ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
17389 $(link-libc-deps) instead of libc.so and libc_nonshared.a.
17390 * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
17392 * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
17394 ($(objpfx)libpcprofile.so): Likewise.
17395 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
17397 ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
17398 * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
17399 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
17401 ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
17402 * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
17403 * login/Makefile ($(objpfx)libutil.so): Likewise.
17404 * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
17405 * math/Makefile ($(objpfx)libm.so): Likewise.
17406 * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
17407 $(objpfx)libnsl.so): Define libc-for-link as target-specific
17408 variable instead of depending directly on libc.
17409 * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
17410 ($(objpfx)/libnss_test1.so): Change dependencies on libc to
17412 * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
17414 [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
17415 ($(objpfx)libnss_dns.so): Remove dependencies on libc.
17416 ($(objpfx)libanl.so): Likewise.
17417 * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
17419 * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
17421 * sysdeps/i386/fpu/Makefile: Remove file.
17422 * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
17423 ($(objpfx)libm.so): Remove dependency on ld.so.
17425 2013-05-30 Patsy Franklin <pfrankli@redhat.com>
17428 * nis/yp_xdr.c (XDRMAXNAME): Define.
17429 (XDRMAXRECORD): Define.
17430 (xdr_domainname): Use XDRMAXNAME.
17431 (xdr_mapname): Likewise.
17432 (xdr_peername): Likewise.
17433 (xdr_keydat): Use XDRMAXRECORD.
17434 (xdr_valdat): Likewise.
17436 2013-05-30 Jeff Law <law@redhat.com>
17439 * manual/errno.texi (ESTALE): Update to account for more than
17440 just NFS file systems.
17441 * sysdeps/gnu/errlist.c: Regenerated.
17443 2013-05-29 Siddhesh Poyarekar <siddhesh@redhat.com>
17446 * elf/Makefile (tests): Add tst-null-argv.
17447 (modules-names): Add tst-null-argv-lib.
17448 ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
17449 (tst-null-argv-ENV): Set environment for tst-null-argv.
17450 * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
17451 (RTLD_PROGNAME): New macro.
17452 * elf/tst-null-argv.c: New test case.
17453 * elf/tst-null-argv-lib.c: Library for test case.
17454 * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
17455 * elf/dl-deps.c (_dl_map_object_deps): Likewise.
17456 * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
17457 * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
17458 * elf/dl-init.c (call_init): Likewise.
17459 (_dl_init): Likewise.
17460 * elf/dl-load.c (print_search_path): Likewise.
17461 (_dl_map_object): Likewise.
17462 * elf/dl-lookup.c (do_lookup_x): Likewise.
17463 (add_dependency): Likewise.
17464 (_dl_lookup_symbol_x): Likewise.
17465 (_dl_debug_bindings): Likewise.
17466 * elf/dl-open.c (_dl_show_scope): Likewise.
17467 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
17468 * elf/dl-version.c (match_symbol): Likewise.
17469 (_dl_check_map_versions): Likewise.
17470 * elf/rtld.c (dl_main): Likewise.
17471 (print_unresolved): Use RTLD_PROGNAME.
17472 (print_missing_version): Likewise.
17473 * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
17474 (elf_machine_rela): Likewise.
17475 * sysdeps/powerpc/powerpc32/dl-machine.c
17476 (__process_machine_rela): Likewise.
17477 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
17479 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
17481 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
17483 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
17484 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
17486 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
17488 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
17490 2013-05-28 Carlos O'Donell <carlos@redhat.com>
17492 * po/be.po: Add descriptive title.
17493 * po/zh_CN.po: Likewise.
17494 * po/header.pot: Likewise.
17496 2013-05-28 Mike Frysinger <vapier@gentoo.org>
17498 * locale/programs/locarchive.c (create_archive): Inlucde fname in
17500 (enlarge_archive): Likewise.
17502 2013-05-28 Ben North <ben@redfrontdoor.org>
17504 * manual/arith.texi (frexp): It is the magnitude of the return
17505 value which lies in [0.5, 1), not the return value itself.
17507 2013-05-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17509 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17511 2013-05-26 Thomas Schwinge <thomas@codesourcery.com>
17513 * stdio-common/bug26.c (main): Correct fscanf template.
17515 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
17516 declare _dl_skip_args.
17518 * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
17521 * manual/platform.texi: Add missing @end deftypefun.
17523 2013-05-24 Joseph Myers <joseph@codesourcery.com>
17526 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
17527 bit of mantissa of 2^16382.
17528 * math/libm-test.inc (hypot_test_data): Add more tests.
17530 * math/libm-test.inc: Add drem and pow10 to list of tested
17532 (pow10_test): New function.
17533 (drem_test): Likewise.
17534 (drem_test_tonearest): Likewise.
17535 (drem_test_towardzero): Likewise.
17536 (drem_test_downward): Likewise.
17537 (drem_test_upward): Likewise.
17538 (main): Call the new functions.
17540 * math/libm-test.inc (finite_test_data): Remove.
17541 (finite_test): Run tests from isfinite_test_data.
17542 (gamma_test_data): Remove.
17543 (gamma_test): Run tests from lgamma_test_data.
17544 * sysdeps/i386/fpu/libm-test-ulps: Update.
17545 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17547 2013-05-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17549 * manual/platform.texi: Add PowerPC PPR function set documentation.
17550 * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
17553 2013-05-24 Carlos O'Donell <carlos@redhat.com>
17555 * math/libm-test.inc (MAX_EXP): Define.
17557 (ulp): New function.
17558 (check_float_internal): Use ULPDIFF.
17559 (cpow_test): Disable failing test.
17560 (check_ulp): Test ulp() implemetnation.
17561 (main): Call check_ulp before starting tests.
17563 2013-05-24 Joseph Myers <joseph@codesourcery.com>
17565 * math/gen-libm-test.pl (generate_testfile): Do not handle
17566 START_DATA and END_DATA.
17567 * math/libm-test.inc (acos_test_data): Do not use START_DATA and
17569 (acos_tonearest_test_data): Likewise.
17570 (acos_towardzero_test_data): Likewise.
17571 (acos_downward_test_data): Likewise.
17572 (acos_upward_test_data): Likewise.
17573 (acosh_test_data): Likewise.
17574 (asin_test_data): Likewise.
17575 (asin_tonearest_test_data): Likewise.
17576 (asin_towardzero_test_data): Likewise.
17577 (asin_downward_test_data): Likewise.
17578 (asin_upward_test_data): Likewise.
17579 (asinh_test_data): Likewise.
17580 (atan_test_data): Likewise.
17581 (atanh_test_data): Likewise.
17582 (atan2_test_data): Likewise.
17583 (cabs_test_data): Likewise.
17584 (cacos_test_data): Likewise.
17585 (cacosh_test_data): Likewise.
17586 (carg_test_data): Likewise.
17587 (casin_test_data): Likewise.
17588 (casinh_test_data): Likewise.
17589 (catan_test_data): Likewise.
17590 (catanh_test_data): Likewise.
17591 (cbrt_test_data): Likewise.
17592 (ccos_test_data): Likewise.
17593 (ccosh_test_data): Likewise.
17594 (ceil_test_data): Likewise.
17595 (cexp_test_data): Likewise.
17596 (cimag_test_data): Likewise.
17597 (clog_test_data): Likewise.
17598 (clog10_test_data): Likewise.
17599 (conj_test_data): Likewise.
17600 (copysign_test_data): Likewise.
17601 (cos_test_data): Likewise.
17602 (cos_tonearest_test_data): Likewise.
17603 (cos_towardzero_test_data): Likewise.
17604 (cos_downward_test_data): Likewise.
17605 (cos_upward_test_data): Likewise.
17606 (cosh_test_data): Likewise.
17607 (cosh_tonearest_test_data): Likewise.
17608 (cosh_towardzero_test_data): Likewise.
17609 (cosh_downward_test_data): Likewise.
17610 (cosh_upward_test_data): Likewise.
17611 (cpow_test_data): Likewise.
17612 (cproj_test_data): Likewise.
17613 (creal_test_data): Likewise.
17614 (csin_test_data): Likewise.
17615 (csinh_test_data): Likewise.
17616 (csqrt_test_data): Likewise.
17617 (ctan_test_data): Likewise.
17618 (ctan_tonearest_test_data): Likewise.
17619 (ctan_towardzero_test_data): Likewise.
17620 (ctan_downward_test_data): Likewise.
17621 (ctan_upward_test_data): Likewise.
17622 (ctanh_test_data): Likewise.
17623 (ctanh_tonearest_test_data): Likewise.
17624 (ctanh_towardzero_test_data): Likewise.
17625 (ctanh_downward_test_data): Likewise.
17626 (ctanh_upward_test_data): Likewise.
17627 (erf_test_data): Likewise.
17628 (erfc_test_data): Likewise.
17629 (exp_test_data): Likewise.
17630 (exp_tonearest_test_data): Likewise.
17631 (exp_towardzero_test_data): Likewise.
17632 (exp_downward_test_data): Likewise.
17633 (exp_upward_test_data): Likewise.
17634 (exp10_test_data): Likewise.
17635 (exp2_test_data): Likewise.
17636 (expm1_test_data): Likewise.
17637 (fabs_test_data): Likewise.
17638 (fdim_test_data): Likewise.
17639 (finite_test_data): Likewise.
17640 (floor_test_data): Likewise.
17641 (fma_test_data): Likewise.
17642 (fma_towardzero_test_data): Likewise.
17643 (fma_downward_test_data): Likewise.
17644 (fma_upward_test_data): Likewise.
17645 (fmax_test_data): Likewise.
17646 (fmin_test_data): Likewise.
17647 (fmod_test_data): Likewise.
17648 (fpclassify_test_data): Likewise.
17649 (frexp_test_data): Likewise.
17650 (gamma_test_data): Likewise.
17651 (hypot_test_data): Likewise.
17652 (ilogb_test_data): Likewise.
17653 (isfinite_test_data): Likewise.
17654 (isgreater_test_data): Likewise.
17655 (isgreaterequal_test_data): Likewise.
17656 (isinf_test_data): Likewise.
17657 (isless_test_data): Likewise.
17658 (islessequal_test_data): Likewise.
17659 (islessgreater_test_data): Likewise.
17660 (isnan_test_data): Likewise.
17661 (isnormal_test_data): Likewise.
17662 (issignaling_test_data): Likewise.
17663 (isunordered_test_data): Likewise.
17664 (j0_test_data): Likewise.
17665 (j1_test_data): Likewise.
17666 (jn_test_data): Likewise.
17667 (ldexp_test_data): Likewise.
17668 (lgamma_test_data): Likewise.
17669 (lrint_test_data): Likewise.
17670 (lrint_tonearest_test_data): Likewise.
17671 (lrint_towardzero_test_data): Likewise.
17672 (lrint_downward_test_data): Likewise.
17673 (lrint_upward_test_data): Likewise.
17674 (llrint_test_data): Likewise.
17675 (llrint_tonearest_test_data): Likewise.
17676 (llrint_towardzero_test_data): Likewise.
17677 (llrint_downward_test_data): Likewise.
17678 (llrint_upward_test_data): Likewise.
17679 (log_test_data): Likewise.
17680 (log10_test_data): Likewise.
17681 (log1p_test_data): Likewise.
17682 (log2_test_data): Likewise.
17683 (logb_test_data): Likewise.
17684 (logb_downward_test_data): Likewise.
17685 (lround_test_data): Likewise.
17686 (llround_test_data): Likewise.
17687 (modf_test_data): Likewise.
17688 (nearbyint_test_data): Likewise.
17689 (nextafter_test_data): Likewise.
17690 (nexttoward_test_data): Likewise.
17691 (pow_test_data): Likewise.
17692 (pow_tonearest_test_data): Likewise.
17693 (pow_towardzero_test_data): Likewise.
17694 (pow_downward_test_data): Likewise.
17695 (pow_upward_test_data): Likewise.
17696 (remainder_test_data): Likewise.
17697 (remainder_tonearest_test_data): Likewise.
17698 (remainder_towardzero_test_data): Likewise.
17699 (remainder_downward_test_data): Likewise.
17700 (remainder_upward_test_data): Likewise.
17701 (remquo_test_data): Likewise.
17702 (rint_test_data): Likewise.
17703 (rint_tonearest_test_data): Likewise.
17704 (rint_towardzero_test_data): Likewise.
17705 (rint_downward_test_data): Likewise.
17706 (rint_upward_test_data): Likewise.
17707 (round_test_data): Likewise.
17708 (scalb_test_data): Likewise.
17709 (scalbn_test_data): Likewise.
17710 (scalbln_test_data): Likewise.
17711 (signbit_test_data): Likewise.
17712 (sin_test_data): Likewise.
17713 (sin_tonearest_test_data): Likewise.
17714 (sin_towardzero_test_data): Likewise.
17715 (sin_downward_test_data): Likewise.
17716 (sin_upward_test_data): Likewise.
17717 (sincos_test_data): Likewise.
17718 (sinh_test_data): Likewise.
17719 (sinh_tonearest_test_data): Likewise.
17720 (sinh_towardzero_test_data): Likewise.
17721 (sinh_downward_test_data): Likewise.
17722 (sinh_upward_test_data): Likewise.
17723 (sqrt_test_data): Likewise.
17724 (tan_test_data): Likewise.
17725 (tan_tonearest_test_data): Likewise.
17726 (tan_towardzero_test_data): Likewise.
17727 (tan_downward_test_data): Likewise.
17728 (tan_upward_test_data): Likewise.
17729 (tanh_test_data): Likewise.
17730 (tgamma_test_data): Likewise.
17731 (trunc_test_data): Likewise.
17732 (y0_test_data): Likewise.
17733 (y1_test_data): Likewise.
17734 (yn_test_data): Likewise.
17735 (significand_test_data): Likewise.
17737 * math/gen-libm-test.pl (@functions): Remove variable.
17738 (generate_testfile): Don't handle START and END lines.
17739 * math/libm-test.inc (START): New macro.
17741 (END_COMPLEX): Likewise.
17742 (acos_test): Use END macro without arguments.
17743 (acos_test_tonearest): Likewise.
17744 (acos_test_towardzero): Likewise.
17745 (acos_test_downward): Likewise.
17746 (acos_test_upward): Likewise.
17747 (acosh_test): Likewise.
17748 (asin_test): Likewise.
17749 (asin_test_tonearest): Likewise.
17750 (asin_test_towardzero): Likewise.
17751 (asin_test_downward): Likewise.
17752 (asin_test_upward): Likewise.
17753 (asinh_test): Likewise.
17754 (atan_test): Likewise.
17755 (atanh_test): Likewise.
17756 (atan2_test): Likewise.
17757 (cabs_test): Likewise.
17758 (cacos_test): Use END_COMPLEX macro without arguments.
17759 (cacosh_test): Likewise.
17760 (carg_test): Use END macro without arguments.
17761 (casin_test): Use END_COMPLEX macro without arguments.
17762 (casinh_test): Likewise.
17763 (catan_test): Likewise.
17764 (catanh_test): Likewise.
17765 (cbrt_test): Use END macro without arguments.
17766 (ccos_test): Use END_COMPLEX macro without arguments.
17767 (ccosh_test): Likewise.
17768 (ceil_test): Use END macro without arguments.
17769 (cexp_test): Use END_COMPLEX macro without arguments.
17770 (cimag_test): Use END macro without arguments.
17771 (clog_test): Use END_COMPLEX macro without arguments.
17772 (clog10_test): Likewise.
17773 (conj_test): Likewise.
17774 (copysign_test): Use END macro without arguments.
17775 (cos_test): Likewise.
17776 (cos_test_tonearest): Likewise.
17777 (cos_test_towardzero): Likewise.
17778 (cos_test_downward): Likewise.
17779 (cos_test_upward): Likewise.
17780 (cosh_test): Likewise.
17781 (cosh_test_tonearest): Likewise.
17782 (cosh_test_towardzero): Likewise.
17783 (cosh_test_downward): Likewise.
17784 (cosh_test_upward): Likewise.
17785 (cpow_test): Use END_COMPLEX macro without arguments.
17786 (cproj_test): Likewise.
17787 (creal_test): Use END macro without arguments.
17788 (csin_test): Use END_COMPLEX macro without arguments.
17789 (csinh_test): Likewise.
17790 (csqrt_test): Likewise.
17791 (ctan_test): Likewise.
17792 (ctan_test_tonearest): Likewise.
17793 (ctan_test_towardzero): Likewise.
17794 (ctan_test_downward): Likewise.
17795 (ctan_test_upward): Likewise.
17796 (ctanh_test): Likewise.
17797 (ctanh_test_tonearest): Likewise.
17798 (ctanh_test_towardzero): Likewise.
17799 (ctanh_test_downward): Likewise.
17800 (ctanh_test_upward): Likewise.
17801 (erf_test): Use END macro without arguments.
17802 (erfc_test): Likewise.
17803 (exp_test): Likewise.
17804 (exp_test_tonearest): Likewise.
17805 (exp_test_towardzero): Likewise.
17806 (exp_test_downward): Likewise.
17807 (exp_test_upward): Likewise.
17808 (exp10_test): Likewise.
17809 (exp2_test): Likewise.
17810 (expm1_test): Likewise.
17811 (fabs_test): Likewise.
17812 (fdim_test): Likewise.
17813 (finite_test): Likewise.
17814 (floor_test): Likewise.
17815 (fma_test): Likewise.
17816 (fma_test_towardzero): Likewise.
17817 (fma_test_downward): Likewise.
17818 (fma_test_upward): Likewise.
17819 (fmax_test): Likewise.
17820 (fmin_test): Likewise.
17821 (fmod_test): Likewise.
17822 (fpclassify_test): Likewise.
17823 (frexp_test): Likewise.
17824 (gamma_test): Likewise.
17825 (hypot_test): Likewise.
17826 (ilogb_test): Likewise.
17827 (isfinite_test): Likewise.
17828 (isgreater_test): Likewise.
17829 (isgreaterequal_test): Likewise.
17830 (isinf_test): Likewise.
17831 (isless_test): Likewise.
17832 (islessequal_test): Likewise.
17833 (islessgreater_test): Likewise.
17834 (isnan_test): Likewise.
17835 (isnormal_test): Likewise.
17836 (issignaling_test): Likewise.
17837 (isunordered_test): Likewise.
17838 (j0_test): Likewise.
17839 (j1_test): Likewise.
17840 (jn_test): Likewise.
17841 (ldexp_test): Likewise.
17842 (lgamma_test): Likewise.
17843 (lrint_test): Likewise.
17844 (lrint_test_tonearest): Likewise.
17845 (lrint_test_towardzero): Likewise.
17846 (lrint_test_downward): Likewise.
17847 (lrint_test_upward): Likewise.
17848 (llrint_test): Likewise.
17849 (llrint_test_tonearest): Likewise.
17850 (llrint_test_towardzero): Likewise.
17851 (llrint_test_downward): Likewise.
17852 (llrint_test_upward): Likewise.
17853 (log_test): Likewise.
17854 (log10_test): Likewise.
17855 (log1p_test): Likewise.
17856 (log2_test): Likewise.
17857 (logb_test): Likewise.
17858 (logb_test_downward): Likewise.
17859 (lround_test): Likewise.
17860 (llround_test): Likewise.
17861 (modf_test): Likewise.
17862 (nearbyint_test): Likewise.
17863 (nextafter_test): Likewise.
17864 (nexttoward_test): Likewise.
17865 (pow_test): Likewise.
17866 (pow_test_tonearest): Likewise.
17867 (pow_test_towardzero): Likewise.
17868 (pow_test_downward): Likewise.
17869 (pow_test_upward): Likewise.
17870 (remainder_test): Likewise.
17871 (remainder_test_tonearest): Likewise.
17872 (remainder_test_towardzero): Likewise.
17873 (remainder_test_downward): Likewise.
17874 (remainder_test_upward): Likewise.
17875 (remquo_test): Likewise.
17876 (rint_test): Likewise.
17877 (rint_test_tonearest): Likewise.
17878 (rint_test_towardzero): Likewise.
17879 (rint_test_downward): Likewise.
17880 (rint_test_upward): Likewise.
17881 (round_test): Likewise.
17882 (scalb_test): Likewise.
17883 (scalbn_test): Likewise.
17884 (scalbln_test): Likewise.
17885 (signbit_test): Likewise.
17886 (sin_test): Likewise.
17887 (sin_test_tonearest): Likewise.
17888 (sin_test_towardzero): Likewise.
17889 (sin_test_downward): Likewise.
17890 (sin_test_upward): Likewise.
17891 (sincos_test): Likewise.
17892 (sinh_test): Likewise.
17893 (sinh_test_tonearest): Likewise.
17894 (sinh_test_towardzero): Likewise.
17895 (sinh_test_downward): Likewise.
17896 (sinh_test_upward): Likewise.
17897 (sqrt_test): Likewise.
17898 (tan_test): Likewise.
17899 (tan_test_tonearest): Likewise.
17900 (tan_test_towardzero): Likewise.
17901 (tan_test_downward): Likewise.
17902 (tan_test_upward): Likewise.
17903 (tanh_test): Likewise.
17904 (tgamma_test): Likewise.
17905 (trunc_test): Likewise.
17906 (y0_test): Likewise.
17907 (y1_test): Likewise.
17908 (yn_test): Likewise.
17909 (significand_test): Likewise.
17911 2013-05-24 Ondřej Bílka <neleai@seznam.cz>
17914 * libio/genops.c (_IO_no_init): Initialize wide struct info.
17916 2013-05-23 Edjunior Machado <emachado@linux.vnet.ibm.com>
17919 * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
17920 __ppc_mdoio and __ppc_mdoom.
17921 * manual/platform.texi: Document new functions __ppc_yield,
17922 __ppc_mdoio and __ppc_mdoom.
17924 2013-05-22 Carlos O'Donell <carlos@redhat.com>
17926 * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
17927 (main): Mention "tls" pseudo-hwcap is legacy.
17928 * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
17930 2013-05-22 Joseph Myers <joseph@codesourcery.com>
17932 * math/gen-libm-test.pl (parse_args): Output only string of
17933 arguments as text for test name, not full call or descriptions of
17934 tests for extra outputs.
17935 (generate_testfile): Do not pass function name to parse_args.
17936 Generate this_func variable from START.
17937 * math/libm-test.inc (struct test_f_f_data): Rename test_name
17939 (struct test_ff_f_data): Likewise.
17940 (test_ff_f_data_nexttoward): Likewise.
17941 (struct test_fi_f_data): Likewise.
17942 (struct test_fl_f_data): Likewise.
17943 (struct test_if_f_data): Likewise.
17944 (struct test_fff_f_data): Likewise.
17945 (struct test_c_f_data): Likewise.
17946 (struct test_f_f1_data): Likewise. Remove field extra_name.
17947 (struct test_fF_f1_data): Likewise.
17948 (struct test_ffI_f1_data): Likewise.
17949 (struct test_c_c_data): Rename test_name field to arg_str.
17950 (struct test_cc_c_data): Likewise.
17951 (struct test_f_i_data): Likewise.
17952 (struct test_ff_i_data): Likewise.
17953 (struct test_f_l_data): Likewise.
17954 (struct test_f_L_data): Likewise.
17955 (struct test_fFF_11_data): Likewise. Remove fields extra1_name
17957 (COMMON_TEST_SETUP): New macro.
17958 (EXTRA_OUTPUT_TEST_SETUP): Likewise.
17959 (COMMON_TEST_CLEANUP): Likewise.
17960 (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
17961 (RUN_TEST_f_f): Take argument string. Call new setup and cleanup
17963 (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
17964 (RUN_TEST_2_f): Take argument string. Call new setup and cleanup
17966 (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
17967 (RUN_TEST_fff_f): Take argument string. Call new setup and
17969 (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
17970 (RUN_TEST_c_f): Take argument string. Call new setup and cleanup
17972 (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
17973 (RUN_TEST_f_f1): Take argument string. Call new setup and cleanup
17975 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
17976 (RUN_TEST_fF_f1): Take argument string. Call new setup and
17978 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
17979 (RUN_TEST_fI_f1): Take argument string. Call new setup and
17981 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
17982 (RUN_TEST_ffI_f1): Take argument string. Call new setup and
17984 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
17985 (RUN_TEST_c_c): Take argument string. Call new setup and cleanup
17987 (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
17988 (RUN_TEST_cc_c): Take argument string. Call new setup and cleanup
17990 (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
17991 (RUN_TEST_f_i): Take argument string. Call new setup and cleanup
17993 (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
17994 (RUN_TEST_f_i_tg): Take argument string. Call new setup and
17996 (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
17997 (RUN_TEST_ff_i_tg): Take argument string. Call new setup and
17999 (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
18000 (RUN_TEST_f_b): Take argument string. Call new setup and cleanup
18002 (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
18003 (RUN_TEST_f_b_tg): Take argument string. Call new setup and
18005 (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
18006 (RUN_TEST_f_l): Take argument string. Call new setup and cleanup
18008 (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
18009 (RUN_TEST_f_L): Take argument string. Call new setup and cleanup
18011 (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
18012 (RUN_TEST_fFF_11): Take argument string. Call new setup and
18014 (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
18016 2013-05-22 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
18018 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
18019 to _sifields.sigfault.
18020 (si_addr_lsb): Define new macro.
18021 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
18022 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
18023 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
18025 2013-05-03 Carlos O'Donell <carlos at redhat.com>
18028 * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
18030 (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
18032 * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
18033 loading the domain.
18035 2013-05-22 Joseph Myers <joseph@codesourcery.com>
18037 * math/gen-libm-test.pl (parse_args): Do not include expected
18038 result in test name.
18039 * sysdeps/i386/fpu/libm-test-ulps: Update test names.
18040 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
18041 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
18042 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
18043 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
18044 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18046 2013-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
18048 * benchtests/Makefile: Sort function entries.
18050 * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
18051 tanh, asinh, acosh, atanh.
18052 * benchtests/acos-inputs: New file.
18053 * benchtests/acosh-inputs: New file.
18054 * benchtests/asin-inputs: New file.
18055 * benchtests/asinh-inputs: New file.
18056 * benchtests/atanh-inputs: New file.
18057 * benchtests/cosh-inputs: New file.
18058 * benchtests/log-inputs: New file.
18059 * benchtests/sinh-inputs: New file.
18060 * benchtests/tanh-inputs: New file.
18062 2013-05-21 Dmitry V. Levin <ldv@altlinux.org>
18065 * posix/tst-getaddrinfo4.c: New test.
18066 * posix/Makefile (tests): Add it.
18068 2013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
18071 * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
18072 when no services were used.
18073 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
18074 Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
18076 2013-05-21 Andreas Schwab <schwab@suse.de>
18079 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
18080 [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
18082 * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
18083 redundant variable declarations and reallocation of buffer when
18084 parsing as IPv6 address. Always set NSS status when called from
18085 reentrant functions. Use NETDB_INTERNAL instead of TRY_AGAIN when
18086 buffer too small. Correct computation of needed size.
18087 * nss/Makefile (tests): Add test-digits-dots.
18088 * nss/test-digits-dots.c: New test.
18090 2013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
18092 * benchtests/Makefile: Remove instructions for adding
18094 * benchtests/README: New file to explain how to execute and
18095 enhance the benchmark tests.
18097 2013-05-21 Andreas Schwab <schwab@suse.de>
18100 * setjmp/Makefile (tests): Add tst-sigsetjmp.
18101 * setjmp/tst-sigsetjmp.c: New test.
18103 2013-05-20 Ondřej Bílka <neleai@seznam.cz>
18105 * sysdeps/x86_64/memset.S (memset): New implementation.
18106 (__bzero): Likewise.
18107 (__memset_tail): New function.
18109 2013-05-20 Ondřej Bílka <neleai@seznam.cz>
18111 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
18112 * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
18113 __memcpy_sse2_unaligned ifunc selection.
18114 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
18115 Add memcpy-sse2-unaligned.S.
18116 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
18117 Add: __memcpy_sse2_unaligned.
18119 2013-05-19 Joseph Myers <joseph@codesourcery.com>
18122 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
18123 math_force_eval before restoring floating-point envrionment.
18124 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
18125 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
18127 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
18129 (__nearbyintl): Use math_force_eval before restoring
18130 floating-point environment.
18131 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
18133 * math/gen-libm-test.pl (special_functions): Remove.
18134 (parse_args): Don't handle TEST_extra. Handle functions with no
18136 * math/libm-test.inc (struct test_sincos_data): Replace with
18137 struct test_fFF_11_data.
18138 (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
18139 (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
18140 (sincos_test_data): Change element type to struct
18141 test_fFF_11_data. Use TEST_fFF_11 instead of TEST_extra.
18142 (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
18143 RUN_TEST_LOOP_sincos.
18144 * math/README.libm-test: Don't mention special handling of
18145 individual functions.
18146 * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
18147 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
18148 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
18149 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
18150 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
18151 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18153 * math/gen-libm-test.pl (get_variable): Remove function.
18154 (parse_args): Don't show pointer parameters to call in test
18155 names. Use "extra output N" in test names for extra outputs
18156 rather than naming variables.
18158 2013-05-18 Joseph Myers <joseph@codesourcery.com>
18161 * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
18162 __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
18163 * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
18165 * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
18167 (do_test) [NO_LONG_DOUBLE]: Do not disable call to
18170 * math/gen-libm-test.pl (@tests): Remove variable.
18171 ($count): Likewise.
18172 (new_test): Remove function.
18173 (show_exceptions): New function.
18174 (special_functions): Use show_exceptions instead of new_test.
18175 (parse_args): Likewise.
18176 (generate_testfile): Pass only function name in generated call to
18177 print_max_error or print_complex_max_error.
18178 (get_ulps): Do not handle complex tests specially.
18179 (output_test): Rename to ...
18180 (get_all_ulps_for_test): ... this. Return a string rather than
18181 printing to a file. Require ulps to be present.
18182 (output_ulps): Generate arrays rather than #defines.
18183 * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
18184 (struct ulp_data): New type.
18185 (BUILD_COMPLEX_ULP): Remove macro.
18186 (compare_ulp_data): New function.
18187 (find_ulps): Likewise.
18188 (find_test_ulps): Likewise.
18189 (find_function_ulps): Likewise.
18190 (find_complex_function_ulps): Likewise.
18191 (print_max_error): Determine allowed ulps using
18192 find_function_ulps.
18193 (print_complex_max_error): Determine allowed ulps using
18194 find_complex_function_ulps.
18195 (check_float_internal): Determine max ulps using find_test_ulps.
18196 (check_float): Do not take max_ulp parameter. Update call to
18197 check_float_internal.
18198 (check_complex): Likewise.
18199 (check_int): Do not take max_ulp parameter.
18200 (check_long): Likewise.
18201 (check_bool): Likewise.
18202 (check_longlong): Likewise.
18203 (struct test_f_f_data): Remove max_ulp field.
18204 (struct test_ff_f_data): Likewise.
18205 (struct test_ff_f_data_nexttoward): Likewise.
18206 (struct test_fi_f_data): Likewise.
18207 (struct test_fl_f_data): Likewise.
18208 (struct test_if_f_data): Likewise.
18209 (struct test_fff_f_data): Likewise.
18210 (struct test_c_f_data): Likewise.
18211 (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
18212 (struct test_fF_f1_data): Likewise.
18213 (struct test_ffI_f1_data): Likewise.
18214 (struct test_c_c_data): Remove max_ulp field.
18215 (struct test_cc_c_data): Likewise.
18216 (struct test_f_i_data): Likewise.
18217 (struct test_ff_i_data): Likewise.
18218 (struct test_f_l_data): Likewise.
18219 (struct test_f_L_data): Likewise.
18220 (struct test_sincos_data): Likewise.
18221 (RUN_TEST_f_f): Do not handle ulps.
18222 (RUN_TEST_LOOP_f_f): Likewise.
18223 (RUN_TEST_2_f): Likewise.
18224 (RUN_TEST_LOOP_2_f): Likewise.
18225 (RUN_TEST_fff_f): Likewise.
18226 (RUN_TEST_LOOP_fff_f): Likewise.
18227 (RUN_TEST_c_f): Likewise.
18228 (RUN_TEST_LOOP_c_f): Likewise.
18229 (RUN_TEST_f_f1): Likewise.
18230 (RUN_TEST_LOOP_f_f1): Likewise.
18231 (RUN_TEST_fF_f1): Likewise.
18232 (RUN_TEST_LOOP_fF_f1): Likewise.
18233 (RUN_TEST_fI_f1): Likewise.
18234 (RUN_TEST_LOOP_fI_f1): Likewise.
18235 (RUN_TEST_ffI_f1): Likewise.
18236 (RUN_TEST_LOOP_ffI_f1): Likewise.
18237 (RUN_TEST_c_c): Likewise.
18238 (RUN_TEST_LOOP_c_c): Likewise.
18239 (RUN_TEST_cc_c): Likewise.
18240 (RUN_TEST_LOOP_cc_c): Likewise.
18241 (RUN_TEST_f_i): Likewise.
18242 (RUN_TEST_LOOP_f_i): Likewise.
18243 (RUN_TEST_f_i_tg): Likewise.
18244 (RUN_TEST_LOOP_f_i_tg): Likewise.
18245 (RUN_TEST_ff_i_tg): Likewise.
18246 (RUN_TEST_LOOP_ff_i_tg): Likewise.
18247 (RUN_TEST_f_b): Likewise.
18248 (RUN_TEST_LOOP_f_b): Likewise.
18249 (RUN_TEST_f_b_tg): Likewise.
18250 (RUN_TEST_LOOP_f_b_tg): Likewise.
18251 (RUN_TEST_f_l): Likewise.
18252 (RUN_TEST_LOOP_f_l): Likewise.
18253 (RUN_TEST_f_L): Likewise.
18254 (RUN_TEST_LOOP_f_L): Likewise.
18255 (RUN_TEST_sincos): Likewise.
18256 (RUN_TEST_LOOP_sincos): Likewise.
18258 2013-05-17 Joseph Myers <joseph@codesourcery.com>
18262 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
18263 main case of finite arguments, set rounding mode to FE_TONEAREST
18264 and discard exceptions.
18265 * math/libm-test.inc (remainder_test_data): Disallow "inexact"
18267 (remainder_tonearest_test_data): New variable.
18268 (remainder_test_tonearest): New function.
18269 (remainder_towardzero_test_data): New variable.
18270 (remainder_test_towardzero): New function.
18271 (remainder_downward_test_data): New variable.
18272 (remainder_test_downward): New function.
18273 (remainder_upward_test_data): New variable.
18274 (remainder_test_upward): New function.
18275 (main): Call the new test functions.
18277 * math/libm-test.inc (struct test_f_f1_data): Remove field
18279 (struct test_fF_f1_data): Likewise.
18280 (struct test_ffI_f1_data): Likewise.
18281 (RUN_TEST_f_f1): Remove argument EXTRA_INIT. Initialize EXTRA_VAR
18282 based on value of EXTRA_EXPECTED.
18283 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
18284 (RUN_TEST_fF_f1): Remove argument EXTRA_INIT. Initialize
18285 EXTRA_VAR based on value of EXTRA_EXPECTED.
18286 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
18287 (RUN_TEST_fI_f1): Remove argument EXTRA_INIT. Initialize
18288 EXTRA_VAR based on value of EXTRA_EXPECTED.
18289 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
18290 (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT. Initialize
18291 EXTRA_VAR based on value of EXTRA_EXPECTED.
18292 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
18293 * math/gen-libm-test.pl (parse_args): Don't output initializers
18294 for extra output values.
18296 * math/libm-test.inc (check_int): Expect result to be exactly
18297 equal to expected value and do not handle ulps.
18298 (check_long): Likewise.
18299 (check_longlong): Likewise.
18301 * math/libm-test.inc (ceil_test_data): Test for "inexact"
18303 (cimag_test_data): Likewise.
18304 (conj_test_data): Likewise.
18305 (copysign_test_data): Likewise.
18306 (cproj_test_data): Likewise.
18307 (creal_test_data): Likewise.
18308 (fabs_test_data): Likewise.
18309 (fdim_test_data): Likewise.
18310 (finite_test_data): Likewise.
18311 (floor_test_data): Likewise.
18312 (fmax_test_data): Likewise.
18313 (fmin_test_data): Likewise.
18314 (fmod_test_data): Likewise.
18315 (fpclassify_test_data): Likewise.
18316 (frexp_test_data): Likewise.
18317 (ilogb_test_data): Likewise.
18318 (isfinite_test_data): Likewise.
18319 (isgreater_test_data): Likewise.
18320 (isgreaterequal_test_data): Likewise.
18321 (isinf_test_data): Likewise.
18322 (isless_test_data): Likewise.
18323 (islessequal_test_data): Likewise.
18324 (islessgreater_test_data): Likewise.
18325 (isnan_test_data): Likewise.
18326 (isnormal_test_data): Likewise.
18327 (issignaling_test_data): Likewise.
18328 (isunordered_test_data): Likewise.
18329 (ldexp_test_data): Likewise.
18330 (lrint_test_data): Likewise.
18331 (lrint_test_data) [TEST_FLOAT]: Disable one test.
18332 (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
18333 (lrint_tonearest_test_data): Test for "inexact" exceptions.
18334 (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
18335 (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
18336 (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
18338 (lrint_towardzero_test_data): Test for "inexact" exceptions.
18339 (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
18340 (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
18341 (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
18343 (lrint_downward_test_data): Test for "inexact" exceptions.
18344 (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
18345 (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
18346 (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
18348 (lrint_upward_test_data): Test for "inexact" exceptions.
18349 (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
18351 (llrint_test_data): Test for "inexact" exceptions.
18352 (llrint_test_data) [TEST_FLOAT]: Disable one test.
18353 (llrint_tonearest_test_data): Test for "inexact" exceptions.
18354 (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
18355 (llrint_towardzero_test_data): Test for "inexact" exceptions.
18356 (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
18357 (llrint_downward_test_data): Test for "inexact" exceptions.
18358 (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
18359 (llrint_upward_test_data): Test for "inexact" exceptions.
18360 (logb_test_data): Likewise.
18361 (logb_downward_test_data): Likewise.
18362 (nextafter_test_data): Likewise.
18363 (nexttoward_test_data): Likewise.
18364 (remainder_test_data): Likewise.
18365 (remquo_test_data): Likewise.
18366 (scalbn_test_data): Likewise.
18367 (scalbln_test_data): Likewise.
18368 (signbit_test_data): Likewise.
18369 (sqrt_test_data): Likewise.
18370 (significand_test_data): Likewise.
18372 2013-05-17 Siddhesh Poyarekar <siddhesh@redhat.com>
18375 * benchtests/bench-modf.c (struct args): Mark arg0 as
18377 * scripts/bench.pl: Mark members of struct args as volatile.
18379 2013-05-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18382 * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
18383 negative infinity on POWER6 or lower.
18384 * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
18386 2013-05-16 Maciej W. Rozycki <macro@codesourcery.com>
18389 * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
18390 (_FP_FRAC_SNANP_SEMIRAW): Likewise.
18391 (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
18392 (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
18393 (_FP_SETQNAN): New macro.
18394 (_FP_SETQNAN_SEMIRAW): Likewise.
18395 (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
18396 (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
18397 (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
18398 (FP_EXTEND): Use _FP_FRAC_SNANP.
18399 (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
18400 * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
18402 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
18404 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
18407 2013-05-16 Joseph Myers <joseph@codesourcery.com>
18409 * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
18410 with DIVIDE_BY_ZERO_EXCEPTION.
18411 (gamma_test_data): Likewise.
18412 (lgamma_test_data): Likewise.
18413 (log_test_data): Likewise.
18414 (log10_test_data): Likewise.
18415 (log2_test_data): Likewise.
18416 (tgamma_test_data): Likewise.
18418 * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
18419 (acos_test_tonearest): Likewise.
18420 (acos_test_towardzero): Likewise.
18421 (acos_test_downward): Likewise.
18422 (acos_test_upward): Likewise.
18423 (acosh_test): Likewise.
18424 (asin_test): Likewise.
18425 (asin_test_tonearest): Likewise.
18426 (asin_test_towardzero): Likewise.
18427 (asin_test_downward): Likewise.
18428 (asin_test_upward): Likewise.
18429 (asinh_test): Likewise.
18430 (atan_test): Likewise.
18431 (atanh_test): Likewise.
18432 (atan2_test): Likewise.
18433 (cabs_test): Likewise.
18434 (cacos_test): Likewise.
18435 (cacosh_test): Likewise.
18436 (casin_test): Likewise.
18437 (casinh_test): Likewise.
18438 (catan_test): Likewise.
18439 (catanh_test): Likewise.
18440 (cbrt_test): Likewise.
18441 (ccos_test): Likewise.
18442 (ccosh_test): Likewise.
18443 (cexp_test): Likewise.
18444 (clog_test): Likewise.
18445 (clog10_test): Likewise.
18446 (cos_test): Likewise.
18447 (cos_test_tonearest): Likewise.
18448 (cos_test_towardzero): Likewise.
18449 (cos_test_downward): Likewise.
18450 (cos_test_upward): Likewise.
18451 (cosh_test): Likewise.
18452 (cosh_test_tonearest): Likewise.
18453 (cosh_test_towardzero): Likewise.
18454 (cosh_test_downward): Likewise.
18455 (cosh_test_upward): Likewise.
18456 (cpow_test): Likewise.
18457 (csin_test): Likewise.
18458 (csinh_test): Likewise.
18459 (csqrt_test): Likewise.
18460 (ctan_test): Likewise.
18461 (ctan_test_tonearest): Likewise.
18462 (ctan_test_towardzero): Likewise.
18463 (ctan_test_downward): Likewise.
18464 (ctan_test_upward): Likewise.
18465 (ctanh_test): Likewise.
18466 (ctanh_test_tonearest): Likewise.
18467 (ctanh_test_towardzero): Likewise.
18468 (ctanh_test_downward): Likewise.
18469 (ctanh_test_upward): Likewise.
18470 (erf_test): Likewise.
18471 (erfc_test): Likewise.
18472 (exp_test): Likewise.
18473 (exp_test_tonearest): Likewise.
18474 (exp_test_towardzero): Likewise.
18475 (exp_test_downward): Likewise.
18476 (exp_test_upward): Likewise.
18477 (exp10_test): Likewise.
18478 (exp2_test): Likewise.
18479 (expm1_test): Likewise.
18480 (fmod_test): Likewise.
18481 (gamma_test): Likewise.
18482 (hypot_test): Likewise.
18483 (j0_test): Likewise.
18484 (j1_test): Likewise.
18485 (jn_test): Likewise.
18486 (lgamma_test): Likewise.
18487 (log_test): Likewise.
18488 (log10_test): Likewise.
18489 (log1p_test): Likewise.
18490 (log2_test): Likewise.
18491 (logb_test_downward): Likewise.
18492 (pow_test): Likewise.
18493 (pow_test_tonearest): Likewise.
18494 (pow_test_towardzero): Likewise.
18495 (pow_test_downward): Likewise.
18496 (pow_test_upward): Likewise.
18497 (remainder_test): Likewise.
18498 (remquo_test): Likewise.
18499 (sin_test): Likewise.
18500 (sin_test_tonearest): Likewise.
18501 (sin_test_towardzero): Likewise.
18502 (sin_test_downward): Likewise.
18503 (sin_test_upward): Likewise.
18504 (sincos_test): Likewise.
18505 (sinh_test): Likewise.
18506 (sinh_test_tonearest): Likewise.
18507 (sinh_test_towardzero): Likewise.
18508 (sinh_test_downward): Likewise.
18509 (sinh_test_upward): Likewise.
18510 (sqrt_test): Likewise.
18511 (tan_test): Likewise.
18512 (tan_test_tonearest): Likewise.
18513 (tan_test_towardzero): Likewise.
18514 (tan_test_downward): Likewise.
18515 (tan_test_upward): Likewise.
18516 (tanh_test): Likewise.
18517 (tgamma_test): Likewise.
18518 (y0_test): Likewise.
18519 (y1_test): Likewise.
18520 (yn_test): Likewise.
18522 * math/gen-libm-test.pl (adjust_arg): Remove function.
18523 (special_function): Remove argument $in_func. Only handle
18524 generating output for tables of tests, not inside functions.
18525 (parse_args): Likewise.
18526 (generate_testfile): Remove variable $in_func. Update call to
18528 * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
18529 (MINUS_ZERO_INIT): Rename macro to minus_zero.
18530 (PLUS_INFTY_INIT): Rename macro to plus_infty.
18531 (MINUS_INFTY_INIT): Rename macro to minus_infty.
18532 (QNAN_VALUE_INIT): Rename macro to qnan_value.
18533 (MAX_VALUE_INIT): Rename macro to max_value.
18534 (MIN_VALUE_INIT): Rename macro to min_value.
18535 (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
18536 (plus_zero): Remove variable.
18537 (minus_zero): Likewise.
18538 (plus_infty): Likewise.
18539 (minus_infty): Likewise.
18540 (qnan_value): Likewise.
18541 (max_value): Likewise.
18542 (min_value): Likewise.
18543 (min_subnorm_value): Likewise.
18545 2013-05-16 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
18547 * crypt/sha512-block.c: Add missing #include <stdint.h> due to
18548 uint64_t or uint32_t usage.
18549 * crypt/sha256-block.c: Likewise.
18550 * crypt/sha256-crypt.c: Likewise.
18551 * crypt/sha256.c: Likewise.
18552 * crypt/sha512-block.c: Likewise.
18553 * crypt/sha512-crypt.c: Likewise.
18554 * crypt/sha512.c: Likewise.
18555 * debug/backtrace-tst.c: Likewise.
18556 * debug/pcprofiledump.c: Likewise.
18557 * elf/cache.c: Likewise.
18558 * elf/dl-cache.c: Likewise.
18559 * elf/dl-misc.c: Likewise.
18560 * elf/dl-profile.c: Likewise.
18561 * elf/dl-support.c: Likewise.
18562 * elf/ldconfig.c: Likewise.
18563 * elf/sprof.c: Likewise.
18564 * iconv/dummy-repertoire.c: Likewise.
18565 * iconv/iconv_charmap.c: Likewise.
18566 * iconv/skeleton.c: Likewise.
18567 * iconvdata/8bit-generic.c: Likewise.
18568 * iconvdata/cp737.h: Likewise.
18569 * iconvdata/cp775.h: Likewise.
18570 * iconvdata/ibm1008.h: Likewise.
18571 * iconvdata/ibm1025.h: Likewise.
18572 * iconvdata/ibm1046.h: Likewise.
18573 * iconvdata/ibm1097.h: Likewise.
18574 * iconvdata/ibm1112.h: Likewise.
18575 * iconvdata/ibm1122.h: Likewise.
18576 * iconvdata/ibm1123.h: Likewise.
18577 * iconvdata/ibm1124.h: Likewise.
18578 * iconvdata/ibm1129.h: Likewise.
18579 * iconvdata/ibm1130.h: Likewise.
18580 * iconvdata/ibm1132.h: Likewise.
18581 * iconvdata/ibm1133.h: Likewise.
18582 * iconvdata/ibm1137.h: Likewise.
18583 * iconvdata/ibm1140.h: Likewise.
18584 * iconvdata/ibm1141.h: Likewise.
18585 * iconvdata/ibm1142.h: Likewise.
18586 * iconvdata/ibm1143.h: Likewise.
18587 * iconvdata/ibm1144.h: Likewise.
18588 * iconvdata/ibm1145.h: Likewise.
18589 * iconvdata/ibm1146.h: Likewise.
18590 * iconvdata/ibm1147.h: Likewise.
18591 * iconvdata/ibm1148.h: Likewise.
18592 * iconvdata/ibm1149.h: Likewise.
18593 * iconvdata/ibm1153.h: Likewise.
18594 * iconvdata/ibm1154.h: Likewise.
18595 * iconvdata/ibm1155.h: Likewise.
18596 * iconvdata/ibm1156.h: Likewise.
18597 * iconvdata/ibm1157.h: Likewise.
18598 * iconvdata/ibm1158.h: Likewise.
18599 * iconvdata/ibm1160.h: Likewise.
18600 * iconvdata/ibm1161.h: Likewise.
18601 * iconvdata/ibm1162.h: Likewise.
18602 * iconvdata/ibm1163.h: Likewise.
18603 * iconvdata/ibm1164.h: Likewise.
18604 * iconvdata/ibm1166.h: Likewise.
18605 * iconvdata/ibm1167.h: Likewise.
18606 * iconvdata/ibm12712.h: Likewise.
18607 * iconvdata/ibm1390.h: Likewise.
18608 * iconvdata/ibm1399.h: Likewise.
18609 * iconvdata/ibm16804.h: Likewise.
18610 * iconvdata/ibm4517.h: Likewise.
18611 * iconvdata/ibm4899.h: Likewise.
18612 * iconvdata/ibm4909.h: Likewise.
18613 * iconvdata/ibm4971.h: Likewise.
18614 * iconvdata/ibm5347.h: Likewise.
18615 * iconvdata/ibm803.h: Likewise.
18616 * iconvdata/ibm856.h: Likewise.
18617 * iconvdata/ibm901.h: Likewise.
18618 * iconvdata/ibm902.h: Likewise.
18619 * iconvdata/ibm9030.h: Likewise.
18620 * iconvdata/ibm9066.h: Likewise.
18621 * iconvdata/ibm921.h: Likewise.
18622 * iconvdata/ibm922.h: Likewise.
18623 * iconvdata/ibm9448.h: Likewise.
18624 * iconvdata/isiri-3342.h: Likewise.
18625 * iconvdata/jis0201.h: Likewise.
18626 * include/link.h: Likewise.
18627 * include/netdb.h: Likewise.
18628 * inet/check_native.c: Likewise.
18629 * inet/check_pf.c: Likewise.
18630 * inet/getipv4sourcefilter.c: Likewise.
18631 * inet/getnameinfo.c: Likewise.
18632 * inet/getsourcefilter.c: Likewise.
18633 * inet/htonl.c: Likewise.
18634 * inet/setipv4sourcefilter.c: Likewise.
18635 * inet/setsourcefilter.c: Likewise.
18636 * inet/test-inet6_opt.c: Likewise.
18637 * inet/tst-network.c: Likewise.
18638 * locale/C-collate.c: Likewise.
18639 * locale/C-ctype.c: Likewise.
18640 * locale/C-time.c: Likewise.
18641 * locale/C-translit.h: Likewise.
18642 * locale/loadarchive.c: Likewise.
18643 * locale/programs/3level.h: Likewise.
18644 * locale/programs/charmap.c: Likewise.
18645 * locale/programs/charmap.h: Likewise.
18646 * locale/programs/ld-address.c: Likewise.
18647 * locale/programs/ld-collate.c: Likewise.
18648 * locale/programs/ld-ctype.c: Likewise.
18649 * locale/programs/ld-identification.c: Likewise.
18650 * locale/programs/ld-measurement.c: Likewise.
18651 * locale/programs/ld-messages.c: Likewise.
18652 * locale/programs/ld-monetary.c: Likewise.
18653 * locale/programs/ld-name.c: Likewise.
18654 * locale/programs/ld-numeric.c: Likewise.
18655 * locale/programs/ld-paper.c: Likewise.
18656 * locale/programs/ld-telephone.c: Likewise.
18657 * locale/programs/ld-time.c: Likewise.
18658 * locale/programs/linereader.c: Likewise.
18659 * locale/programs/locale.c: Likewise.
18660 * locale/programs/locarchive.c: Likewise.
18661 * locale/programs/locfile.h: Likewise.
18662 * locale/programs/repertoire.c: Likewise.
18663 * locale/programs/simple-hash.c: Likewise.
18664 * locale/programs/simple-hash.h: Likewise.
18665 * malloc/memusage.c: Likewise.
18666 * malloc/memusagestat.c: Likewise.
18667 * nis/nis_defaults.c: Likewise.
18668 * nis/nis_hash.c: Likewise.
18669 * nis/nis_print.c: Likewise.
18670 * nis/nis_xdr.c: Likewise.
18671 * nscd/connections.c: Likewise.
18672 * nscd/hstcache.c: Likewise.
18673 * nscd/nscd_gethst_r.c: Likewise.
18674 * nscd/nscd_getserv_r.c: Likewise.
18675 * nscd/nscd_helper.c: Likewise.
18676 * nscd/servicescache.c: Likewise.
18677 * nss/makedb.c: Likewise.
18678 * nss/nss_db/db-XXX.c: Likewise.
18679 * nss/nss_db/db-initgroups.c: Likewise.
18680 * nss/nss_db/db-netgrp.c: Likewise.
18681 * nss/nss_files/files-network.c: Likewise.
18682 * nss/nss_files/files-parse.c: Likewise.
18683 * posix/bug-regex5.c: Likewise.
18684 * posix/fnmatch_loop.c: Likewise.
18685 * posix/regcomp.c: Likewise.
18686 * posix/regexec.c: Likewise.
18687 * posix/tst-rfc3484-2.c: Likewise.
18688 * posix/tst-rfc3484-3.c: Likewise.
18689 * posix/tst-rfc3484.c: Likewise.
18690 * resolv/nss_dns/dns-canon.c: Likewise.
18691 * resolv/nss_dns/dns-network.c: Likewise.
18692 * resolv/res_init.c: Likewise.
18693 * resolv/res_mkquery.c: Likewise.
18694 * resolv/tst-aton.c: Likewise.
18695 * stdlib/cxa_atexit.c: Likewise.
18696 * stdlib/cxa_finalize.c: Likewise.
18697 * stdlib/gen-fpioconst.c: Likewise.
18698 * stdlib/strtol_l.c: Likewise.
18699 * string/tst-endian.c: Likewise.
18700 * sunrpc/auth_des.c: Likewise.
18701 * sunrpc/clnt_udp.c: Likewise.
18702 * sunrpc/rtime.c: Likewise.
18703 * sunrpc/svcauth_des.c: Likewise.
18704 * sunrpc/xdr.c: Likewise.
18705 * sunrpc/xdr_intXX_t.c: Likewise.
18706 * sunrpc/xdr_rec.c: Likewise.
18707 * sysdeps/generic/ldconfig.h: Likewise.
18708 * sysdeps/generic/ldsodefs.h: Likewise.
18709 * sysdeps/generic/memusage.h: Likewise.
18710 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
18711 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
18712 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
18713 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
18714 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
18715 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
18716 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
18717 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
18718 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
18719 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
18720 * sysdeps/posix/getaddrinfo.c: Likewise.
18721 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
18722 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
18723 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
18724 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
18725 * sysdeps/powerpc/test-gettimebase.c: Likewise.
18726 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
18727 * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
18728 * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
18729 * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
18730 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
18731 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
18732 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
18733 * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
18734 * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
18735 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
18736 * sysdeps/x86_64/dl-tls.h: Likewise.
18737 * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
18738 * time/alt_digit.c: Likewise.
18739 * time/era.c: Likewise.
18740 * wcsmbs/tst-c16c32-1.c: Likewise.
18742 2013-05-16 Joseph Myers <joseph@codesourcery.com>
18744 * math/libm-test.inc (struct test_sincos_data): New type.
18745 (RUN_TEST_LOOP_sincos): New macro.
18746 (sincos_test_data): New variable.
18747 (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
18749 2013-05-16 Richard Henderson <rth@redhat.com>
18751 * math/atest-exp2.c (LIMB64): New macro.
18752 (CONSTSZ): New macro.
18753 (mp_exp1, mp_exp_m1, mp_log2): New variables.
18755 (print_mpn_fp): ... to function scope.
18756 (read_mpn_hex): Remove.
18757 (get_log2): Remove.
18758 (exp2_mpn): Use mp_log2.
18759 (main): Use mp_exp1.
18761 2013-05-16 Joseph Myers <joseph@codesourcery.com>
18763 * math/libm-test.inc: Remove comment about not testing "inexact"
18765 (INEXACT_EXCEPTION): New macro.
18766 (NO_INEXACT_EXCEPTION): Likewise.
18767 (INVALID_EXCEPTION_OK): Update value.
18768 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
18769 (OVERFLOW_EXCEPTION_OK): Likewise.
18770 (UNDERFLOW_EXCEPTION_OK): Likewise.
18771 (IGNORE_ZERO_INF_SIGN): Likewise.
18772 (ERRNO_UNCHANGED): Likewise.
18773 (ERRNO_EDOM): Likewise.
18774 (ERRNO_ERANGE): Likewise.
18775 (test_exceptions): Handle testing "inexact" exceptions.
18776 (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
18777 (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
18778 (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
18779 (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
18781 (rint_towardzero_test_data): Likewise.
18782 (rint_downward_test_data): Likewise.
18783 (rint_upward_test_data): Likewise.
18785 * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
18786 with OVERFLOW_EXCEPTION.
18787 (exp10_test_data): Likewise.
18788 (exp2_test_data): Likewise.
18789 (expm1_test_data): Likewise.
18790 (lgamma_test_data): Likewise.
18791 (pow_test_data): Likewise.
18792 (tgamma_test_data): Likewise.
18793 (yn_test_data): Remove duplicate test of overflow.
18795 * math/libm-test.inc (struct test_cc_c_data): New type.
18796 (RUN_TEST_LOOP_cc_c): New macro.
18797 (cpow_test_data): New variable.
18798 (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
18800 * math/libm-test.inc (struct test_f_L_data): New type.
18801 (RUN_TEST_LOOP_f_L): New macro.
18802 (llrint_test_data): New variable.
18803 (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
18804 (llrint_tonearest_test_data): New variable.
18805 (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
18806 (llrint_towardzero_test_data): New variable.
18807 (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
18808 (llrint_downward_test_data): New variable.
18809 (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
18810 (llrint_upward_test_data): New variable.
18811 (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
18812 (llround_test_data): New variable.
18813 (llround_test): Run tests with RUN_TEST_LOOP_f_L.
18815 2013-05-13 Peter Collingbourne <pcc@google.com>
18817 * math/atest-exp2.c (get_log2): Remove const attribute.
18819 2013-05-15 Joseph Myers <joseph@codesourcery.com>
18821 * math/libm-test.inc (struct test_f_l_data): New type.
18822 (RUN_TEST_LOOP_f_l): New macro.
18823 (lrint_test_data): New variable.
18824 (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
18825 (lrint_tonearest_test_data): New variable.
18826 (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
18827 (lrint_towardzero_test_data): New variable.
18828 (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
18829 (lrint_downward_test_data): New variable.
18830 (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
18831 (lrint_upward_test_data): New variable.
18832 (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
18833 (lround_test_data): New variable.
18834 (lround_test): Run tests with RUN_TEST_LOOP_f_l.
18836 2013-05-15 Peter Collingbourne <pcc@google.com>
18838 * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
18839 (EXTRACT_WORDS64) Use where appropriate.
18840 (INSERT_WORDS64) Likewise.
18842 * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
18843 constraints with x constraints.
18844 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
18846 * malloc/obstack.c (_obstack_compat): Add initializer.
18848 2013-05-15 Edjunior Machado <emachado@linux.vnet.ibm.com>
18850 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
18851 si_trapno and add si_addr_lsb to _sifields.sigfault.
18852 (si_trapno): Remove macro.
18853 (si_addr_lsb): Define new macro.
18854 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
18856 2013-05-15 Joseph Myers <joseph@codesourcery.com>
18858 * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
18859 instead of TEST_f_l.
18860 (llrint_test_tonearest): Likewise.
18861 (llrint_test_towardzero): Likewise.
18862 (llrint_test_downward): Likewise.
18863 (llrint_test_upward): Likewise.
18864 (llround_test): Likewise.
18866 * math/libm-test.inc (struct test_f_i_data): Add comment.
18867 (RUN_TEST_LOOP_f_b): New macro.
18868 (RUN_TEST_LOOP_f_b_tg): Likewise.
18869 (finite_test_data): New variable.
18870 (finite_test): Run tests with RUN_TEST_LOOP_f_b.
18871 (isfinite_test_data): New variable.
18872 (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
18873 (isinf_test_data): New variable.
18874 (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
18875 (isnan_test_data): New variable.
18876 (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
18877 (isnormal_test_data): New variable.
18878 (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
18879 (issignaling_test_data): New variable.
18880 (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
18881 (signbit_test_data): New variable.
18882 (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
18884 * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
18885 with INVALID_EXCEPTION.
18886 (acosh_test_data): Likewise.
18887 (asin_test_data): Likewise.
18888 (atanh_test_data): Likewise.
18889 (fmod_test_data): Likewise.
18890 (log_test_data): Likewise.
18891 (log10_test_data): Likewise.
18892 (log2_test_data): Likewise.
18893 (pow_test_data): Likewise.
18894 (sqrt_test_data): Likewise.
18895 (y0_test_data): Likewise.
18896 (y1_test_data): Likewise.
18897 (yn_test_data): Likewise.
18899 * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
18902 * math/libm-test.inc (struct test_ff_i_data): New type.
18903 (RUN_TEST_LOOP_ff_i_tg): New macro.
18904 (isgreater_test_data): New variable.
18905 (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
18906 (isgreaterequal_test_data): New variable.
18907 (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
18908 (isless_test_data): New variable.
18909 (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
18910 (islessequal_test_data): New variable.
18911 (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
18912 (islessgreater_test_data): New variable.
18913 (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
18914 (isunordered_test_data): New variable.
18915 (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
18917 2013-05-14 David S. Miller <davem@davemloft.net>
18919 * sysdeps/sparc/fpu/libm-test-ulps: Update.
18921 2013-05-14 Joseph Myers <joseph@codesourcery.com>
18923 * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
18925 * math/libm-test.inc (struct test_fF_f1_data): Change type of
18927 (struct test_f_i_data): Change type of max_ulp to int.
18929 * math/libm-test.inc (test_ffI_f1_data): New type.
18930 (RUN_TEST_LOOP_ffI_f1): New macro.
18931 (remquo_test_data): New variable.
18932 (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
18934 * setjmp/tst-setjmp-fp.c: New file.
18935 * setjmp/Makefile (tests): Add tst-setjmp-fp.
18936 (link-libm): New variable.
18937 ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
18939 * math/libm-test.inc (struct test_f_i_data): New type.
18940 (RUN_TEST_LOOP_f_i): New macro.
18941 (RUN_TEST_LOOP_f_i_tg): Likewise.
18942 (fpclassify_test_data): New variable.
18943 (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
18944 (ilogb_test_data): New variable.
18945 (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
18947 * math/libm-test.inc (scalbln_test): Correct function name in END
18950 * math/libm-test.inc (struct test_f_f1_data): Add comment.
18951 (RUN_TEST_LOOP_fI_f1): New macro.
18952 (frexp_test_data): New variable.
18953 (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
18955 * math/libm-test.inc (struct test_fF_f1_data): New type.
18956 (RUN_TEST_LOOP_fF_f1): New macro.
18957 (modf_test_data): New variable.
18958 (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
18960 * math/libm-test.inc (struct test_f_f1_data): New type.
18961 (RUN_TEST_LOOP_f_f1): New macro.
18962 (gamma_test_data): New variable.
18963 (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
18964 (lgamma_test_data): New variable.
18965 (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
18967 2013-05-13 Carlos O'Donell <carlos@redhat.com>
18969 * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
18970 * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
18971 (main): Comment "tls" pseudo-hwcap.
18973 2013-05-13 Joseph Myers <joseph@codesourcery.com>
18975 * math/libm-test.inc (struct test_fl_f_data): New type.
18976 (RUN_TEST_LOOP_fl_f): New variable.
18977 (scalbln_test_data): New variable.
18978 (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
18980 * math/libm-test.inc (struct test_fi_f_data): New type.
18981 (RUN_TEST_LOOP_fi_f): New macro.
18982 (ldexp_test_data): New variable.
18983 (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
18984 (scalbn_test_data): New variable.
18985 (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
18987 * math/libm-test.inc (struct test_c_f_data): New type.
18988 (RUN_TEST_LOOP_c_f): New macro.
18989 (cabs_test_data): New variable.
18990 (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
18991 (carg_test_data): New variable.
18992 (carg_test): Run tests with RUN_TEST_LOOP_c_f.
18993 (cimag_test_data): New variable.
18994 (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
18995 (creal_test_data): New variable.
18996 (creal_test): Run tests with RUN_TEST_LOOP_c_f.
18998 * math/libm-test.inc (struct test_if_f_data): New type.
18999 (RUN_TEST_LOOP_if_f): New macro.
19000 (jn_test_data): New variable.
19001 (jn_test): Run tests with RUN_TEST_LOOP_if_f.
19002 (yn_test_data): New variable.
19003 (yn_test): Run tests with RUN_TEST_LOOP_if_f.
19005 * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
19007 2013-05-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19009 * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
19010 (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
19012 2013-05-13 Siddhesh Poyarekar <siddhesh@redhat.com>
19014 * benchtests/Makefile (CPPFLAGS-nonlib): Add
19015 -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
19016 (bench-deps): Add bench-timing.h.
19017 * benchtests-bench-skeleton.c: Include bench-timing.h.
19018 (main): Use TIMING_* macros instead of clock_gettime.
19019 * benchtests/bench-timing.h: New file.
19022 * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
19023 Renamed from _LIB_VERSION.
19024 (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
19026 2013-05-12 Joseph Myers <joseph@codesourcery.com>
19028 * math/libm-test.inc (struct test_fff_f_data): New type.
19029 (RUN_TEST_LOOP_fff_f): New macro.
19030 (fma_test_data): New variable.
19031 (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
19032 (fma_towardzero_test_data): New variable.
19033 (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
19034 (fma_downward_test_data): New variable.
19035 (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
19036 (fma_upward_test_data): New variable.
19037 (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
19039 * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
19040 (struct test_c_c_data): New type.
19041 (RUN_TEST_LOOP_c_c): New macro.
19042 (cacos_test_data): New variable.
19043 (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
19044 (cacosh_test_data): New variable.
19045 (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
19046 (casin_test_data): New variable.
19047 (casin_test): Run tests with RUN_TEST_LOOP_c_c.
19048 (casinh_test_data): New variable.
19049 (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
19050 (catan_test_data): New variable.
19051 (catan_test): Run tests with RUN_TEST_LOOP_c_c.
19052 (catanh_test_data): New variable.
19053 (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
19054 (ccos_test_data): New variable.
19055 (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
19056 (ccosh_test_data): New variable.
19057 (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
19058 (cexp_test_data): New variable.
19059 (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
19060 (clog_test_data): New variable.
19061 (clog_test): Run tests with RUN_TEST_LOOP_c_c.
19062 (clog10_test_data): New variable.
19063 (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
19064 (conj_test_data): New variable.
19065 (conj_test): Run tests with RUN_TEST_LOOP_c_c.
19066 (cproj_test_data): New variable.
19067 (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
19068 (csin_test_data): New variable.
19069 (csin_test): Run tests with RUN_TEST_LOOP_c_c.
19070 (csinh_test_data): New variable.
19071 (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
19072 (csqrt_test_data): New variable.
19073 (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
19074 (ctan_test_data): New variable.
19075 (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
19076 (ctan_tonearest_test_data): New variable.
19077 (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
19078 (ctan_towardzero_test_data): New variable.
19079 (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
19080 (ctan_downward_test_data): New variable.
19081 (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
19082 (ctan_upward_test_data): New variable.
19083 (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
19084 (ctanh_test_data): New variable.
19085 (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
19086 (ctanh_tonearest_test_data): New variable.
19087 (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
19088 (ctanh_towardzero_test_data): New variable.
19089 (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
19090 (ctanh_downward_test_data): New variable.
19091 (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
19092 (ctanh_upward_test_data): New variable.
19093 (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
19094 * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
19097 * math/libm-test.inc (struct test_ff_f_data): New type.
19098 (struct test_ff_f_data_nexttoward): Likewise.
19099 (RUN_TEST_LOOP_2_f): New macro.
19100 (RUN_TEST_LOOP_ff_f): Likewise.
19101 (atan2_test_data): New variable.
19102 (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
19103 (copysign_test_data): New variable.
19104 (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
19105 (fdim_test_data): New variable.
19106 (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
19107 (fmax_test_data): New variable.
19108 (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
19109 (fmin_test_data): New variable.
19110 (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
19111 (fmod_test_data): New variable.
19112 (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
19113 (hypot_test_data): New variable.
19114 (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
19115 (nextafter_test_data): New variable.
19116 (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
19117 (nexttoward_test_data): New variable.
19118 (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
19119 (pow_test_data): New variable.
19120 (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
19121 (pow_tonearest_test_data): New variable.
19122 (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
19123 (pow_towardzero_test_data): New variable.
19124 (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
19125 (pow_downward_test_data): New variable.
19126 (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
19127 (pow_upward_test_data): New variable.
19128 (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
19129 (remainder_test_data): New variable.
19130 (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
19131 (scalb_test_data): New variable.
19132 (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
19133 * sysdeps/i386/fpu/libm-test-ulps: Update.
19135 2013-05-11 Joseph Myers <joseph@codesourcery.com>
19137 * math/libm-test.inc (fma_test): Use max_value instead of local
19139 (nextafter_test): Likewise.
19141 * math/libm-test.inc (acos_towardzero_test_data): New variable.
19142 (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
19143 (acos_downward_test_data): New variable.
19144 (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
19145 (acos_upward_test_data): New variable.
19146 (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
19147 (acosh_test_data): New variable.
19148 (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
19149 (asin_test_data): New variable.
19150 (asin_test): Run tests with RUN_TEST_LOOP_f_f.
19151 (asin_tonearest_test_data): New variable.
19152 (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
19153 (asin_towardzero_test_data): New variable.
19154 (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
19155 (asin_downward_test_data): New variable.
19156 (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
19157 (asin_upward_test_data): New variable.
19158 (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
19159 (asinh_test_data): New variable.
19160 (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
19161 (atan_test_data): New variable.
19162 (atan_test): Run tests with RUN_TEST_LOOP_f_f.
19163 (atanh_test_data): New variable.
19164 (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
19165 (cbrt_test_data): New variable.
19166 (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
19167 (ceil_test_data): New variable.
19168 (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
19169 (cos_test_data): New variable.
19170 (cos_test): Run tests with RUN_TEST_LOOP_f_f.
19171 (cos_tonearest_test_data): New variable.
19172 (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
19173 (cos_towardzero_test_data): New variable.
19174 (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
19175 (cos_downward_test_data): New variable.
19176 (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
19177 (cos_upward_test_data): New variable.
19178 (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
19179 (cosh_test_data): New variable.
19180 (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
19181 (cosh_tonearest_test_data): New variable.
19182 (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
19183 (cosh_towardzero_test_data): New variable.
19184 (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
19185 (cosh_downward_test_data): New variable.
19186 (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
19187 (cosh_upward_test_data): New variable.
19188 (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
19189 (erf_test_data): New variable.
19190 (erf_test): Run tests with RUN_TEST_LOOP_f_f.
19191 (erfc_test_data): New variable.
19192 (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
19193 (exp_test_data): New variable.
19194 (exp_test): Run tests with RUN_TEST_LOOP_f_f.
19195 (exp_tonearest_test_data): New variable.
19196 (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
19197 (exp_towardzero_test_data): New variable.
19198 (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
19199 (exp_downward_test_data): New variable.
19200 (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
19201 (exp_upward_test_data): New variable.
19202 (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
19203 (exp10_test_data): New variable.
19204 (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
19205 (exp2_test_data): New variable.
19206 (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
19207 (expm1_test_data): New variable.
19208 (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
19209 (fabs_test_data): New variable.
19210 (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
19211 (floor_test_data): New variable.
19212 (floor_test): Run tests with RUN_TEST_LOOP_f_f.
19213 (j0_test_data): New variable.
19214 (j0_test): Run tests with RUN_TEST_LOOP_f_f.
19215 (j1_test_data): New variable.
19216 (j1_test): Run tests with RUN_TEST_LOOP_f_f.
19217 (log_test_data): New variable.
19218 (log_test): Run tests with RUN_TEST_LOOP_f_f.
19219 (log10_test_data): New variable.
19220 (log10_test): Run tests with RUN_TEST_LOOP_f_f.
19221 (log1p_test_data): New variable.
19222 (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
19223 (log2_test_data): New variable.
19224 (log2_test): Run tests with RUN_TEST_LOOP_f_f.
19225 (logb_test_data): New variable.
19226 (logb_test): Run tests with RUN_TEST_LOOP_f_f.
19227 (logb_downward_test_data): New variable.
19228 (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
19229 (nearbyint_test_data): New variable.
19230 (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
19231 (rint_test_data): New variable.
19232 (rint_test): Run tests with RUN_TEST_LOOP_f_f.
19233 (rint_tonearest_test_data): New variable.
19234 (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
19235 (rint_towardzero_test_data): New variable.
19236 (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
19237 (rint_downward_test_data): New variable.
19238 (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
19239 (rint_upward_test_data): New variable.
19240 (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
19241 (round_test_data): New variable.
19242 (round_test): Run tests with RUN_TEST_LOOP_f_f.
19243 (sin_test_data): New variable.
19244 (sin_test): Run tests with RUN_TEST_LOOP_f_f.
19245 (sin_tonearest_test_data): New variable.
19246 (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
19247 (sin_towardzero_test_data): New variable.
19248 (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
19249 (sin_downward_test_data): New variable.
19250 (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
19251 (sin_upward_test_data): New variable.
19252 (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
19253 (sinh_test_data): New variable.
19254 (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
19255 (sinh_tonearest_test_data): New variable.
19256 (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
19257 (sinh_towardzero_test_data): New variable.
19258 (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
19259 (sinh_downward_test_data): New variable.
19260 (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
19261 (sinh_upward_test_data): New variable.
19262 (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
19263 (sqrt_test_data): New variable.
19264 (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
19265 (tan_test_data): New variable.
19266 (tan_test): Run tests with RUN_TEST_LOOP_f_f.
19267 (tan_tonearest_test_data): New variable.
19268 (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
19269 (tan_towardzero_test_data): New variable.
19270 (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
19271 (tan_downward_test_data): New variable.
19272 (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
19273 (tan_upward_test_data): New variable.
19274 (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
19275 (tanh_test_data): New variable.
19276 (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
19277 (tgamma_test_data): New variable.
19278 (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
19279 (trunc_test_data): New variable.
19280 (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
19281 (y0_test_data): New variable.
19282 (y0_test): Run tests with RUN_TEST_LOOP_f_f.
19283 (y1_test_data): New variable.
19284 (y1_test): Run tests with RUN_TEST_LOOP_f_f.
19285 (significand_test_data): New variable.
19286 (significand_test): Run tests with RUN_TEST_LOOP_f_f.
19288 2013-05-10 Christian Grönke <cgr_bugs@sysgo.com>
19291 * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
19293 2013-05-10 Pino Toscano <toscano.pino@tiscali.it>
19295 * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
19297 2013-05-10 Andreas Jaeger <aj@suse.de>
19300 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
19301 (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
19303 2013-05-10 Joseph Myers <joseph@codesourcery.com>
19305 * math/gen-libm-test.pl (adjust_arg): New function.
19306 (special_functions): Handle generating output in both functions
19308 (parse_args): Likewise.
19309 (generate_testfile): Handle START_DATA and END_DATA. Pass extra
19310 $in_func argument to parse_args.
19311 * math/libm-test.inc (struct test_f_f_data): New type.
19312 (IF_ROUND_INIT_): New macro.
19313 (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
19314 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
19315 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
19316 (IF_ROUND_INIT_FE_UPWARD): Likewise.
19317 (ROUND_RESTORE_): Likewise.
19318 (ROUND_RESTORE_FE_DOWNWARD): Likewise.
19319 (ROUND_RESTORE_FE_TONEAREST): Likewise.
19320 (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
19321 (ROUND_RESTORE_FE_UPWARD): Likewise.
19322 (RUN_TEST_LOOP_f_f): New macro.
19323 (acos_test_data): New variable.
19324 (acos_test): Run tests with RUN_TEST_LOOP_f_f.
19325 (acos_tonearest_test_data): New variable.
19326 (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
19328 2013-05-10 Siddhesh Poyarekar <siddhesh@redhat.com>
19330 * benchtests/bench-skeleton.c (startup): Fix coding style.
19332 2013-05-10 Joseph Myers <joseph@codesourcery.com>
19335 * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
19336 negative infinity argument.
19337 * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
19338 negative infinity argument.
19339 * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
19340 negative infinity argument.
19341 * math/libm-test.inc (tgamma_test): Expect errno to be set for
19344 2013-05-10 Florian Weimer <fweimer@redhat.com>
19346 * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
19347 * iconv/iconv_charmap.c (charmap_conversion): Likewise.
19348 * iconv/iconv_prog.c (main): Likewise.
19349 * locale/programs/charmap-dir.c (charmap_readdir)
19350 (fopen_uncompressed): Likewise.
19351 * locale/programs/locfile.c (siblings_uncached)
19352 (write_locale_data): Use lstat64 instead of lstat.
19353 * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
19356 2013-05-10 Andreas Jaeger <aj@suse.de>
19359 * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
19361 Include <locale.h>.
19363 2013-05-09 Carlos O'Donell <carlos@redhat.com>
19365 * elf/dl-close.c (_dl_close_worker): Add comments.
19367 2013-05-09 Joseph Myers <joseph@codesourcery.com>
19370 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
19372 (__ieee754_rem_pio2l): Update comments.
19375 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
19377 (__ieee754_rem_pio2l): Update comments.
19379 * math/libm-test.inc (M_SQRT_2_2): Remove macro.
19380 (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
19382 * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
19385 * math/libm-test.inc (M_PI_34l): Define using decimal constant.
19386 (M_PI_34_LOG10El): Likewise.
19387 (M_PI2_LOG10El): Likewise.
19388 (M_PI4_LOG10El): Likewise.
19389 (M_PI_LOG10El): Likewise.
19391 2013-05-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19393 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19395 2013-05-08 Joseph Myers <joseph@codesourcery.com>
19397 * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
19398 (MINUS_ZERO_INIT): Likewise.
19399 (PLUS_INFTY_INIT): Likewise.
19400 (MINUS_INFTY_INIT): Likewise.
19401 (QNAN_VALUE_INIT): Likewise.
19402 (MAX_VALUE_INIT): Likewise.
19403 (MIN_VALUE_INIT): Likewise.
19404 (MIN_SUBNORM_VALUE_INIT): Likewise.
19405 (plus_zero): Initialize with PLUS_ZERO_INIT.
19406 (minus_zero): Initialize with MINUS_ZERO_INIT.
19407 (plus_infty): Initialize with PLUS_INFTY_INIT.
19408 (minus_infty): Initialize with MINUS_INFTY_INIT.
19409 (qnan_value): Initialize with QNAN_VALUE_INIT.
19410 (max_value): Initialize with MAX_VALUE_INIT.
19411 (min_value): Initialize with MIN_VALUE_INIT.
19412 (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
19414 * math/libm-test.inc (RUN_TEST_if_f): New macro.
19415 (jn_test): Use TEST_if_f instead of TEST_ff_f.
19416 (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
19417 (yn_test): Use TEST_if_f instead of TEST_ff_f.
19419 * math/libm-test.inc (RUN_TEST_f_f): New macro.
19420 (RUN_TEST_2_f): Likewise.
19421 (RUN_TEST_ff_f): Likewise.
19422 (RUN_TEST_fi_f): Likewise.
19423 (RUN_TEST_fl_f): Likewise.
19424 (RUN_TEST_fff_f): Likewise.
19425 (RUN_TEST_c_f): Likewise.
19426 (RUN_TEST_f_f1): Likewise.
19427 (RUN_TEST_fF_f1): Likewise.
19428 (RUN_TEST_fI_f1): Likewise.
19429 (RUN_TEST_ffI_f1): Likewise.
19430 (RUN_TEST_c_c): Likewise.
19431 (RUN_TEST_cc_c): Likewise.
19432 (RUN_TEST_f_i): Likewise.
19433 (RUN_TEST_f_i_tg): Likewise.
19434 (RUN_TEST_ff_i_tg): Likewise.
19435 (RUN_TEST_f_b): Likewise.
19436 (RUN_TEST_f_b_tg): Likewise.
19437 (RUN_TEST_f_l): Likewise.
19438 (RUN_TEST_f_L): Likewise.
19439 (RUN_TEST_sincos): Likewise.
19440 * math/gen-libm-test.pl (new_test): Take new argument to indicate
19441 whether to show exceptions. Do not include ");\n" in return
19443 (special_functions): Output call to RUN_TEST_sincos instead of
19444 check_float calls. Update calls to new_test.
19445 (parse_args): Output call to single RUN_TEST_* macro instead of
19446 check_* calls and other assignments. Update calls to new_test.
19452 * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
19453 input to result for tgamma overflow.
19454 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
19455 (gamma_coeff): New variable.
19456 (NCOEFF): New macro.
19457 (gamma_positive): New function.
19458 (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
19459 underflow here. Use gamma_positive instead of exp (lgamma) for
19461 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
19462 (gamma_coeff): New variable.
19463 (NCOEFF): New macro.
19464 (gammaf_positive): New function.
19465 (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
19466 underflow here. Use gamma_positive instead of exp (lgamma) for
19468 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
19469 (gamma_coeff): New variable.
19470 (NCOEFF): New macro.
19471 (gammal_positive): New function.
19472 (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
19473 underflow here. Use gamma_positive instead of exp (lgamma) for
19475 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
19476 (gamma_coeff): New variable.
19477 (NCOEFF): New macro.
19478 (gammal_positive): New function.
19479 (__ieee754_gammal_r): Handle positive infinity, overflow and
19480 underflow here. Handle NaN the same as positive infinity. Remove
19481 check x < 0xffffffff for negative integers. Use gamma_positive
19482 instead of exp (lgamma) for other arguments.
19483 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
19484 (gamma_coeff): New variable.
19485 (NCOEFF): New macro.
19486 (gammal_positive): New function.
19487 * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
19488 * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
19489 * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
19490 * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
19491 * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
19492 * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
19493 * sysdeps/generic/math_private.h (__gamma_productf): New
19495 (__gamma_product): Likewise.
19496 (__gamma_productl): Likewise.
19497 * math/Makefile (libm-calls): Add gamma_product.
19498 * math/libm-test.inc (tgamma_test): Add more tests.
19499 * sysdeps/i386/fpu/libm-test-ulps: Update.
19500 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19502 2013-05-08 Ondřej Bílka <neleai@seznam.cz>
19504 * benchtests/bench-skeleton.c (main): Preheat CPU.
19506 2013-05-07 Aurelien Jarno <aurelien@aurel32.net>
19508 * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
19510 2013-05-07 Roland McGrath <roland@hack.frob.com>
19512 * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
19513 and _dl_skip_args_internal.
19515 2013-05-07 Carlos O'Donell <carlos@redhat.com>
19517 * manual/message.texi (Message Translation): Talk about users.
19518 Message to key mapping impacts design.
19520 2013-05-06 Roland McGrath <roland@hack.frob.com>
19522 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
19524 * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
19526 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
19527 * sysdeps/wordsize-64/glob64.c: ... here.
19529 * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
19530 (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
19533 * debug/getlogin_r_chk.c: Moved to ...
19534 * login/getlogin_r_chk.c: ... here.
19535 * debug/Makefile (routines): Move getlogin_r_chk to ...
19536 * login/Makefile (routines): ... here.
19537 * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
19538 * login/Versions (libc: GLIBC_2.4): ... here.
19540 * io/poll.c (__poll): Renamed from poll.
19541 Add libc_hidden_def.
19542 (poll): Define as weak alias.
19544 * debug/ptsname_r_chk.c: Moved to ...
19545 * login/ptsname_r_chk.c: ... here.
19546 * debug/Makefile (routines): Move ptsname_r_chk to ...
19547 * login/Makefile (routines): ... here.
19548 * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
19549 * login/Versions (libc: GLIBC_2.4): ... here.
19551 * posix/getlogin.c: Moved to ...
19552 * login/getlogin.c: ... here.
19553 * posix/getlogin_r.c: Moved to ...
19554 * login/getlogin_r.c: ... here.
19555 * posix/getlogin_r.c: Moved to ...
19556 * login/getlogin_r.c: ... here.
19557 * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
19558 * login/Makefile (routines): ... here.
19559 * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
19560 * login/Versions (libc: GLIBC_2.0): ... here.
19562 * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
19563 (setrlimit): Define as weak alias.
19565 * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
19566 Call __ names for open, ftruncate, and close.
19567 For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
19568 (truncate): Define as weak alias.
19570 2013-05-06 Joseph Myers <joseph@codesourcery.com>
19572 * math/gen-libm-test.pl (parse_args): Initialize x before each
19573 test of frexp, modf and remquo.
19575 * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
19576 test signgam value.
19578 2013-05-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19582 * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
19584 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
19586 2013-05-06 Roland McGrath <roland@hack.frob.com>
19588 * elf/dl-writev.h: New file.
19589 * elf/dl-misc.c: Include it.
19590 (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
19591 * sysdeps/unix/sysv/linux/dl-writev.h: New file.
19593 2013-05-04 Joseph Myers <joseph@codesourcery.com>
19595 * math/libm-test.inc (noXFails): Remove variable.
19596 (noXPasses): Likewise.
19597 (BUILD_COMPLEX_INT): Remove macro.
19598 (print_screen): Remove xfail argument.
19599 (print_screen_max_error): Likewise.
19600 (update_stats): Likewise.
19601 (print_max_error): Likewise. Update calls to other affected
19603 (print_complex_max_error): Likewise.
19604 (test_single_exception): Update calls to print_screen.
19605 (test_single_errno): Likewise.
19606 (check_float_internal): Remove xfail argument. Update calls to
19607 other affected functions.
19608 (check_float): Likewise.
19609 (check_complex): Likewise.
19610 (check_int): Likewise.
19611 (check_long): Likewise.
19612 (check_bool): Likewise.
19613 (check_longlong): Likewise.
19614 (main): Don't print noXFails and noXPasses.
19615 * math/gen-libm-test.pl (top level): Don't mention expected
19616 failure handling in comment.
19617 (new_test): Don't handle expected failures.
19618 (parse_args): Don't mention expected failure handling in comment.
19619 (generate_testfile): Don't handle expected failures.
19620 (parse_ulps): Likewise.
19621 (print_ulps_file): Likewise.
19622 (get_failure): Remove function.
19623 (output_test): Don't handle expected failures.
19624 * make/README.libm-test: Don't mention expected failure handling.
19626 * math/libm-test.inc (plus_zero): Make const. Add initializer.
19627 (minus_zero): Likewise.
19628 (plus_infty): Likewise.
19629 (minus_infty): Likewise.
19630 (qnan_value): Likewise.
19631 (max_value): Likewise.
19632 (min_value): Likewise.
19633 (min_subnorm_value): Likewise.
19634 (initialize): Do not initialize those variables dynamically.
19636 2013-05-03 Roland McGrath <roland@hack.frob.com>
19638 * io/open.c (__open_2): Moved to ...
19639 * io/open_2.c: ... this new file.
19640 * io/open64.c (__open64_2): Moved to ...
19641 * io/open64_2.c: ... this new file.
19642 * io/openat.c (__openat_2): Moved to ...
19643 * io/openat_2.c: ... this new file.
19644 * io/openat64.c (__openat64_2): Moved to ...
19645 * io/openat64_2.c: ... this new file.
19646 * io/Makefile (routines): Add them.
19647 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
19648 * sysdeps/unix/sysv/linux/open_2.c: File removed.
19649 * sysdeps/unix/sysv/linux/open64_2.c: File removed.
19650 * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
19651 * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
19652 * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
19653 (__openat64): Add hidden_ver.
19654 * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
19655 * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
19657 * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
19658 Separately conditionalize setting of GLRO(dl_sysinfo) so
19659 that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
19660 as well, but the actual setting is only under [NEED_DL_SYSINFO].
19662 2013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19664 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
19665 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
19667 (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
19668 * sysdeps/unix/sysv/linux/powerpc/init-first.c
19669 (_libc_vdso_platform_setup): Add __vdso_time initialization.
19670 * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
19671 for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
19673 2013-05-03 Joseph Myers <joseph@codesourcery.com>
19675 * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
19676 test signgam value.
19678 * math/libm-test.inc (hypot_test): Do not use
19679 IGNORE_ZERO_INF_SIGN.
19681 2013-05-03 Andreas Jaeger <aj@suse.de>
19683 * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
19685 * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
19686 (PF_MAX): Adjust for VSOCK change.
19688 2013-05-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19690 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19692 2013-05-02 Carlos O'Donell <carlos@redhat.com>
19695 * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
19696 * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
19697 * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
19699 2013-05-02 David S. Miller <davem@davemloft.net>
19701 * sysdeps/sparc/fpu/libm-test-ulps: Update.
19703 2013-05-01 Ondřej Bílka <neleai@seznam.cz>
19705 * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
19707 2013-05-01 Roland McGrath <roland@hack.frob.com>
19709 * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
19711 2013-05-01 Richard Smith <richard@metafoo.co.uk>
19714 * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
19715 [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
19716 Use __attribute__ ((__gnu_inline__)).
19717 [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
19718 Don't use __attribute__ ((__gnu_inline__)).
19720 2013-05-01 Joseph Myers <joseph@codesourcery.com>
19723 * math/s_catan.c (__catan): Handle small real or imaginary part of
19724 input specially to avoid spurious underflow.
19725 * math/s_catanf.c (__catanf): Likewise.
19726 * math/s_catanh.c (__catanh): Likewise.
19727 * math/s_catanhf.c (__catanhf): Likewise.
19728 * math/s_catanhl.c (__catanhl): Likewise.
19729 * math/s_catanl.c (__catanl): Likewise.
19730 * math/libm-test.inc (catan_test): Add more tests.
19731 (catanh_test): Likewise.
19732 * sysdeps/i386/fpu/libm-test-ulps: Update.
19733 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19735 2013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19737 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19739 2013-04-30 Joseph Myers <joseph@codesourcery.com>
19742 * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
19743 accurately for denominator in atan2.
19744 * math/s_catanf.c (__catanf): Likewise.
19745 * math/s_catanh.c (__catanh): Likewise.
19746 * math/s_catanhf.c (__catanhf): Likewise.
19747 * math/s_catanhl.c (__catanhl): Likewise.
19748 * math/s_catanl.c (__catanl): Likewise.
19749 * math/libm-test.inc (catan_test): Add more tests.
19750 (catanh_test): Likewise.
19751 * sysdeps/i386/fpu/libm-test-ulps: Update.
19752 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19754 2013-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
19756 * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
19758 * benchtests/Makefile (bench): Remove slow benchmarks.
19759 * benchtests/atan-inputs: Add slow benchmark inputs.
19760 * benchtests/bench-modf.c (NUM_VARIANTS): Define.
19761 (BENCH_FUNC): Accept variant offset.
19763 * benchtests/bench-skeleton.c (main): Run benchmark for each
19765 * benchtests/cos-inputs: Add slow benchmark inputs.
19766 * benchtests/exp-inputs: Likewise.
19767 * benchtests/pow-inputs: Likewise.
19768 * benchtests/sin-inputs: Likewise.
19769 * benchtests/slowatan-inputs: Remove.
19770 * benchtests/slowatan.c: Remove.
19771 * benchtests/slowcos-inputs: Remove.
19772 * benchtests/slowcos.c: Remove.
19773 * benchtests/slowexp-inputs: Remove.
19774 * benchtests/slowexp.c: Remove.
19775 * benchtests/slowpow-inputs: Remove.
19776 * benchtests/slowpow.c: Remove.
19777 * benchtests/slowsin-inputs: Remove.
19778 * benchtests/slowsin.c: Remove.
19779 * benchtests/slowtan-inputs: Remove.
19780 * benchtests/slowtan.c: Remove.
19781 * benchtests/tan-inputs: Add slow benchmark inputs.
19782 * scripts/bench.pl: Parse comments and directives.
19784 * benchtests/Makefile: Remove *-ITER. Define BENCH_DURATION
19786 ($(objpfx)bench-%.c): Remove *-ITER.
19787 * benchtests/bench-modf.c: Remove definition of ITER.
19788 * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
19789 (main): Loop for DURATION seconds instead of fixed number of
19791 * scripts/bench.pl: Don't expect iterations in parameters.
19793 2013-04-29 Roland McGrath <roland@hack.frob.com>
19795 * io/fchdir.c (__fchdir): Renamed from fchdir.
19796 (fchdir): Define as weak alias.
19798 2013-04-29 Joseph Myers <joseph@codesourcery.com>
19800 * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
19801 (ERRNO_EDOM): Likewise.
19802 (ERRNO_ERANGE): Likewise.
19803 (noErrnoTests): New variable.
19804 (init_max_error): Set errno to 0.
19805 (test_single_errno): New function.
19806 (test_errno): Likewise.
19807 (check_float_internal): Call test_errno. Set errno to 0.
19808 (check_complex): Refer to errno tests in comment.
19809 (check_int): Call test_errno. Set errno to 0.
19810 (check_long): Likewise.
19811 (check_bool): Likewise.
19812 (check_longlong): Likewise.
19813 (cos_test): Use ERRNO_* flags for errno tests instead of
19815 (expm1_test): Likewise.
19816 (fmod_test): Likewise.
19817 (ilogb_test): Likewise.
19818 (lgamma_test): Likewise.
19819 (pow_test): Likewise.
19820 (remainder_test): Likewise.
19821 (sin_test): Likewise.
19822 (tan_test): Likewise.
19823 (yn_test): Likewise.
19824 (initialize): Set errno to 0.
19825 (main): Print number of errno tests.
19826 * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
19828 2013-04-29 Andreas Jaeger <aj@suse.de>
19831 * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
19835 * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
19836 * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
19840 * stdlib/random.c (__initstate): Return NULL if
19844 * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
19845 RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
19848 2013-04-29 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19850 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19852 2013-04-29 Joseph Myers <joseph@codesourcery.com>
19854 * math/libm-test.inc (cacos_test): Add missing semicolons at ends
19855 of individual tests.
19856 (casin_test): Likewise.
19857 (casinh_test): Likewise.
19859 2013-04-27 Joseph Myers <joseph@codesourcery.com>
19862 * math/s_catan.c (__catan): Handle arguments with large real or
19863 imaginary part separately without squaring.
19864 * math/s_catanf.c (__catanf): Likewise.
19865 * math/s_catanh.c (__catanh): Likewise.
19866 * math/s_catanhf.c (__catanhf): Likewise.
19867 * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
19869 (__catanhl): Handle arguments with large real or imaginary part
19870 separately without squaring.
19871 * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
19873 (__catanl): Handle arguments with large real or imaginary part
19874 separately without squaring.
19875 * math/libm-test.inc (catan_test): Add more tests.
19876 (catanh_test): Likewise.
19877 * sysdeps/i386/fpu/libm-test-ulps: Update.
19878 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19880 2013-04-27 Andreas Jaeger <aj@suse.de>
19883 * stdlib/stdlib.h: Update guards for qecvt.
19884 * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
19887 2013-04-27 Allan McRae <allan@archlinux.org>
19889 * sysdeps/i386/fpu/libm-test-ulps: Update.
19891 2013-04-26 Joseph Myers <joseph@codesourcery.com>
19894 * math/s_catan.c: Include <float.h>.
19895 (__catan): Ensure underflow exception occurs for underflowed
19897 * math/s_catanf.c: Include <float.h>.
19898 (__catanf): Ensure underflow exception occurs for underflowed
19900 * math/s_catanh.c: Include <float.h>.
19901 (__catanh): Ensure underflow exception occurs for underflowed
19903 * math/s_catanhf.c: Include <float.h>.
19904 (__catanhf): Ensure underflow exception occurs for underflowed
19906 * math/s_catanhl.c: Include <float.h>.
19907 (__catanhl): Ensure underflow exception occurs for underflowed
19909 * math/s_catanl.c: Include <float.h>.
19910 (__catanl): Ensure underflow exception occurs for underflowed
19912 * math/libm-test.inc (catan_test): Add more tests.
19913 (catanh_test): Likewise.
19916 * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
19917 underflowed result.
19918 * math/s_ccoshf.c (__ccoshf): Likewise.
19919 * math/s_ccoshl.c (__ccoshl): Likewise.
19920 * math/s_csin.c (__csin): Likewise.
19921 * math/s_csinf.c (__csinf): Likewise.
19922 * math/s_csinh.c (__csinh): Likewise.
19923 * math/s_csinhf.c (__csinhf): Likewise.
19924 * math/s_csinhl.c (__csinhl): Likewise.
19925 * math/s_csinl.c (__csinl): Likewise.
19926 * math/libm-test.inc (ccos_test): Add more tests.
19927 (ccosh_test): Likewise.
19928 (csin_test): Likewise.
19929 (csinh_test): Likewise.
19931 2013-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19933 * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
19934 * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
19935 * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
19936 * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
19937 * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
19938 powerpc/power5+/fpu folders.
19939 * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
19942 2013-04-26 Markus Trippelsdorf <markus@trippelsdorf.de>
19944 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
19946 2013-04-25 Joseph Myers <joseph@codesourcery.com>
19948 * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
19949 additions to variable.
19950 [$(config-machine) = x86_64] (modules-names): Likewise.
19951 ($(objpfx)tst-audit3): Remove dependency.
19952 ($(objpfx)tst-audit3.out): Likewise.
19953 ($(objpfx)tst-audit4): Likewise.
19954 ($(objpfx)tst-audit4.out): Likewise.
19955 ($(objpfx)tst-audit5): Likewise.
19956 ($(objpfx)tst-audit5.out): Likewise.
19957 ($(objpfx)tst-audit6): Likewise.
19958 ($(objpfx)tst-audit6.out): Likewise.
19959 ($(objpfx)tst-audit7): Likewise.
19960 ($(objpfx)tst-audit7.out): Likewise.
19961 (tst-audit3-ENV): Remove variable.
19962 (tst-audit4-ENV): Likewise.
19963 (tst-audit5-ENV): Likewise.
19964 (tst-audit6-ENV): Likewise.
19965 (tst-audit7-ENV): Likewise.
19966 [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
19967 [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
19968 addition to variable.
19969 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
19970 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
19971 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
19972 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
19973 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
19974 * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
19975 tst-audit3, tst-audit4 and tst-audit5.
19976 [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
19977 tst-audit6 and tst-audit7.
19978 [$(subdir) = elf] (modules-names): Add audit modules for those
19980 [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
19981 [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
19982 [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
19983 [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
19984 [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
19985 [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
19986 [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
19987 [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
19988 [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
19989 [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
19990 [$(subdir) = elf] (tst-audit3-ENV): New variable.
19991 [$(subdir) = elf] (tst-audit4-ENV): Likewise.
19992 [$(subdir) = elf] (tst-audit5-ENV): Likewise.
19993 [$(subdir) = elf] (tst-audit6-ENV): Likewise.
19994 [$(subdir) = elf] (tst-audit7-ENV): Likewise.
19995 [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
19997 [$(subdir) = elf && $(config-cflags-avx) = yes]
19998 (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
19999 [$(subdir) = elf && $(config-cflags-avx) = yes]
20000 (CFLAGS-tst-auditmod4a.c): Likewise.
20001 [$(subdir) = elf && $(config-cflags-avx) = yes]
20002 (CFLAGS-tst-auditmod4b.c): Likewise.
20003 [$(subdir) = elf && $(config-cflags-avx) = yes]
20004 (CFLAGS-tst-auditmod6b.c): Likewise.
20005 [$(subdir) = elf && $(config-cflags-avx) = yes]
20006 (CFLAGS-tst-auditmod6c.c): Likewise.
20007 [$(subdir) = elf && $(config-cflags-avx) = yes]
20008 (CFLAGS-tst-auditmod7b.c): Likewise.
20009 * elf/tst-audit3.c: Move to ...
20010 * sysdeps/x86_64/tst-audit3.c: ... here.
20011 * elf/tst-audit4.c: Move to ...
20012 * sysdeps/x86_64/tst-audit4.c: ... here.
20013 * elf/tst-audit5.c: Move to ...
20014 * sysdeps/x86_64/tst-audit5.c: ... here.
20015 * elf/tst-audit6.c: Move to ...
20016 * sysdeps/x86_64/tst-audit6.c: ... here.
20017 * elf/tst-audit7.c: Move to ...
20018 * sysdeps/x86_64/tst-audit7.c: ... here.
20019 * elf/tst-auditmod3a.c: Move to ...
20020 * sysdeps/x86_64/tst-auditmod3a.c: ... here.
20021 * elf/tst-auditmod3b.c: Move to ...
20022 * sysdeps/x86_64/tst-auditmod3b.c: ... here.
20023 * elf/tst-auditmod4a.c: Move to ...
20024 * sysdeps/x86_64/tst-auditmod4a.c: ... here.
20025 * elf/tst-auditmod4b.c: Move to ...
20026 * sysdeps/x86_64/tst-auditmod4b.c: ... here.
20027 * elf/tst-auditmod5a.c: Move to ...
20028 * sysdeps/x86_64/tst-auditmod5a.c: ... here.
20029 * elf/tst-auditmod5b.c: Move to ...
20030 * sysdeps/x86_64/tst-auditmod5b.c: ... here.
20031 * elf/tst-auditmod6a.c: Move to ...
20032 * sysdeps/x86_64/tst-auditmod6a.c: ... here.
20033 * elf/tst-auditmod6b.c: Move to ...
20034 * sysdeps/x86_64/tst-auditmod6b.c: ... here.
20035 * elf/tst-auditmod6c.c: Move to ...
20036 * sysdeps/x86_64/tst-auditmod6c.c: ... here.
20037 * elf/tst-auditmod7a.c: Move to ...
20038 * sysdeps/x86_64/tst-auditmod7a.c: ... here.
20039 * elf/tst-auditmod7b.c: Move to ...
20040 * sysdeps/x86_64/tst-auditmod7b.c: ... here.
20042 2013-04-25 Paul Pluzhnikov <ppluzhnikov@google.com>
20045 * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
20046 define unconditionally.
20047 * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
20048 define unconditionally.
20049 (INT8_C, INT16_C, etc.): Likewise.
20051 2013-04-25 Maciej W. Rozycki <macro@codesourcery.com>
20053 * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
20054 __ehdr_start with hidden visibility.
20056 * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
20058 2013-04-24 Carlos O'Donell <carlos@redhat.com>
20060 * math/libm-test.inc (cos_test): Use accurate hex constants.
20061 (sincost_test): Likewise.
20063 2013-04-24 Joseph Myers <joseph@codesourcery.com>
20065 * math/libm-test.inc (catan_test): Add more tests.
20066 (catanh_test): Likewise.
20068 * math/s_catanf.c (__catanf): Use suffixed floating-point
20070 * math/s_catanhf.c (__catanhf): Likewise.
20071 * math/s_catanhl.c (__catanhl): Likewise.
20072 * math/s_catanl.c (__catanl): Likewise.
20075 * math/s_catan.c (__catan): Calculate imaginary part of result
20076 with log1p not log unless computing log of number close to 0.
20077 * math/s_catanf.c (__catanf): Likewise.
20078 * math/s_catanl.c (__catanl): Likewise.
20079 * math/s_catanh.c (__catanh): Calculate real part of result with
20080 log1p not log unless computing log of number close to 0.
20081 * math/s_catanhf.c (__catanhf): Likewise.
20082 * math/s_catanhl.c (__catanhl): Likewise.
20083 * math/libm-test.inc (catan_test): Add more tests.
20084 (catanh_test): Likewise.
20085 * sysdeps/i386/fpu/libm-test-ulps: Update.
20086 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20088 2013-04-24 Siddhesh Poyarekar <siddhesh@redhat.com>
20090 * benchtests/Makefile: Mention files in which fast and slow
20091 paths of math functions are implemented.
20093 2013-04-23 Roland McGrath <roland@hack.frob.com>
20095 * sysdeps/posix/timespec_get.c: New file.
20097 2013-04-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20099 * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
20101 * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
20103 * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
20104 powerpc/power5/fpu folders.
20105 * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
20106 * benchtests/Makefile: Add modf testcase.
20107 * benchtests/bench-modf.c: New file: Benchmark test for mo
20109 2013-04-23 Siddhesh Poyarekar <siddhesh@redhat.com>
20112 * time/Makefile (tests): Add tst-strptime-whitespace.
20113 * time/strptime_l.c (get_number): Use ISSPACE.
20114 (__strptime_internal): Likewise.
20115 * time/tst-strptime-whitespace.c: New test case.
20117 2013-04-23 Andreas Schwab <schwab@linux-m68k.org>
20119 * nss/nss_files/files-init.c (TF): Don't initialize flexible array
20121 (_nss_files_init): Set it here.
20123 2013-04-23 Heiko Carstens <heiko.carstens@de.ibm.com>
20125 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
20126 f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
20129 2013-04-22 Jan-Benedict Glaw <jbglaw@getslash.de>
20131 * nss/getent.c (shadow_keys): Call endspent, not endpwent.
20133 2013-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
20135 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
20138 2013-04-21 David S. Miller <davem@davemloft.net>
20140 * po/ru.po: Update Russion translation from translation project.
20142 2013-04-17 Adam Conrad <adconrad@0c3.net>
20144 * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
20147 2013-04-17 Carlos O'Donell <carlos@redhat.com>
20149 * configure.in: Remove i386 configure warning. Remove i386 case.
20150 * configure: Regenerate.
20151 * sysdeps/i386/configure.in: Raise error if config_machine is i386.
20152 Add example to error message.
20153 * sysdeps/i386/configure: Regenerate.
20155 2013-04-17 Siddhesh Poyarekar <siddhesh@redhat.com>
20157 * benchtests/Makefile (bench): Add cos, tan, slowcos and
20159 * benchtests/cos-inputs: New file.
20160 * benchtests/slowcos-inputs: New file.
20161 * benchtests/slowcos.c: New file.
20162 * benchtests/slowtan-inputs: New file.
20163 * benchtests/slowtan.c: New file.
20164 * benchtests/tan-inputs: New file.
20166 2013-04-16 Roland McGrath <roland@hack.frob.com>
20168 * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
20171 2013-04-16 Siddhesh Poyarekar <siddhesh@redhat.com>
20173 * benchtests/Makefile: Include cppflags-iterator.mk to add
20174 -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
20176 * Makefile.in (bench-clean): New target.
20177 * benchtests/Makefile (bench-clean): Likewise.
20179 2013-04-16 David Holsgrove <david.holsgrove@xilinx.com>
20181 * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
20183 2013-04-15 Thomas Schwinge <thomas@codesourcery.com>
20185 * stdio-common/tstdiomisc.c: Fix coding-style violation.
20187 2013-04-15 Andreas Schwab <schwab@suse.de>
20189 * nscd/grpcache.c (cache_addgr): Properly check for short write.
20190 * nscd/initgrcache.c (addinitgroupsX): Likewise.
20191 * nscd/pwdcache.c (cache_addpw): Likewise.
20192 * nscd/servicescache.c (cache_addserv): Likewise. Don't write
20195 2013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
20197 * benchtests/Makefile (bench): Write all output to
20198 bench-out.tmp together.
20200 2013-04-15 Andreas Schwab <schwab@suse.de>
20202 * nscd/nscd.c (main): Don't fork again after closing files.
20204 2013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
20206 * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
20208 * benchtests/Rules (bench-deps): Collect dependencies into a
20209 single variable. Add Makefile to dependencies.
20210 ($(objpfx)bench-%.c): Depend on bench-deps.
20212 2013-04-12 Roland McGrath <roland@hack.frob.com>
20213 Xavier Roche <roche+kml2@exalead.com>
20216 * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
20217 just that it's a file descriptor.
20218 * manual/llio.texi (Synchronizing AIO Operations): Update description
20219 for EBADF error from aio_fsync.
20221 2013-04-12 Siddhesh Poyarekar <siddhesh@redhat.com>
20223 * Rules (bench): Move target definition...
20224 * benchtests/Makefile: ... here.
20226 2013-04-11 Carlos O'Donell <carlos@redhat.com>
20228 * math/libm-test.inc (cos_test): Fix PI/2 test.
20229 (sincos_test): Likewise.
20230 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
20231 * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
20233 2013-04-11 Andreas Schwab <schwab@suse.de>
20236 * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
20237 accept exponent character only when digits were seen.
20238 * stdio-common/Makefile (tests): Add bug26.
20239 * stdio-common/bug26.c: New file.
20242 * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
20245 2013-04-11 Siddhesh Poyarekar <siddhesh@redhat.com>
20247 * Makeconfig (rtld-prefix): Define built linker prefix.
20248 * Rules (run-bench): Use it.
20249 * math/Makefile (run-regen-ulps): Likewise.
20251 * Rules (bench): Remove eval.
20253 2013-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
20254 Roland McGrath <roland@hack.frob.com>
20255 Ondrej Bilka <neleai@seznam.cz>
20258 * time/getdate.c: Include ctype.h and alloca.h.
20259 (__getdate_r): Trim leading and trailing spaces of input.
20260 * time/tst-getdate.c (tests): Add tests with leading and
20263 2013-04-08 Roland McGrath <roland@hack.frob.com>
20266 * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
20267 when computing value.
20269 2013-04-06 Carlos O'Donell <carlos@redhat.com>
20271 * math/README.libm-test (How can I generate "libm-test-ulps"?):
20272 Use testrun.sh to run libm tests.
20275 * elf/dl-open.c (dl_open_worker): memset all of seen array.
20277 2013-04-06 Marko Myllynen <myllynen@redhat.com>
20280 * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
20282 2013-04-06 Carlos O'Donell <carlos@redhat.com>
20284 * Makefile.in (regen-ulps): New target.
20285 * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
20286 [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
20287 [ifneq (no,$(PERL)] (regen-ulps): New target.
20288 [ifeq (no,$(PERL)] (regen-ulps): New target.
20289 * math/libm-test.inc (ulps_file_name): Define.
20290 (output_dir): New variable.
20291 (options): Add "output-dir" option.
20292 (parse_opt): Handle 'o' case.
20293 (main): If output_dir is non-NULL use it as a prefix
20295 * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
20297 2013-04-06 Carlos O'Donell <carlos@redhat.com>
20299 [BZ #10060, #10062]
20300 * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
20301 * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
20302 fail configure if __sync_val_compare_and_swap is not inlined.
20303 * sysdeps/i386/configure: Regenerate.
20304 * configure.in: Build for i686 when configured for i386.
20305 * configure: Regenerate.
20306 * README: Remove i386 reference.
20308 2013-04-06 Carlos O'Donell <carlos@redhat.com>
20310 * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
20311 * sysdeps/s390/s390-64/sysdep.h: Likewise.
20313 2013-04-05 Thomas Schwinge <thomas@codesourcery.com>
20315 * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
20316 (lmsnanval): New variables.
20317 (F): Add conversion tests.
20318 * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
20319 * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
20321 * stdio-common/tstdiomisc.c (F): Properly collect individual
20324 [BZ #14686, #15336]
20325 * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
20326 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
20327 Instead, use input NaN values or generate a qNaN by arithmetic
20328 operation. Also fix bugs to comply with the standard.
20329 * math/libm-test.inc (remainder_test): Add more tests.
20331 [BZ #15335, #15342]
20332 * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
20333 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
20334 input NaN values or generate a qNaN by arithmetic operation.
20336 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
20339 * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
20342 2013-04-03 Joseph Myers <joseph@codesourcery.com>
20345 * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
20346 underflowed result.
20347 * math/s_cexpf.c (__cexpf): Likewise.
20348 * math/s_cexpl.c (__cexpl): Likewise.
20349 * math/libm-test.inc (cexp_test): Add more tests.
20351 2013-04-03 Andreas Schwab <schwab@suse.de>
20354 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
20355 order arrays from heap if bigger than alloca cutoff.
20357 2013-04-03 Thomas Schwinge <thomas@codesourcery.com>
20359 * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
20360 (SNAN_TESTS_double): Refer to GCC PR56831.
20361 * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
20364 2013-04-03 Siddhesh Poyarekar <siddhesh@redhat.com>
20366 * Rules (bench): Move bench.out after the run is complete.
20368 * Rules (bench): Echo currently running benchmark.
20370 * benchtests/Makefile (bench): Add atan and slowatan.
20371 * benchtests/atan-inputs: New file.
20372 * benchtests/slowatan-inputs: New file.
20373 * benchtests/slowatan.c: New file.
20375 * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
20376 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
20380 * sysdeps/unix/sysv/linux/kernel-features.h
20381 [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
20382 __ASSUME_XFS_RESTRICTED_CHOWN.
20383 * sysdeps/unix/sysv/linux/pathconf.c
20384 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
20385 Save and restore errno.
20387 2013-04-02 Joseph Myers <joseph@codesourcery.com>
20390 * math/s_cacosh.c (__cacosh): Implement for finite nonzero
20391 arguments using __kernel_casinh.
20392 * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
20393 arguments using __kernel_casinhf.
20394 * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
20395 arguments using __kernel_casinhl.
20396 * math/libm-test.inc (cacosh_test): Add more tests.
20397 * sysdeps/i386/fpu/libm-test-ulps: Update.
20398 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20400 2013-04-02 Siddhesh Poyarekar <siddhesh@redhat.com>
20402 * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
20403 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
20405 * bench/Makefile (bench): Add sin and slowsin.
20406 * benchtests/sin-inputs: New file.
20407 * benchtests/slowsin-inputs: New file.
20408 * benchtests/slowsin.c: New file.
20410 * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
20411 (bench): Add slowexp and slowpow.
20412 (exp-ITER): Increase iterations.
20413 (pow-ITER): Likewise.
20414 * benchtests/exp-inputs: Change input.
20415 * benchtests/pow-inputs: Likewise.
20416 * benchtests/slowexp-inputs: New file.
20417 * benchtests/slowexp.c: New file.
20418 * benchtests/slowpow-inputs: New file.
20419 * benchtests/slowpow.c: New file.
20421 2013-04-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20423 * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
20425 * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
20426 * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
20427 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
20428 * benchtests/Makefile: Add rint benchtest.
20429 * benchtests/rint-inputs: Input for rint benchtest.
20431 2013-04-02 Thomas Schwinge <thomas@codesourcery.com>
20433 * Versions.def (libm): Add GLIBC_2.18.
20434 * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
20435 hidden libm prototypes.
20436 [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
20437 * math/Makefile (libm-calls): Add s_issignaling.
20438 * math/Versions (libm: GLIBC_2.18): Add __issignaling,
20439 __issignalingf, __issignalingl. Adjust all libm.abilist files.
20440 * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
20442 * math/math.h [__USE_GNU] (issignaling): New macro.
20443 * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
20444 * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
20445 * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
20446 * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
20447 * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
20448 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
20449 * manual/arith.texi (issignaling): New section.
20450 * manual/libm-err-tab.pl (@all_functions): Update comment.
20451 * math/gen-libm-test.pl (parse_args): Apply special handling for
20453 * math/libm-test.inc (print_float, issignaling_test): New
20455 (check_float_internal): Add issignaling checks.
20456 * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
20457 default definition.
20458 * sysdeps/powerpc/math-tests.h: New file.
20459 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
20461 * math/test-snan.c (TEST_FUNC): Likewise.
20463 2013-03-30 David S. Miller <davem@davemloft.net>
20465 * po/de.po: Update from translation team.
20467 2013-03-30 Joseph Myers <joseph@codesourcery.com>
20470 * math/k_casinh.c (__kernel_casinh): Handle arguments with
20471 imaginary part less than 1.0 and real part less than 0.5
20473 * math/k_casinhf.c (__kernel_casinhf): Likewise.
20474 * math/k_casinhl.c (__kernel_casinhl): Likewise.
20475 * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
20476 (cacos_test): Add more tests.
20477 (casin_test): Likewise.
20478 (casinh_test): Likewise.
20479 * sysdeps/i386/fpu/libm-test-ulps: Update.
20480 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20482 2013-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
20484 * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
20485 ONE with its value.
20487 * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
20488 (__pow_mp): Replace ONE and MONE with their values.
20489 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
20490 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
20491 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
20492 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
20493 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
20494 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
20496 * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
20498 * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
20499 (__pow_mp): Replace ZERO and MZERO with their values.
20500 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
20501 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
20502 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
20503 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
20504 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
20505 * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
20508 * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
20510 * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
20512 2013-03-28 Roland McGrath <roland@hack.frob.com>
20514 * include/stdlib.h [!SHARED] (__call_tls_dtors):
20515 Declare with __attribute__ ((weak)).
20516 * stdlib/exit.c (__libc_atexit) [!SHARED]:
20517 Call __call_tls_dtors only if it's not NULL.
20519 2013-03-28 Roland McGrath <roland@hack.frob.com>
20521 * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
20522 didn't do it already, then set _dl_phdr and _dl_phnum based on the
20523 magic __ehdr_start linker symbol if it's defined.
20524 * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
20525 them up here if it was already done.
20527 * elf/dl-support.c (_dl_phdr): Make pointer to const.
20528 (_dl_aux_init): Use const in cast when setting it.
20529 * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
20530 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
20531 * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
20533 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
20535 * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
20536 * csu/libc-tls.c: Nor here.
20537 * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
20539 * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
20540 (__libc_message): Never call vsyslog.
20542 2013-03-28 Alan Modra <amodra@gmail.com>
20544 * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
20546 * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
20549 2013-03-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20552 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
20554 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
20556 2013-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
20559 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
20560 Don't add gid passed as argument.
20562 * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
20564 2013-03-27 Joseph Myers <joseph@codesourcery.com>
20567 * math/k_casinh.c (__kernel_casinh): Handle arguments with
20568 imaginary part between 1.0 and 1.5 and real part less than 0.5
20570 * math/k_casinhf.c (__kernel_casinhf): Likewise.
20571 * math/k_casinhl.c (__kernel_casinhl): Likewise.
20572 * math/libm-test.inc (cacos_test): Add more tests.
20573 (casin_test): Likewise.
20574 (casinh_test): Likewise.
20575 * sysdeps/i386/fpu/libm-test-ulps: Update.
20576 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20578 2013-03-26 Siddhesh Poyarekar <siddhesh@redhat.com>
20580 * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
20583 (denorm): Likewise.
20584 (__dbl_mp): Likewise.
20585 (add_magnitudes): Likewise.
20586 (sub_magnitudes): Likewise.
20594 * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
20596 * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
20597 (__dubcos): Likewise.
20598 * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
20599 (__ieee754_acos): Likewise.
20600 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
20601 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
20602 (__exp1): Likewise.
20603 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
20604 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
20606 (my_log2): Likewise.
20607 (checkint): Likewise.
20608 * sysdeps/ieee754/dbl-64/e_remainder.c
20609 (__ieee754_remainder): Likewise.
20610 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
20611 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
20612 (bsloww): Likewise.
20613 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
20615 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
20616 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
20617 MANTISSA_STORE_T to store computations on mantissa. Use
20618 macros for rounding and division.
20619 (denorm): Likewise.
20620 (__dbl_mp): Likewise.
20621 (add_magnitudes): Likewise.
20622 (sub_magnitudes): Likewise.
20625 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
20626 powers of two in terms of TWOPOW macro.
20627 (mp_no): Make type of mantissa as MANTISSA_T.
20628 [!RADIXI]: Define RADIXI.
20629 [!TWO52]: Define TWO52.
20630 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
20632 2013-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20634 * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
20635 llroundl symbol when building for PPC32.
20637 2013-03-24 Mark H Weaver <mhw@netris.org>
20639 * manual/arith.texi (Normalization Functions): Fix prototypes for
20640 scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
20642 2013-03-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20645 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
20646 high value to check if expl overflow.
20647 * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
20648 to check for underflow and overflow.
20649 * math/libm-test.inc: Add exp test.
20651 2013-03-21 Dmitry V. Levin <ldv@altlinux.org>
20654 * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
20657 2013-03-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20659 * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
20662 2013-03-21 Thomas Schwinge <thomas@codesourcery.com>
20664 * math/gen-libm-test.pl (parse_args, special_functions): Properly
20665 wrap blocks consisting of several statements.
20667 * sysdeps/generic/math-tests.h: New file.
20668 * sysdeps/i386/fpu/math-tests.h: Likewise.
20669 * math/test-snan.c: Include it.
20670 (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
20672 2013-03-21 Joseph Myers <joseph@codesourcery.com>
20675 * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
20676 (__ieee754_j0l): Do not improve calculations using cos of twice
20677 input for inputs above LDBL_MAX / 2.0L.
20678 (__ieee754_y0l): Likewise.
20679 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
20680 (__ieee754_j1l): Do not improve calculations using cos of twice
20681 input for inputs above LDBL_MAX / 2.0L.
20682 (__ieee754_y1l): Likewise.
20683 * math/libm-test.inc (j0_test): Add another test.
20684 (j1_test): Likewise.
20685 (y0_test): Likewise.
20686 (y1_test): Likewise.
20687 * sysdeps/i386/fpu/libm-test-ulps: Update.
20689 2013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
20691 * Rules ($(objpfx)bench-%.c): Include code from a C source
20694 2013-03-21 Joseph Myers <joseph@codesourcery.com>
20697 * math/k_casinh.c (__kernel_casinh): Handle arguments with
20698 imaginary part 1.0 and real part less than 0.5 specially.
20699 * math/k_casinhf.c (__kernel_casinhf): Likewise.
20700 * math/k_casinhl.c (__kernel_casinhl): Likewise.
20701 * math/libm-test.inc (cacos_test): Add more tests.
20702 (casin_test): Likewise.
20703 (casinh_test): Likewise.
20704 * sysdeps/i386/fpu/libm-test-ulps: Update.
20705 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20707 2013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
20709 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
20710 * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
20712 2013-03-20 Joseph Myers <joseph@codesourcery.com>
20714 * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
20715 * config.make.in (config-cflags-sse4): Remove variable.
20716 (config-cflags-avx): Likewise.
20717 (config-cflags-sse2avx): Likewise.
20718 (config-cflags-novzeroupper): Likewise.
20719 (config-asflags-i686): Likewise.
20720 (have-mfma4): Likewise.
20721 (have-as-vis3): Likewise.
20723 * configure.in (MIG): Do not AC_SUBST.
20724 (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
20725 (libc_cv_cc_sse4): Do not AC_SUBST.
20726 (libc_cv_cc_avx): Likewise.
20727 (libc_cv_cc_sse2avx): Likewise.
20728 (libc_cv_cc_novzeroupper): Likewise.
20729 (libc_cv_cc_fma4): Likewise.
20730 (libc_cv_as_i686): Likewise.
20731 (libc_cv_sparc_as_vis3): Likewise.
20732 * sysdeps/i386/configure.in (config-cflags-sse4): Set using
20734 (config-asflags-i686): Likewise.
20735 (config-cflags-avx): Likewise.
20736 (config-cflags-sse2avx): Likewise.
20737 (have-mfma4): Likewise.
20738 (config-cflags-novzeroupper): Likewise.
20739 * sysdeps/mach/configure.in (MIG): Likewise.
20740 * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
20741 * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
20743 (config-cflags-avx): Likewise.
20744 (config-cflags-sse2avx): Likewise.
20745 (have-mfma4): Likewise.
20746 (config-cflags-novzeroupper): Likewise.
20747 * configure: Regenerated.
20748 * sysdeps/i386/configure: Likewise.
20749 * sysdeps/mach/configure: Likewise.
20750 * sysdeps/sparc/configure: Likewise.
20751 * sysdeps/x86_64/configure: Likewise.
20753 2013-03-20 Roland McGrath <roland@hack.frob.com>
20756 * locale/programs/localedef.c (options): Put N_ translation marker
20757 on argument names, not just descriptions.
20759 2013-03-20 Marcus Shawcroft <marcus.shawcroft@linaro.org>
20761 * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
20763 2013-03-20 Ondřej Bílka <neleai@seznam.cz>
20766 * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
20768 2013-03-19 Roland McGrath <roland@hack.frob.com>
20770 * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
20771 [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
20772 [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
20773 [!BEFORE_ABORT] (before_abort): New function.
20774 [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
20775 * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
20776 (writev_for_fatal): New function.
20777 (WRITEV_FOR_FATAL): New macro; call that.
20778 (backtrace_and_maps): New function.
20779 (BEFORE_ABORT): New macro; call that.
20780 (struct str_list): Type removed.
20781 (__libc_message, __libc_fatal): Functions removed.
20782 Include <sysdeps/posix/libc_fatal.c> instead.
20784 2013-03-19 Joseph Myers <joseph@codesourcery.com>
20786 * math/k_casinhf.c (__kernel_casinhf): Consistently use float
20788 * math/k_casinhl.c (__kernel_casinhl): Consistently use long
20791 2013-03-19 Andreas Schwab <schwab@suse.de>
20793 * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
20794 * sysdeps/gnu/configure: Regenerate.
20796 * configure.in: Substitute libc_cv_rtlddir.
20797 * configure: Regenerate.
20798 * config.make.in (rtlddir): Set from libc_cv_rtlddir.
20799 * Makeconfig (rtlddir, inst_rtlddir): New variables.
20800 (rtld-LDFLAGS): Use them with $(rtld-installed-name).
20801 * elf/Makefile (install-others, CFLAGS-interp.c)
20802 (ldso_install, common-ldd-rewrite): Likewise.
20803 ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
20804 $(inst_slibdir)/$(rtld-installed-name).
20805 * scripts/rellns-sh: Add -p option.
20806 * Makerules (make-shlib-link): Use rellns-sh to get relative name
20809 2013-03-19 Siddhesh Poyarekar <siddhesh@redhat.com>
20811 * manual/nptl.texi: Renamed to ...
20812 * manual/threads.texi: ... this.
20813 * manual/Makefile (chapters): Update.
20815 2013-03-18 Roland McGrath <roland@hack.frob.com>
20818 * argp/argp-parse.c (argp_default_options): Put N_ translation marker
20819 on argument names, not just descriptions.
20820 * malloc/memusagestat.c (options): Likewise.
20821 * nss/getent.c (options): Likewise.
20823 2013-03-18 Benno Schulenberg <bensberg@justemail.net>
20826 * iconv/iconv_prog.c (options): Put N_ translation marker
20827 on argument names, not just descriptions.
20828 * iconv/iconvconfig.c (options): Likewise.
20830 2013-03-18 Ondrej Bilka <neleai@seznam.cz>
20832 * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
20833 implementation which is faster on all x86_64 architectures.
20834 Tested on AMD, Intel Nehalem, SNB, IVB.
20835 * sysdeps/x86_64/strnlen.S: Likewise.
20837 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
20838 Remove all multiarch strlen and strnlen versions.
20839 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
20840 Remove strlen and strnlen related parts.
20842 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
20843 Inline strlen part.
20844 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
20846 * sysdeps/x86_64/multiarch/strlen.S: Remove.
20847 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
20848 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
20849 * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
20850 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
20851 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
20853 2013-03-17 Carlos O'Donell <carlos@redhat.com>
20855 * manual/memory.texi (Malloc Tunable Parameters):
20856 Sort parameters alphabetically. Add comments for missing entries.
20858 2013-03-17 David S. Miller <davem@davemloft.net>
20860 * sysdeps/sparc/fpu/libm-test-ulps: Update.
20862 2013-03-16 Joseph Myers <joseph@codesourcery.com>
20865 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
20866 for arguments at most half maximum finite value.
20867 * math/libm-test.inc (j0_test): Add more tests.
20868 (j1_test): Likewise.
20869 (y0_test): Likewise.
20870 (y1_test): Likewise.
20871 * sysdeps/i386/fpu/libm-test-ulps: Update.
20872 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20875 * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
20876 1 / x and functions P and Q for arguments above 0x1p256L.
20877 (__ieee754_y0l): Likewise.
20878 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
20879 (__ieee754_y1l): Likewise.
20880 * math/libm-test.inc (j0_test): Do not allow spurious underflows.
20881 (j1_test): Likewise.
20882 (y0_test): Likewise.
20883 (y1_test): Likewise.
20885 2013-03-16 Thomas Schwinge <thomas@codesourcery.com>
20887 * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
20890 2013-03-15 Roland McGrath <roland@hack.frob.com>
20892 * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
20893 (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
20894 zero since it's initialized to EXEC_PAGESIZE.
20896 * sysdeps/unix/sysv/linux/ldsodefs.h
20897 (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
20898 * sysdeps/generic/ldsodefs.h: ... here.
20900 2013-03-15 Thomas Schwinge <thomas@codesourcery.com>
20902 * math/libm-test.inc (ldexp_test): Add missing START/END markers.
20904 * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
20906 * math/test-snan.c: Renamed from
20907 sysdeps/powerpc/fpu/test-powerpc-snan.c.
20908 * math/Makefile (tests): Add test-snan.
20909 * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
20912 * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
20913 SUFFIX. Initialize qNaN_var with __builtin_nan family of
20915 (TEST_TRUNC): Add SUFFIX argument. Initialize qNaN_var with
20916 __builtin_nan family of functions.
20917 * math/libm-test.inc (initialize): Initialize qnan_value with
20918 __builtin_nan family of functions.
20919 * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
20921 (init_signaling_nan, snan_float, snan_double, snan_ldouble):
20923 (TEST_FUNC): Add SUFFIX argument. Move sNaN_var into static
20924 storage class. Initialize qNaN_var and sNaN_var with
20925 __builtin_nan and __builtin_nans families of functions,
20928 * math/libm-test.inc (acosh_test): Also test with qNaN input.
20929 (sqrt_test): Remove duplicate test with qNaN input.
20930 (lrint_test, llrint_test, lround_test, llround_test, rint_test)
20931 (round_test, signbit_test, significand_test): Note missing +/-Inf
20932 as well as qNaN tests.
20934 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
20935 qNaN_var. Fix a few strings, too.
20936 * math/libm-test.inc (nan_value): Rename to qnan_value.
20937 * math/gen-libm-test.pl (%beautify): Adjust to that.
20938 * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
20939 * math/test-misc.c (main): Likewise.
20940 * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
20941 to __qnan_bytes, and __qnan_union, respectively.
20942 * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
20944 * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
20945 and lqnanval, respectively.
20946 * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
20947 * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
20948 * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
20949 and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
20951 * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
20952 * math/test-misc.c (main) [__x86_64__]: Enable test for long
20955 * math/test-misc.c (main): Fix copy'n'pastos.
20956 * misc/tst-efgcvt.c (special): Likewise.
20958 * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
20959 Remove declarations.
20961 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
20963 * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
20964 * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
20965 * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
20966 * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
20968 2013-03-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20970 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
20971 macro to return vdso values correctly in IFUNC implementations.
20972 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
20973 Optimization by using IFUNC.
20975 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
20976 Richard Henderson <rth@redhat.com>
20977 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
20979 * Makefile.in (bench): New target.
20980 * NEWS: Mention the benchmark framework.
20981 * Rules (bench): Likewise.
20982 (binaries-bench): Generate binaries for functions to
20984 * benchtests/Makefile: New makefile for benchmark tests.
20985 * benchtests/bench-skeleton.c: New skeleton file for benchmark
20987 * benchtests/exp-inputs: New input file for EXP function.
20988 * benchtests/pow-inputs: New input file for POW function.
20989 * scripts/bench.pl: New script to generate source files for
20990 benchmark programs.
20992 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
20994 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
20995 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
20996 computations on mantissa. Use macros for rounding and
20998 (denorm): Likewise.
20999 (__dbl_mp): Likewise.
21000 (add_magnitudes): Likewise.
21001 (sub_magnitudes): Likewise.
21004 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
21005 powers of two in terms of TWOPOW macro.
21006 (mp_no): Make type of mantissa as MANTISSA_T.
21007 [!RADIXI]: Define RADIXI.
21008 [!TWO52]: Define TWO52.
21009 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
21011 * manual/nptl.texi (cindex): Modify threads to pthreads.
21013 2013-03-15 Joseph Myers <joseph@codesourcery.com>
21015 * sysdeps/x86_64/preconfigure: Regenerated.
21017 2013-03-14 Joseph Myers <joseph@codesourcery.com>
21020 * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
21022 (qzero): Return -0.125 / x for arguments 0x1p28 and above.
21023 * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
21025 (qzero): Return 0.375 / x for arguments 0x1p28 and above.
21026 * math/libm-test.inc (j0_test): Do not allow one spurious
21027 underflow exception.
21028 (y1_test): Likewise.
21030 2013-03-14 Siddhesh Poyarekar <siddhesh@redhat.com>
21032 * manual/Makefile (chapters): Add nptl.
21033 * manual/debug.texi (Debugging Support): Add link to Threads
21035 * manual/nptl.texi: New file.
21037 * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
21039 2013-03-14 Petr Baudis <pasky@ucw.cz>
21041 * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
21042 for non-NULL pointer before the memory validity test. Pointed
21043 out by Holger Brunck <holger.brunck@keymile.com>.
21045 2013-03-13 Andreas Schwab <schwab@suse.de>
21047 * extra-lib.mk (extra-objs): Add static-only-routines as .oS
21050 2013-03-13 Joseph Myers <joseph@codesourcery.com>
21052 * timezone/zic.c: Update from tzcode 2013b.
21054 2013-03-12 Carlos O'Donell <carlos@redhat.com>
21056 * manual/install.texi (Configuring and compiling):
21057 Mention i686 and i586.
21058 * INSTALL: Regenerate.
21060 2013-03-12 Roland McGrath <roland@hack.frob.com>
21062 * sysdeps/init_array/elf-init.c: New file.
21064 (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
21065 (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
21067 * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
21068 __gmon_start__ as global, but as static with a .preinit_array pointer.
21069 * sysdeps/init_array/gmon-start.c: New file. Use that.
21070 * sysdeps/init_array/crti.S: New file, empty except for comments.
21071 * sysdeps/init_array/crtn.S: Likewise.
21073 2013-03-11 Ondřej Bílka <neleai@seznam.cz>
21075 * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
21077 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
21078 Remove Prefer_SSE_for_memop.
21079 * sysdeps/x86_64/multiarch/init-arch.h: Remove
21080 bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
21081 HAS_PREFER_SSE_FOR_MEMOP.
21082 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
21084 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
21085 Remove bzero, memset ifunc support.
21086 * sysdeps/x86_64/multiarch/bzero.S: Remove file.
21087 * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
21088 * sysdeps/x86_64/multiarch/memset.S: Likewise.
21089 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
21091 2013-03-11 Andreas Schwab <schwab@suse.de>
21094 * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
21096 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
21097 (GLIBC_2.16): Remove pthread_atfork.
21099 2013-03-08 Paul Pluzhnikov <ppluzhnikov@google.com>
21101 * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
21102 (ptestcases.h): Likewise.
21104 2013-03-08 Roland McGrath <roland@hack.frob.com>
21106 * Makeconfig ($(common-objpfx)config.status): Depend on
21107 sysdeps/*/preconfigure{,.in} too.
21109 2013-03-08 Joseph Myers <joseph@codesourcery.com>
21111 * malloc/malloc.h (__malloc_ptr_t): Remove macro.
21112 (__free_hook): Use void * instead of __malloc_ptr_t.
21113 (__malloc_hook): Likewise.
21114 (__realloc_hook): Likewise.
21115 (__memalign_hook): Likewise.
21116 (__after_morecore_hook): Likewise.
21117 * malloc/arena.c (save_malloc_hook): Likewise.
21118 (save_free_hook): Likewise.
21119 * malloc/hooks.c (malloc_hook_ini): Likewise.
21120 (realloc_hook_ini): Likewise.
21121 (memalign_hook_ini): Likewise.
21122 * malloc/malloc.c (malloc_hook_ini): Likewise.
21123 (realloc_hook_ini): Likewise.
21124 (memalign_hook_ini): Likewise.
21125 (__free_hook): Likewise.
21126 (__malloc_hook): Likewise.
21127 (__realloc_hook): Likewise.
21128 (__memalign_hook): Likewise.
21129 (__libc_malloc): Likewise.
21130 (__libc_free): Likewise.
21131 (__libc_realloc): Likewise.
21132 (__libc_memalign): Likewise.
21133 (__libc_valloc): Likewise.
21134 (__libc_pvalloc): Likewise.
21135 (__libc_calloc): Likewise.
21136 (__posix_memalign): Likewise.
21137 * malloc/morecore.c (__sbrk): Likewise.
21138 (__default_morecore): Likewise.
21140 * malloc/morecore.c (__default_morecore): Use ISO C prototype.
21142 * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
21143 * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
21144 __malloc_ptrdiff_t.
21146 * malloc/malloc.h (__malloc_size_t): Remove macro.
21147 * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
21149 (old_memalign_hook): Likewise.
21150 (old_realloc_hook): Likewise.
21151 (struct hdr): Likewise.
21153 (mallochook): Likewise.
21154 (memalignhook): Likewise.
21155 (reallochook): Likewise.
21156 * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
21157 (tr_old_realloc_hook): Likewise.
21158 (tr_old_memalign_hook): Likewise.
21159 (tr_mallochook): Likewise.
21160 (tr_reallochook): Likewise.
21161 (tr_memalignhook): Likewise.
21163 2013-03-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21165 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
21166 default_ldbl_pack and using as default implementation.
21167 (ldbl_unpack): Rename to default_ldbl_unpack and using as default
21169 * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
21170 redundant definition.
21171 (ldbl_insert_mantissa): Likewise.
21172 (ldbl_canonicalize): Likewise.
21173 (ldbl_nearbyint): Likewise.
21174 (ldbl_pack): Rename to ldbl_pack_ppc.
21175 (ldbl_unpack): Rename to ldbl_unpack_ppc.
21176 * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
21177 * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
21179 2013-03-08 Siddhesh Poyarekar <siddhesh@redhat.com>
21181 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
21182 * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
21183 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
21184 * sysdeps/powerpc/power4/fpu/Makefile: ... here.
21185 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
21186 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
21187 * sysdeps/powerpc/powerpc32/power4/Implies: New file.
21188 * sysdeps/powerpc/powerpc64/power4/Implies: New file.
21190 2013-03-07 Andreas Jaeger <aj@suse.de>
21192 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
21195 2013-03-07 Siddhesh Poyarekar <siddhesh@redhat.com>
21197 * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
21198 Include mpa.h and declare __MPEXP.
21199 [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
21200 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
21201 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
21202 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
21203 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
21204 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
21205 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
21207 * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
21208 (__slowpow): Use long double EXPL and LOGL functions to
21210 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
21211 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
21212 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
21213 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
21214 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
21215 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
21217 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
21218 intermediate variable to calculate exponent.
21220 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
21224 * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
21225 [!NO__SQR]: Define __sqr.
21226 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
21227 and NO__SQR. Remove all code except __mul and __sqr. Include
21228 sysdeps/ieee754/dbl-64/mpa.c.
21229 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
21232 * posix/Makefile (tests): Add tst-pathconf.
21233 * posix/tst-pathconf.c: New test case.
21234 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
21236 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
21238 2013-03-06 Patsy Franklin <pfrankli@redhat.com>
21240 * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
21242 2013-03-06 Andreas Jaeger <aj@suse.de>
21244 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
21245 definition via __MAP_ANONYMOUS.
21247 * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
21248 it's not part of Linux headers.
21250 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
21251 (MAP_HUGE_MASK): Define.
21253 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
21255 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
21256 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
21258 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
21259 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
21261 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
21262 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
21264 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
21266 * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
21267 * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
21268 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
21269 * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
21270 * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
21271 * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
21273 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
21276 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
21277 Handle f2fs and efivarfs.
21279 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
21282 * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
21283 (EFIVARFS_MAGIC): Add.
21284 (F2FS_LINK_MAX): Add.
21286 2013-03-06 Paul Pluzhnikov <ppluzhnikov@google.com>
21288 * stdio-common/vfprintf.c: Replace __builtin_expect with
21291 2013-03-06 Joseph Myers <joseph@codesourcery.com>
21294 * sysdeps/generic/bp-sym.h: Remove file.
21295 * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
21296 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
21297 <bp-sym.h> and <bp-asm.h>.
21298 (__longjmp): Don't use BP_SYM.
21299 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
21301 (memcpy): Don't use BP_SYM.
21302 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
21303 <bp-sym.h> and <bp-asm.h>.
21304 (memcpy): Don't use BP_SYM.
21305 * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
21307 (memcpy): Don't use BP_SYM.
21308 * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
21310 (memset): Don't use BP_SYM.
21311 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
21312 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
21313 (__bzero): Don't use BP_SYM.
21314 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
21315 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
21316 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
21317 <bp-sym.h> and <bp-asm.h>.
21318 (memcmp): Don't use BP_SYM. Remove comment about bounded
21320 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
21321 <bp-sym.h> and <bp-asm.h>.
21322 (memcpy): Don't use BP_SYM.
21323 * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
21324 <bp-sym.h> and <bp-asm.h>.
21325 (memset): Don't use BP_SYM.
21326 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
21327 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
21328 (__bzero): Don't use BP_SYM.
21329 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
21330 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
21331 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
21332 <bp-sym.h> and <bp-asm.h>.
21333 (strncmp): Don't use BP_SYM. Remove comment about bounded
21335 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
21336 <bp-sym.h> and <bp-asm.h>.
21337 (memcpy): Don't use BP_SYM.
21338 * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
21339 <bp-sym.h> and <bp-asm.h>.
21340 (memset): Don't use BP_SYM.
21341 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
21342 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
21343 (__bzero): Don't use BP_SYM.
21344 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
21345 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
21346 * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
21347 <bp-sym.h> and <bp-asm.h>.
21348 (__memchr): Don't use BP_SYM.
21349 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
21350 <bp-sym.h> and <bp-asm.h>.
21351 (memcmp): Don't use BP_SYM. Remove comment about bounded
21353 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
21354 <bp-sym.h> and <bp-asm.h>.
21355 (memcpy): Don't use BP_SYM.
21356 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
21357 <bp-sym.h> and <bp-asm.h>.
21358 (__mempcpy): Don't use BP_SYM.
21359 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
21360 <bp-sym.h> and <bp-asm.h>.
21361 (__memrchr): Don't use BP_SYM.
21362 * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
21363 <bp-sym.h> and <bp-asm.h>.
21364 (memset): Don't use BP_SYM.
21365 (__bzero): Likewise.
21366 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
21367 <bp-sym.h> and <bp-asm.h>.
21368 (__rawmemchr): Don't use BP_SYM.
21369 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
21370 <bp-sym.h> and <bp-asm.h>.
21371 (__STRCMP): Don't use BP_SYM.
21372 * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
21373 <bp-sym.h> and <bp-asm.h>.
21374 (strchr): Don't use BP_SYM.
21375 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
21376 <bp-sym.h> and <bp-asm.h>.
21377 (__strchrnul): Don't use BP_SYM.
21378 * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
21379 <bp-sym.h> and <bp-asm.h>.
21380 (strlen): Don't use BP_SYM.
21381 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
21382 <bp-sym.h> and <bp-asm.h>.
21383 (strncmp): Don't use BP_SYM. Remove comment about bounded
21385 * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
21386 <bp-sym.h> and <bp-asm.h>.
21387 (__strnlen): Don't use BP_SYM.
21388 * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
21389 <bp-sym.h> and <bp-asm.h>.
21390 (__GI__setjmp): Don't use BP_SYM.
21391 (_setjmp): Likewise.
21392 (__sigsetjmp): Likewise.
21393 * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
21394 (L(start_addresses)): Don't use BP_SYM.
21395 (_start): Likewise.
21396 * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
21398 (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
21399 STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
21400 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
21401 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
21402 * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
21404 (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
21405 CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE. Remove comment
21406 about bounded pointers.
21407 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
21408 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
21409 * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
21411 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
21412 about bounded pointers. Remove GKM FIXME comments.
21413 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
21414 * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
21416 (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
21417 STORE_RETURN_BOUNDS. Remove comment about bounded pointers.
21418 Remove GKM FIXME comments.
21419 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
21420 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
21421 * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
21423 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
21424 about bounded pointers. Remove GKM FIXME comment.
21425 * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
21427 (strncmp): Don't use BP_SYM. Remove comment about bounded
21429 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
21430 <bp-sym.h> and <bp-asm.h>.
21431 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
21432 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
21433 <bp-sym.h> and <bp-asm.h>.
21434 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
21437 2013-03-05 Paul Pluzhnikov <ppluzhnikov@google.com>
21439 * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
21442 2013-03-05 David S. Miller <davem@davemloft.net>
21444 * po/es.po: Update from translation team.
21446 2013-03-05 Andreas Jaeger <aj@suse.de>
21448 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
21449 <bits/mman-linux.h>.
21450 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
21452 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
21453 <bits/mman-linux.h> to end of file.
21454 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
21456 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
21457 <bits/mman-linux.h> to end of file.
21458 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
21460 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
21461 <bits/mman-linux.h> to end of file.
21463 * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
21464 (MCL_CURRENT, MCL_FUTURE): Define here.
21466 2013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
21469 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
21471 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
21473 2013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
21475 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
21476 fourth parameter needed for rt_sigprocmask syscall.
21477 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
21478 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
21479 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
21480 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
21481 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
21482 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
21484 2013-03-04 Joseph Myers <joseph@codesourcery.com>
21487 * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
21488 comment about bounded pointers.
21489 * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
21490 * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
21492 2013-03-04 Andreas Jaeger <aj@suse.de>
21494 * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
21495 common definitions.
21497 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
21498 provided by bits/mman-linux.h and include <bits/mman-linux.h>.
21499 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
21500 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
21501 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
21502 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
21504 2013-03-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21507 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
21508 __ieee754_sqrl instead of __sqrl.
21510 2013-03-01 Joseph Myers <joseph@codesourcery.com>
21512 * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
21513 * sysdeps/powerpc/fpu_control.h: ... here.
21514 * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
21515 * sysdeps/powerpc/bits/fenvinline.h: ... here.
21516 * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
21517 * sysdeps/powerpc/bits/mathinline.h: ... here.
21519 2013-03-01 Roland McGrath <roland@hack.frob.com>
21521 * elf/dl-hwcaps.c (_dl_important_hwcaps):
21522 Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
21523 to just [NEED_DL_SYSINFO_DSO].
21524 * elf/dl-support.c: Likewise.
21525 * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
21526 * elf/rtld.c (dl_main): Likewise.
21527 * elf/setup-vdso.h (setup_vdso): Likewise.
21528 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
21529 * sysdeps/unix/sysv/linux/dl-sysdep.c
21530 (_dl_discover_osversion): Likewise.
21532 2013-03-01 Carlos O'Donell <carlos@redhat.com>
21534 * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
21535 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
21537 2013-03-01 Siddhesh Poyarekar <siddhesh@redhat.com>
21539 * NEWS: Mention libm performance improvements and non-x86 PI
21542 * csu/libc-start.c (__pthread_initialize_minimal): Change
21543 function arguments.
21544 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
21546 2013-02-28 Joseph Myers <joseph@codesourcery.com>
21549 * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
21550 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
21551 <bp-sym.h> and <bp-asm.h>.
21552 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
21553 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
21555 (memcpy): Don't use BP_SYM.
21556 * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
21558 (__mpn_add_n): Don't use BP_SYM.
21559 (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
21560 * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
21562 (__mpn_addmul_1): Don't use BP_SYM.
21563 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
21564 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
21566 (_setjmp): Don't use BP_SYM.
21567 (__novmx_setjmp): Likewise.
21568 (__GI__setjmp): Likewise.
21569 (__vmx_setjmp): Likewise.
21570 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
21572 * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
21573 (__bzero): Don't use BP_SYM.
21574 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
21575 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
21576 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
21577 <bp-sym.h> and <bp-asm.h>.
21578 (memcpy): Don't use BP_SYM.
21579 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
21580 <bp-sym.h> and <bp-asm.h>.
21581 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
21582 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
21583 <bp-sym.h> and <bp-asm.h>.
21584 (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
21585 * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
21587 (__mpn_lshift): Don't use BP_SYM.
21588 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
21589 * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
21591 (memset): Don't use BP_SYM.
21592 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
21593 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
21594 * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
21596 (__mpn_mul_1): Don't use BP_SYM.
21597 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
21598 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
21599 <bp-sym.h> and <bp-asm.h>.
21600 (memcmp): Don't use BP_SYM.
21601 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
21602 <bp-sym.h> and <bp-asm.h>.
21603 (memcpy): Don't use BP_SYM.
21604 * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
21605 <bp-sym.h> and <bp-asm.h>.
21606 (memset): Don't use BP_SYM.
21607 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
21608 <bp-sym.h> and <bp-asm.h>.
21609 (strncmp): Don't use BP_SYM.
21610 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
21611 <bp-sym.h> and <bp-asm.h>.
21612 (memcpy): Don't use BP_SYM.
21613 * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
21614 <bp-sym.h> and <bp-asm.h>.
21615 (memset): Don't use BP_SYM.
21616 * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
21617 <bp-sym.h> and <bp-asm.h>.
21618 (__memchr): Don't use BP_SYM.
21619 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
21620 <bp-sym.h> and <bp-asm.h>.
21621 (memcmp): Don't use BP_SYM.
21622 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
21623 <bp-sym.h> and <bp-asm.h>.
21624 (memcpy): Don't use BP_SYM.
21625 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
21626 <bp-sym.h> and <bp-asm.h>.
21627 (__mempcpy): Don't use BP_SYM.
21628 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
21629 <bp-sym.h> and <bp-asm.h>.
21630 (__memrchr): Don't use BP_SYM.
21631 * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
21632 <bp-sym.h> and <bp-asm.h>.
21633 (memset): Don't use BP_SYM.
21634 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
21635 <bp-sym.h> and <bp-asm.h>.
21636 (__rawmemchr): Don't use BP_SYM.
21637 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
21638 <bp-sym.h> and <bp-asm.h>.
21639 (__STRCMP): Don't use BP_SYM.
21640 * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
21641 <bp-sym.h> and <bp-asm.h>.
21642 (strchr): Don't use BP_SYM.
21643 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
21644 <bp-sym.h> and <bp-asm.h>.
21645 (__strchrnul): Don't use BP_SYM.
21646 * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
21647 <bp-sym.h> and <bp-asm.h>.
21648 (strlen): Don't use BP_SYM.
21649 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
21650 <bp-sym.h> and <bp-asm.h>.
21651 (strncmp): Don't use BP_SYM.
21652 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
21653 <bp-sym.h> and <bp-asm.h>.
21654 (__strnlen): Don't use BP_SYM.
21655 * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
21657 (__mpn_rshift): Don't use BP_SYM.
21658 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
21659 * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
21660 <bp-sym.h> and <bp-asm.h>.
21661 (__sigsetjmp): Don't use BP_SYM.
21662 * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
21663 (L(start_addresses)): Don't use BP_SYM.
21664 (_start): Likewise.
21665 * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
21667 (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
21668 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
21669 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
21670 * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
21672 (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
21673 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
21674 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
21675 * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
21677 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
21679 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
21680 * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
21682 (strcpy): Don't use BP_SYM and macros from bp-asm.h. Remove GKM
21684 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
21685 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
21686 * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
21688 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
21690 * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
21692 (strncmp): Don't use BP_SYM,
21693 * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
21695 (__mpn_sub_n): Don't use BP_SYM.
21696 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
21697 * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
21699 (__mpn_submul_1): Don't use BP_SYM.
21700 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
21701 * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
21702 <bp-sym.h> and <bp-asm.h>.
21703 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
21704 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
21705 <bp-sym.h> and <bp-asm.h>.
21706 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
21709 2013-02-28 Siddhesh Poyarekar <siddhesh@redhat.com>
21711 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
21712 Use ZK to minimize writes to Z.
21713 (sub_magnitudes): Simplify code a bit.
21714 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
21715 Use ZK to minimize writes to Z.
21716 (sub_magnitudes): Simplify code a bit.
21718 2013-02-27 Roland McGrath <roland@hack.frob.com>
21720 * csu/gmon-start.c: Add special exception to license text.
21722 2013-02-27 Richard Henderson <rth@redhat.com>
21724 * scripts/config.guess: Update from config.git.
21725 * scripts/config.sub: Likewise.
21727 2013-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
21729 * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
21731 * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
21733 * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
21735 * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
21737 * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
21739 2013-02-26 Roland McGrath <roland@hack.frob.com>
21741 * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
21742 [$(build-shared = yes].
21744 2013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
21746 * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
21747 (__mul): Reduce iterations for calculating mantissa.
21749 * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
21751 (__mpranred): Likewise.
21754 * malloc/memusagestat.c (main): Draw graphs for heap and stack
21755 only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
21757 2013-02-26 Paul Eggert <eggert@cs.ucla.edu>
21759 * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
21760 Define __attribute__.
21762 2013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
21764 * locale/elem-hash.h (elem_hash): Mark as pure and possibly
21766 * posix/regex_internal.h (__attribute): Remove.
21767 [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
21768 (re_string_context_at): Likewise.
21769 (bitset_not): Use __attribute__ and mark function as possibly
21771 (bitset_merge): Likewise.
21772 (bitset_mask): Likewise.
21773 (re_string_char_size_at): Likewise.
21774 (re_string_wchar_at): Likewise.
21775 (re_string_elem_size_at): Likewise.
21777 2013-02-25 Siddhesh Poyarekar <siddhesh@redhat.com>
21779 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
21783 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
21787 (denorm): Likewise.
21788 (__dbl_mp): Likewise.
21789 (add_magnitudes): Likewise.
21790 (sub_magnitudes): Likewise.
21794 * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
21797 * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
21800 * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
21803 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
21804 up changes with default code.
21805 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
21808 2013-02-24 Allan McRae <allan@archlinux.org>
21810 * manual/socket.texi (The Internet Namespace): Order menu items
21811 to match that in the file.
21813 * manual/libc-texinfo.sh: Use @detailmenu around the detailed
21814 node listing of the info page menu.
21816 2013-02-21 Joseph Myers <joseph@codesourcery.com>
21819 * sysdeps/i386/bp-asm.h: Remove file.
21820 * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
21821 (PARMS): Do not use macros from bp-asm.h.
21825 (__mpn_add_n): Do not use BP_SYM
21826 * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
21828 (PARMS): Do not use macros from bp-asm.h.
21831 (__mpn_addmul_1): Do not use BP_SYM
21832 * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
21834 (PARMS): Do not use macros from bp-asm.h.
21835 (SIGMSK): Likewise.
21836 (_setjmp): Likewise. Do not use BP_SYM.
21837 * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
21839 (PARMS): Do not use macros from bp-asm.h.
21840 (SIGMSK): Likewise.
21841 (setjmp): Likewise. Do not use BP_SYM.
21842 * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
21844 (PARMS): Do not use macros from bp-asm.h.
21845 (__frexp): Do not use BP_SYM.
21847 * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
21849 (PARMS): Do not use macros from bp-asm.h.
21850 (__frexpf): Do not use BP_SYM.
21851 (frexpf): Likewise.
21852 * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
21854 (PARMS): Do not use macros from bp-asm.h.
21855 (__frexpl): Do not use BP_SYM.
21856 (frexpl): Likewise.
21857 * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
21859 (PARMS): Do not use macros from bp-asm.h.
21860 (__remquo): Do not use BP_SYM.
21861 (remquo): Likewise.
21862 * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
21864 (PARMS): Do not use macros from bp-asm.h.
21865 (__remquof): Do not use BP_SYM.
21866 (remquof): Likewise.
21867 * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
21869 (PARMS): Do not use macros from bp-asm.h.
21870 (__remquol): Do not use BP_SYM.
21871 (remquol): Likewise.
21872 * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
21874 (PARMS): Do not use macros from bp-asm.h.
21877 (strcat): Remove GKM FIXME comment. Do not use BP_SYM.
21878 * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
21880 (PARMS): Do not use macros from bp-asm.h.
21881 (strlen): Do not use BP_SYM.
21882 * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
21884 (PARMS): Do not use macros from bp-asm.h.
21888 (__mpn_add_n): Do not use BP_SYM.
21889 * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
21891 (PARMS): Do not use macros from bp-asm.h.
21894 (__mpn_addmul_1): Do not use BP_SYM.
21895 * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
21898 * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
21900 (PARMS): Do not use macros from bp-asm.h.
21903 (__mpn_lshift): Do not use BP_SYM.
21904 * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
21906 (PARMS): Do not use macros from bp-asm.h.
21910 (memcpy): Likewise. Do not use BP_SYM.
21911 * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
21912 libc_hidden_def and weak_alias.
21913 (mempcpy): Do not use BP_SYM in weak_alias.
21914 * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
21916 (PARMS): Do not use macros from bp-asm.h.
21919 [!BZERO_P] (CHR): Likewise.
21920 (memset): Likewise. Do not use BP_SYM.
21921 * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
21923 (PARMS): Do not use macros from bp-asm.h.
21926 (__mpn_mul_1): Do not use BP_SYM.
21927 * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
21929 (PARMS): Do not use macros from bp-asm.h.
21932 (__mpn_rshift): Do not use BP_SYM.
21933 * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
21935 (PARMS): Do not use macros from bp-asm.h.
21938 (strchr): Likewise. Do not use BP_SYM.
21939 (index): Do not use BP_SYM in weak_alias.
21940 * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
21942 (PARMS): Do not use macros from bp-asm.h.
21945 (STRCPY): Likewise. Remove GKM FIXME comment. Do not use BP_SYM.
21946 * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
21948 (PARMS): Do not use macros from bp-asm.h.
21949 (strlen): Do not use BP_SYM.
21950 * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
21952 (PARMS): Do not use macros from bp-asm.h.
21956 (__mpn_sub_n): Do not use BP_SYM.
21957 * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
21959 (PARMS): Do not use macros from bp-asm.h.
21962 (__mpn_submul_1): Do not use BP_SYM.
21963 * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
21965 (PARMS): Do not use macros from bp-asm.h.
21969 (__mpn_add_n): Do not use BP_SYM.
21970 * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
21973 * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
21975 (PARMS): Do not use macros from bp-asm.h.
21978 (memcmp): Do not use BP_SYM.
21979 (bcmp): Do not use BP_SYM in weak_alias.
21980 * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
21982 (PARMS): Do not use macros from bp-asm.h.
21986 (memcpy): Likewise. Do not use BP_SYM.
21987 * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
21989 (PARMS): Do not use macros from bp-asm.h.
21993 (memmove): Likewise. Do not use BP_SYM.
21994 * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
21996 (PARMS): Do not use macros from bp-asm.h.
22000 (__mempcpy): Likewise. Do not use BP_SYM.
22001 (mempcpy): Do not use BP_SYM in weak_alias.
22002 * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
22004 (PARMS): Do not use macros from bp-asm.h.
22007 [!BZERO_P] (CHR): Likewise.
22008 (memset): Likewise. Do not use BP_SYM.
22009 * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
22011 (PARMS): Do not use macros from bp-asm.h.
22013 (strcmp): Do not use BP_SYM.
22014 * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
22016 (PARMS): Do not use macros from bp-asm.h.
22019 [USE_AS_STRTOK_R] (SAVE): Likewise.
22020 (FUNCTION): Likewise. Do not use BP_SYM.
22021 * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
22023 (strtok_r): Likewise.
22024 (__GI___strtok_r): Likewise.
22025 * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
22026 (PARMS): Do not use macros from bp-asm.h.
22029 (__mpn_lshift): Do not use BP_SYM.
22030 * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
22031 (PARMS): Do not use macros from bp-asm.h.
22034 (__memchr): Do not use BP_SYM.
22035 (memchr): Do not use BP_SYM in weak_alias.
22036 * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
22037 (PARMS): Do not use macros from bp-asm.h.
22040 (memcmp): Do not use BP_SYM.
22041 (bcmp): Do not use BP_SYM in weak_alias.
22042 * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
22043 (PARMS): Do not use macros from bp-asm.h.
22046 (__mpn_mul_1): Do not use BP_SYM.
22047 * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
22049 (PARMS): Do not use macros from bp-asm.h.
22052 (__rawmemchr): Do not use BP_SYM.
22053 (rawmemchr): Do not use BP_SYM in weak_alias.
22054 * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
22055 (PARMS): Do not use macros from bp-asm.h.
22058 (__mpn_rshift): Do not use BP_SYM.
22059 * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
22060 (PARMS): Do not use macros from bp-asm.h.
22061 (SIGMSK): Likewise.
22062 (__sigsetjmp): Likewise. Do not use BP_SYM.
22063 * sysdeps/i386/start.S: Do not include "bp-sym.h".
22064 (_start): Do not use BP_SYM.
22065 * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
22066 (PARMS): Do not use macros from bp-asm.h.
22069 (__stpcpy): Likewise. Do not use BP_SYM.
22070 (stpcpy): Do not use BP_SYM in weak_alias.
22071 * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
22073 (PARMS): Do not use macros from bp-asm.h.
22077 (__stpncpy): Likewise. Do not use BP_SYM.
22078 (stpncpy): Do not use BP_SYM in weak_alias.
22079 * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
22080 (PARMS): Do not use macros from bp-asm.h.
22083 (strchr): Likewise. Do not use BP_SYM.
22084 * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
22086 (PARMS): Do not use macros from bp-asm.h.
22089 (__strchrnul): Likewise. Do not use BP_SYM.
22090 (strchrnul): Do not use BP_SYM in weak_alias.
22091 * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
22093 (PARMS): Do not use macros from bp-asm.h.
22095 (strcspn): Do not use BP_SYM.
22096 * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
22098 (PARMS): Do not use macros from bp-asm.h.
22101 (strpbrk): Likewise. Do not use BP_SYM.
22102 * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
22104 (PARMS): Do not use macros from bp-asm.h.
22107 (strrchr): Likewise. Do not use BP_SYM.
22108 * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
22109 (PARMS): Do not use macros from bp-asm.h.
22111 (strspn): Do not use BP_SYM.
22112 * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
22113 (PARMS): Do not use macros from bp-asm.h.
22117 (FUNCTION): Likewise. Do not use BP_SYM.
22118 * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
22120 (strtok_r): Likewise.
22121 (__GI___strtok_r): Likewise.
22122 * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
22123 (PARMS): Do not use macros from bp-asm.h.
22127 (__mpn_sub_n): Do not use BP_SYM.
22128 * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
22130 (PARMS): Do not use macros from bp-asm.h.
22133 (__mpn_submul_1): Do not use BP_SYM.
22134 * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
22136 * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
22138 (PARMS): Do not use macros from bp-asm.h.
22143 (__clone): Do not use BP_SYM.
22144 (clone): Do not use BP_SYM in weak_alias.
22145 * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
22147 (PARMS): Do not use macros from bp-asm.h.
22149 (__mmap64): Do not use BP_SYM.
22150 (mmap64): Do not use BP_SYM in weak_alias.
22151 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
22152 <bp-sym.h> and <bp-asm.h>.
22153 (PARMS): Do not use macros from bp-asm.h.
22154 (__posix_fadvise64_l64): Do not use BP_SYM.
22155 * sysdeps/unix/sysv/linux/i386/semtimedop.S
22156 (PARMS): Do not use macros from bp-asm.h.
22158 (semtimedop): Do not use BP_SYM.
22159 * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
22162 2013-02-21 Allan McRae <allan@archlinux.org>
22164 * manual/message.texi (Charset conversion in gettext):
22165 Move @end statement to beginning of line.
22167 2013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
22169 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
22171 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
22174 * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
22175 (denorm): Likewise.
22176 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
22177 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
22179 2013-02-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
22181 * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
22182 tail-call to the resolved function if pltexit isn't needed.
22184 2013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
22186 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
22187 or Y being zero as being unlikely.
22188 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
22191 2013-02-20 Carlos O'Donell <carlos@redhat.com>
22193 * manual/nss.texi (System Databases and Name Service Switch):
22194 Remove frobnicate @pxref.
22196 2013-02-20 Thomas Schwinge <thomas@codesourcery.com>
22198 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
22199 __attribute__ ((unused)) to __attribute__ ((__unused__)).
22201 2013-02-20 Petr Machata <pmachata@redhat.com>
22203 * elf/elf.h (R_ARM_TARGET1): New macro.
22204 (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
22205 (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
22206 (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
22207 (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
22208 (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
22209 (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
22210 (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
22211 (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
22212 (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
22213 (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
22214 (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
22215 (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
22216 (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
22217 (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
22218 (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
22219 (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
22220 (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
22221 (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
22222 (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
22223 (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
22224 (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
22225 (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
22226 (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
22227 (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
22228 (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
22229 (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
22230 (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
22231 (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
22232 (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
22233 (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
22234 (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
22235 (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
22236 (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
22237 (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
22238 (R_ARM_THM_GOT_BREL12): Likewise.
22239 (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
22240 (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
22241 (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
22242 (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
22243 (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
22244 (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
22245 (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
22246 (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
22247 (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
22249 2013-02-20 Thomas Schwinge <thomas@codesourcery.com>
22251 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
22252 __attribute_used__ to __attribute__ ((unused)).
22254 2013-02-20 Siddhesh Poyarekar <siddhesh@redhat.com>
22256 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
22258 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
22259 comment formatting.
22260 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
22262 2013-02-19 Joseph Myers <joseph@codesourcery.com>
22265 * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
22267 (ENTER): Remove both macro definitions.
22269 (CHECK_BOUNDS_LOW): Likewise.
22270 (CHECK_BOUNDS_HIGH): Likewise.
22271 (CHECK_BOUNDS_BOTH): Likewise.
22272 (CHECK_BOUNDS_BOTH_WIDE): Likewise.
22273 (RETURN_BOUNDED_POINTER): Likewise.
22274 (RETURN_NULL_BOUNDED_POINTER): Likewise.
22275 (PUSH_ERRNO_LOCATION_RETURN): Likewise.
22276 (POP_ERRNO_LOCATION_RETURN): Likewise.
22277 * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
22278 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
22279 * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
22281 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
22282 * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
22283 * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
22284 * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
22285 * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
22286 * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
22287 * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
22288 * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
22289 * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
22290 * sysdeps/i386/i486/strcat.S (strcat): Likewise.
22291 * sysdeps/i386/i486/strlen.S (strlen): Likewise.
22292 * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
22293 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
22294 * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
22296 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
22297 * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
22299 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
22300 * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
22301 * sysdeps/i386/i586/memset.S (memset): Likewise.
22302 * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
22303 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
22304 * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
22306 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
22307 * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
22308 Change uses of L(2) to L(out).
22309 * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
22310 * sysdeps/i386/i586/strlen.S (strlen): Likewise.
22311 * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
22312 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
22313 * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
22315 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
22316 * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
22318 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
22319 * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
22320 (RETURN): Do not use macro LEAVE.
22321 * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
22322 * sysdeps/i386/i686/memmove.S (memmove): Likewise.
22323 * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
22324 * sysdeps/i386/i686/memset.S (memset): Likewise.
22325 * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
22326 (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
22327 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
22328 * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
22330 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
22331 (FUNCTION): Do not use removed macros. Combine labels L(1_1),
22332 L(1_2) and L(1_3) into L(1).
22333 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
22334 * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
22335 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
22336 * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
22337 (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
22338 * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
22339 * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
22340 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
22341 * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
22343 * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
22344 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
22345 * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
22346 * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
22347 * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
22348 (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
22349 * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
22350 * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
22351 * sysdeps/i386/strcspn.S (strcspn): Likewise.
22352 * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
22353 * sysdeps/i386/strrchr.S (strrchr): Likewise.
22354 * sysdeps/i386/strspn.S (strspn): Likewise.
22355 * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
22357 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
22358 (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
22359 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
22360 (FUNCTION): Do not use removed macros. Combine labels L(1_2) and
22361 L(1_3) into L(1_1).
22362 * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
22363 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
22364 * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
22366 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
22368 2013-02-19 Jakub Jelinek <jakub@redhat.com>
22370 * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
22373 2013-02-19 Siddhesh Poyarekar <siddhesh@redhat.com>
22375 * math/atest-exp.c (exp_mpn): Remove ROUND.
22376 * math/atest-exp2.c (exp_mpn): Likewise.
22377 * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
22379 * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
22380 * stdlib/tst-tls-atexit-lib.c: Likewise.
22381 * stdlib/tst-tls-atexit.c: Likewise.
22383 2013-02-18 Mike Frysinger <vapier@gentoo.org>
22385 * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
22386 and __attribute_alloc_size__.
22388 2013-02-18 Mike Frysinger <vapier@gentoo.org>
22390 * include/programs/xmalloc.h: Change __attribute_alloc_size to
22391 __attribute_alloc_size__.
22392 * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
22393 * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
22395 2013-02-18 Mike Frysinger <vapier@gentoo.org>
22397 * include/programs/xmalloc.h: New file.
22398 * catgets/gencat.c: Include it.
22399 (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
22400 * elf/pldd.c: Likewise.
22401 * iconv/iconv_charmap.c: Likewise.
22402 * iconv/iconvconfig.c: Likewise.
22403 * iconv/strtab.c: Likewise.
22404 * locale/programs/locale.c: Likewise.
22405 * locale/programs/localedef.h: Likewise.
22406 * locale/programs/simple-hash.c: Likewise.
22407 * nscd/nscd.h: Likewise.
22408 * nss/makedb.c: Likewise.
22409 * sysdeps/generic/ldconfig.h: Likewise.
22411 2013-02-18 Siddhesh Poyarekar <siddhesh@redhat.com>
22413 * Versions.def: Add GLIBC_2.18.
22414 * include/link.h (struct link_map): New member l_tls_dtor_count.
22415 * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
22416 (__call_tls_dtors): Likewise.
22417 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
22418 __cxa_thread_atexit_impl.
22419 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
22421 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
22423 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
22425 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
22427 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
22428 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
22430 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
22432 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
22433 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
22435 * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
22436 (tests): Add test case tst-tls-atexit.
22437 (modules-names): Add shared library for tst-tls-atexit.
22438 * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
22439 (GLIBC_PRIVATE): Add __call_tls_dtors.
22440 * stdlib/cxa_thread_atexit_impl.c: New file with helper function
22442 * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
22443 * stdlib/tst-tls-atexit.c: New test case.
22444 * stdlib/tst-tls-atexit-lib.c: New test case.
22446 * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
22448 * elf/Versions (ld): Add _dl_find_dso_for_object.
22449 * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
22450 * elf/dl-open.c (_dl_find_dso_for_object): New function.
22451 (dl_open_worker): Use _dl_find_dso_for_object.
22452 * elf/dl-sym.c (do_sym): Likewise.
22453 * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
22455 2013-02-18 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
22457 * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
22458 Syntactic changes only.
22459 (_dl_runtime_profile): Do a tail-call to the resolved function.
22461 2013-02-17 Joseph Myers <joseph@codesourcery.com>
22464 * sysdeps/x86_64/bp-asm.h: Remove file.
22465 * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
22466 <bp-sym.h> and <bp-asm.h>.
22467 (__clone): Do not use BP_SYM.
22468 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
22469 <bp-sym.h> and <bp-asm.h>.
22470 * sysdeps/unix/x86_64/sysdep.S: Likewise.
22471 * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
22473 (_setjmp): Do not use BP_SYM.
22474 * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
22476 (setjmp): Do not use BP_SYM.
22477 * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
22479 (mempcpy): Do not use BP_SYM in weak_alias.
22480 * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
22482 (strchr): Do not use BP_SYM.
22483 * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
22485 * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
22486 * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
22487 (_start): Do not use BP_SYM.
22488 * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
22490 (strcat): Do not use BP_SYM.
22491 * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
22493 (STRCMP): Do not use BP_SYM.
22494 * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
22496 (STRCPY): Do not use BP_SYM.
22497 * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
22499 * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
22501 (FUNCTION): Do not use BP_SYM.
22502 * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
22504 (__GI___strtok_r): Do not use BP_SYM in strong_alias.
22506 2013-02-17 Andreas Jaeger <aj@suse.de>
22508 * time/Versions: Sort entries.
22509 * string/Versions: Likewise.
22510 * resolv/Versions: Likewise.
22511 * posix/Versions: Likewise.
22512 * iconv/Versions: Likewise.
22513 * elf/Versions: Likewise.
22514 * wcsmbs/Versions: Likewise.
22516 2013-02-15 Siddhesh Poyarekar <siddhesh@redhat.com>
22518 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
22519 loop termination condition.
22521 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
22522 variable to calculate EZ.
22525 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
22526 the lower precision input.
22528 2013-02-15 Joseph Myers <joseph@codesourcery.com>
22531 * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
22532 [!link-extra-libs] (link-extra-libs-bounded): Likewise.
22533 (run-via-rtld-prefix): Do not handle %-bp tests.
22534 (test-via-rtld-prefix): Do not mention %-bp tests in comment.
22535 (all-object-suffixes): Remove .ob.
22536 (bppfx): Remove variable.
22537 [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
22538 [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
22539 [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
22540 [$(build-bounded) = yes] (libtype.ob): Likewise.
22541 * Makerules (elide-routines.ob): Remove variable.
22542 (do-tests-clean): Do not handle *-bp.out.
22543 (common-mostlyclean): Do not handle *-bp and *-bp.out.
22544 * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
22545 [$(build-bounded) = yes] (xtests-bp.out): Likewise.
22546 (tests): Do not include $(tests-bp.out).
22547 (xtests): Do not include $(xtests-bp.out).
22548 [$(build-bounded) = yes] (binaries-bounded): Remove variable.
22549 [$(build-bounded) = yes] ($(addprefix
22550 $(objpfx),$(binaries-bounded))): Remove rule.
22551 ($(objpfx)%-bp.out): Remove rule.
22552 * config.make.in (build-bounded): Remove variable.
22553 * crypt/Makefile [$(build-bounded) = yes]
22554 ($(tests:%=$(objpfx)%-bp)): Remove dependency.
22555 * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
22556 append to variable.
22557 [$(build-bounded) = yes] (install-lib): Likewise.
22558 [$(build-bounded) = yes] (generated): Likewise.
22559 [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
22561 * intl/Makefile [$(build-bounded) = yes]
22562 ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
22563 * math/Makefile [$(build-bounded) = yes]
22564 ($(tests:%=$(objpfx)%-bp): Likewise.
22565 * misc/Makefile [$(build-bounded) = yes]
22566 ($(objpfx)tst-tsearch-bp): Likewise.
22567 * nptl/Makeconfig (bounded-thread-library): Remove variable.
22568 * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
22570 * string/Makefile (o-objects.ob): Remove variable.
22571 * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
22572 (CFLAGS-.ob): Remove variable.
22573 [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
22574 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
22575 both definitions of variable.
22576 * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
22577 (ASFLAGS-.ob): Remove variable.
22579 2013-02-14 Joseph Myers <joseph@codesourcery.com>
22582 * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
22583 Remove __BOUNDED_POINTERS__ from condition.
22584 * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
22585 * string/bits/string2.h [!__NO_STRING_INLINES &&
22586 !__BOUNDED_POINTERS__]: Likewise.
22587 * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
22589 * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
22590 Remove conditional code.
22591 * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
22592 __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
22593 !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
22597 * csu/libc-start.c: Do not include <bp-sym.h>.
22598 [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
22599 * elf/dl-open.c: Do not include <bp-sym.h>.
22600 (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
22601 * math/fegetenv.c: Do not include <bp-sym.h>.
22602 (fegetenv): Do not use BP_SYM in versioned symbols.
22603 * nptl/sysdeps/pthread/bits/libc-lockP.h
22604 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
22606 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
22607 (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
22608 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
22609 (__pthread_mutex_destroy): Likewise.
22610 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
22611 (__pthread_mutex_lock): Likewise.
22612 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
22613 (__pthread_mutex_trylock): Likewise.
22614 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
22615 (__pthread_mutex_unlock): Likewise.
22616 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
22617 (__pthread_mutexattr_init): Likewise.
22618 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
22619 (__pthread_mutexattr_destroy): Likewise.
22620 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
22621 (__pthread_mutexattr_settype): Likewise.
22622 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
22623 (__pthread_rwlock_init): Likewise.
22624 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
22625 (__pthread_rwlock_destroy): Likewise.
22626 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
22627 (__pthread_rwlock_rdlock): Likewise.
22628 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
22629 (__pthread_rwlock_tryrdlock): Likewise.
22630 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
22631 (__pthread_rwlock_wrlock): Likewise.
22632 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
22633 (__pthread_rwlock_trywrlock): Likewise.
22634 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
22635 (__pthread_rwlock_unlock): Likewise.
22636 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
22637 (__pthread_key_create): Likewise.
22638 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
22639 (__pthread_setspecific): Likewise.
22640 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
22641 (__pthread_getspecific): Likewise.
22642 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
22644 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
22645 (_pthread_cleanup_push_defer): Likewise.
22646 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
22647 (_pthread_cleanup_pop_restore): Likewise.
22648 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
22649 (pthread_setcancelstate): Likewise.
22650 * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
22652 [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
22653 (memchr): Do not use BP_SYM in weak_alias.
22654 * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
22655 (fegetenv): Do not use BP_SYM in versioned symbols.
22656 * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
22657 (fesetenv): Do not use BP_SYM in versioned symbols.
22658 * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
22659 (feupdateenv): Do not use BP_SYM in versioned symbols.
22660 * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
22661 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
22662 * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
22663 (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
22664 (open64): Do not use BP_SYM in weak_alias.
22665 * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
22666 (fegetenv): Do not use BP_SYM in versioned symbols.
22667 * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
22668 (fesetenv): Do not use BP_SYM in versioned symbols.
22669 * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
22670 (feupdateenv): Do not use BP_SYM in versioned symbols.
22671 * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
22672 (fegetexceptflag): Do not use BP_SYM in versioned symbols.
22673 * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
22674 (feraiseexcept): Do not use BP_SYM in versioned symbols.
22675 * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
22676 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
22677 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
22679 (__libc_start_main): Do not use BP_SYM.
22681 2013-02-14 Siddhesh Poyarekar <siddhesh@redhat.com>
22683 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
22684 redundant return line.
22686 (denorm): Likewise.
22687 (dbl_mp): Likewise.
22688 (sub_magnitudes): Likewise.
22694 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
22696 (denorm): Likewise.
22697 (dbl_mp): Likewise.
22698 (sub_magnitudes): Likewise.
22705 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
22707 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
22708 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
22711 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
22712 * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
22713 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
22714 of __mul for squares.
22715 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
22717 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
22719 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
22720 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
22722 2013-02-13 Joseph Myers <joseph@codesourcery.com>
22725 * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
22727 * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
22728 prototype or function definition. Rename ubp_* variables and
22729 parameters. Remove argv definitions conditional on
22730 [__BOUNDED_POINTERS__].
22731 * debug/backtrace.c (__backtrace): Do not use __unbounded.
22732 * elf/dl-runtime.c (_dl_fixup): Likewise.
22733 * include/set-hooks.h (RUN_HOOK): Likewise.
22734 * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
22736 * string/strcpy.c (strcpy): Do not use __unbounded.
22737 * sysdeps/generic/frame.h (struct layout): Likewise.
22738 * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
22739 * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
22740 * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
22741 * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
22742 * sysdeps/sparc/backtrace.c (struct layout): Likewise.
22743 (__backtrace): Likewise.
22744 * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
22746 * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
22747 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
22748 * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
22750 * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
22751 * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
22752 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
22753 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
22754 * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
22755 Do not use __unbounded.
22756 * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
22757 Rename __unboundedrlimits parameter to rlimits in prototype.
22758 * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
22759 Do not use __unbounded.
22760 * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
22761 not use __ptrvalue.
22762 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
22763 * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
22764 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
22765 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
22766 __ptrvalue or __unbounded.
22767 (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
22768 * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
22770 (__new_msgctl): Do not use __ptrvalue.
22771 * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
22773 (__libc_msgrcv): Do not use __ptrvalue.
22774 * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
22775 startup_info): Do not use __unbounded.
22776 (__libc_start_main): Likewise. Rename ubp_* variables and
22777 parameters. Remove argv definitions conditional on
22778 [__BOUNDED_POINTERS__].
22779 * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
22781 * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
22783 * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
22785 * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
22787 (__new_shmctl): Do not use __ptrvalue.
22788 * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
22789 * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
22791 * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
22792 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
22793 (__libc_sigaction): Likewise.
22794 * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
22795 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
22797 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
22799 2013-02-13 Ondřej Bílka <neleai@seznam.cz>
22801 * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
22803 * string/mempcpy.c: Implement by calling memcpy.
22805 2013-02-13 Siddhesh Poyarekar <siddhesh@redhat.com>
22807 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
22809 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
22812 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
22813 values in the mantissa.
22815 * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
22816 minimize writes to Z.
22817 (sub_magnitudes): Simplify code a bit.
22819 2013-02-12 Roland McGrath <roland@hack.frob.com>
22821 * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
22822 from the message. The linker prefixes all warnings with that already.
22824 2013-02-12 Andreas Schwab <schwab@suse.de>
22827 * posix/regexec.c (extend_buffers): Add parameter min_len.
22828 (check_matching): Pass minimum needed length.
22829 (clean_state_log_if_needed): Likewise.
22830 (get_subexp): Likewise.
22831 * posix/Makefile (tests): Add bug-regex34.
22832 (bug-regex34-ENV): Define.
22833 * posix/bug-regex34.c: New file.
22836 * posix/regcomp.c (parse_bracket_exp): When looking up collating
22837 elements compare against the byte sequence of it, not its name.
22838 * posix/Makefile (tests): Add bug-regex35.
22839 (bug-regex35-ENV): Define.
22840 * posix/bug-regex35.c: New file.
22842 2013-02-11 Tom de Vries <tom@codesourcery.com>
22844 * string/str-two-way.h: Fix typo RESULT_TYPE -> RETURN_TYPE in
22846 Add RET0_IF_0 and CHECK_EOL to macro list in comment.
22847 (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
22848 (CHECK_EOL): Add undef.
22850 2013-02-11 Ondřej Bílka <neleai@seznam.cz>
22852 * bits/stdlib-bsearch.h: New file.
22853 * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
22854 * stdlib/stdlib.h: Likewise.
22856 2013-02-11 Roland McGrath <roland@hack.frob.com>
22858 * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
22859 * manual/errno.texi (Error Messages): Fix typo in error_print_progname
22861 * manual/search.texi (Array Search Function): Add missing const in
22863 * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
22864 declaration to use rlim_t.
22865 (Basic Scheduling Functions): Remove erroneous const from
22866 sched_getparam prototype. Remove erroneous * from
22867 sched_get_priority_max and sched_get_priority_min prototypes.
22868 (Resource Usage): Fix summary @comment on vtimes to refer to
22869 sys/vtimes.h rather than vtimes.h.
22870 Add missing *s in vtimes prototype.
22871 (Limits on Resources): Fix ulimit prototype to return long int.
22872 * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
22873 prototypes to use long int rather than double.
22874 (BSD Random): Fix initstate and setstate to use char *, not void *.
22875 * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
22876 prototype to make second argument 'struct aiocb64 *const[]'.
22877 Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
22878 (Status of AIO Operations): Remove erroneous const in aio_return and
22879 aio_return64 prototypes.
22880 (Synchronizing I/O): Fix sync prototype to return void.
22881 * manual/startup.texi (Suboptions): Remove an erroneous const in
22882 getsubopt prototype.
22883 * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
22884 * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
22885 use size_t rather than int.
22886 (Scanning All Users): Likewise for getpwent_r.
22887 (Setting Groups): Add missing const to setgroups prototype.
22888 * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
22889 * manual/socket.texi (Host Names): Fix gethostbyaddr and
22890 gethostbyaddr_r prototypes to use socklen_t rather than size_t and
22891 'const void *' rather than 'const char *'.
22892 (Host Address Functions): Likewise for inet_ntop.
22893 (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
22894 (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
22895 ssize_t for return value.
22896 (Sending Data): Likewise for send, sendto, sendmsg.
22897 (Socket Option Functions): Add a missing const in setsockopt prototype.
22898 * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
22899 use wchar_t for the argument.
22900 (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
22901 * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
22903 (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
22904 double/float/long double for second argument.
22905 Fix return types of significand, significandf, significandl.
22906 * manual/filesys.texi (Setting Permissions): Use mode_t for second
22907 argument in fchmod prototype.
22908 (File Owner): Use uid_t and gid_t in fchown prototype.
22909 (File Times): Add const to utimes, futimes, and lutimes prototypes.
22910 (Making Special Files): Use mode_t and dev_t in mknod prototype.
22911 (Scanning Directory Content): Fix scandir and scandir64 prototypes to
22912 use 'const struct dirent **' as argument types to CMP function pointer
22914 (Symbolic Links): Fix readlink prototype with ssize_t as return value.
22915 (File Times): Fix summary magic @comment for struct utimbuf and utime
22916 to refer to utime.h, not time.h.
22917 * manual/string.texi (Argz Functions): Add missing const in
22918 argz_extract and argz_next prototypes.
22919 (Finding Tokens in a String): Likewise for basename.
22920 (String/Array Comparison): Fix typo in wcscasecmp prototype.
22921 (Copying and Concatenation): Fix typo in wmemmove prototype.
22922 * manual/signal.texi (Using Pause): Use (void) in pause prototype.
22923 (Signal Stack): Remove erroneous const in sigstack prototype.
22924 * manual/time.texi (Setting an Alarm): Add missing const in setitimer
22926 (Simple Calendar Time): Likewise for stime.
22927 * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
22929 * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
22930 say sys/sysctl.h instead.
22931 * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
22932 and vsyslog prototypes.
22934 2013-02-11 Tom de Vries <tom@codesourcery.com>
22936 * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
22939 2013-02-11 Roland McGrath <roland@hack.frob.com>
22941 * misc/sys/mman.h: Fix typo in mremap comment.
22943 2013-02-08 Roland McGrath <roland@hack.frob.com>
22945 * manual/examples/mkfsock.c (make_named_socket): Don't add one for
22946 the '\0' terminator.
22948 2013-02-08 Joseph Myers <joseph@codesourcery.com>
22951 * debug/segfault.c: Don't include <bp-checks.h>.
22952 * sysdeps/generic/bp-checks.h: Remove file.
22953 * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
22954 (__GETDENTS): Don't use CHECK_N.
22955 * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
22956 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
22957 (__getgroups): Don't use CHECK_N.
22958 * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
22959 (setgroups): Don't use CHECK_N.
22960 * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
22961 * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
22962 (__libc_msgrcv): Don't use CHECK_N.
22963 * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
22964 (__libc_msgsnd): Don't use CHECK_N.
22965 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
22967 (__libc_pread): Don't use CHECK_N.
22968 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
22969 include <bp-checks.h>.
22970 (__libc_pread64): Don't use CHECK_N.
22971 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
22972 include <bp-checks.h>.
22973 (__libc_pwrite): Don't use CHECK_N.
22974 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
22975 include <bp-checks.h>.
22976 (__libc_pwrite64): Don't use CHECK_N.
22977 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
22979 (__libc_pread): Don't use CHECK_N.
22980 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
22981 include <bp-checks.h>.
22982 (__libc_pread64): Don't use CHECK_N.
22983 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
22984 include <bp-checks.h>.
22985 (__libc_pwrite): Don't use CHECK_N.
22986 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
22987 include <bp-checks.h>.
22988 (__libc_pwrite64): Don't use CHECK_N.
22989 * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
22990 (do_pread): Don't use CHECK_N.
22991 * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
22992 (do_pread64): Don't use CHECK_N.
22993 * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
22994 (do_pwrite): Don't use CHECK_N.
22995 * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
22996 (do_pwrite64): Don't use CHECK_N.
22997 * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
22998 (__libc_readv): Don't use CHECK_N.
22999 * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
23000 (semop): Don't use CHECK_N.
23001 * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
23003 (semtimedop): Don't use CHECK_N.
23004 * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
23005 (__libc_pread): Don't use CHECK_N.
23006 * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
23008 (__libc_pread64): Don't use CHECK_N.
23009 * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
23011 (__libc_pwrite): Don't use CHECK_N.
23012 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
23014 (__libc_pwrite64): Don't use CHECK_N.
23015 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
23017 (__libc_msgrcv): Don't use CHECK_N.
23018 * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
23019 (__sysctl): Don't use CHECK_N. Remove GKM FIXME comment.
23020 * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
23021 (__libc_writev): Don't use CHECK_N.
23023 2013-02-08 Roland McGrath <roland@hack.frob.com>
23025 * string/strcpy.c: Removed unused variable.
23027 * Makeconfig (+sysdep-includes): Define with := rather than =.
23028 Use an existing include/ subdir of each sysdeps dir before it.
23030 2013-02-08 Carlos O'Donell <carlos@redhat.com>
23032 * nscd/connection.c (register_traced_file): Comment function.
23033 [HAVE_INOTIFY] (union __inev): Define.
23034 [HAVE_INOTIFY] (inotify_check_files): New function.
23035 [HAVE_INOTIFY] (clear_db_cache): Likewise.
23036 [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
23038 [HAVE_INOTIFY] (main_loop_epoll): Likewise.
23040 2013-02-08 Carlos O'Donell <carlos@redhat.com>
23042 * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
23043 loaded if not already and that a failure is permanent.
23045 2013-02-08 Carlos O'Donell <carlos@redhat.com>
23048 * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
23049 * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
23051 2013-02-08 Joseph Myers <joseph@codesourcery.com>
23054 * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
23055 (CHECK_1_NULL_OK): Likewise.
23056 * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
23057 (__fxstat): Do not use CHECK_1.
23058 * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
23060 (___fxstat64): Do not use CHECK_1.
23061 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
23063 (__fxstatat): Do not use CHECK_1.
23064 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
23066 (__fxstatat64): Do not use CHECK_1.
23067 * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
23069 (__fxstat): Do not use CHECK_1.
23070 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
23072 (__fxstatat): Do not use CHECK_1.
23073 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
23075 (__getresgid): Do not use CHECK_1.
23076 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
23078 (__getresuid): Do not use CHECK_1.
23079 * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
23081 (__lxstat): Do not use CHECK_1.
23082 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
23084 (__old_msgctl): Do not use CHECK_1.
23085 (__new_msgctl): Likewise.
23086 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
23088 (__new_setrlimit): Do not use CHECK_1.
23089 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
23091 (__old_shmctl): Do not use CHECK_1.
23092 (__new_shmctl): Likewise.
23093 * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
23095 (__xstat): Do not use CHECK_1.
23096 * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
23097 (__lxstat): Do not use CHECK_1.
23098 * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
23100 (___lxstat64): Do not use CHECK_1.
23101 * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
23102 (__old_msgctl): Do not use CHECK_1.
23103 (__new_msgctl): Likewise.
23104 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
23106 (__gettimeofday): Do not use CHECK_1.
23107 * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
23108 (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
23109 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
23111 (__gettimeofday): Do not use CHECK_1.
23112 * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
23113 (__old_shmctl): Do not use CHECK_1_NULL_OK.
23114 (__new_shmctl): Do not use CHECK_1.
23115 * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
23117 (do_sigtimedwait): Do not use CHECK_1.
23118 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
23120 (do_sigwaitinfo): Do not use CHECK_1.
23121 * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
23123 (msgctl): Do not use CHECK_1.
23124 * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
23126 (shmctl): Do not use CHECK_1.
23127 * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
23128 (ustat): Do not use CHECK_1.
23129 * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
23131 (__fxstat): Do not use CHECK_1.
23132 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
23134 (__fxstatat): Do not use CHECK_1.
23135 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
23137 (__lxstat): Do not use CHECK_1.
23138 * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
23140 (__xstat): Do not use CHECK_1.
23141 * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
23142 (__xstat): Do not use CHECK_1.
23143 * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
23144 (___xstat64): Do not use CHECK_1.
23147 * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
23149 (CHECK_BOUNDS_HIGH): Likewise.
23150 * string/strcpy.c: Do not include <bp-checks.h>.
23151 (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
23153 2013-02-07 Roland McGrath <roland@hack.frob.com>
23155 * nscd/nscd-client.h (__nscd_drop_map_ref):
23156 Add __attribute__ ((unused)).
23157 * nis/nss-nisplus.h (niserr2nss): Likewise.
23159 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
23160 under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
23162 * csu/libc-tls.c (init_static_tls, init_slotinfo):
23163 Remove inline keyword.
23164 * include/rounding-mode.h (round_away): Likewise.
23165 * libio/wfileops.c (adjust_wide_data): Likewise.
23166 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
23167 (__m128i_strloadu_tolower): Likewise.
23168 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
23169 (__m128i_strloadu_tolower): Likewise.
23170 * time/mktime.c (ydhms_diff): Likewise.
23171 * locale/elem-hash.h (elem_hash): Likewise.
23172 * locale/setlocale.c (setdata): Likewise.
23173 * posix/regex_internal.h (re_string_char_size_at): Likewise.
23174 (re_string_wchar_at): Likewise.
23175 (bitset_not, bitset_merge, bitset_mask): Likewise.
23176 [!(__GNUC__ > 3)] (inline): Remove macro.
23177 * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
23178 * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
23179 * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
23180 (_dl_tlsdesc_wake_up_held_fixups): Likewise.
23181 * string/memcmp.c (memcmp_bytes): Likewise.
23182 * locale/programs/locarchive.c (compute_hashval): Likewise.
23183 * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
23184 * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
23185 * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
23186 * nss/getent.c (print_rpc, print_protocols): Likewise.
23187 (print_passwd, print_group, print_aliases): Likewise.
23188 * nis/nss-nisplus.h (niserr2nss): Likewise.
23189 * nscd/connections.c (restart_p): Likewise.
23190 Change return type to bool.
23192 2013-02-05 Roland McGrath <roland@hack.frob.com>
23194 * Makeconfig (all-Depend-files): Add existing
23195 $(sorted-subdirs:=/Depend) files.
23196 (all-subdirs): Remove nss.
23197 * sysdeps/unix/inet/Subdirs: Add it here instead.
23198 * hesiod/Depend: New file.
23200 * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
23201 instead of calling alloca.
23203 * io/lseek.c (__lseek): Rename to __libc_lseek.
23204 Define __lseek as an alias.
23206 * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
23208 2013-02-04 Carlos O'Donell <carlos@redhat.com>
23210 * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
23211 else clause and remove check for non-standard endianness.
23213 2013-02-04 David S. Miller <davem@davemloft.net>
23215 * sysdeps/sparc/fpu/libm-test-ulps: Update.
23217 2013-02-04 Joseph Myers <joseph@codesourcery.com>
23220 * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
23221 (__ubp_memchr): Remove prototype.
23222 [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
23223 [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
23224 [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
23225 [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
23226 * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
23228 * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
23229 (__ubp_memchr): Likewise.
23230 * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
23231 (__ubp_memchr): Likewise.
23232 * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
23233 (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
23234 (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
23235 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
23237 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
23238 * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
23239 (__getcwd): Do not use CHECK_STRING.
23240 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
23242 (__real_chown): Do not use CHECK_STRING.
23243 * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
23245 (fchownat): Do not use CHECK_STRING.
23246 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
23248 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
23250 (__lchown): Do not use CHECK_STRING.
23251 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
23252 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
23253 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
23254 * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
23255 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
23256 include <bp-checks.h>.
23257 (truncate64): Do not use CHECK_STRING.
23258 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
23260 (__real_chown): Do not use CHECK_STRING.
23261 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
23263 (__lchown): Do not use CHECK_STRING.
23264 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
23266 (__chown): Do not use CHECK_STRING.
23267 * sysdeps/unix/sysv/linux/truncate64.c: Do not include
23269 (truncate64): Do not use CHECK_STRING.
23270 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
23272 * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
23273 (__xmknod): Do not use CHECK_STRING.
23274 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
23276 (__xmknodat): Do not use CHECK_STRING.
23277 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
23278 * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
23280 2013-02-04 Andreas Schwab <schwab@suse.de>
23283 * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
23284 * include/netdb.h: Likewise for h_errno.
23285 * elf/tst-stackguard1.c: Include <tls.h>.
23287 2013-02-02 Jan Kratochvil <jan.kratochvil@redhat.com>
23289 * elf/link.h (struct link_map): Extend the l_addr comment.
23290 * include/link.h (struct link_map): Likewise.
23292 2013-02-01 Joseph Myers <joseph@codesourcery.com>
23295 * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
23296 (BOUNDED_1): Remove macro.
23297 * debug/backtrace.c: Don't include <bp-checks.h>.
23298 (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
23299 (__backtrace): Likewise.
23300 * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
23302 (__backtrace): Don't use BOUNDED_1.
23303 * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
23305 (__backtrace): Don't use BOUNDED_1.
23306 * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
23307 (__backtrace): Don't use BOUNDED_1.
23308 * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
23309 (shmat): Don't use BOUNDED_N.
23311 2013-01-31 Joseph Myers <joseph@codesourcery.com>
23314 * sysdeps/generic/bp-start.h: Remove file.
23315 * csu/libc-start.c: Don't include <bp-start.h>.
23316 (LIBC_START_MAIN): Set up __environ directly instead of using
23317 INIT_ARGV_and_ENVIRON.
23318 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
23322 * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
23324 (CHECK_FCNTL): Likewise.
23325 (CHECK_N_PAGES): Likewise.
23328 * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
23330 (CHECK_SIGSET_NULL_OK): Likewise.
23331 * sysdeps/unix/sysv/linux/sigpending.c: Don't include
23333 (sigpending): Don't use CHECK_SIGSET.
23334 * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
23336 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
23337 * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
23339 (do_sigsuspend): Don't use CHECK_SIGSET.
23340 * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
23342 * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
23343 (do_sigwait): Don't use CHECK_SIGSET.
23344 * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
23346 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
23347 include <bp-checks.h>.
23348 (sigpending): Don't use CHECK_SIGSET.
23349 * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
23350 include <bp-checks.h>.
23351 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
23352 * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
23354 (sigpending): Don't use CHECK_SIGSET.
23355 * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
23357 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
23360 * sysdeps/generic/bp-semctl.h: Remove file.
23361 * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
23362 <bp-checks.h> and <bp-semctl.h>.
23363 (__old_semctl): Don't use CHECK_SEMCTL.
23364 (__new_semctl): Likewise.
23365 * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
23367 (__old_semctl): Don't use CHECK_SEMCTL.
23368 (__new_semctl): Likewise.
23369 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
23370 <bp-checks.h> and <bp-semctl.h>.
23371 (__old_semctl): Don't use CHECK_SEMCTL.
23372 (__new_semctl): Likewise.
23373 * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
23374 <bp-checks.h> and <bp-semctl.h>.
23375 (semctl): Don't use CHECK_SEMCTL.
23378 * Makerules (elide-bp-thunks): Remove variable.
23379 (elide-routines.oS): Don't use $(elide-bp-thunks).
23380 (elide-routines.os): Likewise.
23381 (elide-routines.o): Likewise.
23382 (elide-routines.op): Likewise.
23383 (elide-routines.og): Likewise.
23384 (objects): Don't use $(bp-thunks).
23385 * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
23387 (common-generated): Do not add s-proto-bp.d.
23388 * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
23391 Do not generate makefile rules for bounded-pointer thunks.
23392 * sysdeps/generic/bp-thunks.h: Remove file.
23393 * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
23394 * sysdeps/unix/s-proto-bp.S: Likewise.
23397 * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
23398 parts of result separately when argument is not close to line from
23399 -i to i and one part of argument is small.
23400 * math/k_casinhf.c (__kernel_casinhf): Likewise.
23401 * math/k_casinhl.c (__kernel_casinhl): Likewise.
23402 * math/libm-test.inc (cacos_test): Add more tests.
23403 (casin_test): Likewise.
23404 (casinh_test): Likewise.
23405 * sysdeps/i386/fpu/libm-test-ulps: Update.
23406 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23408 2013-01-31 David S. Miller <davem@davemloft.net>
23410 * po/de.po: Update from translation team.
23412 2013-01-25 Maxim Kuvyrkov <maxim.kuvyrkov@gmail.com>
23414 * time/tzfile.c: Include stdint.h for SIZE_MAX.
23416 2013-01-25 Thomas Schwinge <thomas@codesourcery.com>
23418 * configure.in (_AC_PROG_CC_C89): New definition.
23419 * configure: Regenerate.
23421 * configure.in (AC_PROG_CPP): New definition.
23422 * configure: Regenerate.
23424 2013-01-23 Joseph Myers <joseph@codesourcery.com>
23426 * debug/tst-backtrace.h: New file.
23427 * debug/tst-backtrace2.c: Include tst-backtrace.h.
23428 (ret): Remove variable.
23430 (FAIL): Remove macro.
23431 (NO_INLINE): Likewise.
23432 (fn1): Use match function instead of strstr.
23433 * debug/tst-backtrace3.c: Include tst-backtrace.h.
23434 (ret): Remove variable.
23436 (FAIL): Remove macro.
23437 (NO_INLINE): Likewise.
23438 (fn): Use match function instead of strstr.
23439 * debug/tst-backtrace4.c: Include tst-backtrace.h.
23440 (ret): Remove variable.
23442 (FAIL): Remove macro.
23443 (NO_INLINE): Likewise.
23444 (handle_signal): Use match function instead of strstr.
23445 * debug/tst-backtrace5.c: Include tst-backtrace.h.
23446 (ret): Remove variable.
23448 (FAIL): Remove macro.
23449 (NO_INLINE): Likewise.
23450 (handle_signal): Use match function instead of strstr.
23452 2013-01-23 Roland McGrath <roland@hack.frob.com>
23454 * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
23456 2013-01-23 David S. Miller <davem@davemloft.net>
23458 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
23459 (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
23460 argument of CAS if possible.
23461 * sysdeps/sparc/sparc64/bits/atomic.h
23462 (__arch_compare_and_exchange_val_32_acq): Likewise.
23463 (__arch_compare_and_exchange_val_64_acq): Likewise.
23465 2013-01-23 Pino Toscano <toscano.pino@tiscali.it>
23467 * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
23468 * sysdeps/posix/ulimit.c: ... this.
23469 Include <limits.h>.
23470 * sysdeps/unix/bsd/ulimit.c: Remove file.
23472 2013-01-23 Adam Conrad <adconrad@0c3.net>
23474 * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
23475 (LDFLAGS-tst-array5): Likewise.
23477 2013-01-23 Joseph Myers <joseph@codesourcery.com>
23480 * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
23481 based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
23482 (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
23483 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
23485 2013-01-21 David S. Miller <davem@davemloft.net>
23487 * sysdeps/sparc/backtrace.c: New file.
23488 * sysdeps/sparc/sparc32/backtrace.h: New file.
23489 * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
23490 * sysdeps/sparc/sparc64/backtrace.h: New file.
23491 * sysdeps/sparc/sparc64/backtrace.c: Delete.
23492 * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
23495 2013-01-21 Andreas Schwab <schwab@suse.de>
23498 * posix/wordexp.c (exec_comm): Avoid busy loop when command has
23501 2013-01-20 Andreas Schwab <schwab@linux-m68k.org>
23503 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
23505 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
23507 2013-01-18 Joseph Myers <joseph@codesourcery.com>
23508 Mark Mitchell <mark@codesourcery.com>
23509 Tom de Vries <tom@codesourcery.com>
23510 Paul Pluzhnikov <ppluzhnikov@google.com>
23512 * debug/tst-backtrace2.c: New file.
23513 * debug/tst-backtrace3.c: Likewise.
23514 * debug/tst-backtrace4.c: Likewise.
23515 * debug/tst-backtrace5.c: Likewise.
23516 * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
23517 (CFLAGS-tst-backtrace3.c): Likewise.
23518 (CFLAGS-tst-backtrace4.c): Likewise.
23519 (CFLAGS-tst-backtrace5.c): Likewise.
23520 (LDFLAGS-tst-backtrace2): Likewise.
23521 (LDFLAGS-tst-backtrace3): Likewise.
23522 (LDFLAGS-tst-backtrace4): Likewise.
23523 (LDFLAGS-tst-backtrace5): Likewise.
23524 (tests): Add new tests tst-backtrace2, tst-backtrace3,
23525 tst-backtrace4 and tst-backtrace5.
23527 2013-01-18 Anton Blanchard <anton@samba.org>
23528 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
23530 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
23531 __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
23532 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
23533 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
23534 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
23535 (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
23536 "+r" and remove output regs list as redundant. Add explicit inline
23537 asm to specify register of return val to work around compiler codegen
23538 bug. Remove (int) cast on return value. Add return type parameter to
23539 use in macro so that this macro does not truncate return value for
23541 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
23542 pass to INTERNAL_VSYSCALL_NCS.
23543 (INLINE_VSYSCALL): Add 'long int' as return type to
23544 INTERNAL_VSYSCALL_NCS macro invocation.
23545 (INTERNAL_VSYSCALL): Add 'long int' as return type to
23546 INTERNAL_VSYSCALL_NCS macro invocation.
23547 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
23549 2013-01-18 Siddhesh Poyarekar <siddhesh@redhat.com>
23552 * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
23553 Fix application of SIMD FP exception mask.
23555 * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
23556 mp_no from a power of two.
23557 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
23558 __mpexp_twomm1. Use __pow_mp.
23560 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
23563 2013-01-17 David S. Miller <davem@davemloft.net>
23565 * sysdeps/sparc/fpu/libm-test-ulps: Update.
23567 2013-01-17 Joseph Myers <joseph@codesourcery.com>
23570 * include/complex.h: Condition contents on [!_COMPLEX_H].
23571 (__kernel_casinhf): New prototype.
23572 (__kernel_casinh): Likewise.
23573 (__kernel_casinhl): Likewise.
23574 * math/Makefile (libm_calls): Add k_casinh.
23575 * math/k_casinh.c: New file.
23576 * math/k_casinhf.c: Likewise.
23577 * math/k_casinhl.c: Likewise.
23578 * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
23579 finite nonzero arguments.
23580 * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
23581 finite nonzero arguments.
23582 * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
23583 finite nonzero arguments.
23584 * math/s_casinh.c: Do not include <float.h>.
23585 (__casinh): Move code for finite nonzero arguments to k_casinh.c.
23586 * math/s_casinhf.c: Do not include <float.h>.
23587 (__casinhf): Move code for finite nonzero arguments to
23589 * math/s_casinhl.c: Do not include <float.h>.
23590 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
23592 (__casinhl): Move code for finite nonzero arguments to
23594 * math/libm-test.inc (cacos_test): Add more tests.
23595 * sysdeps/i386/fpu/libm-test-ulps: Update.
23596 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23598 2013-01-17 Pino Toscano <toscano.pino@tiscali.it>
23600 * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
23601 * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
23602 [!HAVE_MREMAP]: Remove [defined linux] case.
23603 * malloc/arena.c: Do not include <malloc-sysdep.h>.
23605 2013-01-17 Siddhesh Poyarekar <siddhesh@redhat.com>
23607 * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
23609 2013-01-17 H.J. Lu <hongjiu.lu@intel.com>
23611 * elf/elf.h (R_386_SIZE32): New relocation.
23612 * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
23614 (elf_machine_rela): Likewise.
23615 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
23616 R_X86_64_SIZE64 and R_X86_64_SIZE32.
23618 2013-01-17 Joseph Myers <joseph@codesourcery.com>
23620 * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
23621 (FP_FAST_FMA): Do not define.
23622 [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
23623 * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
23624 && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
23625 * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
23626 !_SOFT_FLOAT]: Likewise.
23627 * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
23628 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
23630 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
23631 [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
23632 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
23633 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
23634 [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
23635 [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
23638 2013-01-16 Andreas Schwab <schwab@suse.de>
23641 * include/stdlib.h (__mktemp): Add declaration.
23642 * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
23643 * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
23645 2013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
23647 * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
23649 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
23650 * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
23651 * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
23653 * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
23654 * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
23656 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
23658 * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
23659 * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
23660 * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
23662 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
23663 * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
23665 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
23667 * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
23669 2013-01-15 David S. Miller <davem@davemloft.net>
23671 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
23672 trunc{,f} to libm-sysdep_routes.
23673 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
23674 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
23676 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
23677 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
23679 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
23681 * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
23682 * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
23683 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
23684 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
23685 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
23686 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
23687 * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
23688 * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
23690 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
23691 nearbyint{,f} to libm-sysdep_routes.
23692 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
23693 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
23695 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
23697 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
23699 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
23701 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
23702 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
23703 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
23705 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
23706 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
23708 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
23709 * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
23710 * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
23712 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
23713 libc_feholdexcept and libc_fesetenv.
23715 2013-01-15 Mike Frysinger <vapier@gentoo.org>
23717 * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
23719 2013-01-14 David S. Miller <davem@davemloft.net>
23721 * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
23722 (SPARC_ASM_VIS2_IFUNC): Likewise.
23723 (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
23724 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
23725 use of 'siam' instruction.
23726 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
23728 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
23730 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
23732 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
23733 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
23734 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
23735 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
23736 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
23738 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
23740 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
23742 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
23744 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
23745 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
23746 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
23747 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
23748 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
23750 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
23751 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
23752 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
23754 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
23755 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
23756 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
23757 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
23758 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
23759 routines to libm-sysdep_routines.
23760 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
23762 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
23763 fdim/fdimf to libm-sysdep_routines.
23764 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
23766 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
23767 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
23769 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
23770 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
23771 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
23772 * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
23773 * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
23774 * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
23775 * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
23777 2013-01-14 Siddhesh Poyarekar <siddhesh@redhat.com>
23779 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
23780 to optimize copies.
23782 * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
23783 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
23784 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
23786 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
23787 local variable MPTWO.
23788 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
23791 2013-01-13 Mike Frysinger <vapier@gentoo.org>
23793 * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
23796 2013-01-13 Mike Frysinger <vapier@gentoo.org>
23798 * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
23800 2013-01-13 Mike Frysinger <vapier@gentoo.org>
23802 * manual/pattern.texi (glob_t): Document gl_flags.
23803 (glob64_t): Likewise.
23805 2013-01-11 David S. Miller <davem@davemloft.net>
23807 * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
23808 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
23809 (gmp-sysdep_routines): New variable. Add VIS3 optimized GMP routines.
23810 * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
23811 * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
23812 * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
23813 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
23814 * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
23815 * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
23816 * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
23817 * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
23818 * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
23819 * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
23821 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
23822 sparc V9 rather than using V8 code.
23823 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
23824 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
23826 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
23828 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
23831 2013-01-11 Roland McGrath <roland@hack.frob.com>
23833 * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
23834 not in the main loop.
23835 * configure: Regenerated.
23837 2013-01-11 Joseph Myers <joseph@codesourcery.com>
23839 * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
23840 * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
23842 * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise. Remove
23843 [!__GLIBC_HAVE_LONG_LONG] case.
23844 * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
23845 condition to just #else.
23846 * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
23847 __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
23848 [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
23849 * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
23851 * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
23852 * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
23853 #elif condition to just #else.
23854 * sysdeps/unix/sysv/linux/sys/sysmacros.h
23855 [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
23856 * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
23857 #elif condition to just #else.
23859 2013-01-11 Steve Ellcey <sellcey@mips.com>
23861 * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
23862 (EF_MIPS_ARCH_64): Fix value.
23863 (EF_MIPS_ARCH_32R2): New.
23864 (EF_MIPS_ARCH_64R2): New.
23866 2013-01-11 H.J. Lu <hongjiu.lu@intel.com>
23868 * Makeconfig (+link-pie-before-libc): New.
23869 (+link-pie-after-libc): Likewise.
23870 (+link-pie-tests): Likewise.
23871 (+link-pie): Rewritten.
23872 (link-before-libc): Remove $(config-LDFLAGS).
23873 (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
23874 (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
23875 (config-LDFLAGS): Renamed to ...
23876 (rtld-LDFLAGS): This.
23877 (rtld-tests-LDFLAGS): New macro.
23878 (link-libc-rpath-link): Likewise.
23879 (link-libc-tests-rpath-link): Likewise.
23880 (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
23881 (link-libc): Prepand $(link-libc-rpath-link).
23882 (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
23883 (test-program-prefix): New macro.
23884 (test-via-rtld-prefix): Likewise.
23885 (test-program-cmd): Likewise.
23886 (host-test-program-cmd): Likewise.
23887 * Makefile ($(common-objpfx)testrun.sh): Replace
23888 $(run-program-prefix) with $(test-program-prefix).
23889 * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
23891 ($(common-objpfx)shlib.lds): Likewise.
23892 (build-module-helper): Likewise.
23893 ($(common-objpfx)format.lds): Likewise.
23894 * Rules (binaries-pie-tests): New.
23895 (binaries-pie-notests): Likewise.
23896 (binaries-pie): Rewritten.
23897 ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
23898 ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
23899 ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
23900 (make-test-out): Replace $(host-built-program-cmd) with
23901 $(host-test-program-cmd).
23902 * config.make.in (build-hardcoded-path-in-tests): New variable.
23903 * configure.in (--enable-hardcoded-path-in-tests): New configure
23905 (hardcoded_path_in_tests): New AC_SUBST.
23906 * configure: Regenerated.
23907 * catgets/Makefile ($(objpfx)test-gencat.out): Replace
23908 $(built-program-cmd) with $(test-program-cmd).
23909 * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
23910 (test_program_cmd): This.
23911 * elf/Makefile ($(objpfx)order.out): Run test with
23912 $(test-program-prefix).
23913 ($(objpfx)order2.out): Likewise.
23914 ($(objpfx)tst-initorder.out): Likewise.
23915 ($(objpfx)tst-initorder2.out): Likewise.
23916 ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
23917 $(test-program-cmd).
23918 ($(objpfx)tst-array1-static.out): Likewise.
23919 ($(objpfx)tst-array2.out): Likewise.
23920 ($(objpfx)tst-array3.out): Likewise.
23921 ($(objpfx)tst-array4.out): Likewise.
23922 ($(objpfx)tst-array5.out): Likewise.
23923 ($(objpfx)tst-array5-static.out): Likewise.
23924 (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
23925 $(test-program-cmd).
23926 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
23927 $(run-program-prefix) with $(test-program-prefix).
23928 * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
23929 (test_program_prefix): This.
23930 * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
23931 $(run-program-prefix) with $(test-program-prefix).
23932 * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
23933 (test_program_prefix): This.
23934 * iconvdata/tst-tables.sh: Likewise.
23935 * intl/Makefile ($(objpfx)tst-gettext.out): Replace
23936 $(run-program-prefix) with $(test-program-prefix).
23937 ($(objpfx)tst-translit.out): Likewise.
23938 ($(objpfx)tst-gettext2.out): Likewise.
23939 ($(objpfx)tst-gettext4.out): Likewise.
23940 ($(objpfx)tst-gettext6.out): Likewise.
23941 * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
23942 (test_program_prefix): This.
23943 * intl/tst-gettext2.sh: Likewise.
23944 * intl/tst-gettext4.sh Likewise.
23945 * intl/tst-gettext6.sh: Likewise.
23946 * intl/tst-translit.sh: Likewise.
23947 * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
23948 with $(test-program-cmd).
23949 * libio/Makefile ($(objpfx)test-freopen.out): Replace
23950 $(run-program-prefix) with $(test-program-prefix).
23951 * libio/test-freopen.sh (run_program_prefix): Renamed to ...
23952 (test_program_prefix): This.
23953 * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
23954 $(run-program-prefix) with $(test-program-prefix).
23955 * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
23956 (test_program_prefix): This.
23957 * manual/install.texi: Document --enable-hardcoded-path-in-tests.
23958 * posix/Makefile ($(objpfx)globtest.out): Replace
23959 $(run-via-rtld-prefix) and $(test-wrapper) with
23960 $(test-program-prefix) and $(test-via-rtld-prefix).
23961 ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
23962 $(test-program-prefix).
23963 (tst-exec-ARGS): Replace $(host-built-program-cmd) with
23964 $(host-test-program-cmd).
23965 (tst-spawn-ARGS): Likewise.
23966 ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
23967 $(test-program-prefix).
23968 * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
23969 (test_via_rtld_prefix): This.
23970 (test_wrapper): Renamed to ...
23971 (test_program_prefix): This.
23972 (run_program_prefix): Replaced by test_program_prefix.
23973 * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
23974 (test_program_prefix): This.
23975 * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
23976 with $(host-test-program-cmd).
23977 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
23978 $(run-program-prefix) with $(test-program-prefix).
23979 ($(objpfx)tst-printf.out): Likewise.
23980 ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
23981 $(test-program-cmd).
23982 * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
23983 (test_program_prefix): This.
23984 * stdio-common/tst-unbputc.sh: Likewise.
23985 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
23986 $(run-program-prefix) with $(test-program-prefix).
23987 * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
23988 (test_program_prefix): This.
23989 * string/Makefile ($(objpfx)tst-svc.out): Replace
23990 $(built-program-cmd) with $(test-program-cmd).
23992 2013-01-11 Andreas Jaeger <aj@suse.de>
23995 * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
23996 value. Sync with Linux 3.7.
23998 2013-01-10 David S. Miller <davem@davemloft.net>
24000 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
24001 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
24002 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
24004 2013-01-10 Roland McGrath <roland@hack.frob.com>
24006 * configure.in (sysnames): Drop use of $m0sub and $msub, which are
24008 * configure: Regenerated.
24010 2013-01-10 David S. Miller <davem@davemloft.net>
24012 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
24013 sparc V9 rather than using V8 code.
24014 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
24015 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
24017 2013-01-10 Roland McGrath <roland@hack.frob.com>
24019 * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
24020 (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
24021 (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
24022 (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
24023 (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
24024 (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
24025 (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
24026 (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
24027 (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
24028 (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
24029 (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
24030 (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
24031 (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
24032 (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
24033 (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
24034 (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
24035 (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
24036 (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
24037 (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
24038 (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
24039 (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
24040 (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
24041 (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
24042 (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
24043 (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
24044 (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
24045 (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
24047 2013-01-10 David S. Miller <davem@davemloft.net>
24049 * sysdeps/sparc/fpu/libm-test-ulps: Update.
24051 2013-01-10 H.J. Lu <hongjiu.lu@intel.com>
24053 * posix/Makefile (tests-static): New variable.
24054 (tests): Add $(tests-static).
24055 (tst-exec-static-ARGS): New variable.
24056 (tst-spawn-static-ARGS): Likewise.
24057 * posix/tst-exec-static.c: New file.
24058 * posix/tst-spawn-static.c: Likewise.
24059 * posix/tst-exec.c: Support run directly.
24060 * posix/tst-spawn.c: Likewise.
24062 2013-01-10 Joseph Myers <joseph@codesourcery.com>
24064 * elf/link.h (struct dl_phdr_info): Use __extension__ with long
24066 * math/bits/mathcalls.h (llrint): Likewise.
24067 (llround): Likewise.
24068 * stdlib/stdlib.h (struct drand48_data): Likewise.
24069 * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
24070 * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
24071 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
24073 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
24075 * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
24076 (elf_greg_t): Likewise.
24077 * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
24078 (__jmp_buf): Likewise.
24079 * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
24081 (llrint): Likewise, for all definitions.
24082 (llrintl): Likewise.
24084 * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
24085 Remove [__GNUC__] condition.
24086 * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
24087 condition to just [__USE_ISOC99].
24088 [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
24090 2013-01-10 H.J. Lu <hongjiu.lu@intel.com>
24093 * sysdeps/unix/sysv/linux/x86/bits/environments.h
24094 (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
24096 (_POSIX_V6_ILP32_OFF32): Likewise.
24097 (_XBS5_ILP32_OFF32): Likewise.
24098 (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
24099 (__ILP32_OFFBIG_LDFLAGS): Likewise.
24101 2013-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
24103 * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
24105 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
24106 doubles __mpexp_twomm1. Adjust usage.
24107 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
24110 2013-01-10 Andreas Schwab <schwab@suse.de>
24113 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
24114 (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
24116 2013-01-09 David S. Miller <davem@davemloft.net>
24119 * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS)
24120 (TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT)
24121 (TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS)
24122 (TCP_FASTOPEN): Define.
24123 (tcp_repair_opt): New structure.
24124 (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
24126 (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE)
24127 (TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN)
24128 (TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
24129 (tcp_cookie_transactions): New structure.
24131 2013-01-09 Anton Blanchard <anton@samba.org>
24133 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
24134 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
24135 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
24136 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
24138 2013-01-09 Joseph Myers <joseph@codesourcery.com>
24140 * include/features.h (__USE_ANSI): Remove.
24142 2013-01-09 Roland McGrath <roland@hack.frob.com>
24144 * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
24146 * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
24148 2013-01-09 Siddhesh Poyarekar <siddhesh@redhat.com>
24150 * sysdeps/s390/fpu/libm-test-ulps: Update.
24152 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
24154 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
24158 (denorm): Likewise.
24159 (__mp_dbl): Likewise.
24160 (__dbl_mp): Likewise.
24161 (add_magnitudes): Likewise.
24162 (sub_magnitudes): Likewise.
24168 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
24172 (denorm): Likewise.
24173 (__mp_dbl): Likewise.
24174 (__dbl_mp): Likewise.
24175 (add_magnitudes): Likewise.
24176 (sub_magnitudes): Likewise.
24182 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
24186 (denorm): Likewise.
24187 (__mp_dbl): Likewise.
24188 (__dbl_mp): Likewise.
24189 (add_magnitudes): Likewise.
24190 (sub_magnitudes): Likewise.
24197 2013-01-08 Joseph Myers <joseph@codesourcery.com>
24199 * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
24200 __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
24201 * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
24202 2 && __USE_EXTERN_INLINES]: Likewise.
24204 2013-01-08 Andreas Jaeger <aj@suse.de>
24207 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
24209 * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
24210 * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
24212 2013-01-07 Anton Blanchard <anton@samba.org>
24214 * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
24215 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
24216 * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
24217 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
24218 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
24219 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
24220 * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
24221 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
24222 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
24223 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
24224 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
24225 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
24226 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
24227 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
24228 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
24229 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
24230 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
24231 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
24232 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
24233 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
24234 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
24235 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
24236 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
24237 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
24238 * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
24239 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
24240 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
24241 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
24242 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
24243 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
24244 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
24245 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
24246 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
24247 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
24248 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
24249 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
24250 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
24251 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
24252 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
24253 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
24254 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
24255 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
24256 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
24258 2013-01-07 Joseph Myers <joseph@codesourcery.com>
24260 * malloc/malloc.h (__MALLOC_P): Remove all definitions.
24261 (__MALLOC_PMT): Likewise.
24262 [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
24263 [__GNUC__], only on [_LIBC].
24264 [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
24265 [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
24266 [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
24267 * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
24268 forward declaration.
24269 (realloc_hook_ini): Likewise.
24270 (memalign_hook_ini): Likewise.
24271 (__libc_memalign): Do not use __MALLOC_PMT in variable
24273 (__libc_valloc): Likewise.
24274 (__libc_pvalloc): Likewise.
24275 (__libc_calloc): Likewise.
24276 (__posix_memalign): Likewise.
24279 * math/s_casinh.c: Include <float.h>.
24280 (__casinh): Do not do computation with squaring and square root
24281 for large arguments.
24282 * math/s_casinhf.c: Include <float.h>.
24283 (__casinhf): Do not do computation with squaring and square root
24284 for large arguments.
24285 * math/s_casinhl.c: Include <float.h>.
24286 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
24287 (__casinhl): Do not do computation with squaring and square root
24288 for large arguments.
24289 * math/libm-test.inc (casin_test): Add more tests.
24290 (casinh_test): Likewise.
24291 * sysdeps/i386/fpu/libm-test-ulps: Update.
24292 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24294 2013-01-04 H.J. Lu <hongjiu.lu@intel.com>
24296 * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
24297 (__x86_64_raw_data_cache_size): Likewise.
24298 (__x86_64_data_cache_size_half): Likewise.
24299 (__x86_64_raw_data_cache_size_half): Likewise.
24300 (__x86_64_shared_cache_size): Likewise.
24301 (__x86_64_raw_shared_cache_size): Likewise.
24302 (__x86_64_shared_cache_size_half): Likewise.
24303 (__x86_64_raw_shared_cache_size_half): Likewise.
24304 * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
24306 (__x86_data_cache_size): This.
24307 (__x86_64_raw_data_cache_size): Renamed to ...
24308 (__x86_raw_data_cache_size): This.
24309 (__x86_64_data_cache_size_half): Renamed to ...
24310 (__x86_data_cache_size_half): This.
24311 (__x86_64_raw_data_cache_size_half): Renamed to ...
24312 (__x86_raw_data_cache_size_half): This.
24313 (__x86_64_shared_cache_size): Renamed to ...
24314 (__x86_shared_cache_size): This.
24315 (__x86_64_raw_shared_cache_size): Renamed to ...
24316 (__x86_raw_shared_cache_size): This.
24317 (__x86_64_shared_cache_size_half): Renamed to ...
24318 (__x86_shared_cache_size_half): This.
24319 (__x86_64_raw_shared_cache_size_half): Renamed to ...
24320 (__x86_raw_shared_cache_size_half): This.
24321 * sysdeps/x86_64/memcpy.S: Updated.
24322 * sysdeps/x86_64/memset.S: Likewise.
24323 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
24324 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
24325 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
24327 2013-01-04 David S. Miller <davem@davemloft.net>
24329 * sysdeps/sparc/fpu/libm-test-ulps: Update.
24331 2013-01-04 Andreas Schwab <schwab@linux-m68k.org>
24333 * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
24334 1 to avoid redefinition warning.
24335 (__USE_GNU): Don't define.
24336 (init_signaling_nan): Protoize.
24338 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
24340 2013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
24342 * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
24343 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
24344 (__cpymn): Likewise.
24345 (norm): Remove commented code.
24346 (denorm): Likewise.
24347 (__mp_dbl): Likewise.
24349 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
24350 (__cpymn): Likewise.
24351 (norm): Remove commented code.
24352 (denorm): Likewise.
24353 (__mp_dbl): Likewise.
24356 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
24357 mp_no value for 1.0 and 2.0.
24358 (norm): Use RADIXI instead of radixi.d.
24359 (denorm): Likewise.
24360 (__mul): Use 0.0 instead of zero.d.
24361 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
24362 mp_no value for 1.0 and 2.0.
24363 (norm): Use RADIXI instead of radixi.d.
24364 (denorm): Likewise.
24365 (__mul): Use 0.0 instead of zero.d.
24367 2013-01-04 Joseph Myers <joseph@codesourcery.com>
24370 * math/s_casinh.c (__casinh): Reduce finite argument to first
24371 quadrant then set signs of results at the end.
24372 * math/s_casinhf.c (__casinhf): Likewise.
24373 * math/s_casinhl.c (__casinhl): Likewise.
24374 * math/libm-test.inc (casin_test): Add more tests.
24375 (casinh_test): Likewise.
24376 * sysdeps/i386/fpu/libm-test-ulps: Update.
24377 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24379 2013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
24381 * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
24383 * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
24385 * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
24387 (denorm): Likewise.
24388 (__mp_dbl): Likewise.
24391 * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
24392 and adjust the header comment.
24394 * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
24395 variable name from declaration.
24397 2013-01-03 H.J. Lu <hongjiu.lu@intel.com>
24399 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
24400 Initialize COMMON_CPUID_INDEX_7 element.
24401 * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
24402 (CPUID_RTM): Likewise.
24403 (HAS_RTM): Likewise.
24404 (COMMON_CPUID_INDEX_7): New enum.
24406 2013-01-03 Andreas Schwab <schwab@linux-m68k.org>
24409 * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
24410 size is zero, record memory as freed.
24412 2013-01-03 Andreas Jaeger <aj@suse.de>
24414 * po/ia.po: Add new Interlingua translation.
24416 2012-01-03 Allan McRae <allan@archlinux.org>
24418 * locale/programs/localedef.c: Fix description of '--posix' flag.
24420 2013-01-02 Joseph Myers <joseph@codesourcery.com>
24422 * NEWS: Update dates in second copyright notice.
24423 * README: Update copyright dates in example.
24424 * manual/libc.texinfo: Update copyright dates.
24425 * scripts/test-installation.pl: Update copyright date in --version
24428 * hurd/ctty-input.c: Fix copyright notice formatting.
24429 * hurd/ctty-output.c: Likewise.
24430 * hurd/dtable.c: Likewise.
24431 * hurd/hurd-raise.c: Likewise.
24432 * hurd/hurdprio.c: Likewise.
24433 * hurd/msgportdemux.c: Likewise.
24434 * misc/sys/file.h: Likewise.
24435 * misc/sys/ioctl.h: Likewise.
24436 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
24437 * sysdeps/mach/hurd/chdir.c: Likewise.
24438 * sysdeps/mach/hurd/fchdir.c: Likewise.
24439 * sysdeps/mach/hurd/rename.c: Likewise.
24440 * sysdeps/mach/hurd/rmdir.c: Likewise.
24441 * sysdeps/mach/hurd/seekdir.c: Likewise.
24442 * sysdeps/mach/hurd/setsid.c: Likewise.
24443 * sysdeps/posix/wait3.c: Likewise.
24445 * All files with FSF copyright notices: Update copyright dates
24446 using scripts/update-copyrights.
24447 * intl/plural.c: Regenerated.
24448 * locale/programs/charmap-kw.h: Likewise.
24449 * locale/programs/locfile-kw.h: Likewise.
24451 2013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
24453 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
24456 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
24457 calculation loop and add branch prediction.
24459 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
24460 check access beyond bounds of m1np.
24462 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
24464 (__inv): Remove local variable MPTWO to use the global
24466 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
24467 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
24469 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
24470 MP3HALFS static const.
24472 2013-01-01 David S. Miller <davem@davemloft.net>
24474 * po/ca.po: Update from translation team.
24476 2013-01-01 Joseph Myers <joseph@codesourcery.com>
24478 * scripts/update-copyrights: New file.
24479 * Makeconfig: Reformat copyright notice.
24480 * ctype/ctype.h: Likewise.
24481 * debug/swprintf_chk.c: Likewise.
24482 * elf/dl-cache.c: Likewise.
24483 * elf/dl-debug.c: Likewise.
24484 * elf/dl-object.c: Likewise.
24485 * grp/initgroups.c: Likewise.
24486 * hurd/Makefile: Likewise.
24487 * hurd/hurd/signal.h: Likewise.
24488 * hurd/hurdfault.c: Likewise.
24489 * hurd/hurdioctl.c: Likewise.
24490 * hurd/hurdlookup.c: Likewise.
24491 * hurd/intr-msg.c: Likewise.
24492 * iconv/gconv_open.c: Likewise.
24493 * libio/swprintf.c: Likewise.
24494 * locale/lc-ctype.c: Likewise.
24495 * locale/nl_langinfo.c: Likewise.
24496 * mach/Machrules: Likewise.
24497 * mach/Makefile: Likewise.
24498 * malloc/obstack.h: Likewise.
24499 * manual/Makefile: Likewise.
24500 * manual/tsort.awk: Likewise.
24501 * misc/bits/stab.def: Likewise.
24502 * nis/nis_print_group_entry.c: Likewise.
24503 * nis/nis_table.c: Likewise.
24504 * nis/nss_compat/compat-pwd.c: Likewise.
24505 * nis/nss_compat/compat-spwd.c: Likewise.
24506 * po/Makefile: Likewise.
24507 * posix/fnmatch.c: Likewise.
24508 * posix/regex.h: Likewise.
24509 * resolv/Makefile: Likewise.
24510 * resolv/nss_dns/dns-network.c: Likewise.
24511 * resolv/res_hconf.c: Likewise.
24512 * scripts/gen-sorted.awk: Likewise.
24513 * soft-fp/soft-fp.h: Likewise.
24514 * stdio-common/printf.h: Likewise.
24515 * stdlib/monetary.h: Likewise.
24516 * stdlib/random.c: Likewise.
24517 * stdlib/random_r.c: Likewise.
24518 * sysdeps/generic/Makefile: Likewise.
24519 * sysdeps/gnu/Makefile: Likewise.
24520 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
24521 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
24522 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
24523 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
24524 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
24525 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
24526 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
24527 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
24528 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
24529 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
24530 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
24531 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
24532 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
24533 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
24534 * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
24535 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
24536 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
24537 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
24538 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
24539 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
24540 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
24541 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
24542 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
24543 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
24544 * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
24545 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
24546 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
24547 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
24548 * sysdeps/mach/hurd/errnos.awk: Likewise.
24549 * sysdeps/mach/hurd/fork.c: Likewise.
24550 * sysdeps/mach/hurd/getcwd.c: Likewise.
24551 * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
24552 * sysdeps/mach/hurd/mmap.c: Likewise.
24553 * sysdeps/mach/hurd/utimes.c: Likewise.
24554 * sysdeps/mach/hurd/xmknod.c: Likewise.
24555 * sysdeps/posix/profil.c: Likewise.
24556 * sysdeps/posix/readdir_r.c: Likewise.
24557 * sysdeps/powerpc/bits/mathdef.h: Likewise.
24558 * sysdeps/powerpc/bits/setjmp.h: Likewise.
24559 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
24560 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
24561 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
24562 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
24563 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
24564 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
24565 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
24566 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
24567 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
24568 * sysdeps/pthread/lio_listio.c: Likewise.
24569 * sysdeps/sparc/dl-procinfo.h: Likewise.
24570 * sysdeps/unix/i386/sysdep.S: Likewise.
24571 * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
24572 * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
24573 * sysdeps/unix/sysv/linux/getdents.c: Likewise.
24574 * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
24575 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
24576 * sysdeps/unix/sysv/linux/semctl.c: Likewise.
24577 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
24578 * sysdeps/unix/sysv/linux/speed.c: Likewise.
24579 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
24580 * sysdeps/wordsize-32/divdi3.c: Likewise.
24581 * time/sys/time.h: Likewise.
24582 * wcsmbs/Makefile: Likewise.
24584 2013-01-01 David S. Miller <davem@davemloft.net>
24586 * po/fr.po: Update from translation team.
24588 * catgets/gencat.c: Update copyright year.
24589 * csu/version.c: Likewise.
24590 * debug/catchsegv.sh: Likewise.
24591 * debug/pcprofiledump.c: Likewise.
24592 * debug/xtrace.sh: Likewise.
24593 * elf/ldconfig.c: Likewise.
24594 * elf/ldd.bash.in: Likewise.
24595 * elf/pldd.c: Likewise.
24596 * elf/sotruss.ksh: Likewise.
24597 * elf/sprof.c: Likewise.
24598 * iconv/iconv_prog.c: Likewise.
24599 * iconv/iconvconfig.c: Likewise.
24600 * locale/programs/locale.c: Likewise.
24601 * locale/programs/localedef.c: Likewise.
24602 * login/programs/pt_chown.c: Likewise.
24603 * malloc/memusage.sh: Likewise.
24604 * malloc/memusagestat.c: Likewise.
24605 * malloc/mtrace.pl: Likewise.
24606 * nscd/nscd.c: Likewise.
24607 * nss/getent.c: Likewise.
24608 * nss/makedb.c: Likewise.
24609 * posix/getconf.c: Likewise.
24611 2012-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
24613 * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
24616 2012-12-30 Mike Frysinger <vapier@gentoo.org>
24618 * math/bits/mathcalls.h (modf): Use __nonnull.
24620 2012-12-29 Siddhesh Poyarekar <siddhesh@redhat.com>
24622 * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
24623 (split): Use macro CN instead of the bare value.
24624 * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
24626 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
24627 instead of the bare value.
24628 (power1): Likewise.
24630 2012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
24632 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
24634 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
24636 * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
24638 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
24639 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
24640 * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
24641 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
24643 2012-12-28 Andreas Jaeger <aj@suse.de>
24645 * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define. New
24646 values are from Linux 3.7.
24648 * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
24649 (TCPI_OPT_ECN_SEEN): Define. Sync with Linux 3.7.
24651 2012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
24653 * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
24656 * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
24658 * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
24659 variables with preprocessor constants.
24660 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
24661 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
24662 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
24664 2012-12-27 Bruno Haible <bruno@clisp.org>
24667 * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
24670 2012-12-27 Siddhesh Poyarekar <siddhesh@redhat.com>
24672 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
24673 and use variable directly.
24674 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
24676 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
24678 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
24679 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
24681 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
24682 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
24683 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
24684 include directive. Remove local variable MPONE.
24685 * sysdeps/ieee754/dbl-64/mplog.h: Remove.
24686 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
24687 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
24689 2012-12-25 David S. Miller <davem@davemloft.net>
24691 * version.h (RELEASE): Set to "development".
24692 (VERSION): Set to "2.17.90".
24693 * NEWS: Add 2.18 section.
24695 2012-12-21 David S. Miller <davem@davemloft.net>
24697 * po/hr.po: Update from translation team.
24699 2012-12-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
24701 * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
24703 2012-12-19 Steve Ellcey <sellcey@mips.com>
24705 * NEWS: Mention new memcpy for MIPS.
24707 2012-12-18 Marcus Shawcroft <marcus.shawcroft@linaro.org>
24709 * manual/contrib.texi (Contributors): Spelling correction.
24711 2012-12-15 David S. Miller <davem@davemloft.net>
24713 * po/ru.po: Update from translation team.
24715 2012-12-13 David S. Miller <davem@davemloft.net>
24717 * NEWS: Mention IFUNC testsuite enhancements.
24719 * po/pl.po: Update from translation team.
24720 * po/bg.po: Likewise.
24722 * manual/contrib.texi (Contributors): Update entries for Hongjiu
24723 Lu and Joseph S. Myers. Add entry for Marcus Shawcroft.
24725 2012-12-11 David S. Miller <davem@davemloft.net>
24727 * po/sv.po: Update from translation team.
24729 * po/vi.po: Update from translation team.
24731 * po/cs.po: Update from translation team.
24733 * po/de.po: Update from translation team.
24734 * po/eo.po: Likewise.
24735 * po/nl.po: Likewise.
24737 2012-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
24740 * manual/argp.texi (Argp Helper Functions): Move node to follow
24741 Argp Parsing State.
24744 * manual/conf.texi (Limits on File System Capacity): Mention if
24745 terminating null is included in the max size.
24747 2012-12-10 Andreas Jaeger <aj@suse.de>
24749 * po/cs.po: Update from translation team.
24751 2012-12-08 Siddhesh Poyarekar <siddhesh@redhat.com>
24753 * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
24754 void pointer and cast to uintptr_t.
24755 * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
24757 * sysdeps/s390/s390-64/memcpy.S: Likewise.
24758 * sysdeps/s390/s390-64/memset.S: Likewise.
24760 2012-12-08 Benno Schulenberg <bensberg@justemail.net>
24763 * menual/message.texi (Message Translation): Fix typos.
24764 (Helper programs for gettext): Likewise.
24766 2012-12-07 Andreas Schwab <schwab@linux-m68k.org>
24769 * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
24772 2012-12-07 David S. Miller <davem@davemloft.net>
24774 * po/libc.pot: Update.
24776 2012-12-07 Richard Henderson <rth@redhat.com>
24779 * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
24780 normal/normal case to before the switch.
24781 (_FP_DIV): Likewise.
24783 2012-12-06 Carlos O'Donell <carlos@systemhalted.org>
24784 Mike Frysinger <vapier@gentoo.org>
24786 * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
24787 check for __NR_fadvise64_64.
24789 2012-12-06 Chris Metcalf <cmetcalf@tilera.com>
24791 * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
24792 0, not just to plain "0" as a statement.
24793 (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
24796 2012-12-06 Joseph Myers <joseph@codesourcery.com>
24798 * NEWS: Use sourceware.org in Bugzilla URL.
24800 2012-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
24802 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
24803 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
24805 * stdio-common/tst-put-error.c (do_test): Add newline to the
24806 padded test to ensure flush.
24808 2012-12-05 Jeff Law <law@redhat.com>
24810 * sunrpc/etc.rpc (fedfs_admin): Add entry.
24812 2012-12-05 Joseph Myers <joseph@codesourcery.com>
24814 * README: Don't refer to ports add-on as distributed separately.
24815 Mention AArch64 in list of systems supported in the ports add-on.
24817 * LICENSES: Add more non-FSF copyright and license notices.
24819 * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
24822 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
24824 * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
24825 10000 as width of padded output.
24827 2012-12-04 Joseph Myers <joseph@codesourcery.com>
24829 * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
24831 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
24832 variable LX with __attribute__ ((unused)).
24833 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
24835 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
24836 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
24837 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
24838 with __attribute__ ((unused)).
24840 2012-12-04 David S. Miller <davem@abraco.davemloft.net>
24842 * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
24844 2012-12-04 Joseph Myers <joseph@codesourcery.com>
24846 * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
24847 (CFLAGS-nldbl-acos.c): New variable.
24848 [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
24849 [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
24850 [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
24851 [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
24852 [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
24853 [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
24854 [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
24855 [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
24856 [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
24857 [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
24858 [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
24859 [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
24860 [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
24861 [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
24862 [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
24863 [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
24864 [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
24865 [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
24866 [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
24867 [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
24868 [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
24869 [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
24870 [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
24871 [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
24872 [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
24873 [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
24874 [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
24875 [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
24876 [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
24877 [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
24878 [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
24879 [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
24880 [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
24881 [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
24882 [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
24883 [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
24884 [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
24885 [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
24886 [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
24887 [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
24888 [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
24889 [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
24890 [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
24891 [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
24892 [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
24893 [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
24894 [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
24895 [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
24896 [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
24897 [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
24898 [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
24899 [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
24900 [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
24901 [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
24902 [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
24903 [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
24904 [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
24905 [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
24906 [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
24907 [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
24908 [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
24909 [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
24910 [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
24911 [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
24912 [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
24913 [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
24914 [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
24915 [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
24916 [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
24917 [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
24918 [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
24919 [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
24920 [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
24921 [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
24922 [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
24923 [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
24924 [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
24925 [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
24926 [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
24927 [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
24928 [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
24929 [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
24930 [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
24931 [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
24932 [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
24933 [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
24934 [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
24935 [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
24936 [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
24937 [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
24938 [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
24939 [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
24940 [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
24941 [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
24942 [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
24943 [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
24944 [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
24946 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
24947 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
24950 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
24951 whole low double instead of just low 47 bits when splitting values
24954 2012-12-03 Allan McRae <allan@archlinux.org>
24956 * manual/stdio.texi (Predefined Printf Handlers): Remove
24957 @hsep and @vsep usage.
24959 2012-12-03 Mike Frysinger <vapier@gentoo.org>
24961 * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
24962 * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
24964 2012-12-03 Jeff Law <law@redhat.com>
24966 * time/sys/time.h (settimeofday): Do not mark TV argument
24969 2012-12-01 Mike Frysinger <vapier@gentoo.org>
24971 * libio/fileops.c (_IO_new_file_close_it): Do not always flush
24972 when currently writing and seek to current position when not.
24973 * libio/Makefile (tests): Remove bug-fclose1.
24974 * libio/bug-fclose1.c: Delete.
24976 2012-12-01 Joseph Myers <joseph@codesourcery.com>
24978 * manual/arith.texi (feenableexcept): Fix typo.
24979 (fedisableexcept): Likewise.
24981 2012-11-30 Roland McGrath <roland@hack.frob.com>
24983 * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
24984 second, differently-typed declaration, rather than a cast.
24986 2012-11-30 Siddhesh Poyarekar <siddhesh@redhat.com>
24988 * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
24989 * include/rpc/svc.h: ... here.
24991 2012-11-30 Aurelien Jarno <aurel32@debian.org>
24994 * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
24995 depending n and resplen2 to catch cases where answer
24998 2012-11-29 Carlos O'Donell <carlos@systemhalted.org>
25000 * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
25001 for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
25003 2012-11-29 Mike Frysinger <vapier@gentoo.org>
25005 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
25007 2012-11-29 Roland McGrath <roland@hack.frob.com>
25009 * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
25011 2012-11-28 Jeff Law <law@redhat.com>
25014 * nscd/grpcache.c (cache_addgr): Rename alloca_used to
25015 dataset_temporary. Track alloca usage into alloca_used.
25016 If dataset is large allocate and release it via malloc/free.
25018 2012-06-04 Florian Weimer <fweimer@redhat.com>
25021 * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
25023 2012-11-28 David S. Miller <davem@davemloft.net>
25025 * sysdeps/sparc/fpu/libm-test-ulps: Update.
25027 2012-11-28 Joseph Myers <joseph@codesourcery.com>
25030 * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
25031 of pi/2 rounded to nearest to 64 bits.
25032 (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
25033 nearest to 64 bits.
25034 (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
25037 2012-11-28 Jeff Law <law@redhat.com>
25038 Martin Osvald <mosvald@redhat.com>
25041 * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
25042 * sunrpc/svc.c: Include time.h.
25043 (__svc_accept_failed): New function.
25044 * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
25045 any reason other than EINTR, call __svc_accept_failed.
25046 * sunrpc/svc_udp.c (svcudp_recv): Similarly.
25047 * sunrpc/svc_unix.c (rendezvous_request): Similarly.
25049 2012-11-28 Andreas Schwab <schwab@suse.de>
25051 * scripts/abilist.awk: Also handle indirect functions in .opd
25054 2012-11-28 Joseph Myers <joseph@codesourcery.com>
25057 * sysdeps/x86/fpu/powl_helper.c: New file.
25058 * sysdeps/x86/fpu/Makefile: Likewise.
25059 * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
25061 (__ieee754_powl): Use __powl_helper for finite arguments except
25062 integer exponents below 8.
25063 * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
25065 (__ieee754_powl): Use __powl_helper for finite arguments except
25066 integer exponents below 8.
25067 * math/libm-test.inc (pow_test): Add more tests and enable some
25068 previously disabled tests.
25069 * sysdeps/i386/fpu/libm-test-ulps: Update.
25070 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25072 2012-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
25073 Carlos O'Donell <carlos_odonell@mentor.com>
25075 * nss/makedb.c (is_prime): Assert that input is odd and greater
25076 than 4. Note that fact in a comment too.
25077 (next_prime): Add 4 to input.
25079 2012-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
25082 * libio/Makefile (tests): Add test case tst-fwrite-error.
25083 * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
25084 * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
25085 * libio/tst-fwrite-error.c: New test case.
25087 2012-11-26 H.J. Lu <hongjiu.lu@intel.com>
25089 * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
25090 before casting to void *.
25091 * include/libc-internal.h (__pointer_type): New macro.
25092 (__integer_if_pointer_type_sub): Likewise.
25093 (__integer_if_pointer_type): Likewise.
25094 (cast_to_integer): Likewise.
25095 * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
25096 (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
25097 before casting to atomic64_t.
25098 (atomic_exchange_acq): Likewise.
25099 (__arch_exchange_and_add_body): Likewise.
25100 (__arch_add_body): Likewise.
25101 (atomic_add_negative): Likewise.
25102 (atomic_add_zero): Likewise.
25104 2012-11-26 Joseph Myers <joseph@codesourcery.com>
25106 * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
25107 (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
25108 (add_fdes): Likewise.
25109 (linear_search_fdes): Likewise.
25110 (binary_search_unencoded_fdes): Likewise.
25112 2012-11-26 Andreas Schwab <schwab@linux-m68k.org>
25114 * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
25116 2012-11-24 Adam Conrad <adconrad@0c3.net>
25118 * configure.in: Autodetect C++ header directories.
25119 * configure: Regenerated.
25121 2012-11-23 Mike Frysinger <vapier@gentoo.org>
25123 * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
25125 2012-11-23 Andreas Schwab <schwab@linux-m68k.org>
25127 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
25129 2012-11-22 Joseph Myers <joseph@codesourcery.com>
25131 * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
25132 LDBL_MANT_DIG == 106]: Disable some tests.
25133 (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
25135 (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
25139 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
25140 input for small inputs. Return +/- pi/2 for large inputs.
25141 * math/libm-test.inc (atan_test): Add more tests.
25143 * sysdeps/generic/unwind-dw2-fde-glibc.c
25144 (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
25145 __attribute__ ((unused)).
25148 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
25149 x * y if x and y are nonzero and z is zero.
25152 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
25153 nonzero exponents with absolute value below 0x1p-117 to +/-
25157 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
25158 up arguments below 2**-450, not just those below 2**-500.
25159 * math/libm-test.inc (hypot_test): Add another test.
25162 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
25163 Return a+b for ratio over 2**120, not 2**60.
25164 * math/libm-test.inc (hypot_test): Add another test.
25166 * math/libm-test.inc (clog_test): Use
25167 UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
25168 (clog10_test): Likewise.
25171 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
25173 2012-11-22 Andreas Schwab <schwab@suse.de>
25175 * sysdeps/i386/fpu/libm-test-ulps: Update.
25177 2012-11-22 Pino Toscano <toscano.pino@tiscali.it>
25179 * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
25180 printf output with newline.
25182 2012-11-21 H.J. Lu <hongjiu.lu@intel.com>
25185 * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
25186 * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
25187 -z nodlopen, -z initfirst and -z execstack support.
25188 * configure: Regenerated.
25190 * elf/elf.h (DF_1_NODIRECT): New macro.
25191 (DF_1_IGNMULDEF): Likewise.
25192 (DF_1_NOKSYMS): Likewise.
25193 (DF_1_NOHDR): Likewise.
25194 (DF_1_EDITED): Likewise.
25195 (DF_1_NORELOC): Likewise.
25196 (DF_1_SYMINTPOSE): Likewise.
25197 (DF_1_GLOBAUDIT): Likewise.
25198 (DF_1_SINGLETON): Likewise.
25199 * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
25200 DT_1_SUPPORTED_MASK bits.
25201 * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
25203 2012-11-20 Carlos O'Donell <carlos_odonell@mentor.com>
25205 * sysdeps/unix/make-syscalls.sh: Document prefixes.
25207 2012-11-20 Thomas Schwinge <thomas@codesourcery.com>
25209 * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
25212 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
25213 (sendmmsg): Move declarations...
25214 * socket/sys/socket.h: ... here.
25215 * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
25216 !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
25218 * socket/recvmmsg.c: ... this new file.
25219 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
25220 (sendmmsg): Rename to __sendmmsg, create weak alias and make
25221 definition of __sendmmsg hidden.
25222 * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
25223 [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
25224 Move ENOSYS stub into and include it from...
25225 * socket/sendmmsg.c: ... this new file.
25226 * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
25227 (sysdep_routines): Move recvmmsg and sendmmsg...
25228 * socket/Makefile (routines): ... here.
25229 * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
25230 (GLIBC_PRIVATE): Add __sendmmsg.
25231 * include/sys/socket.h (__sendmmsg): Add declarations.
25232 * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
25235 2012-11-20 Joseph Myers <joseph@codesourcery.com>
25237 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
25238 variable I1 with __attribute__ ((unused)).
25239 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
25241 2012-11-19 Joseph Myers <joseph@codesourcery.com>
25243 * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
25244 DUMMY variables with __attribute__ ((unused)).
25246 * bits/byteswap.h: Include <bits/types.h>.
25247 (__bswap_64): Use __uint64_t instead of unsigned long long int.
25249 2012-11-19 Pino Toscano <toscano.pino@tiscali.it>
25251 * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
25252 string_t. Do not manually set errno.
25253 (__ptsname_r): Change the type of PEERNAME to string_t, and check its
25254 length with __strnlen. Make sure to both set errno and return it on
25257 2012-11-19 David S. Miller <davem@davemloft.net>
25259 With help from Joseph Myers.
25260 * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
25261 very large arguments properly.
25262 * math/libm-test.inc (atan_test): New tests.
25263 (atan2_test): New tests.
25264 * sysdeps/sparc/fpu/libm-test-ulps: Update.
25265 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
25267 2012-11-19 Joseph Myers <joseph@codesourcery.com>
25270 * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
25273 * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
25274 [POSIX] (EADDRNOTAVAIL): Likewise.
25275 [POSIX] (EAFNOSUPPORT): Likewise.
25276 [POSIX] (EALREADY): Likewise.
25277 [POSIX] (ECONNABORTED): Likewise.
25278 [POSIX] (ECONNREFUSED): Likewise.
25279 [POSIX] (ECONNRESET): Likewise.
25280 [POSIX] (EDESTADDRREQ): Likewise.
25281 [POSIX] (EDQUOT): Likewise.
25282 [POSIX] (EHOSTUNREACH): Likewise.
25283 [POSIX] (EIDRM): Likewise.
25284 [POSIX] (EISCONN): Likewise.
25285 [POSIX] (ELOOP): Likewise.
25286 [POSIX] (EMULTIHOP): Likewise.
25287 [POSIX] (ENETDOWN): Likewise.
25288 [POSIX] (ENETUNREACH): Likewise.
25289 [POSIX] (ENOBUFS): Likewise.
25290 [POSIX] (ENODATA): Likewise.
25291 [POSIX] (ENOLINK): Likewise.
25292 [POSIX] (ENOMSG): Likewise.
25293 [POSIX] (ENOPROTOOPT): Likewise.
25294 [POSIX] (ENOSR): Likewise.
25295 [POSIX] (ENOSTR): Likewise.
25296 [POSIX] (ENOTCONN): Likewise.
25297 [POSIX] (ENOTSOCK): Likewise.
25298 [POSIX] (EOPNOTSUPP): Likewise.
25299 [POSIX] (EOVERFLOW): Likewise.
25300 [POSIX] (EPROTO): Likewise.
25301 [POSIX] (EPROTONOSUPPORT): Likewise.
25302 [POSIX] (EPROTOTYPE): Likewise.
25303 [POSIX] (ESTALE): Likewise.
25304 [POSIX] (ETIME): Likewise.
25305 [POSIX] (ETXTBSY): Likewise.
25306 [POSIX] (EWOULDBLOCK): Likewise.
25307 [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
25308 * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
25309 [POSIX] (SEEK_CUR): Likewise.
25310 [POSIX] (SEEK_END): Likewise.
25311 [POSIX || UNIX98] (mode_t): Do not require.
25312 [POSIX] (off_t): Likewise.
25313 [POSIX] (pid_t): Likewise.
25314 [POSIX] (sys/stat.h): Do not allow header.
25315 [POSIX] (unistd.h): Likewise.
25316 [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
25317 [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
25318 [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
25319 * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
25321 * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
25322 sigevent): Specify elements.
25323 [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
25325 [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
25326 [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
25328 * conform/data/cpio.h-data [POSIX]: Disable whole file.
25329 * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
25330 * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
25331 (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
25332 [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
25333 [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
25334 [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
25335 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
25336 [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
25337 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
25338 [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
25339 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
25340 [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
25341 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
25343 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
25345 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
25347 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
25349 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
25350 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
25351 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
25352 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
25353 [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
25354 Specify lower bound on value.
25355 [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
25356 [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
25357 [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
25358 [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
25359 [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
25360 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
25361 [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
25362 [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
25364 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
25366 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
25367 [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
25368 [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
25369 [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
25370 [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
25371 [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
25372 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
25373 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
25374 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
25375 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
25376 [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
25377 [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
25378 [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
25379 [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
25380 [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
25381 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
25383 [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
25385 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
25386 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
25387 [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
25388 [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
25389 [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
25390 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
25392 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
25393 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
25394 [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
25395 [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
25396 [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise. Give
25397 value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
25398 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
25400 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
25401 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
25402 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
25403 [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
25404 Likewise. Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
25405 [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
25406 specify as optional.
25407 [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
25408 [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
25409 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
25410 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
25411 [POSIX || XPG3] (NL_ARGMAX): Do not allow.
25412 [XPG3] (NL_LANGMAX): Likewise.
25413 [POSIX || XPG3] (NL_MSGMAX): Likewise.
25414 [POSIX || XPG3] (NL_NMAX): Likewise.
25415 [POSIX || XPG3] (NL_SETMAX): Likewise.
25416 [POSIX || XPG3] (NL_TEXTMAX): Likewise.
25417 [XPG3] (NZERO): Likewise.
25418 [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
25419 [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
25420 [!ISO && !ISO99 && !ISO11] (*_t): Allow.
25421 * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
25422 (REG_ERANGE): Expect.
25423 * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
25425 [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
25426 Use (void) in prototype.
25427 [POSIX] (*_t): Allow.
25428 * conform/data/sys/times.h-data [POSIX]: Enable whole file.
25429 * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
25430 (WRDE_BADVAL): Expect.
25432 * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
25434 [XPG3 || XPG4] (O_RSYNC): Likewise.
25435 * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
25437 [XPG3 || XPG4] (pthread_sigmask): Likewise.
25438 [XPG3 || XPG4] (sigqueue): Likewise.
25439 [XPG3 || XPG4] (sigtimedwait): Likewise.
25440 [XPG3 || XPG4] (sigwaitinfo): Likewise.
25441 * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
25442 [XPG3 || XPG4] (vsnprintf): Likewise.
25443 * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
25445 [XPG3 || XPG4] (blksize_t): Likewise.
25446 * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
25448 [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
25449 [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
25450 [XPG3 || XPG4] (struct itimerspec): Likewise.
25451 [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
25452 [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
25453 [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
25454 [XPG3 || XPG4] (clockid_t): Likewise.
25455 [XPG3 || XPG4] (timer_t): Likewise.
25456 [XPG3 || XPG4] (clock_getres): Likewise.
25457 [XPG3 || XPG4] (clock_gettime): Likewise.
25458 [XPG3 || XPG4] (clock_settime): Likewise.
25459 [XPG3 || XPG4] (nanosleep): Likewise.
25460 [XPG3 || XPG4] (timer_create): Likewise.
25461 [XPG3 || XPG4] (timer_delete): Likewise.
25462 [XPG3 || XPG4] (timer_gettime): Likewise.
25463 [XPG3 || XPG4] (timer_getoverrun): Likewise.
25464 [XPG3 || XPG4] (timer_settime): Likewise.
25465 * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
25466 [XPG3 || XPG4] (getlogin_r): Likewise.
25467 [XPG3 || XPG4] (pread): Likewise.
25468 [XPG3 || XPG4] (pthread_atfork): Likewise.
25469 [XPG3 || XPG4] (pwrite): Likewise.
25472 * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
25475 2012-11-19 Pino Toscano <toscano.pino@tiscali.it>
25477 * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
25478 finalizing MALLSTREAM.
25480 * sysdeps/mach/hurd/syncfs.c: New file.
25482 2012-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
25485 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
25486 NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
25487 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
25488 h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
25489 (_nss_dns_gethostbyname4_r): Likewise.
25490 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
25491 EAI_SYSTEM if NSS_STATUS_UNAVAIL.
25493 2012-11-19 Peng Haitao <penght@cn.fujitsu.com>
25496 * sunrpc/bindrsvprt.c: Add lock to protect static variable.
25498 2012-11-19 Steve McIntyre <steve.mcintyre@linaro.org>
25500 * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
25501 * elf/cache.c (print_entry): Print ",AArch64" for
25504 * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
25505 * elf/cache.c (print_entry): Print ",hard-float" for
25508 2012-11-18 David S. Miller <davem@davemloft.net>
25510 With help from Joseph Myers.
25511 * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
25513 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
25515 * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
25516 ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
25518 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
25519 * math/libm-test.inc (y0_test): New tests.
25520 (y1_test): New tests.
25521 * sysdeps/i386/fpu/libm-test-ulps: Update.
25522 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
25523 * sysdeps/sparc/fpu/libm-test-ulps: Update.
25525 2012-11-18 Andreas Schwab <schwab@linux-m68k.org>
25527 * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
25529 * configure: Regenerated.
25531 2012-11-17 David S. Miller <davem@davemloft.net>
25534 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
25535 nonzero exponents with absolute value below 0x1p-128 to +/-
25538 2012-11-17 Joseph Myers <joseph@codesourcery.com>
25540 * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
25542 * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
25544 * posix/getconf-speclist.c: New file.
25545 * posix/posix-envs.def: Likewise.
25546 * posix/confstr.c (START_ENV_GROUP): New macro.
25547 (END_ENV_GROUP): Likewise.
25548 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
25549 (KNOWN_PRESENT_ENV_STRING): Likewise.
25550 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
25551 (UNKNOWN_ENVIRONMENT): Likewise.
25552 (confstr): Include posix-envs.def instead of handling
25553 _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
25554 _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
25555 * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
25556 (END_ENV_GROUP): Likewise.
25557 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
25558 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
25559 (UNKNOWN_ENVIRONMENT): Likewise.
25560 (__sysconf): Include posix-envs.def instead of handling associated
25561 cases directly here.
25562 * posix/Makefile ($(objpfx)getconf.speclist): Generate by
25563 preprocessing getconf-speclist.c rather than running getconf or
25564 generating empty file.
25566 2012-11-16 Pino Toscano <toscano.pino@tiscali.it>
25568 * scripts/check-local-headers.sh: Ignore 'mach' headers.
25570 2012-11-16 Andrej Lajovic <natrij@gmail.com>
25573 * iconv/iconv_prog.c (main): Fix -c handling of '/'.
25575 2012-11-16 David S. Miller <davem@davemloft.net>
25577 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
25578 smaller than LDBL_EPSILON/2.0L, just return xm1.
25580 2012-11-16 H.J. Lu <hongjiu.lu@intel.com>
25582 * elf/tst-array1.c (init): Set constructor priority to 1000.
25583 (fini): Set destructor priority to 1000.
25584 * elf/tst-array2dep.c: Likewise.
25586 2012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
25589 * libio/fileops.c (_IO_new_file_write): Correctly return error.
25590 (_IO_new_file_xsputn): Also return EOF if none of the input
25591 data was written when overflow failed.
25592 * libio/iopadn.c (_IO_padn): Likewise.
25593 * libio/iowpadn.c (_IO_wpadn): Likewise.
25594 * stdio-common/tst-put-error.c: Add copyright notice.
25595 (do_test): Add case for printing padded string.
25596 * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
25597 _IO_padn returned error.
25598 [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
25599 * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
25602 2012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
25604 * libio/libioP.h: Add comment note that the references to C++
25605 bits are now obsolete.
25607 2012-11-15 Marcus Shawcroft <marcus.shawcroft@linaro.org>
25609 * math/libm-test.inc (check_complex): Use asprintf.
25611 2012-11-14 Joseph Myers <joseph@codesourcery.com>
25613 * debug/pcprofiledump.c (print_version): Update copyright year.
25614 * malloc/memusagestat.c (print_version): Likewise.
25616 2012-11-14 H.J. Lu <hongjiu.lu@intel.com>
25619 * elf/Makefile (tests): Add tst-audit8.
25620 ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
25621 ($(objpfx)tst-audit8.out): New target.
25622 (tst-audit8-ENV): New variable.
25623 * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
25624 audit if l_reloc_result is NULL.
25625 (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
25626 defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
25627 * elf/tst-audit8.c: New file.
25629 2012-11-14 Marcus Shawcroft <marcus.shawcroft@linaro.org>
25631 * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
25632 * misc/Makefile (CFLAGS-select.c): Define.
25633 * posix/Makefile (CFLAGS-pause.c): Define.
25635 2012-11-13 David S. Miller <davem@davemloft.net>
25637 * crypt/Makefile: Move test targets after toplevel Rules
25638 inclusion. Grab any necessary sysdep routines when linking.
25639 * crypt/md5.c (md5_process_block): Remove define, we will always
25640 name it __md5_process_block.
25641 (md5_finish_ctx): Update md5_process_block call.
25642 (md5_stream): Likewise.
25643 (md5_process_bytes): Likewise.
25644 (md5_process_block): Rename to __md5_process_block and move to ...
25645 * crypt/md5-block.c: ... here.
25646 * crypt/sha256.c (sha256_process_block): Move to ...
25647 * crypt/sha256-block.c: ... here.
25648 * crypt/sha512.c (sha512_process_block): Move to ...
25649 * crypt/sha512-block.c: ... here.
25650 * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
25652 * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
25653 * sysdeps/sparc/sparc64/multiarch/Makefile
25654 (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
25656 (localedef-aux): Add md5 crypto assembler when in locale subdir.
25657 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
25659 * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
25660 * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
25661 * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
25662 * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
25663 * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
25664 * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
25665 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
25666 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
25667 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
25669 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
25670 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
25672 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
25674 2012-11-13 Joseph Myers <joseph@codesourcery.com>
25676 * timezone/tzselect.ksh: Update from tzcode git revision
25677 a435f9f0ecafa56d9e0263835836bd0c64cd7307.
25678 * timezone/zdump.c: Likewise.
25679 * timezone/zic.c: Likewise.
25680 * timezone/Makefile ($(objpfx)version.h): Only include $(version)
25681 in TZVERSION setting, not $(PKGVERSION).
25682 ($(objpfx)tzselect): Likewise. Also substitute PKGVERSION and
25683 REPORT_BUGS_TO settings.
25686 * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
25689 2012-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
25691 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
25692 detection to immediately after _FP_ROUND().
25693 * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
25696 2012-11-11 David S. Miller <davem@davemloft.net>
25698 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
25700 (__get_clockfreq_via_proc_openprom): Use __open, __read, and
25701 __close rather than their public counterparts.
25703 2012-11-10 Joseph Myers <joseph@codesourcery.com>
25705 * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
25707 [UNIX98] (sem_timedwait): Do not expect.
25708 * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
25709 [XPG4 || UNIX98] (sockatmark): Do not expect.
25710 * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
25711 (clock_getcpuclockid): Do not expect.
25712 [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
25713 * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
25715 [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
25716 * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
25717 [UNIX98] (vwscanf): Likewise.
25718 [UNIX98] (vswscanf): Likewise.
25720 2012-11-09 Joseph Myers <joseph@codesourcery.com>
25722 * timezone/version.h: Remove file.
25723 * timezone/README: Do not refer to version.h.
25724 * timezone/Makefile ($(objpfx)zic.o): New dependency on
25725 $(objpfx)version.h.
25726 ($(objpfx)zdump.o): Likewise.
25727 ($(objpfx)version.h): New target.
25729 * timezone/tzselect.ksh: Change to verbatim copy from tzcode
25731 * timezone/README: Don't mention modification to tzselect.ksh.
25732 * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
25733 work on unmodified tzselect.ksh. Substitute version numbers in
25736 * Makefile (format-me): Remove.
25737 (INSTALL): Adjust indentation. Use commands directly instead of
25738 using $(format-me).
25740 * aclocal.m4 (ACX_PKGVERSION): New macro.
25741 (ACX_BUGURL): Likewise.
25742 * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
25743 (PKGVERSION): New AC_DEFINE_UNQUOTED.
25744 (REPORT_BUGS_TO): Likewise.
25745 * configure: Regenerated.
25746 * config.h.in (PKGVERSION): New macro.
25747 (REPORT_BUGS_TO): Likewise.
25748 * config.make.in (PKGVERSION): New variable.
25749 (PKGVERSION_TEXI): Likewise.
25750 (REPORT_BUGS_TO): Likewise.
25751 (REPORT_BUGS_TEXI): Likewise.
25752 * Makefile (format-me): Use -I$(common-objpfx)manual.
25753 (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
25754 ($(common-objpfx)manual/%): New target.
25755 (manual/%): Remove target.
25756 * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
25757 (print_version): Use PKGVERSION.
25758 * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
25759 * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
25760 and REPORT_BUGS_TO.
25761 ($(objpfx)xtrace): Likewise.
25762 * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
25763 * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
25764 (print_version): Use PKGVERSION.
25765 * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
25766 (do_version): Use PKGVERSION.
25767 * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
25769 (common-ldd-rewrite): Likewise.
25770 * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
25771 * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
25772 (print_version): Use PKGVERSION.
25773 * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
25774 * elf/pldd.c (argp_program_bug_address): Remove variable.
25775 (more_help): New function.
25776 (argp): Use more_help.
25777 (print_version): Use PKGVERSION.
25778 * elf/sln.c (main): Use PKGVERSION.
25779 (usage): Use REPORT_BUGS_TO.
25780 * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
25781 (top level): Use PKGVERSION.
25782 * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
25783 (print_version): Use PKGVERSION.
25784 * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
25785 (print_version): Use PKGVERSION.
25786 * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
25787 (print_version): Use PKGVERSION.
25788 * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
25789 (print_version): Use PKGVERSION.
25790 * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
25791 (print_version): Use PKGVERSION.
25792 * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
25793 (print_version): Use PKGVERSION.
25794 * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
25796 ($(objpfx)memusage): Likewise.
25797 * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
25798 (do_version): Use PKGVERSION.
25799 * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
25800 (print_version): Use PKGVERSION.
25801 * malloc/mtrace.pl ($PACKAGE): Remove variable.
25802 ($PKGVERSION): New variable.
25803 ($REPORT_BUGS_TO): Likewise.
25804 (usage): Use $REPORT_BUGS_TO.
25805 (top level): Use $PKGVERSION.
25806 * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
25807 ($(objpfx)pkgvers.texi): New rule.
25808 ($(objpfx)stamp-pkgvers): Likewise.
25809 * manual/install.texi: Include pkgvers.texi.
25810 (--with-pkgversion): Document new configure option.
25811 (--with-bugurl): Likewise.
25812 (Reporting Bugs): Describe Bugzilla as upstream tracker rather
25813 than necessarily for this particular distribution. Use
25814 REPORT_BUGS_TO for where to report bugs.
25815 * INSTALL: Regenerated.
25816 * manual/libc.texinfo: Include pkgvers.texi.
25817 [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
25818 * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
25819 (print_version): Use PKGVERSION.
25820 * nss/getent.c (more_help): Use REPORT_BUGS_TO.
25821 (print_version): Use PKGVERSION.
25822 * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
25823 (print_version): Use PKGVERSION.
25824 * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
25825 * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
25827 * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
25828 (print_version): Use PKGVERSION.
25829 * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
25830 (print_version): Use PKGVERSION.
25831 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
25834 * timezone/checktab.awk: Update from tzcode 2012i.
25835 * timezone/ialloc.c: Likewise.
25836 * timezone/private.h: Likewise.
25837 * timezone/scheck.c: Likewise.
25838 * timezone/tzfile.h: Likewise.
25839 * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
25840 (TZVERSION): Hardcode tzcode version number.
25841 * timezone/zdump.c: Update from tzcode 2012i.
25842 * timezone/zic.c: Likewise.
25843 * timezone/version.h: New file.
25844 * timezone/README: Describe version.h. Update upstream location.
25847 * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
25848 (mktemp): Enable declaration.
25849 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
25850 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
25851 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
25852 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
25854 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
25856 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
25858 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
25860 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
25862 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
25866 * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
25867 offset in buffer as u_int32_t not u_long. Consistently use memcpy
25868 for copies of such integer values.
25869 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
25870 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
25872 2012-11-09 Andreas Jaeger <aj@suse.de>
25874 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
25875 definitions and declarations that are provided by
25876 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
25878 2012-11-08 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
25880 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
25881 * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
25882 * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
25885 2012-11-08 Marcus Shawcroft <marcus.shawcroft@linaro.org>
25887 * elf/elf.h: Update comment before AArch64 relocations.
25889 2012-11-07 David S. Miller <davem@davemloft.net>
25891 * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
25892 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
25893 (__start_context): Declare.
25894 (__makecontext_ret): Delete.
25895 (__makecontext): Hook up __start_context instead of
25897 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
25898 (sysdep_routines): Add __start_context when in stdlib.
25900 2012-11-07 Joseph Myers <joseph@codesourcery.com>
25902 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
25903 $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
25904 * sysdeps/x86/tst-xmmymm.sh (NM): New variable. Use it instead of
25906 (OBJDUMP): New variable. Use it instead of hardcoded "objdump".
25907 (READELF): New variable. Use it instead of hardcoded "readelf".
25909 2012-11-07 H.J. Lu <hongjiu.lu@intel.com>
25911 * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
25912 * sysdeps/x86/Makefile: Here.
25913 * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
25914 * sysdeps/x86/tst-xmmymm.sh: This.
25916 2012-11-07 Joseph Myers <joseph@codesourcery.com>
25918 * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
25920 [UNIX98] (pthread_barrier_t): Do not expect.
25921 [UNIX98] (pthread_barrierattr_t): Likewise.
25922 [UNIX98] (pthread_spinlock_t): Likewise.
25923 [UNIX98] (pthread_barrier_destroy): Likewise.
25924 [UNIX98] (pthread_barrier_init): Likewise.
25925 [UNIX98] (pthread_barrier_wait): Likewise.
25926 [UNIX98] (pthread_barrierattr_destroy): Likewise.
25927 [UNIX98] (pthread_barrierattr_getpshared): Likewise.
25928 [UNIX98] (pthread_barrierattr_init): Likewise.
25929 [UNIX98] (pthread_barrierattr_setpshared): Likewise.
25930 [UNIX98] (pthread_getcpuclockid): Likewise.
25931 [UNIX98] (pthread_mutex_timedlock): Likewise.
25932 [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
25933 [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
25934 [UNIX98] (pthread_sigmask): Likewise.
25935 [UNIX98] (pthread_spin_destroy): Likewise.
25936 [UNIX98] (pthread_spin_init): Likewise.
25937 [UNIX98] (pthread_spin_lock): Likewise.
25938 [UNIX98] (pthread_spin_trylock): Likewise.
25939 [UNIX98] (pthread_spin_unlock): Likewise.
25940 * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
25942 [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
25943 [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
25944 [XPG3 || XPG4] (pthread_cond_t): Likewise.
25945 [XPG3 || XPG4] (pthread_condattr_t): Likewise.
25946 [XPG3 || XPG4] (pthread_key_t): Likewise.
25947 [XPG3 || XPG4] (pthread_mutex_t): Likewise.
25948 [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
25949 [XPG3 || XPG4] (pthread_once_t): Likewise.
25950 [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
25951 [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
25952 [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
25953 [XPG3 || XPG4] (pthread_t): Likewise.
25955 * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
25957 [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
25959 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
25960 Change function return type to int.
25962 * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
25963 Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
25964 [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
25965 [!POSIX] (POSIX_MADV_RANDOM): Likewise.
25966 [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
25967 [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
25968 [!POSIX] (posix_madvise): Likewise.
25969 (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
25971 (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
25972 (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
25973 (mode_t): Likewise.
25974 (posix_mem_offset): Likewise.
25975 (posix_typed_mem_get_info): Likewise.
25976 (posix_typed_mem_open): Likewise.
25978 * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
25979 Change condition to [XOPEN2K8].
25981 * conform/conformtest.pl: Preprocess allow-header data with -x c
25982 instead of from stdin.
25983 (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
25984 * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
25985 [C99-based standards] (cerfc): Likewise.
25986 [C99-based standards] (cexp2): Likewise.
25987 [C99-based standards] (cexpm1): Likewise.
25988 [C99-based standards] (clog10): Likewise.
25989 [C99-based standards] (clog1p): Likewise.
25990 [C99-based standards] (clog2): Likewise.
25991 [C99-based standards] (clgamma): Likewise.
25992 [C99-based standards] (ctgamma): Likewise.
25993 [C99-based standards] (cerff): Likewise.
25994 [C99-based standards] (cerfcf): Likewise.
25995 [C99-based standards] (cexp2f): Likewise.
25996 [C99-based standards] (cexpm1f): Likewise.
25997 [C99-based standards] (clog10f): Likewise.
25998 [C99-based standards] (clog1pf): Likewise.
25999 [C99-based standards] (clog2f): Likewise.
26000 [C99-based standards] (clgammaf): Likewise.
26001 [C99-based standards] (ctgammaf): Likewise.
26002 [C99-based standards] (cerfl): Likewise.
26003 [C99-based standards] (cerfcl): Likewise.
26004 [C99-based standards] (cexp2l): Likewise.
26005 [C99-based standards] (cexpm1l): Likewise.
26006 [C99-based standards] (clog10l): Likewise.
26007 [C99-based standards] (clog1pl): Likewise.
26008 [C99-based standards] (clog2l): Likewise.
26009 [C99-based standards] (clgammal): Likewise.
26010 [C99-based standards] (ctgammal): Likewise.
26011 * conform/data/inttypes.h-data [C99-based standards]: Include
26012 stdint.h-data. Remove all expectations for stdint.h contents.
26013 [C99-based standards] (PRI*): Do not allow.
26014 [C99-based standards] (SCN*): Likewise.
26015 [C99-based standards] (*_t): Likewise.
26016 [C99-based-standards] (PRId8): Expect macro.
26017 [C99-based-standards] (PRIi8): Likewise.
26018 [C99-based-standards] (PRIo8): Likewise.
26019 [C99-based-standards] (PRIu8): Likewise.
26020 [C99-based-standards] (PRIx8): Likewise.
26021 [C99-based-standards] (PRIX8): Likewise.
26022 [C99-based-standards] (SCNd8): Likewise.
26023 [C99-based-standards] (SCNi8): Likewise.
26024 [C99-based-standards] (SCNo8): Likewise.
26025 [C99-based-standards] (SCNu8): Likewise.
26026 [C99-based-standards] (SCNx8): Likewise.
26027 [C99-based-standards] (PRIdLEAST8): Likewise.
26028 [C99-based-standards] (PRIiLEAST8): Likewise.
26029 [C99-based-standards] (PRIoLEAST8): Likewise.
26030 [C99-based-standards] (PRIuLEAST8): Likewise.
26031 [C99-based-standards] (PRIxLEAST8): Likewise.
26032 [C99-based-standards] (PRIXLEAST8): Likewise.
26033 [C99-based-standards] (SCNdLEAST8): Likewise.
26034 [C99-based-standards] (SCNiLEAST8): Likewise.
26035 [C99-based-standards] (SCNoLEAST8): Likewise.
26036 [C99-based-standards] (SCNuLEAST8): Likewise.
26037 [C99-based-standards] (SCNxLEAST8): Likewise.
26038 [C99-based-standards] (PRIdFAST8): Likewise.
26039 [C99-based-standards] (PRIiFAST8): Likewise.
26040 [C99-based-standards] (PRIoFAST8): Likewise.
26041 [C99-based-standards] (PRIuFAST8): Likewise.
26042 [C99-based-standards] (PRIxFAST8): Likewise.
26043 [C99-based-standards] (PRIXFAST8): Likewise.
26044 [C99-based-standards] (SCNdFAST8): Likewise.
26045 [C99-based-standards] (SCNiFAST8): Likewise.
26046 [C99-based-standards] (SCNoFAST8): Likewise.
26047 [C99-based-standards] (SCNuFAST8): Likewise.
26048 [C99-based-standards] (SCNxFAST8): Likewise.
26049 [C99-based-standards] (PRId16): Likewise.
26050 [C99-based-standards] (PRIi16): Likewise.
26051 [C99-based-standards] (PRIo16): Likewise.
26052 [C99-based-standards] (PRIu16): Likewise.
26053 [C99-based-standards] (PRIx16): Likewise.
26054 [C99-based-standards] (PRIX16): Likewise.
26055 [C99-based-standards] (SCNd16): Likewise.
26056 [C99-based-standards] (SCNi16): Likewise.
26057 [C99-based-standards] (SCNo16): Likewise.
26058 [C99-based-standards] (SCNu16): Likewise.
26059 [C99-based-standards] (SCNx16): Likewise.
26060 [C99-based-standards] (PRIdLEAST16): Likewise.
26061 [C99-based-standards] (PRIiLEAST16): Likewise.
26062 [C99-based-standards] (PRIoLEAST16): Likewise.
26063 [C99-based-standards] (PRIuLEAST16): Likewise.
26064 [C99-based-standards] (PRIxLEAST16): Likewise.
26065 [C99-based-standards] (PRIXLEAST16): Likewise.
26066 [C99-based-standards] (SCNdLEAST16): Likewise.
26067 [C99-based-standards] (SCNiLEAST16): Likewise.
26068 [C99-based-standards] (SCNoLEAST16): Likewise.
26069 [C99-based-standards] (SCNuLEAST16): Likewise.
26070 [C99-based-standards] (SCNxLEAST16): Likewise.
26071 [C99-based-standards] (PRIdFAST16): Likewise.
26072 [C99-based-standards] (PRIiFAST16): Likewise.
26073 [C99-based-standards] (PRIoFAST16): Likewise.
26074 [C99-based-standards] (PRIuFAST16): Likewise.
26075 [C99-based-standards] (PRIxFAST16): Likewise.
26076 [C99-based-standards] (PRIXFAST16): Likewise.
26077 [C99-based-standards] (SCNdFAST16): Likewise.
26078 [C99-based-standards] (SCNiFAST16): Likewise.
26079 [C99-based-standards] (SCNoFAST16): Likewise.
26080 [C99-based-standards] (SCNuFAST16): Likewise.
26081 [C99-based-standards] (SCNxFAST16): Likewise.
26082 [C99-based-standards] (PRId32): Likewise.
26083 [C99-based-standards] (PRIi32): Likewise.
26084 [C99-based-standards] (PRIo32): Likewise.
26085 [C99-based-standards] (PRIu32): Likewise.
26086 [C99-based-standards] (PRIx32): Likewise.
26087 [C99-based-standards] (PRIX32): Likewise.
26088 [C99-based-standards] (SCNd32): Likewise.
26089 [C99-based-standards] (SCNi32): Likewise.
26090 [C99-based-standards] (SCNo32): Likewise.
26091 [C99-based-standards] (SCNu32): Likewise.
26092 [C99-based-standards] (SCNx32): Likewise.
26093 [C99-based-standards] (PRIdLEAST32): Likewise.
26094 [C99-based-standards] (PRIiLEAST32): Likewise.
26095 [C99-based-standards] (PRIoLEAST32): Likewise.
26096 [C99-based-standards] (PRIuLEAST32): Likewise.
26097 [C99-based-standards] (PRIxLEAST32): Likewise.
26098 [C99-based-standards] (PRIXLEAST32): Likewise.
26099 [C99-based-standards] (SCNdLEAST32): Likewise.
26100 [C99-based-standards] (SCNiLEAST32): Likewise.
26101 [C99-based-standards] (SCNoLEAST32): Likewise.
26102 [C99-based-standards] (SCNuLEAST32): Likewise.
26103 [C99-based-standards] (SCNxLEAST32): Likewise.
26104 [C99-based-standards] (PRIdFAST32): Likewise.
26105 [C99-based-standards] (PRIiFAST32): Likewise.
26106 [C99-based-standards] (PRIoFAST32): Likewise.
26107 [C99-based-standards] (PRIuFAST32): Likewise.
26108 [C99-based-standards] (PRIxFAST32): Likewise.
26109 [C99-based-standards] (PRIXFAST32): Likewise.
26110 [C99-based-standards] (SCNdFAST32): Likewise.
26111 [C99-based-standards] (SCNiFAST32): Likewise.
26112 [C99-based-standards] (SCNoFAST32): Likewise.
26113 [C99-based-standards] (SCNuFAST32): Likewise.
26114 [C99-based-standards] (SCNxFAST32): Likewise.
26115 [C99-based-standards] (PRId64): Likewise.
26116 [C99-based-standards] (PRIi64): Likewise.
26117 [C99-based-standards] (PRIo64): Likewise.
26118 [C99-based-standards] (PRIu64): Likewise.
26119 [C99-based-standards] (PRIx64): Likewise.
26120 [C99-based-standards] (PRIX64): Likewise.
26121 [C99-based-standards] (SCNd64): Likewise.
26122 [C99-based-standards] (SCNi64): Likewise.
26123 [C99-based-standards] (SCNo64): Likewise.
26124 [C99-based-standards] (SCNu64): Likewise.
26125 [C99-based-standards] (SCNx64): Likewise.
26126 [C99-based-standards] (PRIdLEAST64): Likewise.
26127 [C99-based-standards] (PRIiLEAST64): Likewise.
26128 [C99-based-standards] (PRIoLEAST64): Likewise.
26129 [C99-based-standards] (PRIuLEAST64): Likewise.
26130 [C99-based-standards] (PRIxLEAST64): Likewise.
26131 [C99-based-standards] (PRIXLEAST64): Likewise.
26132 [C99-based-standards] (SCNdLEAST64): Likewise.
26133 [C99-based-standards] (SCNiLEAST64): Likewise.
26134 [C99-based-standards] (SCNoLEAST64): Likewise.
26135 [C99-based-standards] (SCNuLEAST64): Likewise.
26136 [C99-based-standards] (SCNxLEAST64): Likewise.
26137 [C99-based-standards] (PRIdFAST64): Likewise.
26138 [C99-based-standards] (PRIiFAST64): Likewise.
26139 [C99-based-standards] (PRIoFAST64): Likewise.
26140 [C99-based-standards] (PRIuFAST64): Likewise.
26141 [C99-based-standards] (PRIxFAST64): Likewise.
26142 [C99-based-standards] (PRIXFAST64): Likewise.
26143 [C99-based-standards] (SCNdFAST64): Likewise.
26144 [C99-based-standards] (SCNiFAST64): Likewise.
26145 [C99-based-standards] (SCNoFAST64): Likewise.
26146 [C99-based-standards] (SCNuFAST64): Likewise.
26147 [C99-based-standards] (SCNxFAST64): Likewise.
26148 [C99-based-standards] (PRIdMAX): Likewise.
26149 [C99-based-standards] (PRIiMAX): Likewise.
26150 [C99-based-standards] (PRIoMAX): Likewise.
26151 [C99-based-standards] (PRIuMAX): Likewise.
26152 [C99-based-standards] (PRIxMAX): Likewise.
26153 [C99-based-standards] (PRIXMAX): Likewise.
26154 [C99-based-standards] (SCNdMAX): Likewise.
26155 [C99-based-standards] (SCNiMAX): Likewise.
26156 [C99-based-standards] (SCNoMAX): Likewise.
26157 [C99-based-standards] (SCNuMAX): Likewise.
26158 [C99-based-standards] (SCNxMAX): Likewise.
26159 [C99-based-standards] (PRIdPTR): Likewise.
26160 [C99-based-standards] (PRIiPTR): Likewise.
26161 [C99-based-standards] (PRIoPTR): Likewise.
26162 [C99-based-standards] (PRIuPTR): Likewise.
26163 [C99-based-standards] (PRIxPTR): Likewise.
26164 [C99-based-standards] (PRIXPTR): Likewise.
26165 [C99-based-standards] (SCNdPTR): Likewise.
26166 [C99-based-standards] (SCNiPTR): Likewise.
26167 [C99-based-standards] (SCNoPTR): Likewise.
26168 [C99-based-standards] (SCNuPTR): Likewise.
26169 [C99-based-standards] (SCNxPTR): Likewise.
26170 * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
26172 * conform/data/stdint.h-data: Update comments to clarify
26174 [C99-based standards] (INT8_MIN): Use macro-int-constant. Specify
26176 [C99-based standards] (INT8_MAX): Likewise.
26177 [C99-based standards] (INT16_MIN): Likewise.
26178 [C99-based standards] (INT16_MAX): Likewise.
26179 [C99-based standards] (INT32_MIN): Likewise.
26180 [C99-based standards] (INT32_MAX): Likewise.
26181 [C99-based standards] (INT64_MIN): Likewise.
26182 [C99-based standards] (INT64_MAX): Likewise.
26183 [C99-based standards] (UINT8_MAX): Likewise.
26184 [C99-based standards] (UINT16_MAX): Likewise.
26185 [C99-based standards] (UINT32_MAX): Likewise.
26186 [C99-based standards] (UINT64_MAX): Likewise.
26187 [C99-based standards] (INT_LEAST8_MIN): Likewise.
26188 [C99-based standards] (INT_LEAST8_MAX): Likewise.
26189 [C99-based standards] (INT_LEAST16_MIN): Likewise.
26190 [C99-based standards] (INT_LEAST16_MAX): Likewise.
26191 [C99-based standards] (INT_LEAST32_MIN): Likewise.
26192 [C99-based standards] (INT_LEAST32_MAX): Likewise.
26193 [C99-based standards] (INT_LEAST64_MIN): Likewise.
26194 [C99-based standards] (INT_LEAST64_MAX): Likewise.
26195 [C99-based standards] (UINT_LEAST8_MAX): Likewise.
26196 [C99-based standards] (UINT_LEAST16_MAX): Likewise.
26197 [C99-based standards] (UINT_LEAST32_MAX): Likewise.
26198 [C99-based standards] (UINT_LEAST64_MAX): Likewise.
26199 [C99-based standards] (INT_FAST8_MIN): Likewise.
26200 [C99-based standards] (INT_FAST8_MAX): Likewise.
26201 [C99-based standards] (INT_FAST16_MIN): Likewise.
26202 [C99-based standards] (INT_FAST16_MAX): Likewise.
26203 [C99-based standards] (INT_FAST32_MIN): Likewise.
26204 [C99-based standards] (INT_FAST32_MAX): Likewise.
26205 [C99-based standards] (INT_FAST64_MIN): Likewise.
26206 [C99-based standards] (INT_FAST64_MAX): Likewise.
26207 [C99-based standards] (UINT_FAST8_MAX): Likewise.
26208 [C99-based standards] (UINT_FAST16_MAX): Likewise.
26209 [C99-based standards] (UINT_FAST32_MAX): Likewise.
26210 [C99-based standards] (UINT_FAST64_MAX): Likewise.
26211 [C99-based standards] (INTPTR_MIN): Likewise.
26212 [C99-based standards] (INTPTR_MAX): Likewise.
26213 [C99-based standards] (UINTPTR_MAX): Likewise.
26214 [C99-based standards] (INTMAX_MIN): Likewise.
26215 [C99-based standards] (INTMAX_MAX): Likewise.
26216 [C99-based standards] (UINTMAX_MAX): Likewise.
26217 [C99-based standards] (PTRDIFF_MIN): Likewise.
26218 [C99-based standards] (PTRDIFF_MAX): Likewise.
26219 [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
26220 [C99-based standards] (SIZE_MAX): Likewise.
26221 [C99-based standards] (WCHAR_MAX): Likewise.
26222 [C99-based standards] (WINT_MAX): Likewise.
26223 [C99-based standards] (SIG_ATOMIC_MIN): Likewise. Do not specify
26224 constraint on value.
26225 [C99-based standards] (WCHAR_MIN): Likewise.
26226 [C99-based standards] (WINT_MIN): Likewise.
26227 [C99-based standards] (*_t): Allow.
26228 * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
26229 condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
26230 Include math.h-data and complex.h-data. Remove all expectations
26231 of math.h and complex.h contents.
26232 * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
26234 * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
26235 (struct tm): Expect tag.
26236 [C99-based-standards] (wcstof): Expect function.
26237 [C99-based-standards] (wcstold): Likewise.
26238 [C99-based-standards] (wcstoll): Likewise.
26239 [C99-based-standards] (wcstoull): Likewise.
26240 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
26241 macro-int-constant. Specify type.
26242 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise. Specify
26243 constraint on value.
26244 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
26246 [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
26248 [ISO C standards]: Do not allow headers.
26249 [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
26250 wcs[abcdefghijklmnopqrstuvwxyz]*.
26251 [ISO C standards] (*_t): Do not allow.
26252 * conform/data/wctype.h-data [C99-based standards] (iswblank):
26254 [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
26255 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
26257 [ISO C standards]: Do not allow headers.
26258 [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
26259 is[abcdefghijklmnopqrstuvwxyz]*.
26260 [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
26261 to[abcdefghijklmnopqrstuvwxyz]*.
26262 [ISO C standards] (*_t): Do not allow.
26263 * conform/data/stdalign.h-data: New file.
26264 * conform/data/stdbool.h-data: Likewise.
26265 * conform/data/stdnoreturn.h-data: Likewise.
26267 2012-11-07 Roland McGrath <roland@hack.frob.com>
26270 * manual/filesys.texi (Directory Entries): Typo fix.
26271 Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
26273 2012-11-07 Marcus Shawcroft <marcus.shawcroft@linaro.org>
26275 * elf/elf.h (EM_AARCH64): New macro.
26276 (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
26277 (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
26278 (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
26279 (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
26280 (R_AARCH64_TLSDESC): Likewise.
26281 (NT_ARM_TLS): Likewise.
26282 (NT_ARM_HW_BREAK): Likewise.
26283 (NT_ARM_HW_WATCH): Likewise.
26285 2012-11-07 Joseph Myers <joseph@codesourcery.com>
26288 * sysdeps/i386/fpu/e_powl.S (pm79): New object.
26289 (__ieee754_powl): Saturate nonzero exponents with absolute value
26290 below 0x1p-79 to +/- 0x1p-79.
26291 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
26292 exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
26293 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
26294 nonzero exponents with absolute value below 0x1p-32 to +/-
26296 * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
26297 (__ieee754_powl): Saturate nonzero exponents with absolute value
26298 below 0x1p-79 to +/- 0x1p-79.
26299 * math/libm-test.inc (pow_test): Add more tests.
26301 2012-11-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
26303 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
26304 _dl_s390_cap_flags with kernel. Increase string length.
26305 (_dl_s390_platforms): Add z196 and zEC12.
26307 2012-11-07 Joseph Myers <joseph@codesourcery.com>
26309 * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
26310 Change XOPEN21K to XOPEN2K.
26312 2012-11-06 Maxim Kuvyrkov <maxim@codesourcery.com>
26314 * string/memmove.c: Use memcpy when possible.
26316 2012-11-06 Andreas Jaeger <aj@suse.de>
26318 * po/eo.po: Update from translation team.
26320 2012-11-06 Joseph Myers <joseph@codesourcery.com>
26323 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
26324 exponent and small x and y exponents, scale x or y up. Increase
26325 by 2 the exponent used in scaling up.
26326 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
26327 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
26328 * math/libm-test.inc (fma_test): Add more tests.
26329 (fma_test_towardzero): Likewise.
26330 (fma_test_downward): Likewise.
26331 (fma_test_upward): Likewise.
26333 2012-11-05 Joseph Myers <joseph@codesourcery.com>
26336 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
26340 * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
26341 namespace for names of struct fields.
26342 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
26344 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
26345 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
26347 2012-11-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
26350 * sysdeps/mach/hurd/bits/errno.h: Regenerated.
26352 2012-11-04 Thomas Schwinge <thomas@codesourcery.com>
26354 * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
26358 * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
26361 2012-11-04 Joseph Myers <joseph@codesourcery.com>
26364 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
26365 definitely overflow as x * y not x * y + z.
26366 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
26367 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
26368 * math/libm-test.inc (fma_test): Add more tests.
26369 (fma_test_towardzero): Likewise.
26370 (fma_test_downward): Likewise.
26371 (fma_test_upward): Likewise.
26373 2012-11-04 Thomas Schwinge <thomas@codesourcery.com>
26377 * include/stub-tag.h: Remove file.
26378 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
26380 * manual/maint.texi (Porting): Don't reference it.
26381 * Makerules ($(objpfx)stubs): Likewise.
26382 * dirent/closedir.c: Don't include <stub-tag.h>.
26383 * dirent/dirfd.c: Likewise.
26384 * dirent/fdopendir.c: Likewise.
26385 * dirent/getdents.c: Likewise.
26386 * dirent/getdents64.c: Likewise.
26387 * dirent/opendir.c: Likewise.
26388 * dirent/readdir.c: Likewise.
26389 * dirent/readdir64.c: Likewise.
26390 * dirent/readdir64_r.c: Likewise.
26391 * dirent/readdir_r.c: Likewise.
26392 * dirent/rewinddir.c: Likewise.
26393 * dirent/seekdir.c: Likewise.
26394 * dirent/telldir.c: Likewise.
26395 * gmon/profil.c: Likewise.
26396 * grp/setgroups.c: Likewise.
26397 * inet/if_index.c: Likewise.
26398 * io/access.c: Likewise.
26399 * io/chdir.c: Likewise.
26400 * io/chmod.c: Likewise.
26401 * io/chown.c: Likewise.
26402 * io/close.c: Likewise.
26403 * io/dup.c: Likewise.
26404 * io/dup2.c: Likewise.
26405 * io/dup3.c: Likewise.
26406 * io/euidaccess.c: Likewise.
26407 * io/faccessat.c: Likewise.
26408 * io/fchdir.c: Likewise.
26409 * io/fchmod.c: Likewise.
26410 * io/fchmodat.c: Likewise.
26411 * io/fchown.c: Likewise.
26412 * io/fchownat.c: Likewise.
26413 * io/fcntl.c: Likewise.
26414 * io/flock.c: Likewise.
26415 * io/fstatfs.c: Likewise.
26416 * io/fstatfs64.c: Likewise.
26417 * io/fstatvfs.c: Likewise.
26418 * io/fstatvfs64.c: Likewise.
26419 * io/futimens.c: Likewise.
26420 * io/fxstat.c: Likewise.
26421 * io/fxstat64.c: Likewise.
26422 * io/fxstatat.c: Likewise.
26423 * io/fxstatat64.c: Likewise.
26424 * io/getcwd.c: Likewise.
26425 * io/isatty.c: Likewise.
26426 * io/lchmod.c: Likewise.
26427 * io/lchown.c: Likewise.
26428 * io/link.c: Likewise.
26429 * io/linkat.c: Likewise.
26430 * io/lseek.c: Likewise.
26431 * io/lseek64.c: Likewise.
26432 * io/lxstat64.c: Likewise.
26433 * io/mkdir.c: Likewise.
26434 * io/mkdirat.c: Likewise.
26435 * io/mkfifo.c: Likewise.
26436 * io/mkfifoat.c: Likewise.
26437 * io/open.c: Likewise.
26438 * io/open64.c: Likewise.
26439 * io/openat.c: Likewise.
26440 * io/openat64.c: Likewise.
26441 * io/pipe.c: Likewise.
26442 * io/pipe2.c: Likewise.
26443 * io/poll.c: Likewise.
26444 * io/posix_fadvise.c: Likewise.
26445 * io/posix_fadvise64.c: Likewise.
26446 * io/posix_fallocate.c: Likewise.
26447 * io/posix_fallocate64.c: Likewise.
26448 * io/read.c: Likewise.
26449 * io/readlink.c: Likewise.
26450 * io/readlinkat.c: Likewise.
26451 * io/rmdir.c: Likewise.
26452 * io/sendfile.c: Likewise.
26453 * io/sendfile64.c: Likewise.
26454 * io/statfs.c: Likewise.
26455 * io/statfs64.c: Likewise.
26456 * io/statvfs.c: Likewise.
26457 * io/statvfs64.c: Likewise.
26458 * io/symlink.c: Likewise.
26459 * io/symlinkat.c: Likewise.
26460 * io/ttyname.c: Likewise.
26461 * io/ttyname_r.c: Likewise.
26462 * io/umask.c: Likewise.
26463 * io/unlink.c: Likewise.
26464 * io/unlinkat.c: Likewise.
26465 * io/utime.c: Likewise.
26466 * io/utimensat.c: Likewise.
26467 * io/write.c: Likewise.
26468 * io/xmknod.c: Likewise.
26469 * io/xmknodat.c: Likewise.
26470 * io/xstat.c: Likewise.
26471 * io/xstat64.c: Likewise.
26472 * login/getpt.c: Likewise.
26473 * login/grantpt.c: Likewise.
26474 * login/unlockpt.c: Likewise.
26475 * math/e_acoshl.c: Likewise.
26476 * math/e_acosl.c: Likewise.
26477 * math/e_asinl.c: Likewise.
26478 * math/e_atan2l.c: Likewise.
26479 * math/e_atanhl.c: Likewise.
26480 * math/e_coshl.c: Likewise.
26481 * math/e_expl.c: Likewise.
26482 * math/e_fmodl.c: Likewise.
26483 * math/e_gammal_r.c: Likewise.
26484 * math/e_hypotl.c: Likewise.
26485 * math/e_j0l.c: Likewise.
26486 * math/e_j1l.c: Likewise.
26487 * math/e_jnl.c: Likewise.
26488 * math/e_lgammal_r.c: Likewise.
26489 * math/e_log10l.c: Likewise.
26490 * math/e_log2l.c: Likewise.
26491 * math/e_logl.c: Likewise.
26492 * math/e_powl.c: Likewise.
26493 * math/e_rem_pio2l.c: Likewise.
26494 * math/e_sinhl.c: Likewise.
26495 * math/e_sqrtl.c: Likewise.
26496 * math/fclrexcpt.c: Likewise.
26497 * math/fedisblxcpt.c: Likewise.
26498 * math/feenablxcpt.c: Likewise.
26499 * math/fegetenv.c: Likewise.
26500 * math/fegetexcept.c: Likewise.
26501 * math/fegetround.c: Likewise.
26502 * math/feholdexcpt.c: Likewise.
26503 * math/fesetenv.c: Likewise.
26504 * math/fesetround.c: Likewise.
26505 * math/feupdateenv.c: Likewise.
26506 * math/fgetexcptflg.c: Likewise.
26507 * math/fraiseexcpt.c: Likewise.
26508 * math/fsetexcptflg.c: Likewise.
26509 * math/ftestexcept.c: Likewise.
26510 * math/k_cosl.c: Likewise.
26511 * math/k_rem_pio2l.c: Likewise.
26512 * math/k_sinl.c: Likewise.
26513 * math/k_tanl.c: Likewise.
26514 * math/s_asinhl.c: Likewise.
26515 * math/s_atanl.c: Likewise.
26516 * math/s_cbrtl.c: Likewise.
26517 * math/s_erfl.c: Likewise.
26518 * math/s_expm1l.c: Likewise.
26519 * math/s_log1pl.c: Likewise.
26520 * math/s_tanhl.c: Likewise.
26521 * misc/acct.c: Likewise.
26522 * misc/brk.c: Likewise.
26523 * misc/chflags.c: Likewise.
26524 * misc/chroot.c: Likewise.
26525 * misc/fchflags.c: Likewise.
26526 * misc/fgetxattr.c: Likewise.
26527 * misc/flistxattr.c: Likewise.
26528 * misc/fremovexattr.c: Likewise.
26529 * misc/fsetxattr.c: Likewise.
26530 * misc/fsync.c: Likewise.
26531 * misc/ftruncate.c: Likewise.
26532 * misc/futimes.c: Likewise.
26533 * misc/futimesat.c: Likewise.
26534 * misc/getdomain.c: Likewise.
26535 * misc/getdtsz.c: Likewise.
26536 * misc/gethostid.c: Likewise.
26537 * misc/gethostname.c: Likewise.
26538 * misc/getloadavg.c: Likewise.
26539 * misc/getpagesize.c: Likewise.
26540 * misc/getsysstats.c: Likewise.
26541 * misc/getxattr.c: Likewise.
26542 * misc/gtty.c: Likewise.
26543 * misc/ioctl.c: Likewise.
26544 * misc/lgetxattr.c: Likewise.
26545 * misc/listxattr.c: Likewise.
26546 * misc/llistxattr.c: Likewise.
26547 * misc/lremovexattr.c: Likewise.
26548 * misc/lsetxattr.c: Likewise.
26549 * misc/lutimes.c: Likewise.
26550 * misc/madvise.c: Likewise.
26551 * misc/mincore.c: Likewise.
26552 * misc/mlock.c: Likewise.
26553 * misc/mlockall.c: Likewise.
26554 * misc/mmap.c: Likewise.
26555 * misc/mprotect.c: Likewise.
26556 * misc/msync.c: Likewise.
26557 * misc/munlock.c: Likewise.
26558 * misc/munlockall.c: Likewise.
26559 * misc/munmap.c: Likewise.
26560 * misc/preadv.c: Likewise.
26561 * misc/preadv64.c: Likewise.
26562 * misc/ptrace.c: Likewise.
26563 * misc/pwritev.c: Likewise.
26564 * misc/pwritev64.c: Likewise.
26565 * misc/readv.c: Likewise.
26566 * misc/reboot.c: Likewise.
26567 * misc/remap_file_pages.c: Likewise.
26568 * misc/removexattr.c: Likewise.
26569 * misc/revoke.c: Likewise.
26570 * misc/select.c: Likewise.
26571 * misc/setdomain.c: Likewise.
26572 * misc/setegid.c: Likewise.
26573 * misc/seteuid.c: Likewise.
26574 * misc/sethostid.c: Likewise.
26575 * misc/sethostname.c: Likewise.
26576 * misc/setregid.c: Likewise.
26577 * misc/setreuid.c: Likewise.
26578 * misc/setxattr.c: Likewise.
26579 * misc/sstk.c: Likewise.
26580 * misc/stty.c: Likewise.
26581 * misc/swapoff.c: Likewise.
26582 * misc/swapon.c: Likewise.
26583 * misc/sync.c: Likewise.
26584 * misc/syncfs.c: Likewise.
26585 * misc/syscall.c: Likewise.
26586 * misc/truncate.c: Likewise.
26587 * misc/ualarm.c: Likewise.
26588 * misc/usleep.c: Likewise.
26589 * misc/ustat.c: Likewise.
26590 * misc/utimes.c: Likewise.
26591 * misc/vhangup.c: Likewise.
26592 * misc/writev.c: Likewise.
26593 * posix/_exit.c: Likewise.
26594 * posix/alarm.c: Likewise.
26595 * posix/execve.c: Likewise.
26596 * posix/fexecve.c: Likewise.
26597 * posix/fork.c: Likewise.
26598 * posix/fpathconf.c: Likewise.
26599 * posix/getaddrinfo.c: Likewise.
26600 * posix/getegid.c: Likewise.
26601 * posix/geteuid.c: Likewise.
26602 * posix/getgid.c: Likewise.
26603 * posix/getgroups.c: Likewise.
26604 * posix/getlogin.c: Likewise.
26605 * posix/getlogin_r.c: Likewise.
26606 * posix/getpgid.c: Likewise.
26607 * posix/getpid.c: Likewise.
26608 * posix/getppid.c: Likewise.
26609 * posix/getresgid.c: Likewise.
26610 * posix/getresuid.c: Likewise.
26611 * posix/getsid.c: Likewise.
26612 * posix/getuid.c: Likewise.
26613 * posix/glob64.c: Likewise.
26614 * posix/nanosleep.c: Likewise.
26615 * posix/pathconf.c: Likewise.
26616 * posix/pause.c: Likewise.
26617 * posix/posix_madvise.c: Likewise.
26618 * posix/pread.c: Likewise.
26619 * posix/pread64.c: Likewise.
26620 * posix/pwrite.c: Likewise.
26621 * posix/pwrite64.c: Likewise.
26622 * posix/sched_getaffinity.c: Likewise.
26623 * posix/sched_getp.c: Likewise.
26624 * posix/sched_gets.c: Likewise.
26625 * posix/sched_primax.c: Likewise.
26626 * posix/sched_primin.c: Likewise.
26627 * posix/sched_rr_gi.c: Likewise.
26628 * posix/sched_setaffinity.c: Likewise.
26629 * posix/sched_setp.c: Likewise.
26630 * posix/sched_sets.c: Likewise.
26631 * posix/sched_yield.c: Likewise.
26632 * posix/setgid.c: Likewise.
26633 * posix/setlogin.c: Likewise.
26634 * posix/setpgid.c: Likewise.
26635 * posix/setresgid.c: Likewise.
26636 * posix/setresuid.c: Likewise.
26637 * posix/setsid.c: Likewise.
26638 * posix/setuid.c: Likewise.
26639 * posix/sleep.c: Likewise.
26640 * posix/spawni.c: Likewise.
26641 * posix/sysconf.c: Likewise.
26642 * posix/times.c: Likewise.
26643 * posix/wait.c: Likewise.
26644 * posix/wait3.c: Likewise.
26645 * posix/wait4.c: Likewise.
26646 * posix/waitpid.c: Likewise.
26647 * resolv/gai_sigqueue.c: Likewise.
26648 * resource/getpriority.c: Likewise.
26649 * resource/getrlimit.c: Likewise.
26650 * resource/getrusage.c: Likewise.
26651 * resource/nice.c: Likewise.
26652 * resource/setpriority.c: Likewise.
26653 * resource/setrlimit.c: Likewise.
26654 * resource/ulimit.c: Likewise.
26655 * rt/aio_cancel.c: Likewise.
26656 * rt/aio_fsync.c: Likewise.
26657 * rt/aio_read.c: Likewise.
26658 * rt/aio_sigqueue.c: Likewise.
26659 * rt/aio_suspend.c: Likewise.
26660 * rt/aio_write.c: Likewise.
26661 * rt/clock_getres.c: Likewise.
26662 * rt/clock_gettime.c: Likewise.
26663 * rt/clock_nanosleep.c: Likewise.
26664 * rt/clock_settime.c: Likewise.
26665 * rt/lio_listio.c: Likewise.
26666 * rt/mq_close.c: Likewise.
26667 * rt/mq_getattr.c: Likewise.
26668 * rt/mq_notify.c: Likewise.
26669 * rt/mq_open.c: Likewise.
26670 * rt/mq_receive.c: Likewise.
26671 * rt/mq_send.c: Likewise.
26672 * rt/mq_setattr.c: Likewise.
26673 * rt/mq_timedreceive.c: Likewise.
26674 * rt/mq_timedsend.c: Likewise.
26675 * rt/mq_unlink.c: Likewise.
26676 * rt/shm_open.c: Likewise.
26677 * rt/shm_unlink.c: Likewise.
26678 * rt/timer_create.c: Likewise.
26679 * rt/timer_delete.c: Likewise.
26680 * rt/timer_getoverr.c: Likewise.
26681 * rt/timer_gettime.c: Likewise.
26682 * rt/timer_settime.c: Likewise.
26683 * setjmp/__longjmp.c: Likewise.
26684 * setjmp/setjmp.c: Likewise.
26685 * signal/kill.c: Likewise.
26686 * signal/killpg.c: Likewise.
26687 * signal/raise.c: Likewise.
26688 * signal/sigaction.c: Likewise.
26689 * signal/sigaltstack.c: Likewise.
26690 * signal/sigblock.c: Likewise.
26691 * signal/sigignore.c: Likewise.
26692 * signal/sigintr.c: Likewise.
26693 * signal/signal.c: Likewise.
26694 * signal/sigpause.c: Likewise.
26695 * signal/sigpending.c: Likewise.
26696 * signal/sigqueue.c: Likewise.
26697 * signal/sigreturn.c: Likewise.
26698 * signal/sigset.c: Likewise.
26699 * signal/sigsetmask.c: Likewise.
26700 * signal/sigstack.c: Likewise.
26701 * signal/sigsuspend.c: Likewise.
26702 * signal/sigtimedwait.c: Likewise.
26703 * signal/sigvec.c: Likewise.
26704 * signal/sigwait.c: Likewise.
26705 * signal/sigwaitinfo.c: Likewise.
26706 * signal/sysv_signal.c: Likewise.
26707 * socket/accept.c: Likewise.
26708 * socket/accept4.c: Likewise.
26709 * socket/bind.c: Likewise.
26710 * socket/connect.c: Likewise.
26711 * socket/getpeername.c: Likewise.
26712 * socket/getsockname.c: Likewise.
26713 * socket/getsockopt.c: Likewise.
26714 * socket/isfdtype.c: Likewise.
26715 * socket/listen.c: Likewise.
26716 * socket/recv.c: Likewise.
26717 * socket/recvfrom.c: Likewise.
26718 * socket/recvmsg.c: Likewise.
26719 * socket/send.c: Likewise.
26720 * socket/sendmsg.c: Likewise.
26721 * socket/sendto.c: Likewise.
26722 * socket/setsockopt.c: Likewise.
26723 * socket/shutdown.c: Likewise.
26724 * socket/sockatmark.c: Likewise.
26725 * socket/socket.c: Likewise.
26726 * socket/socketpair.c: Likewise.
26727 * stdio-common/ctermid.c: Likewise.
26728 * stdio-common/cuserid.c: Likewise.
26729 * stdio-common/remove.c: Likewise.
26730 * stdio-common/rename.c: Likewise.
26731 * stdio-common/renameat.c: Likewise.
26732 * stdio-common/tempname.c: Likewise.
26733 * stdlib/getcontext.c: Likewise.
26734 * stdlib/makecontext.c: Likewise.
26735 * stdlib/setcontext.c: Likewise.
26736 * stdlib/swapcontext.c: Likewise.
26737 * stdlib/system.c: Likewise.
26738 * streams/fattach.c: Likewise.
26739 * streams/fdetach.c: Likewise.
26740 * streams/getmsg.c: Likewise.
26741 * streams/getpmsg.c: Likewise.
26742 * streams/putmsg.c: Likewise.
26743 * streams/putpmsg.c: Likewise.
26744 * sysdeps/unix/bsd/getpt.c: Likewise.
26745 * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
26746 * sysdeps/unix/sysv/linux/futimens.c: Likewise.
26747 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
26748 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
26750 * sysdeps/unix/sysv/linux/readahead.c: Likewise.
26751 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
26752 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
26753 * sysvipc/msgctl.c: Likewise.
26754 * sysvipc/msgget.c: Likewise.
26755 * sysvipc/msgrcv.c: Likewise.
26756 * sysvipc/msgsnd.c: Likewise.
26757 * sysvipc/semctl.c: Likewise.
26758 * sysvipc/semget.c: Likewise.
26759 * sysvipc/semop.c: Likewise.
26760 * sysvipc/semtimedop.c: Likewise.
26761 * sysvipc/shmat.c: Likewise.
26762 * sysvipc/shmctl.c: Likewise.
26763 * sysvipc/shmdt.c: Likewise.
26764 * sysvipc/shmget.c: Likewise.
26765 * termios/tcdrain.c: Likewise.
26766 * termios/tcflow.c: Likewise.
26767 * termios/tcflush.c: Likewise.
26768 * termios/tcgetattr.c: Likewise.
26769 * termios/tcgetpgrp.c: Likewise.
26770 * termios/tcsendbrk.c: Likewise.
26771 * termios/tcsetattr.c: Likewise.
26772 * termios/tcsetpgrp.c: Likewise.
26773 * time/adjtime.c: Likewise.
26774 * time/clock.c: Likewise.
26775 * time/getitimer.c: Likewise.
26776 * time/gettimeofday.c: Likewise.
26777 * time/setitimer.c: Likewise.
26778 * time/settimeofday.c: Likewise.
26779 * time/stime.c: Likewise.
26780 * time/time.c: Likewise.
26782 2012-11-04 Pino Toscano <toscano.pino@tiscali.it>
26784 * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
26787 * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
26789 * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
26791 2012-11-03 Joseph Myers <joseph@codesourcery.com>
26794 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
26795 FE_TONEAREST before applying Dekker multiplication and Knuth
26796 addition. Clear inexact exceptions and check for exact zero
26797 results afterwards.
26798 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
26799 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
26800 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
26801 * math/libm-test.inc (fma_test): Add more tests.
26802 (fma_test_towardzero): Likewise.
26803 (fma_test_downward): Likewise.
26804 (fma_test_upward): Likewise.
26805 * sysdeps/generic/math_private.h (default_libc_fesetround): New
26807 (libc_fesetround): New macro.
26808 (libc_fesetroundf): Likewise.
26809 (libc_fesetroundl): Likewise.
26810 * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
26812 (libc_fesetround_387): Likewise.
26813 (libc_fesetroundf): New macro.
26814 (libc_fesetround): Likewise.
26815 (libc_fesetroundl): Likewise.
26816 * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
26818 (libc_fesetroundf): New macro.
26819 (libc_fesetround): Likewise.
26820 (libc_fesetroundl): Likewise.
26821 * include/fenv.h (feclearexcept): Add libm_hidden_proto.
26822 * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
26823 * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
26825 * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
26826 * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
26828 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
26829 * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
26831 * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
26835 * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
26836 integer constant usable in #if and use that to give value to enum
26838 (FE_DIVBYZERO): Likewise.
26839 (FE_UNDERFLOW): Likewise.
26840 (FE_OVERFLOW): Likewise.
26841 (FE_INVALID): Likewise.
26842 (FE_INVALID_SNAN): Likewise.
26843 (FE_INVALID_ISI): Likewise.
26844 (FE_INVALID_IDI): Likewise.
26845 (FE_INVALID_ZDZ): Likewise.
26846 (FE_INVALID_IMZ): Likewise.
26847 (FE_INVALID_COMPARE): Likewise.
26848 (FE_INVALID_SOFTWARE): Likewise.
26849 (FE_INVALID_SQRT): Likewise.
26850 (FE_INVALID_INTEGER_CONVERSION): Likewise.
26851 (FE_TONEAREST): Likewise.
26852 (FE_TOWARDZERO): Likewise.
26853 (FE_UPWARD): Likewise.
26854 (FE_DOWNWARD): Likewise.
26855 * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
26856 (FE_DIVBYZERO): Likewise.
26857 (FE_OVERFLOW): Likewise.
26858 (FE_UNDERFLOW): Likewise.
26859 (FE_INEXACT): Likewise.
26860 (FE_TONEAREST): Likewise.
26861 (FE_DOWNWARD): Likewise.
26862 (FE_UPWARD): Likewise.
26863 (FE_TOWARDZERO): Likewise.
26864 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
26865 (FE_UNDERFLOW): Likewise.
26866 (FE_OVERFLOW): Likewise.
26867 (FE_DIVBYZERO): Likewise.
26868 (FE_INVALID): Likewise.
26869 (FE_TONEAREST): Likewise.
26870 (FE_TOWARDZERO): Likewise.
26871 * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
26872 (FE_OVERFLOW): Likewise.
26873 (FE_UNDERFLOW): Likewise.
26874 (FE_DIVBYZERO): Likewise.
26875 (FE_INEXACT): Likewise.
26876 (FE_TONEAREST): Likewise.
26877 (FE_TOWARDZERO): Likewise.
26878 (FE_UPWARD): Likewise.
26879 (FE_DOWNWARD): Likewise.
26880 * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
26881 (FE_DIVBYZERO): Likewise.
26882 (FE_OVERFLOW): Likewise.
26883 (FE_UNDERFLOW): Likewise.
26884 (FE_INEXACT): Likewise.
26885 (FE_TONEAREST): Likewise.
26886 (FE_DOWNWARD): Likewise.
26887 (FE_UPWARD): Likewise.
26888 (FE_TOWARDZERO): Likewise.
26890 2012-11-02 Chris Metcalf <cmetcalf@tilera.com>
26892 * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
26894 2012-11-03 Andreas Schwab <schwab@linux-m68k.org>
26896 * scripts/cross-test-ssh.sh (command): Use newlines to separate
26897 commands. Quote $PWD.
26898 (blacklist_exports): Don't use remove_newlines. Replace "declare
26900 (remove_newlines): Remove.
26902 2012-11-02 H.J. Lu <hongjiu.lu@intel.com>
26904 * stdlib/Makefile (headers): Add bits/stdlib-float.h.
26905 * stdlib/stdlib.h (atof): Moved to ...
26906 * include/bits/stdlib-float.h: Here. New file.
26907 * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
26908 * stdlib/bits/stdlib-float.h: New file.
26909 * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
26911 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
26914 2012-11-02 Joseph Myers <joseph@codesourcery.com>
26916 * conform/conformtest.pl (@headers): Add fenv.h.
26917 * conform/data/fenv.h-data: New file.
26918 * include/fenv.h [_ISOMAC]: Disable all contents of file except
26919 include of <math/fenv.h>.
26921 * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
26922 POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
26923 && !UNIX98]. Enables tests for XOPEN2K8.
26924 * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
26925 POSIX2008]: Likewise.
26927 * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
26928 (struct rusage): Do not expect type or its members.
26931 * math/math.h (FP_NAN): Define macro to integer constant usable in
26932 #if and use that to give value to enum constant.
26933 (FP_INFINITE): Likewise.
26934 (FP_ZERO): Likewise.
26935 (FP_SUBNORMAL): Likewise.
26936 (FP_NORMAL): Likewise.
26938 2012-11-02 Andreas Schwab <schwab@linux-m68k.org>
26940 * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
26941 * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
26944 2012-11-02 Roland McGrath <roland@hack.frob.com>
26946 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
26947 Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
26948 autoconf-time if not.
26949 * configure.in: Remove AC_PREREQ.
26951 2012-11-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
26953 * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
26954 __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
26955 of the internal implementation.
26957 2012-11-02 Joseph Myers <joseph@codesourcery.com>
26959 * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
26960 except include of <misc/sys/syslog.h>.
26962 2012-11-01 Andreas Schwab <schwab@linux-m68k.org>
26964 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
26965 function returns with a NULL context exit with zero.
26967 2012-11-01 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
26969 * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
26971 2012-11-01 H.J. Lu <hongjiu.lu@intel.com>
26973 * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
26974 (run_program_cmd): This.
26975 * localedata/tst-langinfo.sh (run_program_prefix): Removed.
26976 (tst_langinfo): New variable. Use it.
26978 2012-11-01 Sebastan Andrzej Siewior <bigeasy@linutronix.de>
26980 * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
26981 floating point opcodes.
26983 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
26985 * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
26988 * elf/dl-support.c: Unconditionally include "setup-vdso.h".
26990 * sysdeps/mach/hurd/powerpc: Remove directory.
26991 * sysdeps/mach/powerpc: Likewise.
26993 2012-11-01 Andreas Schwab <schwab@linux-m68k.org>
26995 * scripts/check-local-headers.sh: Ignore c++ headers.
26997 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
26999 * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
27000 __libc_cleanup_region_start argument.
27002 2012-11-01 Joseph Myers <joseph@codesourcery.com>
27006 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
27007 x * y using scaling, not as x * y + z.
27008 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
27009 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
27010 * math/libm-test.inc (fma_test): Add more tests.
27011 (fma_test_towardzero): Likewise.
27012 (fma_test_downward): Likewise.
27013 (fma_test_upward): Likewise.
27015 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
27017 * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
27019 2012-10-31 Joseph Myers <joseph@codesourcery.com>
27021 * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
27024 2012-10-31 Thomas Schwinge <thomas@codesourcery.com>
27026 * rt/tst-shm.c (worker): Correct checking for mmap failure.
27028 2012-10-31 Andreas Schwab <schwab@linux-m68k.org>
27030 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
27032 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
27035 2012-10-31 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
27037 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
27038 Fix the order of the list for glibc 2.17.
27039 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
27042 2012-10-31 Andreas Schwab <schwab@linux-m68k.org>
27044 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
27046 2012-10-31 Joseph Myers <joseph@codesourcery.com>
27049 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
27050 for low part of x being zero before using __atanl (y).
27051 * math/libm-test.inc (atan2_test): Add another test.
27053 * manual/install.texi (Configuring and compiling): Document
27054 general use of test-wrapper and test-wrapper-env.
27055 * INSTALL: Regenerated.
27057 * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
27058 (__fma): Do not extract and scale down low bits on after-rounding
27059 systems when result rounded to normal precision would have normal
27061 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
27062 (__fmal): Do not extract and scale down low bits on after-rounding
27063 systems when result rounded to normal precision would have normal
27065 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
27066 (__fmal): Do not extract and scale down low bits on after-rounding
27067 systems when result rounded to normal precision would have normal
27069 * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
27071 (fma_test): Add more tests.
27072 (fma_test_towardzero): Likewise.
27073 (fma_test_downward): Likewise.
27074 (fma_test_upward): Likewise.
27076 2012-10-30 H.J. Lu <hongjiu.lu@intel.com>
27078 * sysdeps/i386/tininess.h: Renamed to ...
27079 * sysdeps/x86/tininess.h: This.
27080 * sysdeps/x86_64/tininess.h: Removed.
27082 2012-10-30 Joseph Myers <joseph@codesourcery.com>
27084 * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
27085 input. Use $(build-program-cmd).
27086 ($(objpfx)tst-array1-static.out): Likewise.
27087 ($(objpfx)tst-array2.out): Likewise.
27088 ($(objpfx)tst-array3.out): Likewise.
27089 ($(objpfx)tst-array4.out): Likewise.
27090 ($(objpfx)tst-array5.out): Likewise.
27091 ($(objpfx)tst-array5-static.out): Likewise.
27093 2012-10-30 Chris Metcalf <cmetcalf@tilera.com>
27095 * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
27098 * nss/nsswitch.h (nss_interface_function): Provide new
27099 macro for use with NSS functions.
27100 * grp/initgroups.c: Use new macro.
27101 * nss/getXXbyYY.c: Likewise.
27102 * nss/getXXbyYY_r.c: Likewise.
27103 * nss/getXXent.c: Likewise.
27104 * nss/getXXent_r.c: Likewise.
27105 * sysdeps/posix/getaddrinfo.c: Likewise.
27107 2012-10-30 Andreas Jaeger <aj@suse.de>
27109 * po/ru.po: Update Russion translation from translation project.
27111 2012-10-30 Joseph Myers <joseph@codesourcery.com>
27115 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
27116 result and shift together with sticky bit instead of replicating
27117 round-to-nearest rounding.
27118 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
27119 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
27120 * math/libm-test.inc (fma_test): Add more tests. Do not permit
27121 missing underflow exceptions.
27122 (fma_test_towardzero): Add more tests.
27123 (fma_test_downward): Likewise.
27124 (fma_test_upward): Likewise.
27127 * sysdeps/generic/tininess.h: New file.
27128 * sysdeps/i386/tininess.h: Likewise.
27129 * sysdeps/sh/tininess.h: Likewise.
27130 * sysdeps/x86_64/tininess.h: Likewise.
27131 * stdlib/tst-strtod-underflow.c: Likewise.
27132 * stdlib/tst-tininess.c: Likewise.
27133 * stdlib/strtod_l.c: Include <tininess.h>.
27134 (round_and_return): Do not set errno for exact underflow cases.
27135 Force an underflow exception when setting errno for underflow.
27136 Determine underflow based on rounding to normal precision if
27137 TININESS_AFTER_ROUNDING.
27138 * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
27139 ERANGE for exact underflow cases.
27140 * stdlib/Makefile (tests): Add tst-tininess and
27141 tst-strtod-underflow.
27142 ($(objpfx)tst-tininess): Use $(link-libm).
27143 ($(objpfx)tst-strtod-underflow): Likewise.
27145 2012-10-30 Andreas Jaeger <aj@suse.de>
27148 * elf/Makefile (tests): Remove conditional for have-initfini-array
27149 since this is now always required and the variable does not exist
27151 (tests-static): Likewise.
27152 (modules-names): Likewise.
27154 * po/eo.po: Add Esperanto translation from translation project.
27156 * elf/tst-array1.c (fini_array): Make writeable so that it can be
27157 merged with constructor/destructor.
27158 (init_array): Likewise.
27159 * elf/tst-array2dep.c (fini_array): Likewise.
27160 (init_array): Likewise.
27162 2012-10-29 Mike Frysinger <vapier@gentoo.org>
27164 * manual/message.texi: Delete @cartouche tags.
27166 2012-10-29 Pino Toscano <toscano.pino@tiscali.it>
27168 * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
27170 * sysdeps/mach/hurd/fsync.c: Likewise.
27172 * sysdeps/pthread/aio_notify.c (__aio_notify_only)
27173 [_POSIX_REALTIME_SIGNALS]: Change condition to
27174 [_POSIX_REALTIME_SIGNALS > 0].
27176 2012-10-27 Andreas Jaeger <aj@suse.de>
27178 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
27179 [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
27180 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
27181 [__WORDSIZE != 64]: Likewise.
27183 2012-10-26 H.J. Lu <hongjiu.lu@intel.com>
27185 * iconvdata/tst-table.sh: Remove ${SHELL}.
27186 * iconvdata/tst-tables.sh: Likewise.
27188 2012-10-25 David S. Miller <davem@davemloft.net>
27190 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
27191 (__get_clockfreq_via_proc_openprom): Use strtoumax instead
27194 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
27196 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
27197 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
27198 * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
27201 2012-10-25 Roland McGrath <roland@hack.frob.com>
27203 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
27204 (__get_clockfreq_via_proc_openprom): Use __getdents instead of
27207 2012-10-25 Joseph Myers <joseph@codesourcery.com>
27208 Jim Blandy <jimb@codesourcery.com>
27210 * scripts/cross-test-ssh.sh: New file.
27211 * manual/install.texi (Configuring and compiling): Document use of
27213 * INSTALL: Regenerated.
27215 2012-10-25 Pino Toscano <toscano.pino@tiscali.it>
27217 * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
27220 2012-10-25 Joseph Myers <joseph@codesourcery.com>
27222 * Makeconfig (run-program-prefix): Fix comment.
27224 2012-10-24 Joseph Myers <joseph@codesourcery.com>
27225 Jim Blandy <jimb@codesourcery.com>
27227 * Makeconfig (test-wrapper): New variable,
27228 (test-wrapper-env): Likewise.
27229 [$(cross-compiling) = yes && $(test-wrapper) != ""]
27230 (run-built-tests): Define to yes.
27231 (run-program-prefix): Use $(test-wrapper).
27232 (built-program-cmd): Likewise.
27233 * Rules (make-test-out): Use $(test-wrapper-env) and
27234 $(host-built-program-cmd).
27235 * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
27236 ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
27238 ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
27239 $(test-wrapper-env) to tst-rtld-load-self.sh.
27240 ($(objpfx)order2.out): Use $(test-wrapper).
27241 ($(objpfx)tst-initorder.out): Likewise.
27242 ($(objpfx)tst-initorder2.out): Likewise.
27243 ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
27244 * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
27245 (test_wrapper_env): New variable. Use it to run ld.so.
27246 * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
27247 Use it to run ld.so.
27248 (test_wrapper_env): Likewise.
27249 * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
27250 $(test-wrapper) to run-iconv-test.sh.
27251 * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
27252 (ICONV): Use $test_wrapper.
27253 * posix/Makefile ($(objpfx)globtest.out): Pass
27254 $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
27255 globtest.sh, not $(run-program-prefix).
27256 * posix/globtest.sh (run_via_rtld_prefix): New variable.
27257 (test_wrapper): Likewise.
27258 (test_wrapper_env): Likewise. Use it to run globtest with HOME
27259 set together with run_via_rtld_prefix.
27260 (run_program_prefix): Define in terms of test_wrapper and
27261 run_via_rtld_prefix.
27263 2012-10-24 Roland McGrath <roland@hack.frob.com>
27265 * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
27266 * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
27270 * include/time.h: Remove librt_hidden_proto (clock_gettime).
27271 Declare __clock_getres, __clock_gettime, __clock_settime,
27272 __clock_nanosleep, and __clock_getcpuclockid.
27273 * rt/clock_gettime.c: Define __clock_gettime as an alias.
27274 Remove librt_hidden_def (clock_gettime).
27275 * sysdeps/unix/clock_gettime.c: Likewise.
27276 * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
27277 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
27278 * rt/clock_getres.c: Define __clock_getres as an alias.
27279 * sysdeps/posix/clock_getres.c: Likewise.
27280 * rt/clock_settime.c: Define __clock_settime as an alias.
27281 * sysdeps/unix/clock_settime.c: Likewise.
27282 * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
27283 * sysdeps/unix/clock_nanosleep.c: Likewise.
27284 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
27285 * rt/clock-compat.c: New file.
27286 * rt/Makefile (librt-routines): Add clock-compat and move
27287 $(clock-routines) to ...
27288 (routines): ... here, new variable.
27289 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
27290 Don't add get_clockfreq here.
27291 * rt/Versions (libc: GLIBC_2.17): New version set.
27292 Add clock_* symbols here.
27293 (libc: GLIBC_PRIVATE): New version set. Add __clock_* symbols here.
27294 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
27295 (GLIBC_2.17): Add clock_* symbols.
27296 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
27297 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
27298 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
27299 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
27301 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
27303 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
27304 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
27305 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
27306 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
27307 * NEWS: Mention the move.
27309 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
27310 Use __open, __read, __close rather than their public counterparts.
27311 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
27312 (__get_clockfreq_via_cpuinfo): Likewise.
27313 (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
27314 (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
27316 * config.h.in (HAVE_IFUNC): New #undef.
27317 * configure.in: Define it if libc_cv_ld_gnu_indirect_function
27319 * configure: Regenerated.
27321 2012-10-24 Mike Frysinger <vapier@gentoo.org>
27323 * configure.in: Move READELF check to start of file.
27324 (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
27325 libc_cv_asm_gnu_indirect_function in the process.
27326 * configure: Regenerated.
27328 2012-10-24 Mike Frysinger <vapier@gentoo.org>
27330 * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
27331 send the output to /dev/null.
27332 (libc_cv_cc_with_libunwind): Likewise.
27333 (libc_cv_as_noexecstack): Likewise.
27334 * configure: Regenerate.
27336 2012-10-24 Joseph Myers <joseph@codesourcery.com>
27338 * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
27340 * posix/globtest.sh (TMPDIR): Do not set.
27341 (testdir): Define using ${common_objpfx}posix not $TMPDIR.
27342 (testout): Likewise.
27344 2012-10-24 Andreas Jaeger <aj@suse.de>
27346 * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
27347 types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
27348 [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
27349 [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
27350 posix_fadvise64, posix_fallocate64.
27352 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
27353 (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
27354 (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
27356 (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
27358 (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
27360 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
27361 (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
27362 <bits/fcntl-linux.h>.
27363 (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
27365 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
27366 (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
27367 (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
27368 (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
27369 [__WORDSIZE != 64]: Likewise.
27371 2012-10-23 Joseph Myers <joseph@codesourcery.com>
27373 * Makeconfig (run-built-tests): New variable.
27374 * Rules [$(cross-compiling) = yes]: Change condition to
27375 [$(run-built-tests) = no].
27376 * catgets/Makefile [$(cross-compiling) != yes]: Change condition
27377 to [$(run-built-tests) = yes].
27378 * elf/Makefile [$(cross-compiling) = no]: Likewise
27379 * grp/Makefile [$(cross-compiling) = no]: Likewise.
27380 * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
27381 * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
27382 * intl/Makefile [$(cross-compiling) = no]: Likewise.
27383 * io/Makefile [$(cross-compiling) = no]: Likewise.
27384 * libio/Makefile [$(cross-compiling) = no]: Likewise.
27385 * malloc/Makefile [$(cross-compiling) = no]: Likewise.
27386 * misc/Makefile [$(cross-compiling) = no]: Likewise.
27387 * posix/Makefile [$(cross-compiling) = no]: Likewise.
27388 * resolv/Makefile [$(cross-compiling) = no]: Likewise.
27389 * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
27390 * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
27391 * string/Makefile [$(cross-compiling) = no]: Likewise.
27393 * posix/Makefile ($(objpfx)globtest.out): Pass
27394 $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
27395 $(rtld-installed-name).
27396 * posix/globtest.sh (elf_objpfx): Remove variable.
27397 (rtld_installed_name): Likewise.
27398 (library_path): Likewise.
27399 (run_program_prefix): New variable. Use for running globtest
27402 2012-10-23 Jim Blandy <jimb@codesourcery.com>
27403 Joseph Myers <joseph@codesourcery.com>
27405 * Makeconfig (host-built-program-cmd): New variable.
27406 * elf/Makefile (tst-stackguard1-ARGS): Use
27407 $(host-built-program-cmd).
27408 * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
27409 (tst-spawn-ARGS): Likewise.
27410 * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
27412 2012-10-23 Joseph Myers <joseph@codesourcery.com>
27413 Jim Blandy <jimb@codesourcery.com>
27415 * Makeconfig (run-via-rtld-prefix): New variable.
27416 (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
27417 (built-program-cmd): Likewise.
27419 2012-10-22 Andreas Jaeger <aj@suse.de>
27421 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
27422 __O_RSYNC if it exists, otherwise to O_SYNC.
27424 2012-10-22 Jim Blandy <jimb@codesourcery.com>
27425 Joseph Myers <joseph@codesourcery.com>
27427 * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
27429 * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
27431 * posix/tst-getconf.sh: Redirect getconf stdin in loop from
27434 2012-10-22 Andreas Jaeger <aj@suse.de>
27436 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
27438 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
27440 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
27441 bits/fcntl-linux.h.
27443 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
27444 (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
27446 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
27448 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
27451 2012-10-21 Jim Blandy <jimb@codesourcery.com>
27452 Joseph Myers <joseph@codesourcery.com>
27454 * config.make.in (NM): New variable.
27456 2012-10-21 Andreas Jaeger <aj@suse.de>
27458 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
27459 definitions and declarations that are provided by
27460 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
27462 2012-10-20 H.J. Lu <hongjiu.lu@intel.com>
27465 * elf/Makefile (tests-static): Add tst-leaks1-static.
27466 (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
27467 ($(objpfx)tst-leaks1-static): New rule.
27468 ($(objpfx)tst-leaks1-static-mem): Likewise.
27469 (tst-leaks1-static-ENV): New macro.
27470 * elf/dl-open.c (dl_open_worker): Check the main application
27471 only if SHARED is defined.
27472 * elf/tst-leaks1-static.c: New file.
27474 2012-10-20 Andreas Jaeger <aj@suse.de>
27476 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
27477 generic values for Linux.
27478 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
27479 and declarations that are provided by <bits/fcntl-linux.h> and
27480 include <bits/fcntl-linux.h>.
27481 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
27482 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
27484 2012-10-20 Roland McGrath <roland@hack.frob.com>
27486 * io/fcntl.h: Move include of <bits/types.h> to the top and
27487 include it unconditionally.
27489 2012-10-20 H.J. Lu <hongjiu.lu@intel.com>
27491 * wcsmbs/Makefile (tests-ifunc): New variable.
27492 (tests): Add $(tests-ifunc).
27493 * wcsmbs/test-wcschr-ifunc.c: New file.
27494 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
27495 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
27496 * wcsmbs/test-wcslen-ifunc.c: Likewise.
27497 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
27498 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
27500 * string/Makefile (tests-ifunc): New variable.
27501 (tests): Add $(tests-ifunc).
27502 * string/test-memccpy.c (TEST_NAME): New macro.
27503 * string/test-memchr.c (TEST_NAME): Likewise.
27504 * string/test-memcmp.c (TEST_NAME): Likewise.
27505 * string/test-memcpy.c (TEST_NAME): Likewise.
27506 * string/test-memmem.c (TEST_NAME): Likewise.
27507 * string/test-memmove.c (TEST_NAME): Likewise.
27508 * string/test-memset.c (TEST_NAME): Likewise.
27509 * string/test-rawmemchr.c (TEST_NAME): Likewise.
27510 * string/test-stpcpy.c (TEST_NAME): Likewise.
27511 * string/test-stpncpy.c (TEST_NAME): Likewise.
27512 * string/test-strcasecmp.c (TEST_NAME): Likewise.
27513 * string/test-strcasestr.c (TEST_NAME): Likewise.
27514 * string/test-strcat.c (TEST_NAME): Likewise.
27515 * string/test-strchr.c (TEST_NAME): Likewise.
27516 * string/test-strcmp.c(TEST_NAME): Likewise.
27517 * string/test-strcpy.c (TEST_NAME): Likewise.
27518 * string/test-strcspn.c (TEST_NAME): Likewise.
27519 * string/test-strlen.c (TEST_NAME): Likewise.
27520 * string/test-strncasecmp.c (TEST_NAME): Likewise.
27521 * string/test-strncmp.c (TEST_NAME): Likewise.
27522 * string/test-strncpy.c (TEST_NAME): Likewise.
27523 * string/test-strnlen.c (TEST_NAME): Likewise.
27524 * string/test-strpbrk.c (TEST_NAME): Likewise.
27525 * string/test-strrchr.c (TEST_NAME): Likewise.
27526 * string/test-strspn.c (TEST_NAME): Likewise.
27527 * string/test-strstr.c (TEST_NAME): Likewise.
27528 * string/test-bcopy-ifunc.c: New file.
27529 * string/test-bzero-ifunc.c: Likewise.
27530 * string/test-memccpy-ifunc.c: Likewise.
27531 * string/test-memchr-ifunc.c: Likewise.
27532 * string/test-memcmp-ifunc.c: Likewise.
27533 * string/test-memcpy-ifunc.c: Likewise.
27534 * string/test-memmem-ifunc.c: Likewise.
27535 * string/test-memmove-ifunc.c: Likewise.
27536 * string/test-mempcpy-ifunc.c: Likewise.
27537 * string/test-memset-ifunc.c: Likewise.
27538 * string/test-rawmemchr-ifunc.c: Likewise.
27539 * string/test-stpcpy-ifunc.c: Likewise.
27540 * string/test-stpncpy-ifunc.c: Likewise.
27541 * string/test-strcasecmp-ifunc.c: Likewise.
27542 * string/test-strcasestr-ifunc.c: Likewise.
27543 * string/test-strcat-ifunc.c: Likewise.
27544 * string/test-strchr-ifunc.c: Likewise.
27545 * string/test-strchrnul-ifunc.c: Likewise.
27546 * string/test-strcmp-ifunc.c: Likewise.
27547 * string/test-strcpy-ifunc.c: Likewise.
27548 * string/test-strcspn-ifunc.c: Likewise.
27549 * string/test-strlen-ifunc.c: Likewise.
27550 * string/test-strncasecmp-ifunc.c: Likewise.
27551 * string/test-strncat-ifunc.c: Likewise.
27552 * string/test-strncmp-ifunc.c: Likewise.
27553 * string/test-strncpy-ifunc.c: Likewise.
27554 * string/test-strnlen-ifunc.c: Likewise.
27555 * string/test-strpbrk-ifunc.c: Likewise.
27556 * string/test-strrchr-ifunc.c: Likewise.
27557 * string/test-strspn-ifunc.c: Likewise.
27558 * string/test-strstr-ifunc.c: Likewise.
27560 * debug/Makefile (tests-ifunc): New variable.
27561 (tests): Add $(tests-ifunc).
27562 * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
27563 * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
27564 * debug/test-stpcpy_chk-ifunc.c: New file.
27565 * debug/test-strcpy_chk-ifunc.c: Likewise.
27567 2012-10-20 Siddhesh Poyarekar <siddhesh@redhat.com>
27570 * elf/dl-load.c (open_verify): Retry read if the entire ELF
27571 header is not read in.
27573 2012-10-19 Joseph Myers <joseph@codesourcery.com>
27575 * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh. Pass
27576 script to $(SHELL) as $<. Pass $(common-objpfx) to script
27577 directly. Pass built executable to script as
27578 $(built-program-cmd).
27579 * io/ftwtest-sh (ldso): Remove variable. Run ftwtest directly as
27580 $testprogram without using LD_LIBRARY_PATH and $ldso.
27582 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
27583 $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
27584 $(rtld-installed-name).
27585 * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
27586 (rtld_installed_name): Likewise.
27587 (library_path): Likewise.
27588 (run_program_prefix): New variable. Use it to run tst_fgetgrent.
27589 * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
27590 $(run-program-prefix) to tst-tables.sh.
27591 * iconvdata/tst-table.sh (run_program_prefix): New variable. Use
27592 it to run tst-table-from and tst-table-to.
27593 * iconvdata/tst-tables.sh (run_program_prefix): New variable.
27594 Pass it to tst-table.sh.
27595 * intl/Makefile ($(objpfx)tst-gettext.out): Pass
27596 $(run-program-prefix) to tst-gettext.sh.
27597 ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
27599 ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
27601 * intl/tst-gettext.sh (run_program_prefix): New variable. Use it
27602 to run tst-gettext.
27603 * intl/tst-gettext2.sh (run_program_prefix): New variable. Use it
27604 to run tst-gettext2.
27605 * intl/tst-translit.sh (run_program_prefix): New variable. Use it
27606 to run tst-translit.
27607 * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
27608 $(run-program-prefix) to tst-mtrace.sh.
27609 * malloc/tst-mtrace.sh (run_program_prefix): New variable. Use it
27611 * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
27612 $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
27613 $(rtld-installed-name).
27614 * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
27615 (rtld_installed_name): Likewise.
27616 (run_program_prefix): New variable. Use it to run wordexp-test.
27618 * Makeconfig (ARCH): Remove all definitions.
27619 (machine): Likewise.
27620 [ARCH]: Remove conditional code.
27621 [!objdir]: Give error.
27622 [!objdir] (objpfx): Remove.
27623 [!objdir] (common-objpfx): Likewise.
27624 [!objdir] (common-objdir): Likewise.
27625 * configure.in (config_makefile): Remove. Hardcode Makefile in
27626 AC_CONFIG_FILES call.
27627 * configure: Regenerated.
27630 * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
27632 (testout): Likewise.
27634 * posix/Makefile ($(objpfx)tst-getconf.out): Pass
27635 $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
27636 $(rtld-installed-name).
27637 * posix/tst-getconf.sh (elf_objpfx): Remove variable.
27638 (rtld_installed_name): Likwise.
27639 (runit): Remove function.
27640 (run_getconf): New variable, Use it for running getconf binary.
27642 2012-10-18 H.J. Lu <hongjiu.lu@intel.com>
27645 * string/test-memmem.c (check_result): New function.
27646 (do_one_test): Use it.
27647 (check1): New function.
27648 (test_main): Use it.
27650 2012-10-18 Markus Trippelsdorf <markus@trippelsdorf.de>
27652 * math/Makefile: Comment on slow compilation of test-tgmath2.c.
27654 2012-10-18 Joseph Myers <joseph@codesourcery.com>
27656 * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
27657 (_G_LSEEK64): Likewise.
27658 (_G_MMAP64): Likewise.
27659 (_G_FSTAT64): Likewise.
27660 * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
27661 (_G_LSEEK64): Likewise.
27662 (_G_MMAP64): Likewise.
27663 (_G_FSTAT64): Likewise.
27664 * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
27665 unconditional. Call __mmap64 directly.
27666 (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
27667 (mmap_remap_check) [_G_LSEEK64]: Make code unconditional. Call
27668 __lseek64 directly.
27669 (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
27670 (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional. Call
27672 (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
27673 (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional. Call
27674 __lseek64 directly.
27675 (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
27676 (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional. Call
27677 __lseek64 directly.
27678 (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
27679 (_IO_file_seek) [_G_LSEEK64]: Make code unconditional. Call
27680 __lseek64 directly.
27681 (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
27682 (_IO_file_stat) [_G_FSTAT64]: Make code unconditional. Call
27683 __fxstat64 directly.
27684 (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
27685 * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
27687 (freopen64) [!_G_OPEN64]: Remove conditional code.
27688 * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
27690 (fseeko64) [!_G_LSEEK64]: Remove conditional code.
27691 * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
27693 (ftello64) [!_G_LSEEK64]: Remove conditional code.
27694 * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
27696 (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
27697 * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
27699 (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
27700 * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
27702 (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
27703 * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
27705 (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
27706 * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
27708 (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
27710 2012-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
27713 * manual/memory.texi (Malloc Tunable Parameters): Add note
27714 about free list pointers overwriting some perturb bytes.
27715 Wording suggested by Roland McGrath.
27717 2012-10-17 Joseph Myers <joseph@codesourcery.com>
27719 * math/libm-test.inc (gamma_test): Do not call feclearexcept.
27720 (lgamma_test): Likewise.
27721 (tgamma_test): Likewise.
27723 2012-10-16 Florian Weimer <fweimer@redhat.com>
27726 * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
27727 (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
27729 2012-10-16 Maxim Kuvyrkov <maxim@codesourcery.com>
27731 * NEWS: Mention BZ #14716.
27732 * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
27733 when removing AVAILABLE1_USES_J macro.
27735 2012-10-12 H.J. Lu <hongjiu.lu@intel.com>
27737 * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
27738 (__bswap_64): __uint64_t for unsigned 64-bit int.
27740 2012-10-12 Andreas Schwab <schwab@linux-m68k.org>
27742 * include/string.h (memmem): Declare libc hidden alias.
27743 * string/memmem.c (memmem): Define libc hidden alias.
27744 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
27745 __read, __close instead of open, read, close.
27747 2012-10-11 H.J. Lu <hongjiu.lu@intel.com>
27749 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
27750 * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
27752 * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
27753 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
27754 * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
27756 (__rawmemchr_sse2): Likewise.
27757 * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
27758 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
27759 (__strchr_sse2): Likewise.
27760 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
27761 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
27762 (__strcasecmp_sse2): Likewise.
27763 (__strncasecmp_sse2): Likewise.
27764 * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
27765 * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
27766 * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
27767 * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
27768 (__strrchr_sse2): Likewise.
27769 * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
27771 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
27772 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
27773 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
27774 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
27775 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
27776 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
27777 * sysdeps/x86_64/multiarch/memset.S: Likewise.
27778 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
27779 * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
27780 * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
27781 * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
27782 * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
27783 * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
27784 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
27785 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
27786 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
27787 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
27788 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
27789 * sysdeps/x86_64/multiarch/strlen.S: Likewise.
27790 * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
27791 * sysdeps/x86_64/multiarch/strncat.S: Likewise.
27792 * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
27793 * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
27794 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
27795 * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
27796 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
27797 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
27798 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
27799 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
27800 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
27802 * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
27804 * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
27805 * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
27806 * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
27807 * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
27809 * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
27811 * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
27812 * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
27813 * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
27814 * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
27816 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
27817 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
27818 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
27819 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
27820 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
27821 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
27822 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
27823 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
27824 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
27825 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
27826 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
27827 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
27828 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
27829 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
27830 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
27831 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
27832 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
27833 * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
27834 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
27835 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
27836 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
27837 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
27838 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
27839 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
27840 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
27841 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
27842 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
27843 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
27844 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
27845 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
27846 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
27847 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
27848 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
27849 * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
27850 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
27851 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
27852 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
27853 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
27854 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
27855 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
27856 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
27858 * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
27859 [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
27860 * include/ifunc-impl-list.h: New file.
27861 * misc/ifunc-impl-list.c: Likewise.
27862 * misc/Makefile (routines): Add ifunc-impl-list.
27863 * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
27864 * string/test-string.h: Include <ifunc-impl-list.h>.
27865 (func_list, func_count, impl_count, impl_array) [TEST_IFUNC &&
27866 TEST_NAME]: New variables.
27867 (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
27869 (test_init): Call __libc_ifunc_impl_list to initialize
27870 func_list if TEST_IFUNC and TEST_NAME are defined.
27872 * string/Makefile (strop-tests): Add bcopy and bzero.
27873 * string/test-bcopy.c: New file.
27874 * string/test-bzero.c: Likewise.
27875 * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
27877 * string/test-memset.c: Support bzero test if TEST_BZERO is
27879 * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
27881 * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
27883 * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
27886 2012-10-10 Joseph Myers <joseph@codesourcery.com>
27888 * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
27889 * configure: Regenerated.
27891 * Makeconfig (+link-static-before-libc): Don't include
27892 $(link-static-libc).
27894 * libio/libio.h (_IO_pos_t): Remove.
27896 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
27898 * NEWS: Add note about FIPS mode. Wording suggested by Roland
27901 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
27903 * crypt/crypt-entry.c: Include fips-private.h.
27904 (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
27905 * crypt/md5c-test.c (main): Tolerate disabled MD5.
27906 * sysdeps/unix/sysv/linux/fips-private.h: New file.
27907 * sysdeps/generic/fips-private.h: New file, dummy fallback.
27909 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
27911 * crypt/crypt-private.h: Include stdbool.h.
27912 (_ufc_setup_salt_r): Return bool.
27913 * crypt/crypt-entry.c: Include errno.h.
27914 (__crypt_r): Return NULL with EINVAL for bad salt.
27915 * crypt/crypt_util.c (bad_for_salt): New.
27916 (_ufc_setup_salt_r): Check that salt is long enough and within
27917 the specified alphabet.
27918 * crypt/badsalttest.c: New file.
27919 * crypt/Makefile (tests): Add it.
27920 ($(objpfx)badsalttest): New.
27922 2012-10-09 Maxim Kuvyrkov <maxim@codesourcery.com>
27924 * NEWS: Add entry for BZ #14602.
27926 2012-10-09 Joseph Myers <joseph@codesourcery.com>
27928 * math/gen-libm-test.pl (parse_args): Handle comparison macros as
27930 * math/libm-test.inc: Update comment listing what functions and
27932 (isgreater_test): New function.
27933 (isgreaterequal_test): Likewise.
27934 (isless_test): Likewise.
27935 (islessequal_test): Likewise.
27936 (islessgreater_test): Likewise.
27937 (isunordered_test): Likewise.
27938 (main): Call the new functions.
27940 2012-10-09 Roland McGrath <roland@hack.frob.com>
27942 * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
27943 _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
27944 AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
27945 * sysdeps/i386/configure: Regenerated.
27946 * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
27947 * sysdeps/mach/configure: Regenerated.
27948 * sysdeps/mach/hurd/configure: Regenerated.
27949 * sysdeps/powerpc/configure: Regenerated.
27950 * sysdeps/powerpc/powerpc32/configure: Regenerated.
27951 * sysdeps/powerpc/powerpc64/configure: Regenerated.
27952 * sysdeps/s390/s390-32/configure: Regenerated.
27953 * sysdeps/s390/s390-64/configure: Regenerated.
27954 * sysdeps/sh/configure: Regenerated.
27955 * sysdeps/sparc/configure: Regenerated.
27956 * sysdeps/unix/sysv/linux/configure: Regenerated.
27957 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
27958 * sysdeps/x86_64/configure: Regenerated.
27960 * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
27961 defined. Don't check if MAP is NULL.
27963 2012-10-09 Joseph Myers <joseph@codesourcery.com>
27965 * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
27966 (_G_stat64): Likewise.
27967 * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
27968 (_G_stat64): Likewise.
27969 * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
27970 instead of struct _G_stat64.
27971 * libio/fileops.c (mmap_remap_check): Likewise.
27972 (decide_maybe_mmap): Likewise.
27973 (_IO_new_file_seekoff): Likewise.
27974 (_IO_file_stat): Likewise.
27975 * libio/libio.h (_IO_off64_t): Define to __off64_t, not
27977 * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
27978 instead of struct _G_stat64.
27979 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
27981 2012-10-08 Maxim Kuvyrkov <maxim@codesourcery.com>
27984 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
27986 (CHECK_EOL): New macro.
27987 (two_way_short_needle): Check beginning of haystack for EOL. Use
27989 * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
27990 Replace with CHECK_EOL.
27991 * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
27992 Replace with CHECK_EOL.
27994 2012-10-08 Joseph Myers <joseph@codesourcery.com>
27996 * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
27998 * math/libm-test.inc: Update comment listing what functions and
28000 (finite_test): New function.
28001 (isinf_test): Likewise.
28002 (isnan_test): Likewise.
28003 (fpclassify_test): Test subnormal input.
28004 (isfinite_test): Likewise.
28005 (isnormal_test): Likewise.
28006 (main): Call the new functions.
28008 2012-10-08 Jonathan Nieder <jrnieder@gmail.com>
28011 * Makerules (%.dynsym): Force C locale when running
28012 $(OBJDUMP) --dynamic-syms.
28014 2012-10-08 Andreas Schwab <schwab@linux-m68k.org>
28016 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
28019 2012-10-06 David S. Miller <davem@davemloft.net>
28021 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
28022 upper 32-bits of the length value in %o2 since we use branch-on-register
28023 tests which consider the entire 64-bit register.
28025 2012-10-06 H.J. Lu <hongjiu.lu@intel.com>
28027 * string/test-strstr.c (check2): Add a test for page boundary.
28029 2012-10-05 David S. Miller <davem@davemloft.net>
28031 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
28032 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
28034 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
28036 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
28037 * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
28038 and bzero when HWCAP_SPARC_CRYPTO is present.
28040 2012-10-05 H.J. Lu <hongjiu.lu@intel.com>
28043 * string/test-strstr.c (check2): New function.
28044 (test_main): Call check2.
28046 * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
28048 * string/bug-strcasestr1.c (do_test): Moved to ...
28049 * string/test-strcasestr.c (check1): Here. New function.
28050 (do_one_test): Break out result checking code into ...
28051 (check_result): This. New function.
28052 (do_one_test): Call check_result.
28053 (test_main): Call check1.
28054 * string/bug-strchr1.c (do_test): Moved to ...
28055 * string/test-strchr.c (check1): Here. New function.
28056 (do_one_test): Break out result checking code into ...
28057 (check_result): This. New function.
28058 (do_one_test): Call check_result.
28059 (test_main): Call check1.
28060 * string/bug-strstr1.c (main): Moved to ...
28061 * string/test-strstr.c (check1): Here. New function.
28062 (do_one_test): Break out result checking code into ...
28063 (check_result): This. New function.
28064 (do_one_test): Call check_result.
28065 (test_main): Call check1.
28066 * string/bug-strcasestr1.c: Removed.
28067 * string/bug-strchr1.c: Likewise.
28068 * string/bug-strstr1.c: Likewise.
28070 * elf/Makefile (dl-routines): Add hwcaps.
28071 * elf/dl-support.c (_dl_important_hwcaps): Removed.
28072 * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
28073 (_dl_important_hwcaps): Moved to ...
28074 * elf/dl-hwcaps.c: Here. New file.
28075 * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
28078 * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
28079 if IS_IN_rtld isn't defined.
28081 * elf/dl-support.c (_dl_sysinfo_map): New.
28082 Include "get-dynamic-info.h" and "setup-vdso.h".
28083 (_dl_non_dynamic_init): Call setup_vdso.
28084 * elf/dynamic-link.h: Don't include <assert.h>.
28085 (elf_get_dynamic_info): Moved to ...
28086 * elf/get-dynamic-info.h: Here. New file.
28087 * elf/dynamic-link.h: Include "get-dynamic-info.h".
28088 * elf/rtld.c (dl_main): Break out vDSO setup code into ...
28089 * elf/setup-vdso.h: Here. New file.
28090 * elf/rtld.c: Include "setup-vdso.h".
28091 (dl_main): Call setup_vdso.
28093 2012-10-05 Joseph Myers <joseph@codesourcery.com>
28095 * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
28096 creal in comment listing functions tested. List finite, isinf,
28097 isnan, isless, islessequal, isgreater, isgreaterequal,
28098 islessgreater, isunordered, lgamma_r and pow10 as functions and
28099 macros not tested. Mention which functions not tested are aliases
28100 for other functions. Fix typo. Note that signs of NaNs are not
28103 * scripts/config.guess: Update from config.git.
28104 * scripts/config.sub: Likewise.
28106 2012-10-04 Roland McGrath <roland@hack.frob.com>
28108 * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
28109 * misc/madvise.c (madvise): Renamed to __madvise.
28110 Make madvise a weak alias.
28111 * include/sys/mman.h: Declare __madvise.
28112 Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
28113 * sysdeps/unix/syscalls.list
28114 (madvise): Make __madvise the strong name, and madvise a weak alias.
28115 * sysdeps/unix/sysv/linux/syscalls.list
28116 (madvise, mmap): Remove redundant entries.
28117 * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
28118 * malloc/malloc.c (mtrim): Likewise.
28119 * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
28121 2012-10-03 Roland McGrath <roland@hack.frob.com>
28123 * sysdeps/mach/hurd/dl-cache.c: File removed.
28124 * config.h.in (USE_LDCONFIG): New #undef.
28125 * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
28126 * configure: Regenerated.
28127 * elf/Makefile (dl-routines): Add dl-cache only under
28128 [$(use-ldconfig) = yes].
28129 * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
28130 cache on [USE_LDCONFIG].
28131 * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
28133 * elf/rtld.c (dl_main): Likewise.
28135 2012-10-03 Pino Toscano <toscano.pino@tiscali.it>
28137 * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
28138 _SC_LEVEL4_CACHE_LINESIZE.
28140 2012-10-03 Roland McGrath <roland@hack.frob.com>
28142 * sysdeps/unix/bsd/confstr.h: File removed.
28144 2012-10-02 Alexandre Oliva <aoliva@redhat.com>
28146 * scripts/check-local-headers.sh: Exclude sys/sdt.h and
28149 2012-10-02 Roland McGrath <roland@hack.frob.com>
28151 * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
28152 Make 'mapoff' field ElfW(Off) rather than off_t.
28154 2012-10-02 Dmitry V. Levin <ldv@altlinux.org>
28156 * nscd/Makefile: Remove nscd-cflags and all its users.
28157 (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
28158 (CFLAGS-nonlib): Add compiler flags for nscd modules.
28161 * malloc.c (malloc_printerr): Clarify error message.
28163 2012-10-02 H.J. Lu <hongjiu.lu@intel.com>
28166 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
28167 Set bit_FMA_Usable if FMA is supported.
28168 * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
28170 (bit_FMA4_Usable): Updated.
28171 (index_FMA_Usable): New macro.
28172 (CPUID_FMA): Likewise
28173 (HAS_FMA): Defined with bit_FMA_Usable.
28175 2012-10-01 Roland McGrath <roland@hack.frob.com>
28177 * bits/types.h (__swblk_t): Type removed.
28178 * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
28179 * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
28180 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
28181 (__SWBLK_T_TYPE): Likewise.
28182 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
28183 (__SWBLK_T_TYPE): Likewise.
28184 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
28185 (__SWBLK_T_TYPE): Likewise.
28186 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
28187 (__SWBLK_T_TYPE): Likewise.
28189 2012-10-01 Patsy Franklin <pfrankli@redhat.com>
28190 Honza Horak <hhorak@redhat.com>
28192 * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
28193 (xdr_mapname): Use YPMAXMAP as maxsize.
28194 (xdr_peername): Use YPMAXPEER as maxsize.
28195 (xdr_keydat): Use YPAXRECORD as maxsize.
28196 (xdr_valdat): Use YPMAXRECORD as maxsize.
28198 2012-10-01 Roland McGrath <roland@hack.frob.com>
28200 * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
28202 * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
28203 * csu/init-first.c: ... here.
28204 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
28205 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
28206 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
28207 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
28208 * sysdeps/i386/init-first.c: File removed.
28209 * sysdeps/sh/init-first.c: File removed.
28211 2012-10-01 Joseph Myers <joseph@codesourcery.com>
28214 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
28215 if x * y might underflow to zero and z is zero.
28216 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
28217 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
28218 * math/libm-test.inc (min_subnorm_value): New variable.
28219 (fma_test): Add more tests.
28220 (fma_test_towardzero): Likewise.
28221 (fma_test_downward): Likewise
28222 (fma_test_upward): Likewise.
28223 (initialize): Set min_subnorm_value.
28225 2012-09-29 Joseph Myers <joseph@codesourcery.com>
28228 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
28230 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
28231 mode for addition resulting in exact zero.
28232 * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
28233 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
28235 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
28236 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
28237 * math/libm-test.inc (fma_test): Add more tests.
28238 (fma_test_towardzero): New function.
28239 (fma_test_downward): Likewise.
28240 (fma_test_upward): Likewise.
28241 (main): Call the new functions.
28243 2012-09-28 David S. Miller <davem@davemloft.net>
28245 * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
28247 2012-09-28 Roland McGrath <roland@hack.frob.com>
28249 * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
28250 instead of SIGALRM.
28252 * sysdeps/gnu/_G_config.h: Moved to ...
28253 * sysdeps/unix/sysv/linux/_G_config.h: ... here.
28254 * sysdeps/mach/hurd/_G_config.h: Moved to ...
28255 * sysdeps/generic/_G_config.h: ... here.
28257 * io/open.c (__open): Renamed to __libc_open. Make __open an alias.
28259 * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
28261 * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
28262 Conditionalize target on [libnss_test1.so-version].
28264 * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
28266 * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
28267 (elfobjdir): Move out of conditionals.
28269 * nss/nsswitch.c (nss_new_service): Conditionalize definition and
28270 declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
28271 (__nss_lookup_function): Conditionalize label remove_from_tree on
28272 [!DO_STATIC_NSS || SHARED], matching its only use.
28274 2012-09-28 David S. Miller <davem@davemloft.net>
28276 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
28277 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
28279 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
28281 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
28282 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
28283 when HWCAP_SPARC_CRYPTO is present.
28285 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
28287 * io/tst-mknodat.c: Create a FIFO instead of a socket.
28289 2012-09-28 Andreas Schwab <schwab@linux-m68k.org>
28292 * stdio-common/vfprintf.c (process_string_arg): Revert
28295 2011-09-28 Jonathan Nieder <jrnieder@gmail.com>
28297 * stdio-common/Makefile (tst-sprintf-ENV): Set environment
28299 * stdio-common/tst-sprintf.c: Include <locale.h>
28300 (main): Test sprintf's handling of incomplete multibyte
28303 2012-09-28 H.J. Lu <hongjiu.lu@intel.com>
28305 * elf/dl-runtime.c (VERSYMIDX): Removed.
28306 * elf/dl-version.c (VERSYMIDX): Likewise.
28307 * elf/do-rel.h (VERSYMIDX): Likewise.
28308 (VALIDX): Likewise.
28309 * elf/dynamic-link.h (VERSYMIDX): Likewise.
28310 * elf/rtld.c (VALIDX): Likewise.
28311 (ADDRIDX): Likewise.
28312 * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
28313 * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
28314 * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
28315 * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
28316 (VALIDX): Likewise.
28317 (ADDRIDX): Likewise.
28319 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
28321 * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
28323 2012-09-28 Dmitry V. Levin <ldv@altlinux.org>
28326 * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
28328 * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
28329 addresses are in the same scope as 192.0.2/24.
28330 * posix/gai.conf: Document new scope table defaults.
28332 2012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
28335 * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
28336 for ftell. Compute offsets from write pointers instead.
28337 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
28339 2012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
28342 * libio/Makefile (tests): New test case tst-fseek.
28343 * libio/tst-fseek.c: New test case to verify that fseek/ftell
28344 combination works in wide mode.
28345 * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
28346 state when the external buffer state changes.
28348 2012-09-27 David S. Miller <davem@davemloft.net>
28351 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
28352 pass reloc->r_addend in as the 'high' argument to
28353 sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
28355 * sysdeps/sparc/fpu/libm-test-ulps: Update.
28357 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
28359 * rt/tst-aio2.c: Include <pthread.h>.
28360 * rt/tst-aio3.c: Likewise.
28362 2012-09-27 Steve Ellcey <sellcey@mips.com>
28364 * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
28366 2012-09-27 H.J. Lu <hongjiu.lu@intel.com>
28368 * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
28369 contents on [SHARED].
28371 2012-09-26 Marek Polacek <polacek@redhat.com>
28375 * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
28376 for C++ and GCC <4.3 as well as for non GCC compilers.
28378 2012-09-26 Markus Trippelsdorf <markus@trippelsdorf.de>
28380 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
28382 2012-09-25 Roland McGrath <roland@hack.frob.com>
28384 * Makefile.in (all, install): Declare with .PHONY.
28385 Reported by Michael Hope <michael.hope@linaro.org>.
28387 2012-09-25 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
28389 * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
28390 * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
28392 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
28394 (sydep_routines): Add the new and the internal functions.
28395 * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
28396 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
28397 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
28398 (GLIBC_2.17): Add the new function.
28399 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
28400 (GLIBC_2.17): Likewise.
28401 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
28402 (GLIBC_2.17): Likewise.
28403 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
28404 (GLIBC_2.17): Likewise.
28405 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
28407 2012-09-25 Alan Modra <amodra@gmail.com>
28409 * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
28410 Add release barrier before setting once_control to say
28411 initialisation is done. Add hints on lwarx. Use macro in
28413 (clear_once_control): Add release barrier.
28415 2012-09-25 Joseph Myers <joseph@codesourcery.com>
28418 * math/s_clog.c (__clog): Handle more values close to |z| = 1
28420 * math/s_clog10.c (__clog10): Likewise.
28421 * math/s_clog10f.c (__clog10f): Likewise.
28422 * math/s_clog10l.c (__clog10l): Likewise.
28423 * math/s_clogf.c (__clogf): Likewise.
28424 * math/s_clogl.c (__clogl): Likewise.
28425 * math/Makefile (libm-calls): Add x2y2m1.
28426 * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
28427 (__x2y2m1): Likewise.
28428 (__x2y2m1l): Likewise.
28429 * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
28430 * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
28431 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
28432 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
28433 * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
28434 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
28435 * math/libm-test.inc (clog_test, clog10_test): Add more tests.
28436 * sysdeps/i386/fpu/libm-test-ulps: Update.
28437 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28440 * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
28441 int as type of variable DEPTH.
28442 (glob): Use size_t instead of int as type of variables NEWCOUNT
28445 2012-09-25 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
28447 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
28448 Add s_sincosf-sse2.
28449 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
28450 * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
28451 * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
28452 macros for using routine as __sincosf_ia32.
28453 Use macro for function declaration and weak_alias.
28454 * sysdeps/i386/fpu/libm-test-ulps: Update.
28456 * sysdeps/x86_64/fpu/s_sincosf.S: New file.
28457 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
28459 * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
28460 subnormal argument.
28461 * math/s_cexpf.c (__cexpf): Likewise.
28462 * math/s_csinf.c (__csinf): Likewise.
28463 * math/s_csinhf.c (__csinhf): Likewise.
28464 * math/s_ctanf.c (__ctanf): Likewise.
28465 * math/s_ctanhf.c (__ctanhf): Likewise.
28466 * math/s_ccosh.c (__ccoshf): Likewise.
28467 * math/s_cexp.c (__cexpl): Likewise.
28468 * math/s_csin.c (__csin): Likewise.
28469 * math/s_csinh.c (__csinh): Likewise.
28470 * math/s_ctan.c (__ctan): Likewise.
28471 * math/s_ctanh.c (ctanh): Likewise.
28472 * math/s_ccoshl.c (__ccoshl): Likewise.
28473 * math/s_cexpl.c (__cexpl): Likewise.
28474 * math/s_csinl.c (__csinl): Likewise.
28475 * math/s_csinhl.c (__csinhl): Likewise.
28476 * math/s_ctanl.c (__ctanl): Likewise.
28477 * math/s_ctanhl.c (__ctanhl): Likewise.
28479 2012-09-25 Joseph Myers <joseph@codesourcery.com>
28481 * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
28482 (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
28483 (_IO_off_t): Define to __off_t, not _G_off_t.
28484 (_IO_pid_t): Define to __pid_t, not _G_pid_t.
28485 (_IO_uid_t): Define to __uid_t, not _G_uid_t.
28486 (_IO_wint_t): Define to wint_t, not _G_wint_t.
28487 * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
28488 type of __dummy and __dummy2 fields.
28489 * sysdeps/generic/_G_config.h (_G_size_t): Remove.
28490 (_G_ssize_t): Likewise.
28491 (_G_off_t): Likewise.
28492 (_G_pid_t): Likewise.
28493 (_G_uid_t): Likewise.
28494 (_G_wchar_t): Likewise.
28495 (_G_wint_t): Likewise.
28496 * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
28497 (_G_ssize_t): Likewise.
28498 (_G_off_t): Likewise.
28499 (_G_pid_t): Likewise.
28500 (_G_uid_t): Likewise.
28501 (_G_wchar_t): Likewise.
28502 (_G_wint_t): Likewise.
28503 * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
28504 (_G_ssize_t): Likewise.
28505 (_G_off_t): Likewise.
28506 (_G_pid_t): Likewise.
28507 (_G_uid_t): Likewise.
28508 (_G_wchar_t): Likewise.
28509 (_G_wint_t): Likewise.
28511 2012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
28513 * malloc/arena.c: Include malloc-sysdep.h.
28514 (shrink_heap): Use check_may_shrink_heap to decide if madvise
28515 is sufficient to shrink the heap or an unmap is needed.
28516 * sysdeps/generic/malloc-sysdep.h: New file. Define
28517 new function check_may_shrink_heap.
28518 * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file. Define
28519 new function check_may_shrink_heap.
28521 2012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
28523 * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
28526 2012-09-24 Dmitry V. Levin <ldv@altlinux.org>
28528 * catgets/test-gencat.sh: Add "set -e".
28529 * elf/tst-pathopt.sh: Likewise.
28530 * grp/tst_fgetgrent.sh: Likewise.
28531 * iconvdata/run-iconv-test.sh: Likewise.
28532 * intl/tst-gettext.sh: Likewise.
28533 * intl/tst-gettext2.sh: Likewise.
28534 * intl/tst-gettext4.sh: Likewise.
28535 * intl/tst-gettext6.sh: Likewise.
28536 * intl/tst-translit.sh: Likewise.
28537 * io/ftwtest-sh: Likewise.
28538 * libio/test-freopen.sh: Likewise.
28539 * malloc/tst-mtrace.sh: Likewise.
28540 * posix/globtest.sh: Likewise.
28541 * posix/tst-getconf.sh: Likewise.
28542 * posix/wordexp-tst.sh: Likewise.
28543 * stdio-common/tst-printf.sh: Likewise.
28544 * stdio-common/tst-unbputc.sh: Likewise.
28545 * stdlib/tst-fmtmsg.sh: Likewise.
28546 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
28547 * catgets/Makefile: Do not specify -e option when running
28548 testsuite shell scripts.
28549 * elf/Makefile: Likewise.
28550 * grp/Makefile: Likewise.
28551 * iconvdata/Makefile: Likewise.
28552 * intl/Makefile: Likewise.
28553 * io/Makefile: Likewise.
28554 * libio/Makefile: Likewise.
28555 * malloc/Makefile: Likewise.
28556 * posix/Makefile: Likewise.
28557 * stdio-common/Makefile: Likewise.
28558 * stdlib/Makefile: Likewise.
28559 * sysdeps/x86_64/Makefile: Likewise.
28561 * io/ftwtest-sh: Add copyright header.
28562 * posix/globtest.sh: Likewise.
28563 * posix/tst-getconf.sh: Likewise.
28564 * posix/wordexp-tst.sh: Likewise.
28565 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
28567 2012-09-24 H.J. Lu <hongjiu.lu@intel.com>
28570 * Makeconfig (+link): Defined as $(+link-static) if
28571 $(build-shared) isn't yes.
28572 (link-tests): Defined as $(+link-static-tests) if $(build-shared)
28574 (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
28576 * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
28579 * malloc/arena.c (heap_trim): Properly get fencepost and adjust
28580 new chunk size with MALLOC_ALIGN_MASK.
28582 2012-09-24 Joseph Myers <joseph@codesourcery.com>
28585 * stdio-common/printf_fphex.c: Include <stdbool.h> and
28587 (__printf_fphex): Determine rounding using get_rounding_mode and
28589 * stdio-common/tst-printf-round.c (struct hex_test): New
28591 (hex_tests): New variable.
28592 (test_hex_in_one_mode): New function.
28593 (do_test): Also run tests for hex float output.
28595 2012-09-21 Joseph Myers <joseph@codesourcery.com>
28597 * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
28598 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
28599 * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
28600 * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
28601 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
28602 * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
28603 * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
28604 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
28606 2012-09-20 Joseph Myers <joseph@codesourcery.com>
28608 * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
28609 * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
28610 * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
28611 * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
28613 2012-09-19 Dmitry V. Levin <ldv@altlinux.org>
28616 * elf/rtld.c (dl_main): Limit the check for self loading to normal
28618 * elf/tst-rtld-load-self.sh: New test.
28619 * elf/Makefile: Run it.
28621 2012-09-18 Joseph Myers <joseph@codesourcery.com>
28623 * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
28624 (tst-writev-ENV): Remove.
28625 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
28627 2012-09-17 Chris Metcalf <cmetcalf@tilera.com>
28629 * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
28631 2012-09-17 Joseph Myers <joseph@codesourcery.com>
28633 * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
28635 * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
28637 * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
28638 * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
28639 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
28642 2012-09-14 H.J. Lu <hongjiu.lu@intel.com>
28645 * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
28646 * config.make.in (have-cpp-asm-debuginfo): Removed.
28647 * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
28648 * configure: Regenerated.
28650 2012-09-14 Joseph Myers <joseph@codesourcery.com>
28653 * stdio-common/printf_fp.c: Include <stdbool.h> and
28655 (___printf_fp): Determine rounding using get_rounding_mode and
28657 * stdio-common/tst-printf-round.c: New file.
28658 * stdio-common/Makefile (tests): Add tst-printf-round.
28659 (link-libm): New variable.
28660 ($(objpfx)tst-printf-round): Depend in $(link-libm).
28662 2012-09-13 H.J. Lu <hongjiu.lu@intel.com>
28665 * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
28666 * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
28668 * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
28671 2012-09-13 Joseph Myers <joseph@codesourcery.com>
28673 * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
28674 * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
28675 * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
28676 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
28678 2012-09-12 Joseph Myers <joseph@codesourcery.com>
28681 * include/rounding-mode.h: New file.
28682 * sysdeps/generic/get-rounding-mode.h: Likewise.
28683 * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
28684 * stdlib/strtod_l.c: Include <rounding-mode.h>.
28685 (MAX_VALUE): New macro.
28686 (MIN_VALUE): Likewise.
28687 (overflow_value): New function.
28688 (underflow_value): Likewise.
28689 (round_and_return): Use overflow_value and underflow_value to
28690 determine return values in overflow and underflow cases. Use
28691 round_away to determine rounding depending on rounding mode.
28692 (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
28693 determine return values in overflow and underflow cases.
28694 * stdlib/tst-strtod-round.c: Include <fenv.h>.
28695 (struct test_results): New structure.
28696 (struct test): Use struct test_results to store expected results
28697 for all rounding modes.
28698 (TEST): Include expected results for all rounding modes.
28699 (test_in_one_mode): New function.
28700 (do_test): Use test_in_one_mode to compute and check results.
28701 Check results for all rounding modes.
28702 * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
28705 2012-12-09 Allan McRae <allan@archlinux.org>
28707 * sysdeps/i386/fpu/libm-test-ulps: Update
28709 2012-09-11 Joseph Myers <joseph@codesourcery.com>
28711 * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
28712 (_G_int32_t): Likewise.
28713 (_G_uint16_t): Likewise.
28714 (_G_uint32_t): Likewise.
28715 (_G_HAVE_BOOL): Likewise.
28716 (_G_HAVE_ATEXIT): Likewise.
28717 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
28718 (_G_HAVE_IO_FILE_OPEN): Likewise.
28719 * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
28720 (_G_int32_t): Likewise.
28721 (_G_uint16_t): Likewise.
28722 (_G_uint32_t): Likewise.
28723 (_G_HAVE_BOOL): Likewise.
28724 (_G_HAVE_ATEXIT): Likewise.
28725 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
28726 (_G_HAVE_IO_FILE_OPEN): Likewise.
28727 * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
28728 (_G_int32_t): Likewise.
28729 (_G_uint16_t): Likewise.
28730 (_G_uint32_t): Likewise.
28731 (_G_HAVE_BOOL): Likewise.
28732 (_G_HAVE_ATEXIT): Likewise.
28733 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
28734 (_G_HAVE_IO_FILE_OPEN): Likewise.
28736 2012-09-11 H.J. Lu <hongjiu.lu@intel.com>
28738 * csu/libc-tls.c: Update copyright years.
28740 2012-09-10 Joseph Myers <joseph@codesourcery.com>
28742 * libioP.h [_G_USING_THUNKS]: Make code unconditional.
28743 [!_G_USING_THUNKS]: Remove conditional code.
28744 * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
28745 * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
28747 * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
28748 [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
28749 * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
28750 (_G_VTABLE_LABEL_PREFIX): Likewise.
28751 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
28752 * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
28753 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
28754 (_G_VTABLE_LABEL_PREFIX): Likewise.
28755 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
28756 * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
28757 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
28758 (_G_VTABLE_LABEL_PREFIX): Likewise.
28759 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
28761 2012-09-10 H.J. Lu <hongjiu.lu@intel.com>
28763 * libio/Makefile: Include ../Makeconfig before tests.
28764 (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
28765 only if $(build-shared) is yes.
28767 * iconv/gconv_db.c: Update copyright years.
28769 2012-09-10 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
28771 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
28772 unwind info if defined PIC. Fix special cases description.
28773 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
28775 * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
28777 * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
28779 2012-09-07 H.J. Lu <hongjiu.lu@intel.com>
28781 * scripts/check-local-headers.sh: Add "shopt -s nullglob".
28783 * iconv/gconv_db.c (free_derivation): Check if deriv->steps
28786 * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
28787 (LDLIBS-tst-chk4): This.
28788 (LDFLAGS-tst-chk5): Renamed to ...
28789 (LDLIBS-tst-chk5): This.
28790 (LDFLAGS-tst-chk6): Renamed to ...
28791 (LDLIBS-tst-chk6): This.
28792 (LDFLAGS-tst-lfschk4): Renamed to ...
28793 (LDLIBS-tst-lfschk4): This.
28794 (LDFLAGS-tst-lfschk5): Renamed to ...
28795 (LDLIBS-tst-lfschk5): This.
28796 (LDFLAGS-tst-lfschk6): Renamed to ...
28797 (LDLIBS-tst-lfschk6): This.
28799 * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
28800 on $(common-objpfx)soversions.mk.
28802 2012-09-07 Joseph Myers <joseph@codesourcery.com>
28805 * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
28808 2012-09-07 Siddhesh Poyarekar <siddhesh@redhat.com>
28810 * malloc/arena.c (arena_get_retry): New function that gets
28811 another arena for the caller to try its request on.
28812 * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
28813 current arena cannot fulfill the request.
28814 (__libc_memalign): Likewise.
28815 (__libc_memalign): Likewise.
28816 (__libc_pvalloc): Likewise.
28817 (__libc_calloc): Likewise.
28819 2012-09-05 John Tobey <john.tobey@gmail.com>
28822 * manual/arith.texi (Operations on Complex): Fix description
28823 of carg branch cut.
28825 2012-09-06 Joseph Myers <joseph@codesourcery.com>
28828 * manual/socket.texi (Host Addresses): Use www.gnu.org as example
28832 * manual/memory.texi (Memory): Make order of menu items match
28835 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
28837 * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
28838 (_dl_initial_dtv): New. Defined if SHARED isn't defined.
28839 (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
28841 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
28843 * csu/libc-tls.c (static_dtv): Renamed to ...
28844 (_dl_static_dtv): This. Make it global.
28845 (_dl_initial_dtv): Removed.
28846 (__libc_setup_tls): Updated.
28847 * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
28848 (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
28851 2012-09-06 Petr Machata <pmachata@redhat.com>
28853 * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
28854 (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
28855 (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
28856 (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
28858 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
28861 * csu/libc-tls.c (_dl_initial_dtv): New variable.
28862 * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
28865 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
28868 * Makeconfig (link-static-before-libc): Replace $(+prector)
28870 (link-static-after-libc): Replace $(+postctor) with
28872 (link-bounded): Replace $(+prector)/$(+postctor) with
28873 $(+prectorT)/$(+postctorT).
28874 (+prectorT): New macro.
28875 (+postctorT): Likewise.
28877 2012-09-06 Joseph Myers <joseph@codesourcery.com>
28879 * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
28880 (round_str): Handle values above the maximum for IBM long double
28882 * stdlib/tst-strtod-round.c (tests): Regenerated.
28884 2012-09-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
28886 * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
28888 * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
28889 zarch_nohighgprs around the zarch optimized routines.
28890 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
28891 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
28892 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
28895 2012-09-05 David S. Miller <davem@davemloft.net>
28897 * sysdeps/sparc/fpu/libm-test-ulps: Update.
28899 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE)
28900 (HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
28901 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
28902 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
28905 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
28907 * malloc/arena.c: Fold copyright years.
28908 * malloc/mcheck.c, malloc/memusage.c: Likewise.
28910 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
28912 * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
28914 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
28916 * manual/contrib.texi (Contributors): Fix typo. Complete entry.
28918 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
28920 * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
28921 change internal state upon failure.
28923 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
28925 * malloc/mcheck.c (mcheck_check_all): Fix typo.
28926 * malloc/memusage.c (mmap): Likewise.
28927 (mmap64, mremap): Likewise. Adjust name in comment.
28929 2012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
28931 * libio/fileops.c: Fix typos in comments.
28932 * libio/oldfileops.c: Likewise.
28933 * libio/wfileops.c: Likewise.
28935 2012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
28938 * malloc/Makefile (tests): Add tst-malloc-usable test case.
28939 (tst-malloc-usable-ENV): Set environment for test case.
28940 * malloc/hooks.c (malloc_check_get_size): New function to get
28942 * malloc/malloc.c (musable): Use malloc_check_get_size.
28943 * malloc/tst-malloc-usable.c: New test case.
28945 2012-09-05 Andreas Schwab <schwab@linux-m68k.org>
28947 * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
28949 2012-09-05 Allan McRae <allan@archlinux.org>
28952 * configure.in (CXX_SYSINCLUDES): Use compiler output to
28953 determine header location.
28954 * configure: Regenerated.
28956 2012-09-05 Andreas Schwab <schwab@linux-m68k.org>
28958 * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
28960 * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
28961 LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
28963 (test): Regenerate.
28965 2012-09-04 David S. Miller <davem@davemloft.net>
28967 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
28968 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
28969 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
28971 2012-09-04 Florian Weimer <fweimer@redhat.com>
28973 * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
28976 * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
28978 2012-09-04 Joseph Myers <joseph@codesourcery.com>
28981 * libio/iogetdelim.c: Include <limits.h>.
28982 (_IO_getdelim): Avoid integer overflow in testing whether cur_len
28983 + len + 1 would overflow.
28985 2012-09-03 Andreas Jaeger <aj@suse.de>
28987 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
28988 * sysdeps/i386/fpu/libm-test-ulps: Update.
28990 2012-09-03 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
28992 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
28993 Add s_sinf-sse2, s_conf-sse2.
28995 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
28996 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
28997 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
28998 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
29000 * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
29001 for using routine as __sinf_ia32.
29002 Use macro for function declaration and weak_alias.
29003 * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
29004 for using routine as __cosf_ia32.
29005 Use macro for function declaration and weak_alias.
29007 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
29008 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
29010 * sysdeps/x86_64/fpu/s_sinf.S: New file.
29011 * sysdeps/x86_64/fpu/s_cosf.S: New file.
29012 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
29014 * math/libm-test.inc (cos_test): Add more test cases.
29015 (sin_test): Likewise.
29016 (sincos_test): Likewise.
29018 2012-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
29020 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
29021 (IFUNC_RESOLVE): Make pointers to the specialized implementations
29023 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
29025 2012-09-02 H.J. Lu <hongjiu.lu@intel.com>
29028 * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
29029 first element of the GOT.
29030 (elf_machine_load_address): Return the difference between
29031 the runtime address of _DYNAMIC and elf_machine_dynamic ().
29033 2012-09-01 Allan McRae <allan@archlinux.org>
29036 * configure.in (AWK): Require gawk version 3.0 or later.
29037 * configure: Regenerated.
29039 2012-09-01 Joseph Myers <joseph@codesourcery.com>
29041 * sysdeps/unix/sysv/linux/kernel-features.h
29042 (__ASSUME_POSIX_CPU_TIMERS): Remove.
29043 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
29044 [__NR_clock_getres]: Make code unconditional.
29045 [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
29046 (clock_getcpuclockid): Remove code left unreachable by removal of
29048 * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
29049 code unconditional.
29050 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
29051 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
29052 * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
29053 Make code unconditional.
29054 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
29055 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
29056 * sysdeps/unix/sysv/linux/clock_settime.c
29057 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
29059 [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
29060 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
29062 2012-08-29 H.J. Lu <hongjiu.lu@intel.com>
29065 * Makefile (install): Also pass LD_SO=$(ld.so-version) to
29066 scripts/test-installation.pl.
29068 * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
29069 and $ld_so_version if it is set.
29071 2012-08-29 Siddhesh Poyarekar <siddhesh@redhat.com>
29074 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
29075 failure if reading from procfs failed.
29076 * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
29078 2012-08-27 Joseph Myers <joseph@codesourcery.com>
29080 * sysdeps/unix/sysv/linux/kernel-features.h
29081 (__ASSUME_STAT64_SYSCALL): Remove all definitions.
29082 * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
29083 Remove conditional code.
29084 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
29085 * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
29086 Remove conditional code.
29087 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
29088 * sysdeps/unix/sysv/linux/i386/fxstat.c
29089 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
29090 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
29091 * sysdeps/unix/sysv/linux/i386/fxstatat.c
29092 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
29093 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
29094 * sysdeps/unix/sysv/linux/i386/lxstat.c
29095 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
29096 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
29097 * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
29098 Remove conditional code.
29099 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
29100 * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
29101 Remove conditional code.
29102 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
29103 * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
29104 <kernel-features.h>.
29105 [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
29107 * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
29108 Remove conditional code.
29109 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
29110 * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
29111 Remove conditional.
29113 2012-08-27 Mike Frysinger <vapier@gentoo.org>
29116 * NEWS: Add fixed bug number.
29118 2012-08-27 Joseph Myers <joseph@codesourcery.com>
29121 * stdlib/strtod_l.c (round_and_return): Return -0.0 for
29122 underflowing exponent in case of negative sign.
29123 * stdlib/tst-strtod-round-data: Add more tests.
29124 * stdlib/tst-strtod-round.c (tests): Regenerated.
29127 * stdlib/strtod_l.c (NDIG): Remove.
29128 (HEXNDIG): Likewise.
29129 (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
29130 smallest representable value.
29131 (____STRTOF_INTERNAL): Use all fractional decimal digits that may
29132 lie within an exact representation of 1/2 ulp of the result.
29133 * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
29135 (TENS_P9_IDX): Define unconditionally.
29136 (TENS_P9_SIZE): Likewise.
29137 (TENS_P10_IDX): Likewise.
29138 (TENS_P10_SIZE): Likewise.
29139 [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
29140 to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
29141 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
29142 entries for 10^2^13 and 10^2^14.
29143 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
29144 (TENS_P13_IDX): Define.
29145 (TENS_P13_SIZE): Likewise.
29146 (TENS_P14_IDX): Likewise.
29147 (TENS_P14_SIZE): Likewise.
29148 (_fpioconst_pow10): Change array size to
29149 FPIOCONST_POW10_ARRAY_SIZE. Make entries for 10^2^9 and 10^2^10
29151 (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
29152 1024]: Add entries for 10^2^13 and 10^2^14.
29153 [LAST_POW10 > _LAST_POW10]: Remove #error.
29154 * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
29155 (_fpioconst_pow10): Change array size to
29156 FPIOCONST_POW10_ARRAY_SIZE.
29157 * stdlib/gen-fpioconst.c: New file.
29158 * stdlib/gen-tst-strtod-round.c: Likewise.
29159 * stdlib/tst-strtod-round-data: Likewise.
29160 * stdlib/tst-strtod-round.c: Likewise.
29161 * stdlib/Makefile (tests): Add tst-strtod-round.
29164 * stdlib/strtod_l.c: Include <stdint.h>.
29165 (NDEBUG): Do not define.
29166 (round_and_return): Change EXPONENT parameter to type intmax_t.
29167 Rearrange calculations to avoid internal overflow possibilities.
29168 (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
29169 Rearrange calculations to avoid internal overflow possibilities.
29170 Assert that number fits inside MPNSIZE limbs.
29171 (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
29172 Change DIG_NO, INT_NO and LEAD_ZERO to type size_t. Rearrange
29173 calculations and add assertions to avoid internal overflow
29174 possibilities. Add casts to avoid signed/unsigned operations.
29175 * stdlib/tst-strtod-overflow.c: New file.
29176 * stdlib/Makefile (tests): Add tst-strtod-overflow.
29178 2012-08-25 Marek Polacek <polacek@redhat.com>
29180 * time/time.h: Fix some typos in comments.
29182 2012-08-23 Roland McGrath <roland@hack.frob.com>
29184 * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
29185 * posix/tst-rfc3484-2.c: Likewise.
29186 * posix/tst-rfc3484-3.c: Likewise.
29188 2012-08-23 Steve McIntyre <steve.mcintyre@linaro.org>
29190 * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
29191 (EF_ARM_ABI_FLOAT_HARD): Likewise.
29193 2012-08-23 Joseph Myers <joseph@codesourcery.com>
29195 * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
29196 #include of fxstatat64.c.
29198 2012-08-22 Roland McGrath <roland@hack.frob.com>
29200 * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
29201 * shadow/getspent_r.c: Likewise.
29202 * shadow/getspnam.c: Likewise.
29203 * shadow/getspnam_r.c: Likewise.
29204 * gshadow/getsgent.c: Likewise.
29205 * gshadow/getsgent_r.c: Likewise.
29206 * gshadow/getsgnam.c: Likewise.
29207 * gshadow/getsgnam_r.c: Likewise.
29208 * inet/getnetbyad.c: Likewise.
29209 * inet/getnetbyad_r.c: Likewise.
29210 * inet/getnetbynm.c: Likewise.
29211 * inet/getnetbynm_r.c: Likewise.
29212 * inet/getnetent.c: Likewise.
29213 * inet/getnetent_r.c: Likewise.
29214 * inet/getproto.c: Likewise.
29215 * inet/getproto_r.c: Likewise.
29216 * inet/getprtent.c: Likewise.
29217 * inet/getprtent_r.c: Likewise.
29218 * inet/getprtname.c: Likewise.
29219 * inet/getprtname_r.c: Likewise.
29220 * inet/getrpcbyname.c: Likewise.
29221 * inet/getrpcbyname_r.c: Likewise.
29222 * inet/getrpcbynumber.c: Likewise.
29223 * inet/getrpcbynumber_r.c: Likewise.
29224 * inet/getrpcent.c: Likewise.
29225 * inet/getrpcent_r.c: Likewise.
29226 * inet/getaliasent.c: Likewise.
29227 * inet/getaliasent_r.c: Likewise.
29228 * inet/getaliasname.c: Likewise.
29229 * inet/getaliasname_r.c: Likewise.
29230 * nscd/getgrgid_r.c: Likewise.
29231 * nscd/getgrnam_r.c: Likewise.
29232 * nscd/gethstbyad_r.c: Likewise.
29233 * nscd/gethstbynm3_r.c: Likewise.
29234 * nscd/getpwnam_r.c: Likewise.
29235 * nscd/getpwuid_r.c: Likewise.
29236 * nscd/getsrvbynm_r.c: Likewise.
29237 * nscd/getsrvbypt_r.c: Likewise.
29238 * nscd/gai.c: Likewise.
29240 * configure.in (build_nscd): New substituted variable, set
29241 by --disable-build-nscd and defaults to $use_nscd.
29242 * configure: Regenerated.
29243 * config.make.in (build-nscd): New substituted variable.
29244 * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
29245 Change conditional to require [$(build-nscd) = yes] as well.
29246 * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
29249 * configure.in (use_nscd): New substituted variable, set by
29250 --disable-nscd. If enabled, define USE_NSCD.
29251 * configure: Regenerated.
29252 * config.h.in: Add USE_NSCD.
29253 * config.make.in (use-nscd): New substituted variable.
29254 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
29255 (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
29256 (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
29257 * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
29258 (CFLAGS-getgrnam_r.c): Likewise.
29259 (CFLAGS-initgroups.c): Likewise.
29260 * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
29261 * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
29263 * inet/getnetgrent_r.c
29264 (nscd_setnetgrent): New function, broken out of ...
29265 (setnetgrent): ... here. Call it.
29266 (innetgr): Conditionalize nscd bits on [USE_NSCD].
29267 (nscd_getnetgrent): Conditionalize on [USE_NSCD].
29268 (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
29269 * nscd/Makefile (routines, aux): Move definitions after include of
29270 Makeconfig. Conditionalize on [$(use-nscd) != no].
29271 * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
29272 Conditionalize on [USE_NSCD].
29273 (is_nscd, nscd_init_cb): Likewise.
29274 (nss_load_library): Conditionalize init callback on [USE_NSCD].
29275 * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
29276 * nss/nss_db/db-init.c: Likewise.
29277 * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
29279 * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
29280 (make_request): Use it.
29281 (cache_valid_p): New function.
29282 (__check_pf): Use it.
29283 * NEWS: Add item for --disable-nscd.
29285 2012-08-22 Dmitry V. Levin <ldv@altlinux.org>
29287 * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
29288 to support sed >= 4.2.1-20-ga9bf076.
29289 * configure: Regenerated.
29291 2012-08-22 Roland McGrath <roland@hack.frob.com>
29293 * csu/libc-start.c (apply_irel): Move extern declarations inside here.
29294 Conditionalize whole body on [IREL].
29296 2012-08-22 Jeff Law <law@redhat.com>
29299 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
29300 if the family is PF_UNSPEC.
29302 2012-08-22 Mike Frysinger <vapier@gentoo.org>
29304 * Makerules (lib-version): Rename from V.
29305 (install-lib-nosubdir): Change V to lib-version.
29307 2012-08-22 Will Schmidt <will_schmidt@vnet.ibm.com>
29310 * powerpc32/power6/wcschr.c: New file.
29311 * powerpc32/power6/wcscpy.c: New file.
29312 * powerpc32/power6/wcsrchr.c: New file.
29313 * powerpc64/power6/wcschr.c: New file.
29314 * powerpc64/power6/wcscpy.c: New file.
29315 * powerpc64/power6/wcsrchr.c: New file.
29317 2012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
29319 * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
29320 (two_way_short_needle): Use it.
29321 * string/strstr.c (AVAILABLE1_USES_J): Define.
29322 * string/strcasestr.c: Likewise.
29324 * string/str-two-way.h (two_way_short_needle): Use pointers instead of
29326 * string/strcasestr.c (TOLOWER): Make side-effect safe.
29329 * NEWS: Add an entry.
29330 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
29331 define their defaults.
29332 (two_way_short_needle): Detect end-of-string on-the-fly.
29333 * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
29334 (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
29335 * string/bug-strcasestr1.c: New test.
29336 * string/Makefile: Run it.
29338 2012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
29341 * string/str-two-way.h (two_way_short_needle): Optimize matching of
29342 the first character.
29344 2012-08-21 Roland McGrath <roland@hack.frob.com>
29346 * csu/elf-init.c (__libc_csu_irel): Function removed.
29347 * csu/libc-start.c (apply_irel): New function.
29348 (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
29350 2012-08-21 Joseph Myers <joseph@codesourcery.com>
29352 * sysdeps/unix/sysv/linux/kernel-features.h
29353 (__ASSUME_FADVISE64_64_SYSCALL): Remove.
29354 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
29355 <kernel-features.h>.
29356 [__NR_fadvise64_64]: Make code unconditional.
29357 [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
29358 [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
29359 !__NR_fadvise64_64)]: Likewise.
29360 [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
29361 !__NR_fadvise64_64))]: Likewise.
29362 [__NR_fadvise64]: Make code unconditional.
29363 [!__NR_fadvise64]: Remove conditional code.
29364 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
29365 <kernel-features.h>.
29366 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
29368 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
29370 * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
29371 not include <kernel-features.h>.
29372 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
29374 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
29376 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
29377 include <kernel-features.h>.
29378 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
29380 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
29383 2012-08-21 Will Schmidt <will_schmidt@vnet.ibm.com>
29385 * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
29386 slight instruction rearrangements per scrollpipe analysis.
29387 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
29389 2012-08-20 Roland McGrath <roland@hack.frob.com>
29391 * manual/syslog.texi (syslog; vsyslog, closelog):
29392 Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
29393 Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
29395 * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
29396 DSOCAPS to match condition on defining it.
29398 2012-08-20 Joseph Myers <joseph@codesourcery.com>
29400 * sysdeps/unix/sysv/linux/kernel-features.h
29401 (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
29402 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
29403 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
29404 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
29405 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
29406 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
29407 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
29408 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
29409 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
29410 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
29412 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
29413 __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
29415 * sysdeps/unix/sysv/linux/kernel-features.h
29416 (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
29417 * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
29419 [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
29420 * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
29421 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
29422 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
29423 * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
29424 Make code unconditional.
29425 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
29426 (__mmap64) [!__NR_mmap2]: Likewise.
29427 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
29428 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
29429 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
29430 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
29431 [__NR_mmap2]: Make code unconditional.
29432 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
29433 (__mmap64) [!__NR_mmap2]: Likewise.
29435 2012-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
29437 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
29439 2012-08-18 Andreas Jaeger <aj@suse.de>
29441 * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
29443 2012-08-18 Mike Frysinger <vapier@gentoo.org>
29445 * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
29446 * include/unistd.h (__have_sock_cloexec): Likewise.
29447 (__have_pipe2): Likewise.
29448 (__have_dup3): Likewise.
29450 2012-08-18 Mike Frysinger <vapier@gentoo.org>
29453 * include/unistd.h (__have_pipe2): Change define into an extern int.
29454 (__have_dup3): Likewise.
29455 * socket/have_sock_cloexec.c: Include fcntl.h.
29456 (__have_pipe2): New variable.
29457 (__have_dup3): Likewise.
29459 2012-08-17 Mike Frysinger <vapier@gentoo.org>
29461 * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
29463 2012-08-17 Marek Polacek <polacek@redhat.com>
29465 * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
29466 ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
29468 2012-08-17 Roland McGrath <roland@hack.frob.com>
29470 * configure.in: Add AC_SUBST for sysheaders.
29471 * configure: Regenerated.
29472 * config.make.in (sysheaders): New substituted variable.
29474 * sysdeps/unix/mkfifo.c: Moved ...
29475 * sysdeps/posix/mkfifo.c: ... here.
29476 * sysdeps/unix/mkfifoat.c: Moved ...
29477 * sysdeps/posix/mkfifoat.c: ... here.
29479 * sysdeps/unix/utime.c: Moved ...
29480 * sysdeps/posix/utime.c: ... here.
29482 * sysdeps/unix/time.c: Moved ...
29483 * sysdeps/posix/time.c: ... here.
29484 * sysdeps/unix/sysv/linux/time.c: Adjust #include.
29485 * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
29487 * sysdeps/unix/nice.c: Moved ...
29488 * sysdeps/posix/nice.c: ... here.
29490 * sysdeps/unix/alarm.c: Moved ...
29491 * sysdeps/posix/alarm.c: ... here.
29493 * intl/Makefile ($(codeset_mo)): Depend on the input file.
29495 2012-08-17 Jeff Law <law@redhat.com>
29497 * intl/Makefile (codeset_mo): New variable.
29498 ($(codeset_mo)): New target.
29499 (tst-codeset.out): Depend on that. Remove explicit rule.
29500 (tst-gettext3.out, tst-gettext5.out): Likewise.
29501 (LOCPATH-ENV, tst-codeset-ENV): New variables.
29502 (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
29503 * intl/tst-codeset.sh: Remove.
29504 * intl/tst-gettext3.sh: Likewise.
29505 * intl/tst-gettext5.sh: Likewise.
29507 2012-08-17 Roland McGrath <roland@hack.frob.com>
29509 * sysdeps/unix/inet/syscalls.list: File removed. Move contents into ...
29510 * sysdeps/unix/syscalls.list: ... here.
29512 * sysdeps/posix/getaddrinfo.c
29513 (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
29514 (gaiconf_init, gaiconf_reload): Use them.
29515 [!_STATBUF_ST_NSEC]
29516 (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
29517 Define using time_t rather than struct timespec.
29519 * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
29520 (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
29522 * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
29524 (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
29525 (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
29528 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
29529 __libc_cleanup_push argument.
29531 * bits/param.h: New file.
29532 * misc/sys/param.h: New file.
29533 * include/sys/param.h: New file.
29534 * misc/Makefile (headers): Add bits/param.h.
29535 * sysdeps/generic/sys/param.h: File removed.
29536 * sysdeps/unix/sysv/linux/bits/param.h: New file.
29537 * sysdeps/unix/sysv/linux/sys/param.h: File removed.
29538 * sysdeps/mach/hurd/bits/param.h: New file.
29539 * sysdeps/mach/hurd/sys/param.h: File removed.
29541 * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
29544 * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
29546 * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
29547 (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
29550 * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
29551 * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
29552 rather than -D_IO_MTSAFE_IO conditionally.
29553 * stdio-common/Makefile (CPPFLAGS): Likewise.
29554 * wcsmbs/Makefile (CPPFLAGS): Likewise.
29555 * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
29556 Use $(libio-mtsafe).
29557 * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
29558 of -D_IO_MTSAFE_IO.
29559 (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
29560 (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
29561 (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
29562 (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
29563 (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
29564 (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
29565 (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
29566 (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
29567 (CFLAGS-fread_u_chk.c): Likewise.
29568 (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
29569 (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
29570 (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
29571 (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
29572 * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
29573 * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
29574 * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
29575 * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
29576 * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
29578 * libio/Makefile: Test [$(libc-reentrant) = yes]
29579 instead of [$(filter %REENTRANT, $(defines)) nonempty].
29582 [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
29583 * sysdeps/pthread/configure: File removed.
29584 * sysdeps/pthread/Makeconfig: New file.
29585 * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
29586 * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
29588 2012-08-16 Gary Benson <gbenson@redhat.com>
29590 * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
29591 unmapping the first object in a namespace.
29593 2012-08-16 Roland McGrath <roland@hack.frob.com>
29595 * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
29596 (__internal_setnetgrent): ... this. Add internal_function to
29597 definition. Add libc_hidden_def.
29598 (setnetgrent): Update caller.
29599 (internal_endnetgrent): Renamed to ...
29600 (__internal_endnetgrent): ... this. Add internal_function to
29601 definition. Add libc_hidden_def.
29602 (endnetgrent): Update caller.
29603 (internal_getnetgrent_r): Renamed to ...
29604 (__internal_getnetgrent_r): ... this. Add internal_function to
29605 definition. Add libc_hidden_def.
29606 (__getnetgrent_r): Update caller.
29607 * inet/netgroup.h: Update declarations. Add libc_hidden_proto uses.
29609 2012-08-16 Joseph Myers <joseph@codesourcery.com>
29611 * stdlib/longlong.h: Update from GCC.
29613 2012-08-16 Roland McGrath <roland@hack.frob.com>
29615 * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
29616 on _QL, which is set by umul_ppmm but never used.
29617 * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
29618 variables, which are set by GMP macros but never used.
29619 * stdio-common/_itowa.c (_itowa): Likewise.
29620 * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
29621 * stdlib/mod_1.c (mpn_mod_1): Likewise.
29623 2012-08-16 Carlos O'Donell <carlos_odonell@mentor.com>
29625 * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
29626 struct La_sh_regs is not constant.
29627 * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
29628 <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
29629 and struct La_sparc64_regs are not constant.
29631 2012-08-16 Joseph Myers <joseph@codesourcery.com>
29633 * sysdeps/unix/sysv/linux/kernel-features.h
29634 (__ASSUME_POSIX_TIMERS): Remove.
29635 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
29636 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
29637 * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
29638 Make code unconditional.
29639 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
29640 * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
29641 Make code unconditional.
29642 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
29643 * sysdeps/unix/sysv/linux/clock_nanosleep.c
29644 [__ASSUME_POSIX_TIMERS]: Make code unconditional.
29645 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
29646 * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
29647 Make code unconditional.
29648 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
29649 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
29650 (__libc_missing_posix_timers): Remove.
29652 2012-08-15 Roland McGrath <roland@hack.frob.com>
29654 * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
29655 check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
29657 * bits/libc-lock.h (__rtld_lock_initialize): New macro.
29659 * elf/dl-sym.c: Include <stdlib.h>.
29661 * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
29662 constants, which avoids warnings in 32-bit builds.
29664 * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
29665 (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
29667 * misc/lseek.c: File moved to ...
29668 * io/lseek.c: ... here.
29670 * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
29672 * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
29673 shifting LEN more than 31 bits at once.
29675 2012-08-15 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
29678 * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
29679 segmentation fault for a case of two empty input strings.
29680 * string/test-strncasecmp.c (check1): Renamed to...
29681 (bz12205): ...this.
29682 (bz14195): Add new testcase for two empty input strings and N > 0.
29683 (test_main): Call new testcase, adapt for renamed function.
29685 2012-08-15 Andreas Jaeger <aj@suse.de>
29688 * crypt/md5test2.c: New test, based on test supplied by Serge
29689 Belyshev <belyshev@depni.sinp.msu.ru>.
29690 * crypt/Makefile (xtests): Add md5test-giant..
29691 * crypt/Makefile ($(objpfx)md5test-giant): Add.
29693 2012-08-15 Paul Eggert <eggert@cs.ucla.edu>
29696 * crypt/md5.c (md5_process_block): Don't assume the buffer
29697 length is less than 2**32.
29698 * crypt/sha512.c (sha512_process_block): Don't assume the buffer
29699 length is less than 2**64.
29701 2012-08-15 Roland McGrath <roland@hack.frob.com>
29703 * string/str-two-way.h: Include <sys/param.h>.
29704 (MAX): Macro removed.
29706 * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
29707 Move #define and #undef of memmove to just before and after
29708 including <string.h>.
29710 * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
29711 [!NOT_IN_libc]: Move #define and #undef of memmove to just before
29712 and after including <string.h>. Move declarations of
29713 __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
29714 to before #include "string/memmove.c".
29716 * include/dirent.h: Declare __getdirentries.
29718 * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
29719 using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
29721 2012-08-14 Mike Frysinger <vapier@gentoo.org>
29723 * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
29724 * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
29725 * sysdeps/i386/configure: Regenerated.
29726 * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
29727 STABS_CURRENT_FILE, and STABS_FUN.
29728 (END): Remove call to STABS_FUN_END.
29729 (STABS_CURRENT_FILE1): Delete.
29730 (STABS_CURRENT_FILE): Likewise.
29731 (STABS_FUN): Likewise.
29732 (STABS_FUN_END): Likewise.
29733 (STABS_FUN2): Likewise.
29734 * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
29735 * sysdeps/x86_64/configure: Regenerated.
29737 2012-08-14 Roland McGrath <roland@hack.frob.com>
29739 * elf/dl-open.c: Include <atomic.h>.
29740 * elf/dl-lookup.c: Likewise.
29742 2012-08-14 Joseph Myers <joseph@codesourcery.com>
29744 * sysdeps/unix/sysv/linux/kernel-features.h
29745 (__ASSUME_CLONE_THREAD_FLAGS): Remove.
29746 * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
29748 * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
29750 * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
29751 condition on __ASSUME_CLONE_THREAD_FLAGS.
29753 2012-08-14 Andreas Jaeger <aj@suse.de>
29755 * sysdeps/i386/fpu/libm-test-ulps: Update.
29757 2012-08-13 Maxim Kuvyrkov <maxim@codesourcery.com>
29759 * include/atomic.h (atomic_exchange_and_add): Split into ...
29760 (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
29763 2012-08-13 Markus Trippelsdorf <markus@trippelsdorf.de>
29765 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
29767 2012-08-13 Jeff Law <law@redhat.com>
29769 * manual/stdio.texi (snprintf): Clarify handling of the trailing
29770 null byte in the output string.
29772 2012-08-10 Joseph Myers <joseph@codesourcery.com>
29774 * sysdeps/unix/sysv/linux/kernel-features.h
29775 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
29776 [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
29777 (__ASSUME_ARG_MAX_STACK_BASED): Define.
29778 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
29779 [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
29780 !__ASSUME_ARG_MAX_STACK_BASED. Compare version with
29781 __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
29783 2012-08-09 Jeff Law <law@redhat.com>
29786 * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
29787 When avoid_arena is set, don't retry in the that arena. Pick the
29788 next one, whatever it might be.
29789 (arena_get2): New parameter avoid_arena, pass through to reused_arena.
29790 (arena_lock): Pass in new parameter to arena_get2.
29791 * malloc/malloc.c (__libc_memalign): Pass in new parameter to
29793 (__libc_malloc): Unify retrying after main arena failure with
29794 __libc_memalign version.
29795 (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
29797 2012-08-09 H.J. Lu <hongjiu.lu@intel.com>
29800 * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
29801 to __redirect_strstr.
29802 (__strstr_sse42): Use typeof __redirect_strstr.
29803 (__strstr_ia32): Likewise.
29804 (__libc_strstr): New prototype.
29805 (strstr): Renamed to ...
29806 (__libc_strstr): This.
29807 (strstr): New strong alias of __libc_strstr.
29808 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
29809 * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
29812 (__libc_time): New prototype.
29813 (time_ifunc): Replace time with __libc_time.
29814 (time): New strong alias and hidden definition of __libc_time.
29815 (__GI_time): Remove strong alias.
29816 * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
29817 Include <stddef.h>.
29818 (memmove): Redefined to __redirect_memmove.
29819 (__memmove_sse2): Use typeof __redirect_memmove.
29820 (__memmove_ssse3): Likewise.
29821 (__memmove_ssse3_back): Likewise.
29822 (__libc_memmove): New prototype.
29823 (memmove): Renamed to ...
29824 (__libc_memmove): This.
29825 (memmove): New strong alias of __libc_memmove.
29827 2012-08-08 Mark Salter <msalter@redhat.com>
29830 (R_MN10300_TLS_GD): Define.
29831 (R_MN10300_TLS_LD): Likewise.
29832 (R_MN10300_TLS_LDO): Likewise.
29833 (R_MN10300_TLS_GOTIE): Likewise.
29834 (R_MN10300_TLS_IE): Likewise.
29835 (R_MN10300_TLS_LE): Likewise.
29836 (R_MN10300_TLS_DTPMOD): Likewise.
29837 (R_MN10300_TLS_DTPOFF): Likewise.
29838 (R_MN10300_TLS_TPOFF): Likewise.
29839 (R_MN10300_SYM_DIFF): Likewise.
29840 (R_MN10300_ALIGN): Likewise.
29841 (R_MN10300_NUM): Update.
29843 2012-08-08 Joseph Myers <joseph@codesourcery.com>
29845 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
29848 2012-08-08 Roland McGrath <roland@hack.frob.com>
29850 * sysdeps/posix/fdopendir.c: Include <stddef.h>.
29852 * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
29853 sysdeps/unix -> sysdeps/posix move.
29854 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
29856 2012-08-07 Allan McRae <allan@archlinux.org>
29859 * sunrpc/rpc_main.c (SVR4_CPP): Remove.
29860 (SUNOS_CPP): Likewise.
29861 (find_cpp): Fall back to selecting system cpp when /lib/cpp is
29863 (open_input): Call CPP using execvp.
29865 2012-08-07 Joseph Myers <joseph@codesourcery.com>
29867 * sysdeps/unix/sysv/linux/kernel-features.h
29868 (__ASSUME_PROT_GROWSUPDOWN): Remove.
29869 (__ASSUME_NO_CLONE_DETACHED): Likewise.
29870 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
29871 (__ASSUME_WAITID_SYSCALL): Likewise.
29872 * sysdeps/unix/sysv/linux/dl-execstack.c
29873 (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
29874 code unconditional.
29875 (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
29877 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
29878 [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
29879 (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
29881 * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
29883 [__ASSUME_WAITID_SYSCALL]: Likewise.
29884 [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
29886 2012-08-07 Roland McGrath <roland@hack.frob.com>
29888 * sysdeps/unix/closedir.c: Renamed to ...
29889 * sysdeps/posix/closedir.c: ... here.
29890 * sysdeps/unix/dirfd.c: Renamed to ...
29891 * sysdeps/posix/dirfd.c: ... here.
29892 * sysdeps/unix/dirstream.h: Renamed to ...
29893 * sysdeps/posix/dirstream.h: ... here.
29894 * sysdeps/unix/fdopendir.c: Renamed to ...
29895 * sysdeps/posix/fdopendir.c: ... here.
29896 * sysdeps/unix/opendir.c: Renamed to ...
29897 * sysdeps/posix/opendir.c: ... here.
29898 * sysdeps/unix/readdir.c: Renamed to ...
29899 * sysdeps/posix/readdir.c: ... here.
29900 * sysdeps/unix/readdir_r.c: Renamed to ...
29901 * sysdeps/posix/readdir_r.c: ... here.
29902 * sysdeps/unix/rewinddir.c: Renamed to ...
29903 * sysdeps/posix/rewinddir.c: ... here.
29904 * sysdeps/unix/seekdir.c: Renamed to ...
29905 * sysdeps/posix/seekdir.c: ... here.
29906 * sysdeps/unix/telldir.c: Renamed to ...
29907 * sysdeps/posix/telldir.c: ... here.
29908 * sysdeps/unix/sysv/linux/opendir.c: Update #include.
29909 * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
29910 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
29911 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
29913 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
29914 * bits/fcntl.h: ... here.
29916 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
29918 (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
29919 [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
29920 (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
29921 (struct flock): Move l_start, l_len to the beginning.
29922 Use __pid_t for l_pid.
29923 [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
29924 [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
29925 [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
29926 (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
29927 [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
29928 [__USE_LARGEFILE64] (struct flock64): New type.
29929 (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
29931 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
29932 * bits/dirent.h: ... here.
29934 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
29935 [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
29937 2012-08-07 Joseph Myers <joseph@codesourcery.com>
29939 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
29940 Change from 2.6.0 to 2.6.16.
29941 * sysdeps/unix/sysv/linux/configure: Regenerated.
29942 * sysdeps/unix/sysv/linux/kernel-features.h
29943 (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
29944 (__ASSUME_TGKILL): Define conditional on architectures, not kernel
29946 (__ASSUME_UTIMES): Likewise.
29947 (__ASSUME_CLONE_STOPPED): Remove.
29948 (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
29949 architectures, not kernel version.
29950 (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
29951 (__ASSUME_NO_CLONE_DETACHED): Likewise.
29952 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
29953 (__ASSUME_WAITID_SYSCALL): Likewise.
29954 [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
29955 condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
29956 * README: State 2.6.16 as minimum Linux kernel version. Do not
29957 refer to older versions.
29959 2012-08-06 Roland McGrath <roland@hack.frob.com>
29961 * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
29962 Define alphasort64 as an alias.
29963 * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
29964 Define versionsort64 as an alias.
29965 * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
29966 Define scandir64 as an alias.
29967 * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
29968 Define scandirat64 as an alias.
29969 * dirent/alphasort64.c (alphasort64):
29970 Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
29971 * dirent/versionsort64.c: Likewise.
29972 * dirent/scandir64.c: Likewise.
29973 * dirent/scandirat64.c: Likewise.
29974 * sysdeps/wordsize-64/alphasort.c: File removed.
29975 * sysdeps/wordsize-64/alphasort64.c: File removed.
29976 * sysdeps/wordsize-64/scandir.c: File removed.
29977 * sysdeps/wordsize-64/scandir64.c: File removed.
29978 * sysdeps/wordsize-64/scandirat.c: File removed.
29979 * sysdeps/wordsize-64/scandirat64.c: File removed.
29980 * sysdeps/wordsize-64/versionsort.c: File removed.
29981 * sysdeps/wordsize-64/versionsort64.c: File removed.
29982 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
29983 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
29984 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
29985 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
29986 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
29987 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
29988 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
29989 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
29991 * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
29992 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
29993 [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
29994 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
29995 [defined __arch64__ || defined __sparcv9]
29996 (__INO_T_MATCHES_INO64_T): New macro.
29997 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
29998 [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
29999 * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
30000 * sysdeps/unix/sysv/linux/bits/dirent.h
30001 [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
30002 (_DIRENT_MATCHES_DIRENT64): New macro.
30004 * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
30005 Define lockf64 as an alias.
30006 * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
30007 Define fseeko64 as an alias.
30008 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
30009 Define ftello64 as an alias.
30010 * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
30011 Define _IO_fgetpos64 and fgetpos64 as aliases.
30012 * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
30013 Define _IO_fsetpos64 and fsetpos64 as aliases.
30014 * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
30015 Conditionalize body on this.
30016 * libio/fseeko64.c: Likewise.
30017 * libio/ftello64.c: Likewise.
30018 * libio/iofgetpos64.c: Likewise.
30019 * libio/iofsetpos64.c: Likewise.
30020 * sysdeps/wordsize-64/lockf.c: File removed.
30021 * sysdeps/wordsize-64/lockf64.c: File removed.
30022 * sysdeps/wordsize-64/fseeko.c: File removed.
30023 * sysdeps/wordsize-64/fseeko64.c: File removed.
30024 * sysdeps/wordsize-64/ftello.c: File removed.
30025 * sysdeps/wordsize-64/ftello64.c: File removed.
30026 * sysdeps/wordsize-64/iofgetpos.c: File removed.
30027 * sysdeps/wordsize-64/iofgetpos64.c: File removed.
30028 * sysdeps/wordsize-64/iofsetpos.c: File removed.
30029 * sysdeps/wordsize-64/iofsetpos64.c: File removed.
30030 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
30031 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
30032 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
30033 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
30034 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
30035 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
30036 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
30037 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
30038 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
30039 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
30041 * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
30042 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
30043 [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
30044 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
30045 [defined __arch64__ || defined __sparcv9]
30046 (__OFF_T_MATCHES_OFF64_T): New macro.
30047 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
30048 [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
30049 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
30050 (__OFF_T_MATCHES_OFF64_T): New macro.
30052 2012-08-06 H.J. Lu <hongjiu.lu@intel.com>
30054 * stdlib/secure-getenv.c (__secure_getenv): Replace
30055 GLIBC_2_16 with GLIBC_2_17.
30057 2012-08-06 H.J. Lu <hongjiu.lu@intel.com>
30059 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
30060 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
30062 2012-08-03 David S. Miller <davem@davemloft.net>
30064 * sysdeps/sparc/fpu/libm-test-ulps: Update.
30066 2012-08-03 Joseph Myers <joseph@codesourcery.com>
30068 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
30070 (__ASSUME_CORRECT_SI_PID): Likewise.
30071 (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
30072 (__ASSUME_TMPFS_NAME): Likewise.
30073 * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
30074 [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
30075 * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
30076 (HAVE_AUX_SECURE): Make definition unconditional.
30077 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
30078 [!__ASSUME_TMPFS_NAME]: Remove conditional code.
30080 2012-08-03 Roland McGrath <roland@hack.frob.com>
30082 * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
30083 * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
30084 * sysdeps/mach/hurd/eloop-threshold.h: New file.
30085 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
30086 __eloop_threshold instead of SYMLOOP_MAX.
30088 * sysdeps/generic/eloop-threshold.h: New file.
30089 * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
30091 * elf/chroot_canon.c (chroot_canon): Likewise.
30093 2012-08-03 Joseph Myers <joseph@codesourcery.com>
30096 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
30097 Change to 2.6.0 everywhere.
30098 * sysdeps/unix/sysv/linux/configure: Regenerated.
30099 * sysdeps/unix/sysv/linux/kernel-features.h
30100 (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
30101 (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
30103 (__ASSUME_POSIX_TIMERS): Define unconditionally.
30104 (__ASSUME_FUTEX_REQUEUE): Remove.
30105 (__ASSUME_STATFS64): Define unconditionally.
30106 (__ASSUME_AT_SECURE): Likewise.
30107 (__ASSUME_CORRECT_SI_PID): Likewise.
30108 (__ASSUME_TGKILL): Define without depending on kernel version for
30110 (__ASSUME_UTIMES): Likewise.
30111 (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
30113 (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
30114 (__ASSUME_TMPFS_NAME): Likewise.
30115 * README: Update reference to Linux kernel versions.
30117 2012-08-02 Marek Polacek <polacek@redhat.com>
30120 * configure.in (libc_cv_asm_type_prefix): Remove test. Replace
30121 libc_cv_asm_type_prefix with %.
30122 * configure: Regenerated.
30123 * include/libc-symbols.h: Remove comment about
30124 ASM_TYPE_DIRECTIVE_PREFIX. Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
30125 (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
30126 (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
30127 (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
30128 (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
30129 * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
30130 [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
30131 [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
30132 * elf/tst-unique2mod1.c: Likewise.
30133 * elf/tst-unique1mod2.c: Likewise.
30134 * elf/tst-unique1mod1.c: Likewise.
30135 * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
30136 * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
30137 Replace ASM_TYPE_DIRECTIVE with .type.
30138 * sysdeps/s390/s390-64/sysdep.h: Likewise.
30139 * sysdeps/i386/sysdep.h: Likewise.
30140 * sysdeps/x86_64/sysdep.h: Likewise.
30141 * sysdeps/sh/sysdep.h: Likewise.
30142 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
30143 Do not define ASM_TYPE_DIRECTIVE.
30144 * sysdeps/powerpc/sysdep.h: Likewise.
30145 * sysdeps/powerpc/powerpc32/sysdep.h:
30146 Replace ASM_TYPE_DIRECTIVE with .type.
30147 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
30148 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
30149 * sysdeps/i386/fpu/e_powf.S: Likewise.
30150 * sysdeps/i386/fpu/e_expl.S: Likewise.
30151 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
30152 * sysdeps/i386/fpu/e_acosh.S: Likewise.
30153 * sysdeps/i386/fpu/e_pow.S: Likewise.
30154 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
30155 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
30156 * sysdeps/i386/fpu/s_expm1.S: Likewise.
30157 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
30158 * sysdeps/i386/fpu/e_log2.S: Likewise.
30159 * sysdeps/i386/fpu/e_log2l.S: Likewise.
30160 * sysdeps/i386/fpu/e_scalb.S: Likewise.
30161 * sysdeps/i386/fpu/e_powl.S: Likewise.
30162 * sysdeps/i386/fpu/e_log10f.S: Likewise.
30163 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
30164 * sysdeps/i386/fpu/e_logl.S: Likewise.
30165 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
30166 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
30167 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
30168 * sysdeps/i386/fpu/e_log2f.S: Likewise.
30169 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
30170 * sysdeps/i386/fpu/e_log.S: Likewise.
30171 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
30172 * sysdeps/i386/fpu/e_logf.S: Likewise.
30173 * sysdeps/i386/fpu/e_log10l.S: Likewise.
30174 * sysdeps/i386/fpu/e_atanh.S: Likewise.
30175 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
30176 * sysdeps/i386/fpu/e_log10.S: Likewise.
30177 * sysdeps/i386/fpu/s_frexp.S: Likewise.
30178 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
30179 * sysdeps/i386/fpu/s_asinh.S: Likewise.
30180 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
30181 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
30182 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
30183 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
30184 * sysdeps/i386/i686/strtok.S: Likewise.
30185 * sysdeps/i386/i386-mcount.S: Likewise.
30186 * sysdeps/i386/strtok.S: Likewise.
30187 * sysdeps/x86_64/fpu/e_expl.S: Likewise.
30188 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
30189 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
30190 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
30191 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
30192 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
30193 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
30194 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
30195 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
30196 * sysdeps/x86_64/_mcount.S: Likewise.
30197 * sysdeps/x86_64/strtok.S: Likewise.
30198 * sysdeps/sh/_mcount.S: Likewise.
30200 2012-08-01 Roland McGrath <roland@hack.frob.com>
30202 * libio/iofopen.c: Include <fcntl.h>.
30203 [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
30204 (_IO_fopen64, fopen64): Define as aliases.
30205 * libio/iofopen64.c: Include <fcntl.h>.
30206 [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
30207 Conditionalize body on this.
30208 * sysdeps/wordsize-64/iofopen.c: File removed.
30209 * sysdeps/wordsize-64/iofopen64.c: File removed.
30211 2012-08-01 Marek Polacek <polacek@redhat.com>
30213 * libc/Makeconfig: Use elf in place of binfmt-subdir.
30214 Use dlfcn directly instead of a variable.
30215 (binfmt-subdir): Do not define.
30218 2012-08-01 Joseph Myers <joseph@codesourcery.com>
30220 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
30221 Remove all definitions.
30222 * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
30223 <kernel-features.h>.
30224 [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
30225 (miss_F_GETOWN_EX): Remove all definitions.
30226 [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
30228 [!__ASSUME_FCNTL64]: Remove conditional code.
30229 [__ASSUME_FCNTL64]: Make code unconditional.
30230 * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
30231 <kernel-features.h>.
30232 [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
30233 (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
30234 (lockf64) [__NR_fcntl64]: Make code unconditional.
30235 (lockf64) [__ASSUME_FCNTL64]: Likewise.
30237 * sysdeps/unix/sysv/linux/kernel-features.h
30238 (__ASSUME_VFORK_SYSCALL): Remove all definitions.
30239 * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
30240 Make code unconditional.
30241 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
30242 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
30243 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
30244 [__NR_vfork]: Make code unconditional.
30245 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
30246 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
30247 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
30248 [__NR_vfork]: Make code unconditional.
30249 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
30250 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
30252 2012-08-01 Roland McGrath <roland@hack.frob.com>
30254 * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
30255 (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
30257 * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
30258 Define mkstemp64 as an alias.
30259 * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
30260 Define mkstemps64 as an alias.
30261 * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
30262 Define mkostemp64 as an alias.
30263 * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
30264 Define mkostemps64 as an alias.
30265 * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
30266 Conditionalize body on this.
30267 * misc/mkostemp64.c: Likewise.
30268 * misc/mkostemps64.c: Likewise.
30269 * misc/mkstemps64.c: Likewise.
30270 * sysdeps/wordsize-64/mkstemp64.c: File removed.
30271 * sysdeps/wordsize-64/mkostemp64.c: File removed.
30272 * sysdeps/wordsize-64/mkostemp.c: File removed.
30273 * sysdeps/wordsize-64/mkstemp.c: File removed.
30274 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
30275 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
30276 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
30277 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
30280 * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
30281 * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
30282 * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
30283 * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
30285 * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
30286 compat_symbol macros from <shlib-compat.h> rather than the underlying
30287 default_symbol_version and symbol_version macros, so that DEFAULT
30288 lines in shlib-versions are respected.
30289 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
30291 2012-08-01 Florian Weimer <fweimer@redhat.com>
30293 * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
30294 Declare with warn_unused_result.
30295 (setgid, setregid, setegid, setresgid): Likewise.
30296 * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
30298 * WUR-REPORT: Remove set*id functions.
30300 2012-07-31 Pino Toscano <toscano.pino@tiscali.it>
30302 * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
30304 2012-07-31 Roland McGrath <roland@hack.frob.com>
30307 * include/sys/socket.h (__libc_accept, __libc_accept4):
30308 Add attribute_hidden.
30309 * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
30311 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
30313 * inet/getnetgrent_r.c (setup): Likewise.
30315 * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
30317 2012-07-31 David S. Miller <davem@davemloft.net>
30319 * sysdeps/sparc/fpu/libm-test-ulps: Update.
30321 2012-07-31 Joseph Myers <joseph@codesourcery.com>
30324 * math/s_clog.c (__clog): Use __log1p if larger part has absolute
30325 value between 1.0 and 2.0 and smaller part has absolute value less
30327 * math/s_clog10.c (__clog10): Likewise.
30328 * math/s_clog10f.c (__clog10f): Likewise.
30329 * math/s_clog10l.c (__clog10l): Likewise.
30330 * math/s_clogf.c (__clogf): Likewise.
30331 * math/s_clogl.c (__clogl): Likewise.
30332 * math/libm-test.inc (clog_test): Add more tests.
30333 (clog10_test): Likewise.
30334 * sysdeps/i386/fpu/libm-test-ulps: Update.
30335 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30337 2012-07-31 Florian Weimer <fweimer@redhat.com>
30339 * stdlib/tst-secure-getenv.c: Use printf for error reporting.
30340 Exit with zero in case no suitable GID is found, and write a
30341 message to standard error.
30343 2012-07-30 Roland McGrath <roland@hack.frob.com>
30345 * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
30347 (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
30348 (MAXPATHLEN): Removed.
30349 (NOGROUP, NODEV): New macros.
30350 (setbit, clrbit, isset, isclr): New macros.
30351 (howmany, roundup, powerof2): New macros.
30352 (DEV_BSIZE): New macro.
30354 * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
30355 * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
30357 * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
30358 definition on [!__NO_LONG_DOUBLE_MATH].
30360 * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
30361 PTR_MANGLE and PTR_DEMANGLE.
30363 * socket/accept4.c (accept4): Rename to __libc_accept4.
30364 Define accept4 as a weak alias.
30366 * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
30367 on [_DIRENT_HAVE_D_TYPE].
30368 * io/ftw.c (ftw_dir): Likewise.
30370 * io/xmknod.c (__xmknod): Don't check PATH for being null.
30372 * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
30374 * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
30375 Use the BSD numbers rather than the arbitrary ones we had.
30376 (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
30377 (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
30378 (SIGXCPU, SIGXFSZ): New macros.
30381 * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
30382 initializer on [_LIBC_REENTRANT].
30384 * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
30385 definitions inside [_POSIX_MAPPED_FILES].
30387 * posix/regex.c: Include <sys/param.h> for MIN/MAX.
30389 * dirent/opendir.c: Include <fcntl.h>.
30391 * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
30392 (__libc_getspecific): Likewise.
30393 (__libc_key_create): Likewise.
30395 * stdio-common/tmpfile64.c: Include <fcntl.h> first.
30396 [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
30397 * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
30398 (tmpfile64): Define as alias.
30399 * sysdeps/wordsize-64/tmpfile.c: File removed.
30400 * sysdeps/wordsize-64/tmpfile64.c: File removed.
30401 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
30402 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
30404 * stdio-common/vfscanf.c: Include <stdbool.h>.
30405 * nss/makedb.c: Likewise.
30406 * stdio-common/_i18n_number.h: Likewise.
30407 * argp/argp-help.c: Likewise.
30408 * posix/wordexp.c: Likewise.
30409 * sysdeps/posix/spawni.c: Likewise.
30410 * nss/nss_files/files-initgroups.c: Likewise.
30411 * stdio-common/reg-modifier.c: Include <stdlib.h>.
30412 * nss/nss_files/files-initgroups.c: Likewise.
30413 * nss/nss_db/db-netgrp.c: Likewise.
30414 * nss/nss_db/db-initgroups.c: Likewise.
30415 * io/fchmodat.c: Include <sys/stat.h>.
30417 * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
30418 __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
30420 * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
30423 * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
30424 Add multiple inclusion protection.
30426 2012-07-27 David S. Miller <davem@davemloft.net>
30428 * sysdeps/sparc/fpu/libm-test-ulps: Update.
30430 2012-07-27 Gary Benson <gbenson@redhat.com>
30433 * elf/rtld.c: Include <stap-probe.h>.
30434 (dl_main): Added static probes "init_start" and "init_complete".
30435 * elf/dl-load.c: Include <stap-probe.h>.
30436 (lose): Take new parameter "nsid".
30437 Added static probe "map_failed".
30438 (_dl_map_object_from_fd): Pass namespace id to lose.
30439 Added static probe "map_start".
30440 (open_verify): Pass namespace id to lose.
30441 * elf/dl-open.c: Include <stap-probe.h>.
30442 (dl_open_worker) Added static probes "map_complete", "reloc_start"
30443 and "reloc_complete".
30444 * elf/dl-close.c: Include <stap-probe.h>.
30445 (_dl_close_worker): Added static probes "unmap_start" and
30447 * elf/rtld-debugger-interface.txt: New file documenting the above.
30449 2012-07-26 Roland McGrath <roland@hack.frob.com>
30451 * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
30452 rather than a string variable.
30453 * sunrpc/rpc_main.c (h_output): Likewise.
30454 * sunrpc/rpc_svcout.c (write_real_program): Likewise.
30456 2012-07-26 Pino Toscano <toscano.pino@tiscali.it>
30458 * inet/check_native.c: New file.
30460 2012-07-26 Joseph Myers <joseph@codesourcery.com>
30463 * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
30464 if larger part has absolute value 1.0.
30465 * math/s_clog10.c (__clog10): Likewise.
30466 * math/s_clog10f.c (__clog10f): Likewise.
30467 * math/s_clog10l.c (__clog10l): Likewise.
30468 * math/s_clogf.c (__clogf): Likewise.
30469 * math/s_clogl.c (__clogl): Likewise.
30470 * math/libm-test.inc (clog_test): Add more tests.
30471 (clog10_test): Likewise.
30472 * sysdeps/i386/fpu/libm-test-ulps: Update.
30473 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30475 * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
30476 (pltexit): Likewise.
30477 (La_regs): Likewise.
30478 (La_retval): Likewise.
30479 (int_retval): Likewise.
30480 Update #error for removed macros to refer only to definitions in
30482 * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
30484 (pltexit): Likewise.
30485 (La_regs): Likewise.
30486 (La_retval): Likewise.
30487 (int_retval): Likewise.
30488 * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
30490 (pltexit): Likewise.
30491 (La_regs): Likewise.
30492 (La_retval): Likewise.
30493 (int_retval): Likewise.
30494 * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
30496 (pltexit): Likewise.
30497 (La_regs): Likewise.
30498 (La_retval): Likewise.
30499 (int_retval): Likewise.
30500 * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
30502 (pltexit): Likewise.
30503 (La_regs): Likewise.
30504 (La_retval): Likewise.
30505 (int_retval): Likewise.
30506 * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
30508 (pltexit): Likewise.
30509 (La_regs): Likewise.
30510 (La_retval): Likewise.
30511 (int_retval): Likewise.
30512 * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
30514 (pltexit): Likewise.
30515 (La_regs): Likewise.
30516 (La_retval): Likewise.
30517 (int_retval): Likewise.
30518 * sysdeps/generic/tst-audit.h: Update comment to refer only to
30519 macro definitions in tst-audit.h.
30520 * sysdeps/i386/tst-audit.h: New file.
30521 * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
30522 * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
30523 * sysdeps/s390/s390-32/tst-audit.h: Likewise.
30524 * sysdeps/s390/s390-64/tst-audit.h: Likewise.
30525 * sysdeps/sh/tst-audit.h: Likewise.
30526 * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
30527 * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
30528 * sysdeps/x86_64/tst-audit.h: Likewise.
30530 2012-07-26 Andreas Jaeger <aj@suse.de>
30532 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
30535 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
30536 new value PTRACE_EVENT_SECCOMP from Linux 3.5.
30537 (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
30539 * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
30540 * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
30541 * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
30543 * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
30546 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
30548 (si_call_addr, si_syscall, si_arch): Define new macro.
30549 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
30551 (si_call_addr, si_syscall, si_arch): Define new marcro.
30552 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
30554 (si_call_addr, si_syscall, si_arch): Define new macro.
30555 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
30557 (si_call_addr, si_syscall, si_arch): Define new macro.
30559 2012-07-25 Joseph Myers <joseph@codesourcery.com>
30562 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
30563 Change to 2.4.21 where previously 2.4.1.
30564 * sysdeps/unix/sysv/linux/configure: Regenerated.
30565 * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
30566 __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
30567 Linux kernel version.
30568 (__ASSUME_STD_AUXV): Remove.
30569 [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
30571 [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
30572 (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
30573 (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
30574 (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
30575 (__ASSUME_NETLINK_SUPPORT): Likewise.
30576 * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
30577 (__no_netlink_support): Remove conditional definition.
30578 * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
30580 (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
30581 [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
30582 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
30583 (if_nameindex_ioctl): Remove.
30584 (if_nameindex_netlink): Do not handle __no_netlink_support.
30585 (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
30587 * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
30588 Remove conditional code.
30589 (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
30591 (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
30593 [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
30594 [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
30595 * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
30597 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
30598 [!__ASSUME_STD_AUXV]: Remove conditional code.
30599 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
30600 [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
30601 [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
30602 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
30603 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
30604 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
30606 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
30607 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
30608 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
30609 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
30611 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
30612 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
30613 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
30615 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
30616 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
30618 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
30619 (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
30620 code unconditional.
30621 (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
30623 (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
30625 (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
30627 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
30628 (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
30630 (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
30632 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
30633 (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
30634 code unconditional.
30635 (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
30637 (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
30639 (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
30641 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
30642 (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
30643 code unconditional.
30644 (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
30646 (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
30648 (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
30651 2012-07-25 Andreas Schwab <schwab@linux-m68k.org>
30653 * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
30654 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
30655 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
30656 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
30657 * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
30658 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
30659 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
30660 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
30661 * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
30662 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
30663 * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
30664 * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
30665 * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
30666 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
30667 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
30668 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
30669 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
30670 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
30671 * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
30672 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
30673 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
30674 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
30675 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
30677 2012-07-25 Florian Weimer <fweimer@redhat.com>
30679 * Versions.def: Add GLIBC_2.17.
30680 * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
30681 * include/stdlib.h: Rename __secure_getenv to secure_getenv.
30682 Introduce __libc_secure_getenv.
30683 * stdlib/Versions (2.17): Add secure_getenv
30684 (GLIBC_PRIVATE): Add __libc_secure_getenv.
30685 * stdlib/secure-getenv.c: Rename __secure_getenv to
30686 __libc_secure_getenv. Add secure_getenv alias. Add compatibility
30687 symbol __secure_getenv for GLIBC_2.0.
30688 * stdlib/tst-secure-getenv.c: New.
30689 * stdlib/Makefile (tests): Add testcase.
30690 * manual/startup.texi (Environment Access): Document
30692 * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
30693 __libc_secure_getenv.
30694 * inet/ruserpass.c (ruserpass): Likewise.
30695 * malloc/mtrace.c (mtrace): Likewise.
30696 * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
30697 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
30698 * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
30699 * sysdeps/posix/tempname.c: Likewise. Evaluate
30700 HAVE_SECURE_GETENV.
30701 * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
30702 __secure_getenv to __libc_secure_getenv.
30703 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
30704 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
30706 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
30708 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
30709 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
30710 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
30711 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
30712 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
30713 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
30714 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
30716 2012-07-25 Joseph Myers <joseph@codesourcery.com>
30718 * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
30719 (struct La_i86_retval): Likewise.
30720 (struct La_x86_64_regs): Likewise.
30721 (struct La_x86_64_retval): Likewise.
30722 (struct La_x32_regs): Likewise.
30723 (struct La_x32_retval): Likewise.
30724 (struct La_ppc32_regs): Likewise.
30725 (struct La_ppc32_retval): Likewise.
30726 (struct La_ppc64_regs): Likewise.
30727 (struct La_ppc64_retval): Likewise.
30728 (struct La_sh_regs): Likewise.
30729 (struct La_sh_retval): Likewise.
30730 (struct La_s390_32_regs): Likewise.
30731 (struct La_s390_32_retval): Likewise.
30732 (struct La_s390_64_regs): Likewise.
30733 (struct La_s390_64_retval): Likewise.
30734 (struct La_sparc32_regs): Likewise.
30735 (struct La_sparc32_retval): Likewise.
30736 (struct La_sparc64_regs): Likewise.
30737 (struct La_sparc64_retval): Likewise.
30738 (struct audit_ifaces): Remove architecture-specific pltenter and
30740 * sysdeps/i386/ldsodefs.h: New file.
30741 * sysdeps/powerpc/ldsodefs.h: Likewise.
30742 * sysdeps/s390/ldsodefs.h: Likewise.
30743 * sysdeps/sh/ldsodefs.h: Likewise.
30744 * sysdeps/sparc/ldsodefs.h: Likewise.
30745 * sysdeps/x86_64/ldsodefs.h: Likewise.
30747 2012-07-25 Marek Polacek <polacek@redhat.com>
30750 * math/libm-test.inc (yn_test): Add another test.
30751 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
30752 to ERANGE when the result is +-Inf.
30753 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
30754 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
30755 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
30756 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
30758 2012-07-24 Joseph Myers <joseph@codesourcery.com>
30760 * conform/data/time.h-data (NULL): Use macro-constant. Require
30762 (CLOCKS_PER_SEC): Use macro instead of constant. Specify type as
30764 [ISO11] (TIME_UTC): Use macro-int-constant. Require value > 0.
30766 2012-07-23 Thomas Schwinge <thomas@codesourcery.com>
30768 * configure.in <sysdeps resolving>: Correct printing
30770 * configure: Regenerate.
30772 2012-07-22 Thomas Schwinge <thomas@codesourcery.com>
30774 * math/w_ilogb.c: Include <limits.h>.
30775 * math/w_ilogbl.c: Likewise.
30777 2012-07-20 Joseph Myers <joseph@codesourcery.com>
30779 * manual/lang.texi (__va_copy): Document primarily as ISO C99
30780 va_copy. Document allowing for unavailable va_copy only as
30781 pre-C99 compatibility.
30782 * manual/string.texi (Copying and Concatenation): Use va_copy
30783 instead of __va_copy in concat example.
30785 2012-07-20 Pino Toscano <toscano.pino@tiscali.it>
30787 * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
30788 (__sendto): Use create_address_port. Initialize APORT and deallocate
30791 * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
30792 with O_NOLINK passed to __file_name_lookup.
30794 * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
30795 with O_NOLINK passed to __file_name_lookup.
30797 * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
30798 negative N or less than NGIDS.
30800 * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
30801 type to string_t. Set ERANGE as errno and return it if NAME is not big
30802 enough. Use memcpy instead of strncpy.
30804 2012-07-20 Joseph Myers <joseph@codesourcery.com>
30806 * elf/Makefile (check-data): Remove.
30807 (localplt.data): New vpath directive.
30808 ($(objpfx)check-localplt.out): Use localplt.data from vpath
30809 instead of $(check-data).
30810 * scripts/data/localplt-generic.data: Move to ...
30811 * sysdeps/generic/localplt.data: ... here.
30812 * scripts/data/localplt-i386-linux-gnu.data: Move to ...
30813 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
30814 * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
30815 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
30817 * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
30818 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
30820 * scripts/data/localplt-s390-linux-gnu.data: Move to ...
30821 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
30823 * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
30824 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
30826 * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
30827 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
30829 * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
30830 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
30833 2012-07-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30835 * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
30836 PPC32 and PPC64 files.
30837 * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
30838 * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
30840 2012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
30842 * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
30843 __makecontext_ret to ...
30844 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
30845 ... here and call exit if uc_link is NULL. New file.
30846 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
30847 __makecontext_ret.S.
30848 * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
30849 __makecontext_ret to ...
30850 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
30851 ... here and call exit if uc_link is NULL. New file.
30852 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
30853 __makecontext_ret.S.
30855 2012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
30857 * elf/elf.h (R_390_IRELATIVE): New definition.
30858 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
30859 resolver function for IFUNC symbols. Support R_390_IRELATIVE.
30860 (elf_machine_lazy_rel): Support R_390_IRELATIVE.
30861 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
30862 (elf_machine_lazy_rel): Likewise.
30863 * sysdeps/s390/dl-irel.h: New file.
30864 * sysdeps/s390/s390-64/memcpy.S: New asm code.
30865 * sysdeps/s390/s390-64/memset.S: New asm code.
30866 * sysdeps/s390/s390-64/memcmp.S: New asm code.
30867 * sysdeps/s390/s390-64/multiarch/memset.S: New file.
30868 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
30869 * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
30870 * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
30871 * sysdeps/s390/s390-64/multiarch/Makefile: New file.
30872 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
30873 * sysdeps/s390/s390-32/multiarch/Makefile: New file.
30874 * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
30875 * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
30876 * sysdeps/s390/s390-32/multiarch/memset.S: New file.
30877 * sysdeps/s390/s390-32/memcpy.S: New asm code.
30878 * sysdeps/s390/s390-32/memset.S: New asm code.
30879 * sysdeps/s390/s390-32/memcmp.S: New asm code.
30881 2012-07-17 Marek Polacek <polacek@redhat.com>
30884 * sysdeps/s390/s390-32/configure.in: Remove TLS check.
30885 * sysdeps/s390/s390-64/configure.in: Likewise.
30886 * sysdeps/sparc/configure.in: Likewise.
30887 * sysdeps/powerpc/powerpc32/configure.in: Likewise.
30888 * sysdeps/powerpc/powerpc64/configure.in: Likewise.
30889 * sysdeps/i386/configure.in: Likewise.
30890 * sysdeps/x86_64/configure.in: Likewise.
30891 * sysdeps/sh/configure.in: Likewise.
30892 * sysdeps/s390/s390-32/configure: Regenerated.
30893 * sysdeps/s390/s390-64/configure: Likewise.
30894 * sysdeps/x86_64/configure: Likewise.
30895 * sysdeps/sh/configure: Likewise.
30896 * sysdeps/powerpc/powerpc64/configure: Likewise.
30897 * sysdeps/powerpc/powerpc32/configure: Likewise.
30898 * sysdeps/sparc/configure: Likwise.
30899 * sysdeps/i386/configure: Likewise.
30901 * elf/dl-open.c: Comment fixes.
30903 2012-07-17 Joseph Myers <joseph@codesourcery.com>
30905 * Makefile [CXX] (check-data): Remove.
30906 [CXX] (c++-types.data): New vpath directive.
30907 [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
30908 vpath. Do not allow for C++ type data being missing.
30909 * scripts/data/c++-types-alpha-linux-gnu.data: Move to
30910 ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
30911 * scripts/data/c++-types-ia64-linux-gnu.data: Move to
30912 ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
30913 * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
30914 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
30915 * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
30916 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
30918 * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
30919 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
30921 * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
30922 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
30924 * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
30925 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
30927 * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
30928 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
30930 * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
30931 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
30933 * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
30934 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
30936 * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
30937 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
30939 * elf/tls-macros.h (TLS_LE): Move architecture-specific
30940 definitions to architecture-specific files.
30941 (TLS_IE): Likewise.
30942 (TLS_LD): Likewise.
30943 (TLS_GD): Likewise.
30944 * sysdeps/i386/tls-macros.h: New file.
30945 * sysdeps/powerpc/tls-macros.h: Likewise.
30946 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
30947 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
30948 * sysdeps/sh/tls-macros.h: Likewise.
30949 * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
30950 * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
30951 * sysdeps/x86_64/tls-macros.h: Likewise.
30953 2012-07-17 Thomas Schwinge <thomas@codesourcery.com>
30955 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
30956 zero value for regular exit case.
30958 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
30959 (__start_context): Preserve zero value for regular exit case.
30961 2012-07-17 Thomas Schwinge <thomas@codesourcery.com>
30962 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
30964 * manual/setjmp.texi (setcontext): Clarify normal process
30965 termination when uc_link is the null pointer.
30966 * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
30969 2012-07-16 Andreas Schwab <schwab@linux-m68k.org>
30971 * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
30972 preprocessor. Test for each exception mask separately.
30974 2012-07-16 Andreas Jaeger <aj@suse.de>
30976 * po/ru.po: Update from translation team.
30978 2012-07-15 Joseph Myers <joseph@codesourcery.com>
30980 * conform/data/string.h-data (NULL): Use macro-constant. Require
30982 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
30983 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
30984 (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
30985 (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
30986 [ISO || ISO99 || ISO11] (*_t): Do not allow.
30988 2012-07-13 Andreas Jaeger <aj@suse.de>
30990 * po/fr.po: Update from translation team.
30992 2012-07-12 Marek Polacek <polacek@redhat.com>
30995 * math/libm-test.inc (yn_test): Add test for BZ #14173.
30996 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
30999 2012-07-12 Joseph Myers <joseph@codesourcery.com>
31002 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
31003 Change to 2.4.1 where previously 2.4.0.
31004 * sysdeps/unix/sysv/linux/configure: Regenerated.
31005 * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
31006 (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
31008 [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
31009 (__ASSUME_AT_CLKTCK): Remove.
31010 (__ASSUME_AT_PAGESIZE): Likewise.
31011 (__ASSUME_AT_XID): Likewise.
31012 (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
31013 [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
31014 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
31016 (HAVE_AUX_PAGESIZE): Likewise.
31017 * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
31018 [__ASSUME_AT_CLKTCK]: Make code unconditional.
31019 [!__ASSUME_AT_CLKTCK]: Remove conditional code.
31021 2012-07-12 Jeroen van Bemmel <jvb127@gmail.com>
31024 * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
31025 the temporary buffer used to invoke __gethostbyname2_r,
31026 __gethostbyaddr_r and gethostbyname4_r to make room for struct
31027 host_data / struct gaih_addrtuple.
31028 * resolv/nss_dns/dns-host.c (global scope): Move definition of
31029 implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
31030 header file nss/nsswitch.h.
31031 * nss/nsswitch.h (global scope): Add definition of implementation
31032 constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
31033 resolv/nss_dns/dns-host.c).
31035 2012-07-11 Andreas Jaeger <aj@suse.de>
31037 * po/fr.po: Update from translation team.
31039 * po/sv.po: Update from translation team
31040 * po/fr.po: Another update from translation team.
31042 2012-07-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31044 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
31045 for subnormals or multiply small sinh result by itself.
31046 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
31047 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
31049 2012-07-11 David S. Miller <davem@davemloft.net>
31051 * sysdeps/sparc/fpu/libm-test-ulps: Update.
31053 2012-07-10 Andreas Schwab <schwab@linux-m68k.org>
31056 * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
31057 (INTERNAL_MARK): Shift it here.
31059 2012-07-10 Marek Polacek <polacek@redhat.com>
31062 * configure.in (libc_cv_asm_global_directive): Remove test. Replace
31063 libc_cv_asm_global_directive with .globl.
31064 * configure: Regenerated.
31065 * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
31067 * sysdeps/i386/configure: Regenerated.
31068 * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
31070 * sysdeps/x86_64/configure: Regenerated.
31071 * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
31072 * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
31073 * elf/tst-unique2mod2.c: Likewise.
31074 * elf/tst-unique2mod1.c: Likewise.
31075 * elf/tst-unique1mod2.c: Likewise.
31076 * elf/tst-unique1mod1.c: Likewise.
31077 * sysdeps/s390/s390-32/sysdep.h: Likewise.
31078 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
31079 * sysdeps/s390/s390-64/sysdep.h: Likewise.
31080 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
31081 * sysdeps/mach/sysdep.h: Likewise.
31082 * sysdeps/i386/sysdep.h: Likewise.
31083 * sysdeps/i386/i386-mcount.S: Likewise.
31084 * sysdeps/x86_64/_mcount.S: Likewise.
31085 * sysdeps/x86_64/sysdep.h: Likewise.
31086 * sysdeps/sh/_mcount.S: Likewise.
31087 * sysdeps/sh/sysdep.h: Likewise.
31088 * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
31089 * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
31090 * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
31091 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
31092 * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
31093 * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
31094 * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
31095 * locale/localeinfo.h: Likewise.
31096 (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
31097 (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
31099 2012-07-09 Roland McGrath <roland@hack.frob.com>
31102 * manual/charset.texi (Extended Char Intro): Word use fix, "operating
31104 * manual/message.texi (The Uniforum approach): Likewise.
31105 * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
31106 (glibc iconv Implementation): Likewise.
31108 2012-07-09 Joseph Myers <joseph@codesourcery.com>
31111 * math/s_clog.c (__clog): Avoid scaling a value down where that
31112 could result in underflow.
31113 * math/s_clog10.c (__clog10): Likewise.
31114 * math/s_clog10f.c (__clog10f): Likewise.
31115 * math/s_clog10l.c (__clog10l): Likewise.
31116 * math/s_clogf.c (__clogf): Likewise.
31117 * math/s_clogl.c (__clogl): Likewise.
31118 * math/libm-test.inc (clog_test): Add more tests.
31119 (clog10_test): Likewise.
31120 * sysdeps/i386/fpu/libm-test-ulps: Update.
31121 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31123 2012-07-06 Andreas Schwab <schwab@linux-m68k.org>
31126 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
31127 by 7 not 8 to examine high bit of fractional part.
31130 * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
31131 for call to __mcount_internal.
31132 * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
31133 (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
31134 * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
31136 2012-07-06 Joseph Myers <joseph@codesourcery.com>
31139 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
31140 approximation for values within 0x1p-13f of an odd multiple of
31142 * math/libm-test.inc (tan_test): Do not allow spurious underflow
31143 exception. Add more tests.
31144 * sysdeps/i386/fpu/libm-test-ulps: Update.
31147 * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
31148 inputs and return -1 for them. Do not check for +Inf in case not
31149 reachable for +Inf.
31150 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
31151 * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
31152 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
31153 and return -1 for them. Do not check for +Inf in case not
31154 reachable for +Inf.
31155 * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
31157 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
31158 and return -1 for them. Do not check for +Inf in case not
31159 reachable for +Inf.
31160 * math/libm-test.inc (expm1_test): Add more tests. Do not allow
31161 spurious underflow.
31162 * sysdeps/i386/fpu/libm-test-ulps: Update.
31163 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31165 2012-07-06 Mike Frysinger <vapier@gentoo.org>
31167 * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
31169 2012-07-05 Joseph Myers <joseph@codesourcery.com>
31173 * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
31174 could result in spurious underflow. Scale down values above
31175 DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
31176 * math/s_csqrtf.c (__csqrtf): Likewise.
31177 * math/s_csqrtl.c (__csqrtl): Likewise.
31178 * math/libm-test.inc (csqrt_test): Add more tests. Do not allow
31179 spurious underflow.
31180 * sysdeps/i386/fpu/libm-test-ulps: Update.
31181 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31183 2012-07-04 Andreas Schwab <schwab@linux-m68k.org>
31185 * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
31187 * catgets/xopen-msg.awk: New file.
31188 * catgets/xopen-msg.sed: Removed.
31190 * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
31192 * intl/po2test.awk: New file.
31193 * intl/po2test.sed: Removed.
31195 2012-07-04 Joseph Myers <joseph@codesourcery.com>
31198 * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
31199 or multiply small sinh result by itself.
31200 * math/s_ctanf.c (__ctanf): Likewise.
31201 * math/s_ctanh.c (__ctanh): Likewise.
31202 * math/s_ctanhf.c (__ctanhf): Likewise.
31203 * math/s_ctanhl.c (__ctanhl): Likewise.
31204 * math/s_ctanl.c (__ctanl): Likewise.
31205 * math/libm-test.inc (ctan_test_tonearest): New function.
31206 (ctan_test_towardzero): Likewise.
31207 (ctan_test_downward): Likewise.
31208 (ctan_test_upward): Likewise.
31209 (ctanh_test_tonearest): Likewise.
31210 (ctanh_test_towardzero): Likewise.
31211 (ctanh_test_downward): Likewise.
31212 (ctanh_test_upward): Likewise.
31213 (main): Call these new functions.
31214 * sysdeps/i386/fpu/libm-test-ulps: Update.
31215 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31217 2012-07-03 Mike Frysinger <vapier@gentoo.org>
31219 * .gitignore: Delete /ports entry.
31221 2012-07-03 Andreas Jaeger <aj@suse.de>
31223 * po/bg.po: Update from translation team.
31224 * po/cs.po: Likewise.
31225 * po/de.po: Likewise.
31226 * po/hr.po: Likewise.
31227 * po/nl.pl: Likewise.
31228 * po/pl.po: Likewise.
31229 * po/vi.po: Likewise.
31231 2012-07-03 Joseph Myers <joseph@codesourcery.com>
31233 * Makeconfig [!+link] (+link-before-libc): New variable.
31234 [!+link] (+link-after-libc): Likewise.
31235 [!+link] (+link-tests): Likewise.
31236 [!+link] (+link): Define in terms of $(+link-before-libc) and
31237 $(+link-after-libc).
31238 [!+link-static] (+link-static-before-libc): New variable.
31239 [!+link-static] (+link-static-after-libc): Likewise.
31240 [!+link-static] (+link-static-tests): Likewise.
31241 [!+link-static] (+link-static): Define in terms of
31242 $(+link-static-before-libc) and $(+link-static-after-libc).
31243 [build-shared] (link-libc-before-gnulib): New variable.
31244 [build-shared] (link-libc-tests): Likewise.
31245 [build-shared] (link-libc): Define in terms of
31246 $(link-libc-before-gnulib).
31247 [!build-shared] (link-libc-tests): New variable.
31248 (link-libc-static-tests): New variable.
31249 [!gnulib] (gnulib-arch): New variable.
31250 [!gnulib] (gnulib-tests): Likewise.
31251 [!gnulib] (static-gnulib-arch): Likewise.
31252 [!gnulib] (static-gnulib-tests): Likewise.
31253 [!gnulib] (gnulib): Use $(gnulib-arch). Do not use $(libgcc_eh).
31254 Define with "=" instead of ":=".
31255 [!gnulib] (static-gnulib): Use $(static-gnulib-arch). Do not use
31256 -lgcc_eh $(libunwind). Define with "=" instead of ":=".
31257 * Rules (binaries-all-notests): New variable.
31258 (binaries-all-tests): Likewise.
31259 (binaries-static-notests): Likewise.
31260 (binaries-static-tests): Likewise.
31261 (binaries-all): Define using $(binaries-all-notests) and
31262 $(binaries-all-tests).
31263 (binaries-static): Define using $(binaries-static-notests) and
31264 $(binaries-static-tests).
31265 (binaries-shared-tests): New variable.
31266 (binaries-shared-notests): Likewise.
31267 (binaries-shared): Remove variable.
31268 ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
31269 ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
31270 ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
31271 ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
31272 ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
31273 ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
31274 * elf/Makefile (sln-modules): New variable.
31275 (extra-objs): Add $(sln-modules:=.o).
31276 (ldconfig-modules): Add static-stubs.
31277 ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
31278 * elf/static-stubs.c: New file.
31281 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
31282 by 7 not 8 to examine high bit of fractional part. Use volatile
31283 variables when splitting into final array of floats if
31284 __FLT_EVAL_METHOD__ != 0.
31285 * math/libm-test.inc (cos_test): Add another test.
31286 (sin_test): Likewise.
31287 * sysdeps/i386/fpu/libm-test-ulps: Update.
31290 * math/libm-test.inc (cosh_test): Add more tests.
31292 * version.h (RELEASE): Set to "development".
31293 (VERSION): Set to "2.16.90".
31295 2012-06-30 Carlos O'Donell <carlos_odonell@mentor.com>
31297 * NEWS: Update copyright. Remove last-updated date.
31298 Mention math library bug fixes and timezone data changes.
31299 * README: Mention GNU/Hurd, x32, and HPPA support status.
31301 2012-06-28 Thomas Schwinge <thomas@codesourcery.com>
31303 * manual/contrib.texi (Contributors): Sort alphabetically by last name.
31305 2012-06-27 Andreas Jaeger <aj@suse.de>
31307 * manual/contrib.texi (Contributors): Add Samuel Thibault.
31309 2012-06-25 Andreas Jaeger <aj@suse.de>
31311 * sysdeps/s390/fpu/libm-test-ulps: Update.
31313 2012-06-23 Andreas Schwab <schwab@linux-m68k.org>
31314 Thomas Schwinge <thomas@codesourcery.com>
31316 * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
31317 * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
31318 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
31321 2012-06-23 Thomas Schwinge <thomas@codesourcery.com>
31323 * sysdeps/mach/start.c: Remove file.
31324 * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
31325 * sysdeps/i386/init-first.c: Fix comment regarding start.S.
31326 * sysdeps/sh/init-first.c: Likewise.
31328 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
31329 registers for frame unwinding purposes, add CFI directives.
31330 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
31331 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
31332 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
31335 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
31336 __fortify_fail returning.
31337 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
31339 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
31340 sysdeps/sh/____longjmp_chk.S.
31341 * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
31342 on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
31343 * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
31344 (gen-as-const-headers): Append sigaltstack-offsets.sym.
31346 * sysdeps/sh/abort-instr.h: New file.
31347 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
31348 process in case exit returns.
31350 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
31351 initialize the GOT register before use.
31353 * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
31354 calculation of ARGC > 4.
31356 * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
31357 meaningful names to some local labels.
31359 2012-06-22 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
31360 Kaz Kojima <kkojima@rr.iij4u.or.jp>
31362 * sysdeps/unix/sysv/linux/sh/bits/atomic.h
31363 (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
31364 (__arch_compare_and_exchange_val_16_acq): Likewise.
31365 (__arch_compare_and_exchange_val_32_acq): Likewise.
31366 (atomic_exchange_and_add): Fix gUSA sequence.
31367 (atomic_add): Likewise.
31368 (atomic_add_negative): Likewise.
31369 (atomic_add_zero): Likewise.
31370 (atomic_bit_test_set): Likewise.
31372 2012-06-22 Andreas Schwab <schwab@redhat.com>
31375 * include/link.h (struct link_map): Add l_free_initfini.
31376 * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
31378 * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
31379 * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
31380 * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
31383 2012-06-22 Carlos O'Donell <carlos_odonell@mentor.com>
31385 * configure.in: Use AC_LANG_SOURCE.
31386 * configure: Regenerate.
31388 2012-06-22 Roland McGrath <roland@hack.frob.com>
31390 * configure.in (libc_cv_localstatedir): New substituted variable.
31391 * configure: Regenerated.
31392 * config.make.in (localstatedir): New variable, substituted from
31393 libc_cv_localstatedir.
31394 * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
31395 * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
31396 ${prefix}/var to /var when we change ${prefix}/etc to /etc.
31397 * sysdeps/gnu/configure: Regenerated.
31399 2012-06-21 Jeff Law <law@redhat.com>
31402 * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
31403 free. Simplify list management for _LIBC case.
31405 2012-06-21 Joseph Myers <joseph@codesourcery.com>
31408 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
31409 Clear sign bit of 64-bit integer value before comparing against
31412 * sysdeps/mach/configure: Regenerated.
31414 2012-06-21 H.J. Lu <hongjiu.lu@intel.com>
31417 * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
31419 2012-06-21 Jeff Law <law@redhat.com>
31422 * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection. Use
31423 uint16_t for elements in the "seen" array to avoid char overflows.
31424 * elf/dl-fini.c (_dl_sort_fini): Likewise.
31425 * elf/dl-open.c (dl_open_worker): Likewise.
31427 2012-06-21 Carlos O'Donell <carlos_odonell@mentor.com>
31429 * scripts/list-sources.sh: Scan PORTS for translations.
31430 * po/libc.pot: Regenerated.
31432 2012-06-21 Andreas Jaeger <aj@suse.de>
31435 * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
31437 * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
31438 * bits/byteswap-16.h (__bswap_16): Likewise.
31439 * bits/byteswap.h (__bswap_constant_16): Likewise.
31441 2012-06-18 H.J. Lu <hongjiu.lu@intel.com>
31444 * sysdeps/i386/fpu_control.h: Removed.
31445 * sysdeps/x86_64/fpu_control.h: Moved to ...
31446 * sysdeps/x86/fpu_control.h: Here.
31448 * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
31449 (_FPU_SETCW): Likewise.
31451 2012-06-15 H.J. Lu <hongjiu.lu@intel.com>
31454 * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
31455 * sysdeps/x86/fpu/bits/mathinline.h: This.
31456 * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
31460 * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
31461 functions if __x86_64__ is defined.
31463 2012-06-15 Chung-Lin Tang <cltang@codesourcery.com>
31465 * string/endian.h: Add !__ASSEMBLER__ condition for including
31466 conversion interfaces.
31468 2012-06-15 Joseph Myers <joseph@codesourcery.com>
31471 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
31472 of ABS(x) in calculating zero to negative powers other than odd
31474 * math/libm-test.inc (pow_test): Add more tests.
31476 2012-06-15 Andreas Jaeger <aj@suse.de>
31478 * manual/contrib.texi (Contributors): Update entry of Liubov
31479 Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
31482 2012-06-15 Cyril Hrubis <metan@ucw.cz>
31484 * string/string.h: Add __wur to GNU version of strerror_r.
31486 2012-06-14 H.J. Lu <hongjiu.lu@intel.com>
31489 * string/Makefile (tests): Add tst-strtok_r.
31490 * string/tst-strtok_r.c: New file.
31491 * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
31492 RAX_LP/RDX_LP on SAVE_PTR.
31494 2012-06-14 Roland McGrath <roland@hack.frob.com>
31496 * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
31498 2012-06-14 Joseph Myers <joseph@codesourcery.com>
31500 * libm_test.inc (csqrt_test): Allow more spurious underflow
31502 (j0_test): Likewise.
31503 (j1_test): Likewise.
31504 (y0_test): Likewise.
31505 (y1_test): Likewise.
31507 2012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
31509 * po/Makefile (libc.pot): Use UTF-8 charset.
31511 2012-06-13 Paul Pluzhnikov <ppluzhnikov@google.com>
31514 Suppress sign-conversion warning from FD_SET.
31515 See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
31516 * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
31517 not unsigned long int.
31518 * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
31520 2012-06-12 H.J. Lu <hongjiu.lu@intel.com>
31524 * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
31525 __extern_always_inline instead of __extern_inline.
31526 (__signbitf): Support __SSE2_MATH__ and C++ namespace.
31527 (__signbit): Likewise.
31528 (__signbitl): Support C++ namespace.
31529 (lrintf): New inline function.
31531 (llrintf): Likewise.
31532 (llrint): Likewise.
31542 (floorf): Likewise.
31543 (nearbyint): Likewise.
31544 (nearbyintf): Likewise.
31546 2012-06-12 Thomas Schwinge <thomas@codesourcery.com>
31548 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
31549 non-default versions.
31551 2012-06-11 Roland McGrath <roland@hack.frob.com>
31554 * manual/argp.texi (Argp): Reword argp_parse description slightly.
31556 2012-06-09 Thomas Schwinge <thomas@codesourcery.com>
31558 * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
31559 (FE_UPWARD, FE_DOWNWARD): Don't define.
31560 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
31561 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
31563 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
31565 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
31566 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
31568 2012-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
31570 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
31571 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
31572 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
31573 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
31575 2012-06-06 H.J. Lu <hongjiu.lu@intel.com>
31578 * sysdeps/i386/fpu/bits/fenv.h: Removed.
31579 * sysdeps/i386/fpu/Implies: New file.
31580 * sysdeps/x86_64/fpu/Implies: Likewise.
31581 * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
31582 * sysdeps/x86/fpu/bits/fenv.h: This.
31584 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
31587 2012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
31590 * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
31591 character 0xffff that matches the last element of the
31594 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31596 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
31599 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31601 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
31602 values higher than 25.6283.
31604 2012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31606 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
31607 subnormal exponent extraction and add some __builtin_expect.
31608 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
31609 Fix for subnormal mantissa calculation.
31611 2012-06-04 Mike Frysinger <vapier@gentoo.org>
31613 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
31614 cpu2 is -1 and errno is not ENOSYS.
31616 2012-06-04 H.J. Lu <hongjiu.lu@intel.com>
31619 * sysdeps/i386/i486/bits/string.h: Renamed to ...
31620 * sysdeps/x86/bits/string.h: This.
31621 * sysdeps/x86_64/bits/string.h: Removed.
31623 * sysdeps/i386/i486/bits/string.h: Define inline functions only
31624 if not compiling for x86-64, but compiling for >= i486.
31626 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
31627 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
31629 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
31630 New macro from Linux kernel 3.4.0.
31631 (FP_XSTATE_MAGIC2): Likewise.
31632 (FP_XSTATE_MAGIC2_SIZE): Likewise.
31633 (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
31634 (struct _fpx_sw_bytes): New struct.
31635 (struct _xsave_hdr): Likewise.
31636 (struct _ymmh_state): Likewise.
31637 (struct _xstate): Likewise.
31639 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
31640 * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
31641 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
31642 * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
31643 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
31644 * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
31646 * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
31647 * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
31648 * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
31649 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
31650 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
31651 * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
31653 2012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
31656 * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
31657 * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
31658 (sysdep_headers): Include sys/platform/ppc.h.
31659 * sysdeps/powerpc/test-gettimebase.c: Test for
31660 __ppc_get_timebase() to catch future ISA opcode/insn changes.
31661 * manual/Makefile (appendices): Include platform.texi.
31662 * manual/contrib.texi (Contributors): Update @node pointers.
31663 * manual/maint.texi (Maintenance): Likewise.
31664 (Platform): New node.
31665 * manual/platform.texi: New file. Document the new features.
31667 2012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
31668 Jakub Jelinek <jakub@redhat.com>
31671 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
31672 where __builtin_expect is unavailable.
31674 2012-06-03 David S. Miller <davem@davemloft.net>
31676 * stdlib/longlong.h: Updated from GCC.
31678 2012-06-02 Andreas Schwab <schwab@linux-m68k.org>
31681 * sysdeps/powerpc/powerpc32/mcount.c: New file.
31682 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
31684 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
31685 (GLIBC_2.16): Likewise.
31687 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
31689 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
31691 2012-06-01 Joseph Myers <joseph@codesourcery.com>
31693 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
31694 (default-abi): New variable.
31695 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
31696 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
31698 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
31700 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
31702 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
31705 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
31706 definition. Document in comment.
31708 2012-06-01 David S. Miller <davem@davemloft.net>
31710 * stdlib/longlong.h: Updated from GCC.
31712 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
31715 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
31716 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
31717 sys/debugreg.h sys/io.h here.
31718 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
31719 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
31721 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
31722 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
31723 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
31724 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
31725 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
31726 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
31728 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
31729 Define only if __x86_64__ is defined.
31731 2012-06-01 Joseph Myers <joseph@codesourcery.com>
31734 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
31735 Use int64_t for variable i.
31736 * math/libm-test.inc (fmod_test): Add more tests.
31738 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
31739 z computation is not scheduled after fetestexcept.
31740 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
31741 Use math_force_eval instead of asm to ensure calculation scheduled
31742 before exception test.
31743 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
31744 Ensure a1 + u.d computation is not scheduled after fetestexcept.
31746 2012-06-01 Aurelien Jarno <aurelien@aurel32.net>
31748 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
31749 computation is not scheduled after fetestexcept.
31751 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
31754 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
31755 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
31757 2012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31759 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
31760 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
31762 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
31765 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
31767 (__WCHAR_MIN): Support __WORDSIZE == 64.
31768 (__WCHAR_MAX): Likewise.
31770 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
31771 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
31774 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
31775 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
31778 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
31779 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
31781 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
31782 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
31784 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
31785 Defined to 1 if __x86_64__ isn't defined.
31786 (_STAT_VER_LINUX_OLD): New.
31787 (st_atime): Remove duplicate.
31788 (st_mtime): Likewise.
31789 (st_ctime): Likewise.
31791 2012-05-31 David S. Miller <davem@davemloft.net>
31793 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
31796 2012-06-01 Andreas Schwab <schwab@linux-m68k.org>
31798 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
31802 * elf/dl-reloc.c: Include <_itoa.h>.
31803 (_dl_reloc_bad_type): Remove use of INTUSE.
31804 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
31805 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
31806 * stdio-common/psiginfo.c (psiginfo): Likewise.
31807 * stdio-common/psignal.c (psignal): Likewise.
31808 * string/strsignal.c (strsignal): Likewise.
31809 * include/signal.h (_sys_siglist): Declare hidden proto.
31810 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
31811 INTVARDEF with libc_hidden_data_def.
31812 * stdio-common/itoa-udigits.c: Likewise.
31813 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
31814 (_itoa_lower_digits_internal): Remove declaration.
31815 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
31816 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
31817 (_sys_sigabbrev_internal): Remove aliases.
31818 (_sys_siglist): Define hidden alias.
31820 2012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
31822 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
31825 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
31828 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
31829 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
31831 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
31832 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
31833 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
31834 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
31835 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
31836 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
31838 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
31839 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
31840 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
31842 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
31850 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
31851 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
31852 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
31854 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
31855 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
31856 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
31857 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
31858 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
31859 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
31861 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
31862 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
31864 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
31865 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
31867 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
31868 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
31869 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
31871 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
31872 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
31874 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
31876 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
31877 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
31878 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
31880 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
31882 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
31884 2012-05-31 Joseph Myers <joseph@codesourcery.com>
31886 * math/math.h (M_El): Use two more decimal places.
31887 (M_LOG2El): Likewise.
31888 (M_LOG10El): Likewise.
31889 (M_LN2l): Likewise.
31890 (M_LN10l): Likewise.
31892 (M_PI_2l): Likewise.
31893 (M_PI_4l): Likewise.
31894 (M_1_PIl): Likewise.
31895 (M_2_PIl): Likewise.
31896 (M_2_SQRTPIl): Likewise.
31897 (M_SQRT2l): Likewise.
31898 (M_SQRT1_2l): Likewise.
31900 2012-05-31 David S. Miller <davem@davemloft.net>
31902 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
31903 values between float registers.
31904 * sysdeps/sparc/sparc64/memset.S: Likewise.
31905 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
31907 2012-05-31 Mike Frysinger <vapier@gentoo.org>
31909 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
31910 -D_FORTIFY_SOURCE=1.
31911 (CPPFLAGS-tst-longjmp_chk.c): Define.
31912 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
31913 (CPPFLAGS-tst-longjmp_chk2.c): Define.
31914 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
31915 CFLAGS-tst-wchar-h.c.
31917 2012-05-31 Marek Polacek <polacek@redhat.com>
31920 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
31921 __endmntent_internal): Remove declaration.
31922 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
31923 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
31924 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
31926 2012-05-30 David S. Miller <davem@davemloft.net>
31928 * sysdeps/sparc/sparc32/soft-fp/q_util.c
31929 (___Q_simulate_exceptions): Use real FP ops rather than writing
31931 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
31934 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
31937 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
31938 * sysdeps/x86/bits/xtitypes.h: This.
31940 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
31941 * sysdeps/x86/bits/wordsize.h: This.
31943 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
31944 * sysdeps/x86/bits/huge_vall.h: This.
31946 * sysdeps/i386/bits/select.h: Removed.
31947 * sysdeps/x86_64/bits/select.h: Renamed to ...
31948 * sysdeps/x86/bits/select.h: This.
31950 * sysdeps/i386/bits/setjmp.h: Removed.
31951 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
31952 * sysdeps/x86/bits/setjmp.h: This.
31954 * sysdeps/i386/bits/mathdef.h: Removed.
31955 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
31956 * sysdeps/x86/bits/mathdef.h: This.
31958 2012-05-30 Andreas Schwab <schwab@linux-m68k.org>
31961 * include/sys/socket.h (__connect_internal)
31962 (__libc_sa_len_internal): Remove declaration.
31963 (__connect, __libc_sa_len): Declare hidden_proto.
31964 (SA_LEN): Remove use of INTUSE.
31965 * socket/connect.c: Add libc_hidden_def.
31966 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
31967 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
31968 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
31970 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
31971 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
31972 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
31973 of adding _internal alias.
31975 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
31978 * sysdeps/i386/bits/link.h: Removed.
31979 * sysdeps/i386/bits/linkmap.h: Likewise.
31980 * sysdeps/x86_64/bits/link.h: Renamed to ...
31981 * sysdeps/x86/bits/link.h: This.
31982 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
31983 * sysdeps/x86/bits/linkmap.h: This.
31985 * sysdeps/i386/bits/endian.h: Removed.
31986 * sysdeps/x86_64/bits/endian.h: Renamed to ...
31987 * sysdeps/x86/bits/endian.h: This.
31989 * sysdeps/i386/bits/byteswap.h: Removed.
31990 * sysdeps/i386/bits/byteswap-16.h: Likewise.
31991 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
31992 * sysdeps/x86/bits/byteswap.h: This.
31993 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
31994 * sysdeps/x86/bits/byteswap-16.h: This.
31995 * sysdeps/i386/Implies: Add x86.
31996 * sysdeps/x86_64/Implies: Likewise.
31998 2012-05-30 David S. Miller <davem@davemloft.net>
32000 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
32001 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
32002 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
32003 (FP_TRAPPING_EXCEPTIONS): Define.
32004 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
32005 (FP_TRAPPING_EXCEPTIONS): Define.
32006 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
32007 subnormals only when inexact has been signalled or underflow
32008 exceptions are enabled.
32009 (_FP_PACK_CANONICAL): Likewise.
32011 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
32014 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
32015 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
32017 2012-05-30 Richard Henderson <rth@twiddle.net>
32019 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
32020 with #ifndef NOT_IN_libc.
32022 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
32023 marked to avoid plt entry.
32025 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
32028 * Makeconfig (default-abi): New macro.
32029 (abi-includes): Likewise.
32030 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
32031 $(abi-$(default-abi)-lib-soname) for soname if defined.
32032 ($(common-objpfx)gnu/lib-names.stmp): Generate from
32034 * Makefile (installed-stubs): Likewise.
32035 * include/stubs-biarch.h: Removed.
32036 * scripts/lib-names.awk: Only handle one library at a time.
32037 * scripts/soversions.awk: Remove WORDSIZE support.
32038 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
32040 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
32042 (syscall-list-default-condition): Likewise.
32043 (syscall-list-default-condition): Likewise.
32044 (syscall-list-includes): Likewise.
32045 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
32046 syscall-list-* with abi-*. Handle undefined abi-variants.
32047 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
32048 * sysdeps/unix/sysv/linux/i386/Implies: New file.
32049 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
32050 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
32051 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
32052 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
32054 (syscall-list-32-options): Likewise.
32055 (syscall-list-32-condition): Likewise.
32056 (syscall-list-64-options): Likewise.
32057 (syscall-list-64-condition): Likewise.
32058 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
32060 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
32063 (abi-64-ld-soname): New macro.
32064 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
32065 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
32068 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
32069 * sysdeps/x86_64/x32/shlib-versions: Likewise.
32071 2012-05-30 Joseph Myers <joseph@codesourcery.com>
32073 * sysdeps/unix/sysv/linux/kernel-features.h
32074 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
32075 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
32076 include <kernel-features.h>.
32077 [!__NR_ftruncate64]: Remove conditional code.
32078 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
32079 [__NR_ftruncate64]: Make code unconditional.
32080 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
32081 * sysdeps/unix/sysv/linux/truncate64.c: Do not
32082 include <kernel-features.h>.
32083 [!__NR_ftruncate64]: Remove conditional code.
32084 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
32085 [__NR_ftruncate64]: Make code unconditional.
32086 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
32087 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
32088 include <kernel-features.h>.
32089 [!__NR_ftruncate64]: Remove conditional code.
32090 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
32091 [__NR_ftruncate64]: Make code unconditional.
32092 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
32093 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
32094 include <kernel-features.h>.
32095 [!__NR_ftruncate64]: Remove conditional code.
32096 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
32097 [__NR_ftruncate64]: Make code unconditional.
32098 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
32100 * configure.in (libc_cv_fpie): Weaken to a compile test using
32101 LIBC_TRY_CC_OPTION.
32102 * configure: Regenerated.
32104 2012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
32106 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
32107 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
32108 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
32109 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
32111 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
32112 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
32113 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
32114 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
32115 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
32116 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
32119 2012-05-27 David S. Miller <davem@davemloft.net>
32121 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
32123 (__Q_simulate_exceptions): Return void. Change to simulate
32124 exceptions by writing into the %fsr.
32125 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
32126 (__Qp_handle_exceptions): Likewise.
32128 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
32129 __Qp_handle_exceptions.
32130 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
32131 __Qp_handle_exceptions.
32132 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
32133 as unused and give dummy FP_RND_NEAREST initializer.
32134 (FP_INHIBIT_RESULTS): Define.
32135 (___Q_simulate_exceptions): Update declaration.
32136 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
32138 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
32139 as unused and give dummy FP_RND_NEAREST initializer.
32140 (__Qp_handle_exceptions): Update declaration.
32141 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
32144 2012-05-27 Thomas Schwinge <thomas@codesourcery.com>
32146 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
32147 the temporary FPU control word.
32148 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
32149 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
32150 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
32151 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
32152 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
32153 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
32154 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
32155 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
32156 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
32157 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
32158 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
32160 2012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
32162 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
32165 2012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
32167 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
32168 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
32169 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
32170 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
32172 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
32173 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
32176 2012-05-27 Ulrich Drepper <drepper@gmail.com>
32178 * po/h.po: Update from translation team.
32180 2012-05-26 Andreas Schwab <schwab@linux-m68k.org>
32182 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
32184 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
32185 handling of denormals.
32186 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
32187 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
32188 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
32189 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
32190 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
32191 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
32192 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
32195 2012-05-26 Marek Polacek <polacek@redhat.com>
32198 * math/libm-test.inc (fma_test): Don't always expect underflow
32201 2012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
32204 * elf/tst-execstack.c: Include stackinfo.h.
32205 (do_test): Adjust test case to ensure that pthread_getattr_np
32206 behaviour remains the same after marking stack executable.
32208 2012-05-25 Joseph Myers <joseph@codesourcery.com>
32210 * sysdeps/unix/sysv/linux/kernel-features.h
32211 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
32212 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
32214 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
32215 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
32216 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
32218 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
32219 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
32221 2012-05-25 H.J. Lu <hongjiu.lu@intel.com>
32223 * configure.in: Define the default includes to being none.
32224 * configure: Regenerated.
32226 2012-05-25 Roland McGrath <roland@hack.frob.com>
32228 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
32229 * sysdeps/x86_64/setjmp.S: Likewise.
32230 * sysdeps/i386/bsd-setjmp.S: Likewise.
32231 * sysdeps/i386/bsd-_setjmp.S: Likewise.
32232 * sysdeps/i386/setjmp.S: Likewise.
32233 * sysdeps/i386/__longjmp.S: Likewise.
32234 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
32235 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
32237 * include/stap-probe.h: New file.
32238 * configure.in: Handle --enable-systemtap.
32239 * configure: Regenerated.
32240 * config.h.in (USE_STAP_PROBE): New #undef.
32241 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
32242 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
32243 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
32245 2012-05-25 Joseph Myers <joseph@codesourcery.com>
32248 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
32249 to 2.4.0 where earlier.
32250 * sysdeps/unix/sysv/linux/configure: Regenerated.
32251 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
32252 <kernel-features.h>.
32253 [__ASSUME_32BITUIDS]: Make code unconditional.
32254 [!__ASSUME_32BITUIDS]: Remove conditional code.
32255 * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
32256 <kernel-features.h>.
32257 [__ASSUME_32BITUIDS]: Make code unconditional.
32258 [!__ASSUME_32BITUIDS]: Remove conditional code.
32259 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
32260 [__ASSUME_32BITUIDS]: Make code unconditional.
32261 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
32262 * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
32263 <kernel-features.h>.
32264 [__ASSUME_32BITUIDS]: Make code unconditional.
32265 [!__ASSUME_32BITUIDS]: Remove conditional code.
32266 * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
32267 <kernel-features.h>.
32268 [__ASSUME_32BITUIDS]: Make code unconditional.
32269 [!__ASSUME_32BITUIDS]: Remove conditional code.
32270 * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
32271 <kernel-features.h>.
32272 [__ASSUME_32BITUIDS]: Make code unconditional.
32273 [!__ASSUME_32BITUIDS]: Remove conditional code.
32274 * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
32275 <kernel-features.h>.
32276 [__ASSUME_32BITUIDS]: Make code unconditional.
32277 [!__ASSUME_32BITUIDS]: Remove conditional code.
32278 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
32279 <kernel-features.h>.
32280 [__ASSUME_32BITUIDS]: Make code unconditional.
32281 [!__ASSUME_32BITUIDS]: Remove conditional code.
32282 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
32283 <kernel-features.h>.
32284 [__ASSUME_32BITUIDS]: Make code unconditional.
32285 [!__ASSUME_32BITUIDS]: Remove conditional code.
32286 * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
32287 <kernel-features.h>.
32288 [__ASSUME_32BITUIDS]: Make code unconditional.
32289 [!__ASSUME_32BITUIDS]: Remove conditional code.
32290 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
32291 <kernel-features.h>.
32292 [__ASSUME_32BITUIDS]: Make code unconditional.
32293 [!__ASSUME_32BITUIDS]: Remove conditional code.
32294 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
32295 <kernel-features.h>.
32296 [__ASSUME_32BITUIDS]: Make code unconditional.
32297 [!__ASSUME_32BITUIDS]: Remove conditional code.
32298 * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
32299 <kernel-features.h>.
32300 [__ASSUME_32BITUIDS]: Make code unconditional.
32301 [!__ASSUME_32BITUIDS]: Remove conditional code.
32302 * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
32303 <kernel-features.h>.
32304 [__NR_setresgid] (__setresgid): Do not declare.
32305 [__ASSUME_32BITUIDS]: Make code unconditional.
32306 [!__ASSUME_32BITUIDS]: Remove conditional code.
32307 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
32308 <kernel-features.h>.
32309 [__NR_setresuid] (__setresuid): Do not declare.
32310 [__ASSUME_32BITUIDS]: Make code unconditional.
32311 [!__ASSUME_32BITUIDS]: Remove conditional code.
32312 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
32313 <kernel-features.h>.
32314 [__ASSUME_32BITUIDS]: Make code unconditional.
32315 [!__ASSUME_32BITUIDS]: Remove conditional code.
32316 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
32317 <kernel-features.h>.
32318 [__ASSUME_32BITUIDS]: Make code unconditional.
32319 [!__ASSUME_32BITUIDS]: Remove conditional code.
32320 * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
32321 <kernel-features.h>.
32322 [__ASSUME_32BITUIDS]: Make code unconditional.
32323 [!__ASSUME_32BITUIDS]: Remove conditional code.
32324 * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
32325 <kernel-features.h>.
32326 [__ASSUME_32BITUIDS]: Make code unconditional.
32327 [!__ASSUME_32BITUIDS]: Remove conditional code.
32328 * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
32329 <kernel-features.h>.
32330 [__ASSUME_32BITUIDS]: Make code unconditional.
32331 [!__ASSUME_32BITUIDS]: Remove conditional code.
32332 * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
32333 <kernel-features.h>.
32334 [__ASSUME_32BITUIDS]: Make code unconditional.
32335 [!__ASSUME_32BITUIDS]: Remove conditional code.
32336 * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
32337 <kernel-features.h>.
32338 [__ASSUME_32BITUIDS]: Make code unconditional.
32339 [!__ASSUME_32BITUIDS]: Remove conditional code.
32340 * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
32341 <kernel-features.h>.
32342 [__ASSUME_32BITUIDS]: Make code unconditional.
32343 [!__ASSUME_32BITUIDS]: Remove conditional code.
32344 * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
32345 <kernel-features.h>.
32346 [__ASSUME_32BITUIDS]: Make code unconditional.
32347 [!__ASSUME_32BITUIDS]: Remove conditional code.
32348 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
32349 <kernel-features.h>.
32350 [__ASSUME_32BITUIDS]: Make code unconditional.
32351 [!__ASSUME_32BITUIDS]: Remove conditional code.
32352 * sysdeps/unix/sysv/linux/kernel-features.h
32353 (__ASSUME_SETRESUID_SYSCALL): Remove.
32354 (__ASSUME_SETRESGID_SYSCALL): Likewise.
32355 (__ASSUME_32BITUIDS): Likewise.
32356 (__ASSUME_LDT_WORKS): Likewise.
32357 (__ASSUME_O_DIRECTORY): Likewise.
32358 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
32359 architecture but not kernel version.
32360 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
32361 (__ASSUME_MMAP2_SYSCALL): Likewise.
32362 (__ASSUME_STAT64_SYSCALL): Likewise.
32363 (__ASSUME_IPC64): Likewise.
32364 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
32365 <kernel-features.h>.
32366 [__ASSUME_32BITUIDS]: Make code unconditional.
32367 [!__ASSUME_32BITUIDS]: Remove conditional code.
32368 * sysdeps/unix/sysv/linux/opendir.c: Do not include
32369 <kernel-features.h>.
32370 [__ASSUME_O_DIRECTORY]: Make code unconditional.
32371 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
32372 132096]: Remove conditional code.
32373 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
32374 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
32375 <kernel-features.h>.
32376 [__ASSUME_32BITUIDS]: Make code unconditional.
32377 [!__ASSUME_32BITUIDS]: Remove conditional code.
32378 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
32379 <kernel-features.h>.
32380 [__ASSUME_32BITUIDS]: Make code unconditional.
32381 [!__ASSUME_32BITUIDS]: Remove conditional code.
32382 * sysdeps/unix/sysv/linux/setegid.c: Do not include
32383 <kernel-features.h>.
32384 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
32386 (__setresgid): Do not declare.
32387 [__ASSUME_32BITUIDS]: Make code unconditional.
32388 [!__ASSUME_32BITUIDS]: Remove conditional code.
32389 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
32390 <kernel-features.h>.
32391 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
32393 (__setresuid): Do not declare.
32394 [__ASSUME_32BITUIDS]: Make code unconditional.
32395 [!__ASSUME_32BITUIDS]: Remove conditional code.
32396 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
32397 <kernel-features.h>.
32398 [__ASSUME_32BITUIDS]: Make code unconditional.
32399 [!__ASSUME_32BITUIDS]: Remove conditional code.
32400 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
32401 <kernel-features.h>.
32402 [__ASSUME_32BITUIDS]: Make code unconditional.
32403 [!__ASSUME_32BITUIDS]: Remove conditional code.
32405 2012-05-25 Richard Henderson <rth@twiddle.net>
32407 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
32408 dl_hwcap to ifunc resolver.
32409 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
32411 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
32412 dl_hwcap to ifunc resolver.
32413 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
32415 2012-05-24 Joseph Myers <joseph@codesourcery.com>
32418 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
32419 for |x| <= 2**-26, not 2**-57.
32420 * math/libm-test.inc (acos_test): Do not allow spurious underflow
32423 2012-05-24 Jeff Law <law@redhat.com>
32425 * stdio-common/Makefile (tests): Add bug25.
32426 * stdio-common/bug25.c: New test.
32428 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
32431 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
32432 multiple of MALLOC_ALIGNMENT in size.
32433 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
32435 2012-05-24 Joseph Myers <joseph@codesourcery.com>
32437 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
32439 (FILENAME_MAX): Use macro-int-constant.
32440 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
32441 (_IOFBF): Use macro-int-constant.
32442 (_IOLBF): Likewise.
32443 (_IONBF): Likewise.
32444 (SEEK_CUR): Likewise.
32445 (SEEK_END): Likewise.
32446 (SEEK_SET): Likewise.
32447 (TMP_MAX): Likewise.
32448 (EOF): Use macro-int-constant. Require < 0.
32449 (NULL): Use macro-constant. Require == 0.
32450 (stdin): Require type to be FILE *.
32451 (stdout): Likewise.
32452 (stderr): Likewise.
32453 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
32454 macro-int-constant.
32455 (EXIT_SUCCESS): Likewise.
32456 (NULL): Use macro-constant. Require == 0.
32457 (RAND_MAX): Use macro-int-constant.
32458 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
32459 [C99-based standards] (strtof): Require function.
32460 [C99-based standards] (strtold): Likewise.
32461 [C99-based standards] (strtoll): Likewise.
32462 [C99-based standards] (strtoull): Likewise.
32463 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
32464 [ISO || ISO99 || ISO11] (limits.h): Likewise.
32465 [ISO || ISO99 || ISO11] (math.h): Likewise.
32466 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
32467 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
32468 [ISO || ISO99 || ISO11] (*_t): Do not allow.
32470 2012-05-24 Andreas Schwab <schwab@linux-m68k.org>
32473 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
32474 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
32475 * intl/dgettext.c (DCGETTEXT): Likewise.
32476 * intl/gettext.c (DCGETTEXT): Likewise.
32477 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
32478 * posix/regex_internal.h (gettext): Likewise.
32479 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
32480 Remove declaration.
32481 * include/argz.h (__argz_count_internal)
32482 (__argz_stringify_internal): Remove declaration.
32483 (__argz_count, __argz_stringify): Declare hidden proto.
32484 * intl/dcgettext.c: Remove use of INTDEF.
32485 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
32486 * string/argz-stringify.c: Likewise.
32487 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
32488 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
32489 Declare hidden proto.
32490 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
32491 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
32492 Declare hidden proto.
32493 * include/stdio.h (__asprintf_internal): Don't declare.
32494 (__asprintf): Don't define as macro. Declare hidden proto.
32495 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
32496 (__fsetlocking): Declare hidden proto.
32497 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
32498 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
32500 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
32501 (_IO_setlinebuf): Remove use of INTUSE.
32502 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
32503 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
32504 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
32505 Remove declaration.
32506 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
32507 (_IO_do_flush): Remove use of INTUSE.
32508 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
32509 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
32510 (_IO_adjust_column, _IO_least_wmarker)
32511 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
32512 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
32513 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
32514 (_IO_default_doallocate, _IO_wdefault_doallocate)
32515 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
32516 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
32517 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
32518 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
32519 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
32520 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
32521 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
32522 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
32523 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
32524 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
32525 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
32526 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
32527 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
32529 (_IO_flush_all_internal, _IO_adjust_column_internal)
32530 (_IO_default_uflow_internal, _IO_default_finish_internal)
32531 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
32532 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
32533 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
32534 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
32535 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
32536 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
32537 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
32538 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
32539 (_IO_file_close_internal, _IO_file_close_it_internal)
32540 (_IO_file_underflow_internal, _IO_file_overflow_internal)
32541 (_IO_file_init_internal, _IO_file_attach_internal)
32542 (_IO_file_fopen_internal, _IO_file_read_internal)
32543 (_IO_file_sync_internal, _IO_file_seek_internal)
32544 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
32545 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
32546 (_IO_str_underflow_internal, _IO_str_overflow_internal)
32547 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
32548 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
32549 (_IO_list_all_internal, _IO_link_in_internal)
32550 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
32551 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
32552 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
32553 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
32554 (_IO_do_write_internal, _IO_padn_internal)
32555 (_IO_getline_info_internal, _IO_getline_internal)
32556 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
32557 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
32558 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
32559 (_IO_vfscanf_internal, _IO_vfprintf_internal)
32560 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
32561 (_IO_init_internal, _IO_un_link_internal): Don't declare.
32562 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
32563 with libc_hidden_ver, remove use of INTUSE.
32564 * libio/genops.c: Likewise.
32565 * libio/freopen.c: Likewise.
32566 * libio/freopen64.c: Likewise.
32567 * libio/iofclose.c: Likewise.
32568 * libio/iofdopen.c: Likewise.
32569 * libio/iofflush.c: Likewise.
32570 * libio/iofflush_u.c: Likewise.
32571 * libio/iofgets.c: Likewise.
32572 * libio/iofgets_u.c: Likewise.
32573 * libio/iofopen.c: Likewise.
32574 * libio/iofopncook.c: Likewise.
32575 * libio/iofread.c: Likewise.
32576 * libio/iofread_u.c: Likewise.
32577 * libio/ioftell.c: Likewise.
32578 * libio/iofwrite.c: Likewise.
32579 * libio/iogetline.c: Likewise.
32580 * libio/iogets.c: Likewise.
32581 * libio/iogetwline.c: Likewise.
32582 * libio/iopadn.c: Likewise.
32583 * libio/iopopen.c: Likewise.
32584 * libio/ioseekoff.c: Likewise.
32585 * libio/ioseekpos.c: Likewise.
32586 * libio/iosetbuffer.c: Likewise.
32587 * libio/iosetvbuf.c: Likewise.
32588 * libio/ioungetc.c: Likewise.
32589 * libio/ioungetwc.c: Likewise.
32590 * libio/iovdprintf.c: Likewise.
32591 * libio/iovsprintf.c: Likewise.
32592 * libio/iovsscanf.c: Likewise.
32593 * libio/memstream.c: Likewise.
32594 * libio/obprintf.c: Likewise.
32595 * libio/oldfileops.c: Likewise.
32596 * libio/oldiofclose.c: Likewise.
32597 * libio/oldiofdopen.c: Likewise.
32598 * libio/oldiofopen.c: Likewise.
32599 * libio/oldiopopen.c: Likewise.
32600 * libio/oldstdfiles.c: Likewise.
32601 * libio/putc.c: Likewise.
32602 * libio/setbuf.c: Likewise.
32603 * libio/setlinebuf.c: Likewise.
32604 * libio/stdfiles.c: Likewise.
32605 * libio/strops.c: Likewise.
32606 * libio/vasprintf.c: Likewise.
32607 * libio/vscanf.c: Likewise.
32608 * libio/vsnprintf.c: Likewise.
32609 * libio/vswprintf.c: Likewise.
32610 * libio/wfiledoalloc.c: Likewise.
32611 * libio/wfileops.c: Likewise.
32612 * libio/wgenops.c: Likewise.
32613 * libio/wmemstream.c: Likewise.
32614 * libio/wstrops.c: Likewise.
32615 * libio/__fpurge.c: Likewise.
32616 * libio/__fsetlocking.c: Likewise.
32617 * assert/assert.c: Likewise.
32618 * debug/fgets_chk.c: Likewise.
32619 * debug/fgets_u_chk.c: Likewise.
32620 * debug/fread_chk.c: Likewise.
32621 * debug/fread_u_chk.c: Likewise.
32622 * debug/gets_chk.c: Likewise.
32623 * debug/obprintf_chk.c: Likewise.
32624 * debug/vasprintf_chk.c: Likewise.
32625 * debug/vdprintf_chk.c: Likewise.
32626 * debug/vsnprintf_chk.c: Likewise.
32627 * debug/vsprintf_chk.c: Likewise.
32628 * malloc/mtrace.c: Likewise.
32629 * misc/error.c: Likewise.
32630 * misc/syslog.c: Likewise.
32631 * stdio-common/asprintf.c: Likewise.
32632 * stdio-common/fxprintf.c: Likewise.
32633 * stdio-common/getw.c: Likewise.
32634 * stdio-common/isoc99_fscanf.c: Likewise.
32635 * stdio-common/isoc99_scanf.c: Likewise.
32636 * stdio-common/isoc99_vfscanf.c: Likewise.
32637 * stdio-common/isoc99_vscanf.c: Likewise.
32638 * stdio-common/isoc99_vsscanf.c: Likewise.
32639 * stdio-common/printf-prs.c: Likewise.
32640 * stdio-common/printf_fp.c: Likewise.
32641 * stdio-common/printf_fphex.c: Likewise.
32642 * stdio-common/printf_size.c: Likewise.
32643 * stdio-common/putw.c: Likewise.
32644 * stdio-common/scanf.c: Likewise.
32645 * stdio-common/sprintf.c: Likewise.
32646 * stdio-common/tmpfile.c: Likewise.
32647 * stdio-common/vfprintf.c: Likewise.
32648 * stdio-common/vfscanf.c: Likewise.
32649 * stdlib/strfmon_l.c: Likewise.
32650 * sunrpc/openchild.c: Likewise.
32651 * sunrpc/xdr_stdio.c: Likewise.
32652 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
32653 * sysdeps/mach/hurd/tmpfile.c: Likewise.
32655 2012-05-24 Roland McGrath <roland@hack.frob.com>
32657 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
32659 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
32660 in the third column, to generate for the shared library an IFUNC
32661 that uses _dl_vdso_vsym.
32662 * Makerules (COMPILE.c, compile-stdin.c): New variables.
32663 * Makeconfig (object-suffixes-noshared): New variable.
32665 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
32666 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
32667 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
32668 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
32671 * include/sys/time.h (__gettimeofday): Remove macro.
32672 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
32673 * time/gettimeofday.c (__gettimeofday): Remove #undef.
32675 (__gettimeofday): Add libc_hidden_def.
32676 (gettimeofday): Add libc_hidden_weak.
32677 * sysdeps/mach/gettimeofday.c: Likewise.
32678 * sysdeps/posix/gettimeofday.c: Likewise.
32679 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
32680 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
32681 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
32682 (__gettimeofday_internal): Remove strong_alias.
32683 (__gettimeofday): Add libc_hidden_def.
32684 (gettimeofday): Add libc_hidden_weak.
32685 * sysdeps/unix/syscalls.list (gettimeofday):
32686 Remove __gettimeofday_internal alias.
32688 2012-05-24 Daniel Jacobowitz <drow@false.org>
32689 H.J. Lu <hongjiu.lu@intel.com>
32692 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
32693 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
32694 (largebin_index_32_big): New.
32695 (largebin_index): Use it for 16-byte alignment.
32696 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
32697 correction with front_misalign.
32699 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
32701 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
32702 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
32704 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
32706 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
32708 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
32710 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
32712 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
32714 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
32716 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
32718 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
32720 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
32722 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
32724 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
32727 * scripts/data/c++-types-x32-linux-gnu.data: New file.
32728 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
32730 2012-05-24 Joseph Myers <joseph@codesourcery.com>
32734 * math/libm-test.inc (exp_test): Add test from bug 14036.
32735 (pow_test): Add test from bug 10846.
32737 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
32739 (special_function): Do not include flags in test name.
32740 (parse_args): Likewise.
32741 * sysdeps/i386/fpu/libm-test-ulps: Update.
32742 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
32743 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
32744 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
32745 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32747 * math/gen-libm-test.pl (%beautify): Add entries for underflow
32749 * math/libm-test.inc ("Philosophy"): Update comment about
32751 (UNDERFLOW_EXCEPTION): New macro.
32752 (UNDERFLOW_EXCEPTION_OK): Likewise.
32753 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
32754 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
32755 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
32756 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
32757 (INVALID_EXCEPTION_OK): Update value.
32758 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
32759 (OVERFLOW_EXCEPTION_OK): Likewise.
32760 (IGNORE_ZERO_INF_SIGN): Likewise.
32761 (test_exceptions): Handle underflow exceptions.
32762 (acos_test): Update for underflow exception expectations.
32763 (cexp_test): Likewise.
32764 (clog_test): Likewise.
32765 (clog10_test): Likewise.
32766 (csqrt_test): Likewise.
32767 (ctan_test): Likewise.
32768 (ctanh_test): Likewise.
32769 (exp_test): Likewise.
32770 (exp10_test): Likewise.
32771 (exp2_test): Likewise.
32772 (expm1_test): Likewise.
32773 (fma_test): Likewise.
32774 (j0_test): Likewise.
32775 (jn_test): Likewise.
32776 (nexttoward_test): Likewise.
32777 (pow_test): Likewise.
32778 (scalbn_test): Likewise.
32779 (scalbln_test): Likewise.
32780 (tan_test): Likewise.
32781 (y1_test): Likewise.
32782 * sysdeps/i386/fpu/libm-test-ulps: Update.
32783 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32785 2012-05-23 David S. Miller <davem@davemloft.net>
32787 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
32788 (__libc_sigaction): Remove unused local variables.
32790 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
32792 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
32794 2012-05-23 Paul Eggert <eggert@cs.ucla.edu>
32796 mktime: avoid signed integer overflow
32797 * time/mktime.c (__mktime_internal): Do not mishandle the case
32798 where diff == INT_MIN.
32800 mktime: simplify computation of average
32801 * time/mktime.c (ranged_convert): Use new time_t_avg function
32802 instead of rolling our own (probably-slower) code.
32804 mktime: do not assume signed right shift propagates sign bit
32805 * time/mktime.c (isdst_differ): New static function.
32806 (__mktime_internal): No need to normalize tm_isdst now.
32807 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
32810 mktime: merge another wrapv change from gnulib
32811 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
32812 from some compilers.
32814 mktime: remove incorrect attempt at unusual arithmetics
32815 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
32816 The code didn't really work on such machines anyway.
32817 (TYPE_MINIMUM): Assume two's complement.
32818 (twos_complement_arithmetic): Verify that long_int and time_t
32819 are two's complement (or unsigned, in the latter case).
32821 mktime: check signed shifts on long_int and time_t, too
32822 * time/mktime.c (SHR): Check that shifts work as desired
32823 on the types long_int and time_t too, as SHR is used on
32826 mktime: do not assume 'long' is wide enough
32827 * time/mktime.c (verify): Move decl up.
32828 (long_int): New type.
32829 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
32830 to remove assumption in the code that 'long' is wide enough to
32831 store year values. This assumption is not true on x32 and on
32832 some non-glibc platforms.
32834 mktime: merge wrapv change from gnulib
32835 * time/mktime.c (WRAPV): New macro.
32836 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
32837 (guess_time_tm, __mktime_internal): Do not assume that signed
32838 integer overflow wraps around; modern compilers generate code
32839 where this assumption is no longer valid.
32841 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
32843 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
32844 Replace "jmp L(pseudo_end)" with "ret".
32845 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
32848 2012-05-23 Andreas Jaeger <aj@suse.de>
32850 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
32851 * sysdeps/unix/sysv/linux/poll.c: Remove file.
32853 2012-05-23 Andreas Jaeger <aj@suse.de>
32854 Maximilian Attems <max@stro.at>
32856 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
32859 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
32861 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
32862 code so that pseudo_end is just ret and the stack pointer is
32863 correct also for static library in error case.
32865 2012-05-23 Joseph Myers <joseph@codesourcery.com>
32867 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
32868 move to syscalls.list.
32869 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
32870 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
32871 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
32872 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
32874 * manual/install.texi (Running make install): Do not mention Linux
32875 kernel version for which pt_chown is not needed.
32876 (Linux): Do not mention problems with nscd with 2.0 kernels.
32877 * INSTALL: Regenerated.
32879 2012-05-23 Andreas Jaeger <aj@suse.de>
32881 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
32882 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
32884 * sysdeps/unix/sysv/linux/s390/bits/mman.h
32885 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
32886 * sysdeps/unix/sysv/linux/sh/bits/mman.h
32887 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
32888 * sysdeps/unix/sysv/linux/i386/bits/mman.h
32889 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
32890 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
32891 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
32892 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
32893 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
32894 * sysdeps/unix/sysv/linux/bits/in.h
32895 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
32897 2012-05-22 Roland McGrath <roland@hack.frob.com>
32899 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
32900 (PREPARE_VERSION): Just use assert instead, it will be elided
32901 under [NDEBUG] anyway.
32903 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
32905 * sysdeps/unix/sysv/linux/Makefile: Include
32906 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
32907 (sysdep_routines): Remove sysctl.
32908 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
32909 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
32910 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
32911 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
32912 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
32914 2012-05-22 Andreas Jaeger <aj@suse.de>
32916 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
32917 that pseudo_end is just ret and the stack pointer is correct also
32918 for static library in error case.
32920 2012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
32923 * nss/nsswitch.c (defconfig_entries): New variable.
32924 (__nss_database_lookup): Don't leak defconfig entries.
32925 (nss_parse_service_list): Don't leak on error paths.
32926 (free_database_entries): New function.
32927 (free_defconfig): New function.
32928 (free_mem): Move common code to free_database_entries.
32930 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
32932 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
32934 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
32936 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
32937 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
32938 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
32940 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
32941 (INTERNAL_SYSCALL_TYPES): Likewise.
32942 (LOAD_ARGS_TYPES_[1-6]): Likewise.
32943 (LOAD_REGS_TYPES_[1-6]): Likewise.
32944 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
32945 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
32947 2012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
32949 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
32950 copysignl for GLIBC_2_0.
32951 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
32952 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
32953 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
32954 logbl for GLIBC_2_0.
32955 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
32956 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
32958 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
32960 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
32961 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
32963 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
32966 * time/mktime.c: Update copyright years.
32968 2012-05-22 Paul Eggert <eggert@cs.ucla.edu>
32970 mktime: merge comment-quoting-style change from gnulib
32971 * time/mktime.c: Quote 'like this' in comments.
32972 The GNU coding standards suggest that we no longer quote `like this',
32973 as "`" and "'" are typically rendered asymmetrically nowadays.
32974 The typical gnulib style is to quote 'like this' when quoting
32975 code, and "like this" when quoting English.
32977 * time/mktime.c (compile-command): Add "-I.".
32979 mktime: merge mktime-internal.h change from gnulib
32980 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
32982 mktime: merge time_r change from gnulib
32983 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
32985 mktime: merge DEBUG change from gnulib
32986 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
32987 case system <time.h> has a #define.
32989 mktime: merge <sys/types.h> change from gnulib
32990 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
32991 since <time.t> is now guaranteed to define time_t.
32993 mktime: merge HAVE_CONFIG_H change from gnulib
32994 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
32996 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
32998 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
33001 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
33003 (struct rusage): Use anonymous union to pad each field to
33006 2012-05-21 David S. Miller <davem@davemloft.net>
33008 * Makefules (o-iterator): Remove .s cases.
33009 (compile-command.s): Delete.
33010 (COMPILE.s): Delete.
33011 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
33013 2012-05-21 Joseph Myers <joseph@codesourcery.com>
33015 * configure.in (libc_cv_predef_stack_protector): Only consider
33016 "foobar" and "__stack_chk_fail" lines in libc_undefs.
33017 * configure: Regenerated.
33019 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
33021 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
33022 New macro. Use R*LP on int and pointer.
33023 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
33024 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
33025 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
33026 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
33028 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
33029 [__WORDSIZE_TIME64_COMPAT32] instead of
33030 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
33031 (struct utmp): Likewise.
33032 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
33033 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
33035 (__WORDSIZE_TIME64_COMPAT32): This.
33036 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
33037 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
33038 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
33039 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
33040 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
33041 (__WORDSIZE_TIME64_COMPAT32): New macro.
33043 2012-05-21 Andreas Jaeger <aj@suse.de>
33045 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
33046 only if [SHARED]. Add prototype for __wcschr_ia32.
33048 2012-05-21 Roland McGrath <roland@hack.frob.com>
33050 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
33051 of %rbp unmolested in the jmp_buf while mangling the low bits.
33052 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
33053 unmolested high bits of %rbp while demangling the low bits.
33054 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
33056 2012-05-21 Andreas Jaeger <aj@suse.de>
33058 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
33059 * sunrpc/svc_simple.c: Use it for registerrpc.
33060 * sunrpc/xcrypt.c: Use it for passwd2des.
33062 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
33064 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
33066 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
33067 Don't define if [__SYSCALL_WORDSIZE != 32].
33068 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
33071 2012-05-21 Bruno Haible <bruno@clisp.org>
33072 Andreas Jaeger <aj@suse.de>
33074 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
33075 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
33076 inptr and inend for must_buffer_ch.
33077 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
33078 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
33079 * stdio-common/Makefile (tests): Remove bug15.
33080 (bug15-ENV): Remove macro.
33081 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
33084 2012-05-19 Andreas Jaeger <aj@suse.de>
33085 Roland McGrath <roland@hack.frob.com>
33087 * manual/contrib.texi: Completely rewritten. It contains now an
33088 alphabetical list of contributors and their contributions.
33090 2012-05-21 Richard Henderson <rth@twiddle.net>
33092 * misc/getauxval.c (__getauxval): Use unsigned long int.
33093 * misc/sys/auxv.h: Include <sys/cdefs.h>.
33094 (getauxval): Use unsigned long int.
33096 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
33098 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
33100 2012-05-21 Roland McGrath <roland@hack.frob.com>
33102 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
33103 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
33104 __alignof__ (long double).
33106 2012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
33108 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
33110 2012-05-20 Richard Henderson <rth@twiddle.net>
33112 * misc/getauxval.c: New file.
33113 * misc/sys/auxv.h: New file.
33114 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
33115 (routines): Add getauxval.
33116 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
33117 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
33118 * elf/dl-sysdep.c (_dl_auxv): Remove.
33119 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
33120 * elf/dl-support.c (_dl_auxv): New variable.
33121 (_dl_aux_init): Initialize it.
33122 * manual/startup.texi (Auxiliary Vector): New node.
33123 * sysdeps/generic/bits/hwcap.h: New file.
33124 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
33125 * sysdeps/powerpc/sysdep.h: ... here. Include it.
33126 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
33127 * sysdeps/sparc/sysdep.h: ... here. Include it.
33128 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
33129 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
33130 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
33132 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
33133 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
33134 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
33135 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
33136 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
33137 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
33138 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
33139 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
33141 2012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
33143 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
33145 2012-05-19 David S. Miller <davem@davemloft.net>
33147 * sysdeps/sparc/fpu/libm-test-ulps: Update.
33149 2012-05-19 Joseph Myers <joseph@codesourcery.com>
33152 * math/s_ccosh.c: Include <float.h>
33153 (__ccosh): Avoid internal overflow calculating sinh and cosh
33154 values before multiplying by sin and cos values.
33155 * math/s_ccoshf.c: Likewise.
33156 * math/s_ccoshl.c: Likewise.
33157 * math/s_csin.c: Likewise.
33158 * math/s_csinf.c: Likewise.
33159 * math/s_csinl.c: Likewise.
33160 * math/s_csinh.c: Likewise.
33161 * math/s_csinhf.c: Likewise.
33162 * math/s_csinhl.c: Likewise.
33163 * math/libm-test.inc (ccos_test): Add more tests.
33164 (ccosh_test): Likewise.
33165 (csin_test): Likewise.
33166 (csinh_test): Likewise.
33167 * sysdeps/i386/fpu/libm-test-ulps: Update.
33168 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33170 2012-05-19 H.J. Lu <hongjiu.lu@intel.com>
33172 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
33173 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
33175 * sysdeps/x86_64/x32/_itoa.h: Add comment.
33177 2012-05-19 Joseph Myers <joseph@codesourcery.com>
33179 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
33180 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
33181 * sysdeps/powerpc/soft-fp/Versions: Likewise.
33182 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
33183 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
33184 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
33185 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
33186 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
33187 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
33188 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
33189 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
33190 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
33191 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
33192 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
33193 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
33194 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
33195 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
33196 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
33197 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
33198 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
33199 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
33200 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
33201 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
33202 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
33203 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
33204 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
33205 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
33206 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
33207 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
33208 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
33209 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
33211 2012-05-18 Andreas Jaeger <aj@suse.de>
33213 * csu/.gitignore: Delete.
33215 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
33217 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
33218 (timex): Use __syscall_slong_t.
33220 2012-05-18 Andreas Jaeger <aj@suse.de>
33221 Carlos O'Donell <carlos_odonell@mentor.com>
33223 * manual/install.texi (Configuring and compiling): Update
33224 description about files modified in the source directory.
33225 * INSTALL: Regenerated.
33227 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
33229 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
33230 value. Use "or" to set return value to -1.
33231 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
33232 negate return value.
33234 2012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
33236 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c)
33237 (CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
33238 failure if the compiler has Graphite support disabled.
33239 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
33241 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c)
33242 (CFLAGS-memmove.c): Likewise.
33243 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
33246 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
33248 * sysdeps/x86_64/x32/_itoa.h: New file.
33250 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
33251 getdents system call only if kernel and user dirents have the
33252 same d_ino and d_off.
33254 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
33255 LLONG_MAX != LONG_MAX.
33256 (_itoa_word): Use _ITOA_WORD_TYPE on value.
33257 (_fitoa_word): Likewise.
33259 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
33261 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
33262 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
33263 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
33265 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
33266 include <bits/wordsize.h>. Check __x86_64__ instead of
33268 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
33269 if __x86_64__ is defined. Use anonymous union on fpstate.
33271 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
33274 2012-05-18 Andreas Schwab <schwab@linux-m68k.org>
33276 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
33277 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
33278 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
33279 Refer to _rtld_local_ro instead of _rtld_global_ro.
33280 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
33282 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
33284 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
33286 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
33287 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
33288 of _rtld_global, and rtld_progname instead of _dl_argv[0].
33290 * sysdeps/powerpc/powerpc32/dl-machine.c
33291 (__elf_machine_runtime_setup) [PROF]: Don't reference
33294 2012-05-18 Andreas Jaeger <aj@suse.de>
33296 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
33297 function only available for GCCs before 3.4 since GCC 3.4
33298 introduced a builtin.
33300 (llrintf): Likewise.
33301 (llrint): Likewise.
33308 (nearbyint): Likewise.
33309 (nearbyintf): Likewise.
33313 (floorf): Likewise.
33315 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
33317 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
33318 on both fields and cast pointer to __syscall_ulong_t.
33320 * bits/types.h (__fsword_t): New type.
33321 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
33322 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
33323 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
33324 (__FSWORD_T_TYPE): Likewise.
33325 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
33326 (__FSWORD_T_TYPE): Likewise.
33327 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
33328 (__FSWORD_T_TYPE): Likewise.
33329 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
33330 (__FSWORD_T_TYPE): Likewise.
33331 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
33332 __SWORD_TYPE with __fsword_t.
33333 (statfs64): Likewise.
33335 2012-05-17 David S. Miller <davem@davemloft.net>
33337 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
33339 2012-05-17 Andreas Jaeger <aj@suse.de>
33341 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
33344 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
33346 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
33348 2012-05-17 Andreas Jaeger <aj@suse.de>
33350 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
33353 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
33355 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
33357 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
33359 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
33360 * sysdeps/x86_64/tst-mallocalign1.c: New file.
33362 2012-05-17 Andreas Jaeger <aj@suse.de>
33363 Carlos O'Donell <carlos_odonell@mentor.com>
33366 * sysdeps/x86_64/multiarch/init-arch.h
33367 (bit_YMM_Usable): Rename to...
33368 (bit_AVX_Usable): ... this.
33369 (bit_FMA4_Usable): New macro.
33370 (bit_XMM_state): New macro.
33371 (bit_YMM_state): New macro.
33372 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
33373 [__ASSEMBLER__] (index_AVX_Usable): ... this.
33374 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
33375 (CPUID_OSXSAVE): New macro.
33376 (CPUID_AVX): New macro.
33377 (CPUID_FMA4): New macro.
33378 (index_YMM_Usable): Rename to...
33379 (index_AVX_Usable): ... this.
33380 (HAS_AVX): Use HAS_ARCH_FEATURE.
33381 (HAS_FMA4): Likewise.
33382 (HAS_YMM_USABLE): Remove.
33383 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
33384 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
33386 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
33387 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
33388 * sysdeps/x86_64/multiarch/Makefile: Likewise.
33389 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
33390 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
33392 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
33394 * math/libm-test.c: Support platforms without multiple rounding modes.
33395 * math/bug-nextafter.c: Support platforms without FP exceptions.
33396 * math/bug-nexttoward.c: Likewise.
33397 * math/test-fenv.c: Likewise.
33398 * math/test-misc.c: Likewise.
33399 * stdlib/bug-getcontext.c: Likewise.
33401 2012-05-17 Andreas Jaeger <aj@suse.de>
33403 * manual/examples/search.c (critter_cmp): Change signature to
33405 * manual/string.texi (Collation Functions): Likewise.
33407 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
33409 * bits/types.h: Fold copyright years.
33410 * bits/typesizes.h: Likewise.
33411 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
33412 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
33413 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
33414 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
33415 * time/time.h: Likewise.
33417 2012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
33420 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
33421 in instead of returning them. Return void.
33422 (__libc_mallinfo): Accumulate over all arenas.
33423 (__malloc_stats): Adjust for change in int_mallinfo interface.
33425 2012-05-16 Roland McGrath <roland@hack.frob.com>
33428 * configure.in (NM): Add AC_CHECK_TOOL for it.
33429 (libc_extra_cflags): New substituted variable.
33430 Check for -fstack-protector being used implicitly.
33431 * configure: Regenerated.
33432 * config.make.in (config-extra-cflags): New variable,
33433 gets @libc_extra_cflags@.
33434 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
33437 * configure.in: Check for _FORTIFY_SOURCE being predefined.
33438 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
33439 * configure: Regenerated.
33440 * config.make.in (CPPUNDEFS): New substituted variable.
33441 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
33442 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
33443 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
33445 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
33447 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
33448 (mq_attr): Use __syscall_slong_t.
33450 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
33452 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
33453 Check __x86_64__ instead of __WORDSIZE.
33454 (_STAT_VER_LINUX): Likewise.
33455 (stat): Check __x86_64__ instead of __WORDSIZE. Use
33456 __syscall_ulong_t and __syscall_slong_t.
33457 (stat64): Likewise.
33459 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
33461 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
33463 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
33465 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
33467 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
33469 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
33472 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
33473 include <bits/wordsize.h>. Check __x86_64__ instead of
33475 (greg_t): Use "__extension__ long long int" if __x86_64__ is
33477 (mcontext_t): Replace "unsigned long" with "unsigned long long".
33479 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
33480 include <bits/wordsize.h>. Check __x86_64__ instead of
33482 (user_regs_struct): Use "__extension__ unsigned long long"
33483 instead of "unsigned long" if __x86_64__ is defined.
33484 (user): Likewise. Pad after pointer field if __ILP32__ is
33487 2012-05-16 Joseph Myers <joseph@codesourcery.com>
33489 * configure.in (makeinfo): Require version 4.5 or later. Allow
33491 * configure: Regenerated.
33492 * manual/install.texi (texinfo): Increase version requirement to
33494 * INSTALL: Regenerated.
33496 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
33498 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
33500 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
33502 * sysdeps/x86_64/x32/ffs.c: New file.
33504 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
33506 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
33507 defined. Use __syscall_ulong_t.
33508 (shminfo): Use __syscall_ulong_t.
33509 (shm_info): Likewise.
33511 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
33514 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
33516 (msgqnum_t): Use __syscall_ulong_t.
33517 (msglen_t): Likewise.
33518 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
33521 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
33522 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
33524 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
33526 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
33527 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
33529 * sysvipc/sys/msg.h (msgbuf): Replace long int with
33532 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
33533 include <bits/wordsize.h>. Check __x86_64__ instead of
33536 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
33537 "unsigned long long int" if __x86_64__ is defined.
33538 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
33540 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
33541 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
33542 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
33544 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
33546 (GET_PC): Cast to uintptr_t first.
33547 (GET_FRAME): Likewise.
33548 (GET_STACK): Likewise.
33550 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
33551 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
33552 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
33553 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
33554 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
33555 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
33556 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
33557 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
33558 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
33559 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
33560 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
33561 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
33562 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
33563 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
33564 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
33565 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
33566 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
33567 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
33568 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
33569 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
33570 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
33571 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
33572 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
33573 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
33574 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
33575 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
33576 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
33577 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
33578 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
33580 2012-05-16 Andreas Schwab <schwab@linux-m68k.org>
33582 * Makerules (+depfiles): Also collect depfiles from .oS in
33584 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
33585 .oS, $(libnldbl-routines)).
33587 * Makerules (native-compile-mkdep-flags): Define.
33588 * sunrpc/Makefile (extra-objs): Add $(addprefix
33589 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
33590 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
33591 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
33592 calling $(make-target-directory).
33594 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
33596 * bits/types.h (__snseconds_t): Removed.
33597 * time/time.h (struct timespec): Replace __snseconds_t with
33599 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
33600 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
33602 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
33603 (__SNSECONDS_T_TYPE): Likewise.
33604 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
33605 (__SNSECONDS_T_TYPE): Likewise.
33606 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
33607 (__SNSECONDS_T_TYPE): Likewise.
33609 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
33611 * sysdeps/mach/hurd/bits/typesizes.h
33612 (__SYSCALL_SLONG_TYPE): New macro.
33613 (__SYSCALL_ULONG_TYPE): Likewise.
33615 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
33617 * bits/types.h (__syscall_slong_t): New type.
33618 (__syscall_ulong_t): Likewise.
33620 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
33621 (__SYSCALL_ULONG_TYPE): Likewise.
33622 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
33623 (__SYSCALL_SLONG_TYPE): Likewise.
33624 (__SYSCALL_ULONG_TYPE): Likewise.
33625 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
33626 (__SYSCALL_SLONG_TYPE): Likewise.
33627 (__SYSCALL_ULONG_TYPE): Likewise.
33628 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
33629 (__SYSCALL_SLONG_TYPE): Likewise.
33630 (__SYSCALL_ULONG_TYPE): Likewise.
33632 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
33634 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
33635 Add sigaltstack-offsets.sym.
33636 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
33637 <sigaltstack-offsets.h>.
33638 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
33639 longjmp_msg pointer.
33640 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
33641 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
33643 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
33645 2012-05-15 Joseph Myers <joseph@codesourcery.com>
33647 * elf/stackguard-macros.h: Remove file.
33648 * sysdeps/generic/stackguard-macros.h: New file.
33649 * sysdeps/i386/stackguard-macros.h: Likewise.
33650 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
33651 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
33652 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
33653 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
33654 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
33655 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
33656 * sysdeps/x86_64/stackguard-macros.h: Likewise.
33657 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
33658 <elf/stackguard-macros.h>.
33661 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
33662 __aligned__ in attribute.
33663 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
33664 (gregset_t): Likewise.
33666 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
33668 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
33669 * sysdeps/x86_64/64/Implies-after: Here. New file.
33670 * sysdeps/x86_64/x32/Implies-after: New file.
33672 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
33674 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
33675 and access return value for _dl_profile_fixup. Use R10_LP to
33678 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
33680 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
33682 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
33684 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
33685 * sysdeps/x86_64/x32/sysdep.h: New file.
33687 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
33689 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
33690 * sysdeps/x86_64/setjmp.S: Likewise.
33692 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
33694 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
33695 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
33696 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
33697 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
33698 remove unused global constant.
33700 2012-05-15 Chris Metcalf <cmetcalf@tilera.com>
33702 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
33703 include of <not-cancel.h>.
33705 2012-05-15 Roland McGrath <roland@hack.frob.com>
33707 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
33709 2012-05-15 Jeff Law <law@redhat.com>
33710 Andreas Jaeger <aj@suse.de>
33713 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
33715 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
33716 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
33717 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
33718 code changing __hst_map_handle.map.
33720 2012-05-15 Roland McGrath <roland@hack.frob.com>
33722 * configure.in (sysnames): Look for Implies-before and Implies-after
33724 * configure: Regenerated.
33726 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
33728 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
33729 8-byte data alignment with LP_SIZE alignment.
33731 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
33733 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
33736 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
33738 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
33740 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
33742 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
33743 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
33744 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
33746 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
33748 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
33750 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
33751 (stackinfo_sub_sp): Likewise.
33753 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
33755 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
33758 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
33760 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
33763 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
33765 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
33768 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
33770 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
33772 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
33774 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
33775 into R11_LP and load __x86_64_shared_cache_size_half into
33778 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
33780 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
33783 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
33785 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
33787 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
33789 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
33791 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
33792 powerpc32/power7/fpu/s_logb.c via #include.
33793 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
33794 powerpc32/power7/fpu/s_logbf.c via #include.
33795 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
33796 powerpc32/power7/fpu/s_logbl.c via #include.
33798 2012-05-15 Joseph Myers <joseph@codesourcery.com>
33800 * README.libm: Remove file.
33802 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
33804 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
33805 count for x32. Use R*_LP and omit operand-size suffix.
33807 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
33809 * shlib-versions: Move x86_64-.*-linux.* entries to ...
33810 * sysdeps/x86_64/64/shlib-versions: Here. New file.
33811 * sysdeps/x86_64/x32/shlib-versions: New file.
33813 2012-05-14 Roland McGrath <roland@hack.frob.com>
33815 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
33816 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
33817 Use _dl_fatal_printf instead.
33819 2012-05-14 Joseph Myers <joseph@codesourcery.com>
33821 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
33822 set if not set by the user. Do not allow for being unset.
33823 * sysdeps/unix/sysv/linux/configure: Regenerated.
33825 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
33827 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
33828 the `q' suffix from lea and replace .quad with ASM_ADDR.
33830 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
33832 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
33833 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
33835 (PTR_DEMANGLE): Likewise.
33837 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
33839 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
33841 (ASM_ADDR): Likewise.
33842 (RAX_LP): Likewise.
33843 (RBP_LP): Likewise.
33844 (RBX_LP): Likewise.
33845 (RCX_LP): Likewise.
33846 (RDI_LP): Likewise.
33847 (RSI_LP): Likewise.
33848 (RSP_LP): Likewise.
33851 (R10_LP): Likewise.
33852 (R10_LP): Likewise.
33853 (R11_LP): Likewise.
33854 (R12_LP): Likewise.
33855 (R13_LP): Likewise.
33856 (R14_LP): Likewise.
33857 (R15_LP): Likewise.
33859 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
33861 * sysdeps/x86_64/x32/dl-machine.h: New file.
33863 2012-05-14 Andreas Jaeger <aj@suse.de>
33865 * manual/Makefile (subdir): Remove export of subdir.
33866 (all): Remove target.
33867 (.PHONY): Remove all from list.
33868 (mkinstalldirs): Remove.
33869 (.PHONY): Remove installdirs from list.
33870 ($(inst_infodir)/libc.info): Use make-target-directory.
33871 (installdirs): Remove.
33872 (subdir_%): Remove.
33873 (glibc-targets): Remove.
33876 ($(objpfx)stubs ../po/manual.pot): Remove.
33877 ($(objpfx)stamp%): Remove.
33878 (make-target-directory): Remove.
33879 (subdir_install): Remove.
33880 (routines): Remove.
33887 * manual/.gitignore: Remove, it's not needed anymore.
33888 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
33890 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
33892 (texis): Renamed to $(objpfx)texis.
33893 (texis-path): New, contains path to generated files.
33894 (chapters.%): Use texis-path for complete path, add extra argument
33896 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
33897 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
33898 (summary,texi, stamp-summary): Use complete path of
33899 files. Generate files in build dir.
33900 (dir-add.texi): Build in build dir.
33901 (libm-err.texi,stamp-libm-err): Likewise.
33902 (version.texi, stamp-version): Likewise.
33903 (.%c.texi): Likewise.
33904 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
33905 (mostlyclean): Remove target.
33906 (realclean): Remove target.
33907 (generated): Add new variable with contents from mostlyclean and
33908 realclean, remove entries duplicated in common-mostlyclean, add
33909 stamp-libm-err and stamp-version.
33910 (generated-dirs): Add libc directory.
33911 ($(inst_infodir)/libc.info): Install files from build dir.
33913 * manual/install.texi (Configuring and compiling): Adjust since
33914 the info files are not part of the tar ball anymore.
33916 2012-05-14 Andreas Jaeger <aj@suse.de>
33918 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
33921 2012-05-14 Joseph Myers <joseph@codesourcery.com>
33924 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
33925 to 2.2.0 where earlier.
33926 * sysdeps/unix/sysv/linux/configure: Regenerated.
33927 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
33928 Remove conditional code.
33929 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
33930 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
33931 Remove conditional code.
33932 [!__NR_lchown]: Likewise.
33933 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
33934 [__NR_lchown]: Likewise.
33935 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
33936 comment referencing __ASSUME_LCHOWN_SYSCALL.
33937 * sysdeps/unix/sysv/linux/i386/sigaction.c
33938 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
33939 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
33940 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
33941 Remove conditional code.
33942 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
33943 (__protocol_available): Remove #if 0 code.
33944 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
33946 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
33947 * sysdeps/unix/sysv/linux/kernel-features.h
33948 (__ASSUME_GETCWD_SYSCALL): Don't define.
33949 (__ASSUME_REALTIME_SIGNALS): Likewise.
33950 (__ASSUME_PREAD_SYSCALL): Likewise.
33951 (__ASSUME_PWRITE_SYSCALL): Likewise.
33952 (__ASSUME_POLL_SYSCALL): Likewise.
33953 (__ASSUME_LCHOWN_SYSCALL): Likewise.
33954 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
33956 (__ASSUME_SIOCGIFNAME): Don't define.
33957 (__ASSUME_MSG_NOSIGNAL): Likewise.
33958 (__ASSUME_SENDFILE): Define unconditionally.
33959 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
33960 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
33962 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
33963 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
33964 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
33965 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
33966 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
33967 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
33968 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
33969 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
33970 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
33971 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
33972 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
33973 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
33974 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
33975 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
33976 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
33977 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
33978 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
33979 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
33980 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
33981 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
33982 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
33983 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
33984 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
33985 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
33986 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
33987 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
33988 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
33989 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
33990 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
33991 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
33992 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
33993 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
33994 Remove conditional code.
33995 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
33996 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
33997 Remove conditional code.
33998 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
33999 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
34000 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
34001 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
34002 Remove conditional code.
34003 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
34004 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
34005 Remove conditional code.
34006 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
34007 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
34008 Remove conditional code.
34009 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
34010 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
34011 Remove conditional code.
34012 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
34013 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
34014 Remove conditional code.
34015 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
34016 * sysdeps/unix/sysv/linux/sh/pwrite64.c
34017 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
34018 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
34019 * sysdeps/unix/sysv/linux/sigaction.c
34020 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
34021 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
34022 * sysdeps/unix/sysv/linux/sigpending.c
34023 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
34024 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
34025 * sysdeps/unix/sysv/linux/sigprocmask.c
34026 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
34027 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
34028 * sysdeps/unix/sysv/linux/sigsuspend.c
34029 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
34030 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
34031 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
34032 (__libc_missing_rt_sigs): Remove.
34033 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
34034 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
34035 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
34036 Remove conditional code.
34037 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
34038 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
34040 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
34041 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
34042 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
34043 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
34045 2012-05-14 Andreas Jaeger <aj@suse.de>
34047 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
34048 it's not used in glibc.
34049 (__coshm1): Likewise.
34050 (__acosh1p): Likewise.
34053 * manual/string.texi (Copying and Concatenation): Add missing
34054 variable in concat example.
34055 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
34057 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
34060 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
34061 __builtin_clzl with __builtin_clzll.
34063 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
34066 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
34069 2012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
34071 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
34072 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
34073 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
34074 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
34076 2012-05-14 Mike Frysinger <vapier@gentoo.org>
34078 * NEWS: Update ia64 info.
34080 2012-05-12 Andreas Schwab <schwab@linux-m68k.org>
34082 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
34085 2012-05-12 Thomas Schwinge <thomas@codesourcery.com>
34087 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
34088 * sysdeps/unix/syscalls.list (dup3): Likewise.
34089 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
34090 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
34092 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
34094 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
34095 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
34097 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
34099 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
34101 (TLS_IE): Use mov/add instead of movq/addq to load thread
34103 (TLS_GD_PREFIX): New.
34106 2012-05-11 David S. Miller <davem@davemloft.net>
34108 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
34109 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
34110 (_FPU_SETCW): Likewise.
34112 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
34114 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
34115 is 32-byte aligned.
34117 2012-05-11 Andreas Schwab <schwab@linux-m68k.org>
34120 * iconvdata/gb18030.c: Update tables.
34121 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
34122 characters specially.
34123 (BODY for TO_LOOP): Add encoding of missing ranges.
34125 2012-05-11 Thomas Schwinge <thomas@codesourcery.com>
34128 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
34129 * sysdeps/mach/hurd/dup3.c: Likewise.
34130 * sysdeps/mach/hurd/readlinkat.c: Likewise.
34131 * sysdeps/powerpc/memmove.c:: Likewise.
34133 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
34135 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
34136 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
34138 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
34140 * elf/elf.h (R_X86_64_RELATIVE64): New.
34141 (R_X86_64_NUM): Updated.
34142 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
34143 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
34144 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
34145 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
34146 tst-quad1pie tst-quad2pie
34147 (modules-names): Add tst-quadmod1 tst-quadmod2.
34148 ($(objpfx)tst-quad1): New dependency.
34149 ($(objpfx)tst-quad2): Likewise.
34150 ($(objpfx)tst-quad1pie): Likewise.
34151 ($(objpfx)tst-quad2pie): Likewise.
34152 * sysdeps/x86_64/tst-quad1.c: New file.
34153 * sysdeps/x86_64/tst-quad1pie.c: New file.
34154 * sysdeps/x86_64/tst-quad2.c: Likewise.
34155 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
34156 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
34157 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
34158 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
34159 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
34161 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
34163 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
34164 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
34165 * streams/stropts.h (t_scalar_t): Define type.
34167 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
34168 (_PATH_PRESERVE): Set to "/var/lib".
34169 (_PATH_RWHODIR): Set to "/var/spool/rwho".
34171 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
34174 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
34175 if __dir_mkfile succeeded.
34177 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
34178 checking for _hurd_dtablesize. Unlock it right after having
34179 finished _hurd_dtable allocation.
34181 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
34183 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
34184 * sysdeps/mach/hurd/configure: Regenerated.
34185 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
34186 special-casing to...
34187 * sysdeps/gnu/configure.in: ... this new file.
34188 * sysdeps/unix/sysv/linux/configure: Regenerated.
34189 * sysdeps/gnu/configure: New generated file.
34191 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
34192 for Linux: use nsec instead of usec, as well as:
34193 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
34194 members of type struct timespec.
34195 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
34197 (struct stat64): Likewise.
34198 (_STATBUF_ST_NSEC): New macro.
34199 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
34201 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
34202 __strtoul_internal rather than strtoul.
34204 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
34206 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
34209 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
34211 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
34212 which preserves existing values.
34213 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
34215 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
34217 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
34218 TIMEOUT values. Return EINVAL for NFDS values either negative or
34219 greater than FD_SETSIZE.
34221 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
34223 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
34224 allocated, call __vm_protect to finish enabling the existing space, and
34225 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
34226 allocate the remainder.
34228 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
34230 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
34231 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
34233 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
34235 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
34236 sysdeps/mach/hurd/readlink.c.
34238 * posix/tst-sysconf.c (posix_options): Only use
34239 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
34240 _POSIX_SYNCHRONIZED_IO when they are defined
34241 * sysdeps/mach/hurd/bits/posix_opt.h:
34242 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
34243 (_XOPEN_REALTIME): Undefine macro.
34244 (_XOPEN_REALTIME_THREADS): Undefine macro.
34245 (_XOPEN_SHM): Undefine macro.
34246 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
34248 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
34250 (_POSIX_ASYNC_IO): Undefine macro.
34251 (_POSIX_PRIORITIZED_IO): Undefine macro.
34252 (_POSIX_SPIN_LOCKS): Define macro to -1.
34254 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
34255 SA_NODEFER, SA_RESETHAND.
34256 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
34257 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
34260 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
34262 * elf/Makefile (pldd-modules): Define unconditionally.
34264 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
34266 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
34268 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
34270 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
34271 Return ENOENT when name is empty.
34272 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
34274 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
34276 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
34278 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
34280 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
34282 Fix mlock in all cases except non-readable pages.
34283 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
34284 instead of VM_PROT_ALL as parameter to __vm_wire function.
34286 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
34287 (__mkdir): When path is `/', just fail with EEXIST.
34288 * sysdeps/mach/hurd/mkdirat.c: Likewise.
34290 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
34292 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
34293 <sys/uio.h> (for writev).
34294 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
34295 and <sys/param.h> (for MIN).
34297 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
34299 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
34300 REQUESTED_TIME. Properly set the remaining time and return EINTR
34303 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
34305 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
34306 Depend on against $(link-rpcuserlibs).
34308 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
34310 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
34311 (__libc_stack_end): Do not use attribute_relro.
34312 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
34313 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
34314 to libthread-provided value.
34315 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
34318 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
34321 * bits/libc-lock.h (__libc_once_get): New macro.
34322 * sysdeps/mach/bits/libc-lock.h: Likewise.
34323 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
34324 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
34325 instead of using implementation details.
34327 * libio/fileops.c: Unconditionally include <kernel-features.h>.
34328 * libio/freopen.c: Likewise.
34329 * libio/freopen64.c: Likewise.
34330 * misc/syslog.c: Likewise.
34331 * nscd/connections.c: Likewise.
34332 * nscd/netgroupcache.c: Likewise.
34333 * sysdeps/posix/getcwd.c: Likewise.
34335 2012-05-10 Roland McGrath <roland@hack.frob.com>
34337 * math/w_ilogbf.c: Add #include <limits.h>.
34339 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
34341 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
34342 path instead of returning without unlocking.
34344 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
34345 immediate-write ioctls.
34346 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
34348 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
34350 * sysdeps/mach/hurd/i386/init-first.c (init): Use
34351 __builtin_frame_address instead of making assumptions about the
34352 location of the return address relative to DATA. Force early load of
34353 the return address.
34354 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
34355 __builtin_frame_address.
34358 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
34359 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
34360 implement dup3 and do some further code clean-ups.
34361 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
34362 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
34364 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
34366 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
34368 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
34369 HURD_CRITICAL_END around holding _hurd_dtable_lock.
34370 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
34371 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
34372 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
34375 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
34376 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
34377 when handler == SIG_ERR, not when handler != SIG_ERR.
34379 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
34381 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
34382 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
34385 accept4 for GNU Hurd.
34386 * include/sys/socket.h (__libc_accept4): New prototype.
34387 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
34388 to implement __libc_accept4.
34389 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
34391 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
34393 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
34394 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
34395 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
34396 signal-defines.sym.
34398 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
34400 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
34402 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
34404 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
34405 assertion on O_CLOEXEC flag.
34406 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
34407 * hurd/intern-fd.c: Likewise.
34408 * hurd/port2fd.c: Likewise.
34410 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
34413 * bits/in.h (IPV6_PKTINFO): Define new macro.
34414 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
34416 2012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
34421 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
34422 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
34423 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
34424 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
34425 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
34426 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
34427 * math/libm-test.inc (logb_test) : Additional logb tests.
34429 2012-05-09 Andreas Schwab <schwab@linux-m68k.org>
34430 Andreas Jaeger <aj@suse.de>
34432 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
34433 * configure: Regenerated.
34434 * config.h.in (LINK_OBSOLETE_RPC): New macro.
34435 * config.make.in (link-obsolete-rpc): New substituted variable.
34436 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
34437 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
34438 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
34439 (shared-only-routines): Don't set it under [link-obsolete-rpc],
34440 so that libc.a contains the symbols.
34441 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
34442 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
34443 * sunrpc/auth_none.c: Likewise.
34444 * sunrpc/auth_unix.c: Likewise.
34445 * sunrpc/authdes_prot.c: Likewise.
34446 * sunrpc/authuxprot.c: Likewise.
34447 * sunrpc/clnt_gen.c: Likewise.
34448 * sunrpc/clnt_perr.c: Likewise.
34449 * sunrpc/clnt_raw.c: Likewise.
34450 * sunrpc/clnt_simp.c: Likewise.
34451 * sunrpc/clnt_tcp.c: Likewise.
34452 * sunrpc/clnt_udp.c: Likewise.
34453 * sunrpc/clnt_unix.c: Likewise.
34454 * sunrpc/des_crypt.c: Likewise.
34455 * sunrpc/des_soft.c: Likewise.
34456 * sunrpc/get_myaddr.c: Likewise.
34457 * sunrpc/key_call.c: Likewise.
34458 * sunrpc/key_prot.c: Likewise.
34459 * sunrpc/netname.c: Likewise.
34460 * sunrpc/pm_getmaps.c: Likewise.
34461 * sunrpc/pm_getport.c: Likewise.
34462 * sunrpc/pmap_clnt.c: Likewise.
34463 * sunrpc/pmap_prot.c: Likewise.
34464 * sunrpc/pmap_prot2.c: Likewise.
34465 * sunrpc/pmap_rmt.c: Likewise.
34466 * sunrpc/publickey.c: Likewise.
34467 * sunrpc/rpc_cmsg.c: Likewise.
34468 * sunrpc/rpc_common.c: Likewise.
34469 * sunrpc/rpc_dtable.c: Likewise.
34470 * sunrpc/rpc_prot.c: Likewise.
34471 * sunrpc/rpc_thread.c: Likewise.
34472 * sunrpc/rtime.c: Likewise.
34473 * sunrpc/svc.c: Likewise.
34474 * sunrpc/svc_auth.c: Likewise.
34475 * sunrpc/svc_raw.c: Likewise.
34476 * sunrpc/svc_run.c: Likewise.
34477 * sunrpc/svc_tcp.c: Likewise.
34478 * sunrpc/svc_udp.c: Likewise.
34479 * sunrpc/svc_unix.c: Likewise.
34480 * sunrpc/svcauth_des.c: Likewise.
34481 * sunrpc/xcrypt.c: Likewise.
34482 * sunrpc/xdr.c: Likewise.
34483 * sunrpc/xdr_array.c: Likewise.
34484 * sunrpc/xdr_float.c: Likewise.
34485 * sunrpc/xdr_intXX_t.c: Likewise.
34486 * sunrpc/xdr_mem.c: Likewise.
34487 * sunrpc/xdr_rec.c: Likewise.
34488 * sunrpc/xdr_ref.c: Likewise.
34489 * sunrpc/xdr_sizeof.c: Likewise.
34490 * sunrpc/xdr_stdio.c: Likewise.
34492 2012-05-10 Roland McGrath <roland@hack.frob.com>
34494 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
34495 change. Update copyright years.
34497 2012-05-10 Joseph Myers <joseph@codesourcery.com>
34499 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
34501 2012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
34502 Joseph Myers <joseph@codesourcery.com>
34503 Paul Pluzhnikov <ppluzhnikov@google.com>
34506 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
34508 [cross-compiling] (extra-libs): Likewise.
34509 [cross-compiling] (extra-libs-others): Likewise.
34510 [cross-compiling] (librpcsvc-routines): Likewise.
34511 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
34512 [cross-compiling] (omit-deps): Likewise.
34513 (sunrpc-CPPFLAGS): New variable.
34514 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
34515 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
34516 (cross-rpcgen-objs): New variable.
34517 (extra-objs): Append $(cross-rpcgen-objs).
34518 ($(cross-rpcgen-objs)): New rule.
34519 ($(objpfx)cross-rpcgen): Likewise.
34520 (rpcgen-cmd): Define to use $(built-program-file). Expand
34522 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
34523 ($(objpfx)x%.stmp): Likewise.
34524 * sunrpc/proto.h [IS_IN_build] (_): Define.
34525 [IS_IN_build] (_libc_intl_domainname): Likewise.
34527 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
34529 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
34530 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
34531 and R_X86_64_TPOFF64.
34533 2012-05-10 Joseph Myers <joseph@codesourcery.com>
34535 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
34536 sysdeps/unix/sysv/syscalls.list.
34539 * sysdeps/unix/sysv/syscalls.list: Remove file.
34541 2012-05-10 Paul Eggert <eggert@cs.ucla.edu>
34544 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
34545 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
34546 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
34547 (__LC_IDENTIFICATION): Make these macros useful in #if
34548 expressions, as required by C99.
34550 2012-05-10 Andreas Schwab <schwab@linux-m68k.org>
34552 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
34553 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
34556 2012-05-09 H.J. Lu <hongjiu.lu@intel.com>
34558 * stdlib/longlong.h: Updated from GCC.
34560 2012-05-09 Andreas Jaeger <aj@suse.de>
34562 * nscd/nscd.c (run_modes): Make named enum, reorder so that
34563 default is first entry.
34564 (run_mode): Set type.
34565 (main): Remove informal message about syslog.
34566 (options): Fix typo.
34569 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
34572 (llrintf): Likewise.
34573 (llrint): Likewise.
34576 (nearbyint): Likewise.
34577 (nearbyintf): Likewise.
34579 2012-05-09 Andreas Jaeger <aj@suse.de>
34580 Pedro Alves <palves@redhat.com>
34582 * nscd/nscd.c (run_mode): Use enum.
34583 (main): Cleanup coding style issue.
34585 2012-05-09 Alexandre Oliva <aoliva@redhat.com>
34586 Andreas Jaeger <aj@suse.de>
34588 * nscd/nscd.c (go_background): Replaced with...
34589 (run_mode): ... this.
34590 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
34591 (options): Add -F --foreground.
34592 (main): Implement it.
34593 (parse_opt): Parse it.
34595 2012-05-09 Andreas Jaeger <aj@suse.de>
34598 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
34599 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
34600 -Wconversion warning.
34601 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
34604 2012-05-09 Joseph Myers <joseph@codesourcery.com>
34606 * conform/data/locale.h-data (NULL): Use macro-constant. Require
34608 (LC_ALL): Use macro-int-constant.
34609 (LC_COLLATE): Likewise.
34610 (LC_CTYPE): Likewise.
34611 (LC_MESSAGES): Likewise.
34612 (LC_MONETARY): Likewise.
34613 (LC_NUMERIC): Likewise.
34614 (LC_TIME): Likewise.
34615 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
34616 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
34617 [ISO || ISO99 || ISO11] (*_t): Do not allow.
34618 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
34620 [C99-based standards] (float_t): Expect type.
34621 [C99-based standards] (double_t): Expect type.
34622 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
34624 [C99-based standards] (HUGE_VALL): Likewise.
34625 [C99-based standards] (INFINITY): Likewise.
34626 [C99-based standards] (NAN): Likewise.
34627 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
34628 [C99-based standards] (FP_NAN): Likewise.
34629 [C99-based standards] (FP_NORMAL): Likewise.
34630 [C99-based standards] (FP_SUBNORMAL): Likewise.
34631 [C99-based standards] (FP_ZERO): Likewise.
34632 [C99-based standards] (FP_FAST_FMA): Use
34633 optional-macro-int-constant. Specify type. Require == 1.
34634 [C99-based standards] (FP_FAST_FMAF): Likewise.
34635 [C99-based standards] (FP_FAST_FMAL): Likewise.
34636 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
34637 [C99-based standards] (FP_ILOGBNAN): Likewise.
34638 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
34640 [C99-based standards] (MATH_ERREXCEPT): Likewise.
34641 [C99-based standards] (math_errhandling): Specify type.
34642 [ISO99 || ISO11] (signgam): Do not allow.
34643 [non-C99-based standards] (copysignf): Do not allow.
34644 [non-C99-based standards] (exp2f): Likewise.
34645 [non-C99-based standards] (log2f): Likewise.
34646 [non-C99-based standards] (modff): Allow.
34647 [non-C99-based standards] (erff): Do not allow.
34648 [non-C99-based standards] (erfcf): Likewise.
34649 [non-C99-based standards] (gammaf): Likewise.
34650 [non-C99-based standards] (hypotf): Likewise.
34651 [non-C99-based standards] (j0f): Likewise.
34652 [non-C99-based standards] (j1f): Likewise.
34653 [non-C99-based standards] (jnf): Likewise.
34654 [non-C99-based standards] (lgammaf): Likewise.
34655 [non-C99-based standards] (tgammaf): Likewise.
34656 [non-C99-based standards] (y0f): Likewise.
34657 [non-C99-based standards] (y1f): Likewise.
34658 [non-C99-based standards] (ynf): Likewise.
34659 [non-C99-based standards] (isnanf): Likewise.
34660 [non-C99-based standards] (acoshf): Likewise.
34661 [non-C99-based standards] (asinhf): Likewise.
34662 [non-C99-based standards] (atanhf): Likewise.
34663 [non-C99-based standards] (cbrtf): Likewise.
34664 [non-C99-based standards] (expm1f): Likewise.
34665 [non-C99-based standards] (ilogbf): Likewise.
34666 [non-C99-based standards] (log1pf): Likewise.
34667 [non-C99-based standards] (logbf): Likewise.
34668 [non-C99-based standards] (nextafterf): Likewise.
34669 [non-C99-based standards] (remainderf): Likewise.
34670 [non-C99-based standards] (rintf): Likewise.
34671 [non-C99-based standards] (scalbf): Likewise.
34672 [non-C99-based standards] (copysignl): Likewise.
34673 [non-C99-based standards] (exp2l): Likewise.
34674 [non-C99-based standards] (log2l): Likewise.
34675 [non-C99-based standards] (modfl): Allow.
34676 [non-C99-based standards] (erfl): Do not allow.
34677 [non-C99-based standards] (erfcl): Likewise.
34678 [non-C99-based standards] (gammal): Likewise.
34679 [non-C99-based standards] (hypotl): Likewise.
34680 [non-C99-based standards] (j0l): Likewise.
34681 [non-C99-based standards] (j1l): Likewise.
34682 [non-C99-based standards] (jnl): Likewise.
34683 [non-C99-based standards] (lgammal): Likewise.
34684 [non-C99-based standards] (tgammal): Likewise.
34685 [non-C99-based standards] (y0l): Likewise.
34686 [non-C99-based standards] (y1l): Likewise.
34687 [non-C99-based standards] (ynl): Likewise.
34688 [non-C99-based standards] (isnanl): Likewise.
34689 [non-C99-based standards] (acoshl): Likewise.
34690 [non-C99-based standards] (asinhl): Likewise.
34691 [non-C99-based standards] (atanhl): Likewise.
34692 [non-C99-based standards] (cbrtl): Likewise.
34693 [non-C99-based standards] (expm1l): Likewise.
34694 [non-C99-based standards] (ilogbl): Likewise.
34695 [non-C99-based standards] (log1pl): Likewise.
34696 [non-C99-based standards] (logbl): Likewise.
34697 [non-C99-based standards] (nextafterl): Likewise.
34698 [non-C99-based standards] (remainderl): Likewise.
34699 [non-C99-based standards] (rintl): Likewise.
34700 [non-C99-based standards] (scalbl): Likewise.
34701 [ISO || ISO99 || ISO11] (*_t): Do not allow.
34702 [non-C99-based standards] (FP_*): Do not allow.
34703 [C99-based standards] (FP_*): Change to
34704 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
34705 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
34707 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
34708 (SIG_ERR): Likewise.
34709 [X/Open-based standards] (SIG_HOLD): Likewise.
34710 (SIG_IGN): Likewise.
34711 (SIGABRT): Use macro-int-constant. Specify type. Require
34713 (SIGFPE): Likewise.
34714 (SIGILL): Likewise.
34715 (SIGINT): Likewise.
34716 (SIGSEGV): Likewise.
34717 (SIGTER): Likewise.
34718 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
34719 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
34720 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
34721 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
34722 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
34723 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
34724 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
34725 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
34726 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
34727 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
34728 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
34729 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
34730 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
34731 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
34732 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
34733 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
34734 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
34735 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
34736 [X/Open-based standards] (SIGTRAP): Likewise.
34737 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
34738 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
34739 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
34740 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
34741 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
34744 2012-05-08 Ian Wienand <ianw@vmware.com>
34747 * time/tzset.c (__tzset_parse_tz): Update default rules for
34748 daylight time changes in the Energy Policy Act of 2005.
34750 2012-05-09 Andreas Jaeger <aj@suse.de>
34753 * elf/ldconfig.c (parse_conf): Change string to make clear that
34754 ldconfig only issued a warning if ld.so.conf does not exist.
34756 2012-05-08 David S. Miller <davem@davemloft.net>
34758 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
34759 movxtod instead of popping the value on the stack.
34761 * sysdeps/sparc/fpu/libm-test-ulps: Update.
34763 2012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
34765 * config.h.in: Add HAVE_ARM_PCS_VFP.
34767 2012-05-08 Roland Mc Grath <roland@hack.frob.com>
34770 * include/features.h: Warn if user requests __FORTIFY_SOURCE
34771 checking but the checks are disabled for any reason.
34773 2012-05-08 H.J. Lu <hongjiu.lu@intel.com>
34775 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
34776 and ELF64_R_TYPE with ELFW(R_TYPE).
34778 2012-05-08 Joseph Myers <joseph@codesourcery.com>
34780 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
34781 (ulimit): Likewise.
34783 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
34784 (settimeofday): Likewise.
34786 2012-05-08 Mike Frysinger <vapier@gentoo.org>
34788 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
34789 a struct th_u2 inside the union, and move tu_block/tu_code into
34790 a new th_u3 union of tu_block/tu_code inside of that. Move
34791 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
34792 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
34793 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
34794 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
34795 (th_stuff): Change to th_u1.tu_stuff.
34797 (th_msg): Change to th_u1.th_u2.tu_data.
34799 2012-05-07 David S. Miller <davem@davemloft.net>
34801 * sysdeps/sparc/fpu/libm-test-ulps: Update.
34804 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
34805 (SETUP_PIC_REG): Use it.
34806 (SETUP_PIC_REG_LEAF): Use it.
34808 2012-05-07 Joseph Myers <joseph@codesourcery.com>
34812 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
34814 (EXPL_FINITE): Likewise.
34815 (FLDLOG): Likewise.
34816 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
34817 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
34819 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
34821 (EXPL_FINITE): Likewise.
34822 (FLDLOG): Likewise.
34823 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
34824 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
34826 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
34827 test of -max_value argument for long double.
34828 * sysdeps/i386/fpu/libm-test-ulps: Update.
34829 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34831 2012-05-06 David S. Miller <davem@davemloft.net>
34833 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
34834 quad soft-float symbols whose references which are compiler
34836 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
34838 2012-05-06 Joseph Myers <joseph@codesourcery.com>
34842 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
34844 (EXPL_FINITE): Likewise.
34845 (FLDLOG): Likewise.
34848 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
34849 Adjust comments for base varying.
34850 (__expl_finite): Change alias to EXPL_FINITE.
34851 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
34853 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
34854 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
34855 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
34856 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
34857 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
34859 (EXPL_FINITE): Likewise.
34860 (FLDLOG): Likewise.
34863 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
34864 Adjust comments for base varying.
34865 (__expl_finite): Change alias to EXPL_FINITE.
34866 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
34868 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
34871 * math/libm-test.inc (check_float_internal): Correct ulp
34872 calculation for subnormal expected results.
34874 2012-05-06 Andreas Jaeger <aj@suse.de>
34876 * Makeconfig (+math-flags): New, set to -frounding-math.
34877 (+cflags): Add +math-flags so that all of glibc gets compiled with
34880 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
34882 2012-05-05 Joseph Myers <joseph@codesourcery.com>
34884 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
34890 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
34891 (__ieee754_expl): Allow for and saturate large arguments.
34892 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
34893 (u_threshold): Likewise.
34894 (__exp): Call __ieee754_exp before checking for overflow and
34896 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
34897 (u_threshold): Likewise.
34898 (__expf): Call __ieee754_expf before checking for overflow and
34900 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
34901 (u_threshold): Likewise.
34902 (__expl): Call __ieee754_expl before checking for overflow and
34904 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
34905 (__ieee754_expl): Allow for and saturate large arguments.
34906 * math/libm-test.inc (exp_test): Add another test. Do not allow
34907 missing overflow exception on overflow.
34908 (expm1_test): Do not allow missing overflow exception on overflow.
34910 * sysdeps/i386/fpu/e_expl.c: Move to ...
34911 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
34912 rather than using inline asm.
34913 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
34914 * sysdeps/x86_64/fpu/e_expl.S: Copy from
34915 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
34917 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
34920 (signal): Likewise.
34924 2012-05-04 Joseph Myers <joseph@codesourcery.com>
34926 * sysdeps/unix/syscalls.list (adjtime): Add entry from
34927 sysdeps/unix/common/syscalls.list.
34928 (fchmod): Likewise.
34929 (fchown): Likewise.
34930 (ftruncate): Likewise.
34931 (getrusage): Likewise.
34932 (gettimeofday): Likewise.
34933 (setpgid): Likewise.
34934 (setregid): Likewise.
34935 (setreuid): Likewise.
34936 (sigaction): Likewise.
34937 (truncate): Likewise.
34938 (vhangup): Likewise.
34939 * sysdeps/unix/common/syscalls.list: Remove file.
34940 * sysdeps/unix/bsd/Implies: Don't include unix/common.
34941 * sysdeps/unix/sysv/linux/Implies: Likewise.
34943 2012-05-04 H.J. Lu <hongjiu.lu@intel.com>
34945 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
34946 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
34947 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
34949 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
34951 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
34953 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
34954 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
34956 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
34957 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
34959 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
34960 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
34962 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
34963 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
34965 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
34966 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
34968 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
34969 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
34971 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
34973 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
34975 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
34977 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
34979 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
34980 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
34982 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
34984 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
34986 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
34988 2012-05-04 Joseph Myers <joseph@codesourcery.com>
34990 * sysdeps/unix/common/bits/dirent.h: Remove file.
34991 * sysdeps/unix/common/bits/fcntl.h: Likewise.
34993 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
34994 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
34995 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
34996 * sysdeps/unix/bsd/isatty.c: Likewise.
34997 * sysdeps/unix/bsd/tcdrain.c: Likewise.
34998 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
34999 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
35001 2012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
35004 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
35005 long double comparison inaccuracies.
35006 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
35007 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
35009 2012-05-04 Andreas Schwab <schwab@linux-m68k.org>
35011 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
35012 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
35014 2012-05-04 Joseph Myers <joseph@codesourcery.com>
35017 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
35018 nonzero digits before rounding a hex value.
35019 * stdlib/tst-strtod.c (tests): Add another test.
35021 2012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
35023 * sysdeps/s390/fpu/libm-test-ulps: Update.
35025 2012-05-03 Andreas Jaeger <aj@suse.de>
35027 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
35028 does not get optimized out.
35029 (malloc_opt_barrier): New.
35031 2012-05-03 Andreas Jaeger <aj@suse.de>
35032 Roland McGrath <roland@hack.frob.com>
35034 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
35035 intermediate file deletion.
35036 (generated): Add .symlist files.
35038 2012-05-03 Joseph Myers <joseph@codesourcery.com>
35041 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
35042 Redirect under this condition.
35043 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
35044 [__USE_GNU] (__dprintf_chk): Not under this condition.
35045 [__USE_GNU] (__vdprintf_chk): Likewise.
35046 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
35047 under this condition.
35048 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
35049 [__USE_XOPEN2K8] (dprintf): Define under this condition.
35050 [__USE_XOPEN2K8] (vdprintf): Likewise.
35051 [__USE_GNU] (__dprintf_chk): Not under this condition.
35052 [__USE_GNU] (__vdprintf_chk): Likewise.
35053 [__USE_GNU] (dprintf): Likewise.
35054 [__USE_GNU] (vdprintf): Likewise.
35056 2012-05-03 Roland McGrath <roland@hack.frob.com>
35058 * elf/Makefile (common-generated): Set this instead of generated for
35059 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
35060 $(all-built-dso)-derived lists.
35062 2012-05-03 Andreas Jaeger <aj@suse.de>
35064 * sysdeps/i386/fpu/libm-test-ulps: Update.
35067 * FAQ.in: Likewise.
35068 * scripts/gen-FAQ.pl: Likewise.
35069 * manual/install.texi (Installation): Point to online location of
35071 * Makefile (files-for-dist): Remove FAQ.
35074 2012-05-02 Allan McRae <allan@archlinux.org>
35076 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
35077 (LDFLAGS-reldepmod5.so): Likewise.
35078 (LDFLAGS-reldep6mod1.so): Likewise.
35079 (LDFLAGS-reldep6mod4.so): Likewise.
35080 (LDFLAGS-reldep8mod3.so): Likewise.
35081 (LDFLAGS-unload4mod1.so): Likewise.
35082 (LDFLAGS-unload4mod2.so): Likewise.
35083 (LDFLAGS-tst-initorder): Likewise.
35084 (LDFLAGS-tst-initordera2.so): Likewise.
35085 (LDFLAGS-tst-initordera3.so): Likewise.
35086 (LDFLAGS-tst-initordera4.so): Likewise.
35087 (LDFLAGS-tst-initorderb2.so): Likewise.
35088 (LDFLAGS-noload): Likewise.
35089 (LDFLAGS-next): Likewise.
35090 (LDFLAGS-order2mod1.so): Likewise.
35091 (LDFLAGS-order2mod2.so): Likewise.
35092 (LDFLAGS-tst-initorder2): Likewise.
35093 (LDFLAGS-tst-initorder2a.so): Likewise.
35094 (LDFLAGS-tst-initorder2b.so): Likewise.
35095 (LDFLAGS-tst-initorder2c.so): Likewise.
35096 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
35098 2012-05-02 David S. Miller <davem@davemloft.net>
35100 * sysdeps/sparc/fpu/libm-test-ulps: Update.
35102 2012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
35105 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
35107 2012-05-02 Andreas Jaeger <aj@suse.de>
35109 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
35110 since we manipulate rounding mode.
35111 (CPPFLAGS-test-idouble.c): Likewise.
35112 (CPPFLAGS-test-ifloat.c): Likewise.
35113 (CFLAGS-test-ldouble.c): Likewise.
35114 (CFLAGS-test-double.c): Likewise.
35115 (CFLAGS-test-float.c): Likewise.
35116 (CFLAGS-test-misc.c): Likewise.
35117 (CFLAGS-test-test-fenv.c): Likewise.
35119 2012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
35123 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
35124 comparisons to determine direction to adjust input.
35126 2012-05-01 Roland McGrath <roland@hack.frob.com>
35128 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
35129 output to the target.
35131 * scripts/localplt.awk: New file.
35132 * elf/Makefile ($(objpfx)check-localplt): Target removed.
35133 (check-localplt-CFLAGS): Variable removed.
35134 ($(all-built-dso:=.jmprel)): New static pattern rule.
35135 (generated): Add those targets.
35136 (localplt-built-dso): New variable.
35137 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
35139 * elf/check-localplt.c: File removed.
35141 * scripts/check-execstack.awk: New file.
35142 * elf/Makefile ($(objpfx)check-execstack): Target removed.
35143 (check-execstack-CFLAGS): Variable removed.
35144 ($(objpfx)check-execstack.h): Target removed.
35145 ($(objpfx)execstack-default): New target.
35146 (generated): Add that instead of check-execstack.h.
35147 ($(all-built-dso:=.phdr)): New static pattern rule.
35148 (generated): Add those targets.
35149 * elf/check-execstack.c: File removed.
35151 * scripts/check-textrel.awk: New file.
35152 * elf/Makefile ($(objpfx)check-textrel): Target removed.
35153 (check-textrel-CFLAGS): Variable removed.
35154 (all-built-dso): Use := to define.o
35155 ($(all-built-dso:=.dyn)): New static pattern rule.
35156 (generated): Add those targets.
35157 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
35158 * config.make.in (READELF): New substituted variable.
35159 * elf/check-textrel.c: File removed.
35161 2012-05-01 Joseph Myers <joseph@codesourcery.com>
35163 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
35165 * conform/data/ctype.h-data [C99-based standards] (isblank):
35167 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
35168 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
35169 [ISO || ISO99 || ISO11] (*_t): Do not allow.
35170 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
35171 Specify type. Require positive value.
35172 (EILSEQ): Likewise.
35173 (ERANGE): Likewise.
35174 [ISO || POSIX] (EILSEQ): Do not expect.
35175 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
35176 Specify type. Require positive value.
35177 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
35178 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
35179 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
35180 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
35181 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
35182 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
35183 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
35184 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
35185 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
35186 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
35187 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
35188 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
35189 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
35190 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
35191 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
35192 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
35193 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
35194 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
35195 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
35196 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
35197 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
35198 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
35199 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
35200 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
35201 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
35202 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
35203 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
35204 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
35205 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
35206 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
35207 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
35208 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
35209 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
35210 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
35211 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
35212 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
35213 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
35214 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
35215 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
35216 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
35217 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
35218 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
35219 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
35220 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
35221 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
35222 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
35223 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
35224 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
35225 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
35226 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
35227 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
35228 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
35229 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
35230 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
35231 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
35232 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
35233 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
35234 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
35235 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
35236 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
35237 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
35238 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
35239 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
35240 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
35241 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
35242 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
35243 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
35244 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
35245 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
35246 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
35247 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
35248 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
35249 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
35250 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
35251 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
35252 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
35253 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
35255 (FLT_ROUNDS): Expect as macro, not constant.
35256 (FLT_MANT_DIG): Use macro-int-constant.
35257 (DBL_MANT_DIG): Likewise.
35258 (LDBL_MANT_DIG): Likewise.
35259 (FLT_DIG): Likewise.
35260 (DBL_DIG): Likewise.
35261 (LDBL_DIG): Likewise.
35262 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
35263 (DBL_MIN_EXP): Likewise.
35264 (LDBL_MIN_EXP): Likewise.
35265 (FLT_MAX_EXP): Use macro-int-constant.
35266 (DBL_MAX_EXP): Likewise.
35267 (LDBL_MAX_EXP): Likewise.
35268 (FLT_MAX_10_EXP): Likewise.
35269 (DBL_MAX_10_EXP): Likewise.
35270 (LDBL_MAX_10_EXP): Likewise.
35271 (FLT_MAX): Use macro-constant.
35272 (DBL_MAX): Likewise.
35273 (LDBL_MAX): Likewise.
35274 (FLT_EPSILON): Use macro-constant. Give upper bound.
35275 (DBL_EPSILON): Likewise.
35276 (LDBL_EPSILON): Likewise.
35277 (FLT_MIN): Likewise.
35278 (DBL_MIN): Likewise.
35279 (LDBL_MIN): Likewise.
35280 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
35281 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
35282 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
35283 [ISO11] (FLT_HAS_SUBNORM): Likewise.
35284 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
35285 [ISO11] (DBL_DECIMAL_DIG): Likewise.
35286 [ISO11] (FLT_DECIMAL_DIG): Likewise.
35287 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
35288 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
35289 [ISO11] (FLT_TRUE_MIN): Likewise.
35290 [ISO11] (LDBL_TRUE_MIN): Likewise.
35291 [ISO || ISO99 || ISO11] (*_t): Do not allow.
35292 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
35293 (SCHAR_MIN): Use macro-int-constant. Specify type.
35294 (SCHAR_MAX): Likewise.
35295 (UCHAR_MAX): Likewise.
35296 (CHAR_MIN): Likewise.
35297 (CHAR_MAX): Likewise.
35298 (MB_LEN_MAX): Use macro-int-constant.
35299 (SHRT_MIN): Use macro-int-constant. Specify type.
35300 (SHRT_MAX): Likewise.
35301 (USHRT_MAX): Likewise.
35302 (INT_MAX): Likewise.
35303 (INT_MIN): Use macro-int-constant. Specify type. Make upper
35305 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
35307 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
35309 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
35310 bound negative. Suffix upper bound with "L".
35311 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
35313 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
35315 [C99-based standards] (LLONG_MAX): Likewise.
35316 [C99-based standards] (ULLONG_MAX): Likewise.
35317 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
35319 [ISO11] (max_align_t): Require type.
35320 [ISO || ISO99 || ISO11] (*_t): Do not allow.
35322 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
35323 from $CFLAGS, without defining away __attribute__ calls.
35324 (checknamespace): Use $CFLAGS_namespace.
35326 * conform/conformtest.pl (@keywords): Only include C99 keywords
35327 for standards based on C99 or C11.
35329 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
35331 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
35334 * conform/conformtest.pl: Handle "macro-int-constant" and test for
35335 usability of symbols in #if.
35337 * conform/conformtest.pl: If macro or constant types start
35338 "promoted:", expect the symbol to be of the following type
35339 promoted by the integer promotions.
35341 * conform/conformtest.pl: Parse all "constant" and "macro" lines
35342 in one place. Also handle "macro-constant".
35344 * conform/conformtest.pl: Only accept expected macro values with
35345 "==". Parse all "macro" lines in one place.
35346 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
35348 * conform/conformtest.pl: Handle braced types on "constant" lines
35349 instead of handling "typed-constant".
35350 * conform/data/signal.h-data: Use "constant" instead of
35353 * conform/conformtest.pl: Handle "optional-" at start of lines in
35354 one place rather than duplicating several cases. Handle each
35355 format of "macro" line with initial "optional-".
35357 * conform/conformtest.pl: Only accept expected constant or
35358 optional-constant values with "==". Parse all "constant" lines in
35359 one place. Parse all "optional-constant" lines in one place.
35360 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
35361 * conform/data/fmtmsg.h-data: Likewise.
35362 * conform/data/netinet/in.h-data: Likewise.
35363 * conform/data/tar.h-data: Likewise.
35364 * conform/data/limits.h-data: Use "==" form on "constant" and
35365 "optional-constant" lines.
35367 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
35368 Use -std=c99 for XOPEN2K.
35369 (@knownproblems): Remove.
35370 (newtoken): Don't check %isknown.
35372 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
35373 Do not expect macro.
35374 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
35375 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
35376 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
35377 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
35378 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
35379 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
35380 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
35381 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
35382 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
35383 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
35384 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
35385 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
35386 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
35387 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
35388 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
35389 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
35390 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
35391 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
35392 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
35393 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
35394 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
35395 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
35396 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
35397 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
35398 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
35399 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
35400 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
35401 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
35402 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
35403 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
35404 [XPG3] (acosh): Likewise.
35405 [XPG3] (asinh): Likewise.
35406 [XPG3] (atanh): Likewise.
35407 [XPG3] (cbrt): Likewise.
35408 [XPG3] (expm1): Likewise.
35409 [XPG3] (ilogb): Likewise.
35410 [XPG3] (log1p): Likewise.
35411 [XPG3] (logb): Likewise.
35412 [XPG3] (nextafter): Likewise.
35413 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
35414 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
35415 [XPG3] (remainder): Likewise.
35416 [XPG3] (rint): Likewise.
35417 [XPG3 || XPG4 || UNIX98] (round): Likewise.
35418 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
35419 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
35420 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
35421 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
35422 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
35423 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
35424 [UNIX98 || XOPEN2K] (scalb): Expect.
35425 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
35426 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
35427 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
35428 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
35429 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
35430 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
35431 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
35432 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
35433 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
35434 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
35435 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
35436 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
35437 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
35438 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
35439 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
35440 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
35441 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
35442 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
35443 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
35444 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
35445 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
35446 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
35447 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
35448 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
35449 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
35450 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
35451 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
35452 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
35453 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
35454 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
35455 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
35456 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
35457 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
35458 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
35459 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
35460 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
35461 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
35462 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
35463 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
35464 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
35465 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
35466 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
35467 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
35468 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
35469 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
35470 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
35471 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
35472 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
35473 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
35474 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
35475 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
35476 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
35477 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
35478 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
35479 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
35480 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
35481 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
35482 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
35483 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
35484 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
35485 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
35486 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
35487 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
35488 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
35489 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
35490 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
35491 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
35492 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
35493 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
35494 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
35495 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
35496 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
35497 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
35498 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
35499 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
35500 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
35501 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
35502 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
35503 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
35504 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
35505 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
35506 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
35507 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
35508 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
35509 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
35510 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
35511 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
35512 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
35513 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
35514 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
35515 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
35516 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
35517 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
35518 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
35519 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
35520 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
35521 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
35522 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
35523 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
35524 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
35525 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
35526 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
35527 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
35528 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
35529 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
35530 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
35531 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
35532 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
35533 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
35534 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
35535 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
35536 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
35537 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
35538 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
35539 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
35540 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
35541 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
35542 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
35543 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
35544 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
35545 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
35546 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
35547 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
35548 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
35549 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
35550 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
35551 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
35552 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
35553 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
35554 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
35555 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
35556 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
35557 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
35558 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
35559 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
35560 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
35561 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
35563 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
35564 _XOPEN_SOURCE_EXTENDED for XPG4.
35566 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
35568 * Makeconfig (localtime): Remove variable.
35569 (inst_localtime-file): Likewise.
35571 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
35573 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
35575 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
35577 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
35579 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
35581 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
35583 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
35585 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
35587 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
35589 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
35592 2012-05-01 Joseph Myers <joseph@codesourcery.com>
35596 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
35597 comparisons to determine direction to adjust input.
35598 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
35599 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
35600 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
35602 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
35604 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
35606 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
35607 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
35609 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
35611 * math/libm-test.inc (nexttoward_test): Add more tests.
35613 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
35616 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
35617 in version GLIBC_2.1, not GLIBC_2.0.
35618 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
35621 2012-04-30 Joseph Myers <joseph@codesourcery.com>
35624 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
35626 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
35627 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
35628 * math/libm-test.inc (acos_test): Add more tests.
35629 (asin_test): Likewise.
35630 * sysdeps/i386/fpu/libm-test-ulps: Update.
35631 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35634 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
35636 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
35637 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
35638 * math/libm-test.inc (acos_test_tonearest): New function.
35639 (acos_test_towardzero): Likewise.
35640 (acos_test_downward): Likewise.
35641 (acos_test_upward): Likewise.
35642 (asin_test_tonearest): Likewise.
35643 (asin_test_towardzero): Likewise.
35644 (asin_test_downward): Likewise.
35645 (asin_test_upward): Likewise.
35646 (main): Call the new functions.
35647 * sysdeps/i386/fpu/libm-test-ulps: Update.
35648 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
35652 * math/e_exp10.c: Include <float.h>.
35653 (__ieee754_exp10): Handle underflow here rather than multiplying
35654 large negative argument by M_LN10.
35655 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
35657 * math/e_exp10l.c: Include <float.h>.
35658 (__ieee754_exp10l): Handle underflow here rather than multiplying
35659 large negative argument by M_LN10l.
35660 * math/libm-test.inc (exp10_test): Add another test. Do not allow
35661 spurious overflow exception on underflow.
35663 2012-04-29 Marek Polacek <polacek@redhat.com>
35665 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
35666 (__fortify_function): New macro.
35667 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
35668 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
35669 __extern_always_inline.
35670 * libio/bits/stdio2.h: Likewise.
35671 * libio/bits/stdio.h: Likewise.
35672 * string/string.h: Likewise.
35673 * string/bits/string3.h: Likewise.
35674 * include/stdio.h: Likewise.
35675 * stdlib/bits/stdlib.h: Likewise.
35676 * stdlib/stdlib.h: Likewise.
35677 * rt/bits/mqueue2.h: Likewise.
35678 * rt/mqueue.h: Likewise.
35679 * posix/bits/unistd.h: Likewise.
35680 * posix/unistd.h: Likewise.
35681 * io/bits/poll2.h: Likewise.
35682 * io/bits/fcntl2.h: Likewise.
35683 * io/fcntl.h: Likewise.
35684 * io/sys/poll.h: Likewise.
35685 * misc/bits/syslog.h: Likewise.
35686 * misc/bits/syslog-ldbl.h: Likewise.
35687 * misc/sys/syslog.h: Likewise.
35688 * socket/bits/socket2.h: Likewise.
35689 * socket/sys/socket.h: Likewise.
35690 * debug/tst-chk1.c: Likewise.
35691 * wcsmbs/bits/wchar2.h: Likewise.
35692 * wcsmbs/bits/wchar-ldbl.h: Likewise.
35693 * wcsmbs/wchar.h: Likewise.
35695 2012-04-29 Andreas Jaeger <aj@suse.de>
35697 * Makerules (tests): Remove enable-check-abi protection.
35698 (check-abi-warn): Remove.
35699 (check-abi-%): Remove check-abi-warn usage.
35701 * configure.in: Remove check-abi configure option.
35702 * configure: Regenerated.
35703 * config.make.in (enable-check-abi): Remove.
35705 2012-04-28 Andreas Schwab <schwab@linux-m68k.org>
35708 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
35709 double functions to double *_finite functions.
35712 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
35713 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
35715 * stdio-common/Makefile (tests): Add tst-sprintf3.
35716 * stdio-common/tst-sprintf3.c: New file.
35718 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
35719 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
35721 2012-04-28 Joseph Myers <joseph@codesourcery.com>
35723 * conform/conformtest.pl: Remove duplicate typed-constant
35726 2012-04-28 David S. Miller <davem@davemloft.net>
35728 * Makerules (%.abilist): Add vpath on sysdep_dirs.
35729 (check-abi-%): Remove AWK script prerequisite and explicit
35731 (check-abi): Rewrite to just diff the symlist with the abilist.
35732 (config-tls, config-abi-config): Delete, no longer used.
35733 (update-abi-%): Remove AWK script and explicit abilist directory.
35734 (update-abi): Rewrite to simply compare and conditionally copy the
35735 symlist and the sysdep abilist file. Remove update-abi-config
35737 * abilist/ld.abilist: Remove.
35738 * abilist/libBrokenLocale.abilist: Remove.
35739 * abilist/libanl.abilist: Remove.
35740 * abilist/libcrypt.abilist: Remove.
35741 * abilist/libdl.abilist: Remove.
35742 * abilist/librt.abilist: Remove.
35743 * abilist/libthread_db.abilist: Remove.
35744 * abilist/libutil.abilist: Remove.
35745 * scripts/extract-abilist.awk: Remove.
35746 * scripts/merge-abilist.awk: Remove.
35747 * sysdeps/generic/libcidn.abilist: New file.
35748 * sysdeps/generic/libnss_compat.abilist: New file.
35749 * sysdeps/generic/libnss_db.abilist: New file.
35750 * sysdeps/generic/libnss_dns.abilist: New file.
35751 * sysdeps/generic/libnss_files.abilist: New file.
35752 * sysdeps/generic/libnss_hesiod.abilist: New file.
35753 * sysdeps/generic/libnss_nis.abilist: New file.
35754 * sysdeps/generic/libnss_nisplus.abilist: New file.
35755 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
35756 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
35757 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
35759 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
35760 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
35761 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
35762 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
35763 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
35764 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
35765 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
35766 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
35767 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
35769 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
35770 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
35771 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
35772 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
35774 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
35775 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
35776 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
35777 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
35778 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
35779 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
35781 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
35782 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
35783 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
35785 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
35786 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
35788 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
35790 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
35792 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
35794 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
35796 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
35798 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
35800 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
35802 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
35804 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
35806 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
35808 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
35810 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
35812 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
35814 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
35816 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
35818 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
35820 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
35822 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
35824 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
35826 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
35828 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
35830 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
35832 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
35834 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
35836 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
35838 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
35839 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
35841 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
35843 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
35845 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
35847 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
35849 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
35851 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
35853 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
35855 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
35857 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
35859 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
35861 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
35863 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
35864 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
35866 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
35868 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
35870 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
35872 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
35874 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
35876 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
35878 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
35880 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
35882 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
35884 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
35886 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
35888 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
35889 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
35890 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
35892 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
35893 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
35894 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
35895 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
35896 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
35897 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
35898 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
35899 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
35900 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
35901 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
35902 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
35903 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
35905 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
35907 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
35909 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
35911 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
35913 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
35915 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
35917 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
35919 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
35921 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
35923 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
35925 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
35927 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
35928 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
35930 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
35932 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
35934 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
35936 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
35938 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
35940 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
35942 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
35944 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
35946 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
35948 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
35950 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
35953 2012-04-28 Joseph Myers <joseph@codesourcery.com>
35955 * conform/conformtest.pl: Fix typo in handling typed-constant from
35958 2012-04-27 Joseph Myers <joseph@codesourcery.com>
35960 * README: Cut down references to pre-2.6 Linux kernels and
35961 Linuxthreads. Update lists of configurations in libc and ports
35962 and sort alphabetically. Say "or newer" with Linux kernel version
35965 * config.h.in [IS_IN_build]: Allow compiling without optimization.
35967 2012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
35970 * math/libm-test.inc (logb_test_downward): New test to expose
35971 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
35974 2012-04-27 Joseph Myers <joseph@codesourcery.com>
35977 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
35979 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
35980 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
35982 2012-04-26 Joseph Myers <joseph@codesourcery.com>
35984 * sysdeps/unix/i386/brk.S: Remove file.
35985 * sysdeps/unix/i386/dl-brk.S: Likewise.
35986 * sysdeps/unix/i386/pipe.S: Likewise.
35987 * sysdeps/unix/i386/sigreturn.S: Likewise.
35988 * sysdeps/unix/i386/syscall.S: Likewise.
35989 * sysdeps/unix/i386/vfork.S: Likewise.
35990 * sysdeps/unix/i386/wait.S: Likewise.
35992 * sysdeps/unix/common/tcsendbrk.c: Move to ...
35993 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
35995 * configure.in (arm*-none*): Do not allow without
35996 --enable-hacker-mode.
35997 (netbsd*): Remove case setting base_os.
35998 (386bsd*): Likewise.
35999 (freebsd*): Likewise.
36002 (sunos*): Likewise.
36003 (ultrix*): Likewise.
36004 (newsos*): Likewise.
36005 (dynix*): Likewise.
36011 (minix*): Likewise.
36012 (irix4*): Likewise.
36013 (irix6*): Likewise.
36014 (solaris[2-9]*): Likewise.
36016 * configure: Regenerated.
36018 2012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
36021 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
36022 overflow or cancellation in calculating denominator.
36023 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
36024 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
36025 down expression to avoid unexpected rounding in newer GCCs.
36026 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
36028 2012-04-26 David S. Miller <davem@davemloft.net>
36030 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
36031 long-double compat symbols.
36032 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
36033 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
36034 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
36035 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
36036 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
36037 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
36038 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
36039 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
36040 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
36041 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
36042 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
36043 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
36044 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
36046 2012-04-25 David S. Miller <davem@davemloft.net>
36048 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
36049 HWCAP_* values only after the memory barriers have been defined.
36050 (atomic_full_barrier): Define.
36051 (atomic_read_barrier): Define.
36052 (atomic_write_barrier): Define.
36054 2012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
36056 * shlib-versions: Add libgcc_s version information.
36057 * sysdeps/generic/libgcc_s.h: Remove.
36058 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
36060 * sysdeps/gnu/unwind-resume.c: Likewise.
36061 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
36063 2012-04-25 David S. Miller <davem@davemloft.net>
36065 * sysdeps/unix/sparc/brk.S: Delete.
36066 * sysdeps/unix/sparc/dl-brk.S: Delete.
36067 * sysdeps/unix/sparc/pipe.S: Delete.
36068 * sysdeps/unix/sparc/sysdep.S: Delete.
36069 * sysdeps/unix/sparc/sysdep.h: Delete.
36070 * sysdeps/unix/sparc/vfork.S: Delete.
36071 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG)
36072 (SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
36073 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO)
36074 (ret_ERRVAL, r0, r1, MOVE): Define.
36075 (JUMPTARGET): Remove.
36076 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
36077 sysdeps/unix/sparc/sysdep.h
36078 (ENTRY, END): Remove.
36079 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
36081 2012-04-25 Joseph Myers <joseph@codesourcery.com>
36083 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
36084 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
36087 * timezone/README: Update upstream location and email address for
36089 * timezone/zdump.c: Update from tzcode 2012b.
36090 * timezone/zic.c: Likewise.
36092 * configure.in (libc_cv_as_needed): Remove test.
36093 * configure: Regenerated.
36094 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
36095 conditional definition.
36096 [$(have-as-needed) != yes] (no-as-needed): Likewise.
36097 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
36098 * config.make.in (have-as-needed): Remove variable.
36100 2012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
36101 Paul Pluzhnikov <ppluzhnikov@google.com>
36103 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
36106 2012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
36108 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
36109 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
36110 * sysdeps/sh/strlen.S: Likewise.
36112 2012-04-24 Joseph Myers <joseph@codesourcery.com>
36114 * sysdeps/unix/fork.S: Remove file.
36115 * sysdeps/unix/i386/fork.S: Likewise.
36116 * sysdeps/unix/sparc/fork.S: Likewise.
36118 * sysdeps/unix/system.c: Remove file.
36119 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
36121 * sysdeps/unix/getegid.S: Remove file.
36122 * sysdeps/unix/geteuid.S: Likewise.
36124 2012-04-24 Roland McGrath <roland@hack.frob.com>
36126 * scripts/check-localplt.awk: New file.
36127 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
36129 * scripts/data/localplt-generic.data: Add a comment.
36131 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
36132 NODE when __dir_mkfile failed.
36133 * sysdeps/mach/hurd/symlinkat.c: Likewise.
36134 Reported by Ludovic Courtès <ludo@gnu.org>.
36136 2012-04-24 Andreas Jaeger <aj@suse.de>
36138 * Makerules (common-clean): Also remove gen-as-const-headers
36141 2012-04-24 Joseph Myers <joseph@codesourcery.com>
36143 * Makerules (native-compile): Do not change working directory for
36144 build. Use $(OUTPUT_OPTION) in command.
36145 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
36147 2012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
36150 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
36151 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
36152 * math/libm-test.inc (floor_test): Add more tests.
36153 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
36155 2012-04-24 Joseph Myers <joseph@codesourcery.com>
36157 * sysdeps/unix/getdents.c: Remove file.
36158 * sysdeps/unix/sysv/getdents.c: Likewise.
36159 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
36161 * sysdeps/unix/syscalls.list (madvise): Add syscall from
36162 sysdeps/unix/mman/syscalls.list.
36164 (mprotect): Likewise.
36166 (munmap): Likewise.
36167 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
36168 * sysdeps/unix/mman/syscalls.list: Remove.
36169 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
36171 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
36172 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
36173 * configure: Regenerated.
36174 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
36175 $(libgcc_s_suffix).
36176 * config.make.in (libgcc_s_suffix): Remove variable.
36178 2012-04-23 Joseph Myers <joseph@codesourcery.com>
36180 * sysdeps/unix/sysv/gethostname.c: Move to ...
36181 * sysdeps/posix/gethostname.c: ... here.
36183 * sysdeps/unix/execve.S: Remove file.
36185 * sysdeps/unix/_exit.S: Remove file.
36187 2012-04-23 Andreas Jaeger <aj@suse.de>
36190 * manual/Makefile: Remove make dist support, there's no
36191 need for a stand-alone documentation tar ball.
36192 (TEXI2DVI): Define always, it's not in Makeconfig.
36195 (edition): Removed.
36196 (glibc-doc-$(edition).tar): Removed
36200 (ETAGS): Remove, it's in Makeconfig.
36201 (move-if-change): Remove, it's in Makeconfig.
36203 2012-04-23 Paul Eggert <eggert@cs.ucla.edu>
36206 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
36207 (strtod, strtof, strtold, strtol, strtoul, strtoq)
36208 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
36209 (strtod_l, strtof_l, strtold_l): Remove __wur.
36210 It is not necessarily an error to ignore strtol's return value.
36211 One can reliably look at the stored endptr to decide whether
36212 the number had valid syntax.
36214 2012-04-21 Andreas Jaeger <aj@suse.de>
36217 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
36219 2012-04-21 Joseph Myers <joseph@codesourcery.com>
36221 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
36222 * sysdeps/unix/sysv/Versions: Remove file.
36224 2012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
36227 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
36229 2012-04-21 Nick Alcock <nick.alcock@oracle.com>
36232 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
36233 version from __vm86.
36235 2012-04-20 Joseph Myers <joseph@codesourcery.com>
36237 * sysdeps/unix/common/lxstat.c: Remove file.
36238 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
36240 * sysdeps/unix/sysv/Makefile: Remove file.
36242 * sysdeps/unix/sysv/direct.h: Remove file.
36244 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
36245 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
36246 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
36247 * sysdeps/unix/sysv/bits/signum.h: Likewise.
36248 * sysdeps/unix/sysv/bits/stat.h: Likewise.
36249 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
36250 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
36252 * sysdeps/unix/sysv/setrlimit.c: Remove file.
36254 * sysdeps/unix/xmknod.c: Remove file.
36255 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
36257 * sysdeps/unix/sysv/settimeofday.c: Remove file.
36259 * sysdeps/unix/sysv/i386/time.S: Remove file.
36261 * sysdeps/unix/fxstat.c: Remove file.
36262 * sysdeps/unix/xstat.c: Likewise.
36263 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
36265 * sysdeps/unix/sysv/sigaction.c: Remove file.
36267 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
36268 (sysdep_headers): Remove variable.
36269 [termio.h not in sysdep_headers] (generated): Likewise.
36270 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
36271 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
36272 * sysdeps/unix/sysv/tcdrain.c: Likewise.
36273 * sysdeps/unix/sysv/tcflow.c: Likewise.
36274 * sysdeps/unix/sysv/tcflush.c: Likewise.
36275 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
36276 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
36277 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
36278 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
36279 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
36281 * sysdeps/unix/siglist.c: Remove file.
36283 * sysdeps/unix/getppid.S: Remove file.
36285 * sysdeps/unix/mkdir.c: Remove file.
36286 * sysdeps/unix/rmdir.c: Likewise.
36288 2012-04-19 Andreas Schwab <schwab@linux-m68k.org>
36290 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
36292 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
36293 errlist-compat value.
36295 2012-04-18 David S. Miller <davem@davemloft.net>
36297 * sysdeps/generic/memcopy.h (reg_char): Delete.
36298 * debug/strcat_chk.c: Use char, not reg_char.
36299 * debug/strcpy_chk.c: Likewise.
36300 * debug/strncat_chk.c: Likewise.
36301 * debug/strncpy_chk.c: Likewise.
36302 * string/memchr.c: Likewise.
36303 * string/memrchr.c: Likewise.
36304 * string/rawmemchr.c: Likewise.
36305 * string/strcat.c: Likewise.
36306 * string/strchr.c: Likewise.
36307 * string/strchrnul.c: Likewise.
36308 * string/strcmp.c: Likewise.
36309 * string/strcpy.c: Likewise.
36310 * string/strncat.c: Likewise.
36311 * string/strncmp.c: Likewise.
36312 * string/strncpy.c: Likewise.
36314 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
36316 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
36317 __builtin_memcopy is called when src and dest ranges are known to not
36320 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
36322 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
36323 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
36324 fwd_align_merge macro call.
36325 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
36326 bwd_align_merge macro call.
36327 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
36329 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
36331 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
36332 bwd_align_merge macros.
36333 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
36334 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
36335 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
36337 2012-04-18 David S. Miller <davem@davemloft.net>
36339 * sysdeps/sparc/sparc64/memcopy.h: Delete.
36341 2012-04-18 Andreas Jaeger <aj@suse.de>
36344 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
36345 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
36346 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
36348 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
36349 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
36350 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
36352 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
36353 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
36354 Adjust for changed ldbl-128 files.
36356 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
36357 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
36358 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
36360 2012-04-17 David S. Miller <davem@davemloft.net>
36362 * sysdeps/sparc/sparc32/memcopy.h: Delete.
36364 2012-04-17 Andreas Schwab <schwab@linux-m68k.org>
36366 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
36367 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
36368 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
36369 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
36370 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
36371 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
36373 2012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
36376 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
36377 * math/libm-test.inc: Add ilogb errno and exception tests.
36378 * math/w_ilogb.c: New file: ilogb wrapper.
36379 * math/w_ilogbf.c: New file: ilogbf wrapper.
36380 * math/w_ilogbl.c: New file: ilogbl wrapper.
36381 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
36382 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
36383 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
36384 exception being thrown with 0.0 as argument.
36385 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
36386 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
36387 exception being thrown with 0.0 as argument.
36388 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
36389 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
36390 exception being thrown with 0.0 as argument.
36391 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
36392 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
36393 exception being thrown with 0.0 as argument.
36394 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
36395 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
36396 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
36397 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
36398 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
36399 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
36400 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
36401 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
36402 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
36404 2012-04-17 Petr Baudis <pasky@ucw.cz>
36406 * include/sys/uio.h: Change __vector to __iovec to avoid clash
36409 2012-04-16 Marek Polacek <polacek@redhat.com>
36411 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
36413 2012-04-16 Marek Polacek <polacek@redhat.com>
36415 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
36416 operands of fdivp instruction.
36418 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
36420 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
36421 * elf/tst-auditmod3b.c: Likewise.
36422 * elf/tst-auditmod4b.c: Likewise.
36423 * elf/tst-auditmod5b.c: Likewise.
36424 * elf/tst-auditmod6b.c: Likewise.
36425 * elf/tst-auditmod6c.c: Likewise.
36426 * elf/tst-auditmod7b.c: Likewise.
36427 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
36428 * sysdeps/x86_64/preconfigure.in: Likewise.
36429 * sysdeps/x86_64/preconfigure: Regenerated.
36431 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
36433 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
36436 2012-04-13 Antoine Balestrat <merkil33@gmail.com>
36438 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
36439 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
36441 2012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
36444 * locale/iso-639.def: Fix gl language name. Spotted by
36447 2012-04-12 Roland McGrath <roland@hack.frob.com>
36450 * libio/libio.h (__io_write_fn): Update comment.
36452 2012-04-12 Petr Baudis <pasky@ucw.cz>
36455 * stdio.texi (Hook Functions): The user provided writer function
36456 is not allowed to return -1.
36458 2012-04-11 David S. Miller <davem@davemloft.net>
36460 * sysdeps/sparc/fpu/libm-test-ulps: Update.
36462 2012-04-11 Mike Frysinger <vapier@gentoo.org>
36464 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
36465 Add a leading slash to rtkaio.
36467 2012-04-11 Jim Meyering <meyering@redhat.com>
36470 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
36471 It is not necessarily an error to ignore fwrite's return
36472 value. One can reliably use ferror to test for errors after
36475 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
36477 * bits/types.h (__snseconds_t): New type.
36478 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
36480 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
36481 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
36482 (__SNSECONDS_T_TYPE): Likewise.
36483 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
36484 (__SNSECONDS_T_TYPE): Likewise.
36485 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
36486 (__SNSECONDS_T_TYPE): Likewise.
36488 2012-04-10 Andreas Jaeger <aj@suse.de>
36491 * manual/time.texi (Processor Time): Return type of times is
36492 elapsed real time since an arbitrary point in the past.
36493 (CPU Time): Move CLK_TCK from here...
36494 (Processor Time): ...to here. Correct description.
36495 * manual/conf.texi (Constants for Sysconf): Correct description of
36498 2012-04-10 David S. Miller <davem@davemloft.net>
36501 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
36502 where the is a gap between DT_REL(A) and DT_JMPREL.
36504 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
36506 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
36507 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
36508 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
36510 2012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
36512 * elf/dl-support.c (_dl_inhibit_cache): New variable.
36513 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
36514 (dl_main): Handle --inhibit-cache.
36515 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
36517 * elf/dl-load.c (_dl_map_object): Use it.
36518 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
36520 2012-04-09 Joseph Myers <joseph@codesourcery.com>
36523 * sysdeps/i386/fpu/e_powl.S (p78): New object.
36524 (__ieee754_powl): Saturate large exponents rather than testing for
36525 overflow of y*log2(x).
36526 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
36527 * math/libm-test.inc (pow_test): Do not permit spurious overflow
36531 * math/s_ctan.c: Include <float.h>.
36532 (__ctan): Avoid internal overflow or cancellation in calculating
36534 * math/s_ctanf.c: Likewise.
36535 * math/s_ctanl.c: Likewise.
36536 * math/s_ctanh.c: Likewise.
36537 * math/s_ctanhf.c: Likewise.
36538 * math/s_ctanhl.c: Likewise.
36539 * math/libm-test.inc (ctan_test): Add more tests.
36540 (ctanh_test): Likewise.
36541 * sysdeps/i386/fpu/libm-test-ulps: Update.
36542 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36544 2012-04-09 Andreas Jaeger <aj@suse.de>
36547 * manual/filesys.texi (Directory Entries): Mention that d_namlen
36548 is an optional BSD extension.
36551 * manual/stdio.texi (Opening Streams): Document additional fopen
36554 2012-04-09 Roland McGrath <roland@hack.frob.com>
36556 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
36557 %eax without telling the compiler.
36559 2012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
36562 * manual/install.texi: Use sourceware.org.
36564 2012-04-09 Joseph Myers <joseph@codesourcery.com>
36567 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
36568 (__ieee754_pow): Generate overflow and underflow using huge*huge
36569 and tiny*tiny rather than just returning constant infinity or zero
36570 for large exponents.
36571 * math/libm-test.inc (pow_test): Require overflow exceptions for
36572 applicable cases of large exponents.
36575 * sysdeps/i386/fpu/e_pow.S (p10): New object.
36576 (__ieee754_pow): Use iterative multiplication algorithm only for
36577 integer exponents with absolute value below 1024. Check for odd
36578 integer exponents when using algorithm for real exponents.
36579 * math/libm-test.inc (pow_test): Add more tests.
36580 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
36582 2012-04-08 Joseph Myers <joseph@codesourcery.com>
36585 * math/libm-test.inc (exp_test): Do not allow overflow exception
36588 2012-04-08 Aurelien Jarno <aurelien@aurel32.net>
36591 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
36592 instead of __kernel_standard_f.
36594 2012-04-08 Mike Frysinger <vapier@gentoo.org>
36596 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
36597 * sysdeps/x86_64/memset_chk.S: Likewise.
36599 2012-04-08 Andreas Jaeger <aj@suse.de>
36602 * manual/startup.texi (Environment Access): Describe return value
36603 for putenv and setenv.
36606 * manual/filesys.texi (Directory Entries): Add description for
36610 * manual/filesys.texi (Directory Entries): Clarify that it's file
36611 system not operating system in the description of DT_UNKNOWN.
36614 * manual/syslog.texi (closelog): Fix reference, it's openlog.
36616 2012-04-08 Stephen Compall <s11@member.fsf.org>
36619 * manual/llio.texi (Opening and Closing Files): Add cross
36620 reference to explain mode argument.
36622 2012-04-07 Mike Frysinger <vapier@gentoo.org>
36624 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
36625 * sysdeps/x86_64/memset_chk.S: Likewise.
36627 2012-04-07 David S. Miller <davem@davemloft.net>
36629 * elf/elf.h (R_SPARC_WDISP10): Define.
36630 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
36632 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
36633 R_SPARC_SIZE64 and R_SPARC_H34.
36635 2012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
36637 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
36638 conditions and remove no longer applicable assertion.
36640 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
36642 * bits/byteswap.h: Include <features.h>.
36643 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
36644 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
36646 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
36648 * bits/byteswap.h (__bswap_16): Removed.
36649 Include <bits/byteswap-16.h> to get __bswap_16.
36650 * sysdeps/i386/bits/byteswap.h: Likewise.
36651 * sysdeps/s390/bits/byteswap.h: Likewise.
36652 * sysdeps/x86_64/bits/byteswap.h: Likewise.
36653 * bits/byteswap-16.h: New file.
36654 * sysdeps/i386/bits/byteswap-16.h: Likewise.
36655 * sysdeps/s390/bits/byteswap-16.h: Likewise.
36656 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
36657 * string/Makefile (headers): Add bits/byteswap-16.h.
36659 2012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
36662 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
36664 * nss/Makefile (tests-static, tests): Add tst-nss-static.
36665 * nss/tst-nss-static.c: New.
36667 2012-04-06 Robert Millan <rmh@gnu.org>
36670 * manual/llio.texi (File Position Primitive): lseek
36671 refers to WHENCE when it really means OFFSET.
36673 2012-04-06 Andreas Jaeger <aj@suse.de>
36675 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
36676 strncmp declarations.
36678 * abilist/libc.abilist: Add __poll and __ppoll.
36680 2012-04-05 David S. Miller <davem@davemloft.net>
36682 * scripts/check-local-headers.sh: Accept a host triplet in the
36683 path matched by the exclude regexp.
36685 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
36687 * sysdeps/powerpc/powerpc32/dl-machine.h
36688 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
36689 * sysdeps/s390/s390-32/dl-machine.h
36690 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
36691 * sysdeps/sparc/sparc32/dl-machine.h
36692 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
36693 * sysdeps/sparc/sparc64/dl-machine.h
36694 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
36696 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
36698 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
36699 undefined symbol errors.
36701 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
36704 2012-04-05 Michael Matz <matz@suse.de>
36707 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
36709 2012-04-05 Andreas Jaeger <aj@suse.de>
36712 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
36715 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
36717 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
36718 which ROUND is no valid rounding mode.
36720 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
36722 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
36724 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
36726 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
36728 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
36729 an exception using FPU order intentionally.
36731 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
36733 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
36734 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
36735 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
36736 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
36738 2012-04-05 Simon Josefsson <simon@josefsson.org>
36741 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
36742 EINVAL when BUFLEN is too smal.
36744 2012-04-05 Thomas Schwinge <thomas@codesourcery.com>
36747 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
36748 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
36750 2012-04-03 Andreas Jaeger <aj@suse.de>
36753 * manual/setjmp.texi (System V contexts): Fix sentence.
36756 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
36757 New macro for this case.
36758 [!__GNUC__] (__bswap_64): New inline function for this case.
36759 * sysdeps/x86_64/bits/byteswap.h: Likewise.
36760 * bits/byteswap.h: Likewise.
36761 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
36762 ull, guard with __GLIBC_HAVE_LONG_LONG.
36764 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
36765 __GLIBC_HAVE_LONG_LONG.
36767 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
36768 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
36770 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
36773 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
36774 inptr and inend, rather than using last_ch.
36776 2012-04-02 David S. Miller <davem@davemloft.net>
36778 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
36779 * stdio-common/printf-parse.h (read_int): Change return type to
36780 'int', return -1 on INT_MAX overflow.
36781 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
36782 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
36783 overflows INT_MAX. Check for overflow of in-format-string precision
36784 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
36785 SIZE_MAX not INT_MAX for integer overflow test.
36786 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
36787 skip the construct in the format string but do not record anything.
36788 * stdio-common/bug22.c: Adjust to test both width/prevision
36789 INT_MAX overflow as well as total length INT_MAX overflow. Check
36790 explicitly for proper errno values.
36792 2012-04-02 Thomas Schwinge <thomas@codesourcery.com>
36794 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
36796 * string/test-strcmp.c [! WIDE]: Likewise.
36797 * time/tst-mktime2.c: Likewise for INT_MAX.
36798 * string/test-string.h: #include <sys/param.h> for MIN.
36800 * csu/init-first.c (__libc_init_first): Call __ctype_init.
36801 * sysdeps/i386/init-first.c (init): Likewise.
36802 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
36803 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
36804 * sysdeps/sh/init-first.c (init): Likewise.
36806 2012-04-01 Ulrich Drepper <drepper@gmail.com>
36808 * po/ru.po: Update from translation team.
36809 * po/vi.po: Likewise.
36811 2012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
36813 * resolv/nss_dns/dns-host.c: Merge copyright years.
36815 2012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
36817 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
36818 Optimize memcpy with prefetch if
36819 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
36820 src, dst pointers have unequal 16 byte alignments.
36822 2012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
36825 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
36826 from a CNAME entry and return the minimum ttl for the query.
36827 (gaih_getanswer_slice): Likewise.
36829 2012-03-30 Jeff Law <law@redhat.com>
36831 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
36833 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
36834 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
36836 * resolv/nss_dns/dns-host.c: Update copyright year.
36838 2012-03-30 Ulrich Drepper <drepper@gmail.com>
36840 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
36841 requests to save a system call. Fix check that all bytes are sent.
36843 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
36844 comments for sendmmsg.
36846 2012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
36849 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
36850 with only 1 character between 0x0041 and 0x01b0.
36851 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
36852 * wcsmbs/tst-mbsnrtowcs.c: New file.
36854 2012-03-29 David S. Miller <davem@davemloft.net>
36856 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
36857 small copies by hand.
36859 2012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
36862 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss)
36863 (_nss_compat_initgroups_dyn): Fall back to malloc/free for large
36866 2012-03-28 David S. Miller <davem@davemloft.net>
36868 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
36869 that branches into memcpy.
36870 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
36871 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
36872 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
36873 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
36874 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
36876 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
36877 implementation too.
36878 * sysdeps/sparc/mempcpy.S: New file.
36880 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
36881 the IFUNC routine in the libc case.
36882 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
36884 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
36885 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
36886 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
36887 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
36888 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
36889 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
36890 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
36891 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
36893 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
36894 loop to 256 bytes instead of 64 bytes and fix test signedness.
36896 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
36897 * sysdeps/sparc/sparc32/Makefile: rather than here...
36898 * sysdeps/sparc/sparc64/Makefile: and here.
36900 2012-03-28 Ulrich Drepper <drepper@gmail.com>
36902 * malloc/mallocbug.c: Avoid warnings about unused variables.
36904 2012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
36907 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
36908 in the right place. Discard and retry query if response is
36909 larger than input buffer size.
36911 2012-03-28 Joseph Myers <joseph@codesourcery.com>
36916 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
36917 x for large integer exponent.
36918 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
36919 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
36920 sign of result as needed afterwards.
36921 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
36922 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
36923 result for underflowing pow the same as for overflow.
36924 (__kernel_standard_l): Handle powl overflow and underflow here
36925 rather than calling __kernel_standard.
36926 * math/libm-test.inc (pow_test): Add more tests.
36941 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
36942 * sysdeps/ieee754/k_standard.c: Include <float.h>.
36943 (__kernel_standard_l): New function.
36944 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
36946 * math/w_acosl.c (__acosl): Likewise.
36947 * math/w_asinl.c (__asinl): Likewise.
36948 * math/w_atan2l.c (__atan2l): Likewise.
36949 * math/w_atanhl.c (__atanhl): Likewise.
36950 * math/w_coshl.c (__coshl): Likewise.
36951 * math/w_exp10l.c (__exp10l): Likewise.
36952 * math/w_exp2l.c (__exp2l): Likewise.
36953 * math/w_fmodl.c (__fmodl): Likewise.
36954 * math/w_hypotl.c (__hypotl): Likewise.
36955 * math/w_j0l.c (__j0l, __y0l): Likewise.
36956 * math/w_j1l.c (__j1l, __y1l): Likewise.
36957 * math/w_jnl.c (__jnl, __ynl): Likewise.
36958 * math/w_lgammal.c (__lgammal): Likewise.
36959 * math/w_log10l.c (__log10l): Likewise.
36960 * math/w_log2l.c (__log2l): Likewise.
36961 * math/w_logl.c (__logl): Likewise.
36962 * math/w_powl.c (__powl): Likewise.
36963 * math/w_remainderl.c (__remainderl): Likewise.
36964 * math/w_scalbl.c (sysv_scalbl): Likewise.
36965 * math/w_sinhl.c (__sinhl): Likewise.
36966 * math/w_sqrtl.c (__sqrtl): Likewise.
36967 * math/w_tgammal.c (__tgammal): Likewise.
36968 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
36969 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
36970 * math/libm-test.inc (acos_test): Add more tests.
36971 (acosh_test): Likewise.
36972 (asin_test): Likewise.
36973 (atanh_test): Likewise.
36974 (exp_test): Likewise.
36975 (exp10_test): Likewise.
36976 (exp2_test): Likewise.
36977 (expm1_test): Likewise.
36978 (lgamma_test): Likewise.
36979 (log_test): Likewise.
36980 (log10_test): Likewise.
36981 (log1p_test): Likewise.
36982 (log2_test): Likewise.
36983 (pow_test): Do not allow some spurious overflow exceptions.
36984 (sqrt_test): Add more tests.
36985 (tgamma_test): Likewise.
36986 (y0_test): Likewise.
36987 (y1_test): Likewise.
36988 (yn_test): Likewise.
36990 2012-03-27 Anton Blanchard <anton@samba.org>
36992 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
36994 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
36995 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
36996 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
36998 2012-03-27 David S. Miller <davem@davemloft.net>
37000 * conform/Makefile: Run run-conformtest.sh using $(BASH).
37002 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
37003 have-as-vis3 check.
37005 2012-03-27 Andreas Jaeger <aj@suse.de>
37007 * sysdeps/x86_64/elf/configure.in: Moved to ...
37008 * sysdeps/x86_64/configure.in: ... here.
37009 * sysdeps/x86_64/elf/start.S: Moved to ...
37010 * sysdeps/x86_64/start.S: ... here.
37011 * sysdeps/x86_64/elf/configure: Delete.
37013 * sysdeps/x86_64/configure.in: Merge contents from
37014 sysdeps/i386/configure.in (without i686 check).
37016 * sysdeps/i386/elf/Versions: Merge into ...
37017 * sysdeps/i386/Versions: ... this.
37018 * sysdeps/i386/elf/Versions: Delete file.
37019 * sysdeps/i386/elf/start.S: Moved to ...
37020 * sysdeps/i386/start.S: ...here.
37021 * sysdeps/i386/elf/configure.in: Merge into...
37022 * sysdeps/i386/configure.in: ...here.
37023 * sysdeps/i386/elf/configure.in: Delete file.
37024 * sysdeps/i386/elf/configure: Delete file.
37026 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
37027 * debug/backtracesyms.c: ... here.
37028 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
37029 * debug/backtracesymsfd.c: ... here.
37030 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
37031 * sysdeps/generic/ifunc-sel.h: ... here.
37033 * sysdeps/unix/i386/start.c: Delete file.
37034 * sysdeps/unix/sparc/start.c: Delete file.
37035 * sysdeps/unix/start.c: Delete file.
37037 * sysdeps/sh/elf/configure.in: Moved to ...
37038 * sysdeps/sh/configure.in: ... here.
37039 * sysdeps/sh/elf/start.S: Moved to ...
37040 * sysdeps/sh/start.S: ... here.
37041 * sysdeps/sh/elf/configure: Delete file.
37043 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
37044 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
37045 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
37046 * sysdeps/powerpc/powerpc64/entry.h: ... here.
37047 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
37048 * sysdeps/powerpc/powerpc64/start.S: here.
37049 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
37050 * sysdeps/powerpc/powerpc64/Makefile: ... this.
37051 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
37052 * sysdeps/powerpc/powerpc64/configure.in: ... this.
37053 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
37055 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
37056 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
37057 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
37058 * sysdeps/powerpc/powerpc32/start.S: ... here.
37059 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
37060 * sysdeps/powerpc/powerpc32/configure.in: ... this.
37061 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
37063 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
37064 * sysdeps/powerpc/ifunc-sel.h: ... here.
37065 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
37066 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
37068 * sysdeps/sparc/elf/configure.in: Moved to ...
37069 * sysdeps/sparc/configure.in: ... here.
37070 * sysdeps/sparc/elf/configure: Delete file.
37071 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
37072 * sysdeps/sparc/sparc32/start.S: ... here.
37073 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
37074 * sysdeps/sparc/sparc64/start.S: ... here.
37075 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
37076 * sysdeps/sparc/sparc32/Makefile: ... this.
37077 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
37078 * sysdeps/sparc/sparc64/Makefile: ... this.
37080 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
37081 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
37082 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
37083 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
37084 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
37085 * sysdeps/s390/s390-32/setjmp.S: ... here.
37086 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
37087 * sysdeps/s390/s390-32/configure.in: ... here.
37088 * sysdeps/s390/s390-32/elf/configure: Delete file.
37089 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
37090 * sysdeps/s390/s390-32/start.S: ... here.
37092 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
37093 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
37094 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
37095 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
37096 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
37097 * sysdeps/s390/s390-64/setjmp.S: ... here.
37098 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
37099 * sysdeps/s390/s390-64/configure.in: ... here
37100 * sysdeps/s390/s390-64/elf/configure: Delete file.
37101 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
37102 * sysdeps/s390/s390-64/start.S: ... here.
37103 * sysdeps/s390/s390-64/elf/configure: Delete.
37105 * configure.in: Remove support for elf directories in sysdeps.
37107 * configure: Regenerated.
37108 * sysdeps/i386/configure: Regenerated.
37109 * sysdeps/powerpc/powerpc32/configure: Regenerated.
37110 * sysdeps/powerpc/powerpc64/configure: Regenerated.
37111 * sysdeps/s390/s390-32/configure: Regenerated.
37112 * sysdeps/s390/s390-64/configure: Regenerated.
37113 * sysdeps/sh/configure: Regenerated.
37114 * sysdeps/sparc/configure: Regenerated.
37115 * sysdeps/x86_64/configure: Regenerated.
37117 2012-03-26 Andreas Schwab <schwab@linux-m68k.org>
37119 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
37121 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
37122 denormal result into account.
37124 2012-03-25 Roland McGrath <roland@hack.frob.com>
37126 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
37127 Reported by Allan McRae <allan@archlinux.org>.
37129 2012-03-23 Jeff Law <law@redhat.com>
37131 * nss/getnssent.c (__nss_getent): Fix typo.
37133 2012-03-23 David S. Miller <davem@davemloft.net>
37135 * sysdeps/sparc/fpu/libm-test-ulps: Update.
37137 2012-03-23 H.J. Lu <hongjiu.lu@intel.com>
37139 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
37140 to pad to uint64_t for each field.
37141 (dl_tls_index): Replace unsigned long with uint64_t.
37143 2012-03-23 Daniel Jacobowitz <dmj@google.com>
37144 Paul Pluzhnikov <ppluzhnikov@google.com>
37147 * grp/Makefile (otherlibs): Don't set it.
37148 * inet/Makefile (otherlibs): Likewise.
37149 * login/Makefile (otherlibs): Likewise.
37150 * nscd/Makefile (otherlibs): Likewise.
37151 * posix/Makefile (otherlibs): Likewise.
37152 * pwd/Makefile (otherlibs): Likewise.
37153 * rt/Makefile (otherlibs): Likewise.
37154 * sunrpc/Makefile (otherlibs): Likewise.
37155 * nss/Makefile (otherlibs): Likewise.
37156 Add libnss_files to routines and static-only-routines.
37157 ($(objpfx)getent): Remove rule.
37158 * resolv/Makefile: Add libnss_dns and libresolv to routines and
37159 static-only-routines.
37161 2012-03-22 Joseph Myers <joseph@codesourcery.com>
37164 * math/s_cexp.c: Include <float.h>.
37165 (__cexp): Handle exp result overflowing not necessarily
37166 overflowing both real and imaginary parts of result.
37167 * math/s_cexpf.c: Likewise.
37168 * math/s_cexpl.c: Likewise.
37169 * math/libm-test.inc (cexp_test): Add more tests.
37170 * sysdeps/i386/fpu/libm-test-ulps: Update.
37171 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37173 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
37175 * include/link.h (ELFW): New macro.
37176 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
37177 Replace ELF64_R_TYPE with ELFW(R_TYPE).
37179 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
37181 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
37184 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
37186 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
37188 (struct La_x32_retval): Likewise.
37190 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
37192 * sysdeps/x86_64/preconfigure.in: New file.
37193 * sysdeps/x86_64/preconfigure: New generated file.
37195 2012-03-22 Joseph Myers <joseph@codesourcery.com>
37198 * math/e_exp2l.c: Include <float.h>.
37199 (__ieee754_exp2l): Handle overflow and underflow cases
37200 separately. Only pass fractional part of argument to
37202 * math/libm-test.inc (exp2_test): Add more tests.
37204 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
37205 negating x to take absolute value.
37206 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
37208 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
37209 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
37211 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
37212 computing low part if x was negated.
37213 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
37215 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
37217 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
37218 la_x32_gnu_pltexit.
37219 (pltexit): Cast int_retval to ptrdiff_t.
37220 * elf/tst-auditmod3b.c: Likewise.
37221 * elf/tst-auditmod4b.c: Likewise.
37222 * elf/tst-auditmod5b.c: Likewise.
37223 * elf/tst-auditmod6b.c: Likewise.
37224 * elf/tst-auditmod6c.c: Likewise.
37225 * elf/tst-auditmod7b.c: Likewise.
37227 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
37228 and x32_gnu_pltexit.
37230 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
37231 __ELF_NATIVE_CLASS.
37232 (La_x32_regs): New macro.
37233 (La_x32_retval): Likewise.
37234 (la_x32_gnu_pltenter): New function prototype.
37235 (la_x32_gnu_pltexit): Likewise.
37237 2012-03-21 Andreas Schwab <schwab@linux-m68k.org>
37239 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
37242 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
37244 * configure.in (libc_cv_cc_nofma): Check for option to disable
37245 generation of FMA instructions.
37246 * configure: Regenerate.
37247 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
37248 * sysdeps/ieee754/dbl-64/Makefile: New file.
37249 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
37250 Remove brandred-fma4.
37251 (CFLAGS-brandred-fma4.c): Remove.
37252 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
37253 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
37255 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
37258 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
37260 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
37261 LLONG_MAX != LONG_MAX.
37262 (_itoa_word): Use _ITOA_WORD_TYPE on value.
37263 (_fitoa_word): Likewise.
37264 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
37265 LLONG_MAX != LONG_MAX.
37266 * stdio-common/_itowa.h: Include <_itoa.h>.
37267 (_itowa_word): Use _ITOA_WORD_TYPE on value.
37268 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
37269 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
37270 only if not defined.
37271 (_ITOA_WORD_TYPE): Likewise.
37272 (_itoa_word): Use _ITOA_WORD_TYPE on value.
37273 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
37275 2012-03-21 David S. Miller <davem@davemloft.net>
37277 * sysdeps/sparc/fpu/libm-test-ulps: Update.
37279 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
37281 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
37282 of x86_64 when setting libc_cv_slibdir, libdir and
37284 * sysdeps/unix/sysv/linux/configure: Regenerated.
37286 2012-03-21 Joseph Myers <joseph@codesourcery.com>
37288 * manual/lang.texi (Old Varargs): Remove section.
37289 (How Variadic): Update menu.
37290 (va_start): Do not mention varargs.h.
37292 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
37293 Joseph Myers <joseph@codesourcery.com>
37295 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
37297 * configure: Regenerated.
37299 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
37301 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
37302 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
37305 2012-03-21 Joseph Myers <joseph@codesourcery.com>
37308 * Makefile (files-for-dist): Remove NOTES.
37309 (NOTES): Remove rule.
37310 * README: Don't refer to NOTES.
37311 * manual/creature.texi: Don't include macros.texi.
37312 * manual/intro.texi (creature.texi): Remove comment referring to
37315 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
37316 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
37317 * configure: Regenerated.
37318 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
37319 LIBC_TRY_CC_OPTION.
37320 (libc_cv_as_i686): Likewise.
37321 (libc_cv_cc_avx): Likewise.
37322 (libc_cv_cc_sse2avx): Likewise.
37323 (libc_cv_cc_fma4): Likewise.
37324 (libc_cv_cc_novzeroupper): Likewise.
37325 * sysdeps/i386/configure: Regenerated.
37328 * sysdeps/i386/fpu/s_cexp.S: Remove.
37329 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
37330 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
37331 * math/libm-test.inc (cexp_test): Add more tests.
37332 * sysdeps/i386/fpu/libm-test-ulps: Update.
37333 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37335 2012-03-21 Allan McRae <allan@archlinux.org>
37337 * timezone/Makefile: Do not install iso3166.tab and zone.tab
37339 2012-03-21 Joseph Myers <joseph@codesourcery.com>
37342 * math/w_exp2.c: Do not include <float.h>.
37343 (o_threshold, u_threshold): Remove.
37344 (__exp2): Calculate result before checking finiteness and calling
37346 * math/w_exp2f.c: Likewise.
37347 * math/w_exp2l.c: Likewise.
37348 * math/libm-test.inc (exp2_test): Require overflow exception for
37352 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
37353 range of signed 64-bit integers before using fistpll. Remove
37354 checks for whether integers fit in mantissa bits.
37355 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
37356 the range of signed 32-bit integers before using fistpl. Remove
37357 checks for whether integers fit in mantissa bits.
37358 * sysdeps/i386/fpu/e_powl.S (p64): New object.
37359 (__ieee754_powl): Test for y outside the range of signed 64-bit
37360 integers before using fistpll. Reduce 64-bit values to 63-bit
37362 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
37363 divide-by-zero is raised for zero to large negative powers.
37364 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
37365 (__ieee754_powl): Test for y outside the range of signed 64-bit
37366 integers before using fistpll. Reduce 64-bit values to 63-bit
37368 * math/libm-test.inc (pow_test): Add more tests.
37370 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
37372 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
37373 <stdio-common/_itoa.h>.
37374 * debug/segfault.c: Likewise.
37375 * elf/dl-cache.c: Likewise.
37376 * elf/dl-minimal.c: Likewise.
37377 * elf/dl-misc.c: Likewise.
37378 * elf/dl-sysdep.c: Likewise.
37379 * elf/dl-version.c: Likewise.
37380 * elf/rtld.c: Likewise.
37381 * hurd/hurdsock.c: Likewise.
37382 * hurd/lookup-retry.c: Likewise.
37383 * malloc/malloc.c: Likewise.
37384 * malloc/mtrace.c: Likewise.
37385 * nscd/nscd_getgr_r.c: Likewise.
37386 * nscd/nscd_getpw_r.c: Likewise.
37387 * nscd/nscd_getserv_r.c: Likewise.
37388 * posix/getopt_init.c: Likewise.
37389 * posix/wordexp.c: Likewise.
37390 * stdio-common/_itoa.c: Likewise.
37391 * stdio-common/printf_fphex.c: Likewise.
37392 * stdio-common/vfprintf.c: Likewise.
37393 * string/_strerror.c: Likewise.
37394 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
37395 * sysdeps/i386/i686/hp-timing.h: Likewise.
37396 * sysdeps/mach/_strerror.c: Likewise.
37397 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
37398 * sysdeps/mach/hurd/sethostid.c: Likewise.
37399 * sysdeps/mach/hurd/xmknodat.c: Likewise.
37400 * sysdeps/mach/xpg-strerror.c: Likewise.
37401 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
37402 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
37403 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
37404 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
37405 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
37406 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
37407 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
37408 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
37409 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
37410 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
37411 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
37412 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
37413 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
37414 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
37415 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
37416 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
37417 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
37418 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
37419 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
37420 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
37421 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
37423 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
37425 * stdio-common/_itoa.h: Moved to ...
37426 * sysdeps/generic/_itoa.h: Here.
37428 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
37430 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
37431 instead of "_itoa.h" and "_itowa.h".
37432 * stdio-common/vfprintf.: Likewise.
37434 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
37436 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
37438 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
37439 (__signbit): Likwise.
37440 (llrintf): Likwise.
37443 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
37445 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
37448 2012-03-20 Joseph Myers <joseph@codesourcery.com>
37450 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
37451 OVERFLOW_EXCEPTION_OK.
37452 * math/libm-test.inc ("Philosophy"): Update comment about
37454 (OVERFLOW_EXCEPTION): Define.
37455 (OVERFLOW_EXCEPTION_OK): Likewise.
37456 (INVALID_EXCEPTION_OK): Renumber.
37457 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
37458 (IGNORE_ZERO_INF_SIGN): Likewise.
37459 (test_exceptions): Handle FE_OVERFLOW.
37460 (exp10_test): Expect overflow exceptions.
37461 (exp2_test): Likewise.
37462 (expm1_test): Likewise.
37463 (nextafter_test): Likewise.
37464 (pow_test): Likewise.
37465 (scalbn_test): Likewise.
37466 (scalbln_test): Likewise.
37468 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
37470 * sysdeps/x86_64/bits/atomic.h
37471 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
37473 (atomic_exchange_acq): Likewise.
37474 (__arch_exchange_and_add_body): Likewise.
37475 (__arch_add_body): Likewise.
37476 (atomic_add_negative): Likewise.
37477 (atomic_add_zero): Likewise.
37479 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
37481 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
37482 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
37484 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
37486 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
37487 Check __x86_64__ instead of __WORDSIZE.
37489 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
37491 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
37493 2012-03-19 David S. Miller <davem@davemloft.net>
37495 * sysdeps/sparc/fpu/libm-test-ulps: Update.
37497 * sysdeps/sparc/fpu/fenv_private.h: New file.
37498 * sysdeps/sparc/fpu/math_private.h: Use it.
37499 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
37501 (libc_feholdexcept_setround, libc_feholdexcept_setroundf)
37502 (libc_feholdexcept_setroundl): Remove.
37503 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
37505 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
37506 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
37508 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
37510 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
37511 int64_t instead of long int.
37512 (INSERT_WORDS64): Likwise.
37514 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
37516 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
37517 _Unwind_GetCFA return to _Unwind_Ptr first.
37519 2012-03-19 Joseph Myers <joseph@codesourcery.com>
37522 * math/s_clog.c: Include <float.h>.
37523 (__clog): Scale large or subnormal inputs.
37524 * math/s_clogf.c: Likewise.
37525 * math/s_clogl.c: Likewise.
37526 * math/s_clog10.c: Include <float.h>.
37527 (M_LOG10_2): Define.
37528 (__clog10): Scale large or subnormal inputs.
37529 * math/s_clog10f.c: Likewise.
37530 * math/s_clog10l.c: Likewise.
37531 * math/libm-test.inc (clog_test): Add more tests.
37532 (clog10_test): Likewise.
37533 * sysdeps/i386/fpu/libm-test-ulps: Update.
37534 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37537 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
37539 * math/libm-test.inc (atan2_test): Add another test.
37541 * Makerules (common-objdir-compile): Remove.
37542 * sysdeps/unix/Makefile (config-generated): Do not add
37543 $(unix-generated) to variable.
37544 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
37545 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
37547 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
37549 [generic bits/local_lim.h] (before-compile): Do not append to
37551 [generic bits/local_lim.h] (common-generated): Likewise.
37552 [generic sys/param.h] (before-compile): Do not append to variable.
37553 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
37554 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
37555 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
37556 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
37558 [generic sys/param.h] (sys/param.h-includes): Remove variable.
37559 [generic sys/param.h] (sys/param.h-includes): Remove rule.
37560 [generic sys/param.h] ($(addprefix
37561 $(common-objpfx),$(sys/param.h-includes))): Likewise.
37562 [generic sys/param.h] (common-generated): Do not append to
37564 [generic sys/param.h] (sysdep_headers): Likewise.
37565 [generic bits/errno.h] (before-compile): Do not append to
37567 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
37569 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
37570 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
37571 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
37572 [generic bits/errno.h] (common-generated): Do not append to
37574 [generic bits/ioctls.h] (before-compile): Do not append to
37576 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
37578 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
37579 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
37580 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
37582 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
37583 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
37584 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
37585 [generic bits/ioctls.h] (common-generated): Do not append to
37587 [generic sys/syscall.h] (syscall.h): Remove variable.
37588 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
37590 [generic sys/syscall.h] (before-compile): Do not append to
37592 [generic sys/syscall.h] (common-generated): Likewise.
37593 * sysdeps/unix/errnos-tmpl.c: Remove file.
37594 * sysdeps/unix/errnos.awk: Likewise.
37595 * sysdeps/unix/ioctls-tmpl.c: Likewise.
37596 * sysdeps/unix/ioctls.awk: Likewise.
37597 * sysdeps/unix/mk-local_lim.c: Likewise.
37598 * sysdeps/unix/snarf-ioctls: Likewise.
37600 2012-03-19 Richard Henderson <rth@twiddle.net>
37602 * sysdeps/i386/fpu/fenv_private.h: New file.
37603 * sysdeps/i386/fpu/math_private.h: Use it.
37604 (math_opt_barrier, math_force_eval): Remove.
37605 (libc_feholdexcept_setround_53bit): Remove.
37606 (libc_feupdateenv_53bit): Remove.
37607 * sysdeps/x86_64/fpu/math_private.h: Likewise.
37608 (math_opt_barrier, math_force_eval): Remove.
37609 (libc_feholdexcept): Remove.
37610 (libc_feholdexcept_setround): Remove.
37611 (libc_fetestexcept, libc_fesetenv): Remove.
37612 (libc_feupdateenv_test): Remove.
37613 (libc_feupdateenv, libc_feholdsetround): Remove.
37614 (libc_feresetround): Remove.
37616 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
37617 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
37619 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
37620 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
37621 (libc_feupdateenv_testl): New.
37622 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
37623 (libc_feupdateenv_testf): New.
37624 (libc_feupdateenv): Use libc_feupdateenv_test.
37625 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
37626 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
37628 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
37629 (libc_feholdsetroundf, libc_feholdsetroundl): New.
37630 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
37631 (libc_feresetround_noex): New.
37632 (libc_feresetround_noexf): New.
37633 (libc_feresetround_noexl): New.
37634 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
37635 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
37636 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
37637 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
37639 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
37640 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
37642 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
37643 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
37644 SET_RESTORE_ROUND_NOEX.
37645 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
37646 SET_RESTORE_ROUND_NOEXF.
37647 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
37648 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
37649 (libc_feholdsetroundf): New.
37650 (libc_feresetround, libc_feresetroundf): New.
37652 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
37653 (libc_feholdexcept_setround_53bit): Convert from macro to function.
37654 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
37656 * sysdeps/generic/math_private.h: Include <fenv.h>.
37657 (default_libc_feholdexcept): New.
37658 (default_libc_feholdexcept_setround): New.
37659 (default_libc_fesetenv, default_libc_feupdateenv): New.
37660 (libc_feholdexcept): Only define if undefined.
37661 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
37662 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
37663 (libc_feholdexcept_setroundl): Likewise.
37664 (libc_feholdexcept_setround_53bit): Likewise.
37665 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
37666 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
37667 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
37668 (libc_feupdateenv_53bit): Likewise.
37669 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
37670 (libc_feholdexcept): Convert from macro to inline function.
37671 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
37672 (libc_fesetenv, libc_feupdateenv): Likewise.
37674 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
37675 not previously defined.
37676 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
37677 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
37678 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
37679 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
37680 * sysdeps/ieee754/flt-32/math_private.h: New file.
37681 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
37682 math_private.h below SET_FLOAT_WORD.
37683 (__isnan, __isinf_ns, __finite): Remove.
37684 (__isnanf, __isinf_nsf, __finitef): Remove.
37686 2012-03-18 Andreas Schwab <schwab@linux-m68k.org>
37688 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
37690 2012-03-17 David S. Miller <davem@davemloft.net>
37693 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
37696 2012-03-16 David S. Miller <davem@davemloft.net>
37698 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
37702 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
37704 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
37705 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
37706 sysdep_routines when subdir is sysvipc.
37707 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
37708 __getshmlba helper.
37710 * sysdeps/sparc/fpu/libm-test/ulps: Update.
37712 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
37714 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
37717 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
37719 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
37720 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
37721 (__lround): Renamed to ...
37722 (__llround): This. Replace long int with long long int.
37723 Define lround functions as aliases of llround functions.
37724 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
37726 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
37728 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
37729 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
37730 adresses to uintptr_t. Replace "long int" and "unsigned long
37731 int" with "greg_t" on va_arg.
37733 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
37735 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
37736 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
37738 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
37739 Move e_machine check before EI_CLASS check. Handle x32
37740 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
37741 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
37742 SKIP_EM_IA_64 and include
37743 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
37745 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
37746 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
37747 (add_system_dir): New macro.
37749 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
37750 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
37752 2012-03-16 Joseph Myers <joseph@codesourcery.com>
37763 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
37765 * math/w_j0f.c (j0f): Likewise.
37767 * math/w_j0l.c (__j0l): Likewise.
37769 * math/w_j1.c (j1): Likewise.
37771 * math/w_j1f.c (j1f): Likewise.
37773 * math/w_j1l.c (__j1l): Likewise.
37775 * math/w_jn.c (jn): Likewise.
37777 * math/w_jnf.c (jnf): Likewise.
37779 * math/w_jnl.c (__jnl): Likewise.
37781 * math/libm-test.inc (j0_test): Add more tests.
37782 (j1_test): Likewise.
37783 (jn_test): Likewise. Add trailing semicolon to existing test.
37784 (y0_test): Likewise.
37785 (y1_test): Likewise.
37786 * sysdeps/i386/fpu/libm-test-ulps: Update.
37787 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37791 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
37792 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
37793 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
37794 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
37795 (__tanl): Set errno for infinite argument.
37796 * sysdeps/i386/fpu/mptan.c: Remove.
37797 * sysdeps/i386/fpu/s_tan.S: Likewise.
37798 * sysdeps/i386/fpu/s_tanl.S: Likewise.
37799 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
37800 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
37801 * math/libm-test.inc (tan_test): Add more tests and enable more
37802 tests for double and long double.
37803 * sysdeps/i386/fpu/libm-test-ulps: Update.
37804 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37806 2012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
37808 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
37809 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
37811 2012-03-16 Roland McGrath <roland@hack.frob.com>
37813 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
37814 * configure.in: Use it for both main tree and add-ons.
37815 * configure: Regenerated.
37817 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
37819 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
37821 2012-03-16 Joseph Myers <joseph@codesourcery.com>
37823 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
37827 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
37828 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
37829 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
37830 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
37831 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
37833 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
37834 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
37835 != 0 for prec == 2.
37836 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
37837 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
37838 * sysdeps/i386/fpu/s_cosl.S: Likewise.
37839 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
37840 * sysdeps/i386/fpu/s_sinl.S: Likewise.
37841 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
37842 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
37843 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
37844 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
37845 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
37846 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
37847 * math/libm-test.inc (cos_test): Add more tests and enable more
37848 tests for long double.
37849 (sin_test): Likewise.
37850 (sincos_test): Likewise.
37851 * sysdeps/i386/fpu/libm-test-ulps: Update.
37852 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37854 2012-03-16 David S. Miller <davem@davemloft.net>
37856 * sysdeps/sparc/fpu/math_private.h: New file.
37858 2012-03-15 David S. Miller <davem@davemloft.net>
37860 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
37862 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
37863 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
37865 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
37866 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
37867 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
37868 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
37869 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
37870 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
37872 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
37874 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
37875 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
37877 * sysdeps/sparc/sparc-ifunc.h: New file.
37878 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
37880 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
37881 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
37883 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
37885 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
37886 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
37887 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
37888 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
37890 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
37891 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
37892 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
37893 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
37894 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
37896 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
37898 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
37899 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
37900 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
37901 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
37902 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
37903 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
37904 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
37905 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
37906 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
37907 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
37908 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
37909 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
37910 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
37911 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
37912 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
37913 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
37914 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
37915 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
37916 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
37917 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
37918 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
37919 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
37920 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
37921 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
37923 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
37925 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
37927 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
37929 2012-03-15 Andreas Jaeger <aj@suse.de>
37932 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
37933 ieee754/flt-32 implementation for sin, cos and sincos.
37934 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
37935 * sysdeps/i386/fpu/s_cosf.S: Likewise.
37936 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
37937 * sysdeps/i386/fpu/s_sinf.S: Likewise.
37938 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
37939 ieee754/flt-32 implementation for tan.
37941 * math/libm-test.inc (cos_test): Enable some large input tests for
37943 (sin_test): Likewise.
37944 (sincos_test): Likewise.
37945 (tan_test): Add tests for large input.
37947 * sysdeps/i386/fpu/libm-test-ulps: Update.
37949 2012-03-15 Andreas Jaeger <aj@suse.de>
37952 * math/libm-test.inc (cos_test): Add more test cases.
37953 (sin_test): Likewise.
37954 (sincos_test): Likewise.
37956 2012-03-15 Andreas Jaeger <aj@suse.de>
37959 * math/libm-test.inc (cos_test): Add a test case for large input
37961 (sin_test): Likewise.
37962 (sincos_test): Likewise.
37964 2012-03-15 Andreas Jaeger <aj@suse.de>
37965 Joseph Myers <joseph@codesourcery.com>
37968 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
37969 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
37970 * sysdeps/i386/fpu/branred.c: Likewise.
37971 * sysdeps/i386/fpu/dosincos.c: Likewise.
37972 * sysdeps/i386/fpu/mpa.c: Likewise.
37973 * sysdeps/i386/fpu/s_cos.S: Likewise.
37974 * sysdeps/i386/fpu/s_sin.S: Likewise.
37975 * sysdeps/i386/fpu/s_sincos.S: Likewise.
37976 * sysdeps/i386/fpu/sincos32.c: Likewise.
37978 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
37980 (libc_feupdateenv_53bit): Define.
37981 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
37983 (libc_feupdateenv_53bit): Define.
37985 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
37986 53 bit (without extend i386 double precision).
37988 * math/libm-test.inc (sincos_test): Add tests for large input.
37992 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
37994 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
37996 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
37998 2012-03-15 David S. Miller <davem@davemloft.net>
38000 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
38001 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
38002 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
38003 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
38004 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
38005 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
38006 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
38007 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
38008 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
38009 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
38010 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
38011 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
38012 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
38013 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
38014 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
38015 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
38017 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
38018 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
38020 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
38021 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
38023 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
38024 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
38026 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
38027 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
38028 fmin/fmax sysdep routines.
38029 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
38031 2012-03-14 David S. Miller <davem@davemloft.net>
38033 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
38034 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
38035 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
38036 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
38037 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
38038 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
38039 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
38040 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
38041 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
38042 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
38043 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
38044 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
38045 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
38046 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
38047 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
38048 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
38049 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
38050 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
38051 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
38052 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
38053 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
38054 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
38055 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
38056 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
38057 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
38058 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
38059 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
38060 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
38061 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
38063 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
38065 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
38066 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
38068 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
38069 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
38071 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
38072 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
38074 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
38075 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
38077 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
38078 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
38080 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
38082 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
38084 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
38086 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
38088 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
38090 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
38092 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
38093 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
38095 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
38096 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
38098 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
38099 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
38101 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
38102 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
38105 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
38108 * sysdeps/sparc/fpu/libm-test-ulps: Update.
38110 * sysdeps/sparc/configure.in: New file.
38111 * sysdeps/sparc/configure: Generate.
38112 * configure.in (libc_cv_sparc_as_vis3): Substitute.
38113 * configure: Regenerate.
38114 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
38115 * config.make.in (have-as-vis3): New.
38116 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
38117 available use -Av9d instead of -Av9a.
38118 * sysdeps/sparc/sparc64/Makefile: Likewise.
38119 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
38120 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
38122 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
38124 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
38126 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
38128 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
38129 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
38130 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
38131 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
38132 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
38134 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
38135 fzeros/fnegs to load 0x80000000 into a float register instead of
38137 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
38139 2012-03-14 Joseph Myers <joseph@codesourcery.com>
38141 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
38143 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
38144 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
38145 ($(inst_includedir)/bits/syscall.h): Remove rule.
38146 ($(objpfx)bits/syscall.d): Include instead of
38147 $(objpfx)syscall-list.d.
38148 (generated): Change syscall-list.h and syscall-list.d to
38149 bits/syscall.h and bits/syscall.d.
38151 2012-03-14 Roland McGrath <roland@hack.frob.com>
38154 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
38156 2012-03-14 Joseph Myers <joseph@codesourcery.com>
38159 * math/s_csqrt.c: Include <float.h>.
38160 (__csqrt): Scale large or subnormal inputs.
38161 * math/s_csqrtf.c: Likewise.
38162 * math/s_csqrtl.c: Likewise.
38163 * math/libm-test.inc (csqrt_test): Add more tests.
38164 * sysdeps/i386/fpu/libm-test-ulps: Update.
38165 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38168 * math/libm-test.inc (hypot_test): Add more tests.
38170 2012-03-13 David S. Miller <davem@davemloft.net>
38173 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
38174 double-precision for the calculation instead of scaling.
38176 2012-03-13 Joseph Myers <joseph@codesourcery.com>
38178 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
38179 manipulate bits before adding and subtracting TWO52[sx].
38180 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
38181 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
38183 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
38185 2012-03-13 David S. Miller <davem@davemloft.net>
38187 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
38188 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
38189 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
38190 rtld-global-offsets.h
38191 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
38193 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
38196 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
38198 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
38199 'err' in the ifdef scope in which it is actually used.
38201 * nss/nss_db/db-init.c: Include string.h
38203 2012-03-12 David S. Miller <davem@davemloft.net>
38205 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
38206 masking out of the most significant byte of random value used.
38207 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
38208 Fix coding style in previous change.
38210 * sysdeps/unix/sysv/linux/kernel-features.h
38211 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
38212 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
38214 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
38217 2012-03-11 David S. Miller <davem@davemloft.net>
38219 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
38220 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
38221 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
38222 for 'resultvar' otherwise things get truncated on 64-bit.
38224 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
38225 Fix masking out of the most significant byte of random value used.
38227 * sysdeps/sparc/fpu/libm-test-ulps: Update.
38229 2012-03-10 Andreas Schwab <schwab@linux-m68k.org>
38231 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
38233 2012-03-09 David S. Miller <davem@davemloft.net>
38235 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
38236 variables with appropriate CPP guards.
38237 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr
38238 from the frame pointer, not the stack pointer. Correct layout
38239 comments. Fix test on resulting framesize and the management of
38240 the outregs buffer for pltexit. Preserve floating point return
38241 values across _dl_call_pltexit call.
38242 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
38243 framesize and the management of the outregs buffer for pltexit.
38244 Preserve floating point return values across _dl_call_pltexit
38246 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter)
38247 (la_sparc64_gnu_pltenter, la_sparc32_gnu_pltexit)
38248 (la_sparc64_gnu_pltexit): New functions.
38249 (print_exit): Fix format string for return register value.
38251 2012-03-10 Joseph Myers <joseph@codesourcery.com>
38253 * sunrpc/Makefile (others): Add rpcgen.
38254 ($(objpfx)rpcgen): Remove special build rule and dependency on
38256 * sunrpc/rpcgen.c: New file.
38258 2012-03-09 Paul Eggert <eggert@cs.ucla.edu>
38261 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
38262 * stdio-common/bug-vfprintf-nargs.c: Likewise.
38263 * sysdeps/i386/crti.S: Likewise.
38264 * sysdeps/i386/crtn.S: Likewise.
38265 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
38266 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
38267 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
38268 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
38269 * sysdeps/sh/crti.S: Likewise.
38270 * sysdeps/sh/crtn.S: Likewise.
38271 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
38274 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
38276 * locale/programs/locfile-kw.gperf: Likewise.
38277 * locale/programs/charmap-kw.h: Regenerated.
38278 * locale/programs/locfile-kw.h: Likewise.
38281 * intl/plural.y: Replace FSF snail mail address with URL.
38282 * intl/plural.c: Regenerated.
38284 2012-03-09 Richard Henderson <rth@twiddle.net>
38286 * include/math_private.h: Remove file.
38287 * math/math_private.h: Move file ...
38288 * sysdeps/generic/math_private.h: ... here.
38290 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
38291 * sysdeps/powerpc/fpu/math_private.h: Likewise.
38292 * sysdeps/x86_64/fpu/math_private.h: Likewise.
38294 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
38295 and <math_private.h>.
38296 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
38297 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
38298 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
38299 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
38300 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
38301 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
38302 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
38303 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
38304 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
38305 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
38306 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
38307 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
38308 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
38309 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
38310 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
38311 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
38312 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
38313 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
38314 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
38315 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
38316 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
38317 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
38318 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
38319 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
38320 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
38321 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
38322 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
38323 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
38324 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
38325 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
38326 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
38327 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
38328 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
38329 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
38330 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
38331 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
38332 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
38333 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
38334 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
38335 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
38336 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
38337 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
38338 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
38339 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
38340 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
38341 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
38342 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
38343 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
38344 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
38345 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
38346 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
38347 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
38348 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
38349 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
38350 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
38351 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
38352 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
38353 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
38354 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
38355 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
38356 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
38357 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
38358 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
38359 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
38360 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
38361 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
38362 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
38363 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
38364 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
38365 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
38366 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
38367 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
38368 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
38369 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
38370 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
38371 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
38372 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
38373 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
38374 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
38375 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
38376 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
38377 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
38378 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
38379 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
38380 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
38381 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
38382 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
38383 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
38384 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
38385 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
38386 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
38387 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
38388 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
38389 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
38390 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
38391 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
38392 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
38393 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
38394 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
38395 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
38396 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
38397 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
38398 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
38399 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
38400 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
38401 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
38402 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
38403 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
38404 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
38405 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
38406 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
38407 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
38408 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
38409 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
38410 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
38411 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
38412 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
38413 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
38414 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
38415 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
38416 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
38417 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
38418 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
38419 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
38420 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
38421 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
38422 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
38423 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
38424 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
38425 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
38426 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
38427 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
38428 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
38429 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
38430 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
38431 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
38432 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
38433 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
38434 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
38435 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
38436 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
38437 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
38438 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
38439 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
38440 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
38441 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
38442 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
38443 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
38444 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
38445 * sysdeps/ieee754/k_standard.c: Likewise.
38446 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
38447 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
38448 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
38449 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
38450 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
38451 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
38452 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
38453 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
38454 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
38455 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
38456 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
38457 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
38458 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
38459 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
38460 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
38461 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
38462 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
38463 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
38464 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
38465 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
38466 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
38467 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
38468 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
38469 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
38470 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
38471 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
38472 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
38473 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
38474 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
38475 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
38476 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
38477 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
38478 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
38479 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
38480 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
38481 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
38482 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
38483 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
38484 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
38485 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
38486 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
38487 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
38488 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
38489 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
38490 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
38491 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
38492 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
38493 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
38494 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
38495 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
38496 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
38497 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
38498 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
38499 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
38500 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
38501 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
38502 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
38503 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
38504 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
38505 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
38506 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
38507 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
38508 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
38509 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
38510 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
38511 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
38512 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
38513 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
38514 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
38515 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
38516 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
38517 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
38518 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
38519 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
38520 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
38521 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
38522 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
38523 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
38524 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
38525 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
38526 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
38527 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
38528 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
38529 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
38530 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
38531 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
38532 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
38533 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
38534 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
38535 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
38536 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
38537 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
38538 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
38539 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
38540 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
38541 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
38542 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
38543 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
38544 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
38545 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
38546 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
38547 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
38548 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
38549 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
38550 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
38551 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
38552 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
38553 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
38554 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
38555 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
38556 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
38557 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
38558 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
38559 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
38560 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
38561 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
38562 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
38563 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
38564 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
38565 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
38566 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
38567 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
38568 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
38569 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
38570 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
38571 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
38572 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
38573 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
38574 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
38575 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
38576 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
38577 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
38578 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
38579 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
38580 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
38581 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
38582 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
38583 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
38584 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
38585 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
38586 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
38587 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
38588 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
38589 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
38590 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
38591 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
38592 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
38593 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
38594 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
38595 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
38596 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
38597 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
38598 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
38599 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
38600 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
38601 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
38602 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
38603 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
38604 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
38605 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
38606 * sysdeps/ieee754/s_lib_version.c: Likewise.
38607 * sysdeps/ieee754/s_matherr.c: Likewise.
38608 * sysdeps/ieee754/s_signgam.c: Likewise.
38609 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
38610 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
38611 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
38612 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
38613 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
38614 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
38615 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
38616 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
38617 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
38618 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
38619 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
38620 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
38621 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
38622 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
38623 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
38624 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
38625 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
38626 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
38627 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
38628 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
38629 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
38631 2012-03-09 Joseph Myers <joseph@codesourcery.com>
38633 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
38634 * sunrpc/rpc_main.c: Likewise.
38635 * sunrpc/rpc_svcout.c: Likewise.
38637 2012-03-09 David S. Miller <davem@davemloft.net>
38639 * include/math_private.h: New file.
38641 2012-03-09 Joseph Myers <joseph@codesourcery.com>
38643 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
38644 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
38645 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
38646 from <bits/socket_type.h>.
38647 (enum __socket_type): Don't define here.
38648 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
38649 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
38650 bits/socket_type.h.
38653 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
38654 checking __USE_GNU.
38656 * Makerules ($(inst_includedir)/%.h): New rule.
38657 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
38658 (install-others): Remove variable setting.
38659 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
38661 2012-03-08 Richard Henderson <rth@twiddle.net>
38663 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
38664 from macro to inline function; merge with the
38665 !__LIBC_INTERNAL_MATH_INLINES version.
38666 (__ieee754_sqrtf): Likewise.
38668 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
38669 to inline function.
38670 (__rintf, __floor, __floorf): Likewise.
38672 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
38673 macro to inline function.
38674 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
38676 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
38677 not <math/math_private.h>.
38679 2012-03-08 David S. Miller <davem@davemloft.net>
38681 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
38683 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
38685 2012-03-08 Thomas Schwinge <thomas@codesourcery.com>
38687 * resolv/gai_misc.c (handle_requests): Fix struct timespec
38689 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
38690 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
38692 2012-03-08 Ulrich Drepper <drepper@gmail.com>
38694 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
38695 be defined individually, they must be defined as a block. Define
38696 S for printing a string instead of hidint the different by using a
38697 macro for adding the 'l'.
38698 * stdio-common/tst-fphex-wide.c: Adjust.
38700 2012-03-07 Marek Polacek <polacek@redhat.com>
38702 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
38704 2012-03-08 Marek Polacek <polacek@redhat.com>
38707 * stdio-common/Makefile (tests): Add tst-fphex-wide.
38708 * stdio-common/tst-fphex.c: Define a few macros to make the
38709 test reusable. Use them.
38710 * stdio-common/tst-fphex-wide.c: New file.
38712 2012-03-08 Joseph Myers <joseph@codesourcery.com>
38715 * manual/macros.texi (gnusystems): New macro.
38716 (nongnusystems): Likewise.
38717 (gnulinuxhurdsystems): Likewise.
38718 (gnuhurdsystems): Likewise..
38719 (gnulinuxsystems): Likewise.
38720 * manual/charset.texi: Use new macros or @theglibc{} to refer to
38721 variants of the GNU system, not "GNU system".
38722 * manual/conf.texi: Likewise.
38723 * manual/errno.texi: Likewise. Update example of errno macro
38725 * manual/filesys.texi: Likewise.
38726 (getumask): Document as specific to GNU/Hurd.
38727 * manual/install.texi: Likewise. Reword some references to
38729 * manual/intro.texi: Likewise.
38730 * manual/io.texi: Likewise.
38731 (File Name Portability): Detail which constraints are inapplicable
38732 to all GNU systems and which are only inapplicable to GNU/Hurd.
38733 * manual/job.texi: Likewise.
38734 * manual/llio.texi: Likewise.
38735 (O_NOCTTY): Document as present on GNU/Linux.
38736 * manual/maint.texi: Likewise.
38737 * manual/memory.texi: Likewise.
38738 * manual/pattern.texi: Likewise.
38739 * manual/pipe.texi: Likewise.
38740 * manual/process.texi: Likewise.
38741 * manual/resource.texi: Likewise.
38742 (RUSAGE_CHILDREN): Remove statement about specifying a particular
38744 * manual/setjmp.texi: Likewise.
38745 * manual/signal.texi: Likewise.
38746 * manual/startup.texi: Likewise.
38747 * manual/stdio.texi: Likewise.
38748 * manual/terminal.texi: Likewise.
38749 (ONLCR): Document as POSIX.
38750 (OXTABS): Document availability on GNU/Linux as XTABS.
38751 (ONOEOT): Document availability separately from other bits.
38752 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
38753 * manual/time.texi: Likewise.
38754 * manual/users.texi: Likewise.
38755 * INSTALL: Regenerated.
38756 * sysdeps/gnu/errlist.c: Regenerated.
38758 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
38759 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
38760 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
38762 * configure: Regenerated.
38764 2012-03-07 Joseph Myers <joseph@codesourcery.com>
38766 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
38767 default includes instead of AC_HEADER_CHECK.
38768 * sysdeps/i386/configure: Regenerated.
38771 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
38772 * math/s_cacoshf.c (__cacoshf): Likewise.
38773 * math/s_cacoshl.c (__cacoshl): Likewise.
38774 * math/s_casinh.c (__casinh): Set signs of result from argument.
38775 * math/s_casinhf.c (__casinhf): Likewise.
38776 * math/s_casinhl.c (__casinhl): Likewise.
38777 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
38778 (casinh_test): Add more tests.
38779 * sysdeps/i386/fpu/libm-test-ulps: Update.
38780 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38782 2012-03-07 Ulrich Drepper <drepper@gmail.com>
38784 * po/zh_TW.po: Update from translation team.
38786 * login/Makefile (distribute): Remove variable.
38787 * catgets/Makefile: Likewise.
38788 * mach/Makefile: Likewise.
38789 * malloc/Makefile: Likewise.
38790 * misc/Makefile: Likewise.
38791 * iconv/Makefile: Likewise.
38792 * nscd/Makefile: Likewise.
38793 * hurd/Makefile: Likewise.
38794 * manual/Makefile: Likewise.
38795 * locale/Makefile: Likewise.
38796 * intl/Makefile: Likewise.
38797 * conform/Makefile: Likewise.
38798 * nss/Makefile: Likewise.
38799 * time/Makefile: Likewise.
38800 * soft-fp/Makefile: Likewise.
38801 * dirent/Makefile: Likewise.
38802 * gmon/Makefile: Likewise.
38803 * po/Makefile: Likewise.
38804 * rt/Makefile: Likewise.
38805 * socket/Makefile: Likewise.
38806 * math/Makefile: Likewise.
38807 * signal/Makefile: Likewise.
38808 * debug/Makefile: Likewise.
38809 * elf/Makefile: Likewise.
38810 * timezone/Makefile: Likewise.
38811 * stdlib/Makefile: Likewise.
38812 * iconvdata/Makefile: Likewise.
38813 * sunrpc/Makefile: Likewise.
38814 * io/Makefile: Likewise.
38815 * argp/Makefile: Likewise.
38816 * inet/Makefile: Likewise.
38817 * hesiod/Makefile: Likewise.
38818 * grp/Makefile: Likewise.
38819 * csu/Makefile: Likewise.
38820 * wctype/Makefile: Likewise.
38821 * crypt/Makefile: Likewise.
38822 * libio/Makefile: Likewise.
38823 * string/Makefile: Likewise.
38824 * nis/Makefile: Likewise.
38825 * resolv/Makefile: Likewise.
38826 * stdio-common/Makefile: Likewise.
38827 * wcsmbs/Makefile: Likewise.
38828 * dlfcn/Makefile: Likewise.
38829 * posix/Makefile: Likewise.
38832 * timezone/Makefile: Don't install timezone files, just the programs
38835 2012-03-06 Ulrich Drepper <drepper@gmail.com>
38837 * nss/databases.def: Add missing gshadow entry.
38839 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
38841 2012-03-06 Marek Polacek <polacek@redhat.com>
38844 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
38845 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
38846 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
38847 * stdio-common/tst-long-dbl-fphex.c: New file.
38849 2012-03-06 David S. Miller <davem@davemloft.net>
38851 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
38852 (set_obp_int): New function.
38853 (get_obp_int): New function.
38854 (__get_clockfreq_via_dev_openprom): Likewise.
38855 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
38856 Avoid unused variable warnings on 'val' and use builtin_expect.
38857 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
38859 (INLINE_CLONE_SYSCALL): Likewise.
38861 2012-03-05 David S. Miller <davem@davemloft.net>
38863 * sysdeps/sparc/fpu/libm-test-ulps: Update.
38865 2012-03-05 Andreas Schwab <schwab@linux-m68k.org>
38867 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
38869 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
38870 only for |x| >= 40.
38871 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
38873 2012-03-05 H.J. Lu <hongjiu.lu@intel.com>
38875 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
38876 Replace gettimeofday with __vdso_gettimeofday.
38878 * sysdeps/unix/sysv/linux/x86_64/init-first.c
38879 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
38880 __vdso_clock_gettime and __vdso_getcpu.
38882 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
38883 time with __vdso_time.
38885 2012-03-05 Joseph Myers <joseph@codesourcery.com>
38887 * manual/lang.texi (size_t): Note types to which size_t may be
38888 equivalent with the GNU C Library, but do not describe when
38889 differences between them are significant.
38891 2012-03-05 Andreas Jaeger <aj@suse.de>
38893 * sysdeps/i386/fpu/libm-test-ulps: Update.
38895 2012-03-05 Joseph Myers <joseph@codesourcery.com>
38898 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
38899 (__ieee754_pow): Save and restore rounding mode and use
38900 round-to-nearest for main computations.
38901 * math/libm-test.inc (pow_test_tonearest): New function.
38902 (pow_test_towardzero): Likewise.
38903 (pow_test_downward): Likewise.
38904 (pow_test_upward): Likewise.
38905 (main): Call the new functions.
38906 * sysdeps/i386/fpu/libm-test-ulps: Update.
38907 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38910 * math/libm-test.inc (cosh_test_tonearest): New function.
38911 (cosh_test_towardzero): Likewise.
38912 (cosh_test_downward): Likewise.
38913 (cosh_test_upward): Likewise.
38914 (sinh_test_tonearest): Likewise.
38915 (sinh_test_towardzero): Likewise.
38916 (sinh_test_downward): Likewise.
38917 (sinh_test_upward): Likewise.
38918 (main): Call the new functions.
38919 * sysdeps/i386/fpu/libm-test-ulps: Update.
38920 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38922 2012-03-05 Tom de Vries <tom@codesourcery.com>
38924 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
38925 default stack guard is set in last bytes.
38926 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
38928 2012-03-05 Kees Cook <keescook@chromium.org>
38930 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
38933 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
38934 possibly allocate from heap instead of stack.
38935 * stdio-common/bug-vfprintf-nargs.c: New file.
38936 * stdio-common/Makefile (tests): Add nargs overflow test.
38938 2012-03-03 Andreas Schwab <schwab@linux-m68k.org>
38940 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
38942 2012-03-03 Marek Polacek <polacek@redhat.com>
38944 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
38945 * math/math_private.h: Likewise.
38946 * stdlib/tst-strtod.c: Likewise.
38947 * sysdeps/i386/i486/bits/atomic.h: Likewise.
38948 * sysdeps/x86_64/bits/atomic.h: Likewise.
38950 2012-03-02 David S. Miller <davem@davemloft.net>
38952 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
38953 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
38954 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
38955 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
38956 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
38957 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
38958 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
38959 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
38961 2012-03-02 Roland McGrath <roland@hack.frob.com>
38964 * manual/examples/README: New file, says the example source files
38965 can be used under GPL>=2.
38966 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
38967 line containing just "*/".
38968 * manual/examples/add.c: Add copyright header (GPL>=2).
38969 * manual/examples/argp-ex1.c: Likewise.
38970 * manual/examples/argp-ex2.c: Likewise.
38971 * manual/examples/argp-ex3.c: Likewise.
38972 * manual/examples/argp-ex4.c: Likewise.
38973 * manual/examples/atexit.c: Likewise.
38974 * manual/examples/db.c: Likewise.
38975 * manual/examples/dir.c: Likewise.
38976 * manual/examples/dir2.c: Likewise.
38977 * manual/examples/execinfo.c: Likewise.
38978 * manual/examples/filecli.c: Likewise.
38979 * manual/examples/filesrv.c: Likewise.
38980 * manual/examples/fmtmsgexpl.c: Likewise.
38981 * manual/examples/genpass.c: Likewise.
38982 * manual/examples/inetcli.c: Likewise.
38983 * manual/examples/inetsrv.c: Likewise.
38984 * manual/examples/isockad.c: Likewise.
38985 * manual/examples/longopt.c: Likewise.
38986 * manual/examples/memopen.c: Likewise.
38987 * manual/examples/memstrm.c: Likewise.
38988 * manual/examples/mkfsock.c: Likewise.
38989 * manual/examples/mkisock.c: Likewise.
38990 * manual/examples/mygetpass.c: Likewise.
38991 * manual/examples/pipe.c: Likewise.
38992 * manual/examples/popen.c: Likewise.
38993 * manual/examples/rprintf.c: Likewise.
38994 * manual/examples/search.c: Likewise.
38995 * manual/examples/select.c: Likewise.
38996 * manual/examples/setjmp.c: Likewise.
38997 * manual/examples/sigh1.c: Likewise.
38998 * manual/examples/sigusr.c: Likewise.
38999 * manual/examples/stpcpy.c: Likewise.
39000 * manual/examples/strdupa.c: Likewise.
39001 * manual/examples/strftim.c: Likewise.
39002 * manual/examples/strncat.c: Likewise.
39003 * manual/examples/subopt.c: Likewise.
39004 * manual/examples/swapcontext.c: Likewise.
39005 * manual/examples/termios.c: Likewise.
39006 * manual/examples/testopt.c: Likewise.
39007 * manual/examples/testpass.c: Likewise.
39008 * manual/examples/timeval_subtract.c: Likewise.
39011 * manual/time.texi (Elapsed Time): Move timeval_subtract example
39013 * manual/timeval_subtract.c.texi: ... here, new file.
39015 2012-03-02 David S. Miller <davem@davemloft.net>
39017 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
39019 2012-03-02 Joseph Myers <joseph@codesourcery.com>
39022 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
39023 (__sin): Save and restore rounding mode and use round-to-nearest
39024 for all computations.
39025 (__cos): Save and restore rounding mode and use round-to-nearest
39026 for all computations.
39027 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
39029 (tan): Save and restore rounding mode and use round-to-nearest for
39031 * math/libm-test.inc (cos_test_tonearest): New function.
39032 (cos_test_towardzero): Likewise.
39033 (cos_test_downward): Likewise.
39034 (cos_test_upward): Likewise.
39035 (sin_test_tonearest): Likewise.
39036 (sin_test_towardzero): Likewise.
39037 (sin_test_downward): Likewise.
39038 (sin_test_upward): Likewise.
39039 (tan_test_tonearest): Likewise.
39040 (tan_test_towardzero): Likewise.
39041 (tan_test_downward): Likewise.
39042 (tan_test_upward): Likewise.
39043 (main): Call the new functions.
39044 * sysdeps/i386/fpu/libm-test-ulps: Update.
39045 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39048 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
39049 small n, then large n, before computing and testing k+n.
39050 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
39051 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
39053 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
39055 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
39056 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
39057 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
39058 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
39059 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
39060 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
39061 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
39062 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
39063 * math/libm-test.inc (scalbn_test): Add more tests.
39064 (scalbln_test): Likewise.
39066 * manual/filesys.texi (mode_t): Describe constraints on size and
39067 signedness, not exact equivalence to a particular type.
39069 (ino64_t): Likewise.
39071 (nlink_t): Likewise.
39072 (blkcnt_t): Likewise.
39073 (blkcnt64_t): Likewise.
39074 * manual/llio.texi (off_t): Likewise.
39077 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
39078 (__ieee754_exp): Save and restore rounding mode and use
39079 round-to-nearest for all computations.
39080 * math/libm-test.inc (exp_test_tonearest): New function.
39081 (exp_test_towardzero): Likewise.
39082 (exp_test_downward): Likewise.
39083 (exp_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.
39088 2012-03-01 Chris Demetriou <cgd@google.com>
39090 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
39091 have predictable order.
39093 2012-03-01 David S. Miller <davem@davemloft.net>
39095 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
39097 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
39098 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
39099 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
39100 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
39102 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
39103 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
39104 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
39105 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
39106 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
39107 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
39108 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
39109 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
39110 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
39112 * sysdeps/sparc/fpu/libm-test-ulps: Update.
39114 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
39115 * sysdeps/sparc/fpu/libm-test-ulps: to here.
39116 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
39118 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
39119 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
39120 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
39121 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
39122 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
39123 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
39124 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
39125 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
39126 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
39127 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
39128 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
39129 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
39130 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
39131 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
39132 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
39133 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
39134 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
39135 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
39136 * sysdeps/sparc/elf/configure: Regenerated.
39138 2012-03-01 Joseph Myers <joseph@codesourcery.com>
39140 * configure.in (AS, LD): Require binutils 2.20 or later.
39141 * configure: Regenerated.
39142 * manual/install.texi (Tools for Compilation): Give binutils 2.20
39143 as required minimum version.
39144 * INSTALL: Regenerated.
39148 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
39149 before squaring exponent.
39150 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
39151 bottom long double and 27 bits of top long double before squaring
39153 * math/libm-test.inc (erfc_test): Add more tests.
39154 * sysdeps/i386/fpu/libm-test-ulps: Update.
39155 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
39156 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39158 2012-03-01 Kai Tietz <ktietz@redhat.com>
39160 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
39161 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
39162 containing bit-fields.
39163 * soft-fp/extended.h (_FP_UNION_E): Likewise.
39164 * soft-fp/single.h (_FP_UNION_S): Likewise.
39165 * soft-fp/double.h (_FP_UNION_D): Likewise.
39167 2012-02-29 Joseph Myers <joseph@codesourcery.com>
39170 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
39171 not include ../strcmp.S.
39172 [USE_AS_STRNCASECMP_L]: Likewise.
39173 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
39174 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
39175 * sysdeps/i386/i686/multiarch/strncase_l-c.c
39176 (__strncasecmp_l_ia32): Define as alias to
39177 __strncasecmp_l_nonascii.
39180 * math/libm-test.inc (expm1_test): Add test for bug 5794.
39181 * sysdeps/i386/fpu/libm-test-ulps: Update.
39182 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39184 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
39185 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39187 2012-02-29 Jeff Law <law@redhat.com>
39189 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
39190 out of bounds read.
39192 2012-02-29 Marek Polacek <polacek@redhat.com>
39195 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
39196 * elf/Makefile: Add rules to run tst-unused-dep.out.
39198 2012-02-28 David S. Miller <davem@davemloft.net>
39200 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
39201 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
39202 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
39203 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
39204 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
39205 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
39207 2012-02-29 Joseph Myers <joseph@codesourcery.com>
39209 * math/libm-test.inc (llround_test): Move one test from
39210 lround_test. Use TEST_f_L in moved test.
39211 (lround_test): Move misplaced test to llround_test. Add testcase
39214 2012-02-28 Ulrich Drepper <drepper@gmail.com>
39216 * sysdeps/x86_64/fpu/e_expf.S: New file.
39217 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
39219 2012-02-28 Stanislav Brabec <sbrabec@suse.cz>
39222 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
39223 of remain_len that may cause incomplete multi-byte character and
39225 * posix/bug-regex33.c: New file.
39226 * posix/Makefile (tests): Add bug-regex33.
39228 2012-02-28 Joseph Myers <joseph@codesourcery.com>
39230 * manual/macros.texi: New file.
39231 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
39232 * manual/libc.texinfo: Include macros.texi.
39233 * manual/creatute.texi: Likewise.
39234 * manual/install.texi: Likewise.
39235 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
39236 @glibcadj{} in references to the GNU C Library.
39237 * manual/charset.texi: Likewise.
39238 * manual/conf.texi: Likewise.
39239 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
39240 when not using those macros.
39241 * manual/creature.texi: Likewise.
39242 * manual/crypt.texi: Likewise.
39243 * manual/errno.texi: Likewise.
39244 * manual/filesys.texi: Likewise.
39245 * manual/header.texi: Likewise.
39246 * manual/install.texi: Likewise.
39247 * manual/intro.texi: Likewise.
39248 * manual/io.texi: Likewise.
39249 * manual/job.texi: Likewise.
39250 * manual/lang.texi: Likewise.
39251 * manual/libc.texiinfo: Likewise.
39252 * manual/llio.texi: Likewise.
39253 * manual/locale.texi: Likewise.
39254 * manual/maint.texi: Likewise.
39255 * manual/math.texi: Likewise.
39256 * manual/memory.texi: Likewise.
39257 * manual/message.texi: Likewise.
39258 * manual/nss.texi: Likewise.
39259 * manual/pattern.texi: Likewise.
39260 * manual/process.texi: Likewise.
39261 * manual/resource.texi: Likewise.
39262 * manual/search.texi: Likewise.
39263 * manual/setjmp.texi: Likewise.
39264 * manual/signal.texi: Likewise.
39265 * manual/socket.texi: Likewise.
39266 * manual/startup.texi: Likewise.
39267 * manual/stdio.texi: Likewise.
39268 * manual/string.texi: Likewise.
39269 * manual/sysinfo.texi: Likewise.
39270 * manual/syslog.texi: Likewise.
39271 * manual/terminal.texi: Likewise.
39272 * manual/time.texi: Likewise.
39273 * manual/users.texi: Likewise.
39274 * INSTALL: Regenerated.
39275 * NOTES: Regenerated.
39276 * sysdeps/gnu/errlist.c: Regenerated.
39278 2012-02-28 Andreas Schwab <schwab@linux-m68k.org>
39280 * include/dirent.h: Include <dirstream.h> before
39283 2012-02-28 David S. Miller <davem@davemloft.net>
39285 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
39286 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
39287 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
39288 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
39290 2012-02-27 David S. Miller <davem@davemloft.net>
39292 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
39293 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
39294 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
39295 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
39297 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
39298 frame pointer instead of stack pointer relative arg slot.
39299 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
39300 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
39301 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
39303 2012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
39306 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
39308 2012-02-27 David S. Miller <davem@davemloft.net>
39310 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
39311 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
39312 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
39313 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
39314 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
39315 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
39316 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
39317 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
39319 2012-02-27 Joseph Myers <joseph@codesourcery.com>
39321 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
39322 later. Allow versions 5-9.
39323 * configure: Regenerated.
39324 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
39325 required minimum version and 4.6 as recommended version. Do not
39326 mention bugs in GCC 2.7 and 2.8.
39327 * INSTALL: Regenerated.
39329 2012-02-27 David S. Miller <davem@davemloft.net>
39331 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
39332 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
39333 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
39334 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
39335 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
39336 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
39337 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
39338 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
39340 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
39341 manipulate bits before adding and subtracting TWO112[sx].
39342 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
39344 2012-02-27 Roland McGrath <roland@hack.frob.com>
39347 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
39348 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
39349 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
39350 being in POSIX, because they are in 1003.1-2008.
39352 * rt/tst-aio.c: Include <fcntl.h>.
39353 * rt/tst-aio7.c: Likewise.
39354 * rt/tst-aio64.c: Likewise.
39356 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
39358 2012-02-27 Joseph Myers <joseph@codesourcery.com>
39360 * manual/install.texi (--with-headers): Describe headers as
39361 interface headers, not private headers.
39362 (Specific advice for GNU/Linux systems): Describe use of headers
39363 from "make headers_install", not private headers from older
39365 * INSTALL: Regenerated.
39366 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
39368 * sysdeps/unix/sysv/linux/configure: Regenerated.
39370 * manual/llio.texi (fclean): Remove documentation.
39372 * manual/Makefile (libc-texi-generated): New variable. Include
39374 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
39375 $(libc-texi-generated), not duplicated list of files.
39376 (version.texi, stamp-version): New rules.
39377 (realclean): Remove $(libc-texi-generated), not individual files
39378 from that list. Do not remove dir-add.texinfo.
39379 * manual/libc.texinfo: Comment out uses of edition numbers and
39380 references to printed manual. Remove last-updated dates.
39381 (EDITION): Comment out.
39383 (VERSION, UPDATED): Remove.
39384 (version.texi): Include.
39386 2012-02-27 Andreas Schwab <schwab@linux-m68k.org>
39388 * sysdeps/posix/spawni.c: Include <signal.h>.
39389 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
39390 * sysdeps/pthread/aio_fsync.c: Likewise.
39392 2012-02-26 Ulrich Drepper <drepper@gmail.com>
39394 * conform/Makefile (tests): Run only when not cross-compiling and
39395 when fast-check is not defined.
39397 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
39398 * conform/data/limits.h-data: Fixes for POSIX2008.
39399 * conform/run-conformtest.sh: Run all tests.
39400 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
39402 * include/bits/dlfcn.h: Likewise.
39403 * include/langinfo.h: Likewise.
39404 * include/monetary.h: Likewise.
39405 * include/sys/poll.h: Likewise.
39407 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
39409 * posix/spawn.h: Define __need_sigset_t.
39410 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
39411 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
39412 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
39413 to get sigevent_t only.
39414 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
39415 only for __USE_GNU.
39416 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
39417 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
39418 process_vm_writev only for __USE_GNU.
39419 * termios/termios.h: Declare tcgetsid also for POSIX2008.
39421 * conform/Makefile: For now ignore errors from run-conformtest.
39422 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
39423 POSIX to avoid namespace pollution. Don't prepend headers.
39424 * conform/data/aio.h-data: Fixes for POSIX testing.
39425 * conform/data/fcntl.h-data: Likewise.
39426 * conform/data/glob.h-data: Likewise.
39427 * conform/data/grp.h-data: Likewise.
39428 * conform/data/pthread.h-data: Likewise.
39429 * conform/data/pwd.h-data: Likewise.
39430 * conform/data/signal.h-data: Likewise.
39431 * conform/data/spawn.h-data: Likewise.
39432 * conform/data/stdio.h-data: Likewise.
39433 * conform/data/stdlib.h-data: Likewise.
39434 * conform/data/stropts.h-data: Likewise.
39435 * conform/data/sys/mman.h-data: Likewise.
39436 * conform/data/sys/stat.h-data: Likewise.
39437 * conform/data/sys/types.h-data: Likewise.
39438 * conform/data/sys/wait.h-data: Likewise.
39439 * conform/data/time.h-data: Likewise.
39440 * conform/data/unistd.h-data: Likewise.
39441 * conform/data/utime.h-data: Likewise.
39443 * io/sys/stat.h: fchmod was always in POSIX.
39444 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
39445 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
39446 * rt/aio.h: Define __need_timespec before including <time.h>.
39447 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
39448 struct. Add forward declaration of pthread_attr_t and use it in
39450 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
39451 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
39452 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
39453 always remove CLK_TCK definition.
39455 2012-02-26 Andreas Schwab <schwab@linux-m68k.org>
39457 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
39459 2012-02-25 Ulrich Drepper <drepper@gmail.com>
39461 * conform/run-conformtest.sh: New file.
39462 * conform/Makefile: Run run-conformtest for tests.
39463 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
39466 * conform/data/uchar.h-data: New file.
39467 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
39468 * conform/data/arpa/inet.h-data: Likewise.
39469 * conform/data/assert.h-data: Likewise.
39470 * conform/data/complex.h-data: Likewise.
39471 * conform/data/cpio.h-data: Likewise.
39472 * conform/data/ctype.h-data: Likewise.
39473 * conform/data/dirent.h-data: Likewise.
39474 * conform/data/dlfcn.h-data: Likewise.
39475 * conform/data/errno.h-data: Likewise.
39476 * conform/data/fcntl.h-data: Likewise.
39477 * conform/data/float.h-data: Likewise.
39478 * conform/data/fmtmsg.h-data: Likewise.
39479 * conform/data/fnmatch.h-data: Likewise.
39480 * conform/data/ftw.h-data: Likewise.
39481 * conform/data/glob.h-data: Likewise.
39482 * conform/data/grp.h-data: Likewise.
39483 * conform/data/iconv.h-data: Likewise.
39484 * conform/data/inttypes.h-data: Likewise.
39485 * conform/data/langinfo.h-data: Likewise.
39486 * conform/data/libgen.h-data: Likewise.
39487 * conform/data/limits.h-data: Likewise.
39488 * conform/data/locale.h-data: Likewise.
39489 * conform/data/math.h-data: Likewise.
39490 * conform/data/monetary.h-data: Likewise.
39491 * conform/data/mqueue.h-data: Likewise.
39492 * conform/data/ndbm.h-data: Likewise.
39493 * conform/data/net/if.h-data: Likewise.
39494 * conform/data/netdb.h-data: Likewise.
39495 * conform/data/netinet/in.h-data: Likewise.
39496 * conform/data/nl_types.h-data: Likewise.
39497 * conform/data/poll.h-data: Likewise.
39498 * conform/data/pthread.h-data: Likewise.
39499 * conform/data/pwd.h-data: Likewise.
39500 * conform/data/regex.h-data: Likewise.
39501 * conform/data/sched.h-data: Likewise.
39502 * conform/data/search.h-data: Likewise.
39503 * conform/data/semaphore.h-data: Likewise.
39504 * conform/data/setjmp.h-data: Likewise.
39505 * conform/data/signal.h-data: Likewise.
39506 * conform/data/spawn.h-data: Likewise.
39507 * conform/data/stdarg.h-data: Likewise.
39508 * conform/data/stdio.h-data: Likewise.
39509 * conform/data/stdlib.h-data: Likewise.
39510 * conform/data/string.h-data: Likewise.
39511 * conform/data/strings.h-data: Likewise.
39512 * conform/data/stropts.h-data: Likewise.
39513 * conform/data/sys/ipc.h-data: Likewise.
39514 * conform/data/sys/mman.h-data: Likewise.
39515 * conform/data/sys/msg.h-data: Likewise.
39516 * conform/data/sys/resource.h-data: Likewise.
39517 * conform/data/sys/select.h-data: Likewise.
39518 * conform/data/sys/sem.h-data: Likewise.
39519 * conform/data/sys/shm.h-data: Likewise.
39520 * conform/data/sys/socket.h-data: Likewise.
39521 * conform/data/sys/stat.h-data: Likewise.
39522 * conform/data/sys/statvfs.h-data: Likewise.
39523 * conform/data/sys/time.h-data: Likewise.
39524 * conform/data/sys/timeb.h-data: Likewise.
39525 * conform/data/sys/times.h-data: Likewise.
39526 * conform/data/sys/types.h-data: Likewise.
39527 * conform/data/sys/uio.h-data: Likewise.
39528 * conform/data/sys/un.h-data: Likewise.
39529 * conform/data/sys/utsname.h-data: Likewise.
39530 * conform/data/sys/wait.h-data: Likewise.
39531 * conform/data/syslog.h-data: Likewise.
39532 * conform/data/tar.h-data: Likewise.
39533 * conform/data/termios.h-data: Likewise.
39534 * conform/data/utime.h-data: Likewise.
39535 * conform/data/utmpx.h-data: Likewise.
39536 * conform/data/varargs.h-data: Likewise.
39537 * conform/data/wchar.h-data: Likewise.
39538 * conform/data/wctype.h-data: Likewise.
39539 * conform/data/wordexp.h-data: Likewise.
39541 * include/stropts.h: New file.
39542 * include/uchar.h: New file.
39543 * include/aio.h: Changes to allow conformtest.pl to use the headers.
39544 * include/assert.h: Likewise.
39545 * include/ctype.h: Likewise.
39546 * include/dirent.h: Likewise.
39547 * include/dlfcn.h: Likewise.
39548 * include/fcntl.h: Likewise.
39549 * include/fnmatch.h: Likewise.
39550 * include/glob.h: Likewise.
39551 * include/grp.h: Likewise.
39552 * include/libio.h: Likewise.
39553 * include/locale.h: Likewise.
39554 * include/math.h: Likewise.
39555 * include/net/if.h: Likewise.
39556 * include/netdb.h: Likewise.
39557 * include/netinet/in.h: Likewise.
39558 * include/pthread.h: Likewise.
39559 * include/pwd.h: Likewise.
39560 * include/regex.h: Likewise.
39561 * include/sched.h: Likewise.
39562 * include/search.h: Likewise.
39563 * include/setjmp.h: Likewise.
39564 * include/signal.h: Likewise.
39565 * include/stdio.h: Likewise.
39566 * include/stdlib.h: Likewise.
39567 * include/string.h: Likewise.
39568 * include/sys/cdefs.h: Likewise.
39569 * include/sys/mman.h: Likewise.
39570 * include/sys/msg.h: Likewise.
39571 * include/sys/resource.h: Likewise.
39572 * include/sys/select.h: Likewise.
39573 * include/sys/socket.h: Likewise.
39574 * include/sys/stat.h: Likewise.
39575 * include/sys/statvfs.h: Likewise.
39576 * include/sys/time.h: Likewise.
39577 * include/sys/times.h: Likewise.
39578 * include/sys/uio.h: Likewise.
39579 * include/sys/utsname.h: Likewise.
39580 * include/sys/wait.h: Likewise.
39581 * include/termios.h: Likewise.
39582 * include/time.h: Likewise.
39583 * include/ulimit.h: Likewise.
39584 * include/unistd.h: Likewise.
39585 * include/utime.h: Likewise.
39586 * include/wchar.h: Likewise.
39587 * include/wctype.h: Likewise.
39588 * include/wordexp.h: Likewise.
39590 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
39592 * time/time.h: TIME_UTC must be a macro.
39593 Make timespec_get available for ISO C11 only as well.
39595 2012-02-24 Ulrich Drepper <drepper@gmail.com>
39597 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
39598 Reported by Peng Haitao <penght@cn.fujitsu.com>.
39600 2012-02-24 Joseph Myers <joseph@codesourcery.com>
39602 * configure.in: Use -o not -a in test for unsupported multi-arch.
39604 2012-02-24 Joseph Myers <joseph@codesourcery.com>
39606 * manual/texinfo.tex: Update to version 2012-01-19.16.
39608 2012-02-24 Joseph Myers <joseph@codesourcery.com>
39610 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
39612 2012-02-24 Roland McGrath <roland@hack.frob.com>
39615 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
39616 * manual/fdl-1.3.texi: New file.
39617 * manual/fdl-1.1.texi: File removed.
39620 * manual/libc.texinfo (FDL_VERSION): New @set.
39621 Use it for mention of FDL in cover text.
39622 (Documentation License): Use it in @include file name.
39624 2012-02-22 Joseph Myers <joseph@codesourcery.com>
39625 Roland McGrath <roland@hack.frob.com>
39628 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN)
39629 (not LONG_LONG_MAX and LONG_LONG_MIN.
39630 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
39631 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
39633 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
39635 2012-02-22 Joseph Myers <joseph@codesourcery.com>
39639 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
39640 manipulate bits before adding and subtracting TWO23[sx].
39641 * math/libm-test.inc (nearbyint_test): Add more tests.
39643 2012-02-22 Joseph Myers <joseph@codesourcery.com>
39646 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
39647 bits before adding and subtracting TWO23[sx].
39648 * math/libm-test.inc (rint_test): Add more tests.
39649 (rint_test_tonearest): Likewise.
39650 (rint_test_towardzero): Likewise.
39651 (rint_test_downward): Likewise.
39652 (rint_test_upward: Likewise.
39654 2012-02-22 Joseph Myers <joseph@codesourcery.com>
39657 * include/stdc-predef.h: New file. Extracted from features.h.
39658 * include/features.h: Include stdc-predef.h.
39659 * Makefile (headers): Add stdc-predef.h.
39660 * CONFORMANCE (Compiler limitations): Update.
39662 2012-02-22 Joseph Myers <joseph@codesourcery.com>
39664 * manual/libc.texinfo (VERSION, UPDATED): Revert.
39666 2012-02-21 David S. Miller <davem@davemloft.net>
39668 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
39669 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
39671 2012-02-20 David S. Miller <davem@davemloft.net>
39673 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
39674 using a normal save/restore sequence, rather than allocating a
39675 dummy stack frame just to store a frame pointer and restore.
39676 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
39678 2012-02-21 Joseph Myers <joseph@codesourcery.com>
39680 * manual/install.texi: Fix stray word in line-wrapped comment.
39682 2012-02-20 David S. Miller <davem@davemloft.net>
39684 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
39685 both binutils and gcc support GOTDATA.
39687 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
39688 "rd %pc" in the PIC register setup sequences.
39690 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
39691 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
39692 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
39693 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
39694 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
39695 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
39696 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
39697 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
39698 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
39699 (SYSCALL_ERROR_HANDLER): Likewise.
39700 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
39701 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
39702 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
39703 (SYSCALL_ERROR_HANDLER): Likewise.
39705 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
39706 (HAVE_GCC_GOTDATA): New.
39707 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
39708 relocation support in both binutils and gcc.
39709 * sysdeps/sparc/elf/configure: Regenerate.
39711 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
39712 * sysdeps/sparc/sparc32/elf/configure: Delete.
39713 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
39714 * sysdeps/sparc/sparc64/elf/configure: Delete.
39715 * sysdeps/sparc/elf/configure.in: New file.
39716 * sysdeps/sparc/elf/configure: Generate.
39718 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
39719 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
39720 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
39721 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
39722 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
39724 2012-02-21 Joseph Myers <joseph@codesourcery.com>
39726 * manual/install.texi: Do not mention specific glibc version
39728 * manual/libc.texinfo (VERSION, UPDATED): Update.
39729 (@copying): Use @copyright{} and range of years.
39731 2012-02-21 Joseph Myers <joseph@codesourcery.com>
39734 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
39735 [crti.S not in sysdirs] (generated): Do not append.
39736 [crti.S not in sysdirs] (omit-deps): Likewise.
39737 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
39738 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
39739 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
39740 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
39741 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
39743 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
39744 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
39745 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
39746 * csu/defs.awk: Remove file.
39747 * sysdeps/generic/initfini.c: Likewise.
39748 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
39750 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
39753 2012-02-20 Joseph Myers <joseph@codesourcery.com>
39755 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
39756 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
39757 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
39758 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
39759 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
39760 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
39762 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
39763 (__EPOLL_PACKED): Define to empty if not defined by
39765 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
39766 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
39769 2012-02-20 Joseph Myers <joseph@codesourcery.com>
39771 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
39772 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
39773 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
39774 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
39776 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
39777 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
39780 2012-02-20 Joseph Myers <joseph@codesourcery.com>
39782 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
39784 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
39785 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
39786 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
39787 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39789 2012-02-20 Aurelien Jarno <aurelien@aurel32.net>
39791 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
39792 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
39794 2012-02-19 Andreas Schwab <schwab@linux-m68k.org>
39796 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
39797 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
39799 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
39801 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
39804 2012-02-19 Aurelien Jarno <aurelien@aurel32.net>
39806 * math/w_acos.c: Use non-signaling floating-point comparisons.
39807 * math/w_acosf.c: Likewise.
39808 * math/w_acosh.c: Likewise.
39809 * math/w_acoshf.c: Likewise.
39810 * math/w_acoshl.c: Likewise.
39811 * math/w_acosl.c: Likewise.
39812 * math/w_asin.c: Likewise.
39813 * math/w_asinf.c: Likewise.
39814 * math/w_asinl.c: Likewise.
39815 * math/w_atanh.c: Likewise.
39816 * math/w_atanhf.c: Likewise.
39817 * math/w_atanhl.c: Likewise.
39818 * math/w_exp2.c: Likewise.
39819 * math/w_exp2f.c: Likewise.
39820 * math/w_exp2l.c: Likewise.
39821 * math/w_j0.c: Likewise.
39822 * math/w_j0f.c: Likewise.
39823 * math/w_j0l.c: Likewise.
39824 * math/w_j1.c: Likewise.
39825 * math/w_j1f.c: Likewise.
39826 * math/w_j1l.c: Likewise.
39827 * math/w_jn.c: Likewise.
39828 * math/w_jnf.c: Likewise.
39829 * math/w_log.c: Likewise.
39830 * math/w_log10.c: Likewise.
39831 * math/w_log10f.c: Likewise.
39832 * math/w_log10l.c: Likewise.
39833 * math/w_log2.c: Likewise.
39834 * math/w_log2f.c: Likewise.
39835 * math/w_log2l.c: Likewise.
39836 * math/w_logf.c: Likewise.
39837 * math/w_logl.c: Likewise.
39838 * math/w_sqrt.c: Likewise.
39839 * math/w_sqrtf.c: Likewise.
39840 * math/w_sqrtl.c: Likewise.
39841 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
39842 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
39843 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
39844 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
39845 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
39847 2012-02-19 Joseph Myers <joseph@codesourcery.com>
39850 * manual/string.texi (strnlen): Use correct parameter name in
39851 equivalent expression.
39853 2012-02-19 Joseph Myers <joseph@codesourcery.com>
39856 * manual/users.texi (seteuid): Consistently use neweuid for
39859 2012-02-19 Joseph Myers <joseph@codesourcery.com>
39862 * manual/nss.texi (Services in the NSS configuration): Correct
39863 list of services in example configuration file.
39865 2012-02-19 Nick Bowler <nbowler@draconx.ca>
39868 * manual/arith.texi: Remove statements about negative zero
39869 behaving identically to zero.
39871 2012-02-18 Joseph Myers <joseph@codesourcery.com>
39874 * manual/install.texi: Do not document upgrading from libc5.
39876 2012-02-18 Joseph Myers <joseph@codesourcery.com>
39879 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
39881 2012-02-18 David S. Miller <davem@davemloft.net>
39883 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
39884 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
39885 %o7 across the call.
39886 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
39888 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
39889 SETUP_PIC_REG_LEAF.
39890 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
39891 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
39892 * sysdeps/sparc/crtn.S: Likewise.
39894 2012-02-17 Ulrich Drepper <drepper@gmail.com>
39896 * aout/Makefile: Remove.
39898 2012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
39901 * manual/examples/argp-ex1.c (main): Format definition in GNU
39903 * manual/examples/argp-ex2.c (main): Likewise.
39904 * manual/examples/argp-ex3.c (main): Likewise.
39905 * manual/examples/argp-ex4.c (main): Likewise.
39906 * manual/examples/longopt.c (main): Use new-style prototype
39908 * manual/examples/strncat.c (main): Specify return type and use
39909 (void) for arguments.
39910 * manual/examples/subopt.c (main): Use char **argv argument.
39912 2012-02-17 Joseph Myers <joseph@codesourcery.com>
39915 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
39918 2012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
39921 * manual/string.texi (strchr): Change when strchrnul is
39924 2012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
39927 * manual/locale.texi (setlocale): Document LOCPATH.
39929 2012-02-17 Joseph Myers <joseph@codesourcery.com>
39932 * manual/process.texi (execle): Move @dots{} before last argument.
39934 2012-02-17 Paul Bolle <pebolle@tiscali.nl>
39937 * manual/charset.texi (Generic Charset Conversion): Fix typo
39938 (LC_TYPE -> LC_CTYPE).
39940 2012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
39943 * manual/arith.texi (scalbn): Use @var{} on parameter names.
39944 (scalbnf): Likewise.
39945 (scalbnl): Likewise.
39946 (scalbln): Likewise.
39947 (scalblnf): Likewise.
39948 (scalblnl): Likewise.
39949 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
39950 (vwarnx): Likewise.
39953 * manual/filesys.texi (telldir): Use braces around return type.
39954 * manual/llio.texi (mmap): Add space after comma.
39955 (mmap64): Likewise.
39956 * manual/math.texi (jn): Use @var{} on parameter names.
39962 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
39964 * manual/resource.texi (ulimit): Use @dots{} instead of literal
39966 (sched_get_priority_min): Remove semicolon on @deftypefun line.
39967 (sched_get_priority_max): Likewise.
39968 * manual/signal.texi (sigvec): Add space after comma.
39969 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
39971 (if_indextoname): Likewise.
39972 (if_freenameindex): Likewise.
39973 (sendto): Use ',' instead of '.' in prototype.
39974 * manual/startup.texi (syscall): Use @dots{} instead of literal
39976 * manual/stdio.texi (__fpending): Separate initial words of
39977 paragraph from @deftypefun line.
39978 * manual/syslog.texi (syslog): Use @dots{} instead of literal
39980 (vsyslog): Use @var{} on parameter names.
39981 * manual/terminal.texi (stty): Use @var{} on parameter names.
39982 * manual/users.texi (getutmp): Use @var{} on parameter names.
39983 (getutmpx): Likewise.
39985 2012-02-17 Joseph Myers <joseph@codesourcery.com>
39988 * manual/stdio.texi (fopen): Fix typos in description of
39991 2012-02-17 Aurelien Jarno <aurelien@aurel32.net>
39994 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
39995 get clock_id definition.
39997 2012-02-17 Thomas Schwinge <thomas@schwinge.name>
40000 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
40001 (madvise): Cast every argument to void on its own.
40003 2012-02-17 Joseph Myers <joseph@codesourcery.com>
40006 * manual/startup.texi (Exit Status): Fix typo.
40008 2012-02-17 Joseph Myers <joseph@codesourcery.com>
40011 * manual/examples/argp-ex1.c: Include <stdlib.h>.
40012 * manual/examples/argp-ex2.c: Likewise.
40013 * manual/examples/argp-ex3.c: Likewise.
40015 2012-02-16 Richard Henderson <rth@redhat.com>
40017 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
40018 * sysdeps/s390/s390-32/initfini.c: Remove.
40019 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
40020 * sysdeps/s390/s390-64/initfini.c: Remove.
40022 2012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
40024 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
40025 compiler output for sysdeps/generic/initfini.c.
40026 * sysdeps/sh/elf/initfini.c: Remove file.
40028 2012-02-16 David S. Miller <davem@davemloft.net>
40031 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
40033 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
40034 * sysdeps/sparc/crti.S: New file.
40035 * sysdeps/sparc/crtn.S: New file.
40036 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
40037 * sysdeps/sparc/sparc64/Makefile: Likewise.
40039 2012-02-15 Mike Frysinger <vapier@gentoo.org>
40042 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
40044 2012-02-15 Roland McGrath <roland@hack.frob.com>
40047 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
40049 * mach/devstream.c (cookie_io_functions_t): Macro removed.
40050 (write, read, close): Likewise.
40051 Patch by Aurelien Jarno <aurelien@aurel32.net>.
40053 2012-02-15 Joseph Myers <joseph@codesourcery.com>
40055 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
40056 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
40057 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
40058 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
40060 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
40061 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
40064 2012-02-14 Marek Polacek <polacek@redhat.com>
40066 * sysdeps/x86_64/crti.S: New file.
40067 * sysdeps/x86_64/crtn.S: New file.
40068 * sysdeps/x86_64/elf/initfini.c: Remove file.
40070 2012-02-13 Joseph Myers <joseph@codesourcery.com>
40072 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
40073 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
40074 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
40075 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
40077 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
40078 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
40081 2012-02-13 Joseph Myers <joseph@codesourcery.com>
40083 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
40084 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
40085 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
40086 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
40088 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
40089 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
40092 2012-02-10 Thomas Schwinge <thomas@codesourcery.com>
40094 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
40095 __feraiseexcept instead of feraiseexcept.
40097 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
40098 nanosleep invocations.
40099 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
40100 strings, and add error checking for a nanosleep invocations.
40102 2012-02-09 Paul Eggert <eggert@cs.ucla.edu>
40104 Replace FSF snail mail address with URLs, as per GNU coding standards.
40105 Most of the snail mail addresses were wrong anyway, and omitting
40106 them makes the source code easier to maintain. Almost all of the
40107 changes are to license notices and to locale LC_IDENTIFICATION
40108 addresses, except for this one:
40109 * manual/libc.texinfo: In "Published by", give the FSF's URL,
40110 not its snail mail address.
40112 2012-02-09 Richard Henderson <rth@twiddle.net>
40114 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
40115 of kernel-features.h.
40117 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
40119 2012-02-08 Marek Polacek <polacek@redhat.com>
40121 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
40122 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
40123 * sysdeps/gnu/_G_config.h: Likewise.
40124 * sysdeps/generic/_G_config.h: Likewise.
40126 2012-02-08 Andreas Schwab <schwab@linux-m68k.org>
40128 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
40130 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40132 * sysdeps/powerpc/powerpc32/crti.S: New file.
40133 * sysdeps/powerpc/powerpc32/crtn.S: New file.
40134 * sysdeps/powerpc/powerpc64/crti.S: New file.
40135 * sysdeps/powerpc/powerpc64/crtn.S: New file.
40137 * Makeconfig (have-initfini): Don't set.
40138 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
40139 * configure.in (nopic_initfini): Don't substitute.
40140 * config.h.in (HAVE_INITFINI): Don't #undef.
40141 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
40142 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
40144 2012-02-08 Joseph Myers <joseph@codesourcery.com>
40146 Support crti.S and crtn.S provided directly by architectures.
40147 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
40148 [crti.S in sysdirs] (omit-deps): Likewise.
40149 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
40150 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
40151 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
40152 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
40153 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
40154 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
40155 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
40156 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
40157 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
40158 compiler output for sysdeps/generic/initfini.c.
40159 * sysdeps/i386/elf/Makefile: Remove file.
40160 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
40162 2012-02-07 Marek Polacek <polacek@redhat.com>
40164 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
40165 * sysdeps/gnu/_G_config.h: Likewise.
40166 * sysdeps/mach/hurd/_G_config.h: Likewise.
40168 2012-02-07 Marek Polacek <polacek@redhat.com>
40170 * math/Makefile (tests): Add tst-CMPLX2.
40171 * math/tst-CMPLX2.c: New file.
40173 2012-02-07 Andreas Schwab <schwab@linux-m68k.org>
40175 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
40177 * math/libm-test.inc (jn_test): Add missing L suffix.
40179 2012-02-06 Marek Polacek <polacek@redhat.com>
40181 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
40182 * sysdeps/i386/fpu/e_powf.S: Likewise.
40183 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
40184 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
40185 * sysdeps/i386/fpu/e_acosh.S: Likewise.
40186 * sysdeps/i386/fpu/e_pow.S: Likewise.
40187 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
40188 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
40189 * sysdeps/i386/fpu/s_expm1.S: Likewise.
40190 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
40191 * sysdeps/i386/fpu/e_log2.S: Likewise.
40192 * sysdeps/i386/fpu/e_log2l.S: Likewise.
40193 * sysdeps/i386/fpu/e_scalb.S: Likewise.
40194 * sysdeps/i386/fpu/e_powl.S: Likewise.
40195 * sysdeps/i386/fpu/s_log1p.S: Likewise.
40196 * sysdeps/i386/fpu/e_log10f.S: Likewise.
40197 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
40198 * sysdeps/i386/fpu/e_logl.S: Likewise.
40199 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
40200 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
40201 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
40202 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
40203 * sysdeps/i386/fpu/e_log2f.S: Likewise.
40204 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
40205 * sysdeps/i386/fpu/e_log.S: Likewise.
40206 * sysdeps/i386/fpu/s_cexp.S: Likewise.
40207 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
40208 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
40209 * sysdeps/i386/fpu/e_logf.S: Likewise.
40210 * sysdeps/i386/fpu/e_log10l.S: Likewise.
40211 * sysdeps/i386/fpu/e_atanh.S: Likewise.
40212 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
40213 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
40214 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
40215 * sysdeps/i386/fpu/e_log10.S: Likewise.
40216 * sysdeps/i386/fpu/s_frexp.S: Likewise.
40217 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
40218 * sysdeps/i386/fpu/s_asinh.S: Likewise.
40219 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
40220 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
40221 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
40222 * sysdeps/i386/asm-syntax.h: Likewise.
40223 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
40224 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
40225 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
40226 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
40227 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
40228 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
40229 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
40230 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
40231 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
40232 * sysdeps/powerpc/sysdep.h: Likewise.
40233 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
40234 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
40236 2012-02-06 Joseph Myers <joseph@codesourcery.com>
40239 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
40241 2012-02-06 Joseph Myers <joseph@codesourcery.com>
40243 * sysdeps/i386/sysdep.h: Include <features.h>.
40244 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
40247 2012-02-05 Joseph Myers <joseph@codesourcery.com>
40249 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
40251 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
40254 2012-02-03 Joseph Myers <joseph@codesourcery.com>
40256 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
40257 (SETUP_PIC_REG): Use GET_PC_THUNK.
40258 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
40261 2012-02-03 Joseph Myers <joseph@codesourcery.com>
40263 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
40264 for non-PIC compilation.
40265 (SETUP_PIC_REG): Add .p2align directive.
40266 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
40267 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
40268 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
40269 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
40270 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
40271 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
40272 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
40273 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
40274 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
40275 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
40276 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
40277 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
40278 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
40279 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
40280 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
40281 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
40282 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
40283 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
40284 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
40285 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
40286 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
40287 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
40288 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
40289 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
40290 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
40291 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
40292 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
40293 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
40294 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
40295 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
40296 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
40297 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
40298 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
40299 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
40300 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
40301 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
40302 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
40303 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
40304 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
40305 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
40306 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
40308 2012-02-03 Joseph Myers <joseph@codesourcery.com>
40310 * math/tst-CMPLX.c: Include <stdio.h>.
40312 2012-01-31 Joseph Myers <joseph@codesourcery.com>
40314 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
40316 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
40317 * sysdeps/sparc/bits/mathdef.h: Likewise.
40319 2012-01-31 Marek Polacek <polacek@redhat.com>
40321 * libio/libio.h: Don't define _PARAMS.
40322 * locale/programs/config.h: Don't define PARAMS.
40323 * stdlib/strtol_l.c: Likewise.
40324 (__strtol_l): Remove PARAMS from the prototype.
40326 2012-01-31 Ulrich Drepper <drepper@gmail.com>
40328 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
40329 names. Just use the correct names. Remove unnecessary wrapper
40331 * malloc/arena.c: Likewise.
40332 * malloc/hooks.c: Likewise.
40334 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
40335 ARENA_TEST says not to. Simplify test for creation of a new arena.
40336 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
40338 2012-01-30 Ulrich Drepper <drepper@gmail.com>
40340 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
40342 (update_get_addr): New function.
40343 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
40344 GET_ADDR_MODULE parameter.
40346 2012-01-30 Joseph Myers <joseph@codesourcery.com>
40348 * crypt/cert.c: Remove __STDC__ conditionals.
40349 * crypt/crypt-entry.c: Likewise.
40350 * crypt/crypt_util.c: Likewise.
40351 * libio/filedoalloc.c: Likewise.
40352 * libio/fileops.c: Likewise.
40353 * libio/genops.c: Likewise.
40354 * libio/iofclose.c: Likewise.
40355 * libio/iofdopen.c: Likewise.
40356 * libio/iofopen.c: Likewise.
40357 * libio/iofopen64.c: Likewise.
40358 * libio/iogetdelim.c: Likewise.
40359 * libio/iopopen.c: Likewise.
40360 * libio/obprintf.c: Likewise.
40361 * libio/oldfileops.c: Likewise.
40362 * libio/oldiofclose.c: Likewise.
40363 * libio/oldiofdopen.c: Likewise.
40364 * libio/oldiofopen.c: Likewise.
40365 * libio/oldiopopen.c: Likewise.
40366 * libio/wfiledoalloc.c: Likewise.
40367 * libio/wgenops.c: Likewise.
40368 * locale/programs/xmalloc.c: Likewise.
40369 * misc/syslog.c: Likewise.
40370 * stdio-common/xbug.c: Likewise.
40371 * string/memchr.c: Likewise.
40372 * string/memcmp.c: Likewise.
40373 * string/memrchr.c: Likewise.
40374 * string/rawmemchr.c: Likewise.
40375 * sysdeps/posix/getcwd.c: Likewise.
40376 * time/strftime_l.c: Likewise.
40378 2012-01-30 Joseph Myers <joseph@codesourcery.com>
40380 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
40381 * config.make.in (config-cflags-sse2avx): Define.
40382 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
40385 2012-01-29 Chris Metcalf <cmetcalf@tilera.com>
40387 * scripts/config.guess: Update from upstream config git repository.
40388 * scripts/config.sub: Likewise.
40390 2012-01-28 Chris Metcalf <cmetcalf@tilera.com>
40392 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
40394 (R_TILEPRO_*, R_TILEGX_*): New macros.
40396 * scripts/firstversions.awk: Fix bug in version range handling.
40398 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
40400 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
40402 * include/sys/epoll.h: New file.
40403 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
40406 2012-01-28 Ulrich Drepper <drepper@gmail.com>
40408 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
40409 Avoid unnecessary __WORDSIZE == 64 test.
40410 (fmaxf): Use VEX format if possible.
40415 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
40416 * math/math_private.h: Remove libc_fegetround* and
40418 * sysdeps/i386/configure.in: Check for -msse2avx.
40419 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
40420 also if SSE2AVX is defined.
40421 Remove libc_fegetround* and libc_fesetround*.
40422 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
40423 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
40424 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
40426 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
40427 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
40428 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
40429 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
40430 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
40432 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
40434 2012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
40436 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
40438 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
40440 2012-01-27 Ulrich Drepper <drepper@gmail.com>
40443 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
40445 * Makeconfig (libm): Define.
40446 * elf/Makefile: Add rules to build and run tst-relsort1.
40447 * elf/tst-relsort1.c: New file.
40448 * elf/tst-relsort1mod1.c: New file.
40449 * elf/tst-relsort1mod2.c: New file.
40451 2012-01-27 Joseph Myers <joseph@codesourcery.com>
40453 * math/s_ldexp.c: Remove __STDC__ conditionals.
40454 * math/s_ldexpf.c: Likewise.
40455 * math/s_ldexpl.c: Likewise.
40456 * math/s_nextafter.c: Likewise.
40457 * math/s_nexttowardf.c: Likewise.
40458 * math/s_significand.c: Likewise.
40459 * math/s_significandf.c: Likewise.
40460 * math/s_significandl.c: Likewise.
40461 * math/w_jnl.c: Likewise.
40462 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
40463 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
40464 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
40465 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
40466 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
40467 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
40468 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
40469 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
40470 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
40471 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
40472 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
40473 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
40474 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
40475 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
40476 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
40477 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
40478 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
40479 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
40480 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
40481 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
40482 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
40483 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
40484 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
40485 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
40486 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
40487 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
40488 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
40489 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
40490 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
40491 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
40492 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
40493 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
40494 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
40495 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
40496 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
40497 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
40498 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
40499 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
40500 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
40501 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
40502 * sysdeps/ieee754/k_standard.c: Likewise.
40503 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
40504 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
40505 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
40506 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
40507 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
40508 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
40509 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
40510 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
40511 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
40512 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
40513 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
40514 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
40515 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
40516 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
40517 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
40518 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
40519 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
40520 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
40521 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
40522 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
40523 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
40524 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
40525 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
40526 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
40527 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
40528 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
40529 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
40530 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
40531 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
40532 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
40533 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
40534 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
40535 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
40536 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
40537 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
40538 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
40539 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
40540 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
40541 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
40542 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
40543 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
40544 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
40545 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
40546 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
40547 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
40548 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
40549 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
40550 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
40551 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
40552 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
40553 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
40554 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
40555 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
40556 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
40557 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
40558 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
40559 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
40560 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
40561 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
40562 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
40563 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
40564 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
40565 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
40566 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
40567 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
40568 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
40569 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
40570 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
40571 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
40572 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
40573 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
40574 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
40575 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
40576 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
40577 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
40578 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
40579 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
40580 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
40581 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
40582 * sysdeps/ieee754/s_matherr.c: Likewise.
40583 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
40584 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
40585 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
40586 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
40588 2012-01-26 Joseph Myers <joseph@codesourcery.com>
40590 * crypt/md5.h: Remove __STDC__ conditionals.
40591 * libio/libioP.h: Likewise.
40592 * locale/programs/config.h: Likewise.
40593 * sysdeps/generic/sysdep.h: Likewise.
40594 * sysdeps/i386/asm-syntax.h: Likewise.
40595 * sysdeps/s390/asm-syntax.h: Likewise.
40596 * sysdeps/unix/sysdep.h: Likewise.
40597 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
40598 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
40600 2012-01-26 Joseph Myers <joseph@codesourcery.com>
40602 * libio/libio.h: Remove __STDC__ conditionals.
40603 * malloc/obstack.h: Likewise.
40604 * math/complex.h: Likewise.
40605 * math/math.h: Likewise.
40606 * sysdeps/generic/_G_config.h: Likewise.
40607 * sysdeps/gnu/_G_config.h: Likewise.
40608 * sysdeps/mach/hurd/_G_config.h: Likewise.
40609 * sysdeps/powerpc/bits/mathdef.h: Likewise.
40610 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
40611 * sysdeps/sparc/bits/mathdef.h: Likewise.
40613 2012-01-26 Ulrich Drepper <drepper@gmail.com>
40616 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
40617 Clean up HAS_* macros.
40618 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
40619 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
40621 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
40623 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
40624 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
40625 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
40626 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
40627 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
40629 2012-01-25 Joseph Myers <joseph@codesourcery.com>
40631 * elf/tst-unique3.cc (gets): Remove declaration.
40632 * elf/tst-unique3lib.cc (gets): Likewise.
40633 * elf/tst-unique3lib2.cc (gets): Likewise.
40634 * elf/tst-unique4.cc (gets): Likewise.
40636 2012-01-24 Ulrich Drepper <drepper@gmail.com>
40638 * include/stdio.h: Add C++ protection. Add gets declarations and
40640 * debug/tst-chk1.c: Don't declare gets here.
40641 * stdio-common/tst-gets.c: Likewise.
40643 2012-01-24 Joseph Myers <joseph@codesourcery.com>
40645 * posix/glob: Remove directory.
40647 2012-01-24 Joseph Myers <joseph@codesourcery.com>
40649 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
40651 2012-01-22 Pino Toscano <toscano.pino@tiscali.it>
40653 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
40654 of the non-standard EPFNOSUPPORT.
40656 2011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
40658 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
40659 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
40660 ANYWHERE set to 1 only on KERN_NO_SPACE error.
40662 2012-01-21 Ulrich Drepper <drepper@gmail.com>
40664 * wcsmbs/uchar.h: Test __STDC_VERSION__.
40666 2012-01-20 Ulrich Drepper <drepper@gmail.com>
40668 * nscd/aicache.c (addhstaiX): Do not cache negative results of
40670 * nscd/grpcache.c (cache_addgr): Likewise.
40671 * nscd/hstcache.c (cache_addhst): Likewise.
40672 * nscd/initgrcache.c (addinitgroupsX): Likewise.
40673 * nscd/pwdcache.c (cache_addpw): Likewise.
40674 * nscd/servicescache.c (cache_addserv): Likewise.
40676 2012-01-16 Ulrich Drepper <drepper@gmail.com>
40678 * malloc/malloc.c: Various cleanups.
40679 * malloc/hooks.c: Likewise.
40681 * stdlib/Makefile (tests): Add bug-fmtmsg1.
40682 * stdlib/bug-fmtmsg1.c: New file.
40684 * stdlib/fmtmsg.c (init): Add missing unlock.
40685 Patch by Peng Haitao <penght@cn.fujitsu.com>.
40687 2012-01-12 Marek Polacek <polacek@redhat.com>
40689 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
40692 2012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
40694 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
40695 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
40696 macro to ensure uniqueness of label name.
40697 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
40698 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
40700 2012-01-11 Ulrich Drepper <drepper@gmail.com>
40702 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
40704 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
40705 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
40706 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
40707 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
40709 2012-01-10 Ulrich Drepper <drepper@gmail.com>
40711 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
40713 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
40714 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
40715 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
40717 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
40719 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
40720 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
40721 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
40722 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
40724 * math/bits/math-finite.h: Add ldexp support.
40726 2012-01-10 Marek Polacek <polacek@redhat.com>
40728 * locale/programs/localedef.h (show_archive_content): Add noreturn
40731 2012-01-09 Ulrich Drepper <drepper@gmail.com>
40733 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
40735 2012-01-08 Ulrich Drepper <drepper@gmail.com>
40737 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
40739 * io/Makefile (headers): Add bits/poll2.h.
40741 2011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
40743 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
40744 typo #include statement.
40746 2012-01-08 Ulrich Drepper <drepper@gmail.com>
40748 * include/sys/cdefs.h: Define __attribute_alloc_size.
40749 * catgets/gencat.c: Add alloc_size attribute and apply consistently
40750 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
40751 * elf/pldd.c: Likewise.
40752 * iconv/iconv_charmap.c: Likewise.
40753 * iconv/iconvconfig.c: Likewise.
40754 * iconv/strtab.c: Likewise.
40755 * locale/programs/locale.c: Likewise.
40756 * locale/programs/localedef.h: Likewise.
40757 * locale/programs/simple-hash.c: Likewise.
40758 * nscd/nscd.h: Likewise.
40759 * nss/makedb.c: Likewise.
40760 * sysdeps/generic/ldconfig.h: Likewise.
40761 * locale/programs/localedef.c: Remove xmalloc prototype.
40762 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
40764 2012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
40766 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
40769 2012-01-08 Ulrich Drepper <drepper@gmail.com>
40771 * math/Makefile (tests): Add tst-CMPLX.
40772 * math/tst-CMPLX.c: New file.
40774 * math/complex.h (CMPLXL): Fix typo.
40776 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
40777 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
40779 * debug/tst-chk1.c: Add poll and ppoll tests.
40780 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
40781 * include/sys/poll.h: Add hidden proto for ppoll.
40782 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
40783 * sysdeps/mach/hurd/ppoll.c: Likewise.
40784 * io/ppoll.c: Likewise.
40785 * debug/poll_chk.c: New file.
40786 * debug/ppoll_chk.c: New file.
40787 * include/bits/poll2.h: New file.
40788 * io/bits/poll2.h: New file.
40791 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
40793 * configure.in: static is always set to yes. Remove.
40794 * config.make.in: Don't set build-static.
40795 * Makeconfig: Remove use of build-static.
40796 * dlfcn/Makefile: Likewise.
40797 * elf/Makefile: Likewise.
40798 * math/Makefile: Likewise.
40799 * misc/Makefile: Likewise.
40800 * nptl/Makefile: Likewise.
40801 * sysdeps/mach/hurd/Makefile: Likewise.
40803 * configure.in: PWD_P is not used anymore.
40804 * config.make.in: Remove PWD_P entry.
40806 * configure.in: Remove last remnants of RANLIB.
40807 No need to check for signed size_t anymore.
40808 Don't set libc_commonpagesize and libc_relro_required here for Alpha
40810 Remove __builtin_expect test because we require at least gcc 3.4.
40811 * aclocal.m4: Likewise.
40813 * wcsmbs/mbrtoc16.c: Implement using towc function.
40814 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
40815 * wcsmbs/wcsmbsload.c: Likewise.
40816 * iconv/gconv_simple.c: Likewise.
40817 * iconv/gconv_int.h: Likewise.
40818 * iconv/gconv_builtin.h: Likewise.
40819 * iconv/iconv_prog.c: Remove CHAR16 handling.
40821 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
40823 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
40825 * configure.in: Remove --with-elf and --enable-bounded options.
40826 Dont set base_machine for ia64. More non-ELF conditions removed.
40827 Remove testing and setting of leading underscore information.
40828 * config.make.in (build-bounded): Set to no.
40829 * config.h.in: Remove NO_UNDERSCORES entry.
40830 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
40832 * csu/start.c: Remove !NO_UNDERSCORE code.
40833 * locale/localeinfo.h: Likewise.
40834 * sysdeps/generic/machine-gmon.h: Likewise.
40835 * sysdeps/generic/sysdep.h: Likewise.
40836 * sysdeps/i386/sysdep.h: Likewise.
40837 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
40838 * sysdeps/mach/sysdep.h: Likewise.
40839 * sysdeps/s390/s390-32/sysdep.h: Likewise.
40840 * sysdeps/s390/s390-64/sysdep.h: Likewise.
40841 * sysdeps/sh/sysdep.h: Likewise.
40842 * sysdeps/sparc/sparc32/alloca.S: Likewise.
40843 * sysdeps/unix/i386/sysdep.S: Likewise.
40844 * sysdeps/unix/sparc/start.c: Likewise.
40845 * sysdeps/unix/sparc/sysdep.S: Likewise.
40846 * sysdeps/unix/sparc/sysdep.h: Likewise.
40847 * sysdeps/unix/start.c: Likewise.
40848 * sysdeps/unix/x86_64/sysdep.S: Likewise.
40849 * sysdeps/x86_64/sysdep.h: Likewise.
40851 2012-01-07 Ulrich Drepper <drepper@gmail.com>
40854 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
40856 * argp/argp-fmtstream.h: Use const instead __const.
40857 * argp/argp.h: Likewise.
40858 * assert/assert.h: Likewise.
40859 * bits/fenv.h: Likewise.
40860 * bits/sched.h: Likewise.
40861 * bits/sigset.h: Likewise.
40862 * bits/sigthread.h: Likewise.
40863 * catgets/nl_types.h: Likewise.
40864 * conform/data/pthread.h-data: Likewise.
40865 * crypt/crypt-private.h: Likewise.
40866 * crypt/crypt.h: Likewise.
40867 * crypt/crypt_util.c: Likewise.
40868 * ctype/ctype.h: Likewise.
40869 * debug/execinfo.h: Likewise.
40870 * debug/mbsnrtowcs_chk.c: Likewise.
40871 * debug/mbsrtowcs_chk.c: Likewise.
40872 * debug/wcsnrtombs_chk.c: Likewise.
40873 * debug/wcsrtombs_chk.c: Likewise.
40874 * debug/wcstombs_chk.c: Likewise.
40875 * dirent/dirent.h: Likewise.
40876 * dlfcn/dlfcn.h: Likewise.
40877 * elf/neededtest4.c: Likewise.
40878 * grp/grp.h: Likewise.
40879 * gshadow/gshadow.h: Likewise.
40880 * iconv/gconv.h: Likewise.
40881 * iconv/gconv_int.h: Likewise.
40882 * iconv/gconv_simple.c: Likewise.
40883 * iconv/iconv.h: Likewise.
40884 * iconv/loop.c: Likewise.
40885 * iconv/skeleton.c: Likewise.
40886 * include/aio.h: Likewise.
40887 * include/aliases.h: Likewise.
40888 * include/argz.h: Likewise.
40889 * include/arpa/inet.h: Likewise.
40890 * include/assert.h: Likewise.
40891 * include/dirent.h: Likewise.
40892 * include/dlfcn.h: Likewise.
40893 * include/execinfo.h: Likewise.
40894 * include/fcntl.h: Likewise.
40895 * include/fenv.h: Likewise.
40896 * include/glob.h: Likewise.
40897 * include/grp.h: Likewise.
40898 * include/libintl.h: Likewise.
40899 * include/mntent.h: Likewise.
40900 * include/netdb.h: Likewise.
40901 * include/pwd.h: Likewise.
40902 * include/rpc/netdb.h: Likewise.
40903 * include/sched.h: Likewise.
40904 * include/search.h: Likewise.
40905 * include/shadow.h: Likewise.
40906 * include/signal.h: Likewise.
40907 * include/stdio.h: Likewise.
40908 * include/stdlib.h: Likewise.
40909 * include/string.h: Likewise.
40910 * include/sys/socket.h: Likewise.
40911 * include/sys/stat.h: Likewise.
40912 * include/sys/statfs.h: Likewise.
40913 * include/sys/statvfs.h: Likewise.
40914 * include/sys/syslog.h: Likewise.
40915 * include/sys/time.h: Likewise.
40916 * include/sys/uio.h: Likewise.
40917 * include/time.h: Likewise.
40918 * include/unistd.h: Likewise.
40919 * include/utmp.h: Likewise.
40920 * include/wchar.h: Likewise.
40921 * include/wctype.h: Likewise.
40922 * inet/aliases.h: Likewise.
40923 * inet/arpa/inet.h: Likewise.
40924 * inet/netinet/ether.h: Likewise.
40925 * inet/netinet/in.h: Likewise.
40926 * intl/libintl.h: Likewise.
40927 * io/bits/fcntl2.h: Likewise.
40928 * io/fcntl.h: Likewise.
40929 * io/ftw.h: Likewise.
40930 * io/sys/poll.h: Likewise.
40931 * io/sys/stat.h: Likewise.
40932 * io/sys/statfs.h: Likewise.
40933 * io/sys/statvfs.h: Likewise.
40934 * io/utime.h: Likewise.
40935 * libio/bits/stdio.h: Likewise.
40936 * libio/bits/stdio2.h: Likewise.
40937 * libio/libio.h: Likewise.
40938 * libio/libioP.h: Likewise.
40939 * libio/stdio.h: Likewise.
40940 * locale/lc-ctype.c: Likewise.
40941 * locale/locale.h: Likewise.
40942 * login/utmp.h: Likewise.
40943 * malloc/arena.c: Likewise.
40944 * malloc/malloc.c: Likewise.
40945 * malloc/malloc.h: Likewise.
40946 * malloc/mcheck.c: Likewise.
40947 * malloc/mtrace.c: Likewise.
40948 * math/bits/mathcalls.h: Likewise.
40949 * math/fenv.h: Likewise.
40950 * math/math_private.h: Likewise.
40951 * misc/bits/error.h: Likewise.
40952 * misc/bits/syslog.h: Likewise.
40953 * misc/err.h: Likewise.
40954 * misc/error.h: Likewise.
40955 * misc/fstab.h: Likewise.
40956 * misc/mntent.h: Likewise.
40957 * misc/regexp.h: Likewise.
40958 * misc/search.h: Likewise.
40959 * misc/sgtty.h: Likewise.
40960 * misc/sys/mman.h: Likewise.
40961 * misc/sys/syslog.h: Likewise.
40962 * misc/sys/uio.h: Likewise.
40963 * misc/sys/xattr.h: Likewise.
40964 * misc/ttyent.h: Likewise.
40965 * nis/rpcsvc/ypclnt.h: Likewise.
40966 * nss/nss.h: Likewise.
40967 * posix/bits/unistd.h: Likewise.
40968 * posix/fnmatch.h: Likewise.
40969 * posix/glob.h: Likewise.
40970 * posix/sched.h: Likewise.
40971 * posix/spawn.h: Likewise.
40972 * posix/sys/wait.h: Likewise.
40973 * posix/unistd.h: Likewise.
40974 * posix/wordexp.h: Likewise.
40975 * pwd/pwd.h: Likewise.
40976 * resolv/netdb.h: Likewise.
40977 * resource/sys/resource.h: Likewise.
40978 * rt/aio.h: Likewise.
40979 * rt/bits/mqueue2.h: Likewise.
40980 * rt/mqueue.h: Likewise.
40981 * shadow/shadow.h: Likewise.
40982 * signal/signal.h: Likewise.
40983 * socket/send.c: Likewise.
40984 * socket/sendto.c: Likewise.
40985 * socket/sys/socket.h: Likewise.
40986 * stdio-common/printf.h: Likewise.
40987 * stdlib/bits/stdlib.h: Likewise.
40988 * stdlib/fmtmsg.h: Likewise.
40989 * stdlib/monetary.h: Likewise.
40990 * stdlib/stdlib.h: Likewise.
40991 * stdlib/ucontext.h: Likewise.
40992 * streams/stropts.h: Likewise.
40993 * string/argz.h: Likewise.
40994 * string/bits/string2.h: Likewise.
40995 * string/string.h: Likewise.
40996 * string/strings.h: Likewise.
40997 * sunrpc/rpc/auth.h: Likewise.
40998 * sunrpc/rpc/auth_des.h: Likewise.
40999 * sunrpc/rpc/clnt.h: Likewise.
41000 * sunrpc/rpc/netdb.h: Likewise.
41001 * sunrpc/rpc/pmap_clnt.h: Likewise.
41002 * sunrpc/rpc/xdr.h: Likewise.
41003 * sysdeps/generic/inttypes.h: Likewise.
41004 * sysdeps/generic/net/if.h: Likewise.
41005 * sysdeps/generic/sys/swap.h: Likewise.
41006 * sysdeps/gnu/net/if.h: Likewise.
41007 * sysdeps/gnu/utmpx.h: Likewise.
41008 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
41009 * sysdeps/i386/i486/bits/string.h: Likewise.
41010 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
41011 * sysdeps/s390/bits/string.h: Likewise.
41012 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
41013 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
41014 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
41015 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
41016 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
41017 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
41018 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
41019 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
41020 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
41021 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
41022 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
41023 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
41024 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
41025 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
41026 * sysdeps/unix/sysv/linux/readv.c: Likewise.
41027 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
41028 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
41029 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
41030 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
41031 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
41032 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
41033 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
41034 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
41035 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
41036 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
41037 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
41038 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
41039 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
41040 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
41041 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
41042 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
41043 * sysvipc/sys/ipc.h: Likewise.
41044 * sysvipc/sys/msg.h: Likewise.
41045 * sysvipc/sys/sem.h: Likewise.
41046 * sysvipc/sys/shm.h: Likewise.
41047 * termios/termios.h: Likewise.
41048 * time/sys/time.h: Likewise.
41049 * time/time.h: Likewise.
41050 * wcsmbs/bits/wchar2.h: Likewise.
41051 * wcsmbs/uchar.h: Likewise.
41052 * wcsmbs/wchar.h: Likewise.
41053 * wctype/wctype.h: Likewise.
41056 * Makeconfig: Remove all but ELF support including AIX support.
41057 * Makerules: Likewise.
41058 * config.h.in: Likewise.
41059 * config.make.in: Likewise.
41060 * configure: Likewise.
41061 * configure.in: Likewise.
41062 * csu/Makefile: Likewise.
41063 * csu/version.c: Likewise.
41064 * debug/Makefile: Likewise.
41065 * dlfcn/Makefile: Likewise.
41066 * elf/Makefile: Likewise.
41067 * extra-lib.mk: Likewise.
41068 * iconv/Makefile: Likewise.
41069 * include/libc-symbols.h: Likewise.
41070 * include/shlib-compat.h: Likewise.
41071 * resolv/Makefile: Likewise.
41072 * resolv/res_libc.c: Likewise.
41073 * rt/Makefile: Likewise.
41074 * sysdeps/i386/asm-syntax.h: Likewise.
41075 * sysdeps/i386/sysdep.h: Likewise.
41076 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
41077 * sysdeps/mach/sysdep.h: Likewise.
41078 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
41079 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
41080 * sysdeps/s390/asm-syntax.h: Likewise.
41081 * sysdeps/s390/s390-32/sysdep.h: Likewise.
41082 * sysdeps/s390/s390-64/sysdep.h: Likewise.
41083 * sysdeps/sh/sysdep.h: Likewise.
41084 * sysdeps/unix/sparc/sysdep.h: Likewise.
41085 * sysdeps/wordsize-32/divdi3.c: Likewise.
41086 * sysdeps/x86_64/sysdep.h: Likewise.
41088 * argp/Versions: Remove _argp_unlock_xxx.
41091 * abilist/ld.abilist: Update. Adjust for removal of tls option.
41092 * abilist/libBrokenLocale.abilist: Likewise.
41093 * abilist/libanl.abilist: Likewise.
41094 * abilist/libc.abilist: Likewise.
41095 * abilist/libcrypt.abilist: Likewise.
41096 * abilist/libdl.abilist: Likewise.
41097 * abilist/libm.abilist: Likewise.
41098 * abilist/libnsl.abilist: Likewise.
41099 * abilist/libpthread.abilist: Likewise.
41100 * abilist/libresolv.abilist: Likewise.
41101 * abilist/librt.abilist: Likewise.
41102 * abilist/libthread_db.abilist: Likewise.
41103 * abilist/libutil.abilist: Likewise.
41104 * abilist/libnss_db.abilist: New file.
41106 * scripts/abilist.awk: Add support for indirect functions.
41108 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
41110 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
41112 * shlib-versions: Remove entries for ports architectures.
41114 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
41116 * elf/stackguard-macros.h: Remove support for IA-64.
41117 * elf/tst-auditmod1.c: Likewise.
41118 * sysdeps/generic/ldsodefs.h: Likewise.
41120 * sysdeps/unix/sysv/linux/configure.in: Ports should define
41121 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
41125 * configure.in: Remove --enable-omitfp support.
41127 * config.make.in: Likewise.
41128 * Makeconfig: Likewise.
41129 * manual/install.texi: Likewise.
41131 In case anyone cares, the IA-64 architecture could move to ports.
41132 * sysdeps/ia64/*: Removed.
41133 * sysdeps/unix/sysv/linux/ia64/*: Removed.
41134 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
41137 * configure.in: Remove entries for unsupported architectures.
41140 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
41141 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
41143 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
41144 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
41145 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
41146 fall back to using wcrtomb.
41147 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
41148 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
41150 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
41151 * wcsmbs/tst-c16c32-1.c: New file.
41153 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
41156 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
41158 * elf/tst-unique3.cc: Add explicit declaration of gets.
41159 * elf/tst-unique3lib.cc: Likewise.
41160 * elf/tst-unique3lib2.cc: Likewise.
41161 * elf/tst-unique4.cc: Likewise.
41163 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
41165 2012-01-06 Joseph Myers <joseph@codesourcery.com>
41168 * assert/assert.h (static_assert): Don't define for C++.
41169 * libio/stdio.h (gets): Do declare for C++ <= C++11.
41170 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
41172 2012-01-03 Ulrich Drepper <drepper@gmail.com>
41174 * iconv/loop.c (single loop): Fix assertion in storing of
41177 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
41179 2012-01-01 Ulrich Drepper <drepper@gmail.com>
41181 * posix/getconf.c: Update copyright year.
41182 * nss/getent.c: Likewise.
41183 * nss/makedb.c: Likewise.
41184 * iconv/iconvconfig.c: Likewise.
41185 * iconv/iconv_prog.c: Likewise.
41186 * elf/ldconfig.c: Likewise.
41187 * elf/pldd.c: Likewise.
41188 * elf/sotruss.ksh: Likewise.
41189 * catgets/gencat.c: Likewise.
41190 * csu/version.c: Likewise.
41191 * elf/ldd.bash.in: Likewise.
41192 * elf/sprof.c (print_version): Likewise.
41193 * locale/programs/locale.c: Likewise.
41194 * locale/programs/localedef.c: Likewise.
41195 * login/programs/pt_chown.c: Likewise.
41196 * nscd/nscd.c (print_version): Likewise.
41197 * debug/xtrace.sh: Likewise.
41198 * malloc/memusage.sh: Likewise.
41199 * malloc/mtrace.pl: Likewise.
41200 * debug/catchsegv.sh: Likewise.
41202 2011-12-30 Jakub Jelinek <jakub@redhat.com>
41204 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
41207 2011-12-24 Ulrich Drepper <drepper@gmail.com>
41210 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
41211 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
41213 * iconv/gconv_int.h: Likewise.
41214 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
41215 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
41216 from libc for GLIBC_2.16.
41217 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
41218 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
41219 * wcsmbs/uchar.h: Really define mbstate_t.
41220 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
41221 * wcsmbs/c16rtomb.c: New file.
41222 * wcsmbs/mbrtoc16.c: New file.
41223 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
41224 for C/POSIX locale.
41225 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
41226 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
41228 * wcsmbs/wchar.h: Add missing __restrict.
41230 2011-12-23 Ulrich Drepper <drepper@gmail.com>
41233 * time/Makefile (routines): Add timespec_get.
41234 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
41235 * time/time.h: Define TIME_UTC and declare timespec_get. Define
41236 timespec for ISO C11.
41237 * time/timespec_get.c: New file.
41238 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
41239 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
41242 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
41243 * stdlib/stdlib.h: Declare aligned_alloc.
41244 * Versions.def: Add GLIBC_2.16 for libc.
41245 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
41248 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
41251 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
41255 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
41258 * assert/assert.h (static_assert): Define.
41260 * version.h: Update for 2.16 development version.
41263 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
41266 * version.h (RELEASE): Bump for 2.15 release.
41267 * include/features.h (__GLIBC_MINOR__): Bump to 15.
41269 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
41270 Patch by Marek Polacek <mpolacek@redhat.com>.
41272 * bits/byteswap.h: Protect long long constants with __extension__.
41273 * sysdeps/i386/bits/byteswap.h: Likewise.
41274 * sysdeps/ia64/bits/byteswap.h: Likewise.
41275 * sysdeps/s390/bits/byteswap.h: Likewise.
41276 * sysdeps/x86_64/bits/byteswap.h: Likewise.
41278 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
41281 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
41282 destination buffer.
41283 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
41285 2011-12-23 Marek Polacek <polacek@redhat.com>
41287 * elf/dl-addr.c (determine_info): Add inline keyword.
41288 * elf/tst-auditmod4b.c (check_avx): Likewise.
41289 * elf/tst-auditmod6b.c (check_avx): Likewise.
41290 * elf/tst-auditmod6c.c (check_avx): Likewise.
41291 * elf/tst-auditmod7b.c (check_avx): Likewise.
41293 2011-12-23 Ulrich Drepper <drepper@gmail.com>
41295 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
41298 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
41301 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
41302 processing for last bytes.
41304 2011-08-06 Bruno Haible <bruno@clisp.org>
41307 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
41308 U+0385, not to U+1FEE.
41311 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
41312 entry for U+00A5 U+0301.
41314 2011-12-22 Ulrich Drepper <drepper@gmail.com>
41317 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
41318 buffer for the output is too small.
41320 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
41324 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
41325 SSE flags if possible.
41327 2011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
41330 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
41331 processing for last bytes.
41333 2011-12-22 Joseph Myers <joseph@codesourcery.com>
41335 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
41336 (syscall-list-default-options, syscall-list-default-condition)
41337 (syscall-list-includes): Define.
41338 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
41339 list of ABIs and options and #if conditions for each ABI. Do not
41340 handle common syscalls between ABIs specially.
41341 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
41343 (syscall-list-variants, syscall-list-32bit-options)
41344 (syscall-list-32bit-condition, syscall-list-64bit-options)
41345 (syscall-list-64bit-condition): Define.
41346 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
41347 (syscall-list-variants, syscall-list-32bit-options)
41348 (syscall-list-32bit-condition, syscall-list-64bit-options)
41349 (syscall-list-64bit-condition): Define.
41350 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
41352 (syscall-list-variants, syscall-list-32bit-options)
41353 (syscall-list-32bit-condition, syscall-list-64bit-options)
41354 (syscall-list-64bit-condition): Define.
41355 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
41357 (syscall-list-variants, syscall-list-32bit-options)
41358 (syscall-list-32bit-condition, syscall-list-64bit-options)
41359 (syscall-list-64bit-condition): Define.
41361 2011-12-22 Ulrich Drepper <drepper@gmail.com>
41363 * locale/iso-639.def: Add brx entry.
41366 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
41367 Proposed by Mariusz_Cukr <marcukr@op.pl>.
41369 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
41370 __feraiseexcept_renamed.
41372 2011-12-21 Ulrich Drepper <drepper@gmail.com>
41375 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
41376 EPOLLET with unsigned values.
41377 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
41378 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
41380 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
41381 to large cancellation.
41382 * math/s_cacoshf.c: Likewise.
41383 * math/s_cacoshl.c: Likewise.
41385 2011-11-18 Richard B. Kreckel <kreckel@ginac.de>
41389 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
41390 * math/s_cacoshf.c: Likewise.
41391 * math/s_cacoshl.c: Likewise.
41393 2011-12-21 Ulrich Drepper <drepper@gmail.com>
41396 * iconv/gconv.h: Define __GCONV_SWAP.
41397 * iconvdata/unicode.c: The swap bit must be stored in __flags.
41398 * iconvdata/utf-16.c: Likewise.
41399 * iconvdata/utf-32.c: Likewise.
41401 2011-12-21 Andreas Schwab <schwab@linux-m68k.org>
41404 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
41405 numerator after shifting it by one limb.
41407 2011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
41409 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
41410 under [__USE_EXTERN_INLINES].
41412 2011-12-17 Ulrich Drepper <drepper@gmail.com>
41415 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
41417 2011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
41419 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
41420 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
41422 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
41423 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
41424 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
41425 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
41426 for strncasecmp/strncasecmp_l compilation.
41427 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
41428 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
41430 2011-12-08 Marek Polacek <mpolacek@redhat.com>
41433 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
41436 2011-12-17 Ulrich Drepper <drepper@gmail.com>
41439 * time/tzfile.c (__tzfile_read): Check values from file header.
41441 2011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
41443 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
41444 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
41445 * powerpc/powerpc32/dl-start.S: Likewise.
41446 * powerpc/powerpc32/elf/start.S: Likewise.
41447 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
41448 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
41449 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
41450 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
41451 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
41452 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
41453 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
41454 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
41455 * powerpc/powerpc32/fpu/s_round.S: Likewise.
41456 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
41457 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
41458 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
41459 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
41460 * powerpc/powerpc32/memset.S: Likewise.
41461 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
41462 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
41463 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
41464 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
41465 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
41466 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
41467 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
41468 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
41469 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
41470 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
41471 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
41472 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
41473 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
41475 2011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
41477 * math/libm-test.inc: Added more nearbyint tests.
41478 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
41479 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
41480 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
41481 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
41483 2011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
41485 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
41488 2011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
41490 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
41491 Add wcscpy-ssse3 wcscpy-c.
41492 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
41493 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
41494 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
41495 * sysdeps/x86_64/wcschr.S: New file.
41496 * sysdeps/x86_64/wcsrchr.S: New file.
41497 * string/test-strcmp.c: Remove checking of wcscmp function for
41499 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
41500 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
41501 wcsrchr-sse2 wcsrchr-c.
41502 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
41503 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
41504 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
41505 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
41506 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
41507 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
41508 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
41509 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
41510 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
41511 * wcsmbc/wcschr.c (WCSCHR): New macro.
41513 2011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
41515 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
41516 * wcsmbs/test-wcsrchr.c: New file.
41517 * string/test-strrchr.c: Add wcsrchr support.
41519 * wcsmbs/test-wcscpy.c: New file.
41520 * string/test-strcpy.c: Add wcscpy support.
41523 2011-12-10 Ulrich Drepper <drepper@gmail.com>
41525 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
41528 2011-12-06 Andreas Schwab <schwab@linux-m68k.org>
41531 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
41533 2011-12-04 Ulrich Drepper <drepper@gmail.com>
41535 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
41536 Minor optimizations.
41538 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
41539 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
41540 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
41542 2011-12-03 Ulrich Drepper <drepper@gmail.com>
41544 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
41545 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
41546 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
41547 for gcc to avoid warnings.
41548 * inet/Makefile (tests): Add tst-checks.
41549 * inet/tst-checks.c: New file.
41551 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
41554 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
41557 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
41558 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
41560 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
41562 2011-12-02 Ulrich Drepper <drepper@gmail.com>
41564 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
41567 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
41569 2011-11-29 Joseph Myers <joseph@codesourcery.com>
41571 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
41572 conditional on GCC version.
41573 (__arch_compare_and_exchange_val_8_acq)
41574 (__arch_compare_and_exchange_val_16_acq)
41575 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
41576 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
41577 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
41579 2011-12-02 Joseph Myers <joseph@codesourcery.com>
41581 * sysdeps/sh/backtrace.c: New file.
41583 2011-12-02 Andreas Schwab <schwab@redhat.com>
41585 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
41588 2011-12-01 Andreas Schwab <schwab@redhat.com>
41590 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
41591 falling back to utime.
41593 2011-11-30 Andreas Schwab <schwab@redhat.com>
41595 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
41596 expectations for float.
41598 2011-11-29 Andreas Schwab <schwab@redhat.com>
41600 * locale/weight.h (findidx): Add parameter len.
41601 * locale/weightwc.h (findidx): Likewise.
41602 * posix/fnmatch_loop.c (FCT): Adjust caller.
41603 * posix/regcomp.c (build_equiv_class): Likewise.
41604 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
41605 * posix/regexec.c (check_node_accept_bytes): Likewise.
41606 * string/strcoll_l.c (STRCOLL): Likewise.
41607 * string/strxfrm_l.c (STRXFRM): Likewise.
41609 2011-11-17 Ulrich Drepper <drepper@gmail.com>
41611 * Makefile.in: Remove CVSOPT handling.
41612 * configure.in: Remove use of AC_REVISION.
41613 * iconvdata/Makefile (distribute): No need to filter out CVS.
41614 * scripts/list-sources.sh: Remove CVS, subversion and monotone
41617 2011-11-16 Andreas Schwab <schwab@redhat.com>
41619 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
41620 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
41621 [USE_AS_STRNCASECMP_L]: Likewise.
41622 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
41623 NO_TLS_DIRECT_SEG_REFS.
41624 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
41625 Fix argument offsets for non-PIC.
41626 [USE_AS_STRNCASECMP_L]: Likewise.
41627 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
41628 NO_TLS_DIRECT_SEG_REFS.
41630 2011-11-15 Ulrich Drepper <drepper@gmail.com>
41632 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
41634 * locale/loadlocale.c (_nl_load_locale): Likewise.
41636 2011-11-15 Andreas Schwab <schwab@redhat.com>
41638 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
41639 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
41640 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
41641 (SYSCALL_GETTIME): Set errno on error.
41643 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
41644 count references to noai6ai_cached.
41646 2011-11-15 Ulrich Drepper <drepper@gmail.com>
41648 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
41650 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
41651 FD_CLOEXEC for /proc/self/maps.
41653 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
41654 FD_CLOEXEC for /proc/meminfo.
41656 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
41659 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
41660 FD_CLOEXEC for given file.
41662 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
41664 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
41665 FD_CLOEXEC for /etc/hosts.
41666 (_gethtent): Likewise.
41668 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
41670 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
41671 cancellation and set FD_CLOEXEC for /etc/netgroup.
41673 * nss/nss_files/files-key.c (search): Don't allow cancellation when
41674 reading /etc/publickey.
41676 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
41677 allow cancellation when reading /etc/group.
41679 * nss/nss_files/files-alias.c (internal_setent): Don't allow
41681 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
41683 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
41684 when using data file.
41686 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
41688 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
41689 (write_nis_obj): Use "c" and "e" in fopen.
41691 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
41693 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
41695 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
41697 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
41699 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
41702 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
41704 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
41706 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
41708 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
41709 file parsing and set FD_CLOEXEC.
41711 2011-11-14 Ulrich Drepper <drepper@gmail.com>
41713 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
41715 2011-11-14 Andreas Schwab <schwab@redhat.com>
41717 * malloc/arena.c (arena_get2): Don't call reused_arena when
41718 _int_new_arena failed.
41720 2011-11-14 Ulrich Drepper <drepper@gmail.com>
41722 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
41723 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
41724 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
41725 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
41726 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
41727 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
41728 to compile strcasecmp and strncasecmp.
41729 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
41730 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
41732 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
41734 2011-11-13 Ulrich Drepper <drepper@gmail.com>
41736 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
41737 locale-defines.sym to gen-as-const-headers.
41738 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
41739 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
41740 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
41741 to compile strcasecmp and strncasecmp.
41742 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
41743 strcasecmp_l and strncasecmp_l.
41744 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
41745 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
41746 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
41747 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
41748 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
41749 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
41750 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
41751 * sysdeps/i386/i686/multiarch/strncase.S: New file.
41752 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
41753 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
41754 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
41756 2011-11-12 Ulrich Drepper <drepper@gmail.com>
41758 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
41759 result of SYSDEP_GETTIME_CPU to retval.
41760 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
41761 parameter list to macro. Remove trailing semicolon. Adjust users.
41763 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
41766 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
41768 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
41770 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
41771 from unused variable.
41773 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
41775 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
41778 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
41781 * sunrpc/rpc_prot.c (rejected): Fix case value.
41783 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
41784 unsigned long long int to avoid warnings in shift.
41786 * posix/regex_internal.c (re_string_reconstruct): Actually use result
41788 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
41791 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
41792 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
41793 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
41795 * nis/nis_table.c (nis_list): Use variable of correct type for
41796 result of __follow_path call.
41798 2011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
41800 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
41801 of math functions ceil, trunc, floor, round, and sqrt, when
41802 avaliable on the platform.
41803 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
41805 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
41806 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
41807 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
41809 2011-10-30 Marek Polacek <mpolacek@redhat.com>
41811 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
41812 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
41814 2011-11-11 Roland McGrath <roland@hack.frob.com>
41816 * include/unistd.h: Fix __readlink return type.
41817 Reported by Chris Metcalf <cmetcalf@tilera.com>.
41819 2011-11-11 Ulrich Drepper <drepper@gmail.com>
41821 * stdlib/ucontext.h: Undo last change for makecontext.
41823 2011-11-11 Andreas Schwab <schwab@redhat.com>
41825 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
41827 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
41828 * setjmp/setjmp.h: Mark functions as non-leaf.
41829 * setjmp/bits/setjmp2.h: Likewise.
41830 * stdlib/ucontext.h: Likewise.
41832 2011-11-10 Andreas Schwab <schwab@redhat.com>
41834 * malloc/arena.c (_int_new_arena): Don't increment narenas.
41835 (reused_arena): Don't check arena limit.
41836 (arena_get2): Atomically check arena limit.
41838 2011-11-08 Ulrich Drepper <drepper@gmail.com>
41840 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
41841 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
41843 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
41846 2011-11-07 Andreas Schwab <schwab@redhat.com>
41848 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
41849 handler when locking.
41851 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
41852 Fix size of allocated buffer.
41854 2011-11-04 Andreas Schwab <schwab@redhat.com>
41857 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
41858 declarations for long double functions.
41859 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
41861 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
41863 2011-11-03 Andreas Schwab <schwab@redhat.com>
41865 * nscd/nscd.c (main): Don't start AVC thread until credentials are
41868 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
41871 2011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
41873 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
41875 2011-11-01 Andreas Schwab <schwab@linux-m68k.org>
41877 * include/alloca.h (stackinfo_alloca_round): Define.
41878 (extend_alloca): Use it.
41879 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
41880 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
41883 * scripts/check-local-headers.sh: Ignore libaudit.h.
41885 * nscd/Makefile (extra-objs): Make recursively expanded.
41887 2011-11-01 Ulrich Drepper <drepper@gmail.com>
41889 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
41890 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
41892 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
41893 * posix/tst-rfc3484-2.c: Likewise.
41894 * posix/tst-rfc3484-3.c: Likewise.
41896 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
41898 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
41900 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
41901 process_vm_writev from libc using GLIBC_2.15 version.
41903 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
41905 2011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
41907 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
41910 2011-10-31 Ulrich Drepper <drepper@gmail.com>
41913 * nss/getent.c (initgroups_keys): Show error message in case no group
41916 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
41917 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
41918 __bump_nl_timestamp.
41919 * nscd/connections (nscd_init): When host database is served open
41920 netlink socket and request notification about configuration changes.
41921 (main_loop_poll): Track netlink file descriptor and bump timestamp
41922 in case data becomes available.
41923 (main_loop_epoll): Likewise.
41924 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
41925 (database_pers_head): Add extra_data fileds.
41926 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
41927 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
41928 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
41930 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
41931 in6ai data, call __free_in6ai.
41932 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
41933 Add -DHAVE_NETLINK.
41934 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
41935 interface information. Reuse previous data if netlink timestamp
41937 (__bump_nl_timestamp): New function.
41938 (__free_in6ai): New function.
41940 2011-10-30 Ulrich Drepper <drepper@gmail.com>
41942 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
41943 close_not_cancel_no_status here.
41944 (__check_pf): Reorganize code a bit to not call close twice if OOM.
41946 2011-10-29 Ulrich Drepper <drepper@gmail.com>
41949 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
41952 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
41953 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
41954 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
41956 2011-07-03 Andreas Jaeger <aj@suse.de>
41959 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
41960 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
41961 * math/libm-test.inc (sin_test): Add test case.
41963 2011-10-29 Ulrich Drepper <drepper@gmail.com>
41966 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
41967 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
41969 * elf/chroot_canon.c (chroot_canon): Cleanups.
41971 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
41974 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
41975 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
41977 * string/test-strchr.c: Make usable for strchrnul testing.
41978 * string/test-strchrnul.c: New file.
41979 * string/Makefile (strop-tests): Add strchrnul.
41981 * po/it.po: Update from translation team.
41982 * po/es.po: Likewise.
41984 2011-10-28 Ulrich Drepper <drepper@gmail.com>
41986 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
41987 the three constants needed as parameters. Drop the others.
41988 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
41989 __m128i_strloadu_tolower.
41990 Create and initialize variable zero and use it in all the places
41991 where _mm_setzero_si128 was used.
41993 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
41994 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
41995 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
41996 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
41998 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
41999 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
42000 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
42001 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
42002 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
42003 __mpranred, __mptan.
42004 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
42005 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
42006 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
42007 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
42008 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
42009 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
42010 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
42011 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
42012 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
42014 2011-10-28 Andreas Schwab <schwab@redhat.com>
42016 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
42017 redefine if SHARED.
42018 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
42020 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
42021 wide char related routines to wcsmbs subdir.
42023 2011-10-27 Andreas Schwab <schwab@redhat.com>
42026 * misc/sys/cdefs.h (__THROWNL): Define.
42027 * posix/unistd.h: Use __THREADNL instead of __THREAD
42028 for memory synchronization functions.
42030 2011-10-26 Roland McGrath <roland@hack.frob.com>
42033 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
42035 * manual/stdio.texi (Obstack Streams): Node removed.
42037 2011-10-26 Andreas Schwab <schwab@redhat.com>
42039 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
42040 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
42041 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
42043 * math/math_private.h (math_force_eval): Allow non-addressable
42045 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
42047 2011-10-25 Ulrich Drepper <drepper@gmail.com>
42049 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
42050 file is not needed.
42052 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
42053 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
42054 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
42055 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
42056 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
42057 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
42058 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
42059 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
42061 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
42062 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
42063 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
42064 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
42065 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
42066 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
42067 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
42068 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
42069 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
42070 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
42071 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
42072 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
42073 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
42074 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
42075 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
42076 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
42077 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
42078 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
42079 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
42081 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
42082 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
42084 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
42085 place. Use VEX encoding when compiling for AVX.
42087 2011-10-25 Andreas Schwab <schwab@redhat.com>
42089 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
42090 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
42092 * string/test-strchr.c (do_test): Don't generate NUL bytes.
42094 2011-10-25 Ulrich Drepper <drepper@gmail.com>
42096 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
42097 useless if() expression.
42098 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
42099 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
42100 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
42101 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
42102 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
42103 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
42104 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
42105 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
42106 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
42107 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
42108 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
42109 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
42110 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
42111 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
42112 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
42113 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
42114 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
42115 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
42116 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
42118 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
42120 2011-10-25 Andreas Schwab <schwab@redhat.com>
42122 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
42124 * elf/dl-fini.c (_dl_sort_fini): Likewise.
42126 2011-10-25 Ulrich Drepper <drepper@gmail.com>
42128 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
42129 .text section. Avoid duplicate constants.
42130 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
42131 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
42132 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
42133 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
42134 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
42135 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
42136 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
42137 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
42138 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
42139 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
42140 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
42141 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
42142 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
42143 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
42144 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
42145 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
42146 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
42147 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
42148 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
42149 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
42150 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
42151 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
42152 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
42153 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
42154 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
42155 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
42156 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
42157 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
42158 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
42159 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
42160 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
42161 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
42162 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
42163 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
42164 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
42165 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
42166 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
42167 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
42168 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
42169 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
42170 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
42171 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
42172 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
42173 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
42174 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
42176 2011-10-24 Ulrich Drepper <drepper@gmail.com>
42178 * sysdeps/x86_64/dla.h: Move to ...
42179 * sysdeps/x86_64/fpu/dla.h: ...here.
42180 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
42181 situations. Use __builtin_fma only for gcc 4.6 and up.
42183 * config.make.in: Add have-mfma4 entry.
42184 * configure.in: Substitute libc_cv_cc_fma4.
42185 * math/Makefile (dbl-only-routines): Add sincostab.
42186 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
42187 Use __sincostab not sincos.
42188 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
42190 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
42191 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
42192 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
42193 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
42195 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
42196 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
42197 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
42198 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
42200 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
42201 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
42203 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
42204 define aliases when function name is a macro.
42205 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
42206 sysdeps/ieee754/dbl-64/sincos.tbl.
42207 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
42208 fma4-enabled routines.
42209 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
42210 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
42211 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
42212 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
42213 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
42214 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
42215 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
42216 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
42217 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
42218 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
42219 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
42220 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
42221 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
42222 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
42223 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
42224 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
42225 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
42226 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
42227 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
42228 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
42229 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
42230 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
42231 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
42232 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
42233 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
42234 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
42235 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
42236 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
42237 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
42238 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
42240 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
42242 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
42243 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
42244 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
42245 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
42246 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
42247 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
42248 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
42249 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
42251 2011-10-24 Andreas Schwab <schwab@redhat.com>
42253 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
42255 2011-10-23 Ulrich Drepper <drepper@gmail.com>
42257 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
42259 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
42261 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
42263 * string/strnlen.c: Don't define STRNLEN, reverse logic.
42264 Remove unused variable magic_bits.
42265 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
42267 * string/strnlen.c: Define and use STRNLEN macro.
42268 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
42269 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
42270 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
42271 * wcsmbs/wcslen.c: Define and use WCSLEN.
42272 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
42273 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
42274 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
42275 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
42276 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
42277 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
42278 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
42280 2011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
42282 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
42283 strnlen-sse2-no-bsf.
42284 Rename strlen-no-bsf to strlen-sse2-no-bsf.
42285 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
42286 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
42287 Add strnlen support.
42288 (USE_AS_STRNLEN): New macro.
42289 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
42290 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
42291 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
42292 * sysdeps/x86_64/wcslen.S: New file.
42294 2011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
42296 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
42297 XMM-moves are used for copying on small sizes.
42299 2011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
42301 * wcsmbs/Makefile (strop-tests): Add wcschr.
42302 * wcsmbs/test-wcschr.c: New file.
42303 * string/test-strchr.c: Update.
42304 Add wcschr support.
42307 2011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
42309 * wcsmbs/Makefile (strop-tests): Add wcslen.
42310 * wcsmbs/test-wcslen.c: New file.
42311 * string/test-strlen.c: Update.
42312 Add wcslen support.
42315 2011-10-23 Ulrich Drepper <drepper@gmail.com>
42317 * po/it.po: Update from translation team.
42319 2011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
42321 * sysdeps/x86_64/wcscmp.S: Update.
42322 Fix wrong comparison semantics.
42323 wcscmp shall use signed comparison not unsigned.
42324 Don't use substraction to avoid overflow bug.
42325 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
42326 * wcsmbc/wcscmp.c: Likewise.
42327 * string/test-strcmp.c: Likewise.
42328 Add new tests to check cases with negative values.
42330 2011-10-23 Ulrich Drepper <drepper@gmail.com>
42332 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
42333 * sysdeps/x86_64/dla.h: ...here. New file.
42334 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
42335 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
42336 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
42337 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
42338 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
42339 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
42340 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
42341 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
42342 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
42344 2011-10-23 Andreas Schwab <schwab@linux-m68k.org>
42346 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
42347 __ynl_finite aliases.
42349 2011-10-22 Ulrich Drepper <drepper@gmail.com>
42351 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
42353 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
42355 [DLA_FMA] (EMULV): Use DLA_FMA.
42356 [DLA_FMA] (MUL12): Use EMULV.
42357 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
42358 that are not needed.
42359 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
42360 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
42361 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
42362 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
42363 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
42364 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
42365 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
42367 2011-10-22 Andreas Schwab <schwab@linux-m68k.org>
42369 * math/s_nan.c: Undef __nan.
42370 * math/s_nanf.c: Undef __nanf.
42371 * math/s_nanl.c: Undef __nanl.
42372 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
42375 2011-10-22 Ulrich Drepper <drepper@gmail.com>
42377 * math/s_catan.c: Add branch predictions.
42378 * math/s_catanf.c: Likewise.
42379 * math/s_catanh.c: Likewise.
42380 * math/s_catanhf.c: Likewise.
42381 * math/s_catanhl.c: Likewise.
42382 * math/s_catanl.c: Likewise.
42383 * math/s_cexp.c: Likewise.
42384 * math/s_cexpf.c: Likewise.
42385 * math/s_cexpl.c: Likewise.
42386 * math/s_clog.c: Likewise.
42387 * math/s_clog10.c: Likewise.
42388 * math/s_clog10f.c: Likewise.
42389 * math/s_clog10l.c: Likewise.
42390 * math/s_clogf.c: Likewise.
42391 * math/s_clogl.c: Likewise.
42392 * math/s_csqrt.c: Likewise.
42393 * math/s_csqrtf.c: Likewise.
42394 * math/s_csqrtl.c: Likewise.
42395 * math/s_ctanf.c: Likewise.
42396 * math/s_ctanh.c: Likewise.
42397 * math/s_ctanhf.c: Likewise.
42398 * math/s_ctanhl.c: Likewise.
42399 * math/s_ctanl.c: Likewise.
42401 * math/math_private.h: Define __nan, __nanf, __nanl.
42402 * math/s_cacosh.c: Include <math_private.h>.
42403 * math/s_cacoshl.c: Likewise.
42404 * math/s_casinh.c: Likewise.
42405 * math/s_casinhf.c: Likewise.
42406 * math/s_casinhl.c: Likewise.
42407 * math/s_ccos.c: Rely entire on ccosh.
42408 * math/s_ccosf.c: Rely entire on ccoshf.
42409 * math/s_ccosl.c: Rely entirely on ccoshl.
42410 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
42411 Remove tests for FE_INVALID.
42412 * math/s_ccoshf.c: Likewise.
42413 * math/s_ccoshl.c: Likewise.
42414 * math/s_csin.c: Likewise.
42415 * math/s_csinf.c: Likewise.
42416 * math/s_csinh.c Likewise.
42417 * math/s_csinhf.c: Likewise.
42418 * math/s_csinhl.c: Likewise.
42419 * math/s_csinl.c: Likewise.
42420 * math/s_ctan.c: Likewise.
42421 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
42422 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
42423 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
42425 2011-10-21 Ulrich Drepper <drepper@gmail.com>
42427 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
42428 compilation problems.
42430 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
42433 2011-10-20 Ulrich Drepper <drepper@gmail.com>
42435 * sysdeps/i386/configure.in: Test for -mfma4 option.
42436 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
42437 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
42438 COMMON_CPUID_INDEX_80000001.
42439 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
42440 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
42441 use it if FMA3 is not supported.
42442 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
42444 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
42445 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
42447 2011-10-20 Andreas Schwab <schwab@redhat.com>
42450 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
42451 it would create a cycle with a link time dependency.
42453 2011-10-19 Ulrich Drepper <drepper@gmail.com>
42455 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
42457 * string/Makefile (strop-tests): Add rawmemchr.
42458 * string/test-rawmemchr.c: New file.
42460 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
42461 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
42462 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
42463 when compiling str{,n}casecmp and when AVX is available. Hook up
42464 new optimized code in initializers.
42466 2011-10-19 Andreas Schwab <schwab@redhat.com>
42468 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
42469 __feraiseexcept instead of feraiseexcept.
42471 2011-10-18 Ulrich Drepper <drepper@gmail.com>
42473 * math/math_private.h: Define defaults for libc_fetestexcept and
42475 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
42476 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
42477 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
42478 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
42479 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
42480 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
42481 libc_fetestexcept and libc_feupdateenv.
42483 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
42484 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
42485 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
42486 * sysdeps/x86_64/fpu/math_private.h: Define special version of
42487 libc_feholdexcept_setround.
42489 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
42490 Add s_nearbyint-c and s_nearbyintf-c.
42491 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
42492 nearbyintf inlines.
42493 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
42494 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
42495 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
42496 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
42498 * math/math_private.h: Define defaults for libc_fegetround,
42499 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
42500 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
42501 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
42502 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
42503 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
42504 standard functions.
42505 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
42506 Remove comments and hacks for old compiler versions.
42507 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
42508 libc_fegetround, libc_fesetround, libc_feholdexcept, and
42509 libc_feholdexceptl.
42511 2011-10-18 Andreas Schwab <schwab@redhat.com>
42513 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
42514 (__feraiseexcept_renamed): Add __NTH.
42515 (feraiseexcept): Add __NTH. Rename local variables to fix
42516 namespace violations.
42518 2011-10-17 Ulrich Drepper <drepper@gmail.com>
42520 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
42522 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
42524 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
42525 recently added interfaces.
42526 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
42528 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
42529 about macro parameter expansion.
42531 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
42532 __NO_MATH_INLINES is defined. Cleanups.
42534 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
42535 and __floorf is target has SSE4.1.
42536 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
42537 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
42538 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
42539 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
42541 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
42543 (floorf): Likewise.
42545 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
42547 2011-10-17 Andreas Schwab <schwab@redhat.com>
42549 * misc/sys/cdefs.h: Fix last change.
42551 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
42554 2011-10-16 Ulrich Drepper <drepper@gmail.com>
42556 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
42558 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
42559 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
42560 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
42561 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
42562 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
42563 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
42564 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
42565 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
42566 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
42567 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
42568 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
42569 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
42570 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
42571 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
42572 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
42573 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
42574 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
42575 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
42576 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
42577 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
42578 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
42579 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
42581 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
42582 ceil, ceilf, floor, floorf.
42584 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
42585 Perform IRELATIVE relocations last.
42587 * elf/do-rel.h: Add another parameter nrelative, replacing the
42588 local variable with the same name. Change name of the function
42589 to end in Rel or Rela (uppercase).
42590 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
42591 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
42592 elf_dynamic_do_##reloc function.
42594 2011-10-15 Ulrich Drepper <drepper@gmail.com>
42596 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
42597 is sufficient, at least on modern CPUs.
42599 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
42601 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
42602 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
42604 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
42606 * math/bits/math-finite.h: Add entries for exp.
42607 * math/e_expl.c: Add __*_finite alias.
42608 * sysdeps/i386/fpu/e_exp.S: Likewise.
42609 * sysdeps/i386/fpu/e_expf.S: Likewise.
42610 * sysdeps/i386/fpu/e_expl.c: Likewise.
42611 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
42612 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
42613 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
42614 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
42615 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
42616 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
42617 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
42619 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
42620 is sufficient, at least on modern CPUs.
42622 * ctype/ctype-info.c (__ctype_init): Define.
42623 * include/ctype.h (__ctype_init): Declare.
42624 (__ctype_b_loc): The variable is always initialized.
42625 (__ctype_toupper_loc): Likewise.
42626 (__ctype_tolower_loc): Likewise.
42627 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
42628 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
42630 2011-10-15 Andreas Schwab <schwab@linux-m68k.org>
42632 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
42634 * configure.in: Also look in $cxxmachine/include for C++ system
42637 2011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
42639 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
42640 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
42641 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
42642 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
42643 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
42644 (USE_AS_WMEMCMP): New macro.
42646 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
42647 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
42648 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
42649 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
42650 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
42651 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
42652 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
42653 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
42654 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
42655 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
42656 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
42657 (USE_AS_WMEMCMP): New macro.
42658 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
42659 * sysdeps/string/test-memcmp.c: Update.
42660 Fix simple_wmemcmp.
42662 * wcsmbs/wmemcmp.c: Update.
42663 (WMEMCMP): New macro.
42666 2011-10-12 Andreas Jaeger <aj@suse.de>
42669 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
42671 2011-10-15 Ulrich Drepper <drepper@gmail.com>
42673 * libio/iofwide.c (do_length): Avoid warning.
42675 * ctype/ctype.h (__isctype_f): Add missing __THROW.
42677 2011-10-14 Ulrich Drepper <drepper@gmail.com>
42679 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
42681 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
42682 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
42683 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
42684 * sysdeps/i386/i686/fpu/e_log.S: New file.
42685 * sysdeps/i386/i686/fpu/e_logf.S: New file.
42686 * sysdeps/i386/i686/fpu/e_logl.S: New file.
42688 * ctype/ctype.h: Add support for inlined isXXX functions when
42689 compiling C++ code.
42691 2011-10-14 Andreas Schwab <schwab@redhat.com>
42693 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
42695 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
42697 2011-10-13 Roland McGrath <roland@hack.frob.com>
42700 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
42702 2011-10-13 Andreas Schwab <schwab@redhat.com>
42704 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
42705 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
42708 * sysdeps/x86_64/memrchr.S: Check for zero size.
42710 * string/stratcliff.c: Add memrchr tests.
42712 2011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
42714 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
42715 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
42716 rawmemchr-sse2 rawmemchr-sse2-bsf.
42717 * sysdeps/i386/i686/multiarch/memchr.S: New file.
42718 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
42719 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
42720 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
42721 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
42722 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
42723 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
42724 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
42725 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
42726 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
42727 * string/memrchr.c (MEMRCHR): New macro.
42729 2011-10-12 Ulrich Drepper <drepper@gmail.com>
42731 Add integration with gcc's -ffinite-math-only and optimize wrapper
42733 * Versions.def: Define GLIBC_2.15 version for libm.
42734 * math/Makefile (headers): Add bits/math-finite.h.
42735 * math/bits/math-finite.h: New file.
42736 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
42737 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
42738 * math/e_acoshl.c: Add __*_finite alias.
42739 * math/e_acosl.c: Likewise.
42740 * math/e_asinl.c: Likewise.
42741 * math/e_atan2l.c: Likewise.
42742 * math/e_atanhl.c: Likewise.
42743 * math/e_coshl.c: Likewise.
42744 * math/e_exp10.c: Likewise.
42745 * math/e_exp10f.c: Likewise.
42746 * math/e_exp10l.c: Likewise.
42747 * math/e_exp2l.c: Likewise.
42748 * math/e_fmodl.c: Likewise.
42749 * math/e_gammal_r.c: Likewise.
42750 * math/e_hypotl.c: Likewise.
42751 * math/e_j0l.c: Likewise.
42752 * math/e_j1l.c: Likewise.
42753 * math/e_jnl.c: Likewise.
42754 * math/e_lgammal_r.c: Likewise.
42755 * math/e_log10l.c: Likewise.
42756 * math/e_log2l.c: Likewise.
42757 * math/e_logl.c: Likewise.
42758 * math/e_powl.c: Likewise.
42759 * math/e_sinhl.c: Likewise.
42760 * math/e_sqrtl.c: Likewise.
42761 * math/e_scalb.c: Completely rewritten and optimized.
42762 * math/e_scalbf.c: Likewise.
42763 * math/e_scalbl.c: Likewise.
42764 * math/w_acos.c: Likewise.
42765 * math/w_acosf.c: Likewise.
42766 * math/w_acosl.c: Likewise.
42767 * math/w_acosh.c: Likewise.
42768 * math/w_acoshf.c: Likewise.
42769 * math/w_acoshl.c: Likewise.
42770 * math/w_asin.c: Likewise.
42771 * math/w_asinf.c: Likewise.
42772 * math/w_asinl.c: Likewise.
42773 * math/w_atan2.c: Likewise.
42774 * math/w_atan2f.c: Likewise.
42775 * math/w_atan2l.c: Likewise.
42776 * math/w_atanh.c: Likewise.
42777 * math/w_atanhf.c: Likewise.
42778 * math/w_atanhl.c: Likewise.
42779 * math/w_exp10.c: Likewise.
42780 * math/w_exp10f.c: Likewise.
42781 * math/w_exp10l.c: Likewise.
42782 * math/w_fmod.c: Likewise.
42783 * math/w_fmodf.c: Likewise.
42784 * math/w_fmodl.c: Likewise.
42785 * math/w_j0.c: Likewise.
42786 * math/w_j0f.c: Likewise.
42787 * math/w_j0l.c: Likewise.
42788 * math/w_j1.c: Likewise.
42789 * math/w_j1f.c: Likewise.
42790 * math/w_j1l.c: Likewise.
42791 * math/w_jn.c: Likewise.
42792 * math/w_jnf.c: Likewise.
42793 * math/w_log.c: Likewise.
42794 * math/w_logf.c: Likewise.
42795 * math/w_logl.c: Likewise.
42796 * math/w_log10.c: Likewise.
42797 * math/w_log10f.c: Likewise.
42798 * math/w_log10l.c: Likewise.
42799 * math/w_log2.c: Likewise.
42800 * math/w_log2f.c: Likewise.
42801 * math/w_log2l.c: Likewise.
42802 * math/w_pow.c: Likewise.
42803 * math/w_powf.c: Likewise.
42804 * math/w_powl.c: Likewise.
42805 * math/w_remainder.c: Likewise.
42806 * math/w_remainderf.c: Likewise.
42807 * math/w_remainderl.c: Likewise.
42808 * math/w_scalb.c: Likewise.
42809 * math/w_scalbf.c: Likewise.
42810 * math/w_scalbl.c: Likewise.
42811 * math/w_sqrt.c: Likewise.
42812 * math/w_sqrtf.c: Likewise.
42813 * math/w_sqrtl.c: Likewise.
42814 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
42815 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
42817 * math/math_private.h: Declare __kernel_standard_f.
42818 * math/w_cosh.c: Remove cruft and optimize a bit.
42819 * math/w_coshf.c: Likewise.
42820 * math/w_coshl.c: Likewise.
42821 * math/w_exp2.c: Likewise.
42822 * math/w_exp2f.c: Likewise.
42823 * math/w_exp2l.c: Likewise.
42824 * math/w_hypot.c: Likewise.
42825 * math/w_hypotf.c: Likewise.
42826 * math/w_hypotl.c: Likewise.
42827 * math/w_lgamma.c: Likewise.
42828 * math/w_lgamma_r.c: Likewise.
42829 * math/w_lgammaf.c: Likewise.
42830 * math/w_lgammaf_r.c: Likewise.
42831 * math/w_lgammal.c: Likewise.
42832 * math/w_lgammal_r.c: Likewise.
42833 * math/w_sinh.c: Likewise.
42834 * math/w_sinhf.c: Likewise.
42835 * math/w_sinhl.c: Likewise.
42836 * math/w_tgamma.c: Likewise.
42837 * math/w_tgammaf.c: Likewise.
42838 * math/w_tgammal.c: Likewise.
42839 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
42840 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
42841 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
42842 Minor optimizations. Pretty printing. Remove cruft.
42843 * sysdeps/i386/fpu/e_acosf.S: Likewise.
42844 * sysdeps/i386/fpu/e_acosh.S: Likewise.
42845 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
42846 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
42847 * sysdeps/i386/fpu/e_acosl.c: Likewise.
42848 * sysdeps/i386/fpu/e_asin.S: Likewise.
42849 * sysdeps/i386/fpu/e_asinf.S: Likewise.
42850 * sysdeps/i386/fpu/e_atan2.S: Likewise.
42851 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
42852 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
42853 * sysdeps/i386/fpu/e_atanh.S: Likewise.
42854 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
42855 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
42856 * sysdeps/i386/fpu/e_exp10.S: Likewise.
42857 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
42858 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
42859 * sysdeps/i386/fpu/e_exp2.S: Likewise.
42860 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
42861 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
42862 * sysdeps/i386/fpu/e_fmod.S: Likewise.
42863 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
42864 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
42865 * sysdeps/i386/fpu/e_hypot.S: Likewise.
42866 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
42867 * sysdeps/i386/fpu/e_log.S: Likewise.
42868 * sysdeps/i386/fpu/e_log10.S: Likewise.
42869 * sysdeps/i386/fpu/e_log10f.S: Likewise.
42870 * sysdeps/i386/fpu/e_log10l.S: Likewise.
42871 * sysdeps/i386/fpu/e_log2.S: Likewise.
42872 * sysdeps/i386/fpu/e_log2f.S: Likewise.
42873 * sysdeps/i386/fpu/e_log2l.S: Likewise.
42874 * sysdeps/i386/fpu/e_logf.S: Likewise.
42875 * sysdeps/i386/fpu/e_logl.S: Likewise.
42876 * sysdeps/i386/fpu/e_pow.S: Likewise.
42877 * sysdeps/i386/fpu/e_powf.S: Likewise.
42878 * sysdeps/i386/fpu/e_powl.S: Likewise.
42879 * sysdeps/i386/fpu/e_remainder.S: Likewise.
42880 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
42881 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
42882 * sysdeps/i386/fpu/e_scalb.S: Likewise.
42883 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
42884 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
42885 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
42886 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
42887 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
42888 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
42889 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
42890 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
42891 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
42892 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
42893 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
42894 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
42895 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
42896 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
42897 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
42898 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
42899 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
42900 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
42901 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
42902 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
42903 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
42904 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
42905 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
42906 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
42907 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
42908 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
42909 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
42910 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
42911 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
42912 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
42913 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
42914 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
42915 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
42916 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
42917 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
42918 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
42919 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
42920 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
42921 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
42922 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
42923 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
42924 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
42925 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
42926 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
42927 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
42928 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
42929 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
42930 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
42931 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
42932 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
42933 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
42934 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
42935 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
42936 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
42937 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
42938 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
42939 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
42940 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
42941 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
42942 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
42943 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
42944 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
42945 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
42946 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
42947 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
42948 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
42949 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
42950 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
42951 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
42952 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
42953 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
42954 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
42955 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
42956 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
42957 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
42958 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
42959 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
42960 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
42961 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
42962 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
42963 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
42964 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
42965 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
42966 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
42967 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
42968 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
42969 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
42970 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
42971 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
42972 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
42973 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
42974 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
42975 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
42976 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
42977 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
42978 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
42979 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
42980 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
42981 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
42982 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
42983 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
42984 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
42985 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
42986 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
42987 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
42988 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
42989 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
42990 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
42991 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
42992 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
42993 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
42994 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
42995 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
42996 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
42997 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
42998 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
42999 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
43000 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
43001 (__isnanf): Likewise.
43002 (__isinf_ns): Likewise.
43003 (__isinf_nsf): Likewise.
43004 (__finite): Likewise.
43005 (__finitef): Likewise.
43006 (__ieee754_sqrt): Define as macro.
43007 (__ieee754_sqrtf): Define as macro.
43008 (__ieee754_sqrtl): Define as macro.
43009 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
43011 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
43012 __FINITE_MATH_ONLY__ consistent.
43013 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
43015 2011-10-10 Andreas Schwab <schwab@linux-m68k.org>
43017 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
43020 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
43022 2011-10-09 Ulrich Drepper <drepper@gmail.com>
43024 * po/ja.po: Update from translation team.
43026 2011-10-08 Roland McGrath <roland@hack.frob.com>
43028 * locale/programs/locarchive.c (prepare_address_space): New function.
43029 (create_archive, enlarge_archive, open_archive): Use it.
43031 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
43032 inside [SHARED], where it is used.
43034 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
43036 * nss/getent.c (netgroup_keys): Remove unused variable.
43037 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
43039 2011-10-08 Ulrich Drepper <drepper@gmail.com>
43041 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
43042 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
43043 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
43044 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
43045 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
43046 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
43047 * math/Makefile (libm-calls): Add s_isinf_ns.
43048 * math/divtc3.c: Use __isinf_nsl instead of isinf.
43049 * math/multc3.c: Likewise.
43050 * math/s_casin.c: Likewise.
43051 * math/s_casinf.c: Likewise.
43052 * math/s_casinl.c: Likewise.
43053 * math/s_ccos.c: Likewise.
43054 * math/s_ccosf.c: Likewise.
43055 * math/s_ccosl.c: Likewise.
43056 * math/s_ctan.c: Likewise.
43057 * math/s_ctanf.c: Likewise.
43058 * math/s_ctanh.c: Likewise.
43059 * math/s_ctanhf.c: Likewise.
43060 * math/s_ctanhl.c: Likewise.
43061 * math/s_ctanl.c: Likewise.
43062 * math/w_fmod.c: Likewise.
43063 * math/w_fmodf.c: Likewise.
43064 * math/w_fmodl.c: Likewise.
43065 * math/w_remainder.c: Likewise.
43066 * math/w_remainderf.c: Likewise.
43067 * math/w_remainderl.c: Likewise.
43068 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
43069 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
43070 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
43071 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
43072 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
43073 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
43074 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
43075 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
43077 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
43079 * stdio-common/printf_fphex.c: Likewise.
43080 * stdio-common/printf_size.c: Likewise.
43082 * math/e_exp10.c: Include math_private.h using <...> not "...".
43083 * math/e_exp10f.c: Likewise.
43084 * math/e_exp10l.c: Likewise.
43085 * math/e_exp2l.c: Likewise.
43086 * math/e_j0l.c: Likewise.
43087 * math/e_j1l.c: Likewise.
43088 * math/e_jnl.c: Likewise.
43089 * math/e_lgammal_r.c: Likewise.
43090 * math/e_rem_pio2l.c: Likewise.
43091 * math/e_scalb.c: Likewise.
43092 * math/e_scalbf.c: Likewise.
43093 * math/e_scalbl.c: Likewise.
43094 * math/k_cosl.c: Likewise.
43095 * math/k_sinl.c: Likewise.
43096 * math/k_tanl.c: Likewise.
43097 * math/s_cacoshf.c: Likewise.
43098 * math/s_catan.c: Likewise.
43099 * math/s_catanf.c: Likewise.
43100 * math/s_catanh.c: Likewise.
43101 * math/s_catanhf.c: Likewise.
43102 * math/s_catanhl.c: Likewise.
43103 * math/s_catanl.c: Likewise.
43104 * math/s_ccosh.c: Likewise.
43105 * math/s_ccoshf.c: Likewise.
43106 * math/s_ccoshl.c: Likewise.
43107 * math/s_cexp.c: Likewise.
43108 * math/s_cexpf.c: Likewise.
43109 * math/s_cexpl.c: Likewise.
43110 * math/s_clog.c: Likewise.
43111 * math/s_clog10.c: Likewise.
43112 * math/s_clog10f.c: Likewise.
43113 * math/s_clog10l.c: Likewise.
43114 * math/s_clogf.c: Likewise.
43115 * math/s_clogl.c: Likewise.
43116 * math/s_csin.c: Likewise.
43117 * math/s_csinf.c: Likewise.
43118 * math/s_csinh.c: Likewise.
43119 * math/s_csinhf.c: Likewise.
43120 * math/s_csinhl.c: Likewise.
43121 * math/s_csinl.c: Likewise.
43122 * math/s_csqrt.c: Likewise.
43123 * math/s_csqrtf.c: Likewise.
43124 * math/s_csqrtl.c: Likewise.
43125 * math/s_ctan.c: Likewise.
43126 * math/s_ctanf.c: Likewise.
43127 * math/s_ctanh.c: Likewise.
43128 * math/s_ctanhf.c: Likewise.
43129 * math/s_ctanhl.c: Likewise.
43130 * math/s_ctanl.c: Likewise.
43131 * math/s_ldexp.c: Likewise.
43132 * math/s_ldexpf.c: Likewise.
43133 * math/s_ldexpl.c: Likewise.
43134 * math/s_significand.c: Likewise.
43135 * math/s_significandf.c: Likewise.
43136 * math/s_significandl.c: Likewise.
43137 * math/w_acos.c: Likewise.
43138 * math/w_acosf.c: Likewise.
43139 * math/w_acosh.c: Likewise.
43140 * math/w_acoshf.c: Likewise.
43141 * math/w_acoshl.c: Likewise.
43142 * math/w_acosl.c: Likewise.
43143 * math/w_asin.c: Likewise.
43144 * math/w_asinf.c: Likewise.
43145 * math/w_asinl.c: Likewise.
43146 * math/w_atan2.c: Likewise.
43147 * math/w_atan2f.c: Likewise.
43148 * math/w_atan2l.c: Likewise.
43149 * math/w_atanh.c: Likewise.
43150 * math/w_atanhf.c: Likewise.
43151 * math/w_atanhl.c: Likewise.
43152 * math/w_cosh.c: Likewise.
43153 * math/w_coshf.c: Likewise.
43154 * math/w_coshl.c: Likewise.
43155 * math/w_dremf.c: Likewise.
43156 * math/w_exp10.c: Likewise.
43157 * math/w_exp10f.c: Likewise.
43158 * math/w_exp10l.c: Likewise.
43159 * math/w_exp2.c: Likewise.
43160 * math/w_exp2f.c: Likewise.
43161 * math/w_fmod.c: Likewise.
43162 * math/w_fmodf.c: Likewise.
43163 * math/w_fmodl.c: Likewise.
43164 * math/w_hypot.c: Likewise.
43165 * math/w_hypotf.c: Likewise.
43166 * math/w_hypotl.c: Likewise.
43167 * math/w_j0.c: Likewise.
43168 * math/w_j0f.c: Likewise.
43169 * math/w_j0l.c: Likewise.
43170 * math/w_j1.c: Likewise.
43171 * math/w_j1f.c: Likewise.
43172 * math/w_j1l.c: Likewise.
43173 * math/w_jn.c: Likewise.
43174 * math/w_jnf.c: Likewise.
43175 * math/w_jnl.c: Likewise.
43176 * math/w_lgamma.c: Likewise.
43177 * math/w_lgamma_r.c: Likewise.
43178 * math/w_lgammaf.c: Likewise.
43179 * math/w_lgammaf_r.c: Likewise.
43180 * math/w_lgammal.c: Likewise.
43181 * math/w_lgammal_r.c: Likewise.
43182 * math/w_log.c: Likewise.
43183 * math/w_log10.c: Likewise.
43184 * math/w_log10f.c: Likewise.
43185 * math/w_log10l.c: Likewise.
43186 * math/w_log2.c: Likewise.
43187 * math/w_log2f.c: Likewise.
43188 * math/w_log2l.c: Likewise.
43189 * math/w_logf.c: Likewise.
43190 * math/w_logl.c: Likewise.
43191 * math/w_pow.c: Likewise.
43192 * math/w_powf.c: Likewise.
43193 * math/w_powl.c: Likewise.
43194 * math/w_remainder.c: Likewise.
43195 * math/w_remainderf.c: Likewise.
43196 * math/w_remainderl.c: Likewise.
43197 * math/w_scalb.c: Likewise.
43198 * math/w_scalbf.c: Likewise.
43199 * math/w_scalbl.c: Likewise.
43200 * math/w_sinh.c: Likewise.
43201 * math/w_sinhf.c: Likewise.
43202 * math/w_sinhl.c: Likewise.
43203 * math/w_sqrt.c: Likewise.
43204 * math/w_sqrtf.c: Likewise.
43205 * math/w_sqrtl.c: Likewise.
43206 * math/w_tgamma.c: Likewise.
43207 * math/w_tgammaf.c: Likewise.
43208 * math/w_tgammal.c: Likewise.
43210 * po/ja.po: Update from translation team.
43212 2011-09-29 Andreas Jaeger <aj@suse.de>
43215 * sunrpc/netname.c (netname2host): Fix logic.
43219 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
43221 * math/w_remainder.c (__remainder): Likewise.
43222 * math/w_remainderf.c (__remainderf): Likewise.
43223 * math/libm-test.inc (remainder_test): Add test cases.
43225 2011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
43227 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
43230 2011-10-07 Ulrich Drepper <drepper@gmail.com>
43232 * string/test-memcmp.c: Avoid unncessary #defines.
43233 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
43235 2011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
43237 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
43238 Use new sse2 version for core i3 - i7 as it's faster
43239 than sse42 version.
43240 (bit_Prefer_PMINUB_for_stringop): New.
43241 * sysdeps/x86_64/rawmemchr.S: Update.
43242 Replace with faster SSE2 version.
43243 * sysdeps/x86_64/memrchr.S: New file.
43244 * sysdeps/x86_64/memchr.S: Update.
43245 Replace with faster SSE2 version.
43247 2011-09-12 Marek Polacek <mpolacek@redhat.com>
43249 * elf/dl-load.c (lose): Add cast to avoid warning.
43251 2011-10-07 Ulrich Drepper <drepper@gmail.com>
43253 * po/ca.po: Update from translation team.
43255 * inet/getnetgrent_r.c: Hook up nscd.
43256 * nscd/Makefile (routines): Add nscd_netgroup.
43257 (nscd-modules): Add netgroupcache.
43258 (CFLAGS-netgroupcache.c): Define.
43259 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
43260 (cache_search): Add const to second parameter.
43261 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
43263 (dbs): Add netgrdb entry.
43264 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
43265 (verify_persistent_db): Handle netgrdb.
43266 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
43267 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
43269 (netgroup_response_header): Define.
43270 (innetgroup_response_header): Define.
43271 (datahead): Add netgroup_response_header and innetgroup_response_header
43273 * nscd/nscd.conf: Add entries for netgroup cache.
43274 * nscd/nscd.h (dbtype): Add netgrdb.
43275 (_PATH_NSCD_NETGROUP_DB): Define.
43276 (netgroup_iov_disabled): Declare.
43277 (xmalloc, xcalloc, xrealloc): Move declarations here.
43278 (cache_search): Adjust prototype.
43279 Add netgroup-related prototypes.
43280 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
43281 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
43282 (__nscd_innetgr): Declare.
43283 * nscd/selinux.c (perms): Use access_vector_t as element type and
43284 add netgroup-related initializers.
43285 * nscd/netgroupcache.c: New file.
43286 * nscd/nscd_netgroup.c: New file.
43287 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
43288 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
43289 For four parameters use innetgr.
43290 * nss/nss_files/files-init.c: Add definition and callback for netgr.
43291 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
43292 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
43293 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
43295 * nscd/connections.c (register_traced_file): Don't register file
43296 for disabled databases.
43298 2011-10-06 Ulrich Drepper <drepper@gmail.com>
43300 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
43302 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
43303 from tree and freeing node.
43305 2011-09-25 Jiri Olsa <jolsa@redhat.com>
43307 * nss/nsswitch.c (__nss_database_lookup): Handle
43308 nss_parse_service_list out of memory case.
43310 2011-09-15 Jiri Olsa <jolsa@redhat.com>
43312 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
43313 out of memory case.
43315 2011-10-04 Andreas Schwab <schwab@redhat.com>
43317 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
43318 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
43320 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
43321 elf_machine_rela, elf_machine_lazy_rel.
43322 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
43323 (ELF_DYNAMIC_DO_REL): Likewise.
43324 (ELF_DYNAMIC_DO_RELA): Likewise.
43325 (ELF_DYNAMIC_RELOCATE): Likewise.
43326 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
43327 to ELF_DYNAMIC_DO_REL.
43328 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
43329 (dl_main): In trace mode always set __RTLD_NOIFUNC.
43330 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
43332 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
43333 skip_ifunc, don't call ifunc function if non-zero.
43334 (elf_machine_rela): Likewise.
43335 (elf_machine_lazy_rel): Likewise.
43336 (elf_machine_lazy_rela): Likewise.
43337 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
43338 (elf_machine_lazy_rel): Likewise.
43339 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
43341 (elf_machine_lazy_rel): Likewise.
43342 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
43344 (elf_machine_lazy_rel): Likewise.
43345 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
43346 (elf_machine_lazy_rel): Likewise.
43347 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
43348 (elf_machine_lazy_rel): Likewise.
43349 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
43350 (elf_machine_lazy_rel): Likewise.
43351 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
43352 (elf_machine_lazy_rel): Likewise.
43353 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
43354 (elf_machine_lazy_rel): Likewise.
43355 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
43356 (elf_machine_lazy_rel): Likewise.
43358 2011-09-28 Ulrich Drepper <drepper@gmail.com>
43360 * nss/nss_files/files-init.c (_nss_files_init): Use static
43361 initialization for all the *_traced_file variables.
43363 2011-09-28 Andreas Schwab <schwab@redhat.com>
43365 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
43367 2011-09-27 Roland McGrath <roland@hack.frob.com>
43370 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
43372 2011-09-27 Andreas Schwab <schwab@redhat.com>
43374 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
43375 Reread the line before reparsing it.
43377 2011-09-26 Andreas Schwab <schwab@redhat.com>
43379 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
43381 2011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
43382 Maxim Kuvyrkov <maxim@codesourcery.com>
43383 Joseph Myers <joseph@codesourcery.com>
43385 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
43386 if needed for __stack_chk_guard.
43388 2011-09-19 Roland McGrath <roland@hack.frob.com>
43390 * sysdeps/posix/spawni.c (script_execute): Always define it.
43391 It will be optimized away if unused.
43392 (maybe_script_execute): New function.
43393 (__spawni): Call it.
43395 * Makerules: Don't include tls.make.
43396 (config-tls): Always set to thread.
43397 * tls.make.c: File removed.
43399 2011-09-19 Mike Frysinger <vapier@gentoo.org>
43401 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
43402 * config.make.in (CPPFLAGS-config): New substituted variable.
43404 2011-09-15 Ulrich Drepper <drepper@gmail.com>
43406 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
43409 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
43410 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
43412 2011-09-15 Roland McGrath <roland@hack.frob.com>
43414 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
43415 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
43416 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
43417 (CALL_FAIL): Likewise.
43418 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
43419 (CALL_FAIL): Macro removed.
43420 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
43422 2011-09-15 Ulrich Drepper <drepper@gmail.com>
43424 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
43425 for __FINITE_MATH_ONLY__ == 1.
43427 2011-09-15 Andreas Schwab <schwab@redhat.com>
43429 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
43430 __ieee754_sqrt instead of sqrt.
43431 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
43432 __ieee754_sqrtf instead of sqrtf.
43433 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
43434 __floorf instead of floorf.
43435 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
43436 __floorf, __truncf instead of floorf, truncf.
43438 2011-09-14 Ulrich Drepper <drepper@gmail.com>
43440 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
43442 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
43443 __extern_always_inline.
43444 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
43447 2011-09-14 Andreas Schwab <schwab@redhat.com>
43449 * elf/rtld.c (dl_main): Also relocate in dependency order when
43450 doing symbol dependency testing.
43452 2011-09-13 Andreas Schwab <schwab@linux-m68k.org>
43454 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
43455 Always define `refsym'.
43457 2011-09-13 Andreas Schwab <schwab@redhat.com>
43459 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
43460 (__FD_ELT): Renamed from __FDELT.
43461 * misc/bits/select2.h (__FD_ELT): Likewise.
43462 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
43463 __FD_MASK instead of __FDELT, __FDMASK.
43464 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
43466 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
43469 * elf/Makefile (gen-ldd): Fix pattern.
43471 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
43472 (init_tls): Likewise.
43474 2011-09-12 Ulrich Drepper <drepper@gmail.com>
43476 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
43478 2011-09-12 Andreas Schwab <schwab@redhat.com>
43480 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
43481 `struct cmsghdr *' instead of `void *'.
43482 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
43485 2011-09-11 Andreas Schwab <schwab@linux-m68k.org>
43487 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
43489 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
43490 ldd_rewrite_script.
43492 2011-09-11 Ulrich Drepper <drepper@gmail.com>
43494 * configure.in: Remove --with-tls option.
43495 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
43496 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
43497 out in case it is missing.
43498 * sysdeps/ia64/elf/configure.in: Likewise.
43499 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
43500 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
43501 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
43502 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
43503 * sysdeps/sh/elf/configure.in: Likewise.
43504 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
43505 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
43506 * sysdeps/x86_64/elf/configure.in: Likewise.
43507 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
43508 * sysdeps/mach/hurd/tls.h: Likewise.
43511 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
43514 * configure.in: Fix use of AC_INIT.
43516 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
43518 2011-09-10 Ulrich Drepper <drepper@gmail.com>
43520 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
43522 * malloc/hooks.c: Likewise.
43525 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
43526 variables statically.
43527 (narenas): Initialize.
43528 (list_lock): Initialize.
43529 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
43530 initializtion of main_arena and list_lock. Small cleanups.
43531 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
43532 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
43533 Add initializers to main_arena and mp_.
43534 (malloc_state): Remove pagesize member. Change all users to use
43537 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
43538 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
43539 is always initialized.
43541 * malloc/malloc.c: Removed unused configurations and dead code.
43542 * malloc/arena.c: Likewise.
43543 * malloc/hooks.c: Likewise.
43544 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
43546 * include/tls.h: Removed. USE___THREAD must always be defined.
43547 * bits/libc-tsd.h: Don't handle !USE___THREAD.
43548 * elf/dl-libc.c: Likewise.
43549 * elf/dl-tsd.c: Likewise.
43550 * include/errno.h: Likewise.
43551 * include/netdb.h: Likewise.
43552 * include/resolv.h: Likewise.
43553 * inet/herrno-loc.c: Likewise.
43554 * inet/herrno.c: Likewise.
43555 * malloc/arena.c: Likewise.
43556 * malloc/hooks.c: Likewise.
43557 * malloc/malloc.c: Likewise.
43558 * resolv/res-state.c: Likewise.
43559 * resolv/res_libc.c: Likewise.
43560 * sysdeps/i386/dl-machine.h: Likewise.
43561 * sysdeps/ia64/dl-machine.h: Likewise.
43562 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
43563 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
43564 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
43565 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
43566 * sysdeps/sh/dl-machine.h: Likewise.
43567 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
43568 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
43569 * sysdeps/unix/i386/sysdep.S: Likewise.
43570 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
43571 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
43572 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
43573 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
43574 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
43575 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
43576 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
43577 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
43578 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
43579 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
43580 * sysdeps/unix/x86_64/sysdep.S: Likewise.
43581 * sysdeps/x86_64/dl-machine.h: Likewise.
43582 * tls.make.c: Likewise.
43584 * configure.in: Remove --with-__thread option. Make tests for
43585 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
43586 tls_model attribute fail if no support is available. Remove
43588 * Makeconfig: Adjust for dropped configure option. All features are
43590 * Makerules: Likewise.
43591 * Versions.def: Likewise.
43592 * argp/argp-fmtstream.c: Likewise.
43593 * argp/argp-fmtstream.h: Likewise.
43594 * argp/argp-help.c: Likewise.
43595 * assert/assert.c: Likewise.
43596 * config.h.in: Likewise.
43597 * config.make.in: Likewise.
43598 * configure: Likewise.
43599 * configure.in: Likewise.
43600 * csu/Versions: Likewise.
43601 * csu/init.c: Likewise.
43602 * elf/tst-audit2.c: Likewise.
43603 * elf/tst-tls10.c: Likewise.
43604 * elf/tst-tls10.h: Likewise.
43605 * elf/tst-tls11.c: Likewise.
43606 * elf/tst-tls12.c: Likewise.
43607 * elf/tst-tls14.c: Likewise.
43608 * elf/tst-tlsmod11.c: Likewise.
43609 * elf/tst-tlsmod12.c: Likewise.
43610 * elf/tst-tlsmod13.c: Likewise.
43611 * elf/tst-tlsmod13a.c: Likewise.
43612 * elf/tst-tlsmod14a.c: Likewise.
43613 * elf/tst-tlsmod15b.c: Likewise.
43614 * elf/tst-tlsmod16a.c: Likewise.
43615 * elf/tst-tlsmod16b.c: Likewise.
43616 * elf/tst-tlsmod7.c: Likewise.
43617 * elf/tst-tlsmod8.c: Likewise.
43618 * elf/tst-tlsmod9.c: Likewise.
43619 * gmon/gmon.c: Likewise.
43620 * grp/fgetgrent_r.c: Likewise.
43621 * grp/putgrent.c: Likewise.
43622 * hurd/fopenport.c: Likewise.
43623 * include/libc-symbols.h: Likewise.
43624 * include/tls.h: Likewise.
43625 * intl/gettextP.h: Likewise.
43626 * intl/loadinfo.h: Likewise.
43627 * locale/global-locale.c: Likewise.
43628 * locale/localeinfo.h: Likewise.
43629 * mach/devstream.c: Likewise.
43630 * malloc/arena.c: Likewise.
43631 * malloc/set-freeres.c: Likewise.
43632 * misc/err.c: Likewise.
43633 * misc/getttyent.c: Likewise.
43634 * misc/mntent_r.c: Likewise.
43635 * posix/getopt.c: Likewise.
43636 * posix/wordexp.c: Likewise.
43637 * pwd/fgetpwent_r.c: Likewise.
43638 * resolv/Versions: Likewise.
43639 * resolv/res_hconf.c: Likewise.
43640 * shadow/fgetspent_r.c: Likewise.
43641 * shadow/putspent.c: Likewise.
43642 * stdio-common/printf_fphex.c: Likewise.
43643 * stdio-common/tmpfile.c: Likewise.
43644 * stdlib/abort.c: Likewise.
43645 * stdlib/fmtmsg.c: Likewise.
43646 * sunrpc/auth_unix.c: Likewise.
43647 * sunrpc/clnt_perr.c: Likewise.
43648 * sunrpc/clnt_tcp.c: Likewise.
43649 * sunrpc/clnt_udp.c: Likewise.
43650 * sunrpc/clnt_unix.c: Likewise.
43651 * sunrpc/openchild.c: Likewise.
43652 * sunrpc/svc_simple.c: Likewise.
43653 * sunrpc/svc_tcp.c: Likewise.
43654 * sunrpc/svc_udp.c: Likewise.
43655 * sunrpc/svc_unix.c: Likewise.
43656 * sunrpc/xdr.c: Likewise.
43657 * sunrpc/xdr_array.c: Likewise.
43658 * sunrpc/xdr_rec.c: Likewise.
43659 * sunrpc/xdr_ref.c: Likewise.
43660 * sunrpc/xdr_stdio.c: Likewise.
43662 2011-09-09 Ulrich Drepper <drepper@gmail.com>
43664 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
43666 2011-07-03 Andreas Jaeger <aj@suse.de>
43668 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
43669 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
43670 regenerate with gen-libm-tests.pl.
43672 2010-05-12 Petr Baudis <pasky@suse.cz>
43675 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
43676 around j0() zero points by switching to j1().
43677 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
43678 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
43679 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
43680 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
43682 2011-09-09 Ulrich Drepper <drepper@gmail.com>
43684 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
43686 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
43688 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
43689 Patch in part by Pavel Roskin <proski@gnu.org>.
43692 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
43694 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
43695 Free memory block if necessary.
43698 * libio/genops.c (INTDEF): For string streams the _lock pointer can
43699 be NULL. Don't lock in this case.
43701 2011-09-09 Roland McGrath <roland@hack.frob.com>
43703 * elf/elf.h (ELFOSABI_GNU): New macro.
43704 (ELFOSABI_LINUX): Define to that.
43706 2011-07-29 Denis Zaitceff <zaitceff@gmail.com>
43708 * string/strncat.c (strncat): Undef the symbol in case it has been
43709 defined in bits/string.h.
43711 2011-09-09 Ulrich Drepper <drepper@gmail.com>
43713 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
43715 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
43718 2011-08-17 Andreas Jaeger <aj@suse.de>
43720 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
43722 2011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
43723 Ian Lance Taylor <iant@google.com>
43725 * math/libm-test.inc (lround_test): New testcase.
43726 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
43728 2011-09-08 Ulrich Drepper <drepper@gmail.com>
43730 * Makefile: Remove support for automatic cvs check-ins.
43731 * Makerules: Likewise.
43732 * config.make.in: Likewise.
43733 * configure.in: Likewise.
43734 * intl/Makefile: Likewise.
43735 * locale/Makefile: Likewise.
43736 * po/Makefile: Likewise.
43737 * posix/Makefile: Likewise.
43738 * sysdeps/gnu/Makefile: Likewise.
43739 * sysdeps/mach/hurd/Makefile: Likewise.
43740 * sysdeps/sparc/sparc32/Makefile: Likewise.
43743 * posix/Makefile (bug-regex32-ENV): Define.
43744 Patch by John Stanley <jpsinthemix@verizon.net>.
43746 * misc/Makefile (headers): Add bits/select2.h.
43747 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
43748 * misc/bits/select2.h: New file.
43749 * include/bits/select2.h: New file.
43750 * debug/Makefile (routines): Add fdelt_chk.
43751 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
43752 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
43754 * debug/fdelt_chk.c: New file.
43756 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
43757 * wcsmbs/test-wmemcmp.c: Likewise.
43758 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
43759 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
43761 2011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
43763 * string/Makefile (strop-tests): Add memcmp.
43764 * string/test-wmemcmp.c: New file.
43765 * string/test-memcmp.c: Add wmemcmp support.
43767 2011-09-08 Roland McGrath <roland@hack.frob.com>
43770 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
43773 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
43774 garbage value in a __mach_port_mod_refs call in the cases of the
43775 task-self and thread-self ports.
43777 2011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
43779 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
43781 2011-09-08 Andreas Schwab <schwab@redhat.com>
43783 * elf/dl-load.c (lose): Check for non-null L.
43785 2011-09-07 Ulrich Drepper <drepper@gmail.com>
43787 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
43789 * elf/dl-libc.c (dlerror_run): Pass back error code from
43793 * elf/dl-load.c (lose): Free l_origin if it is valid.
43795 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
43797 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
43798 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
43799 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
43800 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
43801 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
43802 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
43804 2011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
43806 * sysdeps/powerpc/fpu/e_hypot.c: New file.
43807 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
43808 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
43809 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
43810 * sysdeps/powerpc/fpu/k_cosf.c: New file.
43811 * sysdeps/powerpc/fpu/k_sinf.c: New file.
43812 * sysdeps/powerpc/fpu/s_cosf.c: New file.
43813 * sysdeps/powerpc/fpu/s_sinf.c: New file.
43814 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
43815 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
43817 2011-08-15 Alan Modra <amodra@gmail.com>
43820 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
43821 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
43822 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
43823 ppc_mcount to static-only-routines.
43824 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
43826 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
43827 __mcount_internal with usual JUMPTARGET. Remove useless nop.
43829 2011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
43831 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
43832 for finite and infinity parameters.
43834 2011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
43836 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
43837 and add nop instructions for throughput optimization.
43838 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
43840 2011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
43842 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
43843 aligned copy for power7 with vector-scalar instructions.
43844 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
43846 2011-07-24 H.J. Lu <hongjiu.lu@intel.com>
43848 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
43851 2011-09-07 Andreas Schwab <schwab@redhat.com>
43854 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
43857 2011-09-07 Ulrich Drepper <drepper@gmail.com>
43859 * sysdeps/unix/sysv/linux/x86_64/init-first.c
43860 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
43861 syscall wrapper around clock_gettime in __vdso_clock_gettime.
43862 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
43865 2011-09-06 Ulrich Drepper <drepper@gmail.com>
43867 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
43868 Forgot to demangle the pointer.
43870 * sysdeps/i386/sysdep.h: Define atom_text_section.
43871 * sysdeps/x86_64/sysdep.h: Likewise.
43872 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
43873 section with atom_text_section.
43874 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
43875 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
43876 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
43877 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
43878 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
43880 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
43881 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
43882 already be defined. Change to take two parameters and don't assign
43883 result to variable. Adjust all users.
43884 Define INTERNAL_GETTIME if not already defined.
43885 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
43887 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
43888 HAVE_CLOCK_GETTIME_VSYSCALL.
43889 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
43891 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
43892 gettimeofday vsyscall, just use time.
43894 2011-09-06 Andreas Schwab <schwab@redhat.com>
43896 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
43899 2011-09-06 Ulrich Drepper <drepper@gmail.com>
43901 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
43903 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
43905 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
43906 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
43907 syscall if possible.
43909 2011-09-05 Ulrich Drepper <drepper@gmail.com>
43911 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
43912 e_ident. Don't pass to find_mapsXX.
43913 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
43915 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
43917 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
43918 strchr-sse2-no-bsf strrchr-sse2-no-bsf
43919 * sysdeps/x86_64/multiarch/strchr.S: Update.
43920 Check bit_slow_BSF bit.
43921 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
43922 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
43923 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
43925 2011-09-05 Ulrich Drepper <drepper@gmail.com>
43928 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
43930 (tryshell): Define.
43931 (__spawni): Change last parameter to be flag. Test
43932 SPAWN_XFLAGS_USE_PATH flag to use path or not.
43933 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
43934 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
43935 * posix/spawni.c: Likewise.
43936 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
43937 * posix/spawnp.c: Likewise. Change normal version to use
43938 SPAWN_XFLAGS_USE_PATH.
43939 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
43940 SPAWN_XFLAGS_TRY_SHELL.
43943 * posix/glob.h: Remove gcc 1.x support.
43946 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
43948 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
43950 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
43951 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
43953 * sysdeps/i386/i686/multiarch/strchr.S: New file.
43954 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
43955 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
43956 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
43957 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
43958 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
43960 2011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
43962 * sysdeps/x86_64/wcscmp.S: New file.
43964 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
43965 wcscmp-c wcscmp-sse2
43966 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
43967 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
43968 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
43969 * wcsmbs/wcscmp.c: Allow renaming.
43971 2011-09-05 David S. Miller <davem@davemloft.net>
43973 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
43974 stack slot, rather than the struct return pointer slot.
43975 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
43976 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
43977 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
43978 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
43980 2011-09-05 Ulrich Drepper <drepper@gmail.com>
43982 * po/ja.po: Update from translation team.
43985 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
43986 kernel in 64-bit binaries.
43988 2011-09-01 David S. Miller <davem@davemloft.net>
43990 * elf/elf.h (HWCAP_SPARC_*): Move to..
43991 * sysdeps/sparc/sysdep.h: this new file and add new values.
43992 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
43993 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
43994 _DL_HWCAP_COUNT to 24.
43995 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
43997 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
43998 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
43999 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
44000 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
44001 instead of magic constants.
44002 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
44004 2011-08-31 David S. Miller <davem@davemloft.net>
44006 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
44007 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
44008 Reimplement to do errno handling inline.
44009 (SYSCALL_ERROR_HANDLER): New macro.
44010 (__SYSCALL_STRING): Do not do errno handling in asm.
44011 (__CLONE_SYSCALL_STRING): Delete.
44012 (__INTERNAL_SYSCALL_STRING): Delete.
44013 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
44014 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
44015 (PSEUDO): Reimplement to do errno handling inline.
44016 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
44017 (SYSCALL_ERROR_HANDLER): New macro.
44018 (__SYSCALL_STRING): Do not do errno handling in asm.
44019 (__CLONE_SYSCALL_STRING): Delete.
44020 (__INTERNAL_SYSCALL_STRING): Delete.
44021 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
44022 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
44024 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
44025 (inline_syscall*): Add 'err' argument.
44026 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
44027 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
44028 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
44029 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
44031 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
44032 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
44034 2011-08-30 Andreas Schwab <schwab@redhat.com>
44036 * elf/rtld.c (dl_main): Relocate objects in dependency order.
44038 2011-08-29 Jiri Olsa <jolsa@redhat.com>
44040 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
44043 2011-08-24 David S. Miller <davem@davemloft.net>
44045 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
44047 2011-08-24 Andreas Schwab <schwab@redhat.com>
44049 * elf/Makefile: Add rules to build and run unload8 test.
44050 * elf/unload8.c: New file.
44051 * elf/unload8mod1.c: New file.
44052 * elf/unload8mod1x.c: New file.
44053 * elf/unload8mod2.c: New file.
44054 * elf/unload8mod3.c: New file.
44056 * elf/dl-close.c (_dl_close_worker): Reset private search list if
44059 2011-08-23 David S. Miller <davem@davemloft.net>
44061 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
44062 subtract stack bias.
44063 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
44064 %sp not %fp in calculations.
44065 (_JMPBUF_UNWINDS_ADJ): Likewise.
44067 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
44068 (aio_suspend): Call it to force an exception region around the
44069 AIO_MISC_WAIT() invocation.
44071 2011-08-23 Andreas Schwab <schwab@redhat.com>
44073 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
44076 2011-07-04 Aurelien Jarno <aurelien@aurel32.net>
44078 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
44080 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
44081 and <dl-machine.h>.
44082 (Elf64_FuncDesc): Remove.
44084 2011-08-22 David S. Miller <davem@davemloft.net>
44086 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
44087 sigaltstack check, add missing cfi directives.
44088 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
44089 missing cfi directives, and sigaltstack handling.
44091 2011-08-16 Andreas Schwab <schwab@redhat.com>
44094 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
44095 object is seen twice.
44096 * elf/dl-fini.c (_dl_sort_fini): Likewise.
44098 * elf/Makefile (distribute): Add tst-initorder2.c.
44099 (tests): Add tst-initorder2.
44100 (modules-names): Add tst-initorder2a tst-initorder2b
44101 tst-initorder2c tst-initorder2d. Add rules to build them.
44102 ($(objpfx)tst-initorder2.out): New rule.
44103 * elf/tst-initorder2.c: New file.
44104 * elf/tst-initorder2.exp: New file.
44106 2011-08-22 Andreas Schwab <schwab@redhat.com>
44108 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
44110 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
44111 dependencies back to end of function.
44113 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
44114 $(elfobjdir)/ld.so.
44116 2011-08-21 Ulrich Drepper <drepper@gmail.com>
44118 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
44119 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
44120 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
44121 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
44122 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
44123 of __vdso_gettimeofday.
44124 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
44125 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
44127 (_libc_vdso_platform_setup): Remove initialization of
44128 __vdso_gettimeofday and __vdso_time.
44130 2011-08-20 Ulrich Drepper <drepper@gmail.com>
44132 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
44133 and fgetc_unlocked.
44134 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
44137 * elf/dl-open.c (add_to_global): Report additions to the global scope
44138 for LD_DEBUG=scopes.
44139 (dl_open_worker): Also print scope of newly loaded dependencies.
44140 (_dl_show_scope): Indicate if there is no scope.
44143 * stdio-common/Makefile (tests): Add bug24.
44144 * stdio-common/bug24.c: New file.
44146 2011-08-19 Andreas Jaeger <aj@suse.de>
44149 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
44150 non-existant file when using close-on-exec mode.
44152 2011-08-20 Ulrich Drepper <drepper@gmail.com>
44154 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
44155 the very first instruction.
44157 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
44158 the CFI state in the end.
44159 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
44160 inclusion of dl-trampoline.h.
44161 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
44163 2011-08-19 Andreas Schwab <schwab@redhat.com>
44165 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
44166 expectations for long double.
44168 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
44169 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
44171 2011-08-14 David S. Miller <davem@davemloft.net>
44173 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
44174 artificual limit depends upon the system page size.
44176 2011-08-17 Ulrich Drepper <drepper@gmail.com>
44178 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
44179 * resolv/Makefile: Define CFLAGS-libresolv.
44181 2011-08-17 Andreas Schwab <schwab@redhat.com>
44183 * nss/makedb.c (compute_tables): Make variables used in nested
44186 2011-08-17 Ulrich Drepper <drepper@gmail.com>
44188 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
44189 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
44190 if buffer was too small.
44192 * elf/pldd.c (main): Attach to all threads in the process.
44193 Rewrite /proc handling to use *at functions.
44195 2011-08-16 Ulrich Drepper <drepper@gmail.com>
44197 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
44198 specifies first scope to show.
44199 (dl_open_worker): Update callers. Move printing scope of new
44200 object to before the relocation.
44201 * elf/rtld.c (dl_main): Update _dl_show_scope call.
44202 * sysdeps/generic/ldsodefs.h: Update declaration.
44204 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
44205 string for the scope number.
44207 2011-08-14 Ulrich Drepper <drepper@gmail.com>
44209 * nscd/servicescache.c (cache_addserv): Make sure written is always
44212 2011-08-14 Roland McGrath <roland@hack.frob.com>
44214 * sysdeps/i386/i486/bits/atomic.h
44215 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
44216 statement expression, so as to suppress "set but not used" warning.
44217 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
44219 * string/strncat.c (STRNCAT): Use prototype definition.
44221 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
44222 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
44224 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
44225 (localedef-modules): Add localedef.
44226 (locale-modules): Add locale.
44228 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
44229 * elf/rtld.c (dl_main): Invert order of assignment in last change,
44230 to avoid a warning.
44232 2011-08-14 David S. Miller <davem@davemloft.net>
44234 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
44235 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
44237 2011-08-13 Ulrich Drepper <drepper@gmail.com>
44239 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
44240 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
44241 * elf/rtld.c (dl_main): Set l_name of vDSO.
44242 Call _dl_show_scope when DL_DEBUG_SCOPES.
44243 (process_dl_debug): Recognize scopes flag and also set it for all.
44244 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
44245 Declare _dl_show_scope.
44247 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
44248 (do_dlopen): Pass caller_dlopen to dl_open.
44249 (__libc_dlopen_mode): Initialize caller_dlopen.
44251 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
44252 of libc. Make tolower call locale-independent. Optimize a bit by
44253 using isdigit instead of isalnum.
44254 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
44256 2011-08-12 Ulrich Drepper <drepper@gmail.com>
44258 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
44259 was a dependency or dynamically loaded.
44261 2011-08-11 Ulrich Drepper <drepper@gmail.com>
44263 * intl/l10nflist.c: Allow architecture-specific pop function.
44264 * sysdeps/x86_64/l10nflist.c: New file.
44266 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
44269 2011-08-10 Andreas Schwab <schwab@redhat.com>
44271 * include/dirent.h: Add libc_hidden_proto for scandirat and
44272 scandirat64. Don't declare __scandirat64.
44273 * dirent/scandirat.c: Add libc_hidden_def.
44274 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
44275 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
44277 2011-08-10 David S. Miller <davem@davemloft.net>
44279 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
44281 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
44282 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
44283 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
44285 2011-08-09 Ulrich Drepper <drepper@gmail.com>
44287 * Versions.def [libc]: Add GLIBC_2.15.
44288 * dirent/Makefile (routines): Add scandirat and scandirat64.
44289 * dirent/Versions [libc]: Export scandirat and scandirat64 for
44291 * dirent/dirent.h: Declare scandirat and scandirat64.
44292 * dirent/scandirat.c: New file.
44293 * dirent/scandirat64.c: New file.
44294 * sysdeps/wordsize-64/scandirat.c: New file.
44295 * sysdeps/wordsize-64/scandirat64.c: New file.
44296 * dirent/opendir.c: Define opendirat.
44297 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
44299 * dirent/scandir64.c: Adjust for scandir.c change.
44300 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
44301 __scandirat64, and __scandir_cancel_handler.
44302 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
44303 additional parameter and use openat instead of open (outside of ld.so).
44304 Add new __opendir as wrapper around __opendirat.
44305 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
44306 here without requiring old scandirat implementation.
44308 2011-08-08 Ulrich Drepper <drepper@gmail.com>
44310 * dirent/scandir.c (cancel_handler): Renamed to
44311 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
44312 defined. Adjust users.
44313 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
44314 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
44316 2011-08-04 Ulrich Drepper <drepper@gmail.com>
44318 * string/test-string.h (IMPL): Use __STRING to expand name and then
44321 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
44324 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
44326 * string/Makefile: Update.
44327 (strop-tests): Append strncat.
44328 * string/test-wcscmp.c: New file.
44329 New comprehensive test for wcscmp.
44330 * string/test-strcmp.c: Update.
44331 (WIDE): New define.
44333 2011-07-22 Andreas Schwab <schwab@redhat.com>
44335 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
44338 2011-07-26 Andreas Schwab <schwab@redhat.com>
44340 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
44341 encoding to ACE if AI_IDN.
44343 2011-08-01 Jakub Jelinek <jakub@redhat.com>
44345 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
44346 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
44348 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
44350 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
44351 Fix overflow bug in strncat.
44352 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
44354 * string/test-strncat.c: Update.
44355 Add new tests for checking overflow bugs.
44357 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
44359 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
44360 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
44361 * sysdeps/i386/i686/multiarch/strcat.S: New file.
44362 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
44363 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
44364 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
44365 * sysdeps/i386/i686/multiarch/strncat.S: New file.
44366 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
44367 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
44369 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
44370 (USE_AS_STRCAT): Define.
44371 Add strcat and strncat support.
44372 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
44374 2011-07-25 Andreas Schwab <schwab@redhat.com>
44376 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
44377 __n bigger than INT_MAX+1.
44378 (__strncmp_g): Likewise.
44380 2011-07-23 Ulrich Drepper <drepper@gmail.com>
44382 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
44383 * libio/stido.h: Likewise.
44385 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
44387 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
44390 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
44391 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
44392 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
44393 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
44394 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
44397 * scripts/test-installation.pl: Don't expect libnss_test1 to be
44400 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
44402 (_dl_x86_64_save_sse): Likewise.
44404 2011-07-22 Ulrich Drepper <drepper@gmail.com>
44406 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
44408 (_dl_x86_64_save_sse): Likewise.
44410 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
44412 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
44414 2011-07-21 Andreas Schwab <schwab@redhat.com>
44416 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
44418 (_dl_x86_64_save_sse): Use correct AVX check.
44420 2011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
44422 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
44423 bug in strncpy/strncat.
44424 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
44426 2011-07-21 Ulrich Drepper <drepper@gmail.com>
44428 * string/tester.c (test_strcat): Add tests for different alignments
44429 of source and destination.
44430 (test_strncat): Likewise.
44432 2011-07-20 Ulrich Drepper <drepper@gmail.com>
44435 * posix/glob.c (glob): Check passed in values before using them in
44436 expressions to avoid some overflows.
44437 (glob_in_dir): Likewise.
44440 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
44441 check for AVX enablement so that we don't crash with old kernels and
44443 * elf/tst-audit4.c: Add same checks here.
44444 * elf/tst-audit6.c: Likewise.
44446 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
44448 2011-07-09 Andreas Schwab <schwab@linux-m68k.org>
44450 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
44452 2011-07-20 Ulrich Drepper <drepper@gmail.com>
44454 * po/cs.po: Update from translation team.
44455 * po/bg.po: Likewise.
44457 2011-07-12 Marek Polacek <mpolacek@redhat.com>
44459 * misc/sys/cdefs.h: Add support for const attribute.
44460 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
44461 to gnu_dev_{major,minor,makedev} functions.
44463 2011-07-20 Marek Polacek <mpolacek@redhat.com>
44465 * intl/dcigettext.c (get_output_charset): Add missing bracket.
44467 2011-07-20 Andreas Schwab <schwab@redhat.com>
44469 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
44472 2011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
44474 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
44475 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
44476 register in order to avoid conflicts with the soft frame pointer
44477 being held in r11 when necessary.
44478 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
44479 (INTERNAL_VSYSCALL_NCS): Likewise.
44481 2011-07-14 Marek Polacek <mpolacek@redhat.com>
44483 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
44484 * elf/dl-fini.c (_dl_fini): Adjust caller.
44485 * elf/dl-close.c (_dl_close_worker): Likewise.
44486 * sysdeps/generic/ldsodefs.h: Adjust declaration.
44488 2011-07-15 Marek Polacek <mpolacek@redhat.com>
44490 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
44491 "aux_cache->nlibs < 0".
44493 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
44494 in the reload-count case.
44496 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
44498 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
44499 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
44500 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
44501 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
44502 * sysdeps/x86_64/multiarch/strcat.S: New file.
44503 * sysdeps/x86_64/multiarch/strncat.S: New file.
44504 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
44505 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
44506 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
44507 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
44508 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
44509 (USE_AS_STRCAT): Define.
44510 Add strcat and strncat support.
44511 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
44512 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
44513 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
44514 * string/strncat.c: Update.
44515 (USE_AS_STRNCAT): Define.
44516 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
44517 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
44519 * sysdeps/x86_64/multiarch/init-arch.h
44520 (bit_Prefer_PMINUB_for_stringop): New.
44521 (index_Prefer_PMINUB_for_stringop): Likewise.
44522 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
44523 bit_Prefer_PMINUB_for_stringop.
44525 2011-07-19 Ulrich Drepper <drepper@gmail.com>
44527 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
44529 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
44530 of casting of buffer.
44531 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
44532 buffer32 and buffer64.
44533 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
44534 writes instead of casting of buffer.
44535 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
44537 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
44540 2011-07-19 Andreas Schwab <schwab@redhat.com>
44542 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
44544 2011-07-19 Ulrich Drepper <drepper@gmail.com>
44546 * nscd/nscd.c (termination_handler): Don't do anything for a database
44547 if it has not yet been initialized.
44549 2011-07-18 Ulrich Drepper <drepper@gmail.com>
44551 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
44553 2011-07-15 Marek Polacek <mpolacek@redhat.com>
44555 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
44557 2011-07-18 Ulrich Drepper <drepper@gmail.com>
44559 * po/nl.po: Update from translation team.
44560 * po/sv.po: Likewise.
44562 2011-07-16 Roland McGrath <roland@hack.frob.com>
44564 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
44565 now disallowed by GCC.
44567 * configure.in (use-default-link): Default to yes if a test -shared
44568 link meets our qualifications.
44569 * configure: Regenerated.
44571 * config.make.in (output-format): New variable.
44572 * configure.in: Check for ld --print-output-format support.
44573 * configure: Regenerated.
44574 * Makerules ($(common-objpfx)format.lds)
44575 [$(output-format) != unknown]: Just use $(output-format),
44576 instead of the linker-script munging.
44578 2011-07-14 Roland McGrath <roland@hack.frob.com>
44580 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
44581 of $(common-objpfx)shlib.lds.
44582 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
44584 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
44585 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
44587 * configure.in (-z relro check): Adjust test code to add a large
44588 writable data section after it.
44589 * configure: Regenerated.
44591 2011-07-11 Roland McGrath <roland@hack.frob.com>
44593 * configure.in (-z relro check): Fix test code to make the variable
44595 * configure: Regenerated.
44597 2011-07-11 Ulrich Drepper <drepper@gmail.com>
44599 * nscd/nscd.h (struct traced_file): Define.
44600 (struct database_dyn): Remove inotify_descr, reset_res, and filename
44601 elements. Add traced_files.
44602 (inotify_fd): Declare.
44603 (register_traced_file): Declare.
44604 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
44605 (inotify_fd): Export.
44606 (resolv_conf_descr): Remove.
44607 (nscd_init): Move inotify descriptor creation to main.
44608 Don't register files for notification here.
44609 (register_traced_file): New function.
44610 (invalidate_cache): Don't use reset_res to determine whether to call
44611 res_init, go through the list of registered files.
44612 (main_loop_poll): The inotify descriptors are now stored in the
44613 structures for the traced files.
44614 (main_loop_epoll): Likewise
44615 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
44616 to __nss_disable_nscd.
44617 * nscd/cache.c (prune_cache): There is no single inotify descriptor
44618 for a database anymore. Check the records for all the registered
44620 * nss/Makefile (libnss_files-routines): Add files-init.
44621 (libnss_db-routines): Add db-init.
44622 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
44623 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
44624 * nss/nss_db/db-init.c: New file.
44625 * nss/nss_files/files-init.c: New file.
44626 * nss/nsswitch.c (nss_load_library): New function. Broken out of
44627 __nss_lookup_function.
44628 (__nss_lookup_function): Call nss_load_library.
44629 (nss_load_all_libraries): New function.
44630 (__nss_disable_nscd): Take parameter with callback function for files
44631 to register. Set is_nscd. Load all the DSOs for the NSS modules
44632 used for the cached services.
44633 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
44634 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
44635 options for features to all the files in nscd.
44637 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
44639 2011-07-10 Roland McGrath <roland@hack.frob.com>
44641 * csu/elf-init.c (__libc_csu_init): Comment typo.
44643 2011-07-09 Ulrich Drepper <drepper@gmail.com>
44645 * po/pl.po: Update from translation team.
44646 * po/ja.po: Likewise.
44647 * po/ru.po: Likewise.
44648 * po/ko.po: Likewise.
44649 * po/fr.po: Likewise.
44651 2011-07-09 Roland McGrath <roland@hack.frob.com>
44653 * configure.in (.ctors/.dtors header and trailer check):
44654 Use an empirical test on a built program.
44655 * configure: Regenerated.
44657 * configure.in (-z relro check): Use an empirical test on a built DSO.
44658 Detect, but do not require, on ia64.
44659 * configure: Regenerated.
44661 * configure.in (READELF): Find it with AC_CHECK_TOOL.
44662 Update tests that use readelf to use $READELF instead.
44663 * configure: Regenerated.
44665 2011-07-08 Ulrich Drepper <drepper@gmail.com>
44667 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
44668 if the result is not used.
44670 2011-07-05 Andreas Jaeger <aj@suse.de>
44673 * stdlib/tst-strtod.c: Add testcase.
44675 2011-07-07 Ulrich Drepper <drepper@gmail.com>
44677 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
44678 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
44679 The latter has a higher limit. Take additional parameter to pass to
44681 (__pathconf): Pass file to __statfs_link_max.
44682 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
44684 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
44688 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
44689 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
44691 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
44692 (__statfs_filesize_max): Likewise.
44693 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
44695 2011-07-05 Andreas Jaeger <aj@suse.de>
44697 * resolv/res_comp.c (dn_skipname): Remove unused variable.
44699 2011-07-06 Marek Polacek <mpolacek@redhat.com>
44701 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
44703 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
44706 2011-07-04 H.J. Lu <hongjiu.lu@intel.com>
44708 * Makefile (strop-tests): Add strncat.
44709 * string/test-strncat.c: New file.
44711 2011-06-30 Marek Polacek <mpolacek@redhat.com>
44713 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
44715 2011-06-21 Andreas Jaeger <aj@suse.de>
44717 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
44718 Copy rule from iconvdata/Makefile.
44720 2011-07-06 Ulrich Drepper <drepper@gmail.com>
44723 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
44724 but no long options are defined, just return 'W'.
44726 2011-06-22 Marek Polacek <mpolacek@redhat.com>
44729 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
44731 2011-07-06 Ulrich Drepper <drepper@gmail.com>
44733 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
44735 (innetgr): Likewise.
44737 2011-07-05 Roland McGrath <roland@hack.frob.com>
44739 * config.make.in (install_root): Default to $(DESTDIR).
44741 2011-07-05 Ulrich Drepper <drepper@gmail.com>
44743 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
44745 2011-07-02 Roland McGrath <roland@hack.frob.com>
44747 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
44749 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
44750 containing directory rather than embedding absolute directory names.
44752 * scripts/check-local-headers.sh: Rewritten using awk.
44753 Match by word, not by line. Print error messages for matches.
44754 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
44756 * Makerules [shlib-lds-flags empty]:
44757 ($(common-objpfx)libc_pic.opts): New target.
44758 ($(common-objpfx)libc_pic.os.clean): New target.
44759 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
44761 * config.make.in (OBJCOPY): New variable.
44762 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
44763 * configure: Regenerated.
44765 * config.make.in (use-default-link): New variable.
44766 * configure.in (use_default_link): Grok --with-default-link to set it.
44767 * configure: Regenerated.
44768 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
44769 (shlib-lds, shlib-lds-flags): Define to empty.
44771 * Makerules (shlib-lds): New variable.
44772 (shlib-lds-flags): New variable.
44773 (build-shlib, build-moduile, build-module-asneeded): Use it.
44774 ($(common-objpfx)libc.so): Use $(shlib-lds).
44775 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
44776 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
44778 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
44779 DT_FLAGS/DT_FLAGS_1 with zero flags.
44781 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
44782 linker script munging.
44784 2011-07-02 Ulrich Drepper <drepper@gmail.com>
44786 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
44788 * crypt/sha512.c (sha512_process_block): Perform total addition using
44789 128-bit if possible.
44790 (__sha512_finish_ctx): Likewise.
44791 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
44793 * crypt/sha256.c (SWAP64): Define.
44794 (sha256_process_block): Perform total addition using 64-bit if
44796 (__sha256_finish_ctx): Likewise.
44798 2011-07-01 Ulrich Drepper <drepper@gmail.com>
44800 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
44801 * nscd/initgrcache.c (addinitgroupsX): Likewise.
44802 * nscd/hstcache.c (cache_addhst): Likewise.
44803 * nscd/grpcache.c (cache_addgr): Likewise.
44804 * nscd/aicache.c (addhstaiX): Likewise
44805 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
44807 2011-07-01 Thorsten Kukuk <kukuk@suse.de>
44809 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
44810 * nscd/initgrcache.c (addinitgroupsX): Likewise.
44811 * nscd/hstcache.c (cache_addhst): Likewise.
44812 * nscd/grpcache.c (cache_addgr): Likewise.
44813 * nscd/aicache.c (addhstaiX): Likewise
44815 2011-07-01 Andreas Schwab <schwab@redhat.com>
44817 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
44818 domain only when needed.
44820 2011-06-30 Andreas Schwab <schwab@redhat.com>
44822 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
44823 is always restored.
44825 2011-06-29 Ulrich Drepper <drepper@gmail.com>
44827 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
44828 are re-adding the entry.
44829 * nscd/servicescache.c (cache_addserv): Likewise.
44831 2011-06-30 Aurelien Jarno <aurelien@aurel32.net>
44833 * sysdeps/generic/dl-irel.h: fix protection against multiple
44835 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
44837 2011-06-28 Ulrich Drepper <drepper@gmail.com>
44840 * malloc/memusage.sh: Fix quoting in message.
44841 * debug/xtrace.sh: Likewise.
44843 * configure.in: Remove support for --experimental-malloc option, make
44845 * config.make.in: Likewise.
44846 * malloc/Makefile: Likewise.
44848 2011-06-27 Andreas Schwab <schwab@redhat.com>
44850 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
44851 two-byte characters.
44853 2011-06-27 Roland McGrath <roland@hack.frob.com>
44855 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
44856 AC_CACHE_CHECK invocation.
44857 * configure: Regenerated.
44859 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
44861 2011-06-27 Ulrich Drepper <drepper@gmail.com>
44864 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
44865 bit from old_res_options.
44867 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
44869 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
44870 value type for setfct.
44872 2011-06-23 H.J. Lu <hongjiu.lu@intel.com>
44874 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
44875 __gettimeofday instead of gettimeofday.
44877 2011-06-26 Ulrich Drepper <drepper@gmail.com>
44879 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
44881 2011-06-24 H.J. Lu <hongjiu.lu@intel.com>
44883 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
44885 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
44888 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
44890 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
44891 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
44892 strcpy-sse2-unaligned strncpy-sse2-unaligned
44893 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
44894 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
44895 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
44896 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
44897 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
44898 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
44899 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
44900 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
44901 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
44902 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
44903 (STRCPY): Support SSE2 and SSSE3 versions.
44905 2011-06-24 Ulrich Drepper <drepper@gmail.com>
44908 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
44909 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
44910 kernels which artificially limit size of requests.
44912 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
44914 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
44915 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
44916 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
44917 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
44918 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
44919 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
44920 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
44921 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
44922 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
44923 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
44924 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
44925 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
44926 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
44927 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
44928 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
44929 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
44930 Enable unaligned load optimization for Intel Core i3, i5 and i7
44932 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
44934 (index_Fast_Unaligned_Load): Define.
44935 (HAS_FAST_UNALIGNED_LOAD): Define.
44937 2011-06-23 Marek Polacek <mpolacek@redhat.com>
44939 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
44941 2011-06-22 Ulrich Drepper <drepper@gmail.com>
44944 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
44945 until it is clear that the information is realy needed.
44946 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
44948 2011-06-22 Andreas Schwab <schwab@redhat.com>
44950 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
44952 2011-06-22 Ulrich Drepper <drepper@gmail.com>
44954 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
44955 /sys/devices/system/cpu/online if it is usable.
44957 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
44958 reading the information from the /proc filesystem to once a second.
44960 2011-06-21 Andreas Jaeger <aj@suse.de>
44962 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
44963 NULL after inclusion of kernel headers.
44965 2011-06-21 Ulrich Drepper <drepper@gmail.com>
44967 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
44968 calls to internal_setent.
44971 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
44972 addresses using gethostbyname4_r ignore IPv4 addresses.
44974 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
44975 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
44977 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
44979 2011-06-20 David S. Miller <davem@davemloft.net>
44981 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
44983 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
44985 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
44986 (elf_irel): Use it.
44987 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
44988 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
44989 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
44990 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
44991 * sysdeps/x86_64/dl-irel.h: Likewise.
44993 * elf/dl-runtime.c: Use elf_ifunc_invoke.
44994 * elf/dl-sym.c: Likewise.
44996 2011-06-15 Ulrich Drepper <drepper@gmail.com>
44998 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
44999 need to dereference resplen2.
45001 2011-06-14 Andreas Schwab <schwab@redhat.com>
45003 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
45005 2011-06-15 Ulrich Drepper <drepper@gmail.com>
45007 * Makeconfig: Define vardbdir and inst_vardbdir.
45008 * nss/Makefile: Add rules to install db-Makefile.
45010 * nss/nss_db/db-XXX.c: Cleanup.
45012 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
45013 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
45015 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
45016 * nss/makedb.c: Implement -g option to specify that value strings
45017 are generated and should not be added to table iterated over for
45019 * nss/nss_db/db-initgroups.c: New file.
45021 * nss/getent.c: Add support for initgroups lookups through getgrouplist
45024 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
45025 (internal_getgrouplist): Adjust to name change.
45026 Update use_initgroups_entry if this is not the first call.
45027 * nss/databases.def: Add initgroups entry.
45029 * nss/makedb.c (compute_tables): Check result of multiple hash table
45030 sizes to minimize maximum chain length.
45032 2011-06-14 Ulrich Drepper <drepper@gmail.com>
45034 * Versions.def: Add entry for libnss_db.
45035 * shlib-versions: Likewise.
45036 * nss/Makefile: Add rules to build libnss_db.
45037 * nss/Versions: Add libnss_db information. Organize libnss_files
45039 * nss/db-Makefile: Add gshadow support. Change rules for the new
45040 makedb progra. Some minor improvements to generate smaller files.
45041 * nss/nss_db/nss_db.h: Move NSS database header data structures to
45043 * nss/makedb.c: ...here.
45044 Improve database format to be smaller and require less memory at
45046 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
45048 * nss/nss_db/db-netgrp.c: Likewise.
45049 * nss/nss_db/db-open.c: Likewise.
45050 * nss/nss_files/flies-XXX.x: Adjust comments.
45051 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
45052 * nss/nss_files/files-grp.c: Likewise.
45053 * nss/nss_files/files-hosts.c: Likewise.
45054 * nss/nss_files/files-network.c: Likewise.
45055 * nss/nss_files/files-proto.c: Likewise.
45056 * nss/nss_files/files-pwd.c: Likewise.
45057 * nss/nss_files/files-rpc.c: Likewise.
45058 * nss/nss_files/files-service.c: Likewise.
45059 * nss/nss_files/files-sgrp.c: Likewise.
45060 * nss/nss_files/files-spwd.c: Likewise.
45061 * nss/nss_db/db-alias.c: Removed.
45062 * nss/nss_db/dummy-db.h: Removed.
45064 2011-06-02 Ulrich Drepper <drepper@gmail.com>
45066 * nss/makedb.c: Rewritten to not use database library.
45067 * nss/Makefile: Update to build new makedb program.
45069 2011-06-14 Andreas Jaeger <aj@suse.de>
45071 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
45072 memset declaration.
45074 2011-06-10 Andreas Schwab <schwab@redhat.com>
45076 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
45079 2011-06-10 Roland McGrath <roland@hack.frob.com>
45081 * Makerules (shlib.lds): Fail if the linker script comes out empty.
45082 * elf/Makefile ($(objpfx)ld.so): Likewise.
45084 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
45085 Don't list ld.so twice in dependencies.
45087 * posix/bug-regex31.c: Include <stdlib.h>.
45089 * nscd/hstcache.c (cache_addhst): Remove unused variable.
45091 * nis/nss_compat/compat-spwd.c
45092 (getspent_next_nss_netgr): Remove unused variable.
45093 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
45095 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
45096 nonmembers" output to use the right array.
45098 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
45100 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
45102 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
45103 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
45104 * catgets/gencat.c (read_input_file): Likewise.
45105 * locale/programs/locarchive.c (enlarge_archive): Likewise.
45107 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
45108 variable definition inside #if's controlling its use.
45110 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
45112 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
45114 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
45116 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
45119 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
45121 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
45122 * configure: Regenerated.
45124 * Makerules: Revert last change.
45125 * elf/Makefile: Likewise.
45127 2011-06-09 Roland McGrath <roland@hack.frob.com>
45129 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
45130 * elf/Makefile ($(objpfx)librtld.os): Likewise.
45131 (reloc-link): Likewise.
45133 2011-06-09 Ulrich Drepper <drepper@gmail.com>
45135 * elf/Makefile: Add rules to build pldd.
45136 * elf/pldd.c: New file.
45137 * elf/pldd-xx.c: New file.
45139 2011-06-07 Ulrich Drepper <drepper@gmail.com>
45141 * version.h: Update for 2.15 development version.
45143 2011-06-07 David S. Miller <davem@davemloft.net>
45145 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
45147 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
45148 elf_machine_lazy_rel): Likewise.
45149 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
45150 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
45151 elf_machine_lazy_rel): Likewise.
45152 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
45153 dl_hwcap via passed in argument.
45154 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
45157 2011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
45159 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
45161 2011-06-06 Roland McGrath <roland@hack.frob.com>
45164 * manual/fdl-1.1.texi: New file, verbatim from:
45165 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
45166 * manual/lgpl-2.1.texi: New file, verbatim from:
45167 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
45168 * manual/Makefile (licenses): New variable, list those new file names.
45170 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
45172 * manual/fdl.texi: File removed.
45173 * manual/lesser.texi: File removed.
45174 * manual/libc.texinfo (Copying, Documentation License):
45175 Use new @include file names, put @appendix directive before @include.
45177 2011-06-04 Jakub Jelinek <jakub@redhat.com>
45180 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
45181 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
45182 (mq_open): Add __NTH.
45184 2011-06-02 H.J. Lu <hongjiu.lu@intel.com>
45186 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
45187 Assume Intel Core i3/i5/i7 processor if AVX is available.
45189 2011-05-31 Ulrich Drepper <drepper@gmail.com>
45191 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
45194 2011-05-31 Andreas Schwab <schwab@redhat.com>
45196 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
45197 memory. Use alloca_account. Fix memory leak when retrying.
45199 2011-05-31 Ulrich Drepper <drepper@gmail.com>
45201 * version.h (RELEASE): Bump for 2.14 release.
45202 * include/features.h (__GLIBC_MINOR__): Bump to 14.
45204 * config.make.in (RANLIB): Remove entry.
45206 2011-05-30 Ulrich Drepper <drepper@gmail.com>
45208 * po/Makefile (po-sed-cmd): Add ksh to extensions.
45209 (libc.pot): Work around missing support for .ksh extension in xgettext.
45212 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
45213 if both request failed.
45214 (send_dg): In case of server errors clear resplen or *resplen2.
45217 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
45218 when there are multiple maps.
45219 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
45220 (_dl_fini): Remove test here.
45222 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
45224 2011-05-29 Ulrich Drepper <drepper@gmail.com>
45227 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
45228 bit from old_res_options.
45229 (gaih_inet): Likewise.
45232 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
45235 * resolv/res_init.c (res_setoptions): Make the code more compact.
45238 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
45242 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
45244 * malloc/malloc.h: Mark malloc hook variables as deprecated.
45247 * malloc/malloc.h: Declare malloc hook variables as volatile.
45249 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
45253 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
45254 raise in the comment.
45255 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
45256 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
45257 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
45259 2011-05-28 Ulrich Drepper <drepper@gmail.com>
45262 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
45263 grow the buffers more if it already has to be sufficient.
45264 (build_wcs_upper_buffer): Likewise.
45265 * posix/regexec.c (check_matching): Likewise.
45266 (clean_state_log_if_needed): Likewise.
45267 (extend_buffers): Don't enlarge buffers beyond size of the input
45269 Patches mostly by Emil Wojak <emil@wojak.eu>.
45270 * posix/bug-regex32.c: New file.
45271 * posix/Makefile (tests): Add bug-regex32.
45273 * locale/findlocale.c (_nl_find_locale): Return right away if
45274 _nl_explode_name failed.
45275 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
45277 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
45279 * debug/xtrace.sh: Unify messages.
45280 * malloc/memusage.sh: Likewise.
45283 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
45284 time symbol from vDSO. Substitute with vsyscall if not available.
45285 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
45288 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
45289 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
45290 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
45291 Add sendmmsg and internal_sendmmsg.
45292 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
45293 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
45294 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
45296 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
45297 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
45298 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
45300 2011-05-27 Ulrich Drepper <drepper@gmail.com>
45303 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
45304 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
45306 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
45310 * iconvdata/Makefile (tests): Add bug-iconv9.
45311 * iconvdata/bug-iconv9.c: New file.
45313 2011-05-27 Andreas Schwab <schwab@redhat.com>
45316 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
45318 2011-05-25 Jakub Jelinek <jakub@redhat.com>
45320 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
45321 (struct user_regs_struct): Change intcs field back to cs.
45323 2011-05-25 Ulrich Drepper <drepper@gmail.com>
45325 * po/ja.po: Update from translation team.
45327 2011-05-23 Ulrich Drepper <drepper@gmail.com>
45330 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
45331 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
45333 2011-05-20 Andreas Schwab <schwab@redhat.com>
45335 * stdlib/longlong.h: Update from GCC.
45337 2011-05-23 Andreas Schwab <schwab@redhat.com>
45339 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
45341 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
45342 Add parameter name.
45343 (__sysconf): Pass it down.
45345 2011-05-22 Ulrich Drepper <drepper@gmail.com>
45348 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
45350 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
45351 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
45352 add in in __libc_use_alloca calls. Adjust callers.
45353 (glob): Use malloc in some situations.
45355 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
45356 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
45359 2011-05-21 Ulrich Drepper <drepper@gmail.com>
45361 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
45362 and CLOCK_BOOTTIME_ALARM.
45365 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
45368 * string/_strerror.c (__strerror_r): Print negative errors as signed
45372 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
45373 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
45374 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
45376 * configure.in: Fix typo in redirection and correct removal of test
45377 files in two cases.
45380 * locale/setlocale.c (new_composite_name): Fix test to check for
45381 identical name of all categories.
45384 * libio/filedoalloc.c (local_isatty): New function.
45385 (_IO_file_doallocate): Use local_isatty.
45386 * stdio-common/perror.c (perror): In case a new stream is used
45387 forward the stream error.
45388 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
45391 2011-05-20 Ulrich Drepper <drepper@gmail.com>
45394 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
45396 * include/alloca.h (extend_alloca_account): Define.
45399 * posix/regex.h: Fix comments with documentation of user-accessible
45400 fields after compilation and describe correct free'ing of pattern
45401 after re_compile_pattern.
45402 Patch by Reuben Thomas <rrt@sc3d.org>.
45404 2011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
45406 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
45407 and -mno-altivec to prevent the compiler from using Altivec and/or
45408 VSX instructions when the corresponding registers are not available.
45410 2011-05-19 Andreas Schwab <schwab@redhat.com>
45412 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
45414 2011-05-19 Ulrich Drepper <drepper@gmail.com>
45416 * libio/freopen.c (freopen): Use __dup2, not dup2.
45417 * libio/freopen64.c (freopen64): Likewise.
45419 2011-05-17 H.J. Lu <hongjiu.lu@intel.com>
45422 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
45423 * math/Makefile (tests): Add test-powl.
45424 (CFLAGS-test-powl.c): Define.
45425 * math/test-powl.c: New file.
45427 2011-05-16 H.J. Lu <hongjiu.lu@intel.com>
45429 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
45431 2011-05-17 Ulrich Drepper <drepper@gmail.com>
45434 * iconvdata/gb18030.c: Update to GB18020-2005.
45436 2011-05-16 Ulrich Drepper <drepper@gmail.com>
45438 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
45439 RE_SYNTAX_POSIX_AWK): Update to match recent development.
45440 Patch by Aharon Robbins <arnold@skeeve.com>.
45443 * stdlib/putenv.c (putenv): Don't always create copy of the variable
45447 * misc/pselect.c (__pselect): Handle timeout value errors hidden
45448 through underflows.
45451 * misc/error.c (error_at_line): Ensure file_name and old_file_name
45452 point to strings before performing equality test for error_one_per_line
45456 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
45459 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
45460 (struct user_fpregs_struct): Avoid __uint*_t types.
45463 * malloc/mtrace.c (tr_where): Add additional parameter to point to
45464 symbol info. Use it instead of calling _dl_addr locally.
45465 (lock_and_info): New function.
45466 (tr_freehook): Call lock_and_info and pass symbol info as additional
45467 parameter to tr_where.
45468 (tr_mallochook): Likewise.
45469 (tr_reallochook): Likewise.
45470 (tr_memalignhook): Likewise.
45472 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
45473 used and couldn't be at all thread-safe.
45475 2011-05-15 Ulrich Drepper <drepper@gmail.com>
45477 * libio/freopen.c (freopen): Don't close old file descriptor
45478 before the new one is opened. Instead dup the new file descriptor
45479 to the old one after the new stream is created.
45480 * libio/freopen64.c (freopen64): Likewise.
45481 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
45482 * libio/fileops.c (_IO_new_file_close_it): Handle new
45483 _IO_FLAGS2_NOCLOSE flag.
45484 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
45485 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
45486 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
45487 _IO_FLAGS2_NOCLOSE flag.
45488 * include/unistd.h: Add hidden_proto for dup3.
45489 Define __have_dup3.
45490 * io/dup3.c: Define hidden symbol.
45491 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
45494 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
45495 when an incomplete long option is used.
45496 * posix/tst-getopt_long1.c: New file.
45497 * posix/Makefile (tests): Add tst-getopt_long1.
45500 * scripts/config.guess: Update from autoconf-2.68.
45501 * scripts/config.sub: Likewise.
45504 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
45506 (has_cpuclock): ...this. New function.
45507 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
45508 macro here based on has_cpuclock code.
45511 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
45512 First byte (not low byte) is now always NUL.
45513 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
45515 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
45516 Use non-cancelable interfaces.
45519 * locale/iso-639.def: Add entry for Sorani.
45522 * include/stdlib.h: Move include protection to the right place.
45523 Define abort_msg_s. Declare __abort_msg with it.
45524 * stdlib/abort.c (__abort_msg): Adjust type.
45525 * assert/assert.c (__assert_fail_base): New function. Majority
45526 of code from __assert_fail. Allocate memory for __abort_msg with
45528 (__assert_fail): Now call __assert_fail_base.
45529 * assert/assert-perr.c: Remove bulk of implementation. Use
45530 __assert_fail_base.
45531 * include/assert.hL Declare __assert_fail_base.
45532 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
45534 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
45536 2011-05-14 Ulrich Drepper <drepper@gmail.com>
45540 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
45541 until all modules are registered in the DTV.
45542 * elf/Makefile: Add rules to build and run tst-tls19.
45543 * elf/tst-tls19.c: New file.
45544 * elf/tst-tls19mod1.c: New file.
45545 * elf/tst-tls19mod2.c: New file.
45546 * elf/tst-tls19mod3.c: New file.
45547 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
45550 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
45554 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
45555 two-byte sequence errors.
45556 * iconvdata/Makefile (tests): Add bug-iconv8.
45557 * iconvdata/bug-iconv8.c: New file.
45560 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
45563 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
45566 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
45567 (dummy_getcfa): New function.
45568 (init): Get _Unwind_GetCFA address, use dummy if not found.
45569 (backtrace_helper): In recursion check, also check whether CFA changes.
45570 (__backtrace): Completely initialize arg.
45572 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
45573 storing incomplete byte sequence in state object. Avoid testing for
45574 guaranteed too small input if we know there is enough data available.
45576 2011-05-11 Andreas Schwab <schwab@redhat.com>
45578 * Makeconfig (+link-pie): Indent.
45579 * Rules (binaries-pie): Define if $(have-fpie) and
45581 (binaries-shared): Also filter out $(binaries-pie).
45582 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
45583 * nscd/Makefile (others-pie): Add nscd.
45584 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
45585 ($(objpfx)nscd): Remove command override.
45586 * login/Makefile (others-pie): Add pt_chown.
45587 ($(objpfx)pt_chown): Remove command override.
45588 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
45589 remove command overrides.
45591 2011-05-13 Ulrich Drepper <drepper@gmail.com>
45593 * libio/tst_putwc.c: Fix error messages.
45596 * libio/fileops.c (_IO_new_file_close_it): Always flush when
45597 currently writing and seek to current position when not.
45598 * libio/Makefile (tests): Add bug-fclose1.
45599 * libio/bug-fclose1.c: New file.
45601 2011-05-12 Ulrich Drepper <drepper@gmail.com>
45604 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
45605 don't set DF_1_NODELETE here.
45606 (do_lookup_x): When entering new entry test for copy relocation
45607 and if necessary set DF_1_NODELETE flag.
45608 * elf/tst-unique4.cc: New file.
45609 * elf/tst-unique4.h: New file.
45610 * elf/tst-unique4lib.cc: New file.
45611 * elf/Makefile: Add rules to build and run tst-unique4.
45612 Patch by Piotr Bury <pbury@goahead.com>.
45614 2011-05-11 Ulrich Drepper <drepper@gmail.com>
45617 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
45620 * misc/mntent_r.c (addmntent): Flush the stream after the output
45623 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
45624 (is_trusted_path_normalize): Skip initial colon. Append slash
45625 to empty buffer. Duplicate is_trusted_path code but allow
45626 constructed patch to be prefix.
45627 (is_dst): Allow $ORIGIN followed by /.
45628 (_dl_dst_substitute): Correct clearing of check_for_trusted.
45629 Correct testing of result of is_trusted_path_normalize
45630 (decompose_rpath): Fix warning.
45632 2011-05-10 Ulrich Drepper <drepper@gmail.com>
45635 * grp/initgroups.c (internal_getgrouplist): When we found the service
45636 list through the initgroups entry in nsswitch.conf do not always
45637 continue on a successful lookup. Don't always use the
45638 __nss_group_database value if it is set.
45639 * nss/nsswitch.conf (initgroups): Change action for successful db
45640 lookup to continue for compatibility.
45642 2011-05-09 Ulrich Drepper <drepper@gmail.com>
45645 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
45647 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
45649 * iconvdata/tst-tables.sh: Likewise.
45650 * iconvdata/cp770.c: New file.
45651 * iconvdata/cp771.c: New file.
45652 * iconvdata/cp772.c: New file.
45653 * iconvdata/cp773.c: New file.
45654 * iconvdata/cp774.c: New file.
45655 * iconvdata/testdata/CP770: New file.
45656 * iconvdata/testdata/CP770..UTF8: New file.
45657 * iconvdata/testdata/CP771: New file.
45658 * iconvdata/testdata/CP771..UTF8: New file.
45659 * iconvdata/testdata/CP772: New file.
45660 * iconvdata/testdata/CP772..UTF8: New file.
45661 * iconvdata/testdata/CP773: New file.
45662 * iconvdata/testdata/CP773..UTF8: New file.
45663 * iconvdata/testdata/CP774: New file.
45664 * iconvdata/testdata/CP774..UTF8: New file.
45666 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
45668 * iconvdata/gen-8bit-gap.sh: Likewise.
45669 * iconvdata/gen-8bit.sh: Likewise.
45671 * locale/iso-639.def: Add ary entry.
45674 * locale/C-translit.h.in: Add U20A1 transliteration.
45677 * locale/iso-639.def: Add wae entry.
45678 Patch by Kevin Bortis <bortis@translate-wae.ch>.
45681 * locale/programs/localedef.c (construct_output_path): Use ssize_t
45685 * locale/C-translit.h.in: Add entry for U20B9.
45686 Patch by pravin.d.s@gmail.com.
45688 2011-05-08 Ulrich Drepper <drepper@gmail.com>
45691 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
45692 ENAMETOOLONG use generic getcwd.
45693 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
45694 in rtld. Use *stat64.
45695 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
45696 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
45697 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
45698 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
45699 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
45700 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
45701 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
45702 __fstatat64 macros.
45703 * include/dirent.h: Add libc_hidden_proto for rewinddir.
45704 * dirent/rewinddir.c: Add libc_hidden_def.
45705 * sysdeps/mach/hurd/rewinddir.c: Likewise.
45706 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
45708 * include/dirent.h (__alloc_dir): Add flags parameter.
45709 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
45710 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
45712 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
45713 from fdopendir if O_CLOEXEC is already set.
45715 2011-03-15 Alan Modra <amodra@gmail.com>
45717 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
45718 l_tls_firstbyte_offset non-zero. Save padding offset in
45719 l_tls_firstbyte_offset for later use.
45720 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
45721 freeing static tls block.
45723 2011-03-05 Jonathan Nieder <jrnieder@gmail.com>
45725 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
45726 where #ifdef was intended. The intent is to prevent ARG_MAX from
45727 being defined by the kernel headers.
45729 2011-05-07 Ulrich Drepper <drepper@gmail.com>
45732 * resolv/resolv.h: Define RES_NOTLDQUERY.
45733 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
45734 no-tld-query and set RES_NOTLDQUERY.
45735 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
45736 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
45737 modern BIND to search name as TLD unless forbidden.
45739 2011-05-07 Petr Baudis <pasky@suse.cz>
45740 Ulrich Drepper <drepper@gmail.com>
45743 * elf/dl-load.c (fillin_rpath): Move trusted path check...
45744 (is_trusted_path): ...to here.
45745 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
45746 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
45747 using is_trusted_path_normalize() in setuid scripts.
45749 2011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
45751 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
45752 __BEGIN/__END_DECLS.
45754 2011-05-06 Ulrich Drepper <drepper@gmail.com>
45756 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
45757 NSS_STATUS_NOTFOUND if no record was found.
45759 2011-05-05 Andreas Schwab <schwab@redhat.com>
45761 * sunrpc/Makefile (headers): Add rpc/netdb.h.
45762 (headers-not-in-tirpc): Remove rpc/netdb.h
45763 * resolv/netdb.h: Revert last change.
45765 2011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
45767 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
45768 circular dependency between libgcc.a and libc.a.
45770 2011-05-05 Andreas Schwab <schwab@redhat.com>
45772 * resolv/netdb.h: Don't include <rpc/netdb.h>.
45773 * nis/Makefile: Don't install rpcsvc/*.
45774 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
45775 instead of <rpc/types.h>.
45776 (MAXHOSTNAMELEN): Define.
45778 2011-05-03 Andreas Schwab <schwab@redhat.com>
45780 * elf/ldconfig.c (add_dir): Don't crash on empty path.
45782 2011-04-28 Maciej Babinski <mbabinski@google.com>
45785 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
45786 gethostbyname4_r when IPv6 results are possible.
45788 2011-05-02 Ulrich Drepper <drepper@gmail.com>
45791 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
45792 _PC_PIPE_BUF handling.
45794 2011-04-30 Bruno Haible <bruno@clisp.org>
45797 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
45798 * resolv/netdb.h (getnameinfo): Change type of flags parameter
45800 * inet/getnameinfo.c (getnameinfo): Likewise.
45802 2011-04-29 Ulrich Drepper <drepper@gmail.com>
45804 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
45805 to groups setting in database lookup.
45806 * nss/nsswitch.conf: Add initgroups entry.
45808 2011-04-22 Ulrich Drepper <drepper@gmail.com>
45811 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
45813 Patch by Eric Blake <eblake@redhat.com>.
45815 2011-04-20 H.J. Lu <hongjiu.lu@intel.com>
45817 * sunrpc/Makefile (need-export-routines): Add svc_run.
45818 (routines): Remove svc_run.
45819 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
45820 * sunrpc/clnt_perr.c (clnt_perrno): Export.
45821 * sunrpc/svc_run.c (svc_run): Likewise.
45822 * sunrpc/svc_udp.c (svcudp_create): Likewise.
45824 2011-04-21 Ulrich Drepper <drepper@gmail.com>
45826 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
45827 problem in reallocation in last patch.
45829 2011-04-20 Ulrich Drepper <drepper@gmail.com>
45831 * sunrpc/Makefile: Move inclusion of Rules.
45833 2011-04-19 Ulrich Drepper <drepper@gmail.com>
45835 * nss/nss_files/files-initgroups.c: New file.
45836 * nss/Makefile (libnss_files-routines): Add files-initgroups.
45837 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
45838 _nss_files_initgroups_dyn.
45840 2011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
45842 * elf/elf.h (R_ARM_IRELATIVE): Define.
45844 2011-04-19 Ulrich Drepper <drepper@gmail.com>
45846 * po/ru.po: Update from translation team.
45848 2011-04-17 Ulrich Drepper <drepper@gmail.com>
45850 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
45853 2011-02-06 Mike Frysinger <vapier@gentoo.org>
45856 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
45857 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
45858 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
45859 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
45860 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
45862 2011-03-28 Andreas Schwab <schwab@linux-m68k.org>
45864 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
45866 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
45867 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
45868 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
45870 2011-04-17 Ulrich Drepper <drepper@gmail.com>
45873 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
45875 * stdlib/bug-getcontext.c: New file.
45876 * stdlib/Makefile: Add rules to build and run bug-getcontext.
45878 2011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
45880 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
45881 instructions into .machine "z9-109".
45882 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
45883 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
45885 2011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
45887 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
45888 between environment variables and auxiliary vector.
45890 2011-04-16 Ulrich Drepper <drepper@gmail.com>
45892 * Makefile: Add rules to build linkobj/libc.so.
45893 * include/libc-symbols.h: Define libc_hidden_nolink.
45894 * include/rpc/auth.h: Mark functions which are to be hidden.
45895 * include/rpc/auth_des.h: Likewise.
45896 * include/rpc/auth_unix.h: Likewise.
45897 * include/rpc/clnt.h: Likewise.
45898 * include/rpc/des_crypt.h: Likewise.
45899 * include/rpc/key_prot.h: Likewise.
45900 * include/rpc/pmap_clnt.h: Likewise.
45901 * include/rpc/pmap_prot.h: Likewise.
45902 * include/rpc/pmap_rmt.h: Likewise.
45903 * include/rpc/rpc_msg.h: Likewise.
45904 * include/rpc/svc.h: Likewise.
45905 * include/rpc/svc_auth.h: Likewise.
45906 * include/rpc/xdr.h: Likewise.
45907 * nis/Makefile: Link all DSOs against linkobj/libc.so.
45908 * nss/Makefile: Likewise.
45909 * sunrpc/Makefile: Don't install headers. Build library with normal
45910 entry points. Don't build rpcinfo. Link RPC tests appropriately.
45911 * sunrpc/auth_des.c: Hide exported symbols by default, export some
45912 for the compat linking library. Remove use of INTDEF/INTUSE.
45913 * sunrpc/auth_none.c: Likewise.
45914 * sunrpc/auth_unix.c: Likewise.
45915 * sunrpc/authdes_prot.c: Likewise.
45916 * sunrpc/authuxprot.c: Likewise.
45917 * sunrpc/clnt_gen.c: Likewise.
45918 * sunrpc/clnt_perr.c: Likewise.
45919 * sunrpc/clnt_raw.c: Likewise.
45920 * sunrpc/clnt_simp.c: Likewise.
45921 * sunrpc/clnt_tcp.c: Likewise.
45922 * sunrpc/clnt_udp.c: Likewise.
45923 * sunrpc/clnt_unix.c: Likewise.
45924 * sunrpc/des_crypt.c: Likewise.
45925 * sunrpc/des_soft.c: Likewise.
45926 * sunrpc/get_myaddr.c: Likewise.
45927 * sunrpc/key_call.c: Likewise.
45928 * sunrpc/key_prot.c: Likewise.
45929 * sunrpc/netname.c: Likewise.
45930 * sunrpc/pm_getmaps.c: Likewise.
45931 * sunrpc/pm_getport.c: Likewise.
45932 * sunrpc/pmap_clnt.c: Likewise.
45933 * sunrpc/pmap_prot.c: Likewise.
45934 * sunrpc/pmap_prot2.c: Likewise.
45935 * sunrpc/pmap_rmt.c: Likewise.
45936 * sunrpc/publickey.c: Likewise.
45937 * sunrpc/rpc_cmsg.c: Likewise.
45938 * sunrpc/rpc_common.c: Likewise.
45939 * sunrpc/rpc_dtable.c: Likewise.
45940 * sunrpc/rpc_prot.c: Likewise.
45941 * sunrpc/rpc_thread.c: Likewise.
45942 * sunrpc/rtime.c: Likewise.
45943 * sunrpc/svc.c: Likewise.
45944 * sunrpc/svc_auth.c: Likewise.
45945 * sunrpc/svc_authux.c: Likewise.
45946 * sunrpc/svc_raw.c: Likewise.
45947 * sunrpc/svc_run.c: Likewise.
45948 * sunrpc/svc_simple.c: Likewise.
45949 * sunrpc/svc_tcp.c: Likewise.
45950 * sunrpc/svc_udp.c: Likewise.
45951 * sunrpc/svc_unix.c: Likewise.
45952 * sunrpc/svcauth_des.c: Likewise.
45953 * sunrpc/xcrypt.c: Likewise.
45954 * sunrpc/xdr.c: Likewise.
45955 * sunrpc/xdr_array.c: Likewise.
45956 * sunrpc/xdr_float.c: Likewise.
45957 * sunrpc/xdr_intXX_t.c: Likewise.
45958 * sunrpc/xdr_mem.c: Likewise.
45959 * sunrpc/xdr_rec.c: Likewise.
45960 * sunrpc/xdr_ref.c: Likewise.
45961 * sunrpc/xdr_sizeof.c: Likewise.
45962 * sunrpc/xdr_stdio.c: Likewise.
45964 2011-04-10 Ulrich Drepper <drepper@gmail.com>
45967 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
45968 * sysdeps/ia64/dl-tls.h: Likewise.
45969 * sysdeps/powerpc/dl-tls.h: Likewise.
45970 * sysdeps/s390/dl-tls.h: Likewise.
45971 * sysdeps/sh/dl-tls.h: Likewise.
45972 * sysdeps/sparc/dl-tls.h: Likewise.
45973 * sysdeps/x86_64/dl-tls.h: Likewise.
45974 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
45976 2011-03-14 Andreas Schwab <schwab@redhat.com>
45978 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
45979 rpath element also skip the following colon.
45980 (expand_dynamic_string_token): Add is_path parameter and pass
45981 down to DL_DST_REQUIRED and _dl_dst_substitute.
45982 (decompose_rpath): Call expand_dynamic_string_token with
45983 non-zero is_path. Ignore empty rpaths.
45984 (_dl_map_object_from_fd): Call expand_dynamic_string_token
45987 2011-04-08 Andreas Schwab <schwab@linux-m68k.org>
45989 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
45992 2011-04-09 Ulrich Drepper <drepper@gmail.com>
45995 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
45996 Patch by Filipe David Manana <fdmanana@apache.org>.
45998 2011-04-07 Andreas Schwab <schwab@redhat.com>
46000 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
46001 Maintain aligned stack.
46002 (CHECK_RSP): Remove unused macro.
46004 2011-04-03 Ulrich Drepper <drepper@gmail.com>
46006 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
46007 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
46009 2011-04-02 Ulrich Drepper <drepper@gmail.com>
46011 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
46013 * include/features.h: Mention __USE_XOPEN2K8 in comment.
46015 2011-03-26 H.J. Lu <hongjiu.lu@intel.com>
46018 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
46019 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
46020 * sysdeps/x86_64/memmove.c: New file.
46021 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
46022 (memcpy): Renamed to ...
46023 (__new_memcpy): This.
46024 (memcpy): Provide GLIBC_2_14 memcpy.
46025 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
46026 (memcpy): Provide GLIBC_2_2_5 memcpy.
46028 2011-04-01 Ulrich Drepper <drepper@gmail.com>
46031 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
46033 2011-03-30 Andreas Schwab <schwab@redhat.com>
46035 * misc/syncfs.c: New file.
46036 * misc/Makefile (routines): Add syncfs.
46037 * posix/unistd.h: Declare syncfs.
46038 * sysdeps/unix/syscalls.list: Add syncfs.
46040 2011-04-01 Andreas Schwab <schwab@redhat.com>
46042 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
46044 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
46045 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
46046 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
46047 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
46048 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
46049 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
46050 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
46052 2011-04-01 Ulrich Drepper <drepper@gmail.com>
46054 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
46055 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
46056 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
46057 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
46058 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
46059 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
46060 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
46062 * io/Makefile: Compile fallocate.c, fallocate64.c, and
46063 sync_file_range.c with -fexceptions.
46064 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
46065 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
46066 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
46067 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
46068 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
46069 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
46070 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
46071 sync_file_range as cancellation point
46072 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
46073 now a wrapper around __call_sync_file_range with cancellation handling.
46074 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
46075 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
46076 function name to __call_sync_file_range.
46077 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
46078 Add call_sync_file_range.
46080 2011-04-01 Andreas Schwab <schwab@redhat.com>
46082 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
46085 2011-04-01 Ulrich Drepper <drepper@gmail.com>
46087 * iconv/iconv.h: Fix typo in comment.
46088 * io/fcntl.h: Likewise.
46089 * libio/stdio.h: Likewise.
46090 * posix/spawn.h: Likewise.
46091 * posix/unistd.h: Likewise.
46092 * stdlib/stdlib.h: Likewise.
46093 * time/time.h: Likewise.
46094 * wcsmbs/wchar.h: Likewise.
46096 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
46097 open_by_handle): Add.
46098 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
46099 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
46100 Augment a few comments.
46101 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
46102 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
46103 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
46104 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
46105 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
46106 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
46109 * io/fcntl.h (AT_EMPTY_PATH): Define.
46111 2011-03-30 Ulrich Drepper <drepper@gmail.com>
46113 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
46114 * sysdeps/unix/sysv/linux/bits/time.h: New file.
46115 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
46117 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
46118 * Versions.def: Add GLIBC_2.14.
46119 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
46122 2011-03-22 Ulrich Drepper <drepper@gmail.com>
46124 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
46126 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
46128 2011-03-20 H.J. Lu <hongjiu.lu@intel.com>
46131 * string/test-strncmp.c (do_page_test): New function.
46132 (check2): Likewise.
46133 (test_main): Call check2.
46134 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
46136 2011-03-20 Ulrich Drepper <drepper@gmail.com>
46139 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
46140 Handle cache information in CPU leaf 4.
46141 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
46143 2011-03-18 Ulrich Drepper <drepper@gmail.com>
46146 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
46147 character representation.
46148 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
46150 2011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
46152 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
46153 END(__isnan) to END(__isnanf) to match function entry point/label
46154 EALIGN(__isnanf,...).
46156 2011-03-10 Jakub Jelinek <jakub@redhat.com>
46158 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
46160 2011-03-10 Ulrich Drepper <drepper@gmail.com>
46163 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
46164 copy from the symbol referenced in the relocation to initialize the
46166 Patch by Piotr Bury <pbury@goahead.com>.
46167 * elf/Makefile: Add rules to build and tst-unique3.
46168 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
46169 * elf/tst-unique3.cc: New file.
46170 * elf/tst-unique3.h: New file.
46171 * elf/tst-unique3lib.cc: New file.
46172 * elf/tst-unique3lib2.cc: New file.
46174 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
46176 2011-03-10 Mike Frysinger <vapier@gentoo.org>
46178 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
46179 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
46182 2011-03-06 Ulrich Drepper <drepper@gmail.com>
46184 * elf/dl-load.c (_dl_map_object): If we are looking for the first
46185 to-be-loaded object along a path to loader is ld.so.
46187 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
46188 Ulrich Drepper <drepper@gmail.com>
46190 * sysdeps/x86_64/memset.S: After aligning destination, code
46191 branches to different locations depending on the value of
46192 misalignment, when multiarch is enabled. Fix this.
46194 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
46196 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
46197 Set _x86_64_preferred_memory_instruction for AMD processsors.
46198 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
46199 Set bit_Prefer_SSE_for_memop for AMD processors.
46201 2011-03-04 Ulrich Drepper <drepper@gmail.com>
46203 * libio/fmemopen.c (fmemopen): Optimize a bit.
46205 2011-03-03 Andreas Schwab <schwab@redhat.com>
46207 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
46209 2011-03-03 Roland McGrath <roland@redhat.com>
46211 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
46213 2011-02-28 Aurelien Jarno <aurelien@aurel32.net>
46215 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
46216 __bzero_ultra1 instead of __memset_ultra1.
46218 2011-02-23 Andreas Schwab <schwab@redhat.com>
46219 Ulrich Drepper <drepper@gmail.com>
46222 * include/link.h (struct link_map): Add l_orig_initfini.
46223 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
46224 returning unsuccessfully.
46225 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
46226 close of a file loaded at startup, restore the original l_initfini
46228 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
46229 list, store the pointer.
46230 * elf/Makefile ($(objpfx)noload-mem): New rule.
46231 (noload-ENV): Define.
46232 (tests): Add $(objpfx)noload-mem.
46233 * elf/noload.c: Include <memcheck.h>.
46234 (main): Call mtrace. Close all opened handles.
46236 2011-02-17 Andreas Schwab <schwab@redhat.com>
46239 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
46240 dependencies are missing.
46242 2011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
46244 Fix __if_freereq crash: Unlike the generic version which uses free,
46246 * sysdeps/mach/hurd/ifreq.h: New file.
46248 2011-01-27 Petr Baudis <pasky@suse.cz>
46249 Ulrich Drepper <drepper@gmail.com>
46252 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
46253 to extend_alloca().
46254 * stdio-common/bug23.c: New file.
46255 * stdio-common/Makefile (tests): Add bug23.
46257 2010-09-28 Andreas Schwab <schwab@redhat.com>
46258 Ulrich Drepper <drepper@gmail.com>
46261 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
46262 before performing relro protection. At old place add assertion
46263 to make sure nothing changed.
46265 2011-02-17 Nathan Sidwell <nathan@codesourcery.com>
46266 Glauber de Oliveira Costa <glommer@gmail.com>
46268 * elf/elf.h: Add new ARM TLS relocs.
46270 2011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
46272 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
46273 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
46275 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
46277 * sysdeps/wordsize-64/tst-writev.c: New file.
46279 2011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
46281 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
46282 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
46283 insns in _dl_start to prevent a TOC reference before relocs are
46286 2011-02-15 Ulrich Drepper <drepper@gmail.com>
46289 * Makeconfig: Remove RANLIB definition.
46290 * Makerules: Don't use RANLIB.
46291 * aclocal.m4: Remove ranlib test.
46292 * configure.in: No need to check for ranlib.
46293 * elf/rtld-Rules: Don't use RANLIB.
46295 2011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
46297 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
46299 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
46300 inclusion protection macro.
46302 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
46303 SIGRTMIN and SIGRTMAX and print information in that case only when
46304 SIGRTMIN is defined.
46306 2011-02-11 Jakub Jelinek <jakub@redhat.com>
46308 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
46309 arginfo fn returning -1.
46311 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
46312 and thousands string is zero terminated.
46314 2011-02-03 Andreas Schwab <schwab@redhat.com>
46316 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
46317 sysdeps/unix/sysv/linux/bits/socket.h.
46319 2011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
46321 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
46322 (__CPU_COUNT): Remove old macros.
46323 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
46324 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
46325 (__CPU_ALLOC, __CPU_FREE): Add macros.
46326 (__sched_cpualloc, __sched_cpufree): Add declarations.
46328 2011-02-05 Ulrich Drepper <drepper@gmail.com>
46330 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
46331 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
46332 * nscd/aicache.c (addhstaiX): Return timeout of added value.
46333 (readdhstai): Return value of addhstaiX call.
46334 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
46335 (addgrbyX): Return value returned by cache_addgr.
46336 (readdgrbyname): Return value returned by addgrbyX.
46337 (readdgrbygid): Likewise.
46338 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
46339 (addpwbyX): Return value returned by cache_addpw.
46340 (readdpwbyname): Return value returned by addhstbyX.
46341 (readdpwbyuid): Likewise.
46342 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
46343 (addservbyX): Return value returned by cache_addserv.
46344 (readdservbyname): Return value returned by addservbyX:
46345 (readdservbyport): Likewise.
46346 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
46347 (addhstbyX): Return value returned by cache_addhst.
46348 (readdhstbyname): Return value returned by addhstbyX.
46349 (readdhstbyaddr): Likewise.
46350 (readdhstbynamev6): Likewise.
46351 (readdhstbyaddrv6): Likewise.
46352 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
46353 (readdinitgroups): Return value returned by addinitgroupsX.
46354 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
46355 (prune_cache): Keep track of timeout value of re-added entries.
46356 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
46357 * nscd/nscd.h: Adjust prototypes of readd* functions.
46359 2011-02-04 Roland McGrath <roland@redhat.com>
46361 * nis/nis_server.c (nis_servstate): Use the right name for 0.
46362 (nis_stats): Likewise.
46363 * nis/nis_modify.c (nis_modify): Likewise.
46364 * nis/nis_remove.c (nis_remove): Likewise.
46365 * nis/nis_add.c (nis_add): Likewise.
46367 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
46369 * posix/fnmatch_loop.c: Add some consts.
46371 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
46373 2011-02-02 H.J. Lu <hongjiu.lu@intel.com>
46376 * config.make.in (config-cflags-novzeroupper): Define.
46377 * configure.in: Substitute libc_cv_cc_novzeroupper.
46378 * elf/Makefile (AVX-CFLAGS): Define.
46379 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
46380 (CFLAGS-tst-auditmod4a.c): Likewise.
46381 (CFLAGS-tst-auditmod4b.c): Likewise.
46382 (CFLAGS-tst-auditmod6b.c): Likewise.
46383 (CFLAGS-tst-auditmod6c.c): Likewise.
46384 (CFLAGS-tst-auditmod7b.c): Likewise.
46385 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
46387 2011-02-02 Ulrich Drepper <drepper@gmail.com>
46389 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
46390 function to the callback.
46391 Patch partly by Jiri Olsa <jolsa@redhat.com>.
46393 2011-02-02 Andreas Schwab <schwab@redhat.com>
46395 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
46398 2011-01-19 Ulrich Drepper <drepper@gmail.com>
46401 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
46403 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
46405 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
46408 * elf/Makefile: Add rules to build and run new test.
46409 * elf/tst-initorder.c: New file.
46410 * elf/tst-initorder.exp: New file.
46411 * elf/tst-initordera1.c: New file.
46412 * elf/tst-initordera2.c: New file.
46413 * elf/tst-initordera3.c: New file.
46414 * elf/tst-initordera4.c: New file.
46415 * elf/tst-initorderb1.c: New file.
46416 * elf/tst-initorderb2.c: New file.
46417 * elf/tst-order-a1.c: New file.
46418 * elf/tst-order-a2.c: New file.
46419 * elf/tst-order-a3.c: New file.
46420 * elf/tst-order-a4.c: New file.
46421 * elf/tst-order-b1.c: New file.
46422 * elf/tst-order-b2.c: New file.
46423 * elf/tst-order-main.c: New file.
46424 New test case by George Gensure <werkt0@gmail.com>.
46426 2010-10-01 Andreas Schwab <schwab@redhat.com>
46428 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
46429 decoding ACE if AI_CANONIDN.
46431 2011-01-18 Ulrich Drepper <drepper@gmail.com>
46433 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
46435 2011-01-17 Ulrich Drepper <drepper@gmail.com>
46437 * version.h (RELEASE): Bump for 2.13 release.
46438 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
46440 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
46442 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
46444 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
46445 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
46446 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
46447 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
46448 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
46449 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
46451 * posix/getconf.c: Update copyright year.
46452 * catgets/gencat.c: Likewise.
46453 * csu/version.c: Likewise.
46454 * debug/catchsegv.sh: Likewise.
46455 * debug/xtrace.sh: Likewise.
46456 * elf/ldconfig.c: Likewise.
46457 * elf/ldd.bash.in: Likewise.
46458 * elf/sprof.c (print_version): Likewise.
46459 * iconv/iconv_prog.c: Likewise.
46460 * iconv/iconvconfig.c: Likewise.
46461 * locale/programs/locale.c: Likewise.
46462 * locale/programs/localedef.c: Likewise.
46463 * malloc/memusage.sh: Likewise.
46464 * malloc/mtrace.pl: Likewise.
46465 * nscd/nscd.c (print_version): Likewise.
46466 * nss/getent.c: Likewise.
46468 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
46469 PF_CAIF, and PF_ALG.
46470 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
46472 2011-01-16 Andreas Schwab <schwab@linux-m68k.org>
46474 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
46475 (modules-names): Use them.
46476 (ifunc-test-modules, ifunc-pie-tests): Define.
46477 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
46478 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
46479 (test-extras): Likewise.
46480 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
46481 $(compile-command.c).
46482 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
46483 (all-built-dso): Define.
46484 (check-textrel.out, check-execstack.out): Depend on it.
46486 * configure.in: Don't override --enable-multi-arch.
46488 2011-01-15 Ulrich Drepper <drepper@gmail.com>
46491 * nscd/hstcache.c (tryagain): Define.
46492 (cache_addhst): Return tryagain not notfound for temporary errors.
46493 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
46496 2011-01-14 Ulrich Drepper <drepper@gmail.com>
46499 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
46500 to make the syscall.
46501 * sysdeps/unix/sysv/linux/setgroups.c: New file.
46504 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
46505 and fall back to matching as normal character if the string ends before
46506 the matching ']' is found. This is what POSIX requires.
46507 * posix/testfnm.c: Adjust test result.
46508 * posix/globtest.sh: Adjust test result. Add new test.
46509 * posix/tst-fnmatch.input: Likewise.
46510 * posix/tst-fnmatch2.c: Add new test.
46512 2010-12-28 Andreas Schwab <schwab@linux-m68k.org>
46514 * elf/Makefile (check-execstack): Revert last change. Depend on
46516 (check-execstack.h): New target.
46517 (generated): Add check-execstack.h.
46518 * elf/check-execstack.c: Include "check-execstack.h".
46519 (main): Revert last change.
46520 (handle_file): Return zero if GNU_STACK is absent and
46521 DEFAULT_STACK_PERMS doesn't include PF_X.
46523 2011-01-13 Ulrich Drepper <drepper@gmail.com>
46525 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
46526 in child fails because the descriptor is already closed.
46527 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
46528 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
46529 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
46532 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
46536 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
46537 temporary buffer used to handle multi lookups locally.
46538 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
46540 2011-01-12 Ulrich Drepper <drepper@gmail.com>
46542 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
46545 2011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
46547 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
46548 alignment for SSE2.
46550 2011-01-12 Ulrich Drepper <drepper@gmail.com>
46553 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
46554 characters. When rounding increased number of integer digits recompute
46556 * stdio-common/tst-grouping.c: New file.
46557 * stdio-common/Makefile: Add rules to build and run tst-grouping.
46559 2011-01-09 Ulrich Drepper <drepper@gmail.com>
46561 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
46562 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
46564 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
46566 * bits/select.h: Likewise.
46568 2011-01-08 Ulrich Drepper <drepper@gmail.com>
46570 * po/ja.po: Update from translation team.
46572 2011-01-04 David S. Miller <davem@sunset.davemloft.net>
46575 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
46576 implementation just like for lxstat, fxstatat, et al.
46578 2010-12-27 Jim Meyering <meyering@redhat.com>
46581 * posix/regexec.c (build_trtable): Return failure indication upon
46582 calloc failure. Otherwise, re_search_internal could infloop on OOM.
46584 2010-12-25 Ulrich Drepper <drepper@gmail.com>
46587 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
46588 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
46589 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
46590 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
46593 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
46596 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
46597 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
46599 2010-12-15 H.J. Lu <hongjiu.lu@intel.com>
46601 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
46602 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
46603 script has SORT_BY_INIT_PRIORITY.
46604 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
46605 NO_CTORS_DTORS_SECTIONS is defined.
46606 * elf/soinit.c: Likewise.
46607 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
46608 NO_CTORS_DTORS_SECTIONS is defined.
46609 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
46610 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
46611 * sysdeps/sh/init-first.c: Likewise.
46612 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
46614 2010-12-24 Ulrich Drepper <drepper@gmail.com>
46616 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
46617 always use the slow path.
46619 2010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
46621 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
46622 similar rule which adds the sysdep directories to the header search in
46623 order to pick up the correct platform stackinfo.h.
46624 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
46625 perform test if it is, otherwise return successfully without testing.
46626 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
46627 DEFAULT_STACK_PERMS define in stackinfo.h.
46628 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
46629 defined in stackinfo.h.
46630 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
46631 DEFAULT_STACK_PERMS defined in stackinfo.h.
46632 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
46633 * sysdeps/ia64/stackinfo.h: Likewise.
46634 * sysdeps/s390/stackinfo.h: Likewise.
46635 * sysdeps/sh/stackinfo.h: Likewise.
46636 * sysdeps/sparc/stackinfo.h: Likewise.
46637 * sysdeps/x86_64/stackinfo.h: Likewise.
46638 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
46639 PF_X for powerpc64. Retain PF_X for powerpc32.
46641 2010-12-19 Ulrich Drepper <drepper@gmail.com>
46643 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
46645 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
46646 GETDENTS_64BIT_ALIGNED.
46648 2010-12-14 Ulrich Drepper <dreper@gmail.com>
46650 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
46652 2010-12-10 Andreas Schwab <schwab@redhat.com>
46654 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
46657 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
46658 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
46660 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
46661 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
46663 2010-12-09 Ulrich Drepper <drepper@gmail.com>
46666 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
46669 2010-12-09 Jakub Jelinek <jakub@redhat.com>
46671 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
46673 2010-12-03 Ulrich Drepper <drepper@gmail.com>
46675 * po/it.po: Update from translation team.
46677 2010-12-01 H.J. Lu <hongjiu.lu@intel.com>
46679 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
46682 2010-11-30 Ulrich Drepper <drepper@gmail.com>
46684 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
46686 2010-11-24 Andreas Schwab <schwab@redhat.com>
46688 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
46690 (gaih_getanswer_slice): Likewise.
46692 2010-10-20 Jakub Jelinek <jakub@redhat.com>
46694 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
46696 2010-05-31 Petr Baudis <pasky@suse.cz>
46699 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
46700 silently even in the chroot mode.
46702 2010-11-22 Ulrich Drepper <drepper@gmail.com>
46704 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
46705 last patch a bit. Pretty printing
46707 2010-05-31 Petr Baudis <pasky@suse.cz>
46710 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
46711 initialization of skip_initgroups_dyn.
46713 2010-11-19 Ulrich Drepper <drepper@gmail.com>
46715 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
46716 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
46718 2010-11-16 Ulrich Drepper <drepper@gmail.com>
46720 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
46722 2010-11-11 Andreas Schwab <schwab@redhat.com>
46724 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
46725 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
46726 (tst-fnmatch-ENV): Set MALLOC_TRACE.
46727 ($(objpfx)tst-fnmatch-mem): New rule.
46728 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
46729 * posix/tst-fnmatch.c (main): Call mtrace.
46731 2010-11-11 H.J. Lu <hongjiu.lu@intel.com>
46733 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
46734 Support Intel processor model 6 and model 0x2c.
46736 2010-11-10 Luis Machado <luisgpm@br.ibm.com>
46738 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
46741 2010-11-09 H.J. Lu <hongjiu.lu@intel.com>
46744 * string/test-strncasecmp.c (check_result): New function.
46745 (do_one_test): Use it.
46746 (check1): New function.
46747 (test_main): Use it.
46748 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
46749 Support strcasecmp and strncasecmp.
46751 2010-11-08 Ulrich Drepper <drepper@gmail.com>
46754 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
46755 * sysdeps/x86_64/bits/byteswap.h: Likewise.
46757 2010-11-07 H.J. Lu <hongjiu.lu@intel.com>
46759 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
46761 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
46763 * sysdeps/x86_64/multiarch/bzero.S: New file.
46764 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
46765 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
46766 * sysdeps/x86_64/multiarch/memset.S: New file.
46767 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
46768 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
46769 Set bit_Prefer_SSE_for_memop for Intel processors.
46770 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
46772 (index_Prefer_SSE_for_memop): Define.
46773 (HAS_PREFER_SSE_FOR_MEMOP): Define.
46775 2010-11-04 Luis Machado <luisgpm@br.ibm.com>
46777 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
46778 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
46780 2010-11-03 H.J. Lu <hongjiu.lu@intel.com>
46783 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
46784 (__x86_64_raw_data_cache_size_half): Likewise.
46785 (__x86_64_raw_shared_cache_size): Likewise.
46786 (__x86_64_raw_shared_cache_size_half): Likewise.
46788 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
46789 (__x86_64_raw_data_cache_size_half): Likewise.
46790 (__x86_64_raw_shared_cache_size): Likewise.
46791 (__x86_64_raw_shared_cache_size_half): Likewise.
46792 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
46793 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
46794 and __x86_64_raw_shared_cache_size_half. Round
46795 __x86_64_data_cache_size_half, __x86_64_data_cache_size
46796 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
46797 to multiple of 256 bytes.
46799 2010-11-03 Ulrich Drepper <drepper@gmail.com>
46802 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
46803 of inacessible symlinks. Verify result of symlink before returning it.
46804 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
46805 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
46807 2010-10-28 Erich Ritz <erichritz@gmail.com>
46809 * math/math.h (isinf): Fix typo in comment.
46811 2010-11-01 Ulrich Drepper <drepper@gmail.com>
46813 * po/da.po: Update from translation team.
46815 2010-10-26 Ulrich Drepper <drepper@gmail.com>
46817 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
46818 is added to the list.
46820 2010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
46821 Ulrich Drepper <drepper@gmail.com>
46823 * elf/dl-object.c (_dl_new_object): Don't append the new object to
46824 the global list here. Move code to...
46825 (_dl_add_to_namespace_list): ...here. New function.
46826 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
46827 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
46828 * elf/dl-load.c (lose): Don't remove the element from the list.
46829 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
46830 (_dl_map_object): Likewise.
46832 2010-10-25 Ulrich Drepper <drepper@gmail.com>
46835 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
46836 into all bytes of SSE register.
46837 Patch by Richard Li <richardpku@gmail.com>.
46839 2010-10-24 Ulrich Drepper <drepper@gmail.com>
46842 * malloc/malloc.c (_int_free): Fill correct number of bytes when
46845 2010-10-20 Michael B. Brutman <brutman@us.ibm.com>
46847 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
46848 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
46849 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
46850 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
46851 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
46853 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
46855 2010-10-22 Andreas Schwab <schwab@redhat.com>
46857 * include/dlfcn.h (__RTLD_SECURE): Define.
46858 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
46859 mode & __RTLD_SECURE instead.
46860 (open_path): Rename preloaded parameter to secure.
46861 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
46862 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
46863 * elf/dl-deps.c (openaux): Likewise.
46864 * elf/rtld.c (struct map_args): Remove is_preloaded.
46865 (map_doit): Don't use it.
46866 (dl_main): Likewise.
46867 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
46868 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
46870 2010-09-09 Andreas Schwab <schwab@redhat.com>
46872 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
46873 (sysd-rules-targets): Remove duplicates.
46874 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
46875 rtld-%.$o dependency.
46877 2010-10-18 Andreas Schwab <schwab@redhat.com>
46879 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
46880 _dl_map_object do it.
46882 2010-10-19 Ulrich Drepper <drepper@gmail.com>
46884 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
46885 fast fma builtins, define the macros in the C99 standard.
46886 (FP_FAST_FMAF): Likewise.
46887 (FP_FAST_FMAL): Likewise.
46888 * sysdeps/x86_64/bits/mathdef.h: Likewise.
46890 * bits/mathdef.h: Update copyright year.
46891 * sysdeps/powerpc/bits/mathdef.h: Likewise.
46893 2010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
46895 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
46896 builtins, define the macros in the C99 standard.
46897 (FP_FAST_FMAF): Likewise.
46898 (FP_FAST_FMAL): Likewise.
46899 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
46901 (FP_FAST_FMAF): Likewise.
46903 2010-10-15 Jakub Jelinek <jakub@redhat.com>
46906 * math/libm-test.inc (fma_test): Some new testcases.
46907 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
46908 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
46909 y and infinite z. Do multiplication by C already in long double.
46910 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
46911 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
46912 y and infinite z. Do bitwise or of inexact bit into u.d.
46913 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
46914 * sysdeps/i386/fpu/s_fmaf.S: Removed.
46915 * sysdeps/i386/fpu/s_fma.S: Removed.
46916 * sysdeps/i386/fpu/s_fmal.S: Removed.
46918 2010-10-16 Jakub Jelinek <jakub@redhat.com>
46921 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
46922 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
46923 computation is not scheduled after fetestexcept. Fix value
46924 of minimum denormal long double.
46926 2010-10-14 Jakub Jelinek <jakub@redhat.com>
46929 * math/libm-test.inc (fma_test): Add some more tests.
46930 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
46933 2010-10-15 Andreas Schwab <schwab@redhat.com>
46935 * scripts/data/localplt-s390-linux-gnu.data: New file.
46936 * scripts/data/localplt-s390x-linux-gnu.data: New file.
46938 2010-10-13 Jakub Jelinek <jakub@redhat.com>
46941 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
46942 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
46944 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
46946 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
46947 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
46948 if one of x and y is very large and the other is subnormal.
46949 * sysdeps/s390/fpu/s_fmaf.c: New file.
46950 * sysdeps/s390/fpu/s_fma.c: New file.
46951 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
46952 * sysdeps/powerpc/fpu/s_fma.S: New file.
46953 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
46954 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
46955 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
46957 2010-10-12 Jakub Jelinek <jakub@redhat.com>
46960 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
46962 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
46963 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
46964 * sysdeps/i386/i686/multiarch/s_fma.c: Include
46965 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
46966 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
46967 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
46968 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
46970 2010-10-12 Ulrich Drepper <drepper@redhat.com>
46973 * posix/regcomp.c (parse_branch): One more memory leak plugged.
46974 * posix/bug-regex31.input: Add test case.
46976 2010-10-11 Ulrich Drepper <drepper@gmail.com>
46978 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
46979 * posix/bug-regex31.input: New file.
46982 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
46983 (parse_sub_exp): Fix last change, use postorder.
46985 * posix/bug-regex31.c: New file.
46986 * posix/Makefile: Add rules to build and run bug-regex31.
46988 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
46991 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
46994 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
46995 to have entries in sys_siglist.
46998 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
47001 2010-10-07 Jakub Jelinek <jakub@redhat.com>
47004 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
47005 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
47006 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
47007 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
47008 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
47009 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
47010 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
47011 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
47012 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
47013 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
47014 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
47015 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
47016 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
47017 * math/ftestexcept.c (fetestexcept): Likewise.
47018 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
47019 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
47020 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
47021 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
47022 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
47023 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
47024 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
47026 2010-10-11 Ulrich Drepper <drepper@gmail.com>
47029 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
47032 2010-10-06 Ulrich Drepper <drepper@gmail.com>
47034 * string/bug-strstr1.c: New file.
47035 * string/Makefile: Add rules to build and run bug-strstr1.
47037 2010-10-05 Eric Blake <eblake@redhat.com>
47040 * string/str-two-way.h (two_way_long_needle): Always clear memory
47041 when skipping input due to the shift table.
47043 2010-10-03 Ulrich Drepper <drepper@gmail.com>
47046 * malloc/mcheck.c: Handle large requests.
47049 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
47050 for strncmp and strncasecmp.
47051 * string/stratcliff.c: Add tests for strcmp and strncmp.
47052 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
47054 2010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
47056 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
47059 2010-09-30 Andreas Jaeger <aj@suse.de>
47061 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
47062 (CGROUP_SUPER_MAGIC): Define.
47063 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
47064 Handle btrfs and cgroup file systems.
47065 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
47068 2010-09-27 Luis Machado <luisgpm@br.ibm.com>
47070 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
47071 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
47073 2010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
47076 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
47077 trying to locate the ELF header.
47079 2010-09-27 Andreas Schwab <schwab@redhat.com>
47082 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
47083 Mask out sign-bit copies when constructing f_fsid.
47085 2010-09-24 Petr Baudis <pasky@suse.cz>
47087 * debug/stack_chk_fail_local.c: Add missing licence exception.
47088 * debug/warning-nop.c: Likewise.
47090 2010-09-15 Joseph Myers <joseph@codesourcery.com>
47092 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
47093 implementing getdents64 using getdents syscall, set d_type if
47094 __ASSUME_GETDENTS32_D_TYPE.
47096 2010-09-16 Andreas Schwab <schwab@redhat.com>
47098 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
47099 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
47101 2010-09-21 Ulrich Drepper <drepper@redhat.com>
47104 * posix/unistd.h: Undo change of feature selection for ftruncate from
47107 2010-09-20 Ulrich Drepper <drepper@redhat.com>
47109 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
47112 2010-09-20 Andreas Schwab <schwab@redhat.com>
47114 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
47116 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
47118 2010-09-14 Andreas Schwab <schwab@redhat.com>
47120 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
47121 variables after CHECK_SP call.
47122 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
47124 2010-09-13 Andreas Schwab <schwab@redhat.com>
47125 Ulrich Drepper <drepper@redhat.com>
47127 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
47128 re-relocationg ld.so.
47129 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
47130 _dl_init_paths call.
47131 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
47134 2010-09-14 Ulrich Drepper <drepper@redhat.com>
47136 * resolv/res_init.c (__res_vinit): Count the default server we added.
47138 2010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
47139 Ulrich Drepper <drepper@redhat.com>
47142 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
47143 (____longjmp_chk): Use %ebx for saving value across system call.
47146 2010-09-06 Andreas Schwab <schwab@redhat.com>
47148 * manual/Makefile: Don't mix pattern rules with normal rules.
47150 2010-09-05 Andreas Schwab <schwab@linux-m68k.org>
47152 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
47154 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
47155 * libio/iofopncook.c (_IO_cookie_init): Likewise.
47156 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
47157 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
47158 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
47161 2010-09-04 Ulrich Drepper <drepper@redhat.com>
47164 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
47165 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
47167 2010-09-02 Ulrich Drepper <drepper@redhat.com>
47169 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
47170 * sysdeps/x86_64/addmul_1.S: Likewise.
47171 * sysdeps/x86_64/lshift.S: Likewise.
47172 * sysdeps/x86_64/mul_1.S: Likewise.
47173 * sysdeps/x86_64/rshift.S: Likewise.
47174 * sysdeps/x86_64/sub_n.S: Likewise.
47175 * sysdeps/x86_64/submul_1.S: Likewise.
47177 2010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
47179 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
47180 Define __sched_param instead of SCHED_* and sched_param when
47181 <bits/sched.h> is included with __need_schedparam defined.
47182 * bits/sched.h [__need_schedparam]
47183 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
47184 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
47185 (__defined_schedparam): Define to 1.
47186 (__sched_param): New structure, identical to sched_param.
47187 (__need_schedparam): Undefine.
47189 2010-08-31 Mike Frysinger <vapier@gentoo.org>
47191 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
47192 (epoll_create1): Declare.
47194 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
47196 2010-08-31 Andreas Schwab <schwab@redhat.com>
47199 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
47200 shifting retval into place.
47202 2010-09-01 Ulrich Drepper <drepper@redhat.com>
47204 * nis/rpcsvc/nis.h: Update copyright notice.
47205 * nis/rpcsvc/nis.x: Likewise.
47206 * nis/rpcsvc/nis_callback.h: Likewise.
47207 * nis/rpcsvc/nis_callback.x: Likewise.
47208 * nis/rpcsvc/nis_object.x: Likewise.
47209 * nis/rpcsvc/nis_tags.h: Likewise.
47210 * nis/rpcsvc/yp.h: Likewise.
47211 * nis/rpcsvc/yp.x: Likewise.
47212 * nis/rpcsvc/ypupd.h: Likewise.
47213 * nis/yp_xdr.c: Likewise.
47214 * nis/ypupdate_xdr.c: Likewise.
47216 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
47217 mainly the body of pmap_getport. Add parameters to specify timeouts.
47218 (pmap_getport): Use __libc_rpc_getport.
47219 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
47220 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
47221 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
47223 2010-08-31 Andreas Schwab <schwab@linux-m68k.org>
47225 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
47228 2010-08-27 Roland McGrath <roland@redhat.com>
47230 * sysdeps/i386/i686/multiarch/Makefile
47231 (CFLAGS-varshift.c): New variable.
47233 2010-08-27 Ulrich Drepper <drepper@redhat.com>
47235 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
47236 * sysdeps/i386/i686/multiarch/varshift.c: New file.
47238 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
47240 * sysdeps/x86_64/strlen.S: Minimal code improvement.
47242 2010-08-26 H.J. Lu <hongjiu.lu@intel.com>
47244 * sysdeps/x86_64/strlen.S: Unroll the loop.
47245 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
47246 strlen-sse2 strlen-sse2-bsf.
47247 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
47248 __strlen_no_bsf if bit_Slow_BSF is set.
47249 (__strlen_sse42): Removed.
47250 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
47251 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
47253 2010-08-25 Roland McGrath <roland@redhat.com>
47255 * sysdeps/x86_64/multiarch/varshift.S: File removed.
47256 * sysdeps/x86_64/multiarch/varshift.c: New file.
47257 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
47258 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
47259 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
47260 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
47262 2010-08-25 H.J. Lu <hongjiu.lu@intel.com>
47264 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
47265 strlen-sse2 strlen-sse2-bsf.
47266 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
47267 __strlen_sse2_bsf if bit_Slow_BSF is unset.
47268 (__strlen_sse2): Removed.
47269 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
47270 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
47271 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
47272 bit_Slow_BSF for Atom.
47273 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
47274 (index_Slow_BSF): Define.
47275 (HAS_SLOW_BSF): Define.
47277 2010-08-25 Ulrich Drepper <drepper@redhat.com>
47280 * resolv/res_init.c (__res_vinit): When no server address at all
47281 is given default to loopback.
47283 2010-08-24 Roland McGrath <roland@redhat.com>
47285 * configure.in: Remove config-name.h generation.
47286 * configure: Regenerated.
47287 * config-name.in: File removed.
47288 * scripts/config-uname.sh: New file.
47289 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
47290 ($(objdir)config-name.h): New target.
47292 * sunrpc/rpc_parse.h: Avoid nested comment.
47294 2010-08-24 Richard Henderson <rth@redhat.com>
47295 Ulrich Drepper <drepper@redhat.com>
47296 H.J. Lu <hongjiu.lu@intel.com>
47298 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
47299 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
47300 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
47301 Replace _mm_srli_si128 with __m128i_shift_right. Replace
47302 _mm_alignr_epi8 with _mm_loadu_si128.
47303 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
47304 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
47305 (__m128i_shift_right): Removed.
47306 * sysdeps/i386/i686/multiarch/varshift.h: New file.
47307 * sysdeps/i386/i686/multiarch/varshift.S: New file.
47308 * sysdeps/x86_64/multiarch/varshift.h: New file.
47309 * sysdeps/x86_64/multiarch/varshift.S: New file.
47311 2010-08-21 Mike Frysinger <vapier@gentoo.org>
47313 * configure.in: Move assembler checks to before sysdep dir checking.
47315 2010-08-20 Petr Baudis <pasky@suse.cz>
47317 * LICENSES: Sync the sunrpc license.
47319 2010-08-19 Ulrich Drepper <drepper@redhat.com>
47321 * sunrpc/auth_des.c: Update copyright notice once again.
47322 * sunrpc/auth_none.c: Likewise.
47323 * sunrpc/auth_unix.c: Likewise.
47324 * sunrpc/authdes_prot.c: Likewise.
47325 * sunrpc/authuxprot.c: Likewise.
47326 * sunrpc/bindrsvprt.c: Likewise.
47327 * sunrpc/clnt_gen.c: Likewise.
47328 * sunrpc/clnt_perr.c: Likewise.
47329 * sunrpc/clnt_raw.c: Likewise.
47330 * sunrpc/clnt_simp.c: Likewise.
47331 * sunrpc/clnt_tcp.c: Likewise.
47332 * sunrpc/clnt_udp.c: Likewise.
47333 * sunrpc/clnt_unix.c: Likewise.
47334 * sunrpc/des_crypt.c: Likewise.
47335 * sunrpc/des_soft.c: Likewise.
47336 * sunrpc/get_myaddr.c: Likewise.
47337 * sunrpc/getrpcport.c: Likewise.
47338 * sunrpc/key_call.c: Likewise.
47339 * sunrpc/key_prot.c: Likewise.
47340 * sunrpc/openchild.c: Likewise.
47341 * sunrpc/pm_getmaps.c: Likewise.
47342 * sunrpc/pm_getport.c: Likewise.
47343 * sunrpc/pmap_clnt.c: Likewise.
47344 * sunrpc/pmap_prot.c: Likewise.
47345 * sunrpc/pmap_prot2.c: Likewise.
47346 * sunrpc/pmap_rmt.c: Likewise.
47347 * sunrpc/rpc/auth.h: Likewise.
47348 * sunrpc/rpc/auth_unix.h: Likewise.
47349 * sunrpc/rpc/clnt.h: Likewise.
47350 * sunrpc/rpc/des_crypt.h: Likewise.
47351 * sunrpc/rpc/key_prot.h: Likewise.
47352 * sunrpc/rpc/netdb.h: Likewise.
47353 * sunrpc/rpc/pmap_clnt.h: Likewise.
47354 * sunrpc/rpc/pmap_prot.h: Likewise.
47355 * sunrpc/rpc/pmap_rmt.h: Likewise.
47356 * sunrpc/rpc/rpc.h: Likewise.
47357 * sunrpc/rpc/rpc_des.h: Likewise.
47358 * sunrpc/rpc/rpc_msg.h: Likewise.
47359 * sunrpc/rpc/svc.h: Likewise.
47360 * sunrpc/rpc/svc_auth.h: Likewise.
47361 * sunrpc/rpc/types.h: Likewise.
47362 * sunrpc/rpc/xdr.h: Likewise.
47363 * sunrpc/rpc_clntout.c: Likewise.
47364 * sunrpc/rpc_cmsg.c: Likewise.
47365 * sunrpc/rpc_common.c: Likewise.
47366 * sunrpc/rpc_cout.c: Likewise.
47367 * sunrpc/rpc_dtable.c: Likewise.
47368 * sunrpc/rpc_hout.c: Likewise.
47369 * sunrpc/rpc_main.c: Likewise.
47370 * sunrpc/rpc_parse.c: Likewise.
47371 * sunrpc/rpc_parse.h: Likewise.
47372 * sunrpc/rpc_prot.c: Likewise.
47373 * sunrpc/rpc_sample.c: Likewise.
47374 * sunrpc/rpc_scan.c: Likewise.
47375 * sunrpc/rpc_scan.h: Likewise.
47376 * sunrpc/rpc_svcout.c: Likewise.
47377 * sunrpc/rpc_tblout.c: Likewise.
47378 * sunrpc/rpc_util.c: Likewise.
47379 * sunrpc/rpc_util.h: Likewise.
47380 * sunrpc/rpcinfo.c: Likewise.
47381 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
47382 * sunrpc/rpcsvc/key_prot.x: Likewise.
47383 * sunrpc/rpcsvc/klm_prot.x: Likewise.
47384 * sunrpc/rpcsvc/mount.x: Likewise.
47385 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
47386 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
47387 * sunrpc/rpcsvc/rex.x: Likewise.
47388 * sunrpc/rpcsvc/rstat.x: Likewise.
47389 * sunrpc/rpcsvc/rusers.x: Likewise.
47390 * sunrpc/rpcsvc/sm_inter.x: Likewise.
47391 * sunrpc/rpcsvc/spray.x: Likewise.
47392 * sunrpc/rpcsvc/yppasswd.x: Likewise.
47393 * sunrpc/rtime.c: Likewise.
47394 * sunrpc/svc.c: Likewise.
47395 * sunrpc/svc_auth.c: Likewise.
47396 * sunrpc/svc_authux.c: Likewise.
47397 * sunrpc/svc_raw.c: Likewise.
47398 * sunrpc/svc_run.c: Likewise.
47399 * sunrpc/svc_simple.c: Likewise.
47400 * sunrpc/svc_tcp.c: Likewise.
47401 * sunrpc/svc_udp.c: Likewise.
47402 * sunrpc/svc_unix.c: Likewise.
47403 * sunrpc/svcauth_des.c: Likewise.
47404 * sunrpc/xcrypt.c: Likewise.
47405 * sunrpc/xdr.c: Likewise.
47406 * sunrpc/xdr_array.c: Likewise.
47407 * sunrpc/xdr_float.c: Likewise.
47408 * sunrpc/xdr_mem.c: Likewise.
47409 * sunrpc/xdr_rec.c: Likewise.
47410 * sunrpc/xdr_ref.c: Likewise.
47411 * sunrpc/xdr_sizeof.c: Likewise.
47412 * sunrpc/xdr_stdio.c: Likewise.
47414 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
47417 2010-08-19 Andreas Schwab <schwab@redhat.com>
47419 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
47421 2010-08-19 Luis Machado <luisgpm@br.ibm.com>
47423 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
47424 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
47425 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
47426 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
47427 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
47428 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
47429 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
47430 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
47431 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
47432 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
47433 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
47434 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
47435 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
47436 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
47438 2010-07-26 Anton Blanchard <anton@samba.org>
47440 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
47441 * malloc/arena.c (heap_trim): Likewise.
47443 2010-08-16 Ulrich Drepper <drepper@redhat.com>
47445 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
47447 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
47448 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
47450 2010-08-12 H.J. Lu <hongjiu.lu@intel.com>
47452 * sysdeps/i386/elf/Makefile: New file.
47454 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
47456 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
47457 from fanotify_init.
47458 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
47459 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
47461 2010-08-15 Ulrich Drepper <drepper@redhat.com>
47463 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
47465 * sysdeps/multiarch/strcmp.S: Likewise.
47467 2010-08-14 Ulrich Drepper <drepper@redhat.com>
47469 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
47470 strncase_l-nonascii.
47471 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
47472 Add strncase_l-ssse3.
47473 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
47474 * sysdeps/x86_64/strcmp.S: Likewise.
47475 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
47476 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
47477 * sysdeps/x86_64/strncase.S: New file.
47478 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
47479 * sysdeps/x86_64/strncase_l.S: New file.
47480 * string/Makefile (strop-tests): Add strncasecmp.
47481 * string/test-strncasecmp.c: New file.
47483 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
47486 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
47487 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
47489 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
47491 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
47493 2010-08-12 Ulrich Drepper <drepper@redhat.com>
47495 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
47496 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
47497 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
47499 2010-05-01 Alan Modra <amodra@gmail.com>
47501 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
47502 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
47503 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
47504 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
47505 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
47506 tidying. Don't tail-call __sigjmp_save for static lib.
47507 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
47509 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
47510 (CALL_MCOUNT): Add eh info, and nop after bl.
47511 (TAIL_CALL_SYSCALL_ERROR): New macro.
47512 (PSEUDO_RET): Use it.
47513 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
47514 Correct save location of integer regs and cr.
47515 (_dl_profile_resolve): Correct cr save location. Delete nops
47516 after bl when SHARED. Reduce cfi size a little by better
47517 placement of cfi directives.
47518 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
47519 make a stack frame. Instead use parm save area as a temp.
47520 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
47521 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
47522 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
47523 Don't make a stack frame for parent, use parm save area.
47524 Increase child stack frame to 112 bytes. Don't save unused reg,
47525 and adjust reg usage. Set up cfi on error recovery and
47526 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
47527 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
47528 (__makecontext): Add dummy nop after jump to exit.
47529 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
47530 Use correct parm save area and cr save, reduce stack frame.
47531 Correct cfi for possible PSEUDO_RET frame setup.
47532 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
47533 Branch to local label emitted by PSEUDO_RET rather than
47536 2010-08-12 Andreas Schwab <schwab@redhat.com>
47539 * locale/programs/locale.c (print_assignment): New function.
47540 (show_locale_vars): Use it.
47542 2010-08-11 Ulrich Drepper <drepper@redhat.com>
47544 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
47546 (struct statfs64): Likewise.
47547 (_STATFS_F_FLAGS): Define.
47548 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
47549 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
47550 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
47551 (ST_VALID): Define locally.
47552 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
47553 __statvfs_getflags, use the provided value.
47554 * sysdeps/unix/sysv/linux/kernel-features.h: Define
47555 __ASSUME_STATFS_F_FLAGS.
47557 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
47559 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
47560 Add sys/fanotify.h.
47561 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
47562 fanotify_mask for GLIBC_2.13.
47563 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
47564 fanotify_init and fanotify_mark.
47565 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
47566 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
47568 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
47570 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
47571 prlimit64 for GLIBC_2.13.
47572 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
47574 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
47576 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
47577 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
47578 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
47579 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
47580 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
47582 * sysdeps/unix/sysv/linux/prlimit.c: New file.
47585 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
47586 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
47588 * nss/Makefile: Add rules to build and run tst-nss-test1.
47589 * shlib-versions: Add entry for libnss_test1.
47590 * nss/nss_test1.c: New file.
47591 * nss/tst-nss-test1.c: New file.
47593 * nss/nsswitch.c (__nss_database_custom): Define new variable.
47594 (__nss_configure_lookup): Set appropriate entry in
47595 __nss_configure_lookup to true.
47596 * nss/nsswitch.h: Define enum with indeces of databases in
47597 databases and __nss_database_custom arrays. Declare
47598 __nss_database_custom.
47599 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
47600 to avoid using nscd when custom rules are installed.
47601 * nss/getXXbyYY_r.c: Likewise.
47602 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
47604 * nss/nss_files/files-parse.c: Whitespace fixes.
47606 2010-08-09 Ulrich Drepper <drepper@redhat.com>
47609 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
47610 * posix/fnmatch_loop.c: Likewise.
47612 2010-07-17 Andi Kleen <ak@linux.intel.com>
47614 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
47615 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
47616 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
47617 * Versions.def [GLIBC_2.13]: Add.
47619 2010-08-06 Ulrich Drepper <drepper@redhat.com>
47621 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
47622 Also fail if tpwd after pwuid call is NULL.
47624 2010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
47626 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
47627 when converting to ms.
47629 2010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
47631 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
47632 EOPNOTSUPP errors with ENOTTY.
47633 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
47634 EOPNOTSUPP errors with ENOTTY.
47636 2010-07-31 Ulrich Drepper <drepper@redhat.com>
47638 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
47639 Add strcasecmp_l-ssse3.
47640 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
47642 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
47643 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
47644 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
47646 2010-07-30 Ulrich Drepper <drepper@redhat.com>
47648 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
47650 * string/Makefile (strop-tests): Add strcasecmp.
47651 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
47652 strcasecmp_l-nonascii.
47653 (gen-as-const-headers): Add locale-defines.sym.
47654 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
47655 * sysdeps/x86_64/strcasecmp.S: New file.
47656 * sysdeps/x86_64/strcasecmp_l.S: New file.
47657 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
47658 * sysdeps/x86_64/locale-defines.sym: New file.
47659 * string/test-strcasecmp.c: New file.
47661 * string/test-strcasestr.c: Test both ends of the range of characters.
47662 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
47664 2010-07-29 Roland McGrath <roland@redhat.com>
47667 * manual/locale.texi (Yes-or-No Questions): Fix example code.
47669 2010-07-27 Ulrich Drepper <drepper@redhat.com>
47671 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
47674 2010-07-27 Andreas Schwab <schwab@redhat.com>
47676 * manual/memory.texi (Malloc Tunable Parameters): Document
47679 2010-07-26 Roland McGrath <roland@redhat.com>
47682 * configure.in (-fgnu89-inline check): Set and substitute
47683 gnu89_inline, not libc_cv_gnu89_inline.
47684 * configure: Regenerated.
47685 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
47687 2010-07-26 Ulrich Drepper <drepper@redhat.com>
47689 * string/test-strnlen.c: New file.
47690 * string/Makefile (strop-tests): Add strnlen.
47691 * string/tester.c (test_strnlen): Add a few more test cases.
47692 * string/tst-strlen.c: Better error reporting.
47694 * sysdeps/x86_64/strnlen.S: New file.
47696 2010-07-24 Ulrich Drepper <drepper@redhat.com>
47698 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
47699 lower-latency instructions.
47701 2010-07-23 Ulrich Drepper <drepper@redhat.com>
47703 * string/test-strcasestr.c: New file.
47704 * string/test-strstr.c: New file.
47705 * string/Makefile (strop-tests): Add strstr and strcasestr.
47706 * string/str-two-way.h: Don't undefine MAX.
47707 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
47709 2010-07-21 Andreas Schwab <schwab@redhat.com>
47711 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
47712 strcasestr-nonascii.
47713 (CFLAGS-strcasestr-nonascii.c): Define.
47714 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
47715 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
47716 Remove unused attribute.
47718 2010-07-20 Roland McGrath <roland@redhat.com>
47720 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
47721 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
47722 ld.so.cache was broken. With it, there is no way to disable dsocaps
47723 like LD_HWCAP_MASK can disable hwcaps.
47725 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
47727 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
47729 2010-07-16 Ulrich Drepper <drepper@redhat.com>
47731 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
47732 call in strcasestr.
47733 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
47734 __strcasestr_sse42_nonascii.
47735 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
47736 strcasestr-nonascii.c.
47737 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
47739 2010-06-15 Luis Machado <luisgpm@br.ibm.com>
47741 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
47742 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
47743 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
47744 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
47746 2010-07-09 Ulrich Drepper <drepper@redhat.com>
47748 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
47751 2010-07-06 Andreas Schwab <schwab@redhat.com>
47754 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
47757 2010-07-06 Ulrich Drepper <drepper@redhat.com>
47759 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
47760 _PC_PIPE_BUF using F_GETPIPE_SZ.
47762 2010-07-05 Roland McGrath <roland@redhat.com>
47764 * manual/arith.texi (Rounding Functions): Fix rint description
47765 implicit in round description.
47767 2010-07-02 Ulrich Drepper <drepper@redhat.com>
47769 * elf/Makefile: Fix linking for a few tests to make recent linker
47772 2010-06-30 Andreas Schwab <schwab@redhat.com>
47774 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
47775 $(common-objpfx)libc_nonshared.a.
47777 2010-06-21 Luis Machado <luisgpm@br.ibm.com>
47779 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
47780 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
47781 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
47782 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
47783 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
47784 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
47785 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
47786 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
47787 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
47788 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
47789 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
47790 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
47791 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
47792 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
47793 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
47794 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
47795 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
47796 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
47797 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
47798 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
47799 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
47800 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
47801 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
47802 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
47803 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
47804 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
47805 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
47806 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
47807 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
47808 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
47809 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
47810 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
47811 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
47812 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
47813 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
47814 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
47815 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
47816 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
47817 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
47818 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
47819 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
47820 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
47821 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
47822 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
47823 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
47824 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
47825 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
47826 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
47828 2010-06-25 H.J. Lu <hongjiu.lu@intel.com>
47830 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
47831 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
47832 * string/memmove.c (memmove): Renamed to ...
47833 (MEMMOVE): ...this. Default to memmove.
47834 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
47835 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
47837 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
47838 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
47839 mempcpy-ssse3-back memmove-ssse3-back.
47840 * sysdeps/x86_64/multiarch/bcopy.S: New file .
47841 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
47842 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
47843 * sysdeps/x86_64/multiarch/memcpy.S: New file.
47844 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
47845 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
47846 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
47847 * sysdeps/x86_64/multiarch/memmove.c: New file.
47848 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
47849 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
47850 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
47851 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
47852 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
47853 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
47855 (index_Fast_Copy_Backward): Define.
47856 (HAS_ARCH_FEATURE): Define.
47857 (HAS_FAST_REP_STRING): Define.
47858 (HAS_FAST_COPY_BACKWARD): Define.
47860 2010-06-21 Andreas Schwab <schwab@redhat.com>
47862 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
47863 Restore proper fallback handling.
47865 2010-06-19 Ulrich Drepper <drepper@redhat.com>
47868 * posix/group_member.c (__group_member): Correct checking loop.
47870 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
47871 OOM in getpwuid_r correctly. Return error number when the caller
47872 should return, otherwise -1.
47873 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
47874 call returning > 0 value.
47875 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
47877 2010-06-07 Andreas Schwab <schwab@redhat.com>
47879 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
47880 libc_nonshared.a from targets in modules-names.
47882 2010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
47884 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
47887 2010-06-10 Luis Machado <luisgpm@br.ibm.com>
47889 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
47890 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
47891 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
47892 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
47894 2010-06-02 Andreas Schwab <schwab@redhat.com>
47896 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
47898 2010-06-14 Ulrich Drepper <drepper@redhat.com>
47900 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
47902 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
47903 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
47904 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
47905 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
47906 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
47907 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
47909 2010-06-14 Roland McGrath <roland@redhat.com>
47911 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
47913 2010-06-07 Jakub Jelinek <jakub@redhat.com>
47915 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
47916 __REDIRECT followed by __THROW.
47917 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
47918 * posix/getopt.h (getopt): Likewise.
47920 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
47922 * hurd/lookup-at.c (__file_name_lookup_at): Accept
47923 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
47924 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
47926 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
47927 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
47929 2010-05-28 Luis Machado <luisgpm@br.ibm.com>
47931 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
47933 2010-05-26 H.J. Lu <hongjiu.lu@intel.com>
47936 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
47937 Properly check family and model.
47939 2010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
47941 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
47943 2010-05-24 Luis Machado <luisgpm@br.ibm.com>
47945 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
47947 2010-05-21 Ulrich Drepper <drepper@redhat.com>
47949 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
47952 2010-05-19 Andreas Schwab <schwab@redhat.com>
47954 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
47957 2010-05-21 Andreas Schwab <schwab@redhat.com>
47959 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
47960 and internal_recvmmsg.
47961 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
47962 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
47963 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
47964 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
47966 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
47967 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
47968 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
47970 2010-05-20 Andreas Schwab <schwab@redhat.com>
47972 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
47974 2010-05-17 Luis Machado <luisgpm@br.ibm.com>
47976 POWER7 optimizations.
47977 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
47978 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
47980 2010-05-19 Ulrich Drepper <drepper@redhat.com>
47982 * version.h: Update for 2.13 development version.
47984 2010-05-12 Andrew Stubbs <ams@codesourcery.com>
47986 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
47987 exceptions. Return 0.
47989 2010-05-07 Roland McGrath <roland@redhat.com>
47991 * elf/ldconfig.c (main): Add a const.
47993 2010-05-06 Ulrich Drepper <drepper@redhat.com>
47995 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
47996 (args_options): Add no-idn option.
47997 (ahosts_keys_int): Add idn_flags to ai_flags.
47998 (parse_option): Handle 'i' option to clear idn_flags.
48000 * malloc/malloc.c (_int_free): Possible race in the most recently
48001 added check. Only act on the data if no current modification
48004 See ChangeLog.17 for earlier changes.